/* Lunar Life Planner — everything is scoped under .llp so it sits safely inside any theme. */
.llp {
  /* ---- Lunar Life Planner design tokens (see DESIGN.md). Every colour in this file comes from here. ---- */
  /* Foundation: deep midnight navy */
  --bg: #091A2C; --surface: #0E2338; --cell: #142D45; --raised: #1B3A58;
  --ink: #E7EAF0; --heading: #F3F5F9; --muted: #A3B3C5; --faint: #7189A0; --line: #24425F;
  /* Actions: dusty rose (buttons, today, selection, links) */
  --accent: #E786A4; --accent-hover: #F09BB5; --accent-ink: #091A2C; --accent-soft: #3A3550;
  /* Secondary: sage (connected, success, growth) */
  --sage: #8DC9A5;
  /* Lunar information: moonlight silver-blue, kept separate from cycle colours */
  --moon: #C3D5EA; --moon-soft: #1D3A57;
  --moon-lit: #E8EEF6; --moon-dark: #24425F; --moon-rim: #3D5F80;
  --hero: var(--raised); --hero-ink: #F3F5F9; --hero-muted: #A9BCD0; --logo: #E7EAF0;
  --shadow: rgba(2, 10, 20, 0.45);
  /* Plan colours chosen by people */
  --ev-gold: #E0B048; --ev-rose: #E58AA2; --ev-sage: #8DC9A5; --ev-sky: #7FB2E8; --ev-lilac: #B49BE6;
  /* Menstrual cycle phases: each distinct from the others and from the action rose */
  --cy-menstrual: #C9577A; --cy-follicular: #8DC9A5; --cy-ovulatory: #E6C46A; --cy-luteal: #A493E6;
  /* Status */
  --danger: #F08F86; --on-danger: #091A2C; --ok: var(--sage);
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Crimson Text", Georgia, serif;
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.45;
  border-radius: 0; padding: 22px clamp(12px, 2.5vw, 24px) 28px; color-scheme: dark; text-align: left;
  box-sizing: border-box; max-width: 100%; overflow-x: clip;
}
/* Stay inside the page on full-width and canvas templates, whatever the theme does with alignment classes. */
.llp.alignwide, .llp.alignfull { box-sizing: border-box; max-width: 100%; }
/* The planner is dark in every setting, so it looks the same on light and dark pages. */
.llp *, .llp *::before, .llp *::after { box-sizing: border-box; }
.llp [hidden] { display: none !important; }
.llp h1, .llp h2, .llp h3, .llp p, .llp dl, .llp dd, .llp form { margin: 0; padding: 0; }
.llp button { font: inherit; color: inherit; cursor: pointer; margin: 0; line-height: inherit; text-transform: none; letter-spacing: inherit;
  box-shadow: none; min-height: 0; width: auto; height: auto; text-decoration: none; -webkit-appearance: none; appearance: none; }
.llp input { font: inherit; margin: 0; box-shadow: none; height: auto; line-height: normal; }
.llp button:focus-visible, .llp input:focus-visible, .llp summary:focus-visible, .llp a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.llp a { color: var(--accent); }

.llp .topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.llp .brand { display: flex; align-items: center; gap: 12px; }
.llp .brand .name { font-family: var(--font-display); font-weight: 400; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--heading); }
.llp .brand .tag { font-style: italic; font-size: 15px; color: var(--muted); line-height: 1.1; }
.llp .controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.llp .acct { position: relative; flex: none; }
.llp .acct a.btn { text-decoration: none; display: inline-block; }
.llp .avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent);
  padding: 0; overflow: hidden; display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 1px; }
