/* ============================================================
   CORNR — shared design system
   Alabaster & Ember, extended for the web with a dusk palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* the app's locked palette */
  --cream:#FBF7F2;
  --ink:#221B1E;
  --ember:#D9573F;
  --amber:#E8916F;
  --green:#2BA17A;

  /* dusk — the web extension, for the hero */
  --dusk:#191016;
  --dusk-2:#2A1A20;
  --window:#F6C98A;

  --surface:#FFFFFF;
  --line:rgba(34,27,30,.10);
  --line-2:rgba(34,27,30,.18);
  --muted:rgba(34,27,30,.56);
  --faint:rgba(34,27,30,.38);

  --display:"Fraunces",Georgia,serif;
  --body:"Plus Jakarta Sans",system-ui,-apple-system,sans-serif;

  --r-sm:12px; --r:18px; --r-lg:26px; --r-xl:34px;
  --shadow-sm:0 2px 10px rgba(34,27,30,.06);
  --shadow:0 10px 34px rgba(34,27,30,.09);
  --shadow-lg:0 24px 60px rgba(34,27,30,.14);
  --ease:cubic-bezier(.22,1,.36,1);
  /* ONE spacing value, and it is PER SIDE.
     Both neighbouring sections pad their own edge, so the gap you actually
     see is double this: 36px on a phone, 56px on a wide screen. Tighter than
     the usual 96 to 128, which suits a site whose sections are already
     distinct boxes with their own borders and fills. The boundaries are
     doing work that whitespace has to do on a flatter page. */
  --gap:clamp(18px,2.8vw,28px);
}

*{box-sizing:border-box;margin:0;padding:0}
/* [hidden] must win. Utility classes that set `display` outrank the plain
   attribute selector, which is how a "Sign out" button turned up for people
   who had never signed in. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--cream);color:var(--ink);
  font-family:var(--body);font-size:17px;line-height:1.62;
  font-weight:400;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,textarea,select{font:inherit;color:inherit}

h1,h2,h3,h4{
  font-family:var(--display);font-weight:700;line-height:1.06;
  font-variation-settings:"SOFT" 45,"WONK" 1,"opsz" 96;
  letter-spacing:-.025em;
}
h1{font-size:clamp(40px,7vw,80px)}
h2{font-size:clamp(29px,4.6vw,48px)}
h3{font-size:clamp(19px,2.4vw,24px);letter-spacing:-.015em}

/* HORIZONTAL ONLY. Never use the padding shorthand here: `.wrap` is a class
   and `section` is an element, so a shorthand would win the cascade and reset
   every section's vertical padding to zero. */
.wrap{width:100%;max-width:1120px;margin:0 auto;
  padding-left:22px;padding-right:22px}
.narrow{max-width:760px}
@media(min-width:700px){.wrap{padding-left:32px;padding-right:32px}}

/* ---------- LIQUID GLASS ----------
   backdrop-filter is the web's closest analogue to Apple's material:
   it blurs AND saturates what's behind, so it refracts rather than
   just fogging. The inset highlight is what sells the "pane of glass"
   read — real glass catches light along its top edge. */
.glass{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(22px) saturate(180%);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(34,27,30,.04),
    var(--shadow);
}
.glass-dark{
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 18px 50px rgba(0,0,0,.32);
}
.glass-ember{
  background:rgba(217,87,63,.09);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(217,87,63,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),var(--shadow-sm);
}

/* ---------- NAV ---------- */
.nav{
  position:fixed;top:14px;left:50%;transform:translateX(-50%);
  z-index:100;width:calc(100% - 28px);max-width:1060px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:10px 12px 10px 20px;border-radius:999px;
  transition:background .4s var(--ease),border-color .4s var(--ease);
}
.nav.on-dusk{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  color:var(--cream);
}
.brand{display:flex;align-items:center;gap:8px;font-family:var(--display);
  font-size:22px;font-weight:900;font-variation-settings:"SOFT" 60,"WONK" 1;
  letter-spacing:-.04em}
.brand svg{width:26px;height:26px;flex:none}
.nav-links{display:none;gap:22px;font-size:14px;font-weight:500;
  align-items:center;white-space:nowrap}
