:root { --primary: #a78bfa; --primary-dark: #8b6ff7; --dark: #171030; --gray: #6a737c; --light: #f7f7fa; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--dark); background: var(--light); line-height: 1.6; }
.container { max-width: 640px; margin: 0 auto; padding: 16px; }
.card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
h1 { font-size: 1.5rem; margin-bottom: 4px; }
h2 { font-size: 1.1rem; margin: 16px 0 8px; }
.muted { color: var(--gray); font-size: .9rem; }
.service { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 1px solid #e8e8ee; border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s; }
.service:hover, .service.selected { border-color: var(--primary); }
.service.selected { background: #f3efff; }
.svc-name { display: flex; align-items: center; gap: 10px; }
.svc-ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--primary-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price { font-weight: 600; color: var(--primary-dark); white-space: nowrap; margin-left: 12px; }
input, select { width: 100%; padding: 12px; border: 1px solid #e8e8ee; border-radius: 10px; font-size: 1rem; margin-bottom: 10px; }
button, .btn { display: block; width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; }
button:hover { background: var(--primary-dark); }
button:disabled { background: #e8e8ee; cursor: default; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.slot { padding: 10px 4px; text-align: center; border: 1px solid #e8e8ee; border-radius: 10px; cursor: pointer; font-weight: 500; }
.slot:hover, .slot.selected { border-color: var(--primary); background: #f3efff; }
.hidden { display: none; }
.msg { padding: 14px; border-radius: 12px; margin-top: 12px; }
.msg.ok { background: #dcfce7; color: #166534; }
.msg.err { background: #fee2e2; color: #991b1b; }
