:root {
  --bg: #eef4fb;
  --bg-top: #fbfdff;
  --panel: #ffffff;
  --text: #17233a;
  --line: #dde8f7;
  --primary: #9fc3fb;
  --primary-deep: #3d86ff;
  --shadow-soft: 0 18px 50px rgba(155, 192, 245, 0.18);
  --shadow-card: 0 18px 55px rgba(191, 211, 240, 0.26);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Kanit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  color: var(--text);
}
body { display: flex; justify-content: center; }
button, input, textarea, select { font: inherit; font-family: "Kanit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.clickable-input { width: 100%; border: 1.2px solid #d8e3f3; text-align: left; cursor: pointer; }
.page { width: 100%; min-height: 100vh; display: flex; justify-content: center; }
.screen { display: none; width: 100%; }
.screen.active { display: block; }
.signin-screen, .summary-screen { width: 100%; max-width: 390px; min-height: 100vh; margin: 0 auto; background: linear-gradient(180deg, #fbfdff 0%, #edf3fb 100%); }
.signin-screen { padding: 230px 24px 40px; background: radial-gradient(circle at 18% 48%, rgba(255,255,255,0.9), rgba(255,255,255,0) 38%), linear-gradient(180deg, #fcfeff 0%, #f4f8ff 100%); }
.logo-wrap { display: flex; justify-content: center; }
.center-logo { margin-bottom: 34px; }
.logo-img { display: block; height: auto; }
.large-logo { width: 128px; }
.signin-card, .date-card, .filter-fab, .stat-box { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-card); }
.signin-card { border-radius: 26px; padding: 20px 16px 20px; }
.signin-card h1 { margin: 0 0 16px; text-align: center; font-size: 18px; line-height: 1.25; font-weight: 800; }
.input-wrap { position: relative; display: flex; align-items: center; width: 100%; height: 44px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.input-wrap.error { border-color: #ff4d4f; }
.field-error { margin: 0 0 12px; text-align: right; color: #ff4d4f; font-size: 12px; line-height: 1.2; font-weight: 400; }
.input-wrap input { width: 100%; height: 100%; padding: 0 14px; border: 0; outline: none; background: transparent; color: var(--text); font-size: 14px; }
.input-wrap input::placeholder { color: #8b95a8; opacity: 1; font-weight: 400; }
.password-wrap input { padding-right: 46px; }
.eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: #8e98ab; cursor: pointer; }
.eye-btn svg { width: 100%; height: 100%; }
.remember-row { display: inline-flex; align-items: center; gap: 12px; margin: 2px 0 22px; cursor: pointer; user-select: none; }
.remember-row input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--primary-deep); position: relative; background: #fff; }
.remember-row input:checked + .checkmark::after { content: ""; position: absolute; left: 4px; top: 0px; width: 5px; height: 10px; border: solid var(--primary-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.remember-text { font-size: 14px; color: #28354d; }
.submit-btn { width: 100%; height: 42px; border: 0; border-radius: 12px; color: #ffffff; font-size: 14px; font-weight: 700; background: linear-gradient(180deg, #7db0ff 0%, #4d91ff 100%); box-shadow: 0 18px 36px rgba(77, 145, 255, 0.24); cursor: pointer; transition: 0.18s ease; }
.submit-btn.disabled { background: linear-gradient(180deg, #d8e6fb 0%, #cfdff8 100%); box-shadow: none; color: rgba(255,255,255,0.95); }
.summary-screen { position: relative; padding: 24px 24px 40px; max-height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.summary-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.search-pill { width: 100%; min-height: 68px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 14px; background: rgba(255,255,255,0.98); box-shadow: var(--shadow-card); cursor: text; }
.company-logo { width: 42px; height: 42px; object-fit: contain; display: block; flex: 0 0 auto; }
.search-pill .icon-plain:first-of-type { margin-left: auto; }
.search-pill .avatar-wrap { margin-left: -2px; }
.icon-plain { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; color: #101b2f; display: grid; place-items: center; cursor: pointer; }
.icon-plain svg { width: 24px; height: 24px; }
.avatar-wrap { width: 32px; height: 32px; border-radius: 50%; position: relative; overflow: hidden; flex: 0 0 auto; background: #fff3dd; }
.avatar-btn { border: 0; padding: 0; cursor: pointer; }
.avatar-btn:focus-visible { outline: 2px solid rgba(61, 134, 255, 0.4); outline-offset: 2px; }
.avatar-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.92); z-index: 1; }
.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-modal-backdrop, .filter-modal-backdrop { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 126px 24px 140px; background: rgba(214, 225, 240, 0.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); z-index: 30; }
.profile-modal-card, .filter-modal-card { position: relative; width: 100%; background: rgba(255,255,255,0.98); border-radius: 30px; box-shadow: 0 26px 60px rgba(159, 188, 232, 0.30); }
.profile-modal-card { padding: 28px 12px 84px; min-height: 408px; }
.profile-close-btn, .filter-close-btn { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border: 0; background: transparent; color: #1b2740; font-size: 28px; line-height: 1; padding: 0; cursor: pointer; transition: 0.15s ease; }
.profile-close-btn:hover, .filter-close-btn:hover { background: rgba(244,247,252,0.72); }
.profile-close-btn:focus-visible, .profile-logout-btn:focus-visible, .filter-close-btn:focus-visible, .filter-reset-btn:focus-visible, .filter-confirm-btn:focus-visible { outline: 2px solid rgba(61, 134, 255, 0.35); outline-offset: 2px; }
.profile-modal-title { margin: 2px 0 20px; text-align: center; font-size: 22px; line-height: 1.2; font-weight: 700; color: #18243c; }
.profile-modal-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 160px; background: #edf4fb; border-radius: 26px; padding: 22px 14px 18px; text-align: center; }
.profile-photo-wrap { position: relative; border-radius: 50%; overflow: hidden; background: #fff3dd; }
.profile-photo-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,0.88); pointer-events: none; }
.large-profile-photo { width: 64px; height: 64px; margin: 0 auto 16px; }
.profile-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.profile-name, .profile-branch { margin: 0; padding-inline: 8px; color: #1d2740; font-size: 15px; line-height: 1.45; font-weight: 600; text-align: center; text-wrap: balance; }
.profile-branch { font-weight: 500; }
.profile-logout-btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; border: 0; border-radius: 12px; background: transparent; color: #8b95a6; font-size: 17px; font-weight: 500; cursor: pointer; transition: 0.15s ease; }
.profile-logout-btn:hover { background: rgba(244,247,252,0.72); }
.logout-icon { width: 22px; height: 22px; object-fit: contain; display: block; flex: 0 0 auto; }
.profile-modal-backdrop.hidden, .filter-modal-backdrop.hidden { display: none; }
.headline-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.headline-row h2 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: #16284b; }
.filter-fab { width: 54px; height: 54px; border: 0; border-radius: 18px; display: grid; place-items: center; color: #1a253b; cursor: pointer; }
.filter-fab svg { width: 22px; height: 22px; }
.notifications-icon { width: 18px; height: 18px; object-fit: contain; display: block; pointer-events: none; }
.date-card { min-height: 46px; border-radius: 16px; display: flex; align-items: center; gap: 14px; padding: 0 18px; margin-bottom: 14px; cursor: pointer; }
.date-card.active-search { opacity: 0.55; }
.date-card.active-search, #statGrid.active-search, #opdTaskSection.active-search, #opdEmptySection.active-search { filter: blur(0.4px); }
#statGrid.active-search, #opdTaskSection.active-search, #opdEmptySection.active-search { opacity: 0.2; pointer-events: none; }
#opdTaskSection.active-search, #opdEmptySection.active-search { transform: translateY(4px); }
.calendar-icon { width: 22px; height: 22px; color: #1f2937; }
.calendar-icon svg { width: 100%; height: 100%; }
.date-card span { font-size: 14px; font-weight: 400; color: #1a2336; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 34px; }
.stat-box { min-height: 76px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px 6px; box-shadow: none; }
.stat-box span { font-size: 12px; font-weight: 400; text-align: center; }
.stat-box strong { font-size: 16px; line-height: 1; font-weight: 400; }
.stat-all { background: #e8edf4; color: #8f9aac; }
.stat-pending { background: #f4e3fb; color: #cc36ff; }
.stat-progress { background: #e3efff; color: #3b82ff; }
.stat-done { background: #dff8ee; color: #04b94d; }
.opd-header-row { display: flex; align-items: center; justify-content: space-between; }
.opd-section h3 { margin: 0 0 28px; font-size: 24px; line-height: 1.2; font-weight: 700; color: #18243c; }
.hidden { display: none !important; }
#taskListContainer { display: flex; flex-direction: column; gap: 18px; padding-bottom: 12px; }
.image-empty-wrap { display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.empty-state-image { width: 100%; max-width: 276px; height: auto; display: block; margin: 0 auto; }
.empty-state-image-real { max-width: 300px; width: 100%; object-fit: contain; transform: translateX(2px); }
.warning-empty-image { max-width: 248px; width: 100%; margin-top: 6px; transform: translateX(0); object-position: center top; }
.opd-empty-section { min-height: 360px; }
.opd-empty-section .image-empty-wrap { min-height: 260px; align-items: flex-start; }
.opd-empty-section .opd-header-row { margin-bottom: 22px; }
.opd-empty-section h3 { margin-bottom: 0; }
.task-card { background: #ffffff; border-radius: 26px; box-shadow: 0 18px 55px rgba(191, 211, 240, 0.26); padding: 18px 16px 16px; margin-bottom: 16px; cursor: pointer; }
.task-card:last-child { margin-bottom: 4px; }
.task-top-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; }
.patient-avatar { width: 56px; height: 56px; border-radius: 50%; background: #e4e9f1; color: #7c8798; display: grid; place-items: center; }
.patient-avatar svg { width: 30px; height: 30px; }
.patient-main, .patient-side { min-width: 0; }
.patient-no, .patient-side p, .patient-side span, .task-meta-row span, .task-bottom-row span { margin: 0; color: #8a94a7; }
.patient-no { font-size: 12px; font-weight: 400; }
.patient-main h4 { margin: 1px 0 1px; font-size: 15px; line-height: 1.2; font-weight: 600; color: #17233a; }
.patient-main span { font-size: 12px; color: #6d778b; }
.patient-side { text-align: right; padding-top: 3px; }
.patient-side p, .patient-side span { font-size: 11px; line-height: 1.25; }
.task-divider { height: 1px; margin: 14px 0 12px; background: #e4e9f1; }
.task-meta-row, .task-bottom-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.task-meta-row strong, .task-bottom-row strong { display: block; margin-top: 4px; font-size: 14px; line-height: 1.25; color: #17233a; }
.team-avatars { display: flex; align-items: center; margin-top: 6px; }
.team-avatars img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #ffffff; margin-left: -6px; }
.team-avatars img:first-child { margin-left: 0; }
.task-bottom-row { margin-top: 16px; align-items: end; }
.green-text { color: #10b85a !important; }
.blue-text { color: #3d86ff !important; }
.purple-text { color: #cc36ff !important; }
.task-status-wrap { display: flex; align-items: end; justify-content: flex-end; }
.task-status-btn { min-width: 90px; height: 36px; border: 0; border-radius: 10px; font-weight: 500; font-size: 14px; }
.task-status-btn.status-done { background: #dff8ee; color: #10b85a; }
.task-status-btn.status-progress { background: #e3efff; color: #3d86ff; }
.task-status-btn.status-pending { background: #f4e3fb; color: #cc36ff; }
.detail-screen { padding: 4px 0 18px; }
.detail-back-link { border: 0; background: transparent; color: #3d86ff; font-size: 18px; font-weight: 500; padding: 0; margin: 4px 0 14px; cursor: pointer; }
.detail-page-title { margin: 0 0 20px; font-size: 20px; line-height: 1.2; font-weight: 700; color: #18243c; }
.detail-summary-card { background: #ffffff; border-radius: 26px; box-shadow: 0 18px 55px rgba(191, 211, 240, 0.26); padding: 18px 16px 16px; margin-bottom: 18px; }
.detail-procedure-section { position: relative; min-height: 520px; }
.detail-procedure-section h3 { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: #18243c; }
.fab-add-btn { width: 56px; height: 56px; border: 0; border-radius: 50%; background: linear-gradient(180deg, #4d91ff 0%, #3d86ff 100%); color: #fff; font-size: 36px; line-height: 1; box-shadow: 0 18px 34px rgba(61, 134, 255, 0.32); cursor: pointer; }
.detail-empty-wrap { position: relative; text-align: center; padding: 20px 22px 88px; min-height: 390px; }\n.detail-empty-image-only { padding-top: 12px; min-height: 330px; }
.detail-empty-wrap img { width: 100%; max-width: 235px; display: block; margin: 0 auto 10px; object-fit: contain; }\n.detail-empty-image-only img { margin: 0 auto 0; max-width: 228px; }
.detail-empty-title { margin: 0; color: #1d2740; font-size: 16px; line-height: 1.55; font-weight: 700; }
.detail-empty-subtitle { margin: 10px 0 0; color: #1d2740; font-size: 16px; line-height: 1.55; font-weight: 700; }
.detail-empty-wrap .fab-add-btn { position: absolute; right: 18px; bottom: 12px; }
.detail-screen .fab-add-btn.hidden { display: none !important; }
.detail-procedure-card { background: #f3f7fb; border: 2px solid #d9e7fb; border-radius: 22px; padding: 16px 16px 14px; margin-bottom: 16px; position: relative; }
.detail-procedure-card.status-done { border-color: #16c65b; }
.detail-procedure-card.status-progress { border-color: #3d86ff; }
.detail-procedure-card.status-pending { border-color: #cc36ff; }
.detail-remove-btn { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #8b95a6; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.detail-procedure-card h4 { margin: 0 28px 8px 0; font-size: 16px; font-weight: 700; color: #1d2740; }
.detail-procedure-grid { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 14px; }
.detail-muted-label { display: block; color: #9aa3b2; font-size: 12px; font-weight: 400; margin-bottom: 4px; }
.detail-value-text { color: #1d2740; font-size: 14px; line-height: 1.45; font-weight: 500; white-space: pre-line; }
.detail-assistant-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.detail-bottom-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.detail-time-meta, .detail-duration { color: #7d8797; font-size: 13px; font-weight: 400; }
.detail-action-pill { min-width: 88px; height: 34px; border: 0; border-radius: 10px; font-size: 14px; font-weight: 500; }
.detail-action-pill.status-done { background: #dff8ee; color: #10b85a; }
.detail-action-pill.status-progress { background: #dceaff; color: #3d86ff; }
.detail-action-pill.status-pending { background: #f4e3fb; color: #cc36ff; }
.search-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,253,255,0.92) 0%, rgba(237,243,251,0.96) 100%); padding: 24px 24px 28px; z-index: 10; }
.search-overlay.hidden { display: none; }
.search-overlay-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.back-arrow-btn { width: 28px; height: 28px; border: 0; padding: 0; display: grid; place-items: center; color: #3d86ff; background: transparent; }
.back-arrow-btn svg { width: 24px; height: 24px; }
.search-overlay-input { flex: 1; height: 46px; border-radius: 16px; background: #f1f1f4; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.search-caret { width: 2px; height: 22px; background: #111111; border-radius: 999px; }
.search-overlay-input input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14px; font-weight: 400; color: #1d293f; }
.search-overlay-input input::placeholder { color: #8d95a4; opacity: 1; font-weight: 400; }
.search-history-list { display: grid; gap: 22px; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-left { display: flex; align-items: center; gap: 12px; color: #a0a0a0; }
.history-left svg { width: 24px; height: 24px; }
.history-left span { font-size: 16px; font-weight: 400; color: #9b9b9b; }
.history-remove { border: 0; background: transparent; color: #9d9d9d; font-size: 30px; line-height: 1; padding: 0; }
.procedure-modal-backdrop { position: absolute; inset: 0; background: rgba(191, 207, 224, 0.72); z-index: 45; display: flex; align-items: flex-end; }
.procedure-modal-backdrop.hidden { display: none; }
.procedure-modal-sheet { width: 100%; background: rgba(255,255,255,0.98); border-top-left-radius: 26px; border-top-right-radius: 26px; padding: 24px 24px 32px; box-shadow: 0 -12px 40px rgba(45, 73, 120, 0.18); }
.procedure-modal-sheet h3 { margin: 0 0 18px; text-align: center; font-size: 22px; font-weight: 700; color: #18243c; }
.procedure-category-list, .procedure-option-list { display: grid; gap: 14px; margin-bottom: 24px; }
.procedure-category-item, .procedure-option-item { width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: transparent; color: #1d2740; font-size: 16px; font-weight: 400; text-align: left; padding: 0 18px; cursor: pointer; }
.procedure-category-item.active, .procedure-option-item.active { background: #f3f3f6; }
.procedure-next-btn, .procedure-confirm-btn { width: 100%; height: 54px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #4d91ff 0%, #3d86ff 100%); color: #fff; font-size: 18px; font-weight: 600; box-shadow: 0 16px 30px rgba(61, 134, 255, 0.24); }
.procedure-modal-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.procedure-back-btn { height: 54px; border-radius: 16px; border: 1.5px solid #4d91ff; background: #fff; color: #4d91ff; font-size: 18px; font-weight: 500; }
.procedure-option-item { display: flex; align-items: center; gap: 14px; }
.procedure-option-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #1d2740; position: relative; flex: 0 0 auto; }
.procedure-option-item.active .procedure-option-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #3d86ff; }
.filter-modal-card { padding: 0 0 22px; overflow: hidden; }
.filter-modal-head { position: relative; padding: 18px 20px 16px; border-bottom: 1px solid #e6ebf3; }
.filter-modal-head h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; color: #18243c; }
.filter-section { padding: 16px 20px; border-bottom: 1px solid #e6ebf3; }
.filter-label { display: block; margin-bottom: 12px; font-size: 14px; line-height: 1.35; color: #7c8798; font-weight: 400; }
.filter-input { min-height: 48px; border-radius: 14px; border: 1.2px solid #d8e3f3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; background: #ffffff; color: #98a1af; font-size: 14px; font-weight: 400; }
.filter-input svg { width: 20px; height: 20px; color: #8b95a6; flex: 0 0 auto; }
.disabled-field { background: #efefef; color: #afb4bd; border-color: #dcdfe5; }
.checkbox-list { display: grid; gap: 12px; }
.checkbox-row { display: flex; align-items: center; gap: 12px; cursor: pointer; color: #1b2740; font-size: 16px; font-weight: 400; }
.checkbox-row input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-row .box { width: 22px; height: 22px; border-radius: 4px; border: 2px solid #1b2740; background: #fff; flex: 0 0 auto; }
.checkbox-row input:checked + .box { background: #3d86ff; border-color: #3d86ff; position: relative; }
.checkbox-row input:checked + .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 12px; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.view-more-btn { margin-top: 14px; border: 0; background: transparent; color: #3d86ff; font-size: 14px; font-weight: 400; padding: 0; }
.search-field { justify-content: flex-start; color: #b1b8c4; }
.filter-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 0; }
.filter-reset-btn, .filter-confirm-btn { height: 46px; border-radius: 14px; font-size: 16px; font-weight: 500; cursor: pointer; }
.filter-reset-btn { border: 1.5px solid #3d86ff; background: #fff; color: #3d86ff; }
.filter-confirm-btn { border: 0; background: linear-gradient(180deg, #4d91ff 0%, #3d86ff 100%); color: #fff; box-shadow: 0 14px 28px rgba(61, 134, 255, 0.25); }
.date-picker-backdrop { position: absolute; inset: 0; background: rgba(225, 233, 244, 0.92); z-index: 40; padding: 28px 24px 18px; }
.date-picker-backdrop.hidden { display: none; }
.date-picker-card { position: relative; min-height: calc(100vh - 46px); background: rgba(255,255,255,0.96); border-radius: 28px; padding: 20px 18px 18px; box-shadow: 0 24px 60px rgba(159, 188, 232, 0.22); }
.date-picker-back-link { border: 0; background: transparent; color: #3d86ff; font-size: 18px; font-weight: 500; padding: 0; margin-bottom: 18px; }
.date-range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.date-range-col label { display: block; margin-bottom: 10px; color: #8a95a6; font-size: 14px; font-weight: 400; }
.date-range-box { width: 100%; min-height: 46px; border: 1.2px solid #d9e3f2; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; color: #28354d; font-size: 16px; font-weight: 400; }
.date-range-box svg { width: 20px; height: 20px; color: #7f8897; }
.calendar-nav-row { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 10px; margin-bottom: 16px; }
.calendar-nav-row h4 { margin: 0; text-align: center; font-size: 18px; font-weight: 600; color: #1b2740; }
.calendar-nav-btn { width: 36px; height: 36px; border: 0; background: transparent; color: #3d86ff; font-size: 28px; line-height: 1; cursor: pointer; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { margin-bottom: 8px; }
.calendar-weekdays span { text-align: center; color: #8a95a6; font-size: 12px; font-weight: 400; }
.calendar-grid { gap: 6px 0; margin-bottom: 26px; }
.calendar-day { height: 34px; border: 0; background: transparent; color: #2e3644; font-size: 16px; font-weight: 400; border-radius: 999px; position: relative; cursor: pointer; }
.calendar-day.muted { color: #c2c8d2; }
.calendar-day.in-range { background: #e8f0ff; border-radius: 0; }
.calendar-day.selected { background: #4d91ff; color: #fff; width: 28px; justify-self: center; }
.calendar-day.start { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.calendar-day.end { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.date-save-btn { width: 100%; height: 50px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #4d91ff 0%, #3d86ff 100%); color: #fff; font-size: 22px; font-weight: 600; box-shadow: 0 16px 30px rgba(61, 134, 255, 0.28); }
.date-picker-close-btn { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: 0; background: transparent; color: #9aa3b2; font-size: 28px; line-height: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: rgba(23,35,58,0.92); color: white; padding: 10px 14px; border-radius: 12px; font-size: 13px; opacity: 0; pointer-events: none; transition: 0.2s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 768px) { body { background: #eef4fb; } .signin-screen, .summary-screen { box-shadow: 0 0 0 1px rgba(222,231,244,0.8); } }