@media(min-width:940px){.nav-links{display:flex}}
.nav-links a{opacity:.72;transition:opacity .2s,color .2s}
.nav-links a:hover{opacity:1;color:var(--ember)}
.nav.on-dusk .nav-links a:hover{color:var(--amber)}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  padding:13px 24px;border-radius:999px;
  font-weight:700;font-size:15px;letter-spacing:-.01em;
  transition:transform .22s var(--ease),box-shadow .22s var(--ease),background .2s;
  white-space:nowrap;
}
.btn:active{transform:scale(.97)}
.btn-fill{
  background:linear-gradient(170deg,var(--amber),var(--ember));
  color:#fff;box-shadow:0 8px 24px rgba(217,87,63,.32);
}
.btn-fill:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(217,87,63,.42)}
.btn-ghost{border:1px solid var(--line-2);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ember);color:var(--ember)}
.btn-glass{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:var(--cream);
}
.btn-glass:hover{background:rgba(255,255,255,.18)}
.btn-sm{padding:10px 18px;font-size:14px}
.btn-lg{padding:16px 30px;font-size:16.5px}

/* the App Store pill */
.appstore{
  display:inline-flex;align-items:center;gap:11px;
  padding:11px 22px 11px 18px;border-radius:15px;
  background:var(--ink);color:var(--cream);
  transition:transform .22s var(--ease),box-shadow .22s var(--ease);
  box-shadow:0 10px 30px rgba(34,27,30,.22);
}
.appstore:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(34,27,30,.3)}
.appstore svg{width:26px;height:26px;flex:none}
.appstore .l1{display:block;font-size:10px;opacity:.7;line-height:1.2;font-weight:500}
.appstore .l2{display:block;font-size:16px;font-weight:700;line-height:1.2;letter-spacing:-.02em}

/* ---------- TYPE HELPERS ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ember);
}
.lede{font-size:clamp(17px,2vw,20px);color:var(--muted);max-width:56ch}
.center{text-align:center}
.center .lede{margin-left:auto;margin-right:auto}

/* ONE rhythm for the whole site. Every section gets the same vertical
   space, so the page reads as evenly spaced rather than as a series of
   individually tuned gaps. */
section{padding:var(--gap) 0}
/* The dusk hero fades into cream over its last 200px, and that fade sits on
   top of whatever follows. The first section after it needs a little extra
   room so its heading is not reading through the tail of the gradient. */
.dusk + section{padding-top:calc(var(--gap) + 16px)}
.sec-head{margin-bottom:clamp(20px,2.6vw,30px)}
.sec-head h2{margin:14px 0 0}
.sec-head .lede{margin-top:16px}

/* ---------- CARDS ---------- */
.cards{display:grid;gap:16px}
@media(min-width:760px){.cards.c2{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.cards.c3{grid-template-columns:repeat(3,1fr)}}
.card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:30px 26px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line-2)}
.card h3{margin:16px 0 8px}
.card p{color:var(--muted);font-size:15.5px}
.card.warm{background:linear-gradient(165deg,rgba(232,145,111,.10),rgba(217,87,63,.05));
  border-color:rgba(217,87,63,.2)}

/* the little icon tile at the top of each card */
.tile{
  width:52px;height:52px;border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(160deg,rgba(232,145,111,.20),rgba(217,87,63,.10));
  border:1px solid rgba(217,87,63,.16);
}
.tile svg{width:26px;height:26px}
.tile.green{background:linear-gradient(160deg,rgba(43,161,122,.18),rgba(43,161,122,.07));
  border-color:rgba(43,161,122,.22)}

/* ---------- FORMS (login pages) ---------- */
.field{margin-bottom:15px}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px;color:var(--muted)}
.field input{
  width:100%;padding:14px 16px;border-radius:14px;
  border:1px solid var(--line-2);background:var(--surface);
  font-size:16px;transition:border-color .2s,box-shadow .2s;
}
.field input:focus{outline:none;border-color:var(--ember);
  box-shadow:0 0 0 4px rgba(217,87,63,.12)}
.note{
  padding:13px 15px;border-radius:13px;font-size:14px;margin-bottom:15px;
  background:rgba(217,87,63,.08);border:1px solid rgba(217,87,63,.2);color:var(--ember);
}
.note.ok{background:rgba(43,161,122,.08);border-color:rgba(43,161,122,.25);color:var(--green)}

