*{box-sizing:border-box;font-family:Arial,sans-serif}body{margin:0;background:#faf8fc;color:#3e2a4d}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.app-shell.single{display:grid;grid-template-rows:auto 1fr}.topbar{background:#fff;color:#2f2240;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eadcf6}.topbar-brand{display:flex;align-items:center;gap:10px}.topbar-logo{width:38px;height:38px;border-radius:10px;object-fit:cover;border:1px solid #eadcf6;background:#fff}.topbar-sub{font-size:12px;color:#7b6c89}.topbar button{padding:8px 12px;border-radius:8px;border:1px solid #eadcf6;background:#fff;color:#6d28d9;cursor:pointer}.content{padding:24px}.card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 8px 20px #63308514;border:1px solid #f1e8f7}.dashboard-wrap{display:grid;gap:16px}.dashboard-header{background:#ddd6fe;border:1px solid #c4b5fd;border-radius:18px;padding:18px;display:flex;align-items:center;gap:14px}.dashboard-logo{width:54px;height:54px;border-radius:14px;background:#fff;display:grid;place-items:center;color:#7c3aed;font-size:22px;border:1px solid #e9d5ff}.dashboard-logo-img{width:64px;height:64px;border-radius:14px;object-fit:cover;border:1px solid #e9d5ff;background:#fff;padding:4px}.dashboard-header h1{margin:0;font-size:26px;color:#2f2240}.dashboard-header p{margin:4px 0 0;color:#6b5a7a}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.dashboard-tile{background:#f5f3ff;border:1px solid #ece7ff;border-radius:18px;padding:14px;min-height:170px;display:grid;gap:10px;cursor:pointer}.dashboard-tile.disabled{opacity:.65;cursor:default}.tile-icon{width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid #e9d5ff;display:grid;place-items:center}.tile-content h3{margin:0;font-size:24px;color:#2f2240}.tile-content p{margin:4px 0 0;color:#7b6c89}.tile-cta{justify-self:start;background:transparent;color:#6d28d9;border:0;padding:0;font-weight:700}.tile-cta:disabled{color:#6b7280}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f5d0fe,#fbcfe8,#e9d5ff)}.login-card{width:390px;display:grid;gap:12px;border:1px solid #f0abfc}.login-card h1{margin:0;color:#2f2240;font-size:32px}.brand-logo{width:120px;height:120px;object-fit:contain;justify-self:center;border-radius:14px;background:#fff;border:1px solid #f3d4fa;padding:6px}.login-card .subtitle{margin:-2px 0 6px;color:#7b6c89;font-size:14px}.login-card label{display:grid;gap:6px;font-size:14px;color:#6b214f}input,button{padding:11px;border-radius:10px;border:1px solid #e9d5ff}input:focus{outline:2px solid #d8b4fe;border-color:#c084fc}button{background:linear-gradient(90deg,#8b5cf6,#d946ef);color:#fff;border:none;font-weight:600}small{color:#be123c}.password-row{display:grid;grid-template-columns:1fr auto;gap:6px}.eye-btn{padding:0 12px;border:1px solid #e9d5ff;background:#fff;color:#6b5a7a}.login-links{display:flex;justify-content:space-between;font-size:13px}.login-links a{color:#7c3aed}.tasks-page{display:grid;gap:12px}.tasks-head{display:flex;justify-content:space-between;align-items:center}.tasks-head h2{margin:0}.tasks-head p{margin:4px 0 0;color:#7b6c89}.tasks-toolbar{display:grid;grid-template-columns:1.6fr .9fr auto;gap:10px;align-items:center}.tasks-counter{font-size:13px;color:#6b5a7a;text-align:right}.tasks-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:10px 12px;font-size:13px}.tasks-list{display:grid;gap:10px}.task-card{background:#fff;border:1px solid #efd5ff;border-radius:14px;padding:12px;display:grid;gap:10px;box-shadow:0 4px 14px #7b3aed14}.task-top{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}.task-title{font-size:16px;font-weight:600}.task-description{min-height:70px;border:1px solid #e9d5ff;border-radius:10px;padding:10px;resize:vertical}.task-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.task-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.task-badge{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent}.status-open{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}.status-in_progress{background:#fef9c3;color:#854d0e;border-color:#fde68a}.status-done{background:#dcfce7;color:#166534;border-color:#86efac}.status-cancelled{background:#fee2e2;color:#991b1b;border-color:#fecaca}.priority-low{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.priority-medium{background:#ede9fe;color:#5b21b6;border-color:#ddd6fe}.priority-high{background:#ffe4e6;color:#9f1239;border-color:#fecdd3}.birthdays-page{display:grid;gap:12px}.birthdays-head{display:flex;justify-content:space-between;align-items:center}.birthdays-head h2{margin:0}.birthdays-head p{margin:4px 0 0;color:#7b6c89}.birthdays-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px}.birthdays-counter{color:#6b5a7a;font-size:13px}.birthdays-list{display:grid;gap:10px}.birthday-card{background:#fff;border:1px solid #efd5ff;border-radius:14px;padding:12px;display:flex;justify-content:space-between;gap:16px;box-shadow:0 4px 14px #7b3aed14}.birthday-date{color:#7c3aed;margin-top:4px;font-weight:600}.clients-page .client-card{background:#fff;box-shadow:0 4px 12px #7b3aed14}.clients-page .client-actions button{padding:8px 10px;border-radius:8px}.clients-page .client-history{background:#fcf7ff;border-radius:10px;padding:10px}.clients-page .client-history small{color:#6b5a7a;font-weight:700}.reports-page{display:grid;gap:12px}.reports-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.reports-head h2{margin:0}.reports-head p{margin:4px 0 0;color:#7b6c89}.reports-filters{display:flex;gap:8px;align-items:center}.reports-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.reports-kpi{background:#fff;border:1px solid #efd5ff;border-radius:12px;padding:12px;display:grid;gap:6px;box-shadow:0 4px 12px #7b3aed14}.reports-kpi span{color:#7b6c89;font-size:13px}.reports-kpi strong{font-size:20px;color:#2f2240}.reports-kpi.income{border-color:#bbf7d0}.reports-kpi.expense{border-color:#fecaca}.reports-kpi.net{border-color:#c7d2fe}.reports-kpi.pending{border-color:#fde68a}.reports-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reports-panel{background:#fff;border:1px solid #efd5ff;border-radius:12px;padding:12px;box-shadow:0 4px 12px #7b3aed14}.reports-panel h3{margin:0 0 8px}.reports-subtitle{color:#7c3aed;font-size:13px;font-weight:700;margin-bottom:4px}.reports-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #f1e4ff}.reports-row:last-child{border-bottom:0}.reports-row span{color:#5f4d70}.reports-row strong{color:#2f2240}.bar-list{display:grid;gap:10px}.bar-item{display:grid;gap:6px}.bar-label{display:flex;justify-content:space-between;font-size:13px;color:#5f4d70}.bar-track{width:100%;height:9px;border-radius:999px;background:#f3e8ff;overflow:hidden}.bar-fill{height:100%;border-radius:999px}.bar-fill.purple{background:linear-gradient(90deg,#7c3aed,#a855f7)}.bar-fill.pink{background:linear-gradient(90deg,#db2777,#ec4899)}.portal-page{display:grid;gap:12px}.portal-head{display:flex;justify-content:space-between;align-items:center}.portal-head h2{margin:0}.portal-head p{margin:4px 0 0;color:#7b6c89}.portal-clinic-banner{border:1px solid #e9d5ff;border-radius:12px;padding:12px;background:linear-gradient(90deg,#faf5ff,#fdf2f8);display:flex;justify-content:space-between;align-items:center;gap:10px}.portal-whats-btn{background:#25d366;color:#fff;border-radius:10px;padding:10px 12px;font-weight:700}.portal-me{border:1px solid #f0abfc;border-radius:12px;padding:12px;background:#fcf7ff}.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.portal-panel{border:1px solid #efd5ff;border-radius:12px;padding:12px;display:grid;gap:8px}.portal-item{border:1px solid #f3d4fa;border-radius:10px;padding:10px}
