/* Leapz — "Lily Pond" design system. Mobile-first, no framework. */

:root {
  --pond: #1e4d3b;        /* primary: deep pond green */
  --pond-deep: #123326;
  --pad: #3f7d3c;         /* lily pad green (white text passes AA) */
  --pad-light: #a9d18e;
  --pad-mist: #e3f0d6;
  --lily: #b8325f;        /* lily blossom pink, text-safe on cream */
  --lily-soft: #f8d3df;
  --gold: #e9b949;        /* firefly accent, decoration only */
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #1b2b23;
  --muted: #4a5d52;
  --line: #dcd3c0;
  --danger: #a32121;
  --radius: 22px;
  --shadow: 0 1px 0 rgba(18, 51, 38, .06), 0 8px 24px -12px rgba(18, 51, 38, .25);
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--pond); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--lily); }
:focus-visible { outline: 3px solid var(--lily); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--pond-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 800; margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 800; margin: 0 0 .5em; }
h3 { font-size: 1.2rem; font-weight: 750; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.stack > * + * { margin-top: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--pond); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 50; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pond-deep); font: 800 1.45rem/1 var(--font-display); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand:hover { color: var(--pond); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav a, .nav button.linklike { padding: 8px 10px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--pond-deep); font-size: .98rem; }
.nav a:hover, .nav button.linklike:hover { background: var(--pad-mist); color: var(--pond-deep); }
.nav a[aria-current="page"] { background: var(--pad-mist); }
.nav .btn { padding: 8px 16px; }
.bell { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.bell svg { width: 24px; height: 24px; }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lily); color: #fff; font: 700 .78rem/22px var(--font-body); text-align: center; }
.badge[hidden] { display: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--pond); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 1rem/1.2 var(--font-display); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(18, 51, 38, .6); }
.btn:active { transform: translateY(0); }
.btn-lily { --bg: var(--lily); }
.btn-ghost { --bg: transparent; --fg: var(--pond-deep); border-color: var(--pond); }
.btn-ghost:hover { --fg: var(--pond-deep); background: var(--pad-mist); }
.btn-danger { --bg: var(--danger); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
button.linklike { background: none; border: 0; font: inherit; color: var(--pond); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero / pond ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(169, 209, 142, .25), transparent 70%),
    radial-gradient(ellipse 50% 35% at 10% 90%, rgba(248, 211, 223, .18), transparent 70%),
    linear-gradient(170deg, #1e4d3b 0%, #173f30 55%, #123326 100%);
}
.hero::before, .hero::after { /* water ripples */
  content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); pointer-events: none;
  width: 340px; height: 120px; left: -60px; bottom: 30px; animation: ripple 7s ease-out infinite;
}
.hero::after { width: 260px; height: 90px; left: auto; right: -40px; top: 40px; bottom: auto; animation-delay: 3s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.hero .wrap { position: relative; display: grid; gap: 24px; padding: 48px 0 64px; }
.hero h1 { color: #fff; }
.hero .lead { color: #e6f0e9; }
.hero .btn-ghost { --fg: #fff; border-color: #fff; }
.hero .btn-ghost:hover { --fg: var(--pond-deep); background: #fff; }
.hero-art { max-width: 420px; justify-self: center; width: 100%; }
.hero-art .frog { transform-box: fill-box; transform-origin: 50% 90%; animation: hop 3.6s ease-in-out infinite; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-26px) rotate(-4deg); } 80% { transform: translateY(-8px); } }
.eyebrow { display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lily); margin-bottom: 12px; }
.hero .eyebrow { color: var(--lily-soft); }

/* page hero for inner pages */
.page-hero { background: var(--pad-mist); border-bottom: 1px solid var(--line); }
.page-hero .wrap, .page-hero .narrow { padding: 40px 0 32px; }

/* ---------- frog tiles ---------- */
.tiles { display: grid; gap: 36px 20px; grid-template-columns: 1fr; margin-top: 40px; }
.frog-tile {
  --h: 120;
  position: relative; display: block; padding: 26px 20px 20px; border-radius: 28px;
  background: hsl(var(--h) 45% 93%); border: 2px solid hsl(var(--h) 38% 32%);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.frog-tile::before, .frog-tile::after { /* the frog's eyes */
  content: ""; position: absolute; top: -20px; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 50% 58%, var(--ink) 0 7px, #fff 8px 100%);
  border: 2px solid hsl(var(--h) 38% 32%); box-shadow: inset 0 -4px 0 hsl(var(--h) 45% 85%);
}
.frog-tile::before { left: 22px; }
.frog-tile::after { left: 70px; }
a.frog-tile:hover { transform: translateY(-4px) rotate(-.5deg); color: var(--ink); }
a.frog-tile:hover::before, a.frog-tile:hover::after { animation: blink .35s ease; }
@keyframes blink { 50% { transform: scaleY(.15); } }
.frog-tile h3 { color: hsl(var(--h) 45% 18%); }
.frog-tile p { margin: 0; color: #2c3d34; }
.frog-tile .meta { margin-top: 10px; font-size: .88rem; color: #3b4d43; }
.tile-icon { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; color: hsl(var(--h) 38% 32%); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.tag.pending { background: #fff4d6; border-color: #e9b949; color: #6b4e00; }

/* ---------- lily pads (events / notifications) ---------- */
.pads { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.pad-item { text-align: center; }
.pad-item a { text-decoration: none; color: var(--ink); display: block; }
.lilypad {
  position: relative; width: 116px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-content: center; color: #fff; font-family: var(--font-display);
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .06) 0 2deg, transparent 2deg 30deg),
    radial-gradient(circle at 30% 25%, #4f8f4b 0 18%, #3f7d3c 45%, #2f6a30 100%);
  /* notch apex sits off-center so the date text stays whole */
  -webkit-mask: conic-gradient(from 105deg at 68% 68%, transparent 0 42deg, #000 42deg);
          mask: conic-gradient(from 105deg at 68% 68%, transparent 0 42deg, #000 42deg);
  transition: transform .25s ease;
}
.pad-item a:hover .lilypad, .pad-item a:focus-visible .lilypad { transform: rotate(-8deg) scale(1.05); }
.lilypad .mon { font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.lilypad .day { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.pad-wrap { position: relative; width: 116px; margin: 0 auto; }
.blossom { position: absolute; right: -6px; top: -4px; width: 40px; height: 40px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.pad-title { font-weight: 700; font-family: var(--font-display); line-height: 1.25; display: block; }
.pad-meta { font-size: .85rem; color: var(--muted); display: block; }
.pond-water { background: linear-gradient(180deg, #dcecf0 0%, #cfe5e3 100%); border-radius: var(--radius); padding: 24px 16px; border: 1px solid #b9d5d2; }

.ripples { list-style: none; padding: 0; margin: 0; }
.ripples li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ripples li:last-child { border-bottom: 0; }
.mini-pad { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--pad);
  -webkit-mask: conic-gradient(from 118deg, transparent 0 30deg, #000 30deg); mask: conic-gradient(from 118deg, transparent 0 30deg, #000 30deg); }
.ripples li.unread .mini-pad { background: var(--lily); }
.ripples time { display: block; font-size: .82rem; color: var(--muted); }

/* ---------- cards, layout ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.grid-2 { display: grid; gap: 20px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px; margin: 32px 0 0; }
.steps li { position: relative; padding: 20px 20px 20px 76px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 18px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-content: center; background: var(--pad); color: #fff; font: 800 1.2rem/1 var(--font-display);
}
.callout { background: var(--pond); color: #fff; border-radius: 32px; padding: 32px 24px; position: relative; overflow: hidden; }
.callout h2 { color: #fff; }
.callout p { color: #e6f0e9; }
.callout .btn { --bg: #fff; --fg: var(--pond-deep); }
.callout-lily { background: var(--lily-soft); color: var(--ink); }
.callout-lily h2 { color: var(--pond-deep); }
.callout-lily p { color: var(--ink); }
.callout-lily .btn { --bg: var(--pond); --fg: #fff; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.placeholder { background: #fff4d6; outline: 1px dashed #c99a00; padding: 0 4px; border-radius: 4px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; color: var(--pond-deep); }
.field .hint { font-size: .88rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"],
input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #b9b09c; border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--pond); outline: 3px solid var(--lily-soft); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--pond); flex: none; }
.form-status { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--pad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; }
details.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
details.panel > summary { cursor: pointer; padding: 16px 0; font: 700 1.05rem/1.3 var(--font-display); color: var(--pond-deep); }
details.panel[open] { padding-bottom: 20px; }

/* ---------- app lists ---------- */
.list { list-style: none; padding: 0; margin: 0; }
.list > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0; }
.avatar { --h: 120; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center;
  background: hsl(var(--h) 45% 88%); border: 2px solid hsl(var(--h) 38% 32%); color: hsl(var(--h) 45% 18%); font: 800 1rem/1 var(--font-display); }
.who { display: flex; gap: 10px; align-items: center; }
.code { font: 700 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
.empty { padding: 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.notice { padding: 14px 18px; border-radius: 16px; background: #fff4d6; border: 1px solid #e9b949; color: #4d3800; }
.app-main { padding: 28px 0 64px; }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.app-head h1 { margin: 0; font-size: clamp(1.9rem, 6vw, 2.8rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin: 36px 0 12px; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--pond-deep); color: #d5e4da; padding: 40px 0; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lily-soft); }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .callout { padding: 48px; }
  .section { padding: 80px 0; }
}
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 80px 0 96px; }
  .tiles.four { grid-template-columns: repeat(4, 1fr); }
  .tiles.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; }
  .app-cols { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* fixes: buttons inside nav keep button colors; placeholders readable anywhere */
.nav a.btn, .nav a.btn:hover { color: #fff; background: var(--pond); }
.nav a.btn:hover { background: var(--pond-deep); }
.placeholder { color: #4d3800; }
dialog.card { width: min(520px, 100% - 32px); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(18, 51, 38, .55); }

/* ---------- photos ---------- */
.photo-preview { display: block; max-width: 220px; max-height: 220px; border-radius: 16px; border: 2px solid var(--line); object-fit: cover; background: #fff; }
.photo-status { font-size: .9rem; margin: 0; color: var(--muted); min-height: 1.2em; }
.photo-status.error { color: var(--danger); font-weight: 600; }
img.avatar { padding: 0; object-fit: cover; background: #fff; }
.avatar.lg { width: 72px; height: 72px; font-size: 1.6rem; }
.group-logo { flex: none; width: 64px; height: 64px; border-radius: 20px; object-fit: cover; border: 2px solid var(--pad); background: #fff; }
.tile-logo { position: absolute; right: 14px; top: 12px; width: 46px; height: 46px; border-radius: 14px; object-fit: cover; border: 2px solid hsl(var(--h) 38% 32%); background: #fff; }
.frog-tile:has(.tile-logo) h3 { padding-right: 54px; }
.cover { display: block; width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid var(--line); }
.post-img { display: block; max-width: 100%; max-height: 480px; border-radius: 16px; margin: 8px 0; border: 1px solid var(--line); }
.mod-thumb { display: block; max-width: 160px; max-height: 160px; border-radius: 12px; margin: 6px 0; border: 1px solid var(--line); }
input[type="file"] { font: inherit; max-width: 100%; }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 16px; border: 2px solid var(--pond); border-radius: 999px;
  background: var(--pad-mist); color: var(--pond-deep); font: 700 .95rem/1.2 var(--font-display); cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: var(--pad-light); }

/* ---------- Connections / Leap cards ---------- */
.jump { margin: -8px 0 8px; }
legend.h3 { font: 750 1.2rem/1.3 var(--font-display); color: var(--pond-deep); padding: 0; margin-bottom: 10px; }
fieldset.card { display: grid; gap: 14px; }
.leap-card .who { gap: 16px; align-items: flex-start; }
.leap-card h2.name { margin: 0; font-size: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.chip {
  --h: 120;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: hsl(var(--h) 50% 92%); border: 1.5px solid hsl(var(--h) 35% 40%); color: hsl(var(--h) 45% 16%);
  font-size: .9rem; font-weight: 600; line-height: 1.3;
}
.chip .lvl { font-size: .75rem; opacity: .85; font-weight: 700; }
.chip.ask { background: var(--lily-soft); border-color: var(--lily); color: #5a1430; }
.chip.cause { background: #fff4d6; border-color: #c99a00; color: #4d3800; }
.chip button { background: none; border: 0; padding: 0 2px; font: 700 1.05rem/1 var(--font-body); color: inherit; cursor: pointer; }
.meter { height: 10px; border-radius: 999px; background: var(--pad-mist); overflow: hidden; border: 1px solid var(--line); }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--pad), var(--pad-light)); }
.card-section-title { font: 700 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }

.lilypad.sm { width: 66px; margin: 0; flex: none; }
.lilypad.sm .day { font-size: 1.15rem; }
.lilypad.sm .mon { font-size: .62rem; }
.leap-tile { display: grid; gap: 10px; text-decoration: none; }
.leap-tile .top { display: flex; gap: 12px; align-items: center; padding-right: 0; }
.leap-tile h3 { margin: 0; font-size: 1.1rem; }
.leap-tile h3 a { color: inherit; text-decoration: none; }
.leap-tile h3 a:hover { text-decoration: underline; }
.leap-tile .why { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .9rem; color: #2c3d34; }
.leap-tile .why li::before { content: "🐸 "; }
.leap-tile .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.frog-tile.leap-tile { display: flex; flex-direction: column; }

.skill-list, .chip-list, .row-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.chip-list { display: flex; flex-wrap: wrap; }
.skill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.skill-row .skill-name { font-weight: 700; flex: 1 1 140px; }
.skill-row select { width: auto; min-height: 38px; padding: 4px 8px; }
.skill-row .check { font-size: .92rem; align-items: center; }
.skill-row .check input { margin-top: 0; }
.icon-btn { min-width: 36px; min-height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font: 700 1.1rem/1 var(--font-body); color: var(--muted); cursor: pointer; }
.icon-btn:hover { border-color: var(--danger); color: var(--danger); }
.add-row input[type="text"] { flex: 1 1 220px; width: auto; }
.add-row select { width: auto; flex: 0 1 auto; }
.check-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
.row-item { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.row-item .row-fields { display: grid; gap: 8px; grid-template-columns: 1fr; }
.row-item .row-fields input { min-height: 42px; }
.row-item .row-end { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.resume-box { border: 2px dashed var(--pad); background: var(--pad-mist); }
.match-box { background: var(--pad-mist); border-color: var(--pad); }
.match-box .top { display: flex; gap: 14px; align-items: center; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { padding-left: 16px; border-left: 3px solid var(--pad-light); }
.timeline .when { font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
  .row-item .row-fields { grid-template-columns: 2fr 2fr 1fr 1fr; }
  .row-item .row-fields.edu { grid-template-columns: 2fr 2fr 1fr; }
}
.lilypad.sm { -webkit-mask: conic-gradient(from 112deg at 80% 80%, transparent 0 36deg, #000 36deg); mask: conic-gradient(from 112deg at 80% 80%, transparent 0 36deg, #000 36deg); }
#pf-card > *, #pf-match { margin-top: 20px; }