/* ---------- FOOTER ---------- */
footer{padding:var(--gap) 0 0;border-top:1px solid var(--line)}
.foot{display:flex;flex-direction:column;gap:26px}
@media(min-width:760px){.foot{flex-direction:row;justify-content:space-between;align-items:flex-start}}
.foot-links{display:flex;gap:22px;flex-wrap:wrap;font-size:14.5px;color:var(--muted)}
.foot-links a:hover{color:var(--ember)}
.rights{font-size:13.5px;color:var(--faint);text-align:center;
  padding-bottom:clamp(88px,11vw,104px)}

/* ---------- MOTION / A11Y ---------- */
:focus-visible{outline:2.5px solid var(--ember);outline-offset:3px;border-radius:6px}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important}
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
}


/* ---------- THE LOGOGRAM ----------
   Straight from the app: an ink square with its top-right corner left
   sharp, holding a smaller ember square in that same corner. It reads as
   a corner, which is the whole name. In the wordmark it stands in for
   the letter o, so the logo spells itself. */
.logo{display:inline-flex;align-items:center;gap:0;text-decoration:none;
  color:var(--ink);line-height:1}
.logo .lt{
  font-family:var(--body);font-weight:800;font-size:23px;
  /* NOT tight. "rnr" is three verticals in a row, and squeezed together the
     eye reads the r and n as a single m. Normal tracking keeps the letters
     separate enough to be read as what they are. */
  letter-spacing:.005em;
  line-height:1;display:block;
}
/* The mark stands in for the letter o, so it is sized to the x-height
   rather than the cap height, and nudged onto the baseline. Matching it
   to the full font size is what made it sit too high and look bolted on. */
.logo svg{width:16px;height:16px;flex:none;margin:0 1.5px;
  transform:translateY(1px)}
.logo.big .lt{font-size:31px}
.logo.big svg{width:22px;height:22px;transform:translateY(1.5px)}
/* The nav decides the colour and everything inside follows. The logo used to
   carry a fixed `.light` class chosen when the page was built, so it stayed
   cream after the nav had already switched to light glass, and vanished. */
.nav .logo{color:inherit}
.nav.glass{color:var(--ink)}
.logo.light{color:var(--cream)}          /* still available outside the nav */

/* The call to action switches with the bar. Same treatment as the links:
   one rule per state rather than a colour baked into the markup. */
.nav.on-dusk .nav-cta{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  color:var(--cream);
}
.nav.on-dusk .nav-cta:hover{background:rgba(255,255,255,.2)}
.nav.glass .nav-cta{
  background:linear-gradient(170deg,var(--amber),var(--ember));
  border:1px solid transparent;color:#fff;
  box-shadow:0 6px 18px rgba(217,87,63,.28);
}
.nav.glass .nav-cta:hover{transform:translateY(-1px)}




/* ---------- room for the Ko-fi widget ----------
   It floats bottom-right on every public page. Without this the footer's
   last line can end up sitting underneath it on a short screen. */
@media(max-width:520px){.rights{padding-bottom:112px}}


/* ============================================================
   SMALL SCREENS
   The nav is fixed, so it has to shrink or it eats the hero. Type
   scales down a step, and touch targets stay at 44px minimum, which
   is Apple's threshold for something a thumb can reliably hit.
   ============================================================ */
@media(max-width:640px){
  body{font-size:16px}
  .wrap{padding-left:18px;padding-right:18px}
  .nav{top:10px;width:calc(100% - 20px);padding:8px 8px 8px 14px}
  .logo .lt{font-size:20px}
  .logo svg{width:14px;height:14px}
  .btn{padding:12px 18px;font-size:14.5px;min-height:44px}
  .btn-lg{padding:14px 22px;font-size:15.5px}
  .btn-sm{padding:9px 14px;font-size:13.5px;min-height:38px}
  .appstore{padding:10px 18px 10px 15px;min-height:48px}
  .appstore svg{width:23px;height:23px}
  .appstore .l2{font-size:15px}
  .card{padding:24px 20px}
  .rule{padding:22px 20px}
  .lede{font-size:16px}
  .sec-head{margin-bottom:26px}
}

/* Safe areas. Without these the fixed nav slides under the notch in
   landscape, and the footer sits beneath the home indicator. */
