*{box-sizing:border-box;margin:0;padding:0}:root{--green: #22c55e;--green-dark: #16a34a;--red: #ef4444;--gray: #9ca3af;--gray-dark: #4b5563;--bg: #f9fafb;--text: #111827;--card-radius: 14px}html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app{display:flex;flex-direction:column;min-height:100vh}.app-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:20;height:65px;box-sizing:border-box}.logo{font-weight:700;font-size:16px;color:var(--text);text-decoration:none}.vet-link{font-size:13px;color:var(--green-dark);text-decoration:none;font-weight:600;padding:8px 12px;border:1px solid var(--green);border-radius:20px}.pet-owner-view{display:flex;flex-direction:column;height:calc(100vh - 65px);overflow:hidden}.map-container{width:100%;height:55vh;min-height:320px;flex-shrink:0}.status-banner{padding:8px 16px;font-size:13px;text-align:center;background:#eef2ff;color:#4338ca;flex-shrink:0}.clinic-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 16px 40px}.clinic-list h2{font-size:15px;margin-bottom:10px;color:var(--gray-dark)}.clinic-card{background:#fff;border-radius:var(--card-radius);padding:14px;margin-bottom:10px;box-shadow:0 1px 3px #00000014;display:flex;justify-content:space-between;align-items:center;gap:10px}.clinic-card.closed{opacity:.55}.clinic-info h3{font-size:15px;margin-bottom:4px}.clinic-info p{font-size:13px;color:var(--gray-dark)}.badge{display:inline-block;font-size:11px;font-weight:700;padding:3px 8px;border-radius:20px;margin-bottom:6px}.badge.open{background:#dcfce7;color:var(--green-dark)}.badge.closed{background:#f3f4f6;color:var(--gray-dark)}.badge.listing{background:#e0f2fe;color:#0369a1}.badge.listing strong{color:#dc2626;text-decoration:underline}.badge.featured{background:#fef3c7;color:#b45309;margin-left:6px}.clinic-card.featured{border:1px solid #f59e0b;box-shadow:0 1px 6px #f59e0b40}.district-group{margin-bottom:18px}.district-heading{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--gray-dark);padding:4px 0;margin-bottom:8px;border-bottom:1px solid #e5e7eb}.clinic-actions{display:flex;flex-direction:column;gap:6px}.btn-nav{background:var(--green);color:#fff;border:none;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600;text-decoration:none;text-align:center;cursor:pointer;white-space:nowrap}.btn-call{background:#fff;color:var(--green-dark);border:1px solid var(--green);border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600;text-decoration:none;text-align:center}.pet-owner-view-wrapper{position:relative;min-height:calc(100vh - 65px)}.terms-gate{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:#1118278c}.terms-gate-card{max-width:460px;width:100%}.empty-state{text-align:center;padding:30px 16px;color:var(--gray-dark);font-size:14px}.vet-portal{max-width:480px;margin:0 auto;padding:20px 16px 60px;width:100%}.vet-profile-shell{display:flex;flex-direction:column;gap:12px}.vet-profile-topbar{display:flex;align-items:center;justify-content:flex-start}.profile-icon-button{width:46px;height:46px;border:none;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000001f;font-size:22px;cursor:pointer}.auth-form{background:#fff;border-radius:var(--card-radius);padding:20px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;gap:12px}.auth-form h2{font-size:18px;margin-bottom:4px}.auth-form input{padding:12px;border:1px solid #d1d5db;border-radius:10px;font-size:15px}.auth-form button[type=submit]{background:var(--green);color:#fff;border:none;padding:13px;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;margin-top:4px}.switch-mode{text-align:center;font-size:13px;color:var(--gray-dark);background:none;border:none;cursor:pointer;text-decoration:underline}.error-text{color:var(--red);font-size:13px}.profile-card{background:#fff;border-radius:var(--card-radius);padding:20px;box-shadow:0 1px 3px #00000014;margin-bottom:16px}.profile-card h2{font-size:17px;margin-bottom:14px}.profile-field{margin-bottom:12px}.profile-field label{display:block;font-size:12px;color:var(--gray-dark);margin-bottom:4px;font-weight:600}.profile-field input{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px;font-size:14px}.btn-save{width:100%;background:var(--text);color:#fff;border:none;padding:12px;border-radius:10px;font-weight:600;cursor:pointer}.btn-logout{width:100%;background:none;border:1px solid var(--red);color:var(--red);padding:10px;border-radius:10px;font-weight:600;cursor:pointer;margin-top:8px}.btn-ghost{background:#fff;border:1px solid #d1d5db;color:var(--gray-dark);padding:8px 14px;border-radius:10px;font-weight:600;font-size:13px;cursor:pointer}.btn-ghost:hover{background:#f3f4f6}.clinic-avatar{width:46px;height:46px;flex-shrink:0;border:none;border-radius:50%;background:#1e3a8a;color:#fff;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 1px 3px #0000001f}.segmented{display:inline-flex;border:1px solid #d1d5db;border-radius:10px;overflow:hidden;margin-top:10px}.segmented button{background:#fff;border:none;padding:9px 28px;font-size:14px;font-weight:600;color:var(--gray-dark);cursor:pointer}.segmented button+button{border-left:1px solid #d1d5db}.segmented button[aria-pressed=true]{background:#1e3a8a;color:#fff}.field-note{font-size:12px;color:#6b7280;margin-top:6px}.profile-textarea{width:100%;margin-top:8px;padding:10px;border:1px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:14px;resize:vertical}.profile-textarea:focus,.profile-field input:focus{outline:2px solid #93a5d8;outline-offset:0;border-color:#1e3a8a}.char-count{text-align:right;font-size:12px;color:#6b7280;margin-top:2px}.help-item{border-top:1px solid #e5e7eb;padding:10px 0}.help-item:first-of-type{border-top:none}.help-item summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--text)}.help-body{margin-top:8px;font-size:13px;color:var(--gray-dark);line-height:1.5}.help-body p+p,.help-body ul{margin-top:6px}.help-body ul{padding-left:18px}.help-body li{margin-bottom:4px}.toggle-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 16px;background:#fff;border-radius:var(--card-radius);box-shadow:0 1px 3px #00000014;margin-bottom:4px}.toggle-status-text{font-size:16px;font-weight:700}.toggle-status-text.on{color:var(--green-dark)}.toggle-status-text.off{color:var(--gray-dark)}.big-toggle{width:132px;height:68px;border-radius:50px;border:none;position:relative;cursor:pointer;transition:background .25s ease;background:#d1d5db}.big-toggle.on{background:var(--green)}.big-toggle.off{background:#d1d5db}.big-toggle .knob{position:absolute;top:6px;left:6px;width:56px;height:56px;border-radius:50%;background:#fff;transition:transform .25s ease;display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 2px 6px #00000040}.big-toggle.on .knob{transform:translate(64px)}.toggle-hint{font-size:12px;color:var(--gray-dark);text-align:center}.duty-timer-info{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 16px;margin-bottom:4px;background:#fff;border-radius:var(--card-radius);box-shadow:0 1px 3px #00000014;font-size:13px;font-weight:600;color:var(--gray-dark)}.vet-info-card{background:#fff;border-radius:var(--card-radius);padding:14px 16px;box-shadow:0 1px 3px #00000014;border:1px solid #e5e7eb}.vet-info-card h3{font-size:14px;margin-bottom:6px;color:var(--text)}.vet-info-card p{font-size:13px;color:var(--gray-dark);line-height:1.5}.vet-collapse>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:var(--text)}.vet-collapse>summary::-webkit-details-marker{display:none}.vet-collapse>summary:after{content:"▾";color:var(--gray-dark);font-size:14px;transition:transform .15s;flex-shrink:0}.vet-collapse[open]>summary:after{transform:rotate(180deg)}.vet-collapse-title{flex:1;min-width:0}.vet-collapse-summary{font-size:12px;font-weight:500;color:var(--gray-dark);white-space:nowrap}.vet-collapse-body{margin-top:10px}.subscription-card{background:linear-gradient(135deg,#fef3c7,#fff7ed);border:1px solid #fbbf24;border-radius:var(--card-radius);padding:14px 16px;box-shadow:0 1px 3px #0000000f}.subscription-badge{display:inline-block;background:#f59e0b;color:#fff;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;margin-bottom:8px}.subscription-card h3{font-size:14px;margin-bottom:6px;color:var(--text)}.subscription-card p{font-size:13px;color:#92400e;line-height:1.5}.subscription-meta{margin-top:10px;padding-top:10px;border-top:1px dashed #f59e0b;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#92400e}.subscription-meta strong{color:var(--text)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1118278c;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.profile-modal,.reminder-modal{background:#fff;border-radius:16px;width:min(100%,420px);max-height:calc(100vh - 32px);overflow-y:auto;padding:20px;box-shadow:0 12px 40px #0003}.profile-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;line-height:1}.profile-modal-body{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--gray-dark)}.profile-modal-summary{margin-top:6px;padding:10px 0;border-top:1px solid #e5e7eb;color:var(--gray-dark)}.profile-modal-summary p{margin-bottom:4px}.reminder-modal h3{margin-bottom:8px}.reminder-modal p{font-size:14px;color:var(--gray-dark);margin-bottom:10px}.reminder-countdown{font-size:22px;font-weight:700;color:var(--green-dark);margin-bottom:14px}.reminder-actions{display:flex;flex-direction:column;gap:8px}.loading-screen{display:flex;align-items:center;justify-content:center;flex:1;color:var(--gray-dark);font-size:14px;padding:40px}@media (min-width: 640px){.map-container{height:60vh}}