.llp .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.llp .avatar:hover { border-color: var(--accent); }
.llp .acctmenu { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 200px; background: var(--cell); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.llp .acctmenu .who { padding: 8px 10px 6px; font-family: var(--font-display); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.llp .acctmenu a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 1rem; }
.llp .acctmenu a:hover { background: var(--accent-soft); color: var(--accent); }
.llp.llp-canvas { min-height: 100vh; margin: 0; }
.llp .seg { display: inline-flex; background: var(--cell); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.llp .seg button, .llp .pill { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.llp .seg button[aria-pressed="true"] { background: var(--heading); color: var(--bg); }
.llp .pill { border: 1px solid var(--line); background: var(--cell); display: inline-flex; align-items: center; gap: 7px; }
.llp .pill[aria-pressed="true"] { border-color: var(--cy-menstrual); color: var(--ink); }
.llp .pill .pd { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.llp .pill[aria-pressed="true"] .pd { background: var(--cy-menstrual); }
.llp .nav { display: inline-flex; gap: 4px; }
.llp .nav button { border: 1px solid var(--line); background: var(--cell); border-radius: 999px; min-width: 36px; height: 36px; padding: 0 12px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.llp .nav button:hover, .llp .seg button:hover, .llp .pill:hover { border-color: var(--faint); }

.llp .head { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: end; justify-content: space-between; }
.llp .eyebrow { font-family: var(--font-display); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.llp h1.title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.3rem); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--heading); line-height: 1.1; margin: 6px 0 4px; text-wrap: balance; }
.llp .sub { color: var(--muted); font-size: 1rem; }
.llp .phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--cell); overflow: hidden; }
.llp .phases.many { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.llp .ph { padding: 9px 12px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; border-left: 1px solid var(--line); min-width: 0; }
.llp .ph:first-child { border-left: 0; }
.llp .ph svg { grid-row: span 2; }
.llp .ph .n { font-family: var(--font-display); font-size: 10.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; color: var(--heading); }
.llp .ph .t { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }

.llp .main { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.llp.narrow .main { grid-template-columns: minmax(0, 1fr); }
.llp.narrow .phases { width: 100%; }

.llp .cal { background: var(--cell); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.llp .dow, .llp .grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.llp .dow div { padding: 9px 10px; font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface); }
.llp .cell { position: relative; text-align: left; border: 0; border-radius: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cell);
  min-height: 116px; padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); }
.llp .cell:nth-child(7n) { border-right: 0; }
.llp .cell.out { background: var(--surface); }
.llp .cell.out .big, .llp .cell.out .small { color: var(--faint); }
.llp .cell.out svg { opacity: 0.45; }
.llp .cell:hover { background: var(--moon-soft); }
.llp .cell.sel { box-shadow: inset 0 0 0 2px var(--accent); }
.llp .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; }
.llp .big { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; line-height: 1; color: var(--heading); }
.llp .cell.today .big { background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 1.8em; height: 1.8em; display: inline-grid; place-items: center; font-size: 0.95rem; font-weight: 500; margin: -3px 0 0 -4px; }
.llp .small { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.llp .cyclestart { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--moon); }
.llp .phtag { font-family: var(--font-display); font-size: 9.5px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--moon); line-height: 1.25; }
.llp .evs { display: flex; flex-direction: column; gap: 2px; margin-top: auto; min-width: 0; }
.llp .ev { font-size: 0.82rem; line-height: 1.25; padding: 1px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--c) 16%, transparent); border-left: 3px solid var(--c); }
.llp .more { font-size: 0.78rem; color: var(--muted); padding-left: 4px; }
.llp .dots { display: none; gap: 3px; margin-top: auto; flex-wrap: wrap; }
.llp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.llp .num { font-family: var(--font-display); font-weight: 400; font-variant-numeric: tabular-nums; }

.llp .cband { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }
.llp .cband.pred { background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px); opacity: 0.75; }
.llp .drop { color: var(--cy-menstrual); display: inline-flex; }
.llp .drop.pred { opacity: 0.55; }
.llp .cday { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.5px; color: var(--muted); }
.llp .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); font-size: 0.88rem; color: var(--muted); }
.llp .legend span { display: inline-flex; align-items: center; gap: 6px; }
.llp .legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); display: inline-block; }
.llp .legend i.pred { background: repeating-linear-gradient(90deg, var(--faint) 0 4px, transparent 4px 6px); }

.llp.phone .cell { min-height: 76px; padding: 5px 4px 8px; }
.llp.phone .big { font-size: 1rem; }
.llp.phone .cell.today .big { font-size: 0.78rem; }
.llp.phone .small { font-size: 0.7rem; gap: 2px; }
.llp.phone .phtag, .llp.phone .evs, .llp.phone .cday { display: none; }
.llp.phone .dots { display: flex; }
.llp.phone .dow div { padding: 6px 4px; font-size: 9px; letter-spacing: 1px; }
.llp.phone .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.llp.phone .ph:nth-child(3) { border-left: 0; }
.llp.phone .ph:nth-child(n+3) { border-top: 1px solid var(--line); }
.llp.phone .cell .moonsm { width: 12px; height: 12px; }
.llp.phone .brand .tag { display: none; }