@supports(padding:max(0px)){
  .nav{
    padding-left:max(20px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }
  .wrap{
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
  }
  .rights{padding-bottom:max(88px,calc(88px + env(safe-area-inset-bottom)))}
}

/* Landscape on a phone is short. Trim the hero so the headline and the
   buttons both stay on screen. */
@media(max-height:480px) and (orientation:landscape){
  .dusk{padding-top:88px}
  section{padding:calc(var(--gap) * .75) 0}
}


/* ============================================================
   BOXES NEVER TOUCH
   ------------------------------------------------------------
   Section padding already spaces these out. This is a second,
   independent guarantee that does not depend on the cascade
   resolving the way I expect.

   The bug this defends against was real: `.wrap` carried a
   `padding` shorthand, which outranked `section` and silently
   zeroed every section's vertical padding, so consecutive boxes
   stacked border against border. A margin on the box itself
   cannot be erased by a rule on its parent.
   ============================================================ */
.support-card,
.closer,
.price-card,
.form-card,
.host,
.panel,
.aside-card{
  margin-top:12px;
  margin-bottom:12px;
}

/* A box that opens or closes a section does not need the extra
   margin on the outer side, because the section padding is there. */
section > :first-child{margin-top:0}
section > :last-child{margin-bottom:0}

/* Grids of cards: the gap handles the inside, this handles the outside. */
.cards,
.rule-grid,
.steps{margin-top:0;margin-bottom:0}

/* Nothing may sit flush against the footer. */
footer{margin-top:var(--gap)}


/* ============================================================
   RULE CARDS
   Grid children stretch by default, so making them flex columns
   is what actually equalises their height: the text sits at the
   top and the box fills whatever the tallest sibling needs.
   ============================================================ */
.rule-grid{align-items:stretch}
.rule{
  display:flex;flex-direction:column;height:100%;
  position:relative;overflow:hidden;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),
             border-color .3s var(--ease),background .3s var(--ease);
}
.rule p{margin-top:auto}          /* pins text to the top, box grows below */

/* A warm wash rises from the bottom on hover, so it is obvious the card
   is a live thing rather than a printed panel. */
.rule::after{
  content:"";position:absolute;inset:auto 0 0;height:100%;
  background:linear-gradient(to top,rgba(217,87,63,.09),transparent 62%);
  opacity:0;transition:opacity .34s var(--ease);pointer-events:none;
}
.rule:hover::after,.rule:focus-within::after{opacity:1}
.rule:hover,.rule:focus-within{
  transform:translateY(-5px);
  border-color:rgba(217,87,63,.36);
  box-shadow:0 16px 40px rgba(217,87,63,.16);
}
.rule svg{transition:transform .34s var(--ease)}
.rule:hover svg{transform:scale(1.1) rotate(-4deg)}

@media(hover:none){
  /* On a touch screen there is no hover, so lift the card slightly on tap
     instead of leaving it looking permanently inert. */
  .rule:active{transform:scale(.985)}
  .rule:hover{transform:none;box-shadow:none;border-color:var(--line)}
  .rule:hover::after{opacity:0}
}

/* ============================================================
   HOST PORTAL
   ============================================================ */
.pw-checks{margin:10px 0 4px;display:grid;gap:6px}
.pw-check{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--faint);
  transition:color .25s var(--ease)}
.pw-check .tick{width:15px;height:15px;border-radius:50%;flex:none;display:grid;
  place-items:center;background:rgba(34,27,30,.07);transition:background .25s var(--ease)}
.pw-check .tick svg{width:9px;height:9px;stroke:#fff;stroke-width:3;fill:none;
  opacity:0;transition:opacity .25s var(--ease)}
.pw-check.ok{color:var(--green)}
.pw-check.ok .tick{background:var(--green)}
.pw-check.ok .tick svg{opacity:1}
.pw-meter{height:5px;border-radius:999px;background:rgba(34,27,30,.08);overflow:hidden;margin-top:10px}
.pw-meter span{display:block;height:100%;width:0;border-radius:999px;
  transition:width .3s var(--ease),background .3s var(--ease)}

/* steps */
.steps-rail{display:flex;gap:6px;margin-bottom:26px;flex-wrap:wrap}
.step-pip{flex:1;min-width:64px;height:4px;border-radius:999px;background:rgba(34,27,30,.09)}
.step-pip.done{background:var(--green)}
.step-pip.now{background:linear-gradient(90deg,var(--amber),var(--ember))}
.step-label{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ember);margin-bottom:8px}

