:root{--bg: #f6f7f9;--surface: #ffffff;--text: #1c2430;--muted: #5b6573;--border: #d9dee5;--brand: #2b2541;--brand-dark: #1b1730;--brand-soft: #ebe9f2;--leaf: #385a37;--error: #b42318;--ok-bg: #e9f1e8;--ok-text: #2c4a2b;--radius: 10px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:17px;line-height:1.5;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}h1{font-size:1.6rem;margin:0 0 .75rem}h2{font-size:1.15rem;margin:1.5rem 0 .5rem}a{color:var(--brand)}:focus-visible{outline:3px solid #f0b429;outline-offset:2px}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;color:var(--brand);border-bottom:4px solid var(--leaf)}.header-inner{max-width:760px;margin:0 auto;padding:.9rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.brand{display:flex;align-items:center}.brand img{height:64px;width:auto;display:block}.header-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.header .link,.header a.link{color:var(--brand)}.hello{color:var(--muted)}.main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:1.25rem 1rem 2rem}.footer{border-top:1px solid var(--border);background:var(--surface);padding:1rem;text-align:center;font-size:.9rem;color:var(--muted)}.footer p{margin:.25rem 0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.2rem}.card.narrow{max-width:440px;margin:1.5rem auto;display:flex;flex-direction:column;gap:.75rem}.muted{color:var(--muted)}.small{font-size:.88rem}.error{color:var(--error);margin:0}.notice{background:var(--ok-bg);color:var(--ok-text);padding:.6rem .8rem;border-radius:8px;margin:0 0 .75rem}.page-error{padding:2rem;text-align:center}label{font-weight:600}input,select,textarea{font:inherit;width:100%;padding:.7rem .8rem;border:1px solid #b8c1cc;border-radius:8px;background:#fff}input[type=checkbox],input[type=radio]{width:1.2rem;height:1.2rem;margin:0;flex:none}label.checkbox,label.choice{font-weight:400;display:flex;align-items:center;gap:.6rem;min-height:2.75rem}button,.button{font:inherit;font-weight:600;border:0;border-radius:8px;padding:.75rem 1.1rem;min-height:2.75rem;background:var(--brand);color:#fff;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button:hover,.button:hover{background:var(--brand-dark)}button:disabled{opacity:.6;cursor:default}button.secondary,.button.secondary{background:var(--brand-soft);color:var(--brand-dark)}button.link{background:none;color:var(--brand);padding:0;min-height:auto;font-weight:500;text-decoration:underline}.tabs{display:flex;gap:.25rem;margin-bottom:1.25rem;border-bottom:2px solid var(--border);overflow-x:auto}.tabs a{padding:.7rem 1rem;text-decoration:none;color:var(--muted);font-weight:600;border-bottom:3px solid transparent;margin-bottom:-2px;white-space:nowrap}.tabs a.active{color:var(--brand);border-bottom-color:var(--leaf)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.section-head h1{margin:0}.toggle{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.toggle button{background:var(--surface);color:var(--text);border-radius:0;font-weight:500}.toggle button.active{background:var(--brand);color:#fff}.list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.6rem}.appt{display:grid;grid-template-columns:1fr auto;gap:.25rem 1rem}.appt-when{display:flex;flex-direction:column}.appt-what{grid-column:1;display:flex;gap:.5rem;flex-wrap:wrap}.appt .badge{grid-column:2;grid-row:1 / span 2;align-self:center}.appt.cancelled .appt-when strong{text-decoration:line-through}.badge{background:var(--brand-soft);color:var(--brand-dark);border-radius:999px;padding:.15rem .7rem;font-size:.85rem;font-weight:600}.doc{display:flex;justify-content:space-between;align-items:center;gap:1rem}.doc>div{display:flex;flex-direction:column}.form{display:flex;flex-direction:column;gap:1rem}.field{display:flex;flex-direction:column;gap:.35rem;border:0;padding:0;margin:0}fieldset.field legend{font-weight:600;margin-bottom:.25rem;padding:0}.field.has-error input,.field.has-error textarea,.field.has-error select{border-color:var(--error)}.req{color:var(--error)}h1{color:var(--brand)}@media(max-width:520px){.brand img{height:50px}}fieldset.dob{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:.6rem}fieldset.dob legend{font-weight:600;margin-bottom:.4rem;padding:0}fieldset.dob label{font-weight:400;font-size:.9rem}@media(max-width:520px){.doc{flex-direction:column;align-items:stretch}}.demo-banner{background:#fff4c2;color:#4a3b00;padding:.55rem 1rem;text-align:center;font-size:.9rem;border-bottom:1px solid #ecd77a}.brand .product{margin-left:.9rem;padding-left:.9rem;border-left:2px solid var(--border);font-weight:700;font-size:1.15rem;color:var(--brand);white-space:nowrap}@media(max-width:520px){.brand .product{font-size:1rem;margin-left:.6rem;padding-left:.6rem}}.block{display:block}.center{text-align:center;align-items:center}.actions{margin:1rem 0 .5rem}.search{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem;align-items:end;margin-bottom:1rem}.badge.done{background:var(--ok-bg);color:var(--ok-text)}.kiosk .main{font-size:1.05rem}.kiosk-stop{margin-top:1.5rem;color:var(--muted)}fieldset.card{margin:1rem 0 0;padding:.6rem 1.2rem 1rem;gap:.2rem}fieldset.card label.choice{align-items:flex-start;padding:.35rem 0}fieldset.card label.choice input{margin-top:.2rem}fieldset.card legend{font-weight:600;padding:0 .3rem}.refresh{margin:.25rem 0 1rem}.form-section{margin:1.25rem 0 0;padding-top:.75rem;border-top:1px solid var(--border);font-size:1.1rem;color:var(--brand)}.form-section:first-of-type{border-top:0;margin-top:0;padding-top:0}.form-info{margin:0;color:var(--muted)}.field-wrap{display:flex;flex-direction:column;gap:.5rem}.alert{background:#fdecea;color:#8a1c13;border:1px solid #f5b5ae;border-radius:8px;padding:.75rem .9rem;margin:0;font-weight:600}.alert.big{font-size:1.1rem;margin-bottom:1rem}.groups{display:flex;gap:.5rem;flex-wrap:wrap;margin:.75rem 0 0}.table-field{gap:.6rem}.table-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;align-items:end;padding:.6rem;border:1px solid var(--border);border-radius:8px;background:#fafafb}.table-cell{display:flex;flex-direction:column;gap:.2rem;font-weight:500}.add-row{align-self:flex-start}.choices{display:flex;flex-direction:column}.choices.inline{flex-direction:row;flex-wrap:wrap;gap:0 1.75rem}
