/* ==========================================================
   BeyondCrayons design system
   Tokens come from the brand asset pack (colors.json).
   ========================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(assets/fonts/Poppins-Regular.ttf) format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(assets/fonts/Poppins-Medium.ttf) format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600 800; font-display: swap; src: url(assets/fonts/Poppins-Bold.ttf) format("truetype"); }

:root {
  --cream: #F7F2E7;
  --cream-2: #FFF9EE;
  --navy: #173E4B;
  --teal: #1E9B9A;
  --mint: #A9DCCB;
  --mint-2: #DCEFE7;
  --yellow: #FFD34F;
  --yellow-2: #FFF0B8;
  --coral: #F26F83;
  --lavender: #DCCEF5;
  --sky: #BFE8E8;
  --ink: #163B49;
  --gray: #6E7D83;
  --line: #D8D9CF;
  --green: #58B879;
  --orange: #F4A62A;
  --red: #E85D63;
  --white: #FFFFFF;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(23, 62, 75, .06), 0 6px 18px rgba(23, 62, 75, .07);
  --shadow-nav: 0 -4px 20px rgba(23, 62, 75, .08);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 68px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body, #root { height: 100%; }
body {
  margin: 0;
  background: #E9E3D4;
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- app frame: full-bleed on phones, centered column on larger screens ---------- */
.app {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 520px) {
  .app { box-shadow: 0 0 0 1px rgba(23,62,75,.06), 0 20px 60px rgba(23,62,75,.18); }
}