/* calendar */
.weeks{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:9px;margin:16px 0}
.week{padding:13px 14px;border-radius:14px;border:1px solid var(--line);background:var(--surface);
  cursor:pointer;text-align:left;transition:all .22s var(--ease)}
.week b{display:block;font-size:14px;font-weight:800}
.week small{font-size:11.5px;color:var(--faint)}
.week:hover:not(.taken){border-color:rgba(217,87,63,.4);transform:translateY(-2px)}
.week.sel{background:linear-gradient(160deg,rgba(232,145,111,.2),rgba(217,87,63,.1));
  border-color:var(--ember)}
.week.sel small{color:var(--ember);font-weight:700}
.week.taken{opacity:.42;cursor:not-allowed;background:rgba(34,27,30,.03)}
.week.mine{border-color:var(--green);background:rgba(43,161,122,.07)}

/* host card preview */
.hc{border-radius:18px;overflow:hidden;border:1px solid rgba(217,87,63,.25);
  background:rgba(217,87,63,.045);max-width:360px}
.hc-banner{height:132px;background:linear-gradient(135deg,rgba(232,145,111,.3),rgba(217,87,63,.16));
  background-size:cover;background-position:center;display:grid;place-items:center;
  color:var(--faint);font-size:12.5px}
.hc-body{padding:15px 16px}
.hc-kicker{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ember);margin-bottom:5px}
.hc-title{font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-.02em}
.hc-blurb{font-size:13.5px;color:var(--muted);margin-top:5px;line-height:1.5}
.hc-perk{margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(217,87,63,.1);
  border:1px solid rgba(217,87,63,.2);font-size:13px;font-weight:700;color:var(--ember);
  display:flex;align-items:center;gap:8px}

