:root{font-family:Inter,'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--green);outline-offset:3px}button svg{pointer-events:none}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}button{border:0;background:none}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:650;margin-bottom:9px}h2{font-size:20px;letter-spacing:-.4px;font-weight:650;margin-bottom:0}h3{font-size:17px;font-weight:600;margin-bottom:6px}p{line-height:1.65}small,.muted{color:var(--muted)}small{font-size:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:35px 22px 24px;background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 36px;font-size:25px;letter-spacing:-1px;font-weight:750;color:var(--green)}.brand img{width:39px;height:39px;border-radius:12px}.brand em{font-style:normal;color:var(--orange)}.nav-label{font-size:11px;letter-spacing:1.8px;font-weight:600;color:var(--muted);padding:0 15px;margin-bottom:13px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:13px;border-radius:10px;padding:13px 15px;text-align:left;font-size:14px;color:var(--muted);transition:.15s}.nav button:hover{background:var(--soft);color:var(--green)}.nav button.active{background:var(--mint);color:var(--green);font-weight:650}.nav button.active:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-note{margin:24px 7px 20px;padding:18px;background:var(--soft);border-radius:13px}.sidebar-note p{font-size:13px;margin:8px 0 0;line-height:1.6}.sidebar-note strong{font-size:14px}.profile-mini{border-top:1px solid var(--line);display:flex;gap:11px;padding:22px 9px 0;align-items:center}.avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:var(--avatar);color:var(--avatar-ink);font-size:14px;font-weight:600}.profile-mini strong{font-size:14px}.profile-mini small{display:block;font-size:12px;margin-top:3px}.workspace{margin-left:240px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:18px;background:var(--panel)}.breadcrumb{font-size:14px;color:var(--muted);display:flex;gap:12px;align-items:center}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-right{display:flex;gap:20px;align-items:center}.date-label{font-size:13px;color:var(--muted)}.icon-btn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.mobile-menu{display:none}.content{max-width:1540px;margin:0 auto;padding:34px 42px 42px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-heading p{font-size:15px;color:var(--muted);margin:0}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.9px;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:11px 16px;font-size:14px;font-weight:600;background:var(--panel);white-space:nowrap}.btn:hover{filter:brightness(.96)}.btn.primary{background:var(--green);color:var(--on-primary);border-color:var(--green)}.btn.soft{background:var(--mint);color:var(--green);border:0}.btn.danger{color:var(--danger);border-color:var(--danger-border)}.btn.sm{padding:8px 12px;font-size:13px}.text-btn{font-size:13px;font-weight:600;color:var(--green);padding:5px 0}.text-btn:hover{text-decoration:underline}.dog-picker{display:flex;align-items:center;gap:9px;padding:8px 12px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.dog-picker .mini-dog{height:34px;width:34px;background:var(--mint);border-radius:8px}.dog-picker select{max-width:170px;border:0;background-color:transparent;font-size:14px;font-weight:600;padding:5px 23px 5px 0}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px}.main-column,.side-column{min-width:0;display:flex;flex-direction:column;gap:24px}.hero{position:relative;display:flex;align-items:center;min-height:218px;padding:29px 30px;background:var(--hero);border:1px solid var(--hero-border);border-radius:17px;overflow:hidden}.hero-content{position:relative;z-index:2;max-width:66%}.hero .eyebrow{color:var(--green);font-size:10px}.hero h2{font-size:27px;line-height:1.25;letter-spacing:-.8px;margin-bottom:12px;color:var(--green)}.hero p{font-size:14px;color:var(--muted);max-width:350px;line-height:1.65;margin-bottom:20px}.hero .btn{padding:10px 14px}.hero-art{position:absolute;right:-5px;bottom:-5px;width:245px;height:225px;transform:rotate(-3deg)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;margin-bottom:18px}.icon-tile{height:34px;width:34px;border-radius:10px;background:var(--mint);color:var(--green);display:grid;place-items:center}.icon-tile.orange{background:var(--accent-soft);color:var(--orange)}.icon-tile.blue{background:var(--blue-soft);color:var(--blue)}.stat-value{font-size:29px;letter-spacing:-1px;font-weight:650}.stat-value span{font-size:14px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:3px}.stat-foot{font-size:12px;color:var(--muted);margin-top:8px}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:23px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.card-heading h2{font-size:17px}.card-heading p{font-size:13px;color:var(--muted);margin:5px 0 0}.chart-legend{font-size:11px;display:flex;align-items:center;gap:5px;color:var(--muted)}.chart-legend i{height:7px;width:7px;background:var(--green);border-radius:50%}.bar-chart{display:flex;height:145px;gap:16px;align-items:flex-end;padding:0 5px}.bar-column{flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;height:100%;gap:9px}.bar-stack{width:100%;height:113px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line)}.bar{position:relative;width:38px;max-width:90%;border-radius:6px 6px 0 0;min-height:3px;background:var(--bar-muted)}.bar.today{background:var(--green)}.bar-column small{font-size:12px}.bar:hover:before{content:attr(data-label);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:var(--green);color:var(--on-primary);border-radius:5px;padding:5px;white-space:nowrap;font-size:11px}.chart-footer{margin-top:21px;border-top:1px solid var(--line);padding-top:16px;font-size:13px;color:var(--muted);display:flex;justify-content:space-between}.chart-footer strong{color:var(--green)}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.training-item{margin:20px 0}.training-item:last-child{margin-bottom:2px}.training-line{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:9px}.training-line small{font-size:12px}.progress{height:6px;background:var(--soft);border-radius:5px;overflow:hidden}.progress>i{display:block;height:100%;background:var(--green);border-radius:5px}.activity-item{display:flex;gap:12px;padding:12px 0}.activity-item+.activity-item{border-top:1px solid var(--line)}.activity-item .icon-tile{width:33px;height:33px;border-radius:9px;flex:none}.activity-item strong{display:block;font-size:13px;font-weight:550;margin-bottom:4px}.activity-item small{font-size:11px}.dog-card{text-align:center;padding:24px}.dog-avatar{height:100px;width:100px;border-radius:50%;background:var(--mint);margin:0 auto 13px;overflow:hidden;border:4px solid var(--panel);box-shadow:0 0 0 1px var(--line)}.dog-avatar svg{width:100%;height:100%;transform:scale(1.2) translateY(8px)}.dog-avatar img{height:100%;width:100%;object-fit:cover}.dog-card h2{font-size:22px}.dog-card .breed{font-size:13px;color:var(--muted);margin:6px 0 13px}.pill{display:inline-flex;align-items:center;border-radius:6px;padding:5px 8px;font-size:11px;background:var(--soft);color:var(--muted)}.pill.demo{background:var(--note);color:var(--note-ink);margin-left:5px}.dog-data{display:flex;justify-content:center;gap:28px;border-top:1px solid var(--line);margin:20px 0 18px;padding-top:18px}.dog-data strong{display:block;font-size:15px;margin-bottom:5px}.dog-data small{font-size:11px}.full{width:100%}.task-row{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0;padding-bottom:0}.check{display:grid;place-items:center;width:20px;height:20px;flex:none;border:1.5px solid var(--muted);border-radius:6px;margin-top:1px;color:var(--on-primary);padding:0}.check.checked{background:var(--green);border-color:var(--green)}.check .icon{width:14px;height:14px}.task-row strong{display:block;font-size:13px;font-weight:550;margin-bottom:5px}.task-row.done strong{text-decoration:line-through;color:var(--muted)}.task-row small{font-size:11px}.task-row .task-delete{margin-left:auto;opacity:0;font-size:12px;color:var(--muted)}.task-row:hover .task-delete,.task-delete:focus{opacity:1}.next-visit{background:var(--note);border:1px solid var(--note-border);border-radius:13px;padding:21px}.next-visit .eyebrow{font-size:10px;color:var(--note-ink);display:flex;gap:8px;align-items:center}.next-visit h3{font-size:15px;line-height:1.45;color:var(--note-ink);margin-bottom:9px}.next-visit p{color:var(--muted);font-size:12px;margin:0}.note-footer{display:flex;gap:7px;align-items:center;justify-content:center;font-size:11px;color:var(--muted);padding:0 15px}.note-footer .icon{width:14px;height:14px}.page-footer{margin-top:32px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.list-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:23px;flex-wrap:wrap}.search{flex:1;min-width:180px;position:relative}.search .icon{position:absolute;left:13px;top:12px;color:var(--muted)}.search input{padding-left:42px!important}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{padding:9px 13px;border-radius:8px;font-size:13px;background:var(--panel);border:1px solid var(--line)}.filter.selected{color:var(--green);background:var(--mint);border-color:var(--green)}.record-list{display:flex;flex-direction:column;gap:13px}.record{display:flex;align-items:center;gap:17px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.record .icon-tile{height:44px;width:44px;border-radius:13px}.record-body{flex:1;min-width:0}.record h3{font-size:15px}.record p{margin:6px 0 0;font-size:13px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.record small{font-size:12px}.record-value{font-size:18px;font-weight:600;text-align:right}.record-actions{display:flex;gap:5px}.record-actions .icon-btn{width:32px;height:32px;border:0}.record-actions .icon{width:16px;height:16px}.empty{text-align:center;padding:50px 20px;color:var(--muted);background:var(--panel);border:1px dashed var(--line);border-radius:14px}.empty .icon{height:35px;width:35px;margin-bottom:15px;color:var(--green)}.empty h3{color:var(--ink);font-size:18px}.empty p{font-size:14px}.empty .btn{margin-top:5px}.command-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.command-card{padding:23px}.command-card .icon-tile{height:46px;width:46px;margin-bottom:20px}.command-card h3{font-size:20px;margin-bottom:20px}.command-card .btn{margin-top:23px}.walk-live{background:var(--hero);color:var(--ink);border-radius:16px;padding:27px;margin-bottom:24px}.walk-live .eyebrow,.walk-live small{color:var(--muted)}.walk-live h2{font-size:27px;margin:14px 0}.walk-metrics{display:flex;gap:40px;margin:25px 0}.walk-metrics strong{font-size:35px;display:block}.walk-live .btn{color:var(--ink)}.walk-live .btn.primary{background:var(--green);border-color:var(--green);color:var(--on-primary)}.route{height:180px;width:100%;background:var(--soft);border-radius:12px}.route polyline{stroke:var(--green);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}.route-caption{font-size:12px;margin:9px 0;color:var(--muted)}.weight-chart{width:100%;height:170px;overflow:visible}.weight-chart text{font:11px 'Segoe UI',sans-serif;fill:var(--muted)}.weight-chart polyline{fill:none;stroke:var(--green);stroke-width:3}.weight-chart circle{fill:var(--green);stroke:var(--panel);stroke-width:3}.health-summary{margin-bottom:24px}.diary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.diary-card p{white-space:pre-line;font-size:14px;color:var(--muted)}.diary-card .mood{font-size:25px}.diary-card .card-heading{margin-bottom:15px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid p{font-size:14px;color:var(--muted)}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.settings-row:last-child{border-bottom:0}.settings-row span small{display:block;margin-top:6px}.settings-row input[type=checkbox]{accent-color:var(--green);width:20px;height:20px}.info{background:var(--mint);padding:15px;border-radius:9px;font-size:13px;line-height:1.65;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:550}.field.wide{grid-column:1/-1}.field small{font-size:12px;font-weight:400}.input,input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font-size:14px;min-height:43px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1adba' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px}textarea{resize:vertical;min-height:90px}input[type=range]{width:100%;accent-color:var(--green)}dialog{border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--ink);padding:28px;width:530px;max-width:calc(100% - 28px);max-height:90dvh;box-shadow:0 30px 100px #080e1660}dialog::backdrop{background:#080e16a6;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.modal-head h2{font-size:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.modal-actions .danger{margin-right:auto}.modal-description{font-size:14px;color:var(--muted)}.clicker{border-radius:50%;background:var(--green);color:var(--on-primary);width:140px;height:140px;margin:10px auto 22px;display:block;font-size:20px;font-weight:600;box-shadow:0 8px 0 var(--clicker-shadow);transition:transform .1s}.clicker:active{transform:translateY(5px);box-shadow:0 3px 0 var(--clicker-shadow)}.clicker-meta{text-align:center;margin-bottom:20px;color:var(--muted);font-size:14px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--green);color:var(--on-primary);border-radius:12px;padding:14px 22px;box-shadow:0 6px 30px #0002;z-index:100;opacity:0;pointer-events:none;transition:.2s;font-size:14px;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.onboarding{max-width:620px;margin:60px auto;text-align:center}.onboarding .hero-art{position:static;margin:auto;width:240px;height:220px}.onboarding h1{font-size:36px}.onboarding p{color:var(--muted)}.onboarding .btn{margin:8px}.dogs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.calendar-date{width:auto!important}.notification-list{display:flex;flex-direction:column;gap:15px}.photo-label{padding:15px;background:var(--soft);border-radius:10px}.storage-error{padding:15px;background:var(--danger-surface);color:var(--danger);border-radius:10px;margin-bottom:20px;font-size:14px}
@media(min-width:1600px){.hero-art{right:25px;width:280px;height:240px}.hero{min-height:235px}.dashboard-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1250px){.sidebar{width:215px;padding:30px 15px}.workspace{margin-left:215px}.content{padding:28px}.topbar{padding:0 28px}.dashboard-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.main-column,.side-column{gap:20px}.hero-art{width:195px;right:-20px}.hero-content{max-width:73%}.hero{padding:25px}.hero h2{font-size:24px}.stats{gap:12px}.stat{padding:16px}.stat-top{font-size:12px}.two-columns{gap:18px}.card{padding:20px}.command-grid,.dogs-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.dashboard-layout{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.side-column .next-visit{grid-column:1/-1}.note-footer{grid-column:1/-1}.hero-art{right:25px;width:235px}.hero-content{max-width:65%}.sidebar-note{display:none}.date-label{display:none}.sidebar{width:200px}.workspace{margin-left:200px}.brand{font-size:22px;padding-left:7px}.brand img{width:33px;height:33px}.nav button{padding:12px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:235px;box-shadow:15px 0 60px #0002}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:66px;padding:0 18px;position:sticky;top:0;z-index:10}.breadcrumb{margin-right:auto;font-size:13px}.breadcrumb>span,.breadcrumb>.icon{display:none}.topbar-right{gap:10px}.topbar-right>.avatar{display:none}.content{padding:24px 17px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.page-heading .btn{padding:10px;font-size:12px}.dog-picker{padding:7px;gap:5px}.dog-picker .mini-dog{display:none}.dog-picker select{font-size:13px;max-width:110px}.hero{padding:24px;min-height:215px}.hero-art{width:190px;right:-20px;bottom:-15px;opacity:.95}.hero-content{max-width:73%}.hero h2{font-size:24px}.hero p{font-size:13px;max-width:210px}.hero .eyebrow{font-size:9px}.stats{gap:9px}.stat{padding:13px 11px}.stat-top{font-size:11px;display:block;position:relative;margin-bottom:15px}.stat-top .icon-tile{display:none}.stat-value{font-size:24px}.stat-value span{font-size:11px}.stat-foot{font-size:10px}.two-columns{grid-template-columns:1fr}.side-column{grid-template-columns:1fr}.side-column .dog-card{display:none}.card{padding:20px}.page-footer{font-size:10px;gap:10px}.command-grid,.dogs-grid,.diary-grid{grid-template-columns:1fr}.record{padding:16px;gap:12px;flex-wrap:wrap}.record .record-body{min-width:55%}.record .record-actions{margin-left:auto}.record-value{font-size:15px}.form-grid{gap:14px}.field{font-size:12px}dialog{padding:22px}.bar-chart{gap:9px}.list-toolbar{gap:10px}.filters{gap:5px}.filter{font-size:12px;padding:8px 10px}.sidebar .brand{padding-bottom:26px}.walk-metrics{gap:25px}.walk-metrics strong{font-size:30px}.walk-live{padding:22px}.chart-footer{font-size:11px}.task-row .task-delete{opacity:1}}
@media print{.sidebar,.topbar,.btn,.record-actions,.page-footer{display:none!important}.workspace{margin:0}.content{padding:0}.card,.record{break-inside:avoid}.dashboard-layout{display:block}body{background:white;color:black}}

/* Keep headings and profile controls readable on compact screens. */
@media(max-width:720px){.page-heading{flex-wrap:wrap}.page-heading>div{flex:1;min-width:200px}.dog-picker{flex-shrink:0}.dog-picker select{min-width:72px}.hero-art{width:145px;height:175px;right:-14px;bottom:-11px}.hero p{max-width:185px}.task-row strong,.activity-item strong{font-size:14px}.task-row small{font-size:12px}.filter{font-size:14px}}