.screen { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.screen-pad { padding: calc(var(--safe-top) + 18px) 18px 28px; }

/* mint header wash used on Updates / Calendar / Today screens */
.header-wash {
  background: linear-gradient(180deg, var(--mint-2) 0%, rgba(220,239,231,.55) 70%, rgba(247,242,231,0) 100%);
  padding: calc(var(--safe-top) + 16px) 18px 18px;
}
.page-title { font-size: 21px; font-weight: 700; letter-spacing: -.2px; }
.greeting-sub { font-size: 12px; color: var(--navy); font-weight: 500; }
.greeting-name { font-size: 20px; font-weight: 700; line-height: 1.1; }

/* ---------- icons (SVG mask so they can be recoloured with currentColor) ---------- */
.icon {
  display: inline-block;
  flex: none;
  width: var(--s, 24px);
  height: var(--s, 24px);
  background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-soft { background: var(--mint-2); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-danger { background: var(--coral); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--navy); }
.icon-btn:active { background: rgba(23,62,75,.08); }

/* ---------- cards & rows ---------- */
.card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 14px; }
.card + .card { margin-top: 12px; }
.card-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-grow { flex: 1; min-width: 0; }
.muted { color: var(--gray); }
.small { font-size: 11px; }
.strong { font-weight: 700; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EEEFE7; }
.list-row:last-child { border-bottom: 0; }
.list-time { font-size: 11px; color: var(--gray); white-space: nowrap; }

/* role / action cards (Welcome screen) */
.role-card {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border-radius: var(--r-md); padding: 14px 14px;
  box-shadow: var(--shadow-card); transition: transform .08s ease;
}
.role-card:active { transform: scale(.985); }
.role-badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.role-title { font-weight: 700; font-size: 14px; }
.role-sub { font-size: 11.5px; color: var(--gray); margin-top: 1px; }

/* ---------- chips, tabs, segmented ---------- */
.segmented { display: flex; background: #fff; border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-card); }
.segmented button { flex: 1; min-height: 38px; border-radius: var(--r-pill); font-weight: 600; font-size: 13px; color: var(--navy); }
.segmented button[aria-selected="true"] { background: var(--navy); color: #fff; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { min-height: 32px; padding: 0 16px; border-radius: var(--r-pill); background: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }

/* ---------- badges & status ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray); flex: none; }
.dot.green { background: var(--green); } .dot.orange { background: var(--orange); }
.dot.red { background: var(--red); } .dot.gray { background: #B7C0C3; } .dot.teal { background: var(--teal); }
.badge.green { color: #2F8F52; } .badge.gray { color: var(--gray); } .badge.orange { color: #B97800; } .badge.red { color: #C23D44; }
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; }
.pill.mint { background: var(--mint-2); color: #1B7A6C; }
.pill.yellow { background: var(--yellow-2); color: #8A6200; }
.pill.coral { background: #FDE0E4; color: #C23D54; }
.pill.lavender { background: #EEE7FB; color: #6A4FB0; }

/* ---------- avatars ---------- */
.avatar { width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: calc(var(--s, 40px) * .38); color: var(--navy); flex: none; }

/* ---------- stat tiles (admin dashboard) ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: #fff; border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-card); }
.stat b { display: block; font-size: 26px; line-height: 1.05; font-weight: 700; }
.stat span { font-size: 12px; color: var(--gray); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; }
.input { min-height: 48px; padding: 0 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; width: 100%; }
.input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(30,155,154,.18); }

/* ---------- bottom navigation ---------- */
.bottom-nav {
  flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center;
  height: calc(var(--nav-h) + var(--safe-bottom)); padding: 8px 8px calc(8px + var(--safe-bottom));
  background: rgba(255,255,255,.96); box-shadow: var(--shadow-nav); border-radius: 22px 22px 0 0;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 18px; color: var(--gray); font-size: 10px; font-weight: 600; }
.nav-item[aria-current="page"] { background: var(--navy); color: #fff; margin: 0 2px; }

/* ---------- misc ---------- */
.link-row { display: flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 600; font-size: 12.5px; }
.section-label { font-size: 12px; font-weight: 700; color: var(--navy); margin: 18px 2px 8px; }
.swatch { height: 56px; border-radius: 12px; display: flex; align-items: flex-end; padding: 6px 8px; font-size: 10px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(23,62,75,.08); }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 4px; }
.icon-grid div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: var(--gray); text-align: center; }

/* ---------- splash ---------- */
.splash { position: relative; flex: 1; overflow: hidden; background: var(--cream); animation: fade-in .5s ease both; }
.splash .blob-a { position: absolute; width: 120%; left: -10%; bottom: -8%; height: 52%; background: var(--mint-2); border-radius: 50% 50% 0 0 / 38% 38% 0 0; }
.splash .blob-b { position: absolute; width: 230px; height: 230px; right: -60px; bottom: -40px; background: var(--yellow-2); border-radius: 50%; }
.splash .logo-full { position: absolute; top: 15%; left: 50%; transform: translateX(-50%); width: min(78%, 330px); height: auto; animation: rise .7s .1s ease both; }
.splash .tagline { position: absolute; top: calc(15% + 120px); width: 100%; text-align: center; font-weight: 500; color: var(--navy); font-size: 14px; line-height: 1.5; animation: rise .7s .25s ease both; }
.splash .planet-big { position: absolute; left: 50%; bottom: 7%; width: 64%; transform: translateX(-50%); filter: drop-shadow(0 14px 18px rgba(23,62,75,.18)); animation: float 5s ease-in-out infinite; }
.deco { position: absolute; pointer-events: none; }
.splash .tap-hint { position: absolute; bottom: calc(14px + var(--safe-bottom)); width: 100%; text-align: center; font-size: 11px; color: var(--navy); opacity: .55; }

@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px) } to { opacity: 1; transform: translate(-50%, 0) } }
@keyframes float { 0%, 100% { transform: translate(-50%, 0) } 50% { transform: translate(-50%, -8px) } }
.splash .tagline { animation-name: rise-plain; }
@keyframes rise-plain { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- auth + shell additions ---------- */
.demo-banner { flex: none; background: var(--yellow-2); color: #7A5600; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; padding: calc(var(--safe-top) + 4px) 10px 4px; }
.demo-banner + .header-wash { padding-top: 12px; }
.alert { border-radius: var(--r-md); padding: 12px 14px; font-size: 12.5px; font-weight: 500; }
.alert.error { background: #FDE0E4; color: #A8283F; }
.alert.info { background: var(--mint-2); color: #1B6B5E; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 6px; min-height: 36px; padding: 0 12px; font-size: 12px; font-weight: 700; color: var(--teal); border-radius: var(--r-pill); }
.demo-panel { border: 1.5px dashed #E8C85A; background: var(--cream-2); border-radius: var(--r-md); padding: 12px; }
.demo-acct { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0E6C4; }
.demo-acct:last-child { border-bottom: 0; }
.code-input { text-align: center; font-size: 26px; letter-spacing: 10px; font-weight: 700; }
.menu-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; width: 100%; text-align: left; border-bottom: 1px solid #EEEFE7; }
.menu-row:last-child { border-bottom: 0; }
.decision-row { display: flex; gap: 8px; margin-top: 12px; }
.decision-row .btn { min-height: 42px; flex: 1; }
.audit-item { padding: 10px 0; border-bottom: 1px solid #EEEFE7; }
.audit-item:last-child { border-bottom: 0; }

/* ---------- Part 3: lists, profiles, forms ---------- */
.search { position: relative; margin-bottom: 12px; }
.search .input { padding-left: 44px; }
.search .icon { position: absolute; left: 14px; top: 14px; color: var(--gray); }
.kv { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #EEEFE7; font-size: 12.5px; }
.kv:last-child { border-bottom: 0; }
.kv .k { width: 84px; flex: none; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.kv .v { flex: 1; min-width: 0; font-weight: 500; }
.kv .v.alert-text { color: var(--red); font-weight: 700; }
.days { display: flex; gap: 6px; }
.day { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 600; color: var(--gray); }
.day.on { background: var(--mint-2); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--teal); }
.hero { display: flex; align-items: center; gap: 14px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mint-2); color: var(--teal); flex: none; }
.agency-only { background: var(--yellow-2); border-radius: var(--r-md); padding: 12px 14px; font-size: 12.5px; }
.agency-only b { display: block; font-size: 10.5px; letter-spacing: .4px; text-transform: uppercase; color: #8A6200; margin-bottom: 3px; }
.header-action { min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%), linear-gradient(135deg, var(--gray) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.history { margin: 0; padding: 0; list-style: none; }
.history li { padding: 8px 0 8px 18px; position: relative; font-size: 12.5px; border-left: 2px solid var(--mint); margin-left: 5px; }
.history li::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.history li.ended::before { background: #B7C0C3; }

/* ---------- Part 4: matching ---------- */
textarea.input { padding: 12px 16px; min-height: 84px; resize: vertical; line-height: 1.4; }
.pill.gray { background: #ECEEEB; color: var(--gray); }
.score { font-weight: 700; font-size: 15px; line-height: 1.1; }
.bar { height: 6px; border-radius: 6px; background: var(--mint-2); overflow: hidden; margin: 4px 0 3px; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 6px; }
.factor { padding: 7px 0; }
details.why { margin-top: 10px; border-top: 1px solid #EEEFE7; padding-top: 8px; }
details.why summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--teal); list-style: none; min-height: 28px; display: flex; align-items: center; }
details.why summary::-webkit-details-marker { display: none; }
.day-btn { flex: 1; min-height: 40px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 600; color: var(--gray); }
.day-btn[aria-pressed="true"] { background: var(--mint-2); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--teal); }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.note-box { background: var(--cream-2); border-radius: var(--r-md); padding: 10px 12px; font-size: 12px; color: var(--gray); }
.intro-row { padding: 12px 0; border-bottom: 1px solid #EEEFE7; }
.intro-row:last-child { border-bottom: 0; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
.wrap-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Part 6: updates + messages */
.nav-icon { position: relative; display: inline-flex; }
.nav-badge { position: absolute; top: -5px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.post-photo { width: 100%; border-radius: 14px; margin-top: 10px; display: block; }
.bubble-row { display: flex; margin: 6px 0; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.4; background: #fff; box-shadow: var(--shadow-card); white-space: pre-wrap; overflow-wrap: anywhere; }
.mine .bubble { background: var(--navy); color: #fff; }
.bubble time { display: block; font-size: 10px; opacity: .6; margin-top: 4px; }
.composer { position: sticky; bottom: 76px; display: flex; gap: 8px; padding: 10px 0 4px; background: linear-gradient(transparent, var(--cream) 30%); }
.unread-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }

/* Part 7: parent actions, calendar */
.action-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.action-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 16px; background: var(--mint-2); font-size: 11.5px; font-weight: 600; color: var(--navy); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head { text-align: center; font-size: 11px; font-weight: 700; color: var(--gray); padding: 4px 0; }
.cal-cell { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-height: 46px; padding: 6px 0 4px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.cal-cell.out { opacity: .35; }
.cal-cell[aria-pressed="true"] { background: var(--mint-2); box-shadow: inset 0 0 0 1.5px var(--teal); }
.cal-dots { display: flex; gap: 2px; height: 6px; }
.cal-dots i, .cal-legend i, .cal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.cal-dot { width: 10px; height: 10px; flex: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 4px; }

/* in-app confirm popup */
.modal-back { position: fixed; inset: 0; background: rgba(15, 30, 40, .45); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 1000; }
.modal { background: var(--card, #fff); border-radius: var(--r-lg, 20px); padding: 20px 18px 16px; width: 100%; max-width: 360px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.modal-msg { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600; }

/* Part 13: calendar polish, oversight screens, simple attendance */
.cal-grid { gap: 5px; }
.cal-head.wknd { opacity: .6 }
.cal-cell { min-height: 54px; background: #FAFAF6; }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px var(--navy); }
.cal-cell.today > span:first-child { color: var(--navy); font-weight: 800; }
.cal-cell[aria-pressed="true"] { background: var(--mint-2); box-shadow: inset 0 0 0 2px var(--teal); }
.cal-dots { height: 8px; align-items: center; }
.cal-dots i { width: 7px; height: 7px; }
.cal-dots em { font-style: normal; font-size: 9px; font-weight: 700; color: var(--gray); line-height: 1; }
.ov-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.ov-link { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; min-height: 52px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); font-weight: 700; font-size: 14px; text-align: left; color: var(--navy); }
.ov-link small { display: none; }
.stat-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-grid.compact .stat { padding: 10px 6px; text-align: center; }
.stat-grid.compact .stat b { font-size: 22px; }
.stat-grid.compact .stat span { font-size: 11px; }
.sel-row { display: flex; gap: 8px; align-items: center; margin: 12px 0 4px; }
.sel-row select { flex: 1; }
.att-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #EEEFE7; }
.att-row:last-child { border-bottom: 0; }
.big-act { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; background: var(--teal); color: #fff; white-space: nowrap; }
.big-act.out { background: var(--navy); }
.big-act.soft { background: var(--mint-2); color: var(--navy); }
.undo-link { font-size: 12px; font-weight: 600; color: var(--gray); text-decoration: underline; padding: 8px 4px; }
.feed-photo { width: 100%; max-height: 300px; object-fit: cover; border-radius: 14px; margin-top: 8px; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.plan-table th, .plan-table td { border: 1px solid var(--line); padding: 6px 6px; vertical-align: top; text-align: left; }
.plan-table th { background: var(--mint-2); font-weight: 700; }
.plan-table td.t { white-space: nowrap; font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.plan-table.wk th, .plan-table.wk td { padding: 5px 3px; text-align: center; font-size: 11px; }
.plan-table.wk td:first-child, .plan-table.wk th:first-child { text-align: left; padding-left: 6px; }
.wk-t { display: block; line-height: 1.3; font-weight: 600; color: var(--navy); white-space: nowrap; } .wk-t em { font-style: normal; color: var(--teal); font-weight: 700; }
.wk-s { font-size: 10.5px; font-weight: 700; color: var(--gray); } .wk-s.coral { color: #C23D54; } .wk-s.lav { color: #6A4FB0; }
.wk-tot { font-weight: 700; white-space: nowrap; line-height: 1.3; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.avatar-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mint-2); color: var(--teal); flex: none; }
.att-block { border-bottom: 1px solid #EEEFE7; }
.att-block:last-child { border-bottom: 0; }
.more-dots { width: 36px; height: 44px; font-size: 22px; line-height: 1; color: var(--gray); flex: none; }
.att-panel { padding: 4px 0 12px 52px; }
.times-ed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.times-ed label { font-size: 12px; font-weight: 600; color: var(--gray); display: flex; flex-direction: column; gap: 4px; }
.times-ed .wide { grid-column: 1 / -1; }
.times-ed .input { min-height: 40px; }
.times-ed button { grid-column: 1 / -1; }