/* stat tiles */
.tiles{display:grid;gap:12px;margin:22px 0}
@media(min-width:620px){.tiles{grid-template-columns:repeat(4,1fr)}}
.tile-stat{padding:18px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.tile-stat .n{font-family:var(--display);font-size:30px;font-weight:900;line-height:1;
  letter-spacing:-.03em;font-variation-settings:"SOFT" 45}
.tile-stat .l{font-size:12.5px;color:var(--muted);margin-top:5px}
.tile-stat.hot .n{color:var(--ember)}
.tile-stat.good .n{color:var(--green)}

/* ============================================================
   HOST DASHBOARD — tabs, calendar, panes
   ============================================================ */
.tabbar{display:flex;gap:3px;padding:4px;border-radius:999px;background:rgba(34,27,30,.05);
  margin:22px 0 24px;overflow-x:auto;scrollbar-width:none}
.tabbar::-webkit-scrollbar{display:none}
.tabbar button{flex:1;white-space:nowrap;padding:10px 16px;border-radius:999px;font-size:13.5px;
  font-weight:700;color:var(--muted);transition:all .2s var(--ease);min-width:max-content}
.tabbar button[aria-selected="true"]{background:var(--surface);color:var(--ink);
  box-shadow:var(--shadow-sm)}
.tabbar button .dot{display:inline-block;width:6px;height:6px;border-radius:50%;
  background:var(--ember);margin-left:6px;vertical-align:middle}
.pane{display:none}
.pane.on{display:block;animation:paneIn .3s var(--ease) both}
@keyframes paneIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* calendar */
.cal{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.cal-head{display:flex;align-items:center;gap:10px;padding:14px 16px;
  border-bottom:1px solid var(--line)}
.cal-head b{font-family:var(--display);font-size:17px;font-weight:700;letter-spacing:-.02em;
  flex:1;text-align:center}
.cal-nav{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  border:1px solid var(--line);transition:all .18s var(--ease);flex:none}
.cal-nav:hover:not(:disabled){border-color:var(--ember);color:var(--ember)}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-nav svg{width:15px;height:15px;stroke:currentColor;stroke-width:2.4;fill:none}
/* SAME column template as .cal-week, including the tag column, so every
   label sits directly over the dates it names. Without the trailing
   column the header drifts left by the width of the price tag. */
.cal-dows{display:grid;grid-template-columns:repeat(7,1fr) 62px;
  padding:8px 12px 2px;gap:2px}
.cal-dows span{text-align:center;font-size:10px;font-weight:800;color:var(--faint);
  letter-spacing:.03em;text-transform:uppercase}
.cal-weeks{padding:2px 12px 10px;display:grid;gap:4px}
.cal-week{display:grid;grid-template-columns:repeat(7,1fr) 62px;gap:2px;align-items:center;
  padding:3px;border-radius:11px;border:1.5px solid transparent;cursor:pointer;
  transition:all .2s var(--ease)}
.cal-week:hover:not(.off):not(.taken){background:rgba(217,87,63,.05);
  border-color:rgba(217,87,63,.28)}
.cal-week .d{text-align:center;font-size:12.5px;padding:6px 0;border-radius:7px;color:var(--ink)}
.cal-week .d.out{color:var(--faint);opacity:.45}
.cal-week .d.today{font-weight:800;color:var(--ember)}
.cal-week .tag{font-size:10.5px;font-weight:800;padding:3px 8px;border-radius:999px;
  white-space:nowrap;color:var(--faint);background:rgba(34,27,30,.05)}
.cal-week.sel{background:linear-gradient(160deg,rgba(232,145,111,.2),rgba(217,87,63,.1));
  border-color:var(--ember)}
.cal-week.sel .tag{background:var(--ember);color:#fff}
.cal-week.taken{opacity:.4;cursor:not-allowed}
.cal-week.taken .tag{background:rgba(34,27,30,.09)}
.cal-week.mine{border-color:var(--green);background:rgba(43,161,122,.06)}
.cal-week.mine .tag{background:var(--green);color:#fff}
.cal-week.off{opacity:.3;cursor:not-allowed}
.cal-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 16px;
  border-top:1px solid var(--line);background:rgba(34,27,30,.02)}
.cal-total{font-family:var(--display);font-size:24px;font-weight:900;color:var(--ember);
  letter-spacing:-.03em;font-variation-settings:"SOFT" 45}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px}
.legend i{display:inline-block;width:11px;height:11px;border-radius:4px;margin-right:5px;
  vertical-align:-1px}

/* card editor beside its preview */
.editor{display:grid;gap:20px}
@media(min-width:900px){.editor{grid-template-columns:1fr 340px;align-items:start}}
.preview-sticky{position:sticky;top:86px}

/* small helpers */
.mini{font-size:12.5px;color:var(--faint)}
.qrow{padding:15px 0;border-bottom:1px solid var(--line)}
.qrow:last-child{border-bottom:0}
.qrow .q{font-weight:700;font-size:15px;margin-bottom:5px}
.qrow .a{font-size:14px;color:var(--muted)}
.qrow textarea{width:100%;padding:11px 13px;border-radius:11px;border:1px solid var(--line-2);
  font:inherit;font-size:14.5px;min-height:74px;resize:vertical;margin-top:8px}
.qrow textarea:focus{outline:none;border-color:var(--ember);box-shadow:0 0 0 3px rgba(217,87,63,.12)}
.ledger{width:100%;border-collapse:collapse;font-size:14.5px}
.ledger th{text-align:left;font-size:11.5px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--faint);padding:0 0 10px}
.ledger td{padding:12px 0;border-top:1px solid var(--line)}
.ledger td.amt{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.ledger td.amt.neg{color:var(--green)}


/* character counters and the locked state before verification */
.cnt{float:right;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums}
.locked{position:relative;opacity:.45;pointer-events:none;filter:saturate(.4)}
.lockbar{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:var(--r);
  background:linear-gradient(160deg,rgba(232,145,111,.14),rgba(217,87,63,.06));
  border:1px solid rgba(217,87,63,.24);margin-bottom:16px}
.lockbar svg{width:22px;height:22px;flex:none;margin-top:1px}
.lockbar b{display:block;font-size:15px;margin-bottom:3px}
.lockbar p{font-size:14px;color:var(--muted);margin:0}
.danger{border-color:rgba(217,87,63,.4)!important;background:rgba(217,87,63,.04)}
.danger h3{color:var(--ember)}
.hold-clock{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;
  background:rgba(217,87,63,.12);color:var(--ember);font-size:12.5px;font-weight:800;
  font-variant-numeric:tabular-nums}