.llp .panel { background: var(--cell); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.llp .hero { background: var(--hero); color: var(--hero-ink); border-radius: 14px; padding: 16px; display: flex; gap: 16px; align-items: center; }
.llp .hero .eyebrow { color: var(--hero-muted); }
.llp .hero h2 { font-family: var(--font-display); font-weight: 300; font-size: 1.05rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 3px 0 2px; line-height: 1.2; color: var(--hero-ink); }
.llp .hero .hl { color: var(--hero-ink); font-size: 1rem; }
.llp .hero .hl2 { color: var(--moon); font-size: 0.95rem; }
.llp .facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 1rem; }
.llp .facts dt { color: var(--muted); }
.llp .facts dd { margin: 0; min-width: 0; }
.llp .sect { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.llp .sect h3 { margin: 0; font-family: var(--font-display); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.llp .list { display: flex; flex-direction: column; gap: 6px; }
.llp .item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; min-width: 0; }
.llp .item .tt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.llp .item .tm { font-size: 0.9rem; color: var(--muted); }
.llp .item button, .llp .linkbtn { border: 0; background: transparent; color: var(--muted); padding: 2px 6px; border-radius: 6px; font-size: 0.92rem; }
.llp .item button:hover, .llp .linkbtn:hover { color: var(--accent); }
.llp .item button.del:hover { color: var(--danger); }
.llp .item.confirm { border-left-color: var(--danger); }
.llp .gtag { font-family: var(--font-display); font-size: 9px; font-weight: 600; letter-spacing: 1px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.llp .empty { color: var(--muted); font-size: 1rem; }
.llp form { display: flex; flex-direction: column; gap: 8px; }
.llp .frow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.llp input[type=text], .llp input[type=time], .llp input[type=number] { font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; min-width: 0; width: auto; }
.llp input[type=text] { flex: 1; width: 100%; }
.llp input[type=time] { width: 118px; }
.llp input[type=number] { width: 74px; }
.llp .to { color: var(--muted); font-size: 0.95rem; }
.llp .sw { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.llp .sw label { position: relative; cursor: pointer; margin: 0; }
.llp .sw input { position: absolute; opacity: 0; inset: 0; }
.llp .sw span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid var(--cell); box-shadow: 0 0 0 1px var(--line); }
.llp .sw input:checked + span { box-shadow: 0 0 0 2px var(--heading); }
.llp .sw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.llp .btn { border: 0; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 9px 16px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.llp .btn:hover { background: var(--accent-hover); }
.llp .btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.llp .btn.danger { background: var(--danger); color: var(--on-danger); }
.llp .btn:disabled { opacity: 0.45; cursor: default; }
.llp .addbtn { margin-left: auto; }
.llp .status { font-size: 0.9rem; color: var(--muted); min-height: 1.1em; }
.llp .status.err { color: var(--danger); }
.llp .upnext { display: flex; flex-direction: column; gap: 6px; }
.llp .upnext button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 4px 0; text-align: left; }
.llp .upnext button:hover .un { text-decoration: underline; }
.llp .un { font-size: 1rem; }
.llp .ud { font-size: 0.88rem; color: var(--muted); }
.llp .phasechip { display: inline-flex; align-items: center; gap: 6px; }
.llp .phasechip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; }
.llp .note { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.llp details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.llp summary { cursor: pointer; padding: 8px 12px; font-family: var(--font-display); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.llp .setgrid { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 4px 12px 12px; font-size: 0.98rem; }
.llp .chk { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.llp .btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.llp .gstate { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.llp .gstate i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.llp .foot { margin-top: 16px; font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.llp .hemi { border: 0; background: transparent; text-decoration: underline; color: var(--muted); padding: 0; font-size: 0.9rem; }
.llp .gate { max-width: 560px; margin: 28px auto 32px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.llp .guestinfo { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.llp .gintro { max-width: 680px; margin: 0 auto 18px; text-align: center; }
.llp .gintro h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 300; font-size: 1.4rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); }
.llp .gintro p { margin: 0; color: var(--muted); }
.llp .panel a.btn { text-decoration: none; display: inline-block; }
.llp .about { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; }
.llp .feat { background: var(--cell); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.llp .feat h3, .llp .gdata h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--heading); }
.llp .feat p, .llp .gdata p { margin: 0; color: var(--muted); font-size: 1rem; }
.llp .gdata { max-width: 980px; margin: 18px auto 0; padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.llp .gate .btns { justify-content: center; }
.llp .gate a.btn { text-decoration: none; display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .llp .cell, .llp .seg button { transition: background-color .15s ease; } }
.elementor-template-canvas .elementor-widget-shortcode:has(.llp) { margin-bottom: 0; }
/* Narrow spaces: logo and account share the top row, view controls drop below. */
.llp.narrow .topbar .acct { order: 2; margin-left: auto; }
.llp.narrow .topbar .controls { order: 3; flex-basis: 100%; margin-left: 0; }
.llp.narrow .topbar .brand { flex: 1 1 0; min-width: 0; }
.llp.phone .brand .name { font-size: 12px; letter-spacing: 2.5px; }

/* Previous / next sit either side of the cycle or month title. */
.llp .titlerow { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.llp .titlerow h1.title { margin: 0; }
.llp .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--cell); color: var(--heading);
  display: grid; place-items: center; font-size: 22px; line-height: 1; padding: 0 0 3px; }
.llp .arrow:hover { border-color: var(--accent); color: var(--accent); }
.llp.phone .arrow { width: 34px; height: 34px; font-size: 19px; }
.llp.phone .ph .t, .llp.phone .ph .n { white-space: normal; }

/* Plan list: name on its own line, details underneath, small icon actions. */
.llp .item { align-items: flex-start; }
.llp .ibody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.llp .ibody .tt { font-size: 1.02rem; line-height: 1.3; overflow-wrap: anywhere; }
.llp .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.5px; color: var(--muted); }
.llp .meta .sep { color: var(--faint); }
.llp .pend { color: var(--muted); font-style: italic; }
.llp .iact { display: flex; gap: 2px; flex: none; align-items: center; }
.llp .item button.ico { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: 8px; color: var(--muted); }
.llp .item button.ico:hover { background: var(--moon-soft); color: var(--ink); }
.llp .item button.ico.del:hover { color: var(--danger); }
.llp .item button.txt { padding: 4px 8px; font-size: 0.92rem; }
.llp .allday { display: inline-flex; align-items: center; gap: 6px; font-size: 0.98rem; color: var(--ink); margin: 0; cursor: pointer; }
.llp .allday input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.llp .times { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Moon phase guide under the calendar */
.llp .leftcol { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.llp .guide h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.llp .gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.llp .gcard { display: flex; gap: 12px; align-items: flex-start; background: var(--cell); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.llp .gcard svg { flex: none; margin-top: 2px; }
.llp .gcard.now { border-color: var(--moon); box-shadow: inset 0 0 0 1px var(--moon); }
.llp .gname { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--heading); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.llp .gnow { font-size: 9px; letter-spacing: 1px; color: var(--moon); border: 1px solid var(--moon); border-radius: 999px; padding: 1px 6px; }
.llp .gtheme { color: var(--moon); font-style: italic; font-size: 1rem; margin-top: 2px; }
.llp .ggood { color: var(--muted); font-size: 0.95rem; line-height: 1.4; margin-top: 2px; }
.llp.phone .gcards { grid-template-columns: minmax(0, 1fr); }
/* On narrow screens: calendar, then the day panel, then the guide. */
.llp.narrow .leftcol { display: contents; }
.llp.narrow .cal { order: 1; }
.llp.narrow .panel { order: 2; }
.llp.narrow .guide { order: 3; }

/* Google calendar picker */
.llp .gcals { margin-top: 4px; }
.llp .gcalbody { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.llp .gcal { display: flex; align-items: center; gap: 8px; font-size: 0.98rem; }
.llp .gcal input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.llp .gcal label { margin: 0; cursor: pointer; min-width: 0; overflow-wrap: anywhere; }
.llp .gdot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid var(--cell); box-shadow: 0 0 0 1px var(--line); padding: 0; flex: none; }
.llp .gdot:hover { box-shadow: 0 0 0 2px var(--heading); }
.llp .ro { margin-left: 6px; font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px; }
