:root{--yellow:#efbe22;--blue:#1e90ff;--black:#000;--white:#fff;--gray:#6b6b6b;--light:#f5f5f5;--red:#c62828;color:var(--black);background:var(--white);font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}.screen{flex-direction:column;gap:14px;max-width:480px;margin:0 auto;padding:24px 16px 48px;display:flex}.screen.center{justify-content:center;align-items:center;min-height:100vh}h1{margin:0;font-size:1.6rem}h2{margin:0 0 6px;font-size:1.15rem}.muted{color:var(--gray);margin:0}form{flex-direction:column;gap:14px;display:flex}.login{text-align:center;justify-content:center;align-items:center;min-height:100vh}.login .about{text-align:right;max-width:360px;margin-top:24px}.login .about h2{margin:0 0 8px;font-size:1.1rem}.login .about ul{margin:0 0 8px;padding-inline-start:20px}.login .legal-links{margin-top:8px;font-size:.9rem}.logo{border-radius:50%;width:160px;height:160px}.field{flex-direction:column;gap:6px;display:flex}.field-label{font-weight:600}.field-error{color:var(--red);font-size:.9rem}input,select,textarea{font:inherit;background:var(--white);border:1px solid #ccc;border-radius:10px;width:100%;padding:12px}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--red)}.row{align-items:center;gap:8px;display:flex}.row>*{flex:1}.time-select .row>span{flex:0}.choices{flex-wrap:wrap;gap:8px;display:flex}.choices-vertical{flex-direction:column}.choice{font:inherit;background:var(--white);cursor:pointer;text-align:start;border:1px solid #ccc;border-radius:10px;padding:10px 14px}.choice.selected{background:var(--yellow);border-color:var(--yellow);color:var(--black);font-weight:600}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{font:inherit;background:var(--yellow);color:var(--black);cursor:pointer;border:none;border-radius:999px;padding:4px 12px}.search-results{border:1px solid #eee;border-radius:10px;max-height:260px;margin:0;padding:0;list-style:none;overflow-y:auto}.result{font:inherit;cursor:pointer;text-align:start;background:0 0;border:none;border-bottom:1px solid #eee;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;display:flex}.result small{color:var(--gray);direction:ltr}.result.selected{background:#fff6d6;font-weight:600}.search-results .muted{padding:10px 12px}.btn{font:inherit;background:var(--white);cursor:pointer;border:1px solid #ccc;border-radius:12px;padding:14px;font-weight:600}.btn-primary{background:var(--yellow);border-color:var(--yellow);color:var(--black)}.btn-google{background:var(--blue);border-color:var(--blue);color:var(--white);width:100%;max-width:320px}.btn-link{color:var(--blue);background:0 0;border:none}.btn:disabled{opacity:.6}.nav{margin-top:8px}.check{align-items:flex-start;gap:10px;display:flex}.check input{flex:none;width:22px;height:22px;margin-top:2px}.card{background:var(--light);border-radius:14px;padding:14px}.card ol{margin:0;padding-inline-start:20px}.tip{border-inline-start:4px solid var(--yellow)}.dog-photo{object-fit:cover;border-radius:50%;width:120px;height:120px}.demo-note{color:var(--gray);font-size:.85rem}.progress{justify-content:center;gap:6px;display:flex}.dot{background:#ddd;border-radius:3px;width:40px;height:6px}.dot.on{background:var(--yellow)}.legal section p{margin:0}a{color:var(--blue)}.photo-btn{text-align:center;align-self:flex-start;padding:10px 18px}.app-header{z-index:10;background:var(--yellow);justify-content:space-between;align-items:center;padding:8px 16px;display:flex;position:sticky;top:0}.header-logo{border-radius:50%;width:44px;height:44px}.header-actions{align-items:center;gap:10px;display:flex}.icon-link{color:var(--black);font-size:1.5rem;text-decoration:none}.btn-whatsapp{color:var(--white);text-align:center;background:#25d366;border-color:#25d366;text-decoration:none}.btn-whatsapp.compact{padding:8px 12px;font-size:.9rem}.problem-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.problem-card{background:var(--white);color:var(--black);border:1px solid #e3e3e3;border-radius:14px;flex-direction:column;gap:6px;min-height:96px;padding:14px 12px;font-weight:600;text-decoration:none;display:flex}.problem-card .emoji{font-size:1.6rem}.nutrition-card{color:var(--black);border-inline-start:4px solid var(--blue);text-decoration:none}.nutrition-card p{margin:0}.tip ul{margin:0;padding-inline-start:20px}.toggle-row{border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.toggle-row>span{flex-direction:column;display:flex}.toggle-row input{width:48px;height:28px;accent-color:var(--blue);flex:none}.links{flex-direction:column;gap:12px;display:flex}.danger{background:#fff7f7;border:1px solid #f3c4c4}.btn-danger{background:var(--red);border-color:var(--red);color:var(--white)}.screen.with-nav{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.bottom-nav{bottom:0;z-index:20;background:var(--white);padding:6px 4px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e3e3e3;justify-content:space-around;display:flex;position:fixed;inset-inline:0}.nav-tab{color:var(--gray);text-align:center;border-radius:10px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 2px;font-size:.72rem;font-weight:600;text-decoration:none;display:flex}.nav-tab .nav-icon{filter:grayscale();opacity:.7;font-size:1.35rem;line-height:1.2}.nav-tab.active{color:var(--black);background:#fdf3d3}.nav-tab.active .nav-icon{filter:none;opacity:1}.shortcut-card{color:var(--black);border-inline-start:4px solid var(--yellow);text-decoration:none}.shortcut-card p{margin:0}.chat-screen{padding-bottom:calc(240px + env(safe-area-inset-bottom))}.chat-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.badge{background:#fdf3d3;border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:600}.chat-welcome p{margin:6px 0 0}.chat-log{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.bubble{overflow-wrap:anywhere;border-radius:16px;max-width:88%;padding:10px 14px;line-height:1.55}.bubble p{margin:0 0 8px}.bubble p:last-child,.bubble ol:last-child,.bubble ul:last-child{margin-bottom:0}.bubble ol,.bubble ul{margin:0 0 8px;padding-inline-start:20px}.bubble.user{background:var(--yellow);border-end-start-radius:4px;align-self:flex-start}.bubble.assistant{background:var(--light);border-end-end-radius:4px;align-self:flex-end}.bubble.typing{color:var(--gray)}.dots{animation:1.2s infinite blink;display:inline-block}@keyframes blink{50%{opacity:.3}}.quick-replies{flex-wrap:wrap;gap:8px;display:flex}.whatsapp-card{border-inline-start:4px solid #25d366;flex-direction:column;gap:8px;display:flex}.whatsapp-card.red{border-inline-start-color:var(--red);background:#fdecec}.whatsapp-card p{margin:0}.chat-input{inset-inline:0;bottom:calc(62px + env(safe-area-inset-bottom));z-index:15;background:var(--white);border-top:1px solid #eee;flex-direction:row;align-items:flex-end;gap:8px;max-width:480px;margin:0 auto;padding:8px 12px;position:fixed}.chat-input textarea{resize:none}.chat-input .btn{flex:none;padding:12px 16px}.admin-tabs{flex-wrap:wrap;gap:8px;display:flex}.admin-list{flex-direction:column;gap:10px;display:flex}.admin-summary{justify-content:space-between}.admin-summary>*{flex:0 auto}.admin-item{color:var(--black);border-inline-start:4px solid #0000;flex-direction:column;gap:4px;text-decoration:none;display:flex}.admin-item p{margin:0}.is-red{border-inline-start:4px solid var(--red);background:#fdecec}.admin-item-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.admin-title{font-size:1.2rem}.admin .card p{margin:0 0 4px}.admin-dog{align-items:center;gap:8px;display:flex}.admin-dog-photo{object-fit:cover;border-radius:50%;flex:none;width:40px;height:40px}.sev-tag{white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.sev-red{background:var(--red);color:var(--white)}.sev-yellow{background:var(--yellow);color:var(--black)}.sev-green{color:var(--white);background:#2e9d4f}.bubble-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.bubble.has-feedback{outline:2px solid var(--red)}.fb-box{background:var(--white);border-radius:10px;margin-top:8px;padding:8px 10px}.fb-box p{margin:0}.feedback-form{gap:10px;margin-top:8px}.feedback-form textarea{background:var(--white)}.fb-wrong{color:#8a1c1c}.fb-right{color:#1d6b35}.plan-card{border-inline-start:4px solid var(--yellow);flex-direction:column;gap:6px;display:flex}.plan-card h2,.plan-card h3,.plan-empty h2,.stage-card h2{margin:0}.plan-card h3{margin-top:8px;font-size:1rem}.plan-card p,.plan-empty p,.stage-card p{margin:0}.plan-card ol,.plan-card ul{margin:0;padding-inline-start:20px;line-height:1.55}.stage-bar{gap:6px;display:flex}.stage-step{text-align:center;color:var(--gray);background:#e6e6e6;border-radius:8px;flex:1;padding:4px 0;font-size:.8rem;font-weight:600}.stage-step.on{background:var(--yellow);color:var(--black)}.stop-now{background:#fff7f7;border:1px solid #f3c4c4;border-radius:10px;margin-top:6px;padding:8px 10px}.stop-now h3{margin-top:0}.video-link{text-align:center;color:var(--black);margin-top:6px;text-decoration:none}.plan-empty{border-inline-start:4px solid var(--yellow)}.report-card{flex-direction:column;gap:10px;display:flex}.report-card h3{margin:0;font-size:1rem}.report-card.done p{margin:0}.report-card .btn-link{font:inherit;cursor:pointer;align-self:flex-start;padding:0}.score-row{gap:6px;display:flex}.choice.score{text-align:center;flex:1;font-weight:700}.score-hint{justify-content:space-between;display:flex}.progress-view h3{margin:0 0 4px;font-size:1rem}.progress-view p{margin:0}.days-chart{grid-template-columns:repeat(14,1fr);gap:3px;margin:10px 0 6px;display:grid}.day-col{flex-direction:column;align-items:center;gap:4px;display:flex}.bar-slot{justify-content:center;align-items:flex-end;width:100%;height:60px;display:flex}.bar{background:var(--blue);border-radius:3px 3px 0 0;width:70%}.day-dot{background:var(--white);border:1px solid #bbb;border-radius:50%;width:10px;height:10px;display:inline-block}.day-dot.yes{background:var(--yellow);border-color:#c99c0f}.day-dot.no{background:#bbb;border-color:#bbb}.day-num{color:var(--gray);font-size:.65rem}.legend{flex-wrap:wrap;gap:12px;display:flex}.legend>span{align-items:center;gap:4px;display:inline-flex}.stage-card{color:var(--black);border-inline-start:4px solid var(--yellow);background:#fdf3d3;text-decoration:none}.plan-saved{background:var(--yellow);color:var(--black);border-radius:10px;margin-top:8px;padding:8px 10px;font-size:.9rem;font-weight:600;text-decoration:none;display:block}.admin-worse{color:var(--red)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nav-tab{position:relative}.nav-dot{background:var(--red);border:2px solid var(--white);border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:calc(50% - 16px)}.section-title{margin-top:8px}.small{font-size:.9rem}.food-rating{border-inline-start:4px solid #ccc;flex-direction:column;gap:6px;display:flex}.food-rating p,.food-rating h2,.food-rating h3{margin:0}.food-rating h3{font-size:1rem}.food-rating ul{margin:0;padding-inline-start:20px}.level-good{border-inline-start-color:#2e7d32}.level-improve{border-inline-start-color:var(--yellow)}.level-poor{border-inline-start-color:var(--red)}.nadav-note{background:#fff6d6;border-radius:10px;padding:8px 10px}.new-tag{background:var(--blue);color:var(--white);border-radius:999px;align-self:flex-start;padding:2px 10px;font-size:.8rem;font-weight:700}.photo-btn{text-align:center;display:block}.photo-previews{flex-wrap:wrap;gap:8px;display:flex}.photo-preview{flex-direction:column;align-items:center;gap:2px;display:flex}.photo-preview img{object-fit:cover;border-radius:10px;width:96px;height:96px}.vet-now{border-inline-start:4px solid var(--red);background:#fdecea}.vet-now p{margin:0 0 4px}.sent-ok{background:#e8f5e9;margin:0}.stool-history{flex-direction:column;gap:8px;display:flex}.stool-item{align-items:flex-start;gap:10px;display:flex}.stool-item p{margin:0 0 2px}.stool-item.abnormal{border-inline-start:4px solid var(--red)}.stool-thumb{object-fit:cover;border-radius:10px;flex:none;width:64px;height:64px}.food-alert{border-inline-start:4px solid var(--red);flex-direction:column;gap:8px;display:flex}.food-alert p,.food-alert h2{margin:0}.food-alert a.btn{text-align:center;color:var(--black);text-decoration:none}.better-food{flex-direction:column;gap:6px;display:flex}.better-food p{margin:0}.natural-box{text-align:start;font:inherit;color:inherit;cursor:pointer;background:#e5f4e4;border:2px solid #4c9a4a;border-radius:12px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.natural-more{background:#f3faf2;border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.dry-list{margin:0;padding-inline-start:20px}.answered-card{color:var(--black);border-inline-start:4px solid var(--blue);background:#e8f1fd;text-decoration:none}.answered-card p{margin:0}.disclaimer{text-align:center;margin-top:8px}.admin-photos{flex-wrap:wrap;gap:6px;display:flex}.admin-photos img{object-fit:cover;border-radius:10px;width:120px;height:120px}.admin-urgent{color:var(--red);font-weight:700}.cost-table{border-collapse:collapse;width:100%;margin-top:6px;font-size:.85rem}.cost-table th,.cost-table td{text-align:start;border-bottom:1px solid #e3e3e3;padding:4px 2px}.cost-table th{color:var(--gray);font-weight:600}.push-card,.food-running-out{border-inline-start:4px solid #1e90ff}.push-card .btn-link,.food-running-out .btn{margin-top:8px}.push-settings{border-bottom:1px solid #eee;flex-direction:column;gap:6px;margin-bottom:8px;padding-bottom:12px;display:flex}
