:root {
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-soft: #f3e8ff;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --blue: #0ea5e9;
  --blue-soft: #e0f2fe;
  --green: #10b981;
  --green-soft: #d1fae5;
  --ink: #202033;
  --muted: #74748b;
  --line: #e9e7ef;
  --surface: #ffffff;
  --background: #f7f6fa;
  --shadow: 0 12px 32px rgba(40, 29, 72, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--background); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.mobile-only { display: none; }
.eyebrow { margin: 0 0 5px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.eyebrow.light { color: rgba(255, 255, 255, .75); }
.muted { color: var(--muted); }

.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 28px; position: relative; overflow: hidden; background: linear-gradient(145deg, #fbf9ff, #f4efff); }
.login-decoration { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .85; }
.decoration-one { width: 420px; height: 420px; background: #e9d5ff; top: -170px; right: -100px; }
.decoration-two { width: 320px; height: 320px; background: #fce7f3; bottom: -160px; left: -70px; }
.login-card { width: min(430px, 100%); position: relative; z-index: 1; background: rgba(255,255,255,.94); padding: 42px; border-radius: 26px; box-shadow: 0 24px 70px rgba(91, 33, 182, .16); border: 1px solid rgba(255,255,255,.9); }
.login-card h1 { font-size: 30px; margin: 7px 0 8px; }
.login-card > .muted { margin: 0 0 28px; }
.login-card label, .form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; color: #4e4d60; margin-bottom: 15px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; color: var(--ink); background: #fff; outline: none; transition: .2s; }
input:focus, select:focus, textarea:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px #f3e8ff; }
textarea { resize: vertical; }
.form-error { color: #dc2626; font-size: 12px; min-height: 16px; text-align: center; }

.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: white; font-size: 19px; background: linear-gradient(145deg, #8b5cf6, #6d28d9); box-shadow: 0 7px 16px rgba(124,58,237,.25); }
.brand-mark.large { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px; font-size: 25px; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 250px; flex: 0 0 250px; height: 100vh; position: sticky; top: 0; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 24px 23px; }
.brand strong { display: block; font-size: 17px; }
.brand small, .sidebar-footer small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.main-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px; flex: 1; overflow: auto; }
.main-nav button { border: 0; background: transparent; border-radius: 11px; display: flex; align-items: center; gap: 13px; padding: 11px 13px; color: #69677b; text-align: left; font-size: 13px; font-weight: 600; }
.main-nav button span { width: 19px; color: #a09cac; font-size: 17px; text-align: center; }
.main-nav button:hover { background: #faf8ff; color: var(--purple); }
.main-nav button.active { background: var(--purple-soft); color: var(--purple-dark); }
.main-nav button.active span { color: var(--purple); }
.sidebar-footer { border-top: 1px solid var(--line); padding: 17px; display: grid; grid-template-columns: 37px 1fr 32px; gap: 10px; align-items: center; }
.sidebar-footer strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.avatar { width: 37px; height: 37px; display: grid; place-items: center; color: white; font-weight: 800; border-radius: 12px; background: linear-gradient(145deg, #ec4899, #db2777); }

.main-content { min-width: 0; flex: 1; }
.topbar { min-height: 83px; padding: 17px 30px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.topbar h2 { font-size: 21px; margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.date-chip { padding: 8px 12px; background: #f8f7fa; border: 1px solid var(--line); border-radius: 10px; color: #656477; font-size: 11px; font-weight: 600; }
.icon-button { border: 0; border-radius: 9px; background: transparent; width: 35px; height: 35px; display: inline-grid; place-items: center; color: #6c6978; font-size: 19px; }
.icon-button:hover { background: #f4f1f8; }
.notification { position: relative; border: 1px solid var(--line); background: #fff; }
.notification i { position: absolute; right: 7px; top: 6px; width: 6px; height: 6px; background: var(--pink); border-radius: 50%; }
.screen-container { padding: 26px 30px 38px; max-width: 1550px; margin: 0 auto; }
.screen { display: none; animation: fadeIn .22s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.welcome-card { min-height: 150px; border-radius: var(--radius); padding: 27px 31px; display: flex; justify-content: space-between; align-items: center; color: white; background: linear-gradient(120deg, #6d28d9 0%, #8b5cf6 57%, #a78bfa 100%); box-shadow: 0 16px 35px rgba(109, 40, 217, .18); overflow: hidden; position: relative; }
.welcome-card::after { content: "♥"; position: absolute; font-size: 180px; color: rgba(255,255,255,.07); right: 160px; top: -60px; transform: rotate(-15deg); }
.welcome-card h3 { margin: 0 0 8px; font-size: 26px; }
.welcome-card p:last-child { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; }
.button { border: 0; border-radius: 10px; padding: 10px 15px; font-size: 12px; font-weight: 700; transition: .2s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--purple); box-shadow: 0 6px 15px rgba(124,58,237,.2); }
.button.primary:hover { background: var(--purple-dark); }
.button.secondary { color: #5f5d70; background: white; border: 1px solid var(--line); }
.button.light { color: var(--purple-dark); background: white; position: relative; z-index: 1; }
.button.wide { width: 100%; padding: 12px 16px; }
.text-button { border: 0; background: transparent; color: var(--purple); font-size: 11px; font-weight: 700; }

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin: 20px 0; }
.metric-card { border: 1px solid var(--line); border-radius: 15px; background: white; padding: 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 4px 15px rgba(44,37,63,.035); }
.metric-icon { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; }
.metric-card.purple .metric-icon { background: var(--purple-soft); color: var(--purple); }
.metric-card.pink .metric-icon { background: var(--pink-soft); color: var(--pink); }
.metric-card.blue .metric-icon { background: var(--blue-soft); color: var(--blue); }
.metric-card.green .metric-icon { background: var(--green-soft); color: var(--green); }
.metric-card span { color: var(--muted); font-size: 10px; font-weight: 600; }
.metric-card strong { display: block; margin: 4px 0 2px; font-size: 21px; }
.metric-card small { color: #aaa6b4; font-size: 9px; }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 20px rgba(40,29,72,.035); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.panel-heading h3 { font-size: 16px; margin: 0; }
.schedule-list { display: flex; flex-direction: column; }
.schedule-item { display: grid; grid-template-columns: 52px 4px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-top: 1px solid #f0eef3; }
.schedule-item:first-child { border-top: 0; }
.schedule-time { font-size: 13px; font-weight: 800; }
.schedule-line { height: 34px; border-radius: 4px; background: var(--purple); }
.schedule-item:nth-child(2n) .schedule-line { background: var(--pink); }
.schedule-info strong { display: block; font-size: 12px; }
.schedule-info small { color: var(--muted); font-size: 10px; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; background: var(--purple-soft); color: var(--purple-dark); font-size: 9px; font-weight: 800; white-space: nowrap; }
.status.confirmado, .status.concluído { background: var(--green-soft); color: #047857; }
.status.cancelado { background: #fee2e2; color: #b91c1c; }
.status.em-atendimento { background: var(--blue-soft); color: #0369a1; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-grid button { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 11px; color: #575568; text-align: left; font-size: 10px; font-weight: 700; }
.quick-grid button:hover { border-color: #d8cbf4; background: #fdfcff; }
.quick-grid span { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; }
.quick-grid span.purple { color: var(--purple); background: var(--purple-soft); }
.quick-grid span.pink { color: var(--pink); background: var(--pink-soft); }
.quick-grid span.green { color: var(--green); background: var(--green-soft); }
.quick-grid span.blue { color: var(--blue); background: var(--blue-soft); }
.tip { display: flex; gap: 10px; background: #fff9e8; border: 1px solid #fce8ad; border-radius: 12px; padding: 13px; margin-top: 14px; }
.tip strong { font-size: 10px; }
.tip p { color: #8c7951; font-size: 9px; margin: 3px 0 0; line-height: 1.45; }

.screen-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.date-navigation { display: flex; align-items: center; gap: 8px; }
.date-navigation input { width: auto; font-weight: 700; }
.search-box { width: min(410px, 100%); display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: white; border-radius: 11px; padding: 0 12px; }
.search-box input { border: 0; box-shadow: none; padding-left: 0; }
.table-panel { padding: 0; overflow: hidden; }
.responsive-table { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 730px; }
th { background: #faf9fc; color: #868394; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; text-align: left; padding: 13px 18px; }
td { border-top: 1px solid #f0eef3; padding: 14px 18px; font-size: 11px; vertical-align: middle; }
.customer-cell { display: flex; gap: 10px; align-items: center; }
.customer-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; font-weight: 800; color: var(--purple); background: var(--purple-soft); }
.customer-cell strong { display: block; font-size: 11px; }
.customer-cell small, .contact-cell small { display: block; color: var(--muted); margin-top: 3px; font-size: 9px; }
.pet-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pet-chip { border: 0; border-radius: 999px; padding: 5px 8px; color: #6b3774; background: #f9e8fb; font-size: 9px; font-weight: 700; }
.pet-chip.add { color: var(--purple); background: var(--purple-soft); }
.row-actions { display: flex; justify-content: flex-end; gap: 3px; }
.row-actions button { border: 0; background: transparent; color: #888492; border-radius: 7px; padding: 6px; }
.row-actions button:hover { color: var(--purple); background: var(--purple-soft); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state strong { display: block; color: var(--ink); margin-bottom: 5px; }

.agenda-toolbar { padding: 14px 16px; margin-bottom: 13px; }
.agenda-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.agenda-toolbar-row + .agenda-toolbar-row { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.agenda-primary-actions { display: flex; align-items: center; gap: 7px; }
.agenda-view-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: #f2eff6; }
.agenda-view-switch button { border: 0; padding: 7px 12px; border-radius: 8px; color: #797587; background: transparent; font-size: 10px; font-weight: 700; }
.agenda-view-switch button.active { color: var(--purple-dark); background: #fff; box-shadow: 0 2px 8px rgba(49,38,74,.09); }
.filters-row .search-box { flex: 1; max-width: 440px; }
.filters-row select { width: 165px; padding: 9px 11px; font-size: 10px; }
.agenda-period-label { margin-left: auto; color: #666276; font-size: 11px; font-weight: 700; white-space: nowrap; }
.agenda-summary { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 9px; margin-bottom: 13px; }
.agenda-summary-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.agenda-summary-card i { width: 9px; height: 9px; border-radius: 50%; background: var(--purple); }
.agenda-summary-card.confirmed i { background: var(--green); }
.agenda-summary-card.progress i { background: var(--blue); }
.agenda-summary-card.done i { background: #64748b; }
.agenda-summary-card.cancelled i { background: #ef4444; }
.agenda-summary-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; font-weight: 700; }
.agenda-summary-card strong { margin-left: auto; font-size: 15px; }
.agenda-panel { padding: 14px 18px; overflow: hidden; }
.agenda-list { display: flex; flex-direction: column; min-height: 240px; }
.agenda-item { display: grid; grid-template-columns: 64px 5px 1fr auto auto; gap: 15px; align-items: center; padding: 14px 8px; border-top: 1px solid #f0eef3; }
.agenda-item:first-child { border-top: 0; }
.agenda-main strong { display: block; font-size: 12px; }
.agenda-main small { color: var(--muted); font-size: 10px; }
.agenda-meta { color: var(--muted); font-size: 10px; }
.agenda-item select { width: 135px; padding: 7px 9px; font-size: 10px; }
.agenda-actions { display: flex; align-items: center; gap: 6px; }
.empty-list { min-height: 180px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.empty-list span { display: block; font-size: 32px; margin-bottom: 8px; opacity: .4; }
.empty-list strong { display: block; color: var(--ink); margin-bottom: 4px; }
.agenda-buttons { display: flex; align-items: center; gap: 4px; }
.agenda-buttons a, .agenda-buttons button { width: 30px; height: 30px; border: 0; border-radius: 8px; display: grid; place-items: center; color: #777386; background: transparent; text-decoration: none; font-size: 14px; }
.agenda-buttons a:hover, .agenda-buttons button:hover { color: var(--purple); background: var(--purple-soft); }
.agenda-buttons .whatsapp-button:hover { color: #047857; background: var(--green-soft); }
.block-row { background: repeating-linear-gradient(135deg, #fafafa, #fafafa 8px, #f5f3f7 8px, #f5f3f7 16px); }
.block-row .schedule-line { background: #9ca3af; }
.block-row .agenda-main strong { color: #5f5b68; }

.week-grid { display: grid; grid-template-columns: repeat(7, minmax(145px, 1fr)); gap: 7px; min-width: 1040px; }
.week-day { min-height: 360px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fcfbfd; }
.week-day.today { border-color: #c4b5fd; background: #fdfbff; }
.week-day-header { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 9px; }
.week-day-header span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.week-day-header strong { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; font-size: 12px; }
.week-day.today .week-day-header strong { color: white; background: var(--purple); }
.calendar-event { width: 100%; border: 0; border-left: 3px solid var(--purple); border-radius: 8px; padding: 8px; margin-bottom: 6px; color: #4c4658; background: var(--purple-soft); text-align: left; }
.calendar-event.confirmado, .calendar-event.concluído { border-left-color: var(--green); background: var(--green-soft); }
.calendar-event.em-atendimento { border-left-color: var(--blue); background: var(--blue-soft); }
.calendar-event.cancelado { border-left-color: #ef4444; background: #fee2e2; opacity: .72; }
.calendar-event.block { border-left-color: #9ca3af; background: #f1f1f3; }
.calendar-event time { display: block; font-size: 9px; font-weight: 800; }
.calendar-event strong { display: block; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; font-size: 10px; white-space: nowrap; }
.calendar-event small { display: block; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; color: #787383; font-size: 8px; white-space: nowrap; }
.week-empty { color: #b1adba; text-align: center; padding: 35px 3px; font-size: 9px; }

.month-wrapper { min-width: 850px; }
.month-weekdays, .month-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-weekdays div { padding: 7px; color: #918d9b; text-align: center; text-transform: uppercase; font-size: 8px; font-weight: 800; }
.month-day { min-height: 118px; padding: 7px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.month-day:nth-child(7n) { border-right: 1px solid var(--line); }
.month-day:nth-last-child(-n+7) { border-bottom: 1px solid var(--line); }
.month-day.outside { background: #faf9fb; opacity: .55; }
.month-day.today { background: #fdfbff; box-shadow: inset 0 0 0 1px #c4b5fd; }
.month-day-number { display: block; margin-bottom: 6px; color: #6f6b7a; font-size: 10px; font-weight: 800; }
.month-day.today .month-day-number { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--purple); }
.month-event { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; border: 0; border-radius: 5px; padding: 4px 5px; margin-bottom: 3px; color: var(--purple-dark); background: var(--purple-soft); text-align: left; font-size: 8px; font-weight: 700; white-space: nowrap; }
.month-event.confirmado, .month-event.concluído { color: #047857; background: var(--green-soft); }
.month-event.em-atendimento { color: #0369a1; background: var(--blue-soft); }
.month-event.cancelado { color: #b91c1c; background: #fee2e2; }
.month-event.block { color: #62626a; background: #eeeeef; }
.month-more { display: block; padding: 2px 4px; color: var(--muted); font-size: 8px; font-weight: 700; }
.modal-help { margin: -9px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.compact-modal { max-width: 560px; }

.placeholder-card { max-width: 640px; margin: 70px auto; text-align: center; padding: 60px 35px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.placeholder-icon { width: 66px; height: 66px; margin: 0 auto 20px; display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); border-radius: 20px; font-size: 25px; }
.placeholder-card h3 { font-size: 27px; margin: 5px 0 10px; }
.placeholder-card > p:not(.eyebrow) { color: var(--muted); margin: 0 auto 25px; max-width: 430px; line-height: 1.6; }

.modal { width: min(660px, calc(100% - 28px)); max-height: calc(100vh - 30px); border: 0; border-radius: 19px; padding: 0; box-shadow: 0 25px 80px rgba(23,14,50,.25); }
.modal::backdrop { background: rgba(31,25,48,.52); backdrop-filter: blur(3px); }
.modal form { padding: 23px; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-header h3 { margin: 0; font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.modal-actions { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 17px; display: flex; justify-content: flex-end; gap: 9px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 360px; color: white; background: #242234; padding: 12px 16px; border-radius: 11px; box-shadow: var(--shadow); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }
.toast.error { background: #b91c1c; }
.sidebar-overlay { display: none; }

@media (max-width: 1100px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mobile-only { display: inline-grid; }
  .sidebar { position: fixed; left: -270px; transition: .25s; box-shadow: var(--shadow); }
  .sidebar.open { left: 0; }
  .sidebar-overlay.open { display: block; position: fixed; inset: 0; z-index: 15; background: rgba(29,22,46,.4); }
  .topbar { min-height: 72px; padding: 13px 16px; justify-content: flex-start; gap: 10px; }
  .topbar-actions { margin-left: auto; }
  .date-chip { display: none; }
  .screen-container { padding: 17px 14px 28px; }
  .welcome-card { min-height: 190px; align-items: flex-start; flex-direction: column; padding: 24px; }
  .welcome-card h3 { font-size: 22px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 13px; gap: 10px; }
  .metric-icon { width: 37px; height: 37px; flex-basis: 37px; }
  .metric-card strong { font-size: 17px; }
  .screen-toolbar { align-items: stretch; flex-direction: column; }
  .screen-toolbar > .button { align-self: flex-end; }
  .date-navigation { flex-wrap: wrap; }
  .agenda-item { grid-template-columns: 50px 4px 1fr; gap: 10px; }
  .agenda-meta, .agenda-actions { grid-column: 3; }
  .agenda-toolbar-row { align-items: stretch; flex-direction: column; }
  .agenda-primary-actions { flex-wrap: wrap; }
  .agenda-view-switch { align-self: flex-start; }
  .filters-row select { width: 100%; }
  .filters-row .search-box { max-width: none; }
  .agenda-period-label { margin-left: 0; }
  .agenda-summary { grid-template-columns: 1fr 1fr; }
  .agenda-panel { overflow: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .login-card { padding: 30px 24px; }
}

@media print {
  body { background: #fff; }
  .sidebar, .topbar, .agenda-primary-actions, .agenda-view-switch, .filters-row .search-box, .filters-row select, .toast { display: none !important; }
  .screen-container { max-width: none; padding: 0; }
  .agenda-toolbar, .agenda-panel, .agenda-summary-card { box-shadow: none; }
  .agenda-panel { overflow: visible; }
  .week-grid, .month-wrapper { min-width: 0; }
  .week-grid { grid-template-columns: repeat(7, 1fr); }
  .week-day { min-height: 260px; }
  .agenda-buttons, .agenda-actions select { display: none; }
}

@media (max-width: 460px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 45px 4px 1fr; }
  .schedule-item .status { grid-column: 3; justify-self: start; }
}
