*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.5;color:#222;background:#f5f6f8}
a{color:#2563eb;text-decoration:none}
h1{font-size:22px;margin:0 0 16px}
h2{font-size:20px;margin:0 0 12px}
h3{font-size:18px;margin:0 0 8px}
.container{max-width:560px;margin:0 auto;padding:16px 16px 96px}
.card{background:#fff;border-radius:14px;padding:16px;margin-bottom:12px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:12px;border:none;background:#2563eb;color:#fff;font-size:16px;font-weight:600;cursor:pointer;width:100%;margin-top:8px}
.btn-green{background:#16a34a}
.btn-red{background:#dc2626}
.btn-gray{background:#6b7280}
.btn-outline{background:#fff;color:#2563eb;border:2px solid #2563eb}
.btn:disabled{opacity:.5;cursor:not-allowed}
.input,.select,textarea{width:100%;min-height:48px;padding:12px;border:1.5px solid #d1d5db;border-radius:10px;font-size:16px;background:#fff;font-family:inherit}
textarea{min-height:80px;resize:vertical}
label{display:block;margin:12px 0 6px;font-weight:600;font-size:14px;color:#374151}
.tile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tile{background:#fff;border-radius:14px;padding:18px 14px;min-height:96px;display:flex;flex-direction:column;justify-content:center;font-weight:600;text-align:center;color:#1f2937;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.tile.green{background:#16a34a;color:#fff}
.tile-big{grid-column:span 2}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e5e7eb;display:flex;justify-content:space-around;padding:8px 0;z-index:50}
.bottom-nav a{flex:1;text-align:center;color:#6b7280;font-size:13px;padding:6px;font-weight:600}
.bottom-nav a.active{color:#2563eb}
.topbar{background:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:40}
.badge{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700}
.badge-free{background:#f3f4f6;color:#374151}
.badge-pro{background:#dbeafe;color:#1e40af}
.badge-max{background:#fef3c7;color:#92400e}
.alert{padding:12px;border-radius:10px;margin-bottom:12px}
.alert-warn{background:#fef3c7;color:#78350f}
.alert-err{background:#fee2e2;color:#991b1b}
.alert-ok{background:#dcfce7;color:#166534}
.client-row{display:flex;justify-content:space-between;padding:14px;background:#fff;border-radius:12px;margin-bottom:8px;align-items:center}
.muted{color:#6b7280;font-size:14px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:8px;text-align:left;border-bottom:1px solid #e5e7eb}
.chart{display:flex;align-items:flex-end;gap:3px;height:120px;margin:12px 0}
.chart .bar{flex:1;background:#2563eb;border-radius:3px 3px 0 0;min-height:2px}
.flex{display:flex;gap:8px}
.flex>*{flex:1}
.landing-hero{background:linear-gradient(135deg,#2563eb,#16a34a);color:#fff;padding:60px 20px;text-align:center}
.landing-hero h1{font-size:32px;margin-bottom:16px}
.landing-feat{padding:40px 20px;max-width:760px;margin:0 auto}
.tariff-grid{display:grid;gap:16px;padding:20px;max-width:1000px;margin:0 auto}
@media(min-width:768px){.tariff-grid{grid-template-columns:1fr 1fr 1fr}}
.tariff-card{background:#fff;padding:24px;border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.tariff-card.featured{border:3px solid #16a34a}
.calendar-grid{display:grid;grid-template-columns:60px repeat(7,1fr);gap:1px;background:#e5e7eb;border-radius:10px;overflow:hidden}
.calendar-grid>div{background:#fff;padding:4px;min-height:30px;font-size:12px}
.calendar-grid .booked{background:#dbeafe;cursor:pointer}
.calendar-grid .head{background:#f9fafb;font-weight:700;text-align:center}
.slot{display:inline-block;padding:10px 14px;margin:4px;background:#fff;border:1.5px solid #2563eb;border-radius:10px;color:#2563eb;cursor:pointer;font-weight:600;min-width:80px;text-align:center}
.slot.selected{background:#2563eb;color:#fff}
.more-menu a{display:block;padding:14px;background:#fff;border-radius:10px;margin-bottom:8px;color:#1f2937;font-weight:600}
