*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f4f5f7;color:#1a1a1a}.centered-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem}.card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 1px 4px #0000001a;width:100%;max-width:420px;display:flex;flex-direction:column;gap:.75rem}.card h1{margin:0;font-size:1.25rem}.subtitle{margin:0 0 .5rem;color:#666}.card label{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;color:#444}.card input{padding:.65rem;border:1px solid #ccc;border-radius:4px;font-size:16px}.card button,button{padding:.65rem 1rem;border:none;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer;font-size:.95rem;min-height:44px}button:disabled{opacity:.6;cursor:not-allowed}.option-button{display:block;width:100%;text-align:left;margin-bottom:.6rem}.step-actions{display:flex;gap:.5rem;margin-top:1rem}.slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.slot-button{min-height:48px;font-size:1rem}.week-nav{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.week-nav button{background:#fff;color:#2563eb;border:1px solid #2563eb;font-size:.85rem;padding:.5rem .75rem;min-height:40px}.week-nav button:disabled{color:#9ca3af;border-color:#d1d5db}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.5rem;overflow-x:auto}.week-day{display:flex;flex-direction:column;min-width:0;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.week-day-header{background:#f3f4f6;padding:.4rem .3rem;text-align:center;display:flex;flex-direction:column;gap:.1rem}.week-day-name{font-size:.75rem;font-weight:600;color:#374151;text-transform:uppercase}.week-day-date{font-size:.7rem;color:#6b7280}.week-day-slots{display:flex;flex-direction:column;gap:.3rem;padding:.4rem .3rem;max-height:260px;overflow-y:auto}.week-day-empty{font-size:.75rem;color:#9ca3af;text-align:center;padding:.5rem 0}.week-slot-button{min-height:34px;font-size:.8rem;padding:.3rem .2rem}.card-wide{max-width:640px}@media (max-width: 700px){.week-grid{grid-template-columns:repeat(7,minmax(84px,1fr))}}@media (max-width: 480px){.card-wide{max-width:100%}}@media (max-width: 480px){.centered-page{align-items:flex-start;padding:0}.card{max-width:100%;min-height:100vh;border-radius:0;box-shadow:none;padding:1.25rem 1rem 2rem}.slot-grid{grid-template-columns:repeat(3,1fr);gap:.6rem}.slot-button{min-height:52px;font-size:1.05rem}.option-button{min-height:52px;font-size:1rem}}.error-message{background:#fee2e2;color:#991b1b;padding:.5rem;border-radius:4px;font-size:.85rem}.add-to-calendar{margin:1.25rem 0;padding-top:1rem;border-top:1px solid #e5e7eb}.add-to-calendar-label{font-size:.85rem;color:#6b7280;margin-bottom:.5rem}.add-to-calendar-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.add-to-calendar-buttons button{flex:1 1 auto;min-width:130px;background:#fff;color:#2563eb;border:1px solid #2563eb}@media (max-width: 480px){.add-to-calendar-buttons{flex-direction:column}.add-to-calendar-buttons button{width:100%;min-height:48px}}.app-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb}.app-nav{display:flex;gap:1rem}.app-nav a{color:#444;text-decoration:none;font-size:.9rem;padding:.25rem .5rem;border-radius:4px}.app-nav a.active{background:#eef2ff;color:#3730a3;font-weight:600}.org-badge{margin-left:.75rem;padding:.15rem .5rem;background:#eef2ff;color:#3730a3;border-radius:4px;font-size:.75rem}@media (max-width: 900px){.app-header{flex-direction:column;align-items:stretch;gap:.6rem;padding:.75rem 1rem}.app-nav{flex-wrap:wrap;gap:.4rem .75rem}}.user-info{margin-right:1rem;font-size:.9rem;color:#444}.app-main{padding:1.5rem;max-width:960px;margin:0 auto}.inline-form{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.inline-form input{padding:.5rem;border:1px solid #ccc;border-radius:4px}.service-checkbox-group{display:flex;flex-direction:column;gap:.4rem;width:100%;padding:.5rem 0}.service-checkbox-label{font-size:.85rem;color:#6b7280;font-weight:600}.service-checkbox-list{display:flex;flex-direction:column;gap:.35rem;max-height:9rem;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px;padding:.5rem .75rem;background:#fff}.service-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.9rem;min-height:auto}.service-checkbox input{width:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:.5rem .75rem;border-bottom:1px solid #eee;font-size:.9rem}td input{padding:.3rem;border:1px solid #ccc;border-radius:4px;width:100%}.badge{padding:.15rem .5rem;border-radius:999px;font-size:.75rem}.badge.active{background:#dcfce7;color:#166534}.badge.inactive{background:#f3f4f6;color:#6b7280}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin:1rem 0 1.5rem}.kpi-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.kpi-value{font-size:1.75rem;font-weight:700;color:#2563eb}.kpi-label{font-size:.85rem;color:#6b7280;margin-top:.25rem}.qr-code-card{display:flex;align-items:center;gap:1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.qr-code-url{font-size:.85rem;color:#6b7280;word-break:break-all;margin:.25rem 0 .75rem}td button{margin-right:.25rem;padding:.3rem .6rem;font-size:.8rem}
