/* Tonight's card (daily-card.html). Tokens from styles.css :root only; the shared .btn, .card and .fold classes do the rest. */
.dc { width: min(760px, 100% - 32px); margin: 0 auto; padding: var(--sp-4) 0 calc(90px + env(safe-area-inset-bottom, 0px)); display: grid; gap: var(--sp-4); }
.dc h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.dc h2 { margin: 0 0 var(--sp-2); font-size: 1.1rem; }
.dc h3 { margin: 0; font-size: 1rem; }
.dc-hero { display: grid; gap: var(--sp-1); }
.dc-strip { margin: 0; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.dc-links { margin: 0; }
.dc-small { margin: 0; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.dc-sub { margin: var(--sp-1) 0 var(--sp-2); overflow-wrap: anywhere; }
.dc-row-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 0; }
.dc-guest, .dc-missed, .dc-rest { padding: var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.dc-missed { border-color: var(--sun); }
#dc-rows { display: grid; gap: var(--sp-3); }
.dc-row { padding: var(--sp-3) 0; border-top: 1px solid var(--line); min-height: 56px; }
.dc-row:first-child { border-top: 0; padding-top: 0; }
.dc-choices { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.dc-choice { min-height: 44px; min-width: 44px; padding: 0 var(--sp-4); font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 2px solid var(--contour); border-radius: var(--r-sm); cursor: pointer; }
.dc-choice[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); }
.dc-choice:disabled { cursor: default; opacity: .7; }
.dc-choice:focus-visible, .dc a:focus-visible, .dc button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.dc-ribbon { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0 0 var(--sp-2); padding: 0; }
.dc-ribbon li { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--contour); color: var(--muted); font-weight: 800; }
.dc-ribbon li.on { border-color: var(--mint); background: var(--mint-soft); color: var(--mint); }
/* UI Hub PR C: Play the rest as 2-column tiles; each tile is one link (name + its one line), 44 px tall at least. */
.dc-rest-list { margin: var(--sp-2) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.dc-tile { display: flex; flex-direction: column; gap: 2px; min-height: 44px; height: 100%; box-sizing: border-box; padding: var(--sp-2); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: inherit; text-decoration: none; overflow-wrap: anywhere; }
/* The sticky Send bar: above the phone tab bar (styles.css .tabbar, 52 px buttons + 14 px padding + the safe area). */
/* The Send bar is the card flow's (web/card-flow.js + hub-ui.css .kg-flow-bar), pinned above the menu on a phone. */
.dc-made { margin: var(--sp-1) 0 0; }
.dc-pop { position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, 100% - 32px); max-height: 80vh; overflow: auto; padding: var(--sp-4); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dc-pop p { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .dc * { transition: none !important; animation: none !important; } }
.dc-guest h2 { font-size: 1rem; }
.dc-guest p { margin: 0 0 var(--sp-1); }
.dc-calls h2, .dc-last h2, .dc-week h2 { margin-top: var(--sp-1); }
