/* Meet — host app (/host). Plain, light, system fonts. Prefix hm-. */
:root { --bg: #f6f7f9; --card: #fff; --line: #e1e4e8; --text: #1d2125; --muted: #65707b; --accent: #2563eb; --ok: #15803d; --bad: #b91c1c; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 15px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.hm-top { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--card); border-bottom: 1px solid var(--line); }
.hm-brand { font-weight: 700; font-size: 17px; color: var(--text); }
.hm-who { color: var(--muted); font-size: 13px; }
.hm-grow { flex: 1; min-width: 0; }
.hm-wrap { max-width: 860px; margin: 0 auto; padding: 18px; }
.hm-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; flex-wrap: wrap; }
.hm-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 12px 0; }
.hm-narrow { max-width: 400px; margin: 40px auto; display: flex; flex-direction: column; gap: 12px; }
.hm-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.hm-field input, .hm-field select, .hm-linkrow input { font: inherit; color: var(--text); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.hm-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 4px 0; }
.hm-two { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-btn { font: inherit; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.hm-btn:hover { border-color: #c4c9cf; }
.hm-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-btn.danger { color: var(--bad); border-color: #f0c4c4; }
.hm-btn.ghost { background: transparent; border-color: transparent; color: var(--accent); }
.hm-btn.sm { padding: 3px 8px; font-size: 13px; }
.hm-btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hm-msg { color: var(--bad); min-height: 1em; margin: 0; font-size: 14px; }
.hm-note { color: var(--muted); font-size: 13px; margin: 4px 0; }
.hm-sec { margin: 18px 0; }
.hm-count { color: var(--muted); font-weight: 400; font-size: 13px; }
.hm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin: 6px 0; color: inherit; }
a.hm-row:hover { border-color: #c4c9cf; }
.hm-meta { color: var(--muted); font-size: 12.5px; }
.hm-chip { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #eef2ff; color: #3730a3; white-space: nowrap; }
.hm-chip.ok { background: #dcfce7; color: var(--ok); }
.hm-chip.muted { background: #f1f3f5; color: var(--muted); }
.hm-linkrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hm-linkrow input { min-width: 220px; }
.hm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hm-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.hm-chat { padding: 4px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.hm-back { margin: 0; font-size: 13px; }
.hm-modal-back { position: fixed; inset: 0; background: rgba(15, 20, 25, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.hm-modal { width: min(460px, 100%); max-height: 92vh; overflow: auto; margin: 0; }
.hm-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.hm-toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #1d2125; color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 14px; z-index: 20; }
.hm-toast.bad { background: var(--bad); }
@media (max-width: 560px) { .hm-wrap { padding: 12px; } .hm-linkrow input { min-width: 0; width: 100%; } }
/* phase 455: description, attendees, repeat picker, invites, occurrences */
.hm-field textarea { font: inherit; color: var(--text); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; resize: vertical; min-height: 64px; }
.hm-modal.hm-wide { width: min(600px, 100%); }
a.hm-btn { display: inline-block; color: var(--text); }
.hm-badge { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 1px 6px; border-radius: 4px; background: #e0f2fe; color: #075985; vertical-align: 1px; }
.hm-rec { margin: 0 0 8px; font-size: 14px; }
.hm-rep { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 8px 0; background: #fafbfc; }
.hm-rep-more { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.hm-rep-more[hidden], .hm-rep-line[hidden], .hm-days[hidden], #hm-r-month[hidden] { display: none; }
.hm-rep-line { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; margin: 2px 0; }
.hm-rep-line input[type=number] { width: 72px; }
.hm-rep-line input, .hm-rep-line select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); }
.hm-rep-line input[type=radio] { padding: 0; }
.hm-rep-end { display: flex; flex-direction: column; gap: 2px; }
.hm-rep-lbl { font-size: 13px; color: var(--muted); }
.hm-days { display: flex; gap: 6px; flex-wrap: wrap; }
.hm-day { font: inherit; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; font-weight: 600; }
.hm-day.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-desc { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.hm-att { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.hm-att-p { font-size: 13px; padding: 2px 9px; border-radius: 99px; background: #f1f3f5; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-warn { color: #92400e; font-weight: 600; }
.hm-snd-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 8px 0; overflow-wrap: anywhere; }
.hm-choice { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.hm-choice .hm-btn { text-align: left; padding: 12px 14px; }
.hm-off b { text-decoration: line-through; color: var(--muted); }
.hm-row .hm-btn.sm + .hm-btn.sm { margin-left: 4px; }
.hm-log { margin-top: 10px; font-size: 13px; }
.hm-log summary { cursor: pointer; color: var(--muted); }
@media (max-width: 560px) { .hm-two > .hm-field { flex: 1 1 100%; } .hm-row.static { flex-wrap: wrap; } .hm-day { width: 38px; height: 38px; } }
