:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253e36;background:#f6f4ee;font-synthesis:none;--green:#234f45;--muted:#728078;--line:#dfe3d9;--accent:#b9573e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9573e;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:var(--green);text-underline-offset:3px}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:38px;line-height:1.1;font-weight:500;letter-spacing:-1px;margin-bottom:14px}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:20px;margin-bottom:8px}.page{max-width:560px;margin:auto;padding:calc(20px + env(safe-area-inset-top)) 22px calc(104px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.brand{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:650;letter-spacing:2px;text-transform:uppercase}.brand img{width:32px;height:32px;border-radius:9px}.avatar{width:44px;height:44px;border:1px solid #ced6cb;border-radius:50%;background:#e9ede3;font-size:16px}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:2.4px;font-weight:700;text-transform:uppercase;margin:0 0 10px}.intro{color:var(--muted);font-size:14px;margin-bottom:22px}.cities{display:flex;background:#e9ece3;padding:5px;border-radius:16px;gap:4px;margin-bottom:18px}.cities button{flex:1;border-radius:12px;padding:12px 8px;font-size:14px}.cities .selected{background:#fff;box-shadow:0 2px 6px #1f3e3010;font-weight:650}.search{position:relative;margin:0 0 14px}.search input{width:100%;background:transparent;border:1px solid #d3dacf;border-radius:13px;padding:14px 16px 14px 42px;font-size:15px}.search svg{position:absolute;top:14px;left:14px;width:19px;height:19px;stroke:#78877c;fill:none;stroke-width:1.7}.chips{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:0 -22px;padding:0 22px 17px}.chips button{white-space:nowrap;padding:10px 14px;border-radius:25px;border:1px solid #dce0d5;font-size:12px;min-height:40px}.chips .selected{background:var(--green);color:#fff;border-color:var(--green)}.list-caption{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);padding:4px 0 14px}.cards{display:grid;gap:20px}.card{overflow:hidden;background:#fff;border-radius:21px;border:1px solid #e7e7df;position:relative}.card-cover{width:100%;height:195px;object-fit:cover;display:block}.card-photo{position:relative}.photo-tag{position:absolute;bottom:12px;left:14px;background:#fffffff0;padding:6px 10px;border-radius:7px;font-size:10px;letter-spacing:.7px;text-transform:uppercase}.dog{display:flex;align-items:center;justify-content:center;gap:3px;width:48px;height:44px;border-radius:13px;background:#fff9ed;color:#856334;border:1px solid #e9d9bb;flex-shrink:0}.dog svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.6}.dog b{font-size:17px}.dog.allowed{color:#35644b;background:#e9f1e7;border-color:#c6dccb}.dog.denied{color:#a54b42;background:#fff0eb;border-color:#edc7be}.card-body{padding:18px}.card-title{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.card-title h3{padding-top:2px}.card-body p{font-size:13px;color:#728078;margin:0 0 16px;line-height:1.55}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;padding-top:12px;font-size:11px;color:var(--muted)}.card-bottom button{font-size:13px;font-weight:600;padding:6px 0;color:var(--green);min-height:36px}.offline-box{display:flex;gap:12px;margin:22px 0;padding:16px;background:#e8eee4;border-radius:15px;font-size:12px;line-height:1.55}.offline-box svg{width:21px;height:21px;flex-shrink:0;stroke:var(--green);fill:none;stroke-width:1.7}.offline-box strong{font-size:13px;display:block}.offline-box small{display:block;color:#697a6b;margin-top:3px}.offline-box button{padding:9px 0 0;font-size:12px;text-decoration:underline;text-underline-offset:3px;font-weight:600}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;padding:9px 20px calc(9px + env(safe-area-inset-bottom));background:#f9f8f3f5;backdrop-filter:blur(16px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:35px}.bottom-nav button{width:125px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:10px;color:#869086;font-size:13px;border-radius:13px}.bottom-nav button.active{color:var(--green);background:#e8ede2;font-weight:650}.bottom-nav svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7}.primary{background:var(--green);color:white;min-height:48px;padding:13px 22px;border-radius:12px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.wide{width:100%}.secondary{border:1px solid #cbd5c8;border-radius:12px;min-height:46px;padding:12px 16px}.muted{color:var(--muted);font-size:13px}.login{padding-top:max(60px,12vh)}.login-logo{width:68px;border-radius:20px;margin-bottom:35px}.login h1{font-size:46px}.login form{margin-top:34px}.field{display:block;font-size:13px;font-weight:600;margin:18px 0}.field input,.field select{display:block;margin-top:9px;border:1px solid #cfd7cb;border-radius:11px;background:#fff;padding:14px;width:100%;color:#263e36;font-size:16px}.login-foot{font-size:11px;letter-spacing:1.4px;margin-top:32px;color:var(--muted);text-transform:uppercase}.choose{display:flex;gap:12px;margin:25px 0}.choose button{flex:1;padding:22px 10px;border:1px solid #d3dbcd;border-radius:17px;background:white;font-size:18px}.back{min-height:44px;padding:0 0 14px;font-size:14px}.detail-image{width:calc(100% + 44px);margin:0 -22px 25px;height:275px;object-fit:cover}.detail-heading{display:flex;justify-content:space-between;gap:10px}.detail-heading h1{font-size:34px}.chinese{color:var(--muted);font-size:15px;margin-bottom:25px}.story p{font-size:15px;line-height:1.8}.note{padding:17px;background:#ecefe5;border-radius:14px;font-size:13px;margin:20px 0}.note p:last-child{margin-bottom:0}.address{border:1px solid #d9dfd2;padding:18px;border-radius:14px;margin:20px 0}.address p{font-size:15px}.address button{padding:6px 0;min-height:38px;text-decoration:underline;font-size:13px}.sources{font-size:11px;color:var(--muted);line-height:1.8;margin-top:25px;overflow-wrap:anywhere}.sources a{display:block}.empty{border:1px dashed #ccd5c5;border-radius:17px;padding:30px 20px;text-align:center;color:var(--muted);font-size:14px}.task{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.task input{accent-color:var(--green);width:23px;height:23px;flex-shrink:0}.task-text{flex:1;min-width:0;overflow-wrap:anywhere}.task-text strong{font-size:15px;font-weight:500;display:block}.task.done strong{text-decoration:line-through;color:var(--muted)}.task-text small{font-size:11px;display:block;color:var(--muted);margin-top:6px}.task-edit{width:44px;height:44px;font-size:23px}.tasks-toolbar{margin:22px 0 8px}.connection{font-size:12px;color:#866136;background:#f2e8d2;padding:10px 13px;border-radius:9px;margin:12px 0}.danger{color:#ac4a3c;min-height:46px;padding:12px 5px;font-size:13px}.actions{display:flex;gap:10px;margin-top:20px}.actions>*{flex:1}dialog{width:calc(100% - 32px);max-width:430px;border:1px solid #e1e4d9;border-radius:23px;padding:25px;background:#f9f8f2;color:#253e36;max-height:85dvh;overflow:auto}dialog::backdrop{background:#152e2770;backdrop-filter:blur(4px)}dialog h2{margin-bottom:16px}dialog p{font-size:14px}.close{float:right;width:35px;height:35px;font-size:23px}#notice{position:fixed;z-index:20;left:20px;right:20px;bottom:calc(90px + env(safe-area-inset-bottom));max-width:510px;margin:auto;border-radius:13px;background:#273f35;color:white;box-shadow:0 6px 25px #0002;font-size:13px;line-height:1.5}#notice:not(:empty){padding:15px 18px}.loading{padding:50px;text-align:center}.inline-error{color:#a44334;font-size:13px;min-height:20px}.progress{margin-top:9px;width:100%;accent-color:var(--green)}@media(min-width:600px){.page{padding-top:30px}.card-cover{height:240px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}.card{animation:appear .3s ease}@keyframes appear{from{opacity:.6;transform:translateY(6px)}to{opacity:1;transform:none}}}
/* Эрик — начальник прогулок. */
.brand{letter-spacing:1.3px}.brand small{display:block;font-size:9px;letter-spacing:.4px;color:var(--muted);font-weight:400;text-transform:none;margin-top:5px}.erik-button{width:44px;height:44px;padding:0;border-radius:14px;flex-shrink:0}.brand .erik-button img{width:44px;height:44px;border-radius:14px;display:block}.login-logo{width:112px;height:112px;border-radius:30px;margin-bottom:24px}.login{padding-top:max(32px,7vh)}.chips button,.card-bottom button,.address button{min-height:44px}.offline-box{margin:0 0 20px;padding:13px 15px}.offline-box button{min-height:44px;padding:8px 0}.offline-box>div{flex:1;min-width:0}.dog-filter{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin:0 0 20px;font-size:12px}.dog-filter svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.5}.dog-filter span{font-size:10px;color:var(--muted)}.dog-filter.selected{background:#e8ede2;border-color:var(--green)}.empty>svg{display:block;margin:0 auto 12px;width:40px;height:40px;stroke:#9a723e;fill:none;stroke-width:1.4}.empty strong{display:block;color:var(--green);font-size:17px}.empty p{margin:10px 0 18px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}.quick-actions .primary,.quick-actions .secondary{font-size:12px;padding:12px 8px}.map-hint{font-size:11px;color:var(--muted);margin-bottom:24px}.journey-caption{font-size:11px;color:var(--muted);margin:0 0 22px}.close{width:44px;height:44px}.task input{width:28px;height:44px;margin:0 4px 0 0}.chinese{margin-bottom:18px}@media(prefers-reduced-motion:no-preference){.erik-button.hello img{animation:erik-hello .65s ease-in-out}@keyframes erik-hello{0%,100%{transform:rotate(0)}35%{transform:rotate(-13deg)}70%{transform:rotate(9deg)}}}
/* Лапы, маршрут и выполненные дела. */
.paw-toggle{position:relative;display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;cursor:pointer}.task .paw-toggle input{position:absolute;inset:0;width:48px;height:48px;margin:0;opacity:0;z-index:1;cursor:pointer}.paw-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ced7ca;border-radius:50%;background:#faf9f4;color:#a2ada0}.paw-mark svg{width:26px;height:26px;fill:currentColor;transform:rotate(-12deg)}.paw-toggle input:checked+.paw-mark{background:#e2ebdf;border-color:#b6cbb4;color:var(--green)}.paw-toggle input:focus-visible+.paw-mark{outline:3px solid var(--accent);outline-offset:3px}.paw-toggle input:disabled+.paw-mark{opacity:.55}.paw-toggle input:disabled{cursor:default}.completed-tasks{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.completed-tasks h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin-bottom:5px}.completed-tasks h2 span{font:12px -apple-system,BlinkMacSystemFont,sans-serif;background:#e6ebdf;border-radius:20px;padding:4px 8px;vertical-align:middle;margin-left:5px}.completed-caption{font-size:11px;color:var(--muted);margin-bottom:5px}.completed-tasks .task:last-child{border-bottom:0}.active-tasks:empty+.completed-tasks{margin-top:0}.erik-route{display:flex;align-items:center;gap:18px;background:#ecefe4;border:1px solid #e1e7d9;border-radius:40px;height:70px;padding:10px 16px 10px 10px;margin:22px 0 10px}.route-track{position:relative;flex:1;height:48px;margin-right:0}.route-prints{display:flex;justify-content:space-between;align-items:center;height:48px;padding:0 12px}.route-prints svg{width:17px;height:17px;fill:currentColor}.route-prints span{color:#c9d1bf;transform:rotate(75deg) translateX(-4px)}.route-prints span:nth-child(even){transform:rotate(100deg) translateX(4px)}.route-prints .passed{color:#98ad8d}.route-erik{position:absolute;top:0;width:48px;height:48px}.route-erik img{width:48px;height:48px;display:block;border-radius:50%;border:3px solid #fffdf4;box-shadow:0 2px 5px #234f4520}.route-step-0{left:0}.route-step-1{left:calc(25% - 12px)}.route-step-2{left:calc(50% - 24px)}.route-step-3{left:calc(75% - 36px)}.route-step-4{left:calc(100% - 48px)}.route-finish{display:grid;place-items:center;width:32px;height:38px;color:#aa7958}.route-finish svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.route-finish.arrived{color:var(--green)}.journey-caption{text-align:center;font-size:11px;margin-bottom:24px}@media(prefers-reduced-motion:no-preference){.paw-press .paw-mark{animation:paw-stamp .24s ease-out}@keyframes paw-stamp{0%{transform:scale(1)}45%{transform:scale(.78) rotate(-12deg)}80%{transform:scale(1.1) rotate(4deg)}100%{transform:scale(1)}}}

/* Описания и один уровень подзадач. */
textarea{font:inherit;-webkit-tap-highlight-color:transparent}textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.field textarea{display:block;margin-top:9px;border:1px solid #cfd7cb;border-radius:11px;background:#fff;padding:14px;width:100%;color:#263e36;font-size:16px;resize:vertical;min-height:110px}.task-expand{text-align:left;padding:6px 0;min-height:48px}.task-hint{display:block;font-size:11px;color:var(--muted);margin-top:7px}.task-edit{flex:0 0 44px}.task-details{padding:14px 0 18px 12px;margin-left:24px;border-left:2px solid #dce3d4}.task-details[hidden]{display:none}.task-description{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}.task-no-description{margin-bottom:12px}.subtasks .task{gap:6px;padding:10px 0}.subtasks .task-text strong{font-size:14px}.subtasks .task-details{margin-left:12px;padding-left:10px}.add-subtask{font-size:12px;margin-top:12px;padding:10px 12px}.filter-context{font-size:11px;color:var(--muted);margin:-5px 0 15px}.task-item{min-width:0}
