@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root { --ink: #173f5f; --blue: #20639b; --mint: #3caea3; --coral: #ed553b; --paper: #f8f7f2; --line: #d9e1df; --muted: #6b7778; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: 9px; background: var(--coral); z-index: 2; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 30px 15px; background: var(--ink); }.auth-card { width: min(440px, 100%); padding: 38px; background: var(--paper); box-shadow: 14px 14px 0 var(--mint); }.auth-card h1 { margin-bottom: 18px; font-size: 54px; }.auth-card h1 span { color: var(--mint); }.auth-copy { margin-bottom: 28px; color: var(--muted); line-height: 1.5; }.auth-card label { display: block; margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 700; }.auth-card input { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); background: white; font: 15px 'DM Sans'; }.text-button { padding: 8px 0; border: 0; color: var(--blue); background: transparent; font: 600 13px 'DM Sans'; cursor: pointer; }.text-button:hover { color: var(--coral); }.auth-error { margin: 14px 0 0; color: var(--coral); font-size: 13px; }.heading-actions { display: flex; align-items: center; gap: 16px; }.user-label { color: var(--muted); font-size: 13px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 370px; padding: 100px 0 55px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; } h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }
h1 { margin-bottom: 20px; font-size: clamp(48px, 8vw, 90px); line-height: .93; letter-spacing: -.05em; } h1 span { color: var(--mint); }
.intro { max-width: 390px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.date-card { min-width: 180px; padding: 22px; color: white; background: var(--ink); border-radius: 3px; box-shadow: 12px 12px 0 var(--mint); }
.date-card span { display: block; margin-bottom: 8px; color: #b8d8d4; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }.date-card strong { font: 600 34px 'Space Grotesk'; }
.workspace { padding: 42px 0 90px; border-top: 1px solid var(--line); }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }.section-heading h2 { margin-bottom: 0; font-size: 36px; letter-spacing: -.04em; }
.whatsapp-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; padding: 22px 26px; color: white; background: var(--ink); }.whatsapp-panel h2 { margin: 0 0 7px; font-size: 22px; }.whatsapp-panel .eyebrow { margin-bottom: 8px; color: #b8d8d4; }.whatsapp-panel p:not(.eyebrow) { margin: 0; color: #d7e6e4; font-size: 13px; }.whatsapp-qr { width: 128px; height: 128px; padding: 6px; background: white; }
.primary-button { border: 0; padding: 13px 18px; color: white; background: var(--coral); border-radius: 2px; font: 700 14px 'DM Sans'; cursor: pointer; transition: transform .15s ease, background .15s ease; }.primary-button:hover { background: #d8442d; transform: translateY(-2px); }.primary-button span { margin-right: 7px; font-size: 19px; vertical-align: -1px; }.full-width { width: 100%; margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 35px 0; background: var(--line); border: 1px solid var(--line); }.stats div { padding: 20px; background: white; }.stats span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }.stats strong { font: 600 28px 'Space Grotesk'; }
.toolbar { display: flex; gap: 12px; margin-bottom: 14px; }.search { display: flex; flex: 1; align-items: center; gap: 9px; padding: 0 13px; background: white; border: 1px solid var(--line); }.search span { color: var(--coral); font-size: 24px; }.search input, select, label input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }.search input { width: 100%; padding: 13px 0; }select { padding: 0 14px; border: 1px solid var(--line); background: white; }
.appointment-list { display: grid; gap: 8px; }.appointment { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 20px; padding: 20px; border-left: 4px solid var(--mint); background: white; }.appointment.past { opacity: .55; border-left-color: var(--line); }.appointment-date { font-weight: 700; }.appointment-date small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }.appointment h3 { margin: 0 0 5px; font-size: 18px; }.appointment p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }.appointment-actions { display: flex; align-items: center; gap: 12px; }.status { color: var(--mint); font-size: 12px; font-weight: 700; }.message-type { display: inline-block; padding: 4px 7px; color: var(--blue); background: #e7f1f1; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.delete-button, .icon-button { border: 0; color: var(--muted); background: transparent; font-size: 21px; cursor: pointer; }.delete-button:hover, .icon-button:hover { color: var(--coral); }.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed var(--line); }.empty-icon { color: var(--coral); font-size: 30px; }.empty-state h3 { margin: 12px 0 7px; }.empty-state p { max-width: 390px; margin: auto; color: var(--muted); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 5; padding: 14px 18px; color: white; background: var(--ink); box-shadow: 6px 6px 0 var(--mint); font-size: 13px; }
dialog { width: min(520px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 3px; box-shadow: 0 25px 80px #173f5f40; }dialog::backdrop { background: #173f5f80; }.dialog-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 28px; }.dialog-heading h2 { margin: 0; font-size: 30px; }form { padding: 30px; }form > label, .two-columns label { display: block; margin-bottom: 17px; color: var(--muted); font-size: 12px; font-weight: 700; }form input, form select { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); background: var(--paper); font: 15px 'DM Sans'; }form select { padding: 12px; }.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .shell { width: min(100% - 28px, 1120px); }.hero { min-height: auto; padding: 75px 0 55px; display: block; }.date-card { width: fit-content; margin-top: 35px; }.whatsapp-panel { align-items: start; flex-direction: column; }.section-heading { align-items: start; flex-direction: column; }.section-heading h2 { font-size: 30px; }.stats div { padding: 14px 10px; }.stats strong { font-size: 24px; }.toolbar { flex-direction: column; }.toolbar select { padding: 13px; }.appointment { grid-template-columns: 1fr auto; gap: 9px 15px; }.appointment-date { grid-column: 1 / -1; }.appointment-actions { grid-column: 2; grid-row: 2; }.appointment h3 { font-size: 16px; }.status { display: none; }.two-columns { grid-template-columns: 1fr; gap: 0; } }
