:root{--forest:#123e35;--forest2:#164e42;--dark:#213d34;--mint:#dff1e8;--mint2:#eaf6ef;--accent:#47856a;--lime:#c6e3aa;--cream:#fbfcf9;--paper:#ffffff;--stroke:#e2e9e3;--muted:#73827f;--ink:#16352f;--danger:#a94a46;--shadow:0 6px 23px #143b2810}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column}.boot-paw{font-size:44px;color:#4f936b}.boot strong{font-size:30px}.boot span{font-size:13px;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:252px;background:var(--forest);color:#f6fff8;flex:0 0 252px;position:sticky;top:0;height:100vh;padding:29px 18px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 12px;margin-bottom:49px}.brand-logo{height:39px;width:39px;border-radius:12px;background:#bfe3c7;color:var(--forest);display:flex;align-items:center;justify-content:center;font-size:27px;line-height:1}.brand-name{font-family:Manrope,system-ui,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1.3px}.side-label{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#8fb3a0;padding:0 14px;margin:0 0 13px}.side-link{border:0;background:none;color:#b5d4c6;text-align:left;width:100%;padding:13px 14px;border-radius:11px;display:flex;align-items:center;gap:12px;margin:2px 0;font-size:13px;font-weight:700}.side-link .ico{font-size:18px;min-width:20px;text-align:center;filter:grayscale(.2)}.side-link.active,.side-link:hover{color:white;background:#2b5b4b}.side-bottom{margin-top:auto;border-top:1px solid #3c6557;padding:22px 9px 0}.side-bottom p{font-size:12px;line-height:1.5;color:#b4d1c2;margin:8px 4px 14px}.side-bottom .small-nav{background:#2b5748;border:1px solid #4d7a66;border-radius:11px;padding:11px;color:white;font-size:12px;font-weight:700;width:100%}.main{width:calc(100% - 252px);padding:0 38px 50px}.topbar{max-width:1220px;margin:auto;display:flex;align-items:center;justify-content:space-between;height:90px;gap:15px}.breadcrumb{font-size:12px;color:var(--muted);font-weight:700}.breadcrumb strong{color:#253e35}.top-right{display:flex;align-items:center;gap:11px}.modepill{font-size:11px;font-weight:800;padding:8px 11px;background:#f6ebd6;color:#91723e;border-radius:99px;white-space:nowrap}.userpill{height:36px;border-radius:20px;background:white;border:1px solid var(--stroke);padding:0 11px 0 5px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800}.avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8cfb0;color:#67442d;font-size:13px}.content{max-width:1220px;margin:auto}.welcome{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:5px 0 25px}.eyebrow{font-size:11px;color:#679481;text-transform:uppercase;letter-spacing:1.8px;font-weight:800;margin:0 0 8px}.welcome h1{font-family:Manrope,system-ui,sans-serif;font-size:29px;line-height:1.2;margin:0;letter-spacing:-1.2px;font-weight:800}.welcome p{margin:8px 0 0;font-size:13px;color:var(--muted)}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:11px;padding:11px 15px;font-weight:800;font-size:12px;white-space:nowrap;transition:background .2s,transform .2s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--forest);color:white}.btn.primary:hover{background:#285949}.btn.light{background:#fff;border-color:var(--stroke);color:var(--ink)}.btn.soft{background:var(--mint2);color:var(--forest2)}.btn.danger{background:#fff1f0;color:var(--danger);border-color:#f1d5d2}.btn.tiny{padding:7px 10px;font-size:11px}.btn.wide{width:100%}.hero{background:linear-gradient(105deg,#d8eddd 0%,#e6f0df 50%,#f3eedb 100%);border-radius:20px;padding:26px 31px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:172px;isolation:isolate}.hero:after{content:'';position:absolute;width:320px;height:320px;border:45px solid #ecf7e7aa;border-radius:50%;right:37px;top:-160px;z-index:-1}.hero h2{font-family:Manrope,system-ui,sans-serif;font-size:20px;max-width:380px;line-height:1.35;letter-spacing:-.7px;margin:0 0 8px}.hero p{color:#637e6d;font-size:12px;max-width:390px;line-height:1.7;margin:0 0 16px}.hero-animals{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding-right:27px}.hero-bubble{background:#fff9;border:1px solid #fff;box-shadow:0 10px 22px #547e6215;width:90px;height:90px;display:grid;place-items:center;border-radius:25px;transform:rotate(-10deg);font-size:54px}.hero-bubble:nth-child(2){transform:translateY(14px) rotate(9deg);width:104px;height:104px;background:#fffbee}.hero-bubble:nth-child(3){transform:rotate(8deg);width:77px;height:77px;font-size:44px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0 28px}.stat{background:var(--paper);border:1px solid var(--stroke);border-radius:14px;box-shadow:var(--shadow);padding:19px 20px;display:flex;justify-content:space-between;align-items:center}.stat small{display:block;color:var(--muted);font-weight:700;font-size:11px}.stat strong{font-family:Manrope,system-ui,sans-serif;font-size:25px;line-height:1.3;display:block;margin-top:5px}.stat-icon{width:42px;height:42px;border-radius:14px;background:#f0f7e9;display:grid;place-items:center;font-size:20px}.stat:nth-child(2) .stat-icon{background:#f6f0df}.stat:nth-child(3) .stat-icon{background:#f0f0f8}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.section-head h2{font-size:16px;margin:0;font-family:Manrope,system-ui,sans-serif;letter-spacing:-.4px}.section-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.textbtn{background:none;border:0;color:#368061;font-size:11px;font-weight:800;padding:8px}.two-col{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(290px,.95fr);gap:20px;align-items:start}.animal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.animal-card{border:1px solid var(--stroke);background:#fff;border-radius:16px;padding:15px;box-shadow:var(--shadow);text-align:left;width:100%;min-height:205px;display:flex;flex-direction:column}.animal-card:hover{border-color:#9ac4a7}.animal-image{height:102px;border-radius:12px;background:linear-gradient(135deg,#e2eddb,#f0e8d9);display:grid;place-items:center;font-size:58px;overflow:hidden}.animal-image img{object-fit:cover;width:100%;height:100%}.animal-card:nth-child(even) .animal-image{background:linear-gradient(135deg,#f4e3db,#f9f0e3)}.animal-name{font-size:14px;font-weight:800;margin-top:11px}.animal-meta{font-size:11px;color:var(--muted);margin-top:3px}.animal-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;gap:8px}.chip{background:#e7f3eb;border:1px solid #d3eada;color:#407559;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}.chip.purple{background:#f0effb;border-color:#e1dff7;color:#7167a7}.card-arrow{font-size:17px;color:#7b9a84}.add-card{border:1.5px dashed #c9d9ce;background:#f7faf5;border-radius:16px;min-height:205px;width:100%;display:grid;place-content:center;text-align:center;gap:9px;color:#557463}.add-icon{font-size:25px;display:grid;place-items:center;margin:auto;width:48px;height:48px;border-radius:50%;background:#e7f2e7}.add-card strong{font-size:12px}.add-card small{font-size:10px;color:#87988e}.panel{border:1px solid var(--stroke);border-radius:16px;background:white;padding:19px;box-shadow:var(--shadow)}.feed-list{display:flex;flex-direction:column;gap:0}.feed-row{display:flex;align-items:start;gap:11px;padding:12px 0;border-bottom:1px solid #edf0eb}.feed-row:first-child{padding-top:4px}.feed-row:last-child{border-bottom:0;padding-bottom:0}.feed-icon{width:37px;height:37px;border-radius:12px;background:#eaf3ed;display:grid;place-items:center;font-size:18px;flex:0 0 37px}.feed-copy{min-width:0;flex:1}.feed-copy strong{font-size:11px;display:block;line-height:1.35}.feed-copy p{font-size:11px;color:var(--muted);line-height:1.5;margin:4px 0}.feed-copy small{font-size:10px;color:#a0aba4}.empty{border-radius:14px;border:1px dashed #cbdccf;background:#f8fbf7;text-align:center;padding:26px 16px;font-size:12px;color:var(--muted);line-height:1.7}.notice{background:#fff9e9;border:1px solid #efe2c5;color:#806a3d;border-radius:12px;padding:11px 13px;font-size:11px;line-height:1.55;margin-bottom:15px}.notice strong{color:#6e5728}.footline{color:#9aaa9c;font-size:10px;text-align:center;padding:36px 10px 0}.seg{background:#e5eee6;padding:3px;display:flex;border-radius:10px;gap:2px}.seg button{flex:1;border:0;border-radius:8px;background:none;color:#5d796d;padding:8px 12px;font-size:11px;font-weight:800}.seg button.selected{background:#fff;color:#234e3c;box-shadow:0 2px 4px #113d241c}.flash{position:fixed;z-index:50;bottom:24px;right:24px;max-width:370px;padding:12px 16px;background:#1e4a38;color:white;border-radius:12px;box-shadow:0 15px 40px #1114;font-size:12px;line-height:1.5}.flash.error{background:#803a34}.detail-wrap{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:19px}.detail-head{display:flex;align-items:center;gap:18px}.detail-picture{flex:0 0 112px;height:112px;border-radius:17px;background:#e9efdf;display:grid;place-items:center;font-size:67px;overflow:hidden}.detail-picture img{width:100%;height:100%;object-fit:cover}.detail-name{font-family:Manrope,system-ui,sans-serif;font-size:27px;letter-spacing:-.8px;margin:0 0 8px}.detail-sub{color:var(--muted);font-size:12px;margin:5px 0}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 4px}.fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fact{background:#fbfcf9;border:1px solid #eaf0e9;border-radius:12px;padding:13px;min-height:84px}.fact span{font-size:10px;display:block;color:#7d9786;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.fact p{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:0;white-space:pre-wrap}.detail-section{margin:23px 0 13px;font-size:14px;font-weight:800}.detail-updates{max-height:450px;overflow:auto}.care-photo{max-width:100%;max-height:150px;object-fit:cover;border-radius:10px;margin-top:8px}.member{padding:13px 0;border-bottom:1px solid #edf0eb;display:flex;align-items:center;justify-content:space-between;gap:9px}.member:last-child{border:0}.member strong{font-size:12px}.member small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.invite-line{font-size:11px;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formfield{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}.formfield label{font-size:11px;font-weight:800;color:#486a57}.formfield input,.formfield textarea,.formfield select{width:100%;border:1px solid #d8e3d9;border-radius:11px;padding:11px 12px;background:#fbfdfb;color:#273f32;font-size:12px;outline-color:#508969}.formfield textarea{min-height:78px;resize:vertical;line-height:1.5}.formfield input[type=file]{font-size:11px}.formhint{font-size:10px;color:#829789;line-height:1.5}.modal-backdrop{position:fixed;inset:0;background:#102c24a8;z-index:40;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(100%,560px);max-height:min(94vh,850px);overflow-y:auto;border-radius:19px;background:white;box-shadow:0 20px 80px #0c1e1b40;padding:25px}.modal.wide{width:min(100%,670px)}.modal-top{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:19px}.modal h2{font-size:19px;letter-spacing:-.4px;margin:0;font-family:Manrope,system-ui,sans-serif}.modal p.subtle{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.55}.modal-x{width:31px;height:31px;border:0;background:#edf4ee;border-radius:9px;color:#365d4a;font-size:18px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:19px}.share-url{background:#f3f8f2;border:1px solid #cbdccf;padding:13px;overflow-wrap:anywhere;font-size:12px;border-radius:10px;line-height:1.7;color:#4a6a56}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fbfaf5}.auth-aside{background:linear-gradient(130deg,#143f33,#31785c);color:#fff;padding:70px clamp(30px,7vw,100px);display:flex;flex-direction:column;justify-content:center}.auth-aside h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(30px,4vw,52px);line-height:1.18;letter-spacing:-2px;max-width:580px}.auth-aside p{color:#d0e9da;line-height:1.7;max-width:490px}.auth-feature{margin-top:18px;display:flex;gap:12px;color:#d5eadc;font-size:13px}.auth-main{padding:38px;display:grid;place-items:center}.auth-card{width:min(100%,390px)}.auth-card .brand{padding:0;margin:0 0 38px;color:var(--forest)}.auth-card h2{font-family:Manrope,system-ui,sans-serif;font-size:25px;margin:0 0 6px}.auth-card>p{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 28px}.auth-actions{margin-top:16px}.auth-switch{margin-top:20px;text-align:center;color:var(--muted);font-size:11px}.auth-switch button{border:0;background:none;color:#398361;font-weight:800}.auth-success{padding:12px;background:#e9f5eb;border-radius:11px;font-size:12px;line-height:1.7;color:#286442}.mobile-top{display:none}.mobile-nav{display:none}
@media(max-width:1100px){.sidebar{width:215px;flex-basis:215px}.main{width:calc(100% - 215px);padding:0 22px 40px}.two-col{grid-template-columns:minmax(0,1fr) minmax(250px,.9fr)}.hero-animals{padding-right:0;gap:8px}.hero-bubble{width:70px;height:70px;font-size:40px}.hero-bubble:nth-child(2){width:90px;height:90px}.hero-bubble:nth-child(3){width:66px;height:66px}}
@media(max-width:760px){.sidebar{display:none}.mobile-top{display:flex;align-items:center;justify-content:space-between;background:var(--forest);color:#fff;padding:16px 18px}.mobile-top .brand{margin:0;padding:0}.mobile-top .brand-logo{width:33px;height:33px;font-size:22px}.mobile-top .brand-name{font-size:20px}.mobile-nav{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;padding:8px 10px max(8px,env(safe-area-inset-bottom));background:#fff;box-shadow:0 -8px 40px #1a45251c;justify-content:space-around;border-top:1px solid var(--stroke)}.mobile-nav button{width:33%;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0;border:0;background:none;color:#78897d;font-weight:700;font-size:10px}.mobile-nav button span{font-size:20px}.mobile-nav button.active{color:#1c5c42}.main{width:100%;padding:0 16px 100px}.topbar{height:48px}.welcome{margin-top:12px;align-items:start}.welcome h1{font-size:24px}.welcome>.btn{font-size:0;width:40px;height:40px;padding:8px}.welcome>.btn .add-plus{font-size:20px}.hero{padding:22px 18px;min-height:162px}.hero h2{font-size:18px;max-width:230px}.hero p{font-size:11px;max-width:235px}.hero-animals{position:absolute;right:-2px;bottom:16px;gap:4px}.hero-bubble{width:56px;height:56px;font-size:29px}.hero-bubble:nth-child(2){width:62px;height:62px;font-size:34px}.hero-bubble:nth-child(3){display:none}.stats{gap:7px;margin:12px 0 24px}.stat{padding:12px 11px;border-radius:12px}.stat strong{font-size:22px}.stat small{font-size:9px}.stat-icon{display:none}.two-col,.detail-wrap{grid-template-columns:1fr}.animal-grid{gap:9px}.animal-card{padding:9px;min-height:190px}.animal-image{height:100px}.panel{padding:16px}.formgrid{grid-template-columns:1fr;gap:0}.modal{padding:20px}.auth-shell{display:block}.auth-aside{padding:32px 24px 26px}.auth-aside h1{font-size:24px;letter-spacing:-.7px}.auth-aside p{font-size:12px}.auth-feature{display:none}.auth-main{display:block;padding:30px 22px}.auth-card{margin:auto}.auth-card .brand{display:none}.footline{padding-bottom:35px}}@media(max-width:370px){.hero-animals{opacity:.3}.hero h2{max-width:100%}.hero p{max-width:100%}.detail-head{gap:10px}.detail-picture{flex-basis:90px;height:90px}.detail-name{font-size:22px}}
/* Main panel is already nested in a flex sibling alongside the sidebar. */
.main{width:100%}

/* v2: QR tags and finder page */
.tag-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.tag-paper{background:#fafdf7;border:1px solid #d6e4d6;border-radius:19px;padding:22px 13px;text-align:center}.tag-mark{font-size:18px;font-weight:900;letter-spacing:-.5px;color:#214e3a}.tag-qr{background:#fff;padding:9px;border-radius:12px;margin:16px auto;display:grid;place-items:center;width:max-content;max-width:100%}.tag-qr svg{max-width:100%;height:auto}.tag-paper>strong{display:block;font-size:19px}.tag-paper>p{font-size:11px;color:#708879}.tag-paper>small{font-size:9px;color:#9aac9f}.tag-controls{display:flex;flex-wrap:wrap;gap:8px}.mini-qr{background:white;border:1px solid #edf0eb;padding:4px;line-height:0}.mini-qr svg{max-width:100%;height:auto}.setting-check{display:flex;gap:12px;padding:12px;border:1px solid #e0e9dd;border-radius:11px;margin-bottom:12px;align-items:center}.setting-check input{height:18px;width:18px;accent-color:#245a42}.setting-check strong{display:block;font-size:12px}.setting-check small{display:block;color:#718b79;font-size:10px;line-height:1.5;margin-top:4px}.finder-report{background:#f1f7ed;padding:10px;margin-top:10px;font-size:11px;border-radius:9px;line-height:1.5;overflow-wrap:anywhere}
.finder-shell{min-height:100vh;background:#f7faf6;padding:0 18px 65px}.finder-header{display:flex;justify-content:space-between;align-items:center;max-width:1050px;margin:auto;padding:23px 0;color:#194b39;font-size:12px}.finder-header span:first-child{font-size:22px;font-weight:900}.found-box{background:white;max-width:480px;margin:30px auto 0;border:1px solid #dce8dc;box-shadow:0 18px 45px #1b432014;border-radius:23px;padding:30px;text-align:center}.found-icon{background:#e7f2e4;width:132px;height:132px;border-radius:25px;display:grid;place-items:center;margin:8px auto 20px;font-size:76px}.lost-pill,.safe-pill{display:inline-block;border-radius:50px;font-size:11px;font-weight:900;letter-spacing:1px;padding:7px 13px;margin-bottom:12px}.lost-pill{color:#933e38;background:#fff0ed}.safe-pill{color:#2d7556;background:#e8f5ea}.found-box h1{font-size:30px;letter-spacing:-1px;margin:8px 0}.found-box>p{font-size:13px;color:#769180}.found-box .btn{margin-top:9px}.found-notice{margin:20px 0;padding:16px;border-radius:12px;background:#f0f7ed;color:#426c53;line-height:1.6;font-size:13px}.found-box .found-privacy{font-size:11px;line-height:1.6;margin-top:21px}.found-back{display:block;margin:25px auto;border:0;background:none;color:#4c8661;font-size:12px;font-weight:800}.finder-explain{font-size:13px;line-height:1.7;color:#617d6a;margin:0 0 18px}
@media(max-width:700px){.tag-grid{grid-template-columns:1fr}.tag-paper{max-width:280px;margin:auto;width:100%}.finder-header span:last-child{font-size:10px}.found-box{padding:24px 18px}}

/* v5: owner-only medical record timeline */
.medical-panel{border:1px solid #d7e9dd;background:linear-gradient(160deg,#ffffff 0%,#fcfefa 100%)}
.medical-head{align-items:center;gap:10px;flex-wrap:wrap}
.medical-head .eyebrow{color:#477e60;margin:0 0 4px;font-size:9px;letter-spacing:1.4px;font-weight:800}
.medical-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 18px}
.medical-stats>div{padding:12px;background:#f2f7f1;border:1px solid #e3ede1;border-radius:12px;min-width:0}
.medical-stats strong{display:block;font-size:21px;line-height:1.3;color:#194b3a}
.medical-stats small{display:block;font-size:10px;line-height:1.5;color:#688273}
.medical-list{display:grid;gap:10px}
.medical-card{display:flex;align-items:start;gap:12px;background:#fff;border:1px solid #e5ece5;border-radius:13px;padding:14px;min-width:0}
.medical-type-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:10px;background:#eef6ed;font-size:18px}
.medical-main{min-width:0;flex:1}
.medical-title{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.medical-title strong{font-size:13px;color:#224637;overflow-wrap:anywhere}
.medical-title span{font-size:9px;font-weight:800;letter-spacing:.2px;border:1px solid #d6e6d8;background:#f5faf5;color:#52745e;border-radius:100px;padding:3px 7px}
.medical-meta{font-size:11px;color:#728777;margin:6px 0;line-height:1.55;overflow-wrap:anywhere}
.medical-notes{font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#344d40;margin:8px 0}
.medical-due{display:inline-block;font-size:10px;border-radius:8px;padding:6px 8px;margin-top:6px;font-weight:800}
.medical-due.future{color:#446c65;background:#eaf5f1}
.medical-due.soon{color:#815a17;background:#fff5d9}
.medical-due.past{color:#a34938;background:#ffede7}
.medical-buttons{display:flex;align-items:start;flex-wrap:wrap;gap:5px;justify-content:end}
.medical-privacy{font-size:10px;line-height:1.65;color:#6d8b79;margin:16px 0 0}
.medical-empty{display:grid;justify-items:center;gap:7px;padding:26px 10px;border:1px dashed #cfe0d2;background:#f9fbf8;border-radius:13px;text-align:center}
.medical-empty span{font-size:27px}
.medical-empty strong{font-size:13px}
.medical-empty p{font-size:11px;color:#738677;margin:0}
.medical-notice{margin:12px 0;font-size:11px}
@media(max-width:700px){.medical-card{flex-wrap:wrap}.medical-buttons{width:100%;justify-content:flex-end;padding-left:49px}.medical-stats{gap:6px}.medical-stats>div{padding:9px}.medical-stats strong{font-size:18px}.medical-head .btn{min-height:36px}}

/* v6: optional vaccination reminder settings */
.reminder-settings{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px;background:#f8fcf7;border:1px solid #d8e9da}
.reminder-content{display:flex;gap:12px;align-items:flex-start;min-width:0}
.reminder-icon{background:#e4f3e6;color:#22563b;border-radius:13px;width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;font-size:21px}
.reminder-content .eyebrow{font-size:9px;font-weight:900;color:#477e60;margin:0 0 4px;letter-spacing:1.2px}
.reminder-content h2{font-size:17px;letter-spacing:-.4px;color:#234a36;margin:0 0 6px}
.reminder-content p{font-size:12px;line-height:1.5;color:#547461;margin:0 0 6px}
.reminder-hint{font-size:10px;line-height:1.5;color:#7c9080;display:block}
.reminder-control{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 74px;font-size:12px;color:#44654d}
.reminder-switch{border:0;border-radius:50px;background:#a8b5ab;width:58px;height:32px;position:relative;cursor:pointer;transition:background .15s}
.reminder-switch span{display:block;background:white;position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;box-shadow:0 1px 5px #0002;transition:left .15s}
.reminder-switch.enabled{background:#286d4e}.reminder-switch.enabled span{left:30px}
.reminder-switch:focus-visible{outline:3px solid #77ab80;outline-offset:3px}.reminder-switch:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.reminder-settings{align-items:flex-start;gap:7px}.reminder-content{gap:8px}.reminder-icon{display:none}.reminder-content h2{font-size:15px}.reminder-control{flex-basis:64px}}

/* v10: QR call preferences */
.phone-setting{margin-top:17px;padding:17px;border:1px solid #dce8df;background:#f5faf5;border-radius:14px}.phone-setting h3{font-size:15px;color:#204d3c;margin:0 0 8px}.phone-setting p{line-height:1.6}.phone-setting .setting-check{margin-top:13px;background:white;border-radius:12px}.phone-setting input[type=tel]{width:100%}

/* v11 private supporting medical documents */
.medical-doc-section{border-top:1px solid #e1eae3;margin-top:18px;padding-top:18px}
.medical-doc-section .section-head{gap:12px;flex-wrap:wrap}
.medical-doc-section h3{font-size:15px;margin:0 0 5px;color:#163d30}
.medical-doc-section .section-head p{font-size:11px;color:#658270;margin:0}
.medical-doc-list{display:grid;gap:10px;margin:12px 0}
.medical-doc-card{display:flex;align-items:center;gap:9px;padding:11px;background:#f7faf6;border:1px solid #e0ece3;border-radius:13px;flex-wrap:wrap}
.medical-doc-icon{font-size:22px}
.medical-doc-title{min-width:120px;flex:1;overflow-wrap:anywhere;display:grid;gap:5px}
.medical-doc-title strong{font-size:12px}
.medical-doc-title small{font-size:10px;color:#577566}
@media (max-width:500px){.medical-doc-card .btn{padding:8px;font-size:11px}}

/* PawPalio v12 — cohesive two-tone brand, dashboard and profile redesign */

body{background:#fdfdfb;color:#16352f}
.pp-shell .sidebar{width:264px;flex-basis:264px;padding:30px 17px 24px;background:linear-gradient(165deg,#123f36 0%,#174e42 65%,#103f35 100%);z-index:5}
.pp-brand{padding:0 6px;margin:0 0 43px;gap:9px;white-space:nowrap}
.pp-brand .brand-logo{height:49px;width:49px;min-width:49px;background:none;color:#b7e5c9;padding:0;display:grid;place-items:center}
.pp-brand .brand-name{font-size:25px;letter-spacing:-1.25px;color:#fff;font-weight:900}
.pp-word-paw{color:#f0c09f}.pp-word-palio{color:#fff}
.pp-menu{display:grid;gap:8px}.pp-shell .side-link{font-size:13px;font-weight:650;min-height:48px;padding:12px 15px;gap:14px;margin:0;border-radius:12px;color:#e2f4eb}
.pp-shell .side-link .pp-icon{flex:0 0 22px}.pp-shell .side-link:hover,.pp-shell .side-link.active{background:#2b6a57;color:white}
.pp-shell .side-bottom{padding:21px 7px 0;border-top:1px solid #4c7567}
.pp-help{display:flex;align-items:center;gap:10px;margin:0 0 18px}.pp-help-mark{height:39px;width:39px;border-radius:50%;background:#2b6956;display:grid;place-items:center;color:#b9e2c9;font-weight:800;font-size:20px}.pp-help strong,.pp-help small{display:block}.pp-help strong{font-size:13px}.pp-help small{font-size:10px;margin-top:5px;color:#b9d2c4}
.pp-shell .side-bottom .small-nav{display:flex;align-items:center;justify-content:space-between;border-radius:13px;background:#215a4a;border-color:#85b39b;padding:12px 14px;font-size:12px}
.pp-shell .main-holder{width:calc(100% - 264px)!important;min-width:0}.pp-shell .main{width:100%;padding:0 clamp(18px,3vw,43px) 40px}.pp-shell .topbar,.pp-shell .content{max-width:1380px}.pp-shell .topbar{height:85px}
.pp-search-trigger{border:1px solid #e4e9e7;color:#758585;background:#fff;display:flex;align-items:center;gap:14px;text-align:left;padding:13px 17px;font-size:12px;border-radius:13px;width:min(480px,55%);box-shadow:0 3px 15px #173a2810;min-height:43px}
.pp-search-trigger:hover{border-color:#97c9ad}.pp-shell .userpill{border:0;background:transparent;font-size:12px;padding:0;gap:10px;color:#203d35}.pp-shell .userpill .avatar{background:#b8ddca;color:#205745;width:37px;height:37px;font-size:13px}
.pp-shell .content{padding-bottom:5px}.pp-welcome-banner{min-height:158px;border-radius:19px;display:flex;align-items:center;justify-content:space-between;padding:26px 33px;margin:0 0 20px;overflow:hidden;position:relative;background:linear-gradient(110deg,#f2f7f0 0%,#e9f4e9 65%,#e1f2e5 100%)}
.pp-welcome-banner:before,.pp-profile-hero:before{content:'';position:absolute;right:5%;top:-220px;width:340px;height:340px;border-radius:50%;border:90px solid #ffffff54;pointer-events:none}.pp-welcome-banner h1{font-size:clamp(23px,2.6vw,37px);letter-spacing:-1.25px;margin:2px 0 10px;line-height:1.12;color:#123c34}.pp-welcome-banner p{font-size:14px;margin:0;color:#526a60}.pp-welcome-banner .pp-kicker{color:#52836b;letter-spacing:2px;font-size:10px;font-weight:800;margin-bottom:7px}.pp-banner-art{display:grid;place-items:center;flex:0 0 160px;color:#75b28c;filter:drop-shadow(0 9px 8px #315c2b18);z-index:1}.pp-banner-art .pp-icon{width:93px;height:93px}
.pp-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:17px}.pp-overview{display:flex;align-items:center;gap:14px;min-width:0;padding:18px 20px;border:1px solid #e3e9e5;background:#fff;border-radius:16px;box-shadow:var(--shadow);text-align:left;color:#163e33}.pp-overview>.pp-icon:last-child{margin-left:auto;color:#628472;flex:none}.pp-overview>span:nth-child(2){display:grid;gap:5px}.pp-overview small{font-size:12px;color:#465c55}.pp-overview strong{font-size:25px;line-height:1.1}.pp-round{background:#e1f4e8;flex:0 0 45px;width:45px;height:45px;border-radius:50%;display:grid;place-items:center;color:#165544}.pp-overview:hover,.pp-pet-card:hover,.pp-quick-grid button:hover,.pp-fact:hover{border-color:#b7d8c0;transform:translateY(-1px)}
.pp-shell .reminder-settings{margin-bottom:23px;background:#fff;box-shadow:none;border-radius:16px;padding:19px 22px}.pp-shell .reminder-icon{background:#e0f3e7;color:#165544;border-radius:50%;width:43px;height:43px;flex-basis:43px}.pp-shell .reminder-content .eyebrow{display:none}.pp-shell .reminder-content h2{font-size:16px}.pp-shell .reminder-content p{font-size:12px;margin-bottom:3px}.pp-shell .reminder-hint{font-size:10px}.pp-shell .reminder-control{flex-direction:row;flex-basis:auto;gap:9px}
.pp-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:19px;align-items:start}.pp-shell .section-head{margin-bottom:15px}.pp-shell .section-head h2{font-size:19px;letter-spacing:-.5px}.pp-shell .section-head p{font-size:11px}.pp-shell .section-head .btn{font-size:11px}
.pp-pet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pp-pet-card{padding:12px;border:1px solid var(--stroke);border-radius:16px;box-shadow:0 7px 23px #244a3410;background:#fff;text-align:left;display:flex;flex-direction:column;min-width:0;min-height:250px;transition:.16s}.pp-pet-image{height:155px;display:grid;place-items:center;font-size:64px;border-radius:12px;background:#e9f0e3;overflow:hidden}.pp-pet-image img,.pp-profile-image img{width:100%;height:100%;object-fit:cover;object-position:center center}.pp-pet-name{font-size:20px;font-weight:900;letter-spacing:-.5px;margin:11px 3px 0}.pp-pet-small{font-size:12px;color:#697e76;margin:4px 3px}.pp-pet-bottom{display:flex;align-items:center;justify-content:space-between;margin:auto 3px 0;padding-top:12px;color:#718779;font-size:11px;gap:6px}
.pp-add-animal{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1.5px dashed #bfd8cd;background:#fdfffd;color:#204b3c;border-radius:16px;padding:20px;text-align:center}.pp-add-animal .pp-round{width:66px;height:66px;background:#edf7ee}.pp-add-animal strong{font-size:15px}.pp-add-animal small{font-size:11px;color:#718575}.pp-add-label{display:flex;align-items:center;gap:6px;border:1px solid #92bca5;border-radius:50px;padding:9px 14px;font-size:11px;font-weight:800}
.pp-updates-panel{background:#fff;border:1px solid var(--stroke);border-radius:16px;padding:17px;min-height:290px}.pp-updates-panel .section-head h2{font-size:18px}.pp-updates-panel .textbtn{display:flex;align-items:center;gap:5px}.pp-updates-inner{background:#f8faf8;border-radius:13px;padding:22px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:235px;gap:12px}.pp-updates-inner strong{font-size:13px}.pp-updates-inner p{font-size:12px;color:#75877c;line-height:1.55;max-width:190px;margin:0}.pp-empty-icon{background:#edf3ef;border-radius:50%;height:54px;width:54px;display:grid;place-items:center;color:#3b7360}.pp-updates-inner .btn{margin-top:8px}.pp-updates-inner .feed-list{width:100%;text-align:left}.pp-updates-inner .feed-row{padding:10px 0}
.pp-quick{margin-top:26px}.pp-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pp-quick-grid button{border:1px solid #e2e9e3;background:#fff;border-radius:14px;display:flex;align-items:center;gap:9px;padding:15px 12px;text-align:left;min-width:0;transition:.16s;color:#184536}.pp-quick-grid button>.pp-icon:first-child{flex:none;padding:8px;background:#e1f4e8;border-radius:50%;width:38px;height:38px}.pp-quick-grid button>.pp-icon:last-child{margin-left:auto;flex:none}.pp-quick-grid span{display:grid;gap:4px;min-width:0}.pp-quick-grid strong{font-size:11px}.pp-quick-grid small{font-size:9px;color:#7e8984}
.pp-back{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#245846;font-size:12px;font-weight:800;margin:0 0 20px;padding:0}.pp-back:hover{text-decoration:underline}.pp-profile-hero{background:linear-gradient(120deg,#f0f6f0,#e9f6e7);border-radius:19px;padding:24px;display:flex;align-items:center;gap:25px;position:relative;overflow:hidden;margin-bottom:20px}.pp-profile-image{height:190px;flex:0 0 250px;overflow:hidden;border-radius:16px;background:#e4f0df;display:grid;place-items:center;font-size:75px;z-index:1}.pp-profile-info{z-index:1;min-width:0;flex:1}.pp-profile-heading{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.pp-profile-info h1{font-size:clamp(30px,3vw,40px);margin:0 0 6px;letter-spacing:-1.3px}.pp-profile-info p{font-size:14px;margin:0 0 20px;color:#5d7467}.pp-profile-actions{display:flex;flex-wrap:wrap;gap:9px}.pp-profile-actions .btn{padding:11px 13px}.pp-hero-paw{position:absolute;right:33px;top:22px;color:#a6d3ac;opacity:.65}.pp-owner-badge{font-size:10px;color:#3c7455;background:#e5f4e7;padding:5px 8px;border-radius:30px;font-weight:700}
.pp-key-panel{border:1px solid var(--stroke);border-radius:17px;padding:20px;background:white;margin-bottom:18px}.pp-key-panel .section-head h2{font-size:21px}.pp-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.pp-fact{grid-column:span 2;display:flex;align-items:center;gap:11px;min-height:81px;padding:11px 12px;border:1px solid var(--stroke);border-radius:13px;background:white;color:var(--ink);text-align:left;min-width:0}.pp-fact:nth-child(4),.pp-fact:nth-child(5){grid-column:span 3}.pp-fact .pp-round{height:41px;width:41px;flex:0 0 41px}.pp-fact-text{display:grid;gap:5px;flex:1;min-width:0}.pp-fact-text strong{font-size:12px}.pp-fact-text small{font-size:11px;color:#7b8984;overflow-wrap:anywhere;white-space:pre-wrap;max-height:70px;overflow:hidden}.pp-fact>.pp-icon:last-child{flex:0 0 16px;color:#2e634f}
.pp-medical-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:16px;align-items:start;margin-bottom:17px;scroll-margin-top:25px}.pp-medical-grid .panel{margin:0;min-width:0}.pp-medical-grid .medical-panel{background:white}.pp-card-title{display:flex;align-items:center;gap:12px;min-width:0}.pp-card-title>svg{flex:none;padding:9px;background:#e1f4e8;color:#154c3f;width:41px;height:41px;border-radius:50%}.pp-card-title .pp-round{height:42px;width:42px;flex:0 0 42px}.pp-card-title h2{margin:0;font-size:16px!important}.pp-card-title p{font-size:11px;line-height:1.5;color:#748678;margin:5px 0 0}.pp-card-title .eyebrow{margin:0 0 5px;font-size:9px}.pp-medical-grid .medical-stats{margin:15px 0;gap:8px}.pp-medical-grid .medical-stats>div{background:#f8f9f8;border:0;padding:11px}.pp-medical-grid .medical-stats strong{font-size:22px}.pp-muted-slot{background:#f8faf9;border-radius:12px;padding:14px 17px;margin:14px 0;display:flex;flex-direction:column;gap:5px}.pp-muted-slot strong{font-size:21px;color:#163c32}.pp-muted-slot small{font-size:11px;color:#75897d}.pp-soft-empty{color:#7a8a80;font-size:12px}.pp-document-panel .medical-privacy{display:flex;align-items:start;gap:6px;font-size:10px;margin-bottom:0}.pp-doc-empty{font-size:11px;color:#75897d}
.pp-lower-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.pp-lower-panel{min-width:0}.pp-lower-panel .member{padding:9px 0}.pp-members{margin-top:12px}.pp-feed-box{max-height:310px;overflow:auto}.pp-quiet-empty{color:#6c8175;background:#f8faf8;border-radius:11px;font-size:12px;padding:20px;margin:10px 0}.pp-lower-panel>.btn{margin-top:11px}.pp-qr-panel{background:#fcfefa}.pp-qr-buttons{display:flex;gap:8px;flex-wrap:wrap}.pp-qr-detail{display:flex;gap:16px;align-items:center}.pp-qr-detail p{font-size:12px;color:#738679;line-height:1.6}.pp-qr-detail .mini-qr{flex:none}.pp-shell .mobile-top{display:none}
/* The same original animal photo appears in both contexts; never swap in an illustration. */
.pp-pet-image img,.pp-profile-image img{object-fit:cover;object-position:50% 50%}
.pp-shell :is(button,input,select,textarea):focus-visible{outline:3px solid #63a88d;outline-offset:2px}
.boot-paw{font-size:38px}
@media(max-width:1100px){.pp-shell .sidebar{width:230px;flex-basis:230px}.pp-shell .main-holder{width:calc(100% - 230px)!important}.pp-dashboard-grid{grid-template-columns:1fr}.pp-overview{padding:14px 12px}.pp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-medical-grid{grid-template-columns:1fr 1fr}.pp-profile-image{flex-basis:210px}.pp-brand .brand-name{font-size:23px}}
@media(max-width:780px){.pp-shell .sidebar{display:none}.pp-shell .main-holder{width:100%!important}.pp-shell .main{padding:0 15px 85px}.pp-shell .mobile-top{display:flex;align-items:center;justify-content:space-between;background:#134237;padding:8px 17px;height:65px}.pp-shell .mobile-top .pp-brand{margin:0}.pp-shell .mobile-top .brand-logo{height:34px;width:34px;min-width:34px}.pp-shell .mobile-top .brand-logo svg{width:28px}.pp-shell .mobile-top .brand-name{font-size:22px}.pp-mobile-account{background:transparent;border:0;color:white}.pp-shell .topbar{height:54px}.pp-search-trigger{width:100%;max-width:100%;font-size:11px;padding:10px 11px}.pp-shell .top-right{margin-left:auto}.pp-shell .userpill{display:none}.pp-shell .mobile-nav{display:flex}.pp-welcome-banner{min-height:140px;padding:19px}.pp-banner-art{flex-basis:75px}.pp-banner-art .pp-icon{width:65px;height:65px}.pp-welcome-banner h1{font-size:24px}.pp-welcome-banner p{font-size:12px}.pp-overview-grid{gap:8px}.pp-overview{padding:12px 8px;gap:8px;flex-direction:column;align-items:flex-start}.pp-overview .pp-round{height:33px;width:33px;flex-basis:33px}.pp-overview .pp-round svg{width:18px}.pp-overview>.pp-icon:last-child{display:none}.pp-overview small{font-size:10px}.pp-overview strong{font-size:21px}.pp-profile-hero{padding:14px;align-items:flex-start;gap:14px}.pp-profile-image{flex:0 0 120px;height:115px}.pp-profile-info h1{font-size:27px}.pp-profile-info p{font-size:11px;margin-bottom:13px}.pp-profile-actions{gap:5px}.pp-profile-actions .btn{font-size:10px;padding:8px}.pp-hero-paw{display:none}.pp-medical-grid{grid-template-columns:1fr}.pp-lower-grid{grid-template-columns:1fr}}
@media(max-width:520px){.pp-shell .content{padding:0}.pp-shell .reminder-settings{padding:14px}.pp-shell .reminder-control{flex-direction:column}.pp-welcome-banner{border-radius:13px}.pp-welcome-banner h1{font-size:22px}.pp-welcome-banner p{font-size:11px;max-width:215px}.pp-banner-art{opacity:.48;flex-basis:40px}.pp-pet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pp-pet-card{min-height:215px;padding:8px}.pp-pet-image{height:103px}.pp-pet-name{font-size:16px}.pp-pet-small,.pp-pet-bottom{font-size:10px}.pp-add-animal{min-height:210px;padding:12px;gap:9px}.pp-add-animal strong{font-size:12px}.pp-add-label{font-size:10px}.pp-quick-grid{gap:8px}.pp-quick-grid button{padding:10px 7px}.pp-quick-grid small{display:none}.pp-quick-grid strong{font-size:10px}.pp-quick-grid button>.pp-icon:first-child{width:31px;height:31px;padding:7px}.pp-profile-hero{display:grid;grid-template-columns:100px 1fr}.pp-profile-image{width:100px;height:101px;flex:auto}.pp-profile-info{min-width:0}.pp-profile-info h1{font-size:24px}.pp-profile-info p{font-size:10px}.pp-profile-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pp-profile-actions .btn{font-size:10px;padding:8px 6px}.pp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-fact,.pp-fact:nth-child(4),.pp-fact:nth-child(5){grid-column:auto;min-height:85px;padding:9px 7px;gap:7px}.pp-fact:first-child,.pp-fact:last-child{grid-column:1/-1}.pp-fact .pp-round{flex-basis:32px;width:32px;height:32px}.pp-fact .pp-round svg{width:18px}.pp-fact-text strong{font-size:11px}.pp-fact-text small{font-size:10px}.pp-medical-grid .section-head,.pp-lower-panel .section-head{align-items:flex-start;flex-wrap:wrap}.pp-card-title{gap:8px}.pp-card-title h2{font-size:15px!important}.pp-profile-hero+.pp-key-panel{margin-top:12px}}

/* A shared 16:10 crop keeps the same animal portrait consistent in the card and profile. */
.pp-pet-image{height:auto;aspect-ratio:16/10}
.pp-profile-image{height:auto;aspect-ratio:16/10;flex:0 0 265px}
@media(max-width:780px){.pp-profile-image{flex-basis:180px}}
@media(max-width:520px){.pp-profile-image{width:110px;flex:auto;aspect-ratio:16/10;height:auto}.pp-pet-image{height:auto;aspect-ratio:16/10}}

/* PawPalio v12.1: portrait photo framing fix.
   Percentage height on the grid image inside an aspect-ratio frame was
   resolving to intrinsic image height, cropping the top of photos.
   Position the image within the frame so object-fit takes effect. */
.pp-pet-image,.pp-profile-image{
  position:relative;
  min-height:0;
  flex-shrink:0;
}
.pp-pet-image img,.pp-profile-image img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  min-width:0;
  min-height:0;
  object-fit:cover;
  object-position:50% 60%;
}


/* PawPalio v12.2 — Owned animals and invited animals have distinct dashboard sections.
   This only changes presentation; Supabase RLS remains the source of permissions. */
.pp-profile-collections{display:flex;flex-direction:column;gap:27px;min-width:0}
.pp-animals-area,.pp-shared-area{min-width:0;scroll-margin-top:20px}
.pp-shared-area{border-top:1px solid #e0eae2;padding-top:22px}
.pp-section-count{display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;vertical-align:middle;min-width:23px;height:23px;border-radius:99px;background:#e4f2e8;color:#275d47;margin-left:7px;font-weight:850}
.pp-shared-count{background:#f2eee6;color:#756044}
.pp-pet-card{position:relative}
.pp-pet-badge{position:absolute;right:19px;top:19px;z-index:2;font-size:10px;font-weight:850;letter-spacing:.1px;padding:6px 9px;border-radius:100px;box-shadow:0 3px 10px #112c2519;pointer-events:none}
.pp-badge-owner{background:#f2fcf4;color:#205a3d}
.pp-badge-shared{background:#ffffffee;color:#6b5542}
.pp-shared-empty{display:flex;align-items:center;gap:12px;padding:19px;border:1px dashed #cad8ce;border-radius:16px;background:#fbfdfb;min-width:0}
.pp-shared-empty>.pp-round{flex:0 0 43px}
.pp-shared-empty>div{flex:1;min-width:0}
.pp-shared-empty strong{font-size:12px}
.pp-shared-empty p{font-size:11px;line-height:1.5;color:#657a6e;margin:5px 0 0}
.pp-shared-empty .btn{white-space:nowrap}
.pp-shared-owner-badge{background:#f5eee1;color:#766044}
@media(max-width:520px){
  .pp-profile-collections{gap:24px}
  .pp-shared-area{padding-top:18px}
  .pp-pet-badge{top:13px;right:13px;font-size:9px;padding:4px 7px}
  .pp-shared-empty{flex-wrap:wrap;padding:14px;gap:9px}
  .pp-shared-empty>.pp-round{flex-basis:36px;height:36px;width:36px}
  .pp-shared-empty .btn{margin-left:46px}
}

/* PawPalio v13: owner-only animal photo galleries */
.pp-gallery-panel{margin:20px 0;padding:22px}.pp-gallery-panel .section-head{gap:12px}.pp-gallery-panel .section-head .pp-card-title{align-items:flex-start}.pp-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:19px}.pp-gallery-thumb,.pp-gallery-addtile{border-radius:13px;aspect-ratio:1/1;overflow:hidden;border:1px solid #d9e5d9;cursor:pointer;padding:0;background:#f1f6f0;display:flex;align-items:center;justify-content:center;color:#678278;font-size:12px;text-align:center}.pp-gallery-thumb:hover,.pp-gallery-addtile:hover{outline:3px solid #c9e7d1;outline-offset:0}.pp-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}.pp-gallery-addtile{flex-direction:column;gap:8px;border-style:dashed;font-weight:750}.pp-gallery-empty{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;background:#f4f8f3;border:1px dashed #cbdccd;border-radius:13px;padding:28px 12px;margin-top:16px;color:#2d6150}.pp-gallery-empty strong{font-size:15px}.pp-gallery-empty p{font-size:12px;color:#72877a;margin:0 0 8px}.pp-gallery-note{font-size:11px;color:#829487;margin:14px 0 0}.pp-gallery-preview{display:grid;place-items:center;background:#f2f6f1;border-radius:14px;min-height:200px;max-height:min(66vh,680px);overflow:hidden}.pp-gallery-preview img{max-width:100%;max-height:min(66vh,680px);object-fit:contain}.pp-gallery-panel .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.pp-gallery-panel{padding:14px}.pp-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pp-gallery-panel .section-head{flex-wrap:wrap}.pp-gallery-panel .section-head h2{font-size:18px}.pp-gallery-panel .pp-card-title{gap:8px}}
@media(max-width:370px){.pp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* PawPalio v15 — beta feedback, safe on desktop and small screens. */
.pp-feedback-side{display:flex;align-items:center;gap:8px;width:100%;margin:0 0 12px;padding:10px 12px;border:1px solid #8bb6a1;background:#205c49;border-radius:12px;text-align:left;color:#f4fff7;font-size:11px;font-weight:800;line-height:1.4}
.pp-feedback-side:hover{background:#2e755b}
.pp-feedback-banner{display:flex;align-items:center;gap:13px;border:1px solid #cbe3d3;background:linear-gradient(100deg,#edf9ee,#f5faf4);border-radius:17px;margin:18px 0;padding:17px 19px}
.pp-feedback-banner>.pp-round{flex:0 0 42px}
.pp-feedback-banner>div{min-width:0;flex:1}
.pp-feedback-banner strong{font-size:14px;color:#184a3b}
.pp-feedback-banner p{font-size:12px;color:#5e786b;line-height:1.5;margin:5px 0 0}
.pp-feedback-banner>.btn{flex:none}
.pp-feedback-intro{display:flex;gap:12px;align-items:center;background:#f1f9f2;padding:13px;border-radius:12px;margin-bottom:18px}
.pp-feedback-intro .pp-round{flex:0 0 42px}
.pp-feedback-intro p{font-size:12px;color:#45695a;margin:0;line-height:1.6}
#feedback-form textarea{min-height:135px}
@media(max-width:780px){.pp-feedback-banner{flex-wrap:wrap}.pp-feedback-banner>.btn{margin-left:55px}.pp-shell .mobile-nav button{width:20%;min-width:0}}
@media(max-width:430px){.pp-feedback-banner{padding:13px}.pp-feedback-banner>.btn{margin-left:0;width:100%}.pp-shell .mobile-nav button{font-size:9px}}

/* PawPalio v15.1 — show fully-loaded pet portraits, never partial scan lines. */
.pp-pet-image,.pp-profile-image{position:relative;overflow:hidden}
.pp-photo-placeholder{display:grid;place-items:center;position:absolute;inset:0;font-size:35px;opacity:.28;pointer-events:none}
.pp-pet-image img.pp-photo-loading,.pp-profile-image img.pp-photo-loading{opacity:0;transition:opacity .16s ease}
.pp-pet-image img.pp-photo-loading.pp-photo-ready,.pp-profile-image img.pp-photo-loading.pp-photo-ready{opacity:1}
/* v16.3: keep gallery and care photos hidden until fully loaded, too. */
.care-photo.pp-photo-loading,.pp-gallery-thumb img.pp-photo-loading,.pp-gallery-preview img.pp-photo-loading{opacity:0;transition:opacity .16s ease}
.care-photo.pp-photo-loading.pp-photo-ready,.pp-gallery-thumb img.pp-photo-loading.pp-photo-ready,.pp-gallery-preview img.pp-photo-loading.pp-photo-ready{opacity:1}
@media(prefers-reduced-motion:reduce){.pp-pet-image img.pp-photo-loading,.pp-profile-image img.pp-photo-loading,.care-photo.pp-photo-loading,.pp-gallery-thumb img.pp-photo-loading,.pp-gallery-preview img.pp-photo-loading{transition:none}}

/* PawPalio v16 — member appearance control and private beta dashboard */
.pp-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #c4d9cd;background:#f1faf2;color:#22563e;border-radius:99px;padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap;min-height:37px}
.pp-theme-toggle:hover{border-color:#6ca98a;background:#e2f5e7}
.pp-theme-toggle:focus-visible,.pp-admin select:focus-visible{outline:3px solid #7fba95;outline-offset:3px}
.pp-shell .mobile-top .pp-theme-toggle{margin-left:auto;margin-right:11px;background:#24594a;border-color:#477b66;color:white;font-size:11px}
.pp-account-email{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.pp-theme-setting{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px;border:1px solid var(--stroke);border-radius:13px;margin:18px 0}
.pp-theme-setting strong,.pp-theme-setting small{display:block}.pp-theme-setting strong{font-size:13px}.pp-theme-setting small{font-size:11px;color:var(--muted);margin-top:3px}
.pp-admin{max-width:1300px;margin:0 auto}
.pp-admin-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:27px;background:linear-gradient(110deg,#eef8ed,#e1f2e8);border-radius:20px}
.pp-admin-head .pp-kicker{font-size:10px;font-weight:900;letter-spacing:1.7px;color:#3c856b;margin:0 0 6px}
.pp-admin-head h1{font-size:clamp(26px,3vw,37px);margin:0 0 7px;letter-spacing:-1px}
.pp-admin-head p{font-size:12px;color:#607c6c;line-height:1.5;margin:0;max-width:560px}
.pp-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}
.pp-admin-stat{border:1px solid var(--stroke);background:#fff;border-radius:15px;padding:21px;box-shadow:var(--shadow)}
.pp-admin-stat small,.pp-admin-stat strong{display:block}.pp-admin-stat small{color:#668475;font-size:12px;font-weight:700}.pp-admin-stat strong{color:#1a493b;font-size:30px;margin-top:10px;line-height:1.1}
.pp-admin-list{border:1px solid var(--stroke);background:#fff;border-radius:17px;padding:23px}
.pp-admin-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.pp-admin-list-head h2{margin:0 0 6px;font-size:20px}.pp-admin-list-head p{margin:0;color:#6d8475;font-size:12px}
.pp-admin-list-head label,.pp-admin-report-bottom label{font-size:11px;font-weight:800;color:#546f5e;display:flex;align-items:center;gap:8px}
.pp-admin select{background:#fff;color:#264e3b;border:1px solid #cbded0;border-radius:9px;padding:8px 24px 8px 9px;font-size:12px;max-width:100%}
#admin-reports{display:grid;gap:12px}
.pp-admin-report{background:#fbfdfb;border:1px solid #dfeae1;border-radius:14px;padding:16px;min-width:0}
.pp-admin-report[hidden]{display:none}
.pp-admin-report-top,.pp-admin-report-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.pp-admin-kind{color:#285d48;background:#e2f4e9;border-radius:99px;font-size:10px;font-weight:800;padding:6px 9px}
.pp-admin-report-top small,.pp-admin-report-bottom small{font-size:11px;color:#708476}
.pp-admin-report h3{font-size:16px;line-height:1.4;margin:11px 0 6px;color:#174b36;overflow-wrap:anywhere}
.pp-admin-report p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#365b45;margin:0 0 17px}
.pp-admin-empty{padding:32px;text-align:center;font-size:12px;color:#68806f}
@media(max-width:940px){.pp-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.pp-theme-toggle span{display:none}.pp-theme-setting .pp-theme-toggle span{display:inline}.pp-admin-head{padding:18px;flex-direction:column;align-items:stretch}.pp-admin-stats{gap:8px}.pp-admin-stat{padding:14px}.pp-admin-stat small{font-size:10px}.pp-admin-stat strong{font-size:25px}.pp-admin-list{padding:13px}.pp-admin-report{padding:12px}.pp-admin-list-head label{width:100%;justify-content:space-between}}

/* Explicit opt-in dark palette; never filters/changes uploaded animal photographs. */
html[data-theme="dark"]{color-scheme:dark;--cream:#101c19;--paper:#1c2b25;--stroke:#344d42;--muted:#b6cec0;--ink:#edf6ee;--forest:#235641;--forest2:#a1d9b9;--mint:#263b32;--mint2:#2a4938;--shadow:0 7px 22px #0004}
html[data-theme="dark"] body,html[data-theme="dark"] .shell,html[data-theme="dark"] .main,html[data-theme="dark"] .main-holder{background:#101c19;color:#eaf6ee}
html[data-theme="dark"] .pp-shell .sidebar{background:linear-gradient(160deg,#102a24,#16362d 80%,#10251f);border-right:1px solid #284b3a}
html[data-theme="dark"] .pp-shell .mobile-top{background:#112f28}
html[data-theme="dark"] .pp-shell .pp-brand .brand-name{color:#fff}
html[data-theme="dark"] .pp-word-paw{color:#f0c7ad}
html[data-theme="dark"] .pp-word-palio{color:#fff}
html[data-theme="dark"] :is(.pp-search-trigger,.pp-pet-card,.pp-overview,.pp-updates-panel,.pp-add-animal,.pp-shared-empty,.pp-feedback-banner,.pp-key-panel,.pp-fact,.pp-quick-grid button,.panel,.medical-card,.pp-lower-panel,.pp-gallery-panel,.pp-gallery-thumb,.pp-gallery-addtile,.pp-muted-slot,.medical-doc-card,.medical-stats>div,.pp-gallery-empty,.pp-updates-inner,.pp-quiet-empty,.empty,.pp-profile-hero,.pp-welcome-banner,.pp-theme-setting,.phone-setting,.pp-feedback-intro,.setting-check,.member,.notice,.pp-admin-stat,.pp-admin-list,.pp-admin-report,.pp-admin-head,.tag-paper,.tag-mark,.share-url){background:#1b2f28!important;border-color:#355346!important;color:#edf6ee!important;box-shadow:0 5px 15px #0002}
html[data-theme="dark"] :is(.pp-profile-hero,.pp-welcome-banner,.pp-admin-head){background:linear-gradient(110deg,#234437,#173229)!important}
html[data-theme="dark"] :is(.pp-round,.pp-empty-icon,.pp-add-animal .pp-round,.pp-gallery-addtile,.pp-quick-grid button>.pp-icon:first-child,.feed-icon,.medical-type-icon,.stat-icon,.reminder-icon,.pp-muted-slot,.pp-pet-image,.pp-profile-image){background:#2b4a3a!important;color:#b1e0c4!important}
html[data-theme="dark"] :is(.pp-shell .section-head h2,.pp-welcome-banner h1,.pp-profile-info h1,.pp-pet-name,.pp-overview strong,.pp-fact-text strong,.pp-card-title h2,.pp-feedback-banner strong,.pp-admin-report h3,.pp-admin-stat strong,.pp-admin-head h1,.medical-title strong,.pp-muted-slot strong,.pp-shell .userpill,.auth-card h2,.modal h2,.section-head h2,.medical-stats strong,.pp-gallery-empty strong,.pp-admin-list h2){color:#f0f8f1!important}
html[data-theme="dark"] :is(.pp-welcome-banner p,.pp-admin-head p,.pp-overview small,.pp-pet-small,.pp-pet-bottom,.pp-feedback-banner p,.pp-admin-report p,.pp-admin-report-top small,.pp-admin-report-bottom small,.pp-admin-list-head p,.pp-admin-stat small,.pp-shell .section-head p,.pp-profile-info p,.pp-fact-text small,.reminder-hint,.pp-card-title p,.pp-gallery-note,.pp-muted-slot small,.pp-lower-panel p,.pp-quiet-empty,.pp-search-trigger,.pp-shared-empty p,.pp-admin-report-bottom label,.pp-admin-list-head label,.pp-account-email,.formhint,.subtle,.setting-check small,.phone-setting p,.pp-feedback-intro p){color:#bdcfbf!important}
html[data-theme="dark"] :is(.btn.light,.btn.soft,.pp-theme-toggle,.pp-admin select,.pp-shell .userpill,.pp-shell .topbar input,.modal input,.modal select,.modal textarea,.auth-card input,.auth-card textarea,.auth-card select,.formfield input,.formfield select,.formfield textarea,.share-url){background:#253f33!important;color:#eff9f1!important;border-color:#416551!important}
html[data-theme="dark"] :is(.btn.primary,.pp-feedback-side){background:#357b58!important;color:#fff!important;border-color:#469367!important}
html[data-theme="dark"] .btn.danger{background:#4a2628;color:#ffcdcb;border-color:#784345}
html[data-theme="dark"] :is(.modal,.modal-backdrop .modal,.auth-card,.auth-main){background:#172922;color:#eaf6ee}
html[data-theme="dark"] .auth-shell{background:#11211c}
html[data-theme="dark"] .auth-aside{background:linear-gradient(140deg,#0d3028,#174535)}
html[data-theme="dark"] :is(.topbar,.mobile-nav){background:#101c19;border-color:#365745;color:#eaf6ee}
html[data-theme="dark"] .pp-shell .mobile-nav button{background:#172920;color:#d6e9d9}
html[data-theme="dark"] .pp-shell .mobile-nav button.active{color:#b5f0cb}
html[data-theme="dark"] .pp-shared-area{border-color:#345647}
html[data-theme="dark"] .pp-pet-badge,.pp-admin-kind{background:#315440!important;color:#d5f4dd!important}
html[data-theme="dark"] .pp-owner-badge{color:#c7e9d1;background:#315540}
html[data-theme="dark"] .pp-theme-toggle{color:#daf4dc!important}
html[data-theme="dark"] .tag-qr,html[data-theme="dark"] .mini-qr{background:#fff!important}
html[data-theme="dark"] .notice{color:#f3dcb3!important}
html[data-theme="dark"] :is(.modal input,.modal textarea,.modal select,.auth-card input,.pp-admin select)::placeholder{color:#a9bbad;opacity:1}
html[data-theme="dark"] :is(.pp-admin-report,.pp-fact,.pp-pet-card,.pp-overview,.pp-gallery-thumb):hover{border-color:#70ad82!important}
/* Dark theme legibility refinements */
html[data-theme="dark"] .pp-shell .reminder-content h2{color:#e2f5e8!important}
html[data-theme="dark"] .pp-shell .reminder-content p{color:#bbd2c3!important}
html[data-theme="dark"] .pp-shell .reminder-control strong{color:#d6efdf!important}
html[data-theme="dark"] .pp-welcome-banner:before,html[data-theme="dark"] .pp-profile-hero:before{border-color:#ffffff0d}
html[data-theme="dark"] .pp-shell .pp-help small{color:#c4d6c8}
html[data-theme="dark"] :is(.modal .formfield label,.auth-card .formfield label,.setting-check strong,.phone-setting h3,.medical-stats strong,.pp-quick-grid strong){color:#e3f4e6!important}
@media(max-width:780px){.pp-shell .topbar .pp-theme-toggle{display:none}}

/* v16.1 connection-friendly recovery screen */
.boot-error{padding:24px;text-align:center;min-height:100vh;height:auto}
.boot-error p{max-width:380px;line-height:1.6;font-size:14px;color:var(--muted)}
.boot-error .boot-help{font-size:12px;opacity:.85}


/* PawPalio v16.4 — owner onboarding and functional in-app search */
.pp-start-guide{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:16px 0;padding:20px 22px;border-radius:16px;background:linear-gradient(120deg,#eef8f0,#e7f5ee);border:1px solid #c8e1d2;color:#1a4533}
.pp-start-guide h2{font-size:20px;line-height:1.25;margin:5px 0 7px;color:#163e2e}
.pp-start-guide p:not(.eyebrow){margin:0;line-height:1.55;font-size:13px;max-width:520px;color:#527366}
.pp-start-guide .eyebrow{font-size:10px;font-weight:800;letter-spacing:.11em;color:#276f52;margin:0}
.pp-setup-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pp-setup-done{font-size:12px;font-weight:650;color:#2d7556;padding:8px}
.pp-search-dialog>label{display:block;font-weight:700;margin-bottom:9px;color:#244b3a}
.pp-search-dialog input[type=search]{width:100%;box-sizing:border-box;border:1px solid #aacabd;border-radius:12px;padding:13px 15px;font:inherit;background:#fff;color:#1b3729}
.pp-search-dialog input[type=search]:focus{outline:3px solid #8bd3aa;outline-offset:1px}
.pp-search-results{max-height:min(54vh,490px);overflow-y:auto;margin:12px 0;scrollbar-width:thin}
.pp-search-empty{padding:24px 12px;text-align:center;color:#617b6d;font-size:13px;line-height:1.6}
.pp-search-category{margin:15px 0 6px;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#547665}
.pp-search-result{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:#f8fcf9;border:1px solid #dce9df;border-radius:11px;padding:11px;margin-bottom:7px;cursor:pointer;color:#244634}
.pp-search-result:hover,.pp-search-result:focus-visible{border-color:#78ba91;background:#eef9f1;outline-offset:2px}
.pp-search-result>span:first-child{font-size:25px;width:32px;flex-shrink:0;text-align:center}
.pp-search-result>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.pp-search-result strong{display:block;font-size:14px}
.pp-search-result small{display:block;margin-top:3px;color:#617b6d;font-size:12px}
html[data-theme="dark"] .pp-start-guide{background:linear-gradient(110deg,#234437,#173229);border-color:#355346;color:#e5f5ea}
html[data-theme="dark"] .pp-start-guide :is(h2,p,.eyebrow),html[data-theme="dark"] .pp-search-dialog>label{color:#e5f5ea}
html[data-theme="dark"] .pp-search-dialog input[type=search],html[data-theme="dark"] .pp-search-result{background:#1b2f28;border-color:#355346;color:#edf6ee}
html[data-theme="dark"] .pp-search-result small,html[data-theme="dark"] .pp-search-category,html[data-theme="dark"] .pp-search-empty{color:#bdcfbf}
@media(max-width:600px){.pp-start-guide{align-items:stretch;padding:15px;gap:12px}.pp-start-guide h2{font-size:17px}.pp-start-guide>.btn{width:100%}.pp-setup-actions{width:100%;flex-direction:column;align-items:stretch}.pp-setup-actions .btn{width:100%}}

/* PawPalio v16.5 — compact upcoming-care rail, dismissible guidance, desktop refinement */
.pp-dashboard-rail{display:grid;align-content:start;gap:16px;min-width:0}
.pp-upcoming-panel{background:#fff;border:1px solid var(--stroke);border-radius:16px;padding:18px;min-width:0;box-shadow:0 6px 22px #1e482c0b}
.pp-upcoming-panel .section-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
.pp-upcoming-panel .section-head h2{display:flex;align-items:center;gap:8px;line-height:1.25}
.pp-upcoming-panel .textbtn{font-size:11px;white-space:nowrap}
.pp-upcoming-list{display:grid;gap:8px}
.pp-upcoming-item{width:100%;display:flex;align-items:center;text-align:left;gap:9px;min-width:0;background:#f8faf8;border:1px solid #e3ede6;border-radius:12px;padding:11px 10px;color:#244734;cursor:pointer}
.pp-upcoming-item:hover,.pp-upcoming-item:focus-visible{border-color:#87c09e;background:#eef8f1}
.pp-upcoming-symbol{font-size:22px;flex:0 0 27px;text-align:center}
.pp-upcoming-copy{display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}
.pp-upcoming-copy strong{font-size:12px;line-height:1.3}
.pp-upcoming-copy small{font-size:10px;color:#62796b}
.pp-due-pill{font-size:10px;line-height:1.3;font-weight:750;background:#e0f3e8;color:#1b6848;padding:6px 8px;border-radius:999px;text-align:center;white-space:nowrap;flex:none}
.pp-due-pill.soon{background:#fff0d6;color:#814e10}
.pp-due-pill.overdue{background:#ffe8e6;color:#9b312e}
.pp-upcoming-empty{font-size:12px;color:#637d6a;line-height:1.6;border:1px dashed #c9dece;border-radius:12px;padding:14px}
.pp-dismiss-setup{border:0;background:transparent;color:#376f57;font-size:12px;font-weight:750;cursor:pointer;padding:9px;border-radius:9px;white-space:nowrap}
.pp-dismiss-setup:hover{text-decoration:underline}
.pp-setup-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0;padding:13px 0;border-top:1px solid var(--stroke)}
.pp-setup-setting strong,.pp-setup-setting small{display:block}
.pp-setup-setting strong{font-size:13px}
.pp-setup-setting small{font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}
.pp-medical-highlight{outline:3px solid #7dca98;outline-offset:2px}
html[data-theme="dark"] .pp-upcoming-panel{background:#1b2f28;color:#edf6ee;border-color:#355346}
html[data-theme="dark"] .pp-upcoming-item{background:#263b32;color:#edf6ee;border-color:#355346}
html[data-theme="dark"] .pp-upcoming-copy small,html[data-theme="dark"] .pp-upcoming-empty{color:#c1d2c6}
html[data-theme="dark"] .pp-upcoming-empty{border-color:#43614b}
html[data-theme="dark"] .pp-due-pill{background:#2b563f;color:#cdf0d4}
html[data-theme="dark"] .pp-due-pill.soon{background:#594323;color:#ffe2a8}
html[data-theme="dark"] .pp-due-pill.overdue{background:#5b2b2d;color:#ffd4cf}
html[data-theme="dark"] .pp-dismiss-setup{color:#c0e5cd}
@media(min-width:1101px){
 .pp-shell .topbar{height:76px}
 .pp-welcome-banner{min-height:142px;padding:23px 30px}
 .pp-shell .section-head h2{font-size:20px}
 .pp-shell .section-head p{font-size:12px}
 .pp-dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);gap:22px}
 .pp-pet-image{height:168px}
 .pp-shell .pp-updates-panel{min-width:0}
}
@media(max-width:600px){.pp-upcoming-panel{padding:14px}.pp-due-pill{font-size:9px;padding:6px}.pp-setup-setting{align-items:flex-start}.pp-start-guide{position:relative}.pp-start-guide>.pp-dismiss-setup{margin-left:auto}}


/* PawPalio v16.6 — profile wayfinding and helpful empty states; mobile layout preserved */
.pp-profile-jumps{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;margin:2px 0 17px;padding:3px 2px 10px}
.pp-profile-jumps button{display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 auto;background:var(--card,#fff);color:var(--ink);border:1px solid var(--stroke);border-radius:999px;padding:10px 13px;font:inherit;font-weight:750;font-size:12px;cursor:pointer;min-height:41px}
.pp-profile-jumps button:hover,.pp-profile-jumps button:focus-visible{border-color:#75b78e;outline-offset:2px}
.pp-profile-jumps svg{flex:none}
.pp-profile-jumps~section, #medical-section, #pp-gallery, #pp-access, #pp-updates{scroll-margin-top:22px}
.pp-care-setup-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:11px 13px;background:#edf8f0;border:1px solid #d0e7d5;border-radius:12px;color:#245842;font-size:12px}
.pp-care-setup-note .btn{flex:none}
.pp-tag-state{display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;background:#edf1ef;color:#596e62}
.pp-tag-state.active{background:#e4f4e8;color:#24734c}
.pp-qr-panel{margin:4px 0 18px!important}
.pp-gallery-panel{margin:0 0 18px!important}
.pp-gallery-empty{padding:19px 15px!important;min-height:0!important}
.pp-gallery-empty>svg{width:25px;height:25px}
.pp-gallery-empty p{margin:3px 0 8px}
html[data-theme="dark"] .pp-profile-jumps button{background:#1b2f28;color:#edf6ee;border-color:#355346}
html[data-theme="dark"] .pp-care-setup-note{background:#213e30;color:#d7eede;border-color:#416149}
html[data-theme="dark"] .pp-tag-state{background:#3a433e;color:#d4dfd7}
html[data-theme="dark"] .pp-tag-state.active{background:#234d39;color:#d5f4dc}
@media(max-width:600px){.pp-profile-jumps{margin:0 0 13px;gap:6px}.pp-profile-jumps button{font-size:11px;padding:8px 10px;min-height:38px}.pp-care-setup-note{flex-direction:column;align-items:flex-start}.pp-care-setup-note .btn{width:100%}}

/* PawPalio v16.7 — current-day care logging, shared with existing care circle */
.pp-today-panel{margin:0 0 18px!important;padding:18px}
.pp-today-panel .section-head{align-items:center;gap:10px}
.pp-today-date{font-size:11px;font-weight:800;background:#edf7ef;color:#35704f;border-radius:999px;padding:8px 11px;white-space:nowrap}
.pp-care-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}
.pp-care-action{position:relative;display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;background:#f5fbf6;color:var(--ink);border:1px solid #d3e7da;border-radius:12px;padding:13px 14px;cursor:pointer;min-height:100px}
.pp-care-action:hover,.pp-care-action:focus-visible{border-color:#75b98b;background:#eaf7ee;outline-offset:2px}
.pp-care-action-icon{font-size:21px;line-height:1.2}
.pp-care-action strong{font-size:13px;line-height:1.2}
.pp-care-action small{color:var(--muted);font-size:11px}
.pp-care-action-plus{position:absolute;top:9px;right:11px;border-radius:50%;background:#d6eddb;color:#276b47;width:22px;height:22px;text-align:center;font-size:17px;font-weight:800;line-height:22px}
.pp-today-history{border-top:1px solid var(--stroke);padding-top:12px}
.pp-today-history-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pp-today-history-head strong{font-size:13px}.pp-today-history-head small{font-size:11px;color:var(--muted)}
.pp-today-list{list-style:none;padding:0;margin:11px 0 0;display:grid;gap:8px}
.pp-today-list li{display:flex;gap:9px;align-items:flex-start;border-radius:10px;background:#f6faf7;padding:10px;font-size:13px;min-width:0}
.pp-today-list li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.pp-today-list li small,.pp-today-list li p{color:var(--muted);font-size:11px}
.pp-today-list li p{margin:4px 0 0;line-height:1.45;white-space:pre-wrap}
.pp-today-list time{font-size:11px;white-space:nowrap;color:var(--muted)}
.pp-today-empty{font-size:12px;color:var(--muted);line-height:1.6;margin:9px 0}
.pp-care-disclaimer{font-size:10px;color:var(--muted);line-height:1.5;margin:11px 0 0}
html[data-theme="dark"] .pp-care-action,html[data-theme="dark"] .pp-today-list li{background:#233a2e;color:#edf6ee;border-color:#385746}
html[data-theme="dark"] .pp-care-action:hover{background:#2a4737}
html[data-theme="dark"] .pp-care-action-plus,html[data-theme="dark"] .pp-today-date{background:#355e46;color:#d4f6dc}
@media(max-width:780px){.pp-care-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-care-action{min-height:86px}}
@media(max-width:400px){.pp-today-panel{padding:13px}.pp-care-action{padding:11px;min-height:88px}.pp-today-list time{font-size:10px}}


/* v16.9: shared care checklist + non-sensitive friend invitations */
.pp-schedule-panel{margin:0 0 18px!important;padding:18px}
.pp-schedule-panel .section-head{align-items:center;gap:12px}
.pp-schedule-summary{display:flex;align-items:center;gap:12px;background:var(--surface,#edf8ef);border:1px solid var(--stroke);border-radius:11px;padding:10px 14px;margin:12px 0}
.pp-schedule-summary strong{font-size:20px}.pp-schedule-summary span{font-size:12px;font-weight:750}.pp-schedule-summary small{font-size:11px;color:var(--muted);margin-left:auto}
.pp-schedule-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;padding:13px 3px;align-items:start;border-bottom:1px solid var(--stroke)}
.pp-schedule-time{font-weight:850;font-size:14px;color:var(--ink);padding-top:2px}
.pp-schedule-copy strong{font-size:13px}.pp-schedule-copy p{font-size:12px;color:var(--muted);margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.pp-schedule-copy small{color:var(--muted);font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.pp-schedule-type{display:inline-block;font-size:10px;color:var(--muted);border-radius:20px;border:1px solid var(--stroke);padding:3px 6px;margin-left:4px}
.pp-schedule-controls{display:flex;gap:5px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.pp-schedule-controls .btn{white-space:nowrap}
.pp-schedule-overdue .pp-schedule-time{color:#b74832}.pp-schedule-done{font-size:12px;color:#278351;font-weight:850}
.pp-schedule-missed{margin:13px 0;padding:10px 13px;background:#fff2e9;color:#7d3b1b;border-radius:9px;border:1px solid #f6d0b7;font-size:12px}
.pp-schedule-missed summary{cursor:pointer;font-weight:800}.pp-schedule-missed ul{margin:10px 0 5px;padding-left:17px}.pp-schedule-missed li{margin-bottom:4px}.pp-schedule-missed p{font-size:11px}
.pp-schedule-paused{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;border:1px dashed var(--stroke);border-radius:9px;padding:9px 12px;font-size:12px;color:var(--muted)}
.pp-schedule-empty{padding:15px 9px;display:grid;gap:7px;justify-items:start}.pp-schedule-empty strong{font-size:13px}.pp-schedule-empty p{font-size:12px;color:var(--muted)}
.pp-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:8px 0 4px}.pp-daycheck{position:relative}.pp-daycheck input{position:absolute;opacity:0;inset:0}.pp-daycheck span{display:block;text-align:center;padding:9px 3px;border:1px solid var(--stroke);border-radius:9px;font-size:11px;cursor:pointer}.pp-daycheck input:checked+span{background:#28835f;color:white;border-color:#28835f}.pp-daycheck input:focus-visible+span{outline:3px solid #87bffa}
.pp-active-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;margin:15px 0}
.pp-referral-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(115deg,#1e573f,#317a60);color:white;border-radius:13px;padding:17px 21px;margin:16px 0}
.pp-referral-banner strong{font-size:15px}.pp-referral-banner p{font-size:12px;color:#e4f4e9;margin:5px 0 0}.pp-referral-banner .btn{flex:none}
.pp-friend-invite p{font-size:13px;line-height:1.65}.pp-friend-invite .share-url{margin:13px 0;padding:13px;overflow-wrap:anywhere}
html[data-theme="dark"] .pp-schedule-row,html[data-theme="dark"] .pp-schedule-panel{color:#edf6ee}
html[data-theme="dark"] .pp-schedule-summary{background:#243e31;border-color:#45644f}
html[data-theme="dark"] .pp-schedule-missed{background:#533a2a;color:#ffd7c1;border-color:#805136}
html[data-theme="dark"] .pp-daycheck input:checked+span{background:#3f986f;color:white}
@media(max-width:720px){.pp-schedule-row{grid-template-columns:63px minmax(0,1fr);gap:8px}.pp-schedule-controls{grid-column:2;justify-content:flex-start}.pp-schedule-panel{padding:14px}.pp-referral-banner{flex-direction:column;align-items:stretch}.pp-referral-banner .btn{width:100%}}
@media(max-width:420px){.pp-weekdays{gap:2px}.pp-daycheck span{font-size:10px;padding:8px 1px}.pp-schedule-summary{gap:6px}.pp-schedule-summary span{font-size:11px}}

/* v16.9 — compact responsive weekly care plan */
.pp-week-panel{margin:0 0 18px!important;padding:18px}
.pp-week-nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.pp-week-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;background:var(--surface,#f0f8f2);border:1px solid var(--stroke);padding:12px;border-radius:10px;margin:12px 0 11px}
.pp-week-meta strong{font-size:13px}.pp-week-meta span{font-size:12px;color:var(--muted)}
.pp-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.pp-week-day{display:grid;gap:3px;justify-items:center;min-width:0;border:1px solid var(--stroke);border-radius:10px;padding:10px 3px;color:var(--ink);background:var(--card,#fff);cursor:pointer;font-family:inherit}
.pp-week-day span{font-size:11px;color:var(--muted)}.pp-week-day strong{font-size:16px}.pp-week-day small{font-size:10px;color:var(--muted);text-align:center}
.pp-week-day:hover{border-color:#6bae8e}.pp-week-day.today{box-shadow:inset 0 0 0 1px #86bba1}.pp-week-day.selected{background:#e2f5e8;border-color:#2c9068;color:#174632}.pp-week-day.selected span,.pp-week-day.selected small{color:#285a41}.pp-week-day:focus-visible{outline:3px solid #89bbf4;outline-offset:2px}
.pp-week-selected{margin-top:12px;border:1px solid var(--stroke);border-radius:10px;padding:0 14px}.pp-week-selected-head{padding:13px 0;display:flex;justify-content:space-between;gap:8px;align-items:center}.pp-week-selected-head strong{font-size:14px}.pp-week-selected-head small{color:var(--muted)}
.pp-week-task{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:12px;align-items:start;border-top:1px solid var(--stroke);padding:13px 0}
.pp-week-task-time{font-size:13px;font-weight:800;color:var(--ink)}.pp-week-task-copy{min-width:0;overflow-wrap:anywhere}.pp-week-task-copy strong{font-size:13px}.pp-week-task-copy small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.pp-week-task-copy p{font-size:12px;color:var(--muted);margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.pp-week-task-copy .pp-week-byline{font-weight:650}.pp-week-note{display:block;margin-top:4px;white-space:pre-wrap}.pp-week-task-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.pp-week-task-actions .btn{white-space:nowrap}
html[data-theme="dark"] .pp-week-meta{background:#233e30}html[data-theme="dark"] .pp-week-day.selected{background:#255a40;color:#f1f8f3;border-color:#83c5a1}html[data-theme="dark"] .pp-week-day.selected span,html[data-theme="dark"] .pp-week-day.selected small{color:#dcf3e2}
@media(max-width:850px){.pp-week-task{grid-template-columns:50px minmax(0,1fr)}.pp-week-task-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:600px){.pp-week-panel{padding:13px}.pp-week-meta{flex-wrap:wrap}.pp-week-panel .section-head{align-items:flex-start;flex-direction:column}.pp-week-days{gap:3px}.pp-week-day{padding:8px 1px;min-height:64px}.pp-week-day small{font-size:9px}.pp-week-day strong{font-size:14px}.pp-week-selected{padding:0 11px}.pp-week-task{gap:7px}}

/* PawPalio v17.0 — owner + permissioned caregiver unified care overview */
.pp-care-hub{margin:18px 0 20px;padding:20px 23px;background:var(--card,#fff);border:1px solid var(--stroke);box-shadow:var(--shadow);border-radius:16px;min-width:0}
.pp-hub-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.pp-hub-heading h2{font-size:20px;display:flex;align-items:center;gap:9px;margin:3px 0 6px}
.pp-hub-heading p:not(.pp-kicker){font-size:12px;color:var(--muted);line-height:1.5;margin:0;max-width:570px}
.pp-hub-range,.pp-hub-filters{display:flex;flex-wrap:wrap;gap:4px;border:1px solid var(--stroke);border-radius:10px;padding:4px;background:var(--surface,#f4f8f4)}
.pp-hub-range button,.pp-hub-filters button{border:0;background:transparent;color:var(--ink);border-radius:7px;padding:8px 12px;font-size:12px;font-weight:750}
.pp-hub-range button.selected,.pp-hub-filters button.selected{background:#24684d;color:white}
.pp-hub-range button:focus-visible,.pp-hub-filters button:focus-visible{outline:3px solid #88bdf2;outline-offset:2px}
.pp-hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.pp-hub-stats div{border:1px solid var(--stroke);border-radius:11px;padding:12px 14px;display:flex;flex-direction:column;gap:5px;min-width:0;background:var(--surface,#f9fbf8)}
.pp-hub-stats strong{font-size:23px;line-height:1.2}.pp-hub-stats span{font-size:11px;color:var(--muted);font-weight:700}
.pp-hub-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:9px}.pp-hub-toolbar>span{font-size:13px;font-weight:800}
.pp-hub-task{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:13px;border-top:1px solid var(--stroke);padding:13px 0}
.pp-hub-task-icon{height:37px;width:37px;border-radius:11px;background:var(--surface,#f0f6ef);display:flex;justify-content:center;align-items:center;font-size:20px}
.pp-hub-task-details{min-width:0;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.pp-hub-task-details>strong{font-size:13px}.pp-hub-task-meta{color:var(--muted);font-size:11px}.pp-hub-task-status{font-size:10px;font-weight:850;width:fit-content;border-radius:20px;padding:3px 8px;background:#edf4ef;color:#31694f}
.pp-hub-task-status.overdue{background:#fff0df;color:#91481f}.pp-hub-task-status.done{background:#e4f4e9;color:#28734c}
.pp-hub-dose,.pp-hub-byline{font-size:11px;color:var(--muted);line-height:1.5}.pp-hub-note{display:block;white-space:pre-wrap}
.pp-hub-task-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.pp-hub-task-actions .btn{white-space:nowrap}
.pp-hub-empty{padding:20px 10px;font-size:12px;color:var(--muted);line-height:1.6}.pp-hub-empty p{margin:6px 0 12px}.pp-hub-empty strong{color:var(--ink)}
.pp-hub-disclaimer,.pp-hub-limit{font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0 0}
html[data-theme="dark"] .pp-care-hub{background:#1c3128;border-color:#365642}
html[data-theme="dark"] .pp-hub-stats div,html[data-theme="dark"] .pp-hub-range,html[data-theme="dark"] .pp-hub-filters,html[data-theme="dark"] .pp-hub-task-icon{background:#243b2e;border-color:#41614d}
html[data-theme="dark"] .pp-hub-task-status.overdue{background:#553b2c;color:#ffe0b8}
html[data-theme="dark"] .pp-hub-task-status.done{background:#2b5139;color:#d0efda}
html[data-theme="dark"] .pp-hub-task-status.upcoming{background:#294638;color:#d5ebde}
@media(max-width:760px){.pp-care-hub{padding:16px}.pp-hub-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pp-hub-task{grid-template-columns:36px minmax(0,1fr)}.pp-hub-task-actions{grid-column:2;justify-content:flex-start}.pp-hub-heading h2{font-size:18px}}
@media(max-width:440px){.pp-care-hub{padding:13px}.pp-hub-stats div{padding:10px}.pp-hub-range{width:100%;justify-content:space-between}.pp-hub-range button{flex:1}.pp-hub-filters button{padding:7px 10px}.pp-hub-task{gap:9px}}

/* PawPalio v17.1 — permissioned, read-only care handoff preview */
.pp-hub-header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pp-handoff{font-size:13px;line-height:1.6;min-width:0}
.pp-handoff-row{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 16px}
.pp-handoff-subtitle{font-size:12px;font-weight:750;margin:14px 0 5px}
.pp-handoff-row .pp-handoff-picked{background:#24684d;color:white;border-color:#24684d}
.pp-handoff-count{font-size:12px;color:var(--muted);font-weight:750;margin:10px 0}
.pp-handoff-preview{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:min(44vh,400px);border:1px solid var(--stroke);border-radius:11px;padding:14px;background:var(--surface,#f6f8f6);color:var(--ink);font:12px/1.65 ui-monospace,monospace}
html[data-theme="dark"] .pp-handoff-preview{background:#243b2e;border-color:#41614d}
@media(max-width:760px){.pp-hub-header-actions{width:100%;justify-content:space-between}.pp-handoff-preview{max-height:40vh;font-size:11px}}

/* PawPalio v17.2 — signed-in private printable care reference */
.pp-care-card-intro{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:12px}
.pp-care-card-printable{background:var(--surface,#fff);color:var(--ink);border:1px solid var(--stroke);border-radius:16px;padding:20px;overflow-wrap:anywhere;line-height:1.5}
.pp-care-card-brand{display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.02em}
.pp-care-card-brand span{font-size:11px;font-weight:650}
.pp-care-card-printable h2{font-size:28px;line-height:1.2;margin:13px 0 0;color:var(--ink)}
.pp-care-card-subtitle{color:var(--muted);font-size:13px;margin:6px 0 16px}
.pp-care-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pp-care-card-field{min-width:0;display:flex;flex-direction:column;gap:5px;border:1px solid var(--stroke);border-radius:10px;padding:11px}
.pp-care-card-field strong{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pp-care-card-field span{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}
.pp-care-card-printable h3{font-size:15px;margin:19px 0 10px}
.pp-care-card-tasks{display:grid;gap:8px}
.pp-care-card-task{border:1px solid var(--stroke);border-radius:9px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;font-size:13px}
.pp-care-card-task small{color:var(--muted);font-size:11px}
.pp-care-card-task p{margin:0;white-space:pre-wrap}
.pp-care-card-empty{font-size:13px;color:var(--muted)}
.pp-care-card-warning{margin:18px 0 0;color:var(--muted);font-size:11px;line-height:1.6;border-top:1px solid var(--stroke);padding-top:12px}
#pp-emergency-print{display:none}
@media(max-width:620px){.pp-care-card-fields{grid-template-columns:1fr}.pp-care-card-printable{padding:14px}.pp-care-card-brand{align-items:flex-start;flex-direction:column;gap:4px}}
@media print {
 body.pp-print-emergency{background:white!important;color:#142018!important}
 body.pp-print-emergency > *:not(#pp-emergency-print){display:none!important}
 body.pp-print-emergency #pp-emergency-print{display:block!important;margin:0;padding:0}
 body.pp-print-emergency #pp-emergency-print .pp-care-card-printable{max-width:190mm;border:none;border-radius:0;padding:5mm;background:white!important;color:black!important;font:11pt/1.4 Arial,sans-serif}
 body.pp-print-emergency #pp-emergency-print .pp-care-card-printable *{color:#111!important}
 body.pp-print-emergency #pp-emergency-print .pp-care-card-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.pp-print-emergency #pp-emergency-print .pp-care-card-field,
 body.pp-print-emergency #pp-emergency-print .pp-care-card-task{break-inside:avoid;border-color:#bbb}
 body.pp-print-emergency #pp-emergency-print .pp-care-card-warning{font-size:9pt}
}

/* v17.3: print-oriented repeating care timetable and check-off rows. */
.pp-care-card-print-help{font-size:12px;line-height:1.5;color:var(--muted);margin:14px 0 4px}
.pp-care-schedule-printable{line-height:1.4}
.pp-care-print-key{margin:12px 0 18px;padding:12px;border:1px solid var(--stroke);border-radius:9px;font-size:12px}
.pp-care-print-task{padding:12px;margin:0 0 11px;border:1px solid var(--stroke);border-radius:10px;break-inside:avoid;page-break-inside:avoid}
.pp-care-print-task-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:7px}
.pp-care-print-time{min-width:72px;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.pp-care-print-task-head strong{display:block;font-size:14px}
.pp-care-print-kind{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.pp-care-print-task p{font-size:12px;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.pp-care-print-task .pp-care-print-start{font-size:11px;color:var(--muted);margin:7px 0}
.pp-care-print-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:9px}
.pp-care-print-day{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:11px;min-width:0}
.pp-care-print-box{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:1.5px solid currentColor;border-radius:3px;font-size:12px;font-weight:700;line-height:1}
.pp-care-print-day.off{opacity:.35}.pp-care-print-day.off .pp-care-print-box{border-style:dashed}
.pp-care-print-notes{margin:20px 0 4px;font-size:12px;line-height:2.3}
.pp-care-print-notes div{color:var(--muted)}
.pp-care-print-error{font-size:13px;line-height:1.6;color:var(--muted)}
@media print{
 body.pp-print-emergency #pp-emergency-print .pp-care-schedule-printable{font:10.5pt/1.35 Arial,sans-serif}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-task{padding:9px;margin-bottom:9px;break-inside:avoid;page-break-inside:avoid;border-color:#888}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-key{border-color:#888;margin:9px 0 13px}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-time{font-size:13pt;min-width:70px}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-day.off{opacity:.35}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-box{height:17px;width:17px}
 body.pp-print-emergency #pp-emergency-print .pp-care-print-notes{break-inside:avoid}
}

/* v17.4 · Care Circle multi-pet sharing overview */
.pp-circle-page{display:grid;gap:18px;max-width:1280px;margin:0 auto;padding-bottom:28px}
.pp-circle-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.pp-circle-heading h1{margin:4px 0 8px;font-size:clamp(1.65rem,2vw,2.25rem)}
.pp-circle-heading p{margin:0;max-width:700px;line-height:1.55;color:var(--muted,#648075)}
.pp-circle-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pp-circle-summary>div{border:1px solid var(--stroke);background:var(--paper);border-radius:14px;padding:16px;display:grid;gap:5px}
.pp-circle-summary strong{font-size:1.65rem;color:var(--ink)}
.pp-circle-summary small{color:var(--muted,#648075)}
.pp-circle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.pp-circle-card{background:var(--paper);border:1px solid var(--stroke);border-radius:16px;padding:18px;display:grid;gap:14px;min-width:0}
.pp-circle-pet{display:flex;align-items:center;gap:12px}.pp-circle-pet-emoji{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:rgba(75,160,126,.12);font-size:25px;flex-shrink:0}
.pp-circle-pet h2{font-size:1.17rem;margin:0 0 4px;color:var(--ink)}.pp-circle-pet p{margin:0;font-size:.87rem;color:var(--muted,#648075)}
.pp-circle-people,.pp-circle-pending ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.pp-circle-person{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--stroke);padding-top:10px}
.pp-circle-person span:first-child{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.pp-circle-person strong{font-size:.94rem}.pp-circle-person small,.pp-circle-empty{font-size:.82rem;color:var(--muted,#648075)}
.pp-circle-chip{font-size:.7rem;font-weight:700;color:#238358;background:rgba(56,170,111,.12);padding:5px 8px;border-radius:999px}
.pp-circle-pending{padding:12px;border-radius:12px;background:rgba(211,161,74,.09);display:grid;gap:9px;font-size:.85rem}
.pp-circle-pending li{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.pp-circle-actions{display:flex;flex-wrap:wrap;gap:8px}.pp-circle-safety{display:flex;gap:10px;align-items:flex-start;color:var(--muted,#648075);font-size:.85rem;line-height:1.6;padding:9px 2px}
.pp-circle-shared{padding:18px}.pp-circle-shared-list{display:grid;gap:8px}
.pp-circle-shared-pet{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;width:100%;background:transparent;border:1px solid var(--stroke);border-radius:10px;padding:12px;color:inherit;cursor:pointer}
.pp-circle-shared-pet span{display:flex;align-items:center;gap:6px;font-size:.84rem;color:var(--muted,#648075)}
.pp-circle-no-pets{padding:22px}
@media(max-width:900px){.pp-circle-grid{grid-template-columns:1fr}}
@media(max-width:560px){.pp-circle-page{gap:14px}.pp-circle-heading{align-items:flex-start}.pp-circle-summary>div{padding:11px}.pp-circle-summary strong{font-size:1.3rem}.pp-circle-summary small{font-size:.72rem}.pp-circle-card{padding:14px}.pp-circle-actions .btn{flex:1}.pp-circle-pending li{align-items:flex-start}}

/* v17.5 Premium preview; storefront controls never grant QR entitlements. */
.pp-premium-banner{display:flex;align-items:center;gap:16px;padding:20px 24px;margin:18px 0;border:1px solid var(--border,#d5e4dc);background:var(--paper);color:var(--ink);border-radius:18px;box-shadow:0 8px 22px rgba(13,65,48,.05)}
.pp-premium-banner-icon{width:52px;height:52px;display:grid;place-items:center;flex:none;background:rgba(63,130,99,.12);border-radius:14px;color:var(--brand,#256a50)}
.pp-premium-banner>div{flex:1;min-width:0}.pp-premium-banner strong{font-size:16px}.pp-premium-banner p{margin:5px 0 0;font-size:13px;line-height:1.6;color:var(--muted,#668575)}
.pp-premium-page{max-width:1120px;margin:0 auto;padding-bottom:45px}.pp-premium-hero{padding:32px 36px;border-radius:20px;background:linear-gradient(130deg,#153f36,#236b5b);color:white;margin:12px 0 24px}
.pp-premium-hero h1{font-size:clamp(27px,3vw,39px);margin:8px 0 12px;color:white}.pp-premium-hero>p{max-width:660px;line-height:1.7;color:#d8f1e5}.pp-premium-hero .pp-kicker{color:#b7f6d3}
.pp-premium-hero-note{padding:11px 14px;display:inline-block;margin-top:14px;border-radius:10px;background:rgba(255,255,255,.12);color:#ecfff5;font-size:13px;line-height:1.6}
.pp-premium-checkout{padding:24px}.pp-premium-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.pp-premium-plan{border:2px solid var(--border,#d5e4dc);background:var(--card,#fff);border-radius:14px;text-align:left;padding:16px;display:flex;flex-direction:column;gap:5px;cursor:pointer;color:inherit;min-width:0}
.pp-premium-plan.selected{border-color:#24916c;box-shadow:0 0 0 2px rgba(36,145,108,.12)}.pp-premium-plan small,.pp-premium-plan span{color:var(--muted,#668575);font-size:12px}.pp-premium-plan strong{font-size:27px}.pp-premium-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:18px 0}.pp-premium-benefits p{font-size:13px;line-height:1.7;margin:5px 0}
.pp-premium-disclosure{font-size:12px;line-height:1.8;color:var(--muted,#668575);margin:17px 0 0}.pp-premium-disclosure strong{color:inherit}
.pp-premium-next{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:18px;padding:22px 25px;border:1px solid var(--border,#d5e4dc);border-radius:17px;background:var(--card,#fff)}.pp-premium-next h2{margin:0;font-size:19px}.pp-premium-next p{margin:7px 0 0;font-size:13px;line-height:1.6;color:var(--muted,#668575)}
.pp-tag-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pp-shop-card{overflow:hidden;border-radius:18px;border:1px solid var(--border,#d5e4dc);background:var(--card,#fff)}.pp-shop-art{height:185px;display:grid;place-items:center;background:linear-gradient(155deg,#eaf5f0,#d5e8de)}.pp-shop-tag{background:#283a39;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 10px 20px rgba(0,0,0,.18);width:124px;height:124px}.pp-shop-tag small{font-size:9px;letter-spacing:1px}.pp-shop-shape-round{border-radius:50%}.pp-shop-shape-bone{border-radius:35% 35% 25% 25%;width:150px;height:103px;transform:rotate(-7deg)}.pp-shop-shape-heart{border-radius:46% 46% 45% 45%;transform:rotate(8deg);background:#b64f67}.pp-shop-card-body{padding:19px;display:flex;flex-direction:column;gap:7px}.pp-shop-card-body h2{margin:0;font-size:19px}.pp-shop-card-body p{font-size:13px;min-height:40px;margin:0;color:var(--muted,#668575)}.pp-shop-card-body strong{font-size:23px}.pp-shop-card-body small{font-size:11px;color:var(--muted,#668575)}.pp-shop-card-body button{margin-top:9px}.pp-premium-modal>p,.pp-shop-details p{font-size:14px;line-height:1.8}
@media(max-width:790px){.pp-premium-banner,.pp-premium-next{flex-direction:column;align-items:flex-start}.pp-premium-hero{padding:24px 22px}.pp-tag-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.pp-tag-shop-grid,.pp-premium-plans,.pp-premium-benefits{grid-template-columns:1fr}.pp-shop-art{height:165px}.pp-premium-banner{padding:16px}.pp-premium-checkout{padding:17px}.pp-premium-plan{padding:12px}.pp-premium-plan strong{font-size:23px}}

/* v17.6 Stripe sandbox controls — visual integration only, not QR enforcement */
.pp-sandbox-controls{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.pp-sandbox-controls .btn{flex:1 1 175px}

/* v17.7 QR subscription preview UI: generic art is never an animal-specific scannable code. */
.pp-qr-placeholder-art{width:116px;min-width:116px;height:116px;display:grid;place-items:center;align-content:center;gap:2px;border:1px dashed var(--stroke);background:var(--mint2);color:var(--forest2);border-radius:16px}
.pp-qr-placeholder-art span{font-size:11px;font-weight:900;letter-spacing:1.4px}
.pp-qr-locked-dialog{text-align:center;max-width:620px;margin:0 auto;display:grid;justify-items:center;gap:12px;padding:12px 4px}.pp-qr-locked-dialog h3{margin:0;font-size:21px}.pp-qr-locked-dialog p{margin:0;line-height:1.55;color:var(--muted);font-size:14px}
.pp-qr-locked-dialog .modal-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.pp-qr-preview-disclosure{font-size:12px!important}
.pp-qr-panel .pp-qr-detail{min-width:0}.pp-qr-panel .pp-qr-detail p{max-width:550px}
/* Fix white-on-white subscription tiles on the existing dark dashboard. */
.pp-premium-plan{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--stroke)!important}
.pp-premium-plan.selected{border-color:#319d76!important}.pp-premium-plan strong{color:var(--ink)!important}.pp-premium-plan small,.pp-premium-plan span{color:var(--muted)!important}
@media(max-width:540px){.pp-qr-panel .pp-qr-detail{align-items:flex-start}.pp-qr-placeholder-art{width:84px;height:84px;min-width:84px}.pp-qr-locked-dialog h3{font-size:18px}}

/* PawPalio Smart QR v17.9 isolated owner controls */
.pp-smartqr-panel{margin-top:16px;padding:21px}.pp-smartqr-options,.pp-smartqr-records{border:1px solid var(--border,#b8cec3);border-radius:12px;padding:12px;margin:12px 0;max-height:300px;overflow-y:auto}.pp-smartqr-records{max-height:250px}.pp-smartqr-panel .section-head{gap:10px;flex-wrap:wrap}#smart-qr-password{width:100%}

/* PawPalio v17.10 — visual clarity refresh. Presentation-only, no entitlement or data changes. */
.pp-shell .content:has(.pp-welcome-banner){display:flex;flex-direction:column;gap:14px}
.pp-shell .content:has(.pp-welcome-banner)>*{margin-top:0;margin-bottom:0;min-width:0}
.pp-shell .content .pp-welcome-banner{min-height:106px;padding:21px 25px;border-radius:18px;box-shadow:none}
.pp-shell .content .pp-welcome-banner h1{font-size:clamp(24px,2.4vw,32px);line-height:1.12;margin-bottom:5px}
.pp-shell .content .pp-welcome-banner p:not(.pp-kicker){margin:0;font-size:12px}
.pp-shell .content .pp-welcome-banner .pp-banner-art{opacity:.34}
.pp-shell .content .pp-overview-grid{gap:10px}
.pp-shell .content .pp-overview{padding:13px 16px;border-radius:14px;min-height:70px;box-shadow:none}
.pp-shell .content .pp-overview strong{font-size:23px;line-height:1.1}
.pp-shell .content .pp-dashboard-grid{margin-top:2px;gap:15px}
.pp-shell .content .pp-pet-grid{gap:12px}
.pp-shell .content .pp-dashboard-grid .section-head{margin-bottom:12px}
.pp-shell .content .pp-dashboard-grid .pp-animals-area,
.pp-shell .content .pp-dashboard-grid .pp-shared-area{margin-bottom:15px}
.pp-shell .content .pp-dashboard-grid .pp-updates-panel,
.pp-shell .content .pp-dashboard-grid .pp-upcoming-panel{box-shadow:none}
.pp-shell .content .pp-start-guide{margin:0}
.pp-home-settings{display:grid;gap:12px;min-width:0}
.pp-home-settings .reminder-settings{margin:0}
.pp-shell .pp-clean-fold{border:1px solid var(--stroke);border-radius:16px;background:var(--card,#fff);box-shadow:none;min-width:0;overflow:visible;margin:0 0 12px}
.pp-shell .pp-clean-fold>summary{list-style:none;display:flex;align-items:center;gap:13px;padding:16px 19px;cursor:pointer;min-height:70px;color:var(--ink)}
.pp-shell .pp-clean-fold>summary::-webkit-details-marker{display:none}
.pp-shell .pp-clean-fold>summary strong{font-size:15px;font-weight:800;display:block;line-height:1.3}
.pp-shell .pp-clean-fold>summary small{display:block;font-size:12px;line-height:1.5;color:var(--muted);font-weight:500;margin-top:3px}
.pp-shell .pp-fold-icon{height:37px;width:37px;flex:0 0 37px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--mint,#e6f2e9);color:#276347}
.pp-shell .pp-fold-arrow{margin-left:auto;font-size:23px;font-weight:600;color:var(--muted);transition:transform .2s ease}
.pp-shell details[open]>.pp-fold-arrow,.pp-shell details[open]>summary .pp-fold-arrow{transform:rotate(180deg)}
.pp-shell .pp-clean-fold>summary:focus-visible,.pp-shell .pp-profile-more summary:focus-visible{outline:3px solid #63a982;outline-offset:3px;border-radius:12px}
.pp-shell .pp-clean-fold[open]>summary{border-bottom:1px solid var(--stroke)}
.pp-shell .pp-fold-body{padding:15px 17px 17px}
.pp-shell .pp-home-care .pp-care-hub{box-shadow:none;margin:0;border-radius:13px;padding:16px}
.pp-shell .pp-home-more .pp-fold-body{display:grid;gap:13px}
.pp-shell .pp-home-more .pp-fold-body>section{margin:0}
.pp-shell .pp-home-more .pp-premium-banner{box-shadow:none}
.pp-shell .pp-home-more .pp-quick{margin-bottom:0}
.pp-shell .pp-profile-hero{min-height:142px;padding:18px 21px;border-radius:18px;box-shadow:none;margin-bottom:14px}
.pp-shell .pp-profile-info h1{font-size:clamp(25px,2.4vw,32px)}
.pp-shell .pp-profile-actions{gap:7px;flex-wrap:wrap;margin-top:10px}
.pp-shell .pp-profile-actions .btn{padding:9px 12px;min-height:39px;font-size:12px}
.pp-shell .pp-key-panel{padding:18px 19px;border-radius:15px}
.pp-shell .pp-key-panel .pp-facts{gap:9px}
.pp-shell .pp-key-panel .pp-fact{min-height:69px;padding:10px}
.pp-shell .pp-profile-jumps.pp-clean-jumps{display:flex;align-items:center;flex-wrap:wrap;gap:7px;overflow:visible;margin:0 0 15px;padding:1px 0}
.pp-shell .pp-clean-jumps>button{min-height:37px;padding:8px 11px;border-radius:10px;font-size:12px;white-space:nowrap}
.pp-shell .pp-profile-more{position:relative;display:block;min-width:0}
.pp-shell .pp-profile-more>summary{list-style:none;cursor:pointer;display:inline-flex;gap:8px;align-items:center;min-height:37px;border:1px solid var(--stroke);padding:8px 11px;background:var(--card,#fff);border-radius:10px;color:var(--ink);font-size:12px;font-weight:750}
.pp-shell .pp-profile-more>summary::-webkit-details-marker{display:none}
.pp-shell .pp-profile-more>summary span{font-size:16px;color:var(--muted)}
.pp-shell .pp-profile-more[open]>summary{border-color:#70ac86}
.pp-shell .pp-profile-more-menu{position:absolute;z-index:8;right:0;top:calc(100% + 6px);width:max-content;min-width:196px;display:grid;gap:4px;padding:8px;background:var(--card,#fff);border:1px solid var(--stroke);box-shadow:0 14px 30px rgba(0,0,0,.14);border-radius:12px}
.pp-shell .pp-profile-more-menu button{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--ink);font-size:12px;text-align:left;padding:11px 12px;border-radius:8px;min-height:41px}
.pp-shell .pp-profile-more-menu button:hover,.pp-shell .pp-profile-more-menu button:focus-visible{background:var(--mint,#e9f3eb)}
.pp-shell .pp-profile-planner .pp-week-panel,
.pp-shell .pp-profile-records #medical-section{margin:0}
.pp-shell .pp-profile-planner .pp-fold-body,
.pp-shell .pp-profile-records .pp-fold-body{padding:11px 13px}
.pp-shell .pp-profile-planner .pp-week-panel{box-shadow:none;border:0}
.pp-shell .pp-profile-records .pp-medical-grid{box-shadow:none}
.pp-shell .pp-profile-records .pp-medical-grid>.panel{box-shadow:none}
.pp-shell :is(#pp-key-info,#pp-qr,#pp-smartqr,#pp-care-schedule,#pp-care-week,#pp-today,#medical-section,#pp-gallery,#pp-access,#pp-updates){scroll-margin-top:28px}
html[data-theme="dark"] .pp-shell .pp-clean-fold{background:#1c3128;border-color:#365642}
html[data-theme="dark"] .pp-shell .pp-fold-icon{background:#294a39;color:#b5e7c5}
html[data-theme="dark"] .pp-shell .pp-profile-more>summary,
html[data-theme="dark"] .pp-shell .pp-profile-more-menu{background:#1c3128;border-color:#365642;color:#eaf6ee}
html[data-theme="dark"] .pp-shell .pp-profile-more-menu button:hover{background:#2c4c3a}
@media(max-width:900px){
  .pp-shell .content .pp-dashboard-grid{grid-template-columns:1fr}
  .pp-shell .pp-profile-more-menu{right:auto;left:0}
}
@media(max-width:600px){
  .pp-shell .content:has(.pp-welcome-banner){gap:11px}
  .pp-shell .content .pp-welcome-banner{padding:18px 19px;min-height:88px}
  .pp-shell .content .pp-overview-grid{gap:7px}
  .pp-shell .content .pp-overview{padding:10px 9px;min-height:66px;gap:7px}
  .pp-shell .content .pp-overview .pp-round{display:none}
  .pp-shell .content .pp-overview strong{font-size:20px}
  .pp-shell .pp-clean-fold>summary{padding:13px 14px;min-height:66px;gap:10px}
  .pp-shell .pp-fold-body{padding:10px}
  .pp-shell .pp-profile-hero{padding:14px}
  .pp-shell .pp-profile-jumps.pp-clean-jumps{flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;padding-bottom:10px}
  .pp-shell .pp-profile-more-menu{position:fixed;top:auto;left:15px;right:15px;bottom:80px;width:auto;max-height:60vh;overflow:auto;z-index:50}
}
@media(prefers-reduced-motion:reduce){.pp-shell .pp-fold-arrow{transition:none}}

/* v17.11 Premium card contrast and per-pet sample tag selection. */
.pp-premium-banner{border-color:var(--stroke);background:var(--paper);color:var(--ink)}
.pp-premium-banner strong{display:block;color:var(--ink);font-weight:800;line-height:1.4}
.pp-premium-banner p{color:var(--muted);opacity:1}
html[data-theme="dark"] .pp-premium-banner{background:#1b3027;border:1px solid #466855;color:#f0f8f1;box-shadow:none}
html[data-theme="dark"] .pp-premium-banner strong{color:#f0f8f1}
html[data-theme="dark"] .pp-premium-banner p{color:#c8dacd}
html[data-theme="dark"] .pp-premium-banner-icon{background:#305f47;color:#e3f6e8}
.pp-tag-shop-page{display:grid;gap:18px}
.pp-shop-setup{padding:22px}
.pp-tag-order-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px}
.pp-tag-order-header label{font-weight:750;color:var(--ink)}
.pp-tag-order-header select{max-width:300px;flex:1;min-width:160px;border:1px solid var(--stroke);color:var(--ink);background:var(--paper);padding:11px 14px;border-radius:10px;font:inherit}
.pp-tag-order-header span{font-size:12px;color:var(--muted);flex:1 1 100%}
.pp-tag-order-preview{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:center;background:var(--cream);border:1px solid var(--stroke);padding:18px;border-radius:16px}
.pp-tag-sample{display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:14px;border:1px dashed var(--stroke);padding:16px;background:var(--paper)}
.pp-tag-sample strong{font-size:16px;color:var(--ink)}.pp-tag-sample small{font-size:11px;color:var(--muted);text-align:center}
.pp-tag-qr-preview{padding:8px;background:white;border-radius:10px}.pp-tag-qr-preview svg{max-width:100%;height:auto;display:block}
.pp-tag-order-copy strong{font-size:19px;color:var(--ink)}.pp-tag-order-copy p{font-size:13px;line-height:1.6;color:var(--muted)}
.pp-tag-order-copy .btn{margin:7px 0;padding:13px 16px;max-width:100%;white-space:normal;text-align:center}
.pp-tag-beta-note{font-size:11px!important}.pp-tag-shop-heading{margin:4px 0 -2px}.pp-tag-shop-heading h2{font-size:21px;margin:0;color:var(--ink)}.pp-tag-shop-heading p{margin:5px 0 0;font-size:13px;color:var(--muted)}
.pp-tag-vendor-note{padding:20px;margin-top:5px}.pp-tag-vendor-note h2{font-size:20px;margin:0;color:var(--ink)}.pp-tag-vendor-note p{font-size:13px;line-height:1.65;color:var(--muted)}
.pp-tag-vendor-note a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;margin:5px 0}
html[data-theme="dark"] :is(.pp-tag-order-preview,.pp-tag-sample){background:#1d3028;border-color:#486753}
html[data-theme="dark"] .pp-tag-order-header select{background:#213a2c;color:#f0f8f1;border-color:#4a6954}
html[data-theme="dark"] :is(.pp-tag-shop-page,.pp-tag-vendor-note,.pp-shop-card) :is(h2,strong){color:#eef6ef}
@media(max-width:560px){.pp-tag-order-preview{grid-template-columns:1fr}.pp-tag-sample{max-width:220px;width:100%;justify-self:center}.pp-shop-setup{padding:16px}.pp-tag-vendor-note{padding:16px}.pp-premium-banner p{line-height:1.55}}

/* v17.11.1 — Make the private/printable care reference legible in BOTH themes.
   The reference intentionally looks like white paper; its ink must not inherit
   dark-theme text variables. Scoped to the reference, not public QR or medical data. */
.pp-care-card-printable {
  --ink: #19372b;
  --muted: #426154;
  --stroke: #bfcec4;
  color-scheme: light;
  background: #fff !important;
  color: #19372b !important;
  border-color: #bfcec4 !important;
  line-height: 1.58;
}
.pp-care-card-printable :is(h2, h3),
html[data-theme="dark"] .pp-care-card-printable :is(h2, h3) {
  color: #16362a !important;
}
.pp-care-card-printable .pp-care-card-brand,
.pp-care-card-printable .pp-care-card-brand span,
.pp-care-card-printable .pp-care-card-subtitle,
.pp-care-card-printable .pp-care-card-field strong,
.pp-care-card-printable .pp-care-card-task small,
.pp-care-card-printable .pp-care-card-warning,
.pp-care-card-printable .pp-care-card-empty,
.pp-care-card-printable :is(.pp-care-print-kind,.pp-care-print-start,.pp-care-print-error,.pp-care-print-notes div) {
  color: #426154 !important;
  opacity: 1 !important;
}
.pp-care-card-printable .pp-care-card-field,
.pp-care-card-printable .pp-care-card-task,
.pp-care-card-printable .pp-care-print-task,
.pp-care-card-printable .pp-care-print-key {
  background: #f7faf8 !important;
  color: #19372b !important;
  border-color: #bdcec3 !important;
}
.pp-care-card-printable .pp-care-card-field span,
.pp-care-card-printable .pp-care-card-task strong,
.pp-care-card-printable .pp-care-card-task p,
.pp-care-card-printable .pp-care-print-time,
.pp-care-card-printable .pp-care-print-task-head strong,
.pp-care-card-printable .pp-care-print-task p {
  color: #19372b !important;
  opacity: 1 !important;
}
.pp-care-card-printable .pp-care-card-field span {font-size: 14px;line-height: 1.55}
.pp-care-card-printable .pp-care-card-field strong {font-size: 12px}
.pp-care-card-printable .pp-care-card-task small,
.pp-care-card-printable .pp-care-card-warning {font-size: 12px;line-height: 1.6}
.pp-care-card-printable .pp-care-card-brand{font-size: 14px}
.pp-care-card-printable .pp-care-card-brand span{font-size: 12px}
.pp-care-card-printable .pp-care-card-task {font-size: 14px}
@media print {
  body.pp-print-emergency #pp-emergency-print .pp-care-card-printable :is(.pp-care-card-field,.pp-care-card-task,.pp-care-print-task,.pp-care-print-key) {
    background: #fff !important;
    border-color: #888 !important;
  }
}
/* The global dark-theme .modal h2 rule uses !important; override it at
   higher specificity so the pet name remains dark on the white card. */
html[data-theme="dark"] .modal .pp-care-card-printable :is(h2,h3) {
  color: #16362a !important;
}

/* v17.12 Vendor-neutral physical tag order builder. Inherits PawPalio theme. */
.pp-tag-order-builder{margin-top:22px}
.pp-tag-builder-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pp-tag-builder-fields label{display:flex;flex-direction:column;gap:7px;font-weight:750;font-size:.89rem}
.pp-tag-builder-fields select{width:100%;padding:12px 13px;border-radius:12px;border:1px solid var(--stroke);background:var(--paper);color:var(--ink);font:inherit;max-width:100%;min-height:44px}
.pp-tag-estimate{margin-top:16px;padding:16px;border:1px solid var(--stroke);border-radius:14px;background:var(--mint2);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pp-tag-estimate strong{font-size:1.5rem;color:var(--ink)}
.pp-tag-estimate small{flex-basis:100%;color:var(--muted);line-height:1.4}
.pp-tag-builder-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:14px}
.pp-tag-builder-actions span{color:var(--muted);font-size:.84rem}
.pp-tag-review{display:grid;gap:12px}
.pp-tag-review-qr{justify-self:center;background:#fff;padding:12px;border:1px solid #dae6de;border-radius:14px}
.pp-tag-review-qr svg{display:block;max-width:100%}
.pp-tag-review h3,.pp-tag-review p{margin:0}
@media (max-width:620px){.pp-tag-builder-fields{grid-template-columns:1fr;gap:11px}.pp-tag-estimate{gap:5px}.pp-tag-builder-actions .btn{width:100%}}


/* v17.12.2 — Tag Shop's illustration cards intentionally use white paper.
   Give ALL product titles, descriptions, prices and price notes dark ink in
   either theme; do not change the dark green buttons or QR artwork. */
.pp-tag-shop-page .pp-shop-card {
  background: #ffffff;
  color: #17392b;
  border-color: #c1d1c7;
}
.pp-tag-shop-page .pp-shop-card .pp-shop-card-body :is(h2,strong) {
  color: #17392b;
}
.pp-tag-shop-page .pp-shop-card .pp-shop-card-body p {
  color: #365748;
  font-size: 14px;
  line-height: 1.5;
}
.pp-tag-shop-page .pp-shop-card .pp-shop-card-body small {
  color: #456353;
  font-size: 12px;
  line-height: 1.45;
}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card {
  background: #ffffff !important;
  color: #17392b !important;
  border-color: #c1d1c7 !important;
}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card .pp-shop-card-body :is(h2,strong) {
  color: #17392b !important;
}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card .pp-shop-card-body :is(p,small) {
  color: #365748 !important;
}

/* v17.12.3 — Distinct vendor-neutral outlines for tag shape previews.
   Concept illustrations only; do NOT mistake them for physical engraving proofs. */
.pp-tag-shop-page .pp-shop-art{min-height:185px;display:flex;align-items:center;justify-content:center}
.pp-tag-illustration{width:min(100%,235px);height:163px;display:grid;place-items:center;position:relative;isolation:isolate;color:#263b39;flex:none}
.pp-tag-illustration svg{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 7px 6px rgba(20,42,32,.20))}
.pp-tag-illustration .pp-tag-outline{fill:#263b39;stroke:#7a918b;stroke-width:1.7;stroke-linejoin:round}
.pp-tag-illustration .pp-tag-hole{fill:#dfede6;stroke:#728780;stroke-width:1.5}
.pp-tag-illustration--silver .pp-tag-outline{fill:#c5d1d0;stroke:#7b8c8b;stroke-width:2}
.pp-tag-illustration--silver .pp-tag-hole{fill:#eef2ef;stroke:#879590}
/* v17.15 metal-color preview — color is illustrative, NOT a verified blank or proof. */
.pp-tag-illustration--bronze .pp-tag-outline{fill:#b47d59;stroke:#7e5338;stroke-width:2}
.pp-tag-illustration--bronze .pp-tag-hole{fill:#f7ebdf;stroke:#8b6044}
.pp-tag-illustration--gold .pp-tag-outline{fill:#e2c36d;stroke:#ac8a38;stroke-width:2}
.pp-tag-illustration--gold .pp-tag-hole{fill:#fff8df;stroke:#b99543}
.pp-tag-illustration--bronze .pp-tag-illustration-mark{color:#fff6e9}
.pp-tag-illustration--gold .pp-tag-illustration-mark{color:#443518}

.pp-tag-illustration-mark{position:absolute;left:50%;top:55%;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:#f1f8f4;pointer-events:none}
.pp-tag-illustration-mark svg{width:38px;height:38px;filter:none}
.pp-tag-illustration-mark small{font-size:9px;line-height:1;letter-spacing:.7px;font-weight:800;color:inherit}
.pp-tag-illustration--silver .pp-tag-illustration-mark{color:#28433c}
.pp-tag-illustration--bone .pp-tag-illustration-mark{top:50%}
.pp-tag-illustration--bone .pp-tag-illustration-mark svg{width:31px;height:31px}
.pp-tag-illustration--heart .pp-tag-illustration-mark{top:54%}
.pp-tag-illustration--compact{width:115px;height:87px}
.pp-tag-illustration--compact .pp-tag-illustration-mark svg{width:18px;height:18px}
.pp-tag-illustration--compact .pp-tag-illustration-mark small{font-size:6px}
.pp-tag-illustration--compact.pp-tag-illustration--bone .pp-tag-illustration-mark svg{width:15px;height:15px}
.pp-tag-shop-page .pp-tag-concept-badge{align-self:flex-start;font-size:11px;font-weight:750;line-height:1.3;letter-spacing:.01em;color:#22533f;background:#e4f2e8;border:1px solid #c2dcca;padding:5px 9px;border-radius:30px}
.pp-tag-shop-page .pp-tag-current-selection{display:flex;align-items:center;gap:16px;border:1px solid var(--stroke);background:var(--cream);border-radius:14px;padding:9px 13px;margin:12px 0}
.pp-tag-current-selection > div:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.pp-tag-current-selection strong{font-size:14px;color:var(--ink)}
.pp-tag-current-selection small{font-size:12px;line-height:1.5;color:var(--muted)}
.pp-tag-details-visual,.pp-tag-review-visual{display:grid;justify-items:center;gap:5px;background:#e6f1eb;padding:8px 12px;border-radius:15px;margin:0 auto 12px;max-width:310px}
.pp-tag-details-visual small,.pp-tag-review-visual span{font-size:12px;color:#355848;font-weight:650;text-align:center}
.pp-tag-review-visual .pp-tag-illustration,.pp-tag-details-visual .pp-tag-illustration{width:220px}
html[data-theme="dark"] .pp-tag-shop-page .pp-tag-current-selection{background:#20372c;border-color:#52715d}
html[data-theme="dark"] .pp-tag-shop-page .pp-tag-current-selection :is(strong,small){color:#e4f3e8}
@media(max-width:560px){.pp-tag-shop-page .pp-tag-current-selection{gap:8px;padding:7px 8px}.pp-tag-shop-page .pp-tag-current-selection strong{font-size:13px}.pp-tag-shop-page .pp-tag-current-selection small{font-size:11px}.pp-tag-shop-page .pp-shop-art{min-height:170px}}
@media(prefers-reduced-motion:reduce){.pp-tag-illustration{transition:none}}

/* v17.14: PawPalio-owned metal tag production/order status */
.pp-tag-inhouse {margin-top: 20px;}
.pp-tag-history {margin-top: 20px;}
.pp-tag-history-row {display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;border-top:1px solid var(--line,rgba(20,63,51,.15));padding:14px 0;}
.pp-tag-history-row:first-of-type {margin-top:14px;}
.pp-tag-history-row span {font-size:13px;border-radius:18px;padding:5px 10px;background:rgba(20,115,82,.09);}
.pp-tag-history-row small {width:100%;}
.pp-workshop-panel {margin-top:28px;}
.pp-workshop-list {display:grid;gap:10px;margin:12px 0;}
.pp-workshop-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--surface-soft,rgba(20,63,51,.04));border-radius:12px;border:1px solid rgba(100,100,100,.12);}
.pp-workshop-row div {display:grid;gap:4px;}
.pp-workshop-row small {overflow-wrap:anywhere;}
.pp-workshop-detail {border-top:1px solid rgba(100,100,100,.22);margin-top:20px;padding-top:20px;}
.pp-workshop-detail p {overflow-wrap:anywhere;}
@media(max-width:640px){.pp-workshop-row {align-items:flex-start;flex-direction:column;}}

/* v17.15 polished four-lobed dog-bone silhouette. */
.pp-tag-illustration--bone .pp-tag-illustration-mark{top:49%;}

/* PawPalio v17.16 — Modern Evergreen, a visual-only progressive refresh.
   No QR encoding, checkout, database, or entitlement behavior is changed. */
:root {
 --forest:#173F35; --forest2:#24785E; --dark:#1D332B;
 --mint:#E0EFE7; --mint2:#EAF5ED; --accent:#24785E; --lime:#E6B46A;
 --cream:#F6F8F5; --paper:#FFFFFF; --stroke:#DCE6DF;
 --muted:#52685F; --ink:#1D332B;
 --shadow:0 9px 32px rgba(17,54,40,.065);
 --pp-gold:#E6B46A; --pp-jade:#24785E;
}
body {background:#F6F8F5;color:var(--ink);font-family:"DM Sans", "Avenir Next",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
.pp-shell .sidebar{background:#173F35;box-shadow:3px 0 20px rgba(14,51,41,.035);padding-top:27px}
.pp-shell .pp-brand {margin-bottom:23px}
.pp-shell .pp-brand .brand-logo{color:#D4E9D8}
.pp-shell .pp-brand .brand-name{letter-spacing:-.75px}
.pp-shell .main-holder{background:var(--cream)}
.pp-shell .main{padding-bottom:48px}
.pp-shell .topbar{height:76px;border-bottom:1px solid #E1E9E2;max-width:none;gap:22px}
.pp-shell .content{max-width:1270px;padding-top:24px}
.pp-shell .pp-search-trigger{border-radius:12px;min-height:46px;border:1px solid #D5E1D9;font-size:14px;color:#52685F;box-shadow:none}
.pp-shell .pp-search-trigger:hover{border-color:#86AC97}
.pp-shell .userpill{font-size:13px;font-weight:700;color:#254638}
.pp-shell .userpill .avatar{background:#E6B46A;color:#46341B}
.pp-shell .pp-theme-toggle{min-height:43px}
.pp-shell .pp-nav-heading{color:#BDD2C5;font-size:11px;letter-spacing:.15em;padding:0 14px;margin:10px 0 8px;font-weight:800}
.pp-shell .pp-menu{gap:5px;align-content:start}
.pp-shell .side-link{min-height:48px;color:#E0EDE5;border-radius:11px;font-size:14px;font-weight:700;line-height:1.35}
.pp-shell .side-link.active,.pp-shell .side-link:hover{background:#2B6151;color:#fff}
.pp-shell .side-link.active{box-shadow:inset 3px 0 #E6B46A}
.pp-shell .side-bottom{border-color:#477362;margin-top:auto}
.pp-shell .pp-help-mark{background:#2B6151;color:#F2D4A0}
.pp-shell .pp-help small{font-size:12px;line-height:1.45}
.pp-shell .side-bottom .small-nav{min-height:44px;background:#2B6151;border-color:#507D69}
.pp-shell .pp-more-menu{margin-top:2px;min-width:0}
.pp-shell .pp-more-toggle{display:flex;align-items:center;gap:14px;min-height:48px;padding:12px 15px;border-radius:11px;cursor:pointer;color:#E0EDE5;font-weight:700;font-size:14px;list-style:none;user-select:none}
.pp-shell .pp-more-toggle::-webkit-details-marker,.pp-mobile-more>summary::-webkit-details-marker{display:none}
.pp-shell .pp-more-toggle::marker,.pp-mobile-more>summary::marker{content:""}
.pp-shell .pp-more-toggle>.pp-icon{flex:0 0 22px}
.pp-shell .pp-more-toggle:hover,.pp-shell .pp-more-toggle.active,.pp-shell .pp-more-menu[open] .pp-more-toggle{background:#2B6151;color:white}
.pp-shell .pp-more-chevron{margin-left:auto;transition:transform .15s;font-size:19px;line-height:1}
.pp-shell .pp-more-menu[open] .pp-more-chevron{transform:rotate(180deg)}
.pp-shell .pp-more-actions{padding:7px 1px 8px 12px;display:grid;gap:2px;border-left:1px solid #537867;margin-left:25px}
.pp-shell .pp-sub-link{min-height:40px;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:9px 10px;background:none;border:0;border-radius:9px;color:#DCEADF;font-size:12.5px;font-weight:650;white-space:normal}
.pp-shell .pp-sub-link:hover{color:white;background:#2B6151}
.pp-shell .pp-sub-link svg{flex:none}
.pp-shell .sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#517d69 transparent}
.pp-shell .content .pp-welcome-banner{background:#173F35;border:1px solid #245A49;min-height:145px;padding:27px 31px;box-shadow:0 8px 29px rgba(23,63,53,.12);border-radius:17px}
.pp-shell .content .pp-welcome-banner h1{color:#fff;font-size:clamp(27px,2.7vw,35px);letter-spacing:-.9px}
.pp-shell .content .pp-welcome-banner p:not(.pp-kicker){color:#DDEDE2;font-size:14px;line-height:1.55}
.pp-shell .content .pp-welcome-banner .pp-kicker{color:#F1C98D;font-size:11px;letter-spacing:.13em}
.pp-shell .content .pp-welcome-banner .pp-banner-art{color:#E6B46A;opacity:.75}
.pp-shell .content .pp-welcome-banner:before{border-color:#FFFFFF10}
.pp-shell .content:has(.pp-welcome-banner){gap:19px}
.pp-shell .content .pp-overview-grid{gap:15px}
.pp-shell .content .pp-overview{padding:20px;border:1px solid #DCE6DF;box-shadow:var(--shadow);min-height:92px;border-radius:15px;background:#fff}
.pp-shell .content .pp-overview small{font-size:13px;color:#52685F}
.pp-shell .content .pp-overview strong{font-size:26px;color:#1D332B}
.pp-shell .content .pp-dashboard-grid{gap:19px}
.pp-shell .content .pp-pet-grid{gap:15px}
.pp-shell .section-head{gap:15px}
.pp-shell .section-head h2{font-size:20px;letter-spacing:-.35px;color:var(--ink)}
.pp-shell .section-head p{font-size:13px;line-height:1.55;color:var(--muted)}
.pp-shell :is(.pp-pet-card,.pp-updates-panel,.pp-key-panel,.pp-fact,.pp-lower-panel,.panel,.pp-shop-card,.pp-admin-head,.pp-admin-stat,.pp-gallery-panel){border-color:#DCE6DF;box-shadow:var(--shadow);border-radius:15px}
.pp-shell .pp-pet-card{background:#fff;padding:15px}
.pp-shell .pp-pet-name{color:#1D332B;font-size:20px}
.pp-shell :is(.pp-pet-small,.pp-pet-bottom){color:#52685F;font-size:13px}
.pp-shell .pp-overview .pp-round{background:#E0EFE7;color:#1C674D}
.pp-shell .pp-quick-grid button{min-height:60px;box-shadow:none;border-color:#DCE6DF;border-radius:13px}
.pp-shell .pp-quick-grid strong{font-size:13px}
.pp-shell .btn.primary{background:#24785E;color:#fff;border-color:#24785E}
.pp-shell .btn.primary:hover{background:#1B634D;border-color:#1B634D}
.pp-shell .btn.soft{background:#E0EFE7;color:#175540}
.pp-shell .btn.light{border-color:#CEDDD2;color:#173F35}
.pp-shell .btn{font-size:14px;min-height:44px;border-radius:11px}
.pp-shell .btn.tiny{min-height:36px;font-size:12px}
.pp-shell .pp-premium-hero{background:linear-gradient(115deg,#173F35,#246C55);border:1px solid #2C6F59}
.pp-shell .pp-premium-hero .pp-kicker{color:#F1CC91}
.pp-shell .pp-tag-shop-page .pp-shop-card{border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.pp-shell .pp-tag-shop-page .pp-shop-art{background:linear-gradient(145deg,#F4F7F3,#E6EFE7)}
.pp-shell .pp-tag-shop-page .pp-shop-card-body p{color:#52685F;font-size:14px}
.pp-shell .pp-tag-shop-page .pp-shop-card-body small{color:#52685F;font-size:12px}
.pp-shell .pp-tag-order-preview{background:#F8FAF7;border:1px solid #DCE6DF}
.pp-shell .pp-tag-shop-heading p,.pp-shell .pp-tag-order-copy p{font-size:14px;color:#52685F}
.pp-shell .footline{font-size:12px;color:#677E71}
.pp-shell :is(.side-link,.pp-more-toggle,.pp-sub-link,button,input,select,textarea):focus-visible,
.pp-evergreen-mobile-nav :is(button,summary):focus-visible{outline:3px solid #D99B3B;outline-offset:2px}
/* Five primary destinations on small screens, with a keyboard-accessible More tray. */
@media(max-width:780px){
 .pp-shell .sidebar{display:none}
 .pp-shell .mobile-top{background:#173F35}
 .pp-shell .main{padding:0 16px 104px}
 .pp-shell .topbar{height:62px;border:0}
 .pp-shell .content{padding-top:18px}
 .pp-shell .content .pp-welcome-banner{padding:21px;min-height:136px}
 .pp-shell .content .pp-welcome-banner h1{font-size:26px}
 .pp-shell .content .pp-welcome-banner p:not(.pp-kicker){font-size:13px}
 .pp-shell .content .pp-overview{padding:12px;min-height:80px}
 .pp-shell .content .pp-overview small{font-size:12px}
 .pp-shell .content .pp-overview strong{font-size:22px}
 .pp-evergreen-mobile-nav.mobile-nav{display:flex;align-items:stretch;gap:0;background:#fff;border-top:1px solid #DCE6DF;box-shadow:0 -5px 20px rgba(17,54,40,.10);padding:6px 8px max(8px,env(safe-area-inset-bottom));height:auto}
 .pp-evergreen-mobile-nav.mobile-nav>button,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more{width:20%;flex:1 1 20%;min-width:0}
 .pp-evergreen-mobile-nav.mobile-nav>button,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:4px 2px;border:0;background:none;color:#52685F;font-size:11px;font-weight:750;line-height:1.2;text-align:center;cursor:pointer;list-style:none}
 .pp-evergreen-mobile-nav.mobile-nav>button>svg,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary>svg{width:21px;height:21px;flex:none}
 .pp-evergreen-mobile-nav.mobile-nav>button>span,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary>span{font-size:11px}
 .pp-evergreen-mobile-nav.mobile-nav>button.active,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary.active,.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more[open]>summary{color:#175F47;background:#EAF5ED;border-radius:10px}
 .pp-evergreen-mobile-nav .pp-mobile-more-panel{position:absolute;bottom:calc(100% + 10px);left:12px;right:12px;border-radius:18px;background:#fff;color:#1D332B;padding:16px;max-height:65vh;overflow-y:auto;box-shadow:0 -12px 45px rgba(21,55,40,.21);border:1px solid #DCE6DF;display:grid;grid-template-columns:1fr 1fr;gap:6px;z-index:25}
 .pp-evergreen-mobile-nav .pp-mobile-more-panel>strong{grid-column:1/-1;font-size:17px;padding:4px 4px 10px;color:#173F35}
 .pp-evergreen-mobile-nav .pp-mobile-more-panel .pp-sub-link{display:flex;align-items:center;gap:9px;min-height:47px;border-radius:11px;border:1px solid #E4ECE5;background:#F8FAF7;color:#254739;text-align:left;font-size:12px;padding:9px;white-space:normal;font-weight:700}
 .pp-evergreen-mobile-nav .pp-mobile-more-panel .pp-sub-link svg{flex:0 0 18px}
}
@media(max-width:520px){
 .pp-shell .pp-quick-grid strong{font-size:12px}
 .pp-shell .content .pp-pet-grid{gap:11px}
 .pp-shell .pp-pet-small,.pp-shell .pp-pet-bottom{font-size:11.5px}
 .pp-shell .pp-overview-grid{gap:8px}
 .pp-evergreen-mobile-nav .pp-mobile-more-panel{grid-template-columns:1fr}
}
/* Explicit dark mode stays usable; QR and uploaded photos retain original color. */
html[data-theme="dark"]{--forest:#173F35;--forest2:#9ED8BA;--cream:#101E19;--paper:#1C3028;--stroke:#355346;--muted:#C0D3C7;--ink:#ECF6EF;--pp-jade:#62B68C}
html[data-theme="dark"] .pp-shell .main-holder{background:#101E19}
html[data-theme="dark"] .pp-shell .content .pp-welcome-banner{background:#173F35!important;border-color:#35634E!important}
html[data-theme="dark"] .pp-shell .content .pp-welcome-banner h1,html[data-theme="dark"] .pp-shell .content .pp-welcome-banner .pp-kicker{color:#F7E3BC!important}
html[data-theme="dark"] .pp-shell .content .pp-welcome-banner p:not(.pp-kicker){color:#DAEEE0!important}
html[data-theme="dark"] .pp-shell .content .pp-overview{background:#1B3027!important;border-color:#355346!important}
html[data-theme="dark"] .pp-shell .content .pp-overview strong{color:#F0F8F1!important}
html[data-theme="dark"] .pp-shell .content .pp-overview small{color:#BED2C6!important}
html[data-theme="dark"] .pp-shell .section-head h2{color:#EEF7F0!important}
html[data-theme="dark"] .pp-shell .btn.primary{background:#357B58!important;border-color:#357B58!important}
html[data-theme="dark"] .pp-evergreen-mobile-nav.mobile-nav{background:#14271F;border-color:#365745}
html[data-theme="dark"] .pp-evergreen-mobile-nav.mobile-nav>button,html[data-theme="dark"] .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary{background:transparent;color:#D2E4D8}
html[data-theme="dark"] .pp-evergreen-mobile-nav.mobile-nav>button.active,html[data-theme="dark"] .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary.active{background:#28543D;color:#E3F4E6}
html[data-theme="dark"] .pp-evergreen-mobile-nav .pp-mobile-more-panel{background:#172E24;color:#ECF6EF;border-color:#3A5947}
html[data-theme="dark"] .pp-evergreen-mobile-nav .pp-mobile-more-panel>strong{color:#F0F8F1}
html[data-theme="dark"] .pp-evergreen-mobile-nav .pp-mobile-more-panel .pp-sub-link{background:#223B2D;color:#E5F4EB;border-color:#41624D}
@media(prefers-reduced-motion:reduce){.pp-shell .btn,.pp-shell .pp-more-chevron{transition:none}}

/* v17.16 mobile More tray: counter the legacy bottom-nav button width/column rules. */
@media(max-width:780px){
 .pp-evergreen-mobile-nav .pp-mobile-more-panel .pp-sub-link{
   width:100%!important;min-width:0;min-height:48px;
   display:flex;flex-direction:row;align-items:center;justify-content:flex-start;
   gap:11px;text-align:left;font-size:13px;
 }
 .pp-evergreen-mobile-nav .pp-mobile-more-panel .pp-sub-link svg{flex:0 0 19px;min-width:19px}
}

/* PawPalio v17.17: private health journal, visit history, and print views. */
.pp-health-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:18px}
.pp-health-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.pp-health-actions .btn{min-height:42px;font-size:13px}
.pp-health-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pp-health-stats>div{padding:12px!important}
.pp-health-stats small{font-size:11px;line-height:1.4}
.pp-health-list-section{margin-top:19px;padding-top:15px;border-top:1px solid var(--stroke)}
.pp-health-subhead h3{font-size:16px;line-height:1.3;margin:0;color:var(--ink)}
.pp-health-subhead p{font-size:13px;line-height:1.5;color:var(--muted);margin:4px 0 13px}
.pp-health-empty{font-size:13px;color:var(--muted);border-radius:12px;border:1px dashed var(--stroke);padding:13px;line-height:1.5;margin:0}
.pp-health-entry .medical-notes{font-size:13px;line-height:1.6;white-space:pre-wrap}
.pp-visit-pill{display:inline-block;white-space:normal;font-size:11px;font-weight:750;border-radius:8px;padding:6px 9px;margin:6px 5px 4px 0;background:#e1f3e7;color:#1d5b3e}
.pp-visit-pill.canceled{background:#f2f2f0;color:#56615a}
.pp-visit-pill.review{background:#fff3df;color:#744f13}
.pp-visit-pill.scheduled{background:#e6f2f6;color:#20566e}
#medical-form .formfield[hidden]{display:none!important}
.pp-health-print-content{background:white;color:#152a21;max-width:185mm;margin:0 auto;font:11pt/1.5 Arial,sans-serif}
.pp-health-print-content header{padding-bottom:12px;border-bottom:2px solid #183f33}
.pp-health-print-content h1{font-size:22pt;margin:4px 0}
.pp-health-print-content header>p{margin:4px 0}
.pp-health-print-brand{font-size:9pt;font-weight:800;letter-spacing:.14em;color:#23543c}
.pp-health-print-notice{background:#f4f8f4;padding:10px;border:1px solid #c9d6cb;font-size:9.5pt}
.pp-health-print-entry{break-inside:avoid;page-break-inside:avoid;padding:10px 0;border-bottom:1px solid #cfdad1}
.pp-health-print-entry h2{font-size:13pt;margin:0 0 4px}
.pp-health-print-entry h2 small{font-size:9pt;font-weight:normal;color:#52685f}
.pp-health-print-entry p{font-size:9.8pt;margin:4px 0}
.pp-health-print-entry div{font-size:10.5pt;white-space:pre-wrap;overflow-wrap:anywhere}
.pp-health-print-content footer{padding:16px 0;font-size:9pt;color:#4d6559}
#pp-health-print{display:none}
@media(max-width:1050px){.pp-health-grid{grid-template-columns:1fr}}
@media(max-width:620px){.pp-health-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-health-actions .btn{flex:1 1 48%}.pp-health-entry .medical-buttons{justify-content:flex-start;padding-left:0}}
html[data-theme="dark"] .pp-health-subhead h3{color:#f3faf5!important}
html[data-theme="dark"] .pp-visit-pill.review{background:#514322!important;color:#fff2cd!important}
html[data-theme="dark"] .pp-visit-pill.completed{background:#254d34!important;color:#d7f5dd!important}
html[data-theme="dark"] .pp-visit-pill.scheduled{background:#254251!important;color:#d1efff!important}
html[data-theme="dark"] .pp-health-empty{color:#d1e4d6!important;border-color:#496456!important}
@media print{
 body.pp-print-health{background:white!important;color:#111!important}
 body.pp-print-health > *:not(#pp-health-print){display:none!important}
 body.pp-print-health #pp-health-print{display:block!important;padding:8mm;margin:0}
 body.pp-print-health #pp-health-print *{color:#111!important;box-shadow:none!important}
 body.pp-print-health #pp-health-print .pp-health-print-content{background:#fff!important;max-width:none}
 body.pp-print-health #pp-health-print .pp-health-print-notice{background:#f7f7f7!important}
}
/* Explicit dark-mode contrast for clinical notes and document lists. */
html[data-theme="dark"] .pp-health-entry .medical-notes{color:#e2f1e5!important}
html[data-theme="dark"] .pp-health-entry .medical-meta{color:#bfd6c5!important}
html[data-theme="dark"] .pp-health-stats small{color:#c6decf!important}
html[data-theme="dark"] .pp-health-documents .medical-doc-title small{color:#bfd6c5!important}
html[data-theme="dark"] .pp-health-documents .medical-privacy{color:#bfd6c5!important}
html[data-theme="dark"] .pp-health-entry .medical-due.future{color:#d9f2e6!important;background:#254d42!important}
html[data-theme="dark"] .pp-visit-pill.canceled{background:#34433d!important;color:#e6f1e9!important}

/* v17.19 — a single Today’s Care panel; keep quick logs distinct from schedule completion. */
.pp-today-panel .section-head{flex-wrap:wrap;min-width:0}
.pp-today-panel .pp-card-title,.pp-today-panel .pp-card-title>div{min-width:0}
.pp-care-quick-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin:15px 0 0}
.pp-care-quick-head h3,.pp-care-plan-head h3{font-size:15px;color:var(--ink);margin:0;line-height:1.35}
.pp-care-quick-head span,.pp-care-plan-head p{font-size:11px;line-height:1.5;color:var(--muted);margin:3px 0 0}
.pp-today-panel .pp-care-action{min-width:0}
.pp-care-schedule-block{margin:17px 0 0;padding:17px 0 14px;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);min-width:0}
.pp-care-plan-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.pp-care-plan-head>div{flex:1 1 170px;min-width:0}
.pp-care-plan-head .btn{flex:0 0 auto}
.pp-care-schedule-block .pp-schedule-summary{flex-wrap:wrap;min-width:0}
.pp-care-schedule-block .pp-schedule-row{min-width:0}
.pp-care-schedule-block .pp-schedule-copy{min-width:0;overflow-wrap:anywhere}
.pp-care-schedule-block .pp-schedule-controls{min-width:0}
.pp-care-schedule-block .pp-schedule-controls .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.pp-today-panel .pp-today-history{margin-top:15px;border-top:0}
html[data-theme="dark"] .pp-care-quick-head h3,
html[data-theme="dark"] .pp-care-plan-head h3{color:#edf6ee}

/* v17.19 — fix off-screen modal buttons on phones without hiding any actions. */
.modal-backdrop{box-sizing:border-box;max-width:100vw}
.modal,.modal.wide{box-sizing:border-box;min-width:0;max-width:100%}
.modal .modal-top,.modal .modal-top>div{min-width:0}
.modal h2{overflow-wrap:anywhere}
.modal .modal-actions{flex-wrap:wrap;min-width:0}
.modal .modal-actions>.btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
.pp-premium-modal{min-width:0;max-width:100%}
.pp-premium-modal .modal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.pp-premium-modal .modal-actions>.btn{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:620px){
 .modal-backdrop{padding:12px;align-items:center}
 .modal,.modal.wide{width:100%;max-height:calc(100dvh - 24px);overflow-x:hidden;padding:20px 16px}
 .modal .modal-actions,.pp-premium-modal .modal-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;justify-content:stretch}
 .modal .modal-actions>.btn,.pp-premium-modal .modal-actions>.btn{width:100%;min-height:44px;margin:0}
 .pp-today-panel .pp-care-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pp-care-quick-head{display:block}
 .pp-care-plan-head .btn{max-width:100%}
 .pp-care-schedule-block .pp-schedule-row{grid-template-columns:55px minmax(0,1fr);gap:8px}
 .pp-care-schedule-block .pp-schedule-controls{grid-column:2;justify-content:flex-start}
}

/* v17.20 – accessible mobile care planner and consistent touch targets. */
.pp-profile-planner .pp-fold-body,.pp-profile-planner .pp-week-panel{min-width:0}
.pp-profile-planner .pp-week-panel{padding:2px 1px 4px!important;margin:0!important;background:transparent}
.pp-profile-planner .pp-week-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 12px;min-width:0}
.pp-profile-planner .pp-week-hint{font-size:12px;line-height:1.4;color:var(--muted)}
.pp-profile-planner .pp-week-nav{display:flex;gap:7px;justify-content:flex-end;min-width:0}
.pp-profile-planner .pp-week-nav .btn{min-width:42px;min-height:42px;padding:8px 11px}
.pp-profile-planner .pp-week-meta{background:#eaf2eb;border-color:#cddfd1;flex-wrap:wrap;line-height:1.5;overflow-wrap:anywhere}
.pp-profile-planner .pp-week-meta strong{color:#173d2e;font-size:14px}
.pp-profile-planner .pp-week-meta span{color:#3a5b49;font-size:12px}
.pp-profile-planner .pp-week-days{gap:7px;min-width:0}
.pp-profile-planner .pp-week-day{
 box-sizing:border-box;display:grid;align-content:center;justify-items:center;gap:5px;min-width:0;min-height:78px;
 background:#f4f7f1;border:1px solid #b8cfc0;color:#203d32;border-radius:12px;
 padding:10px 5px;font:inherit;cursor:pointer;line-height:1.2;transition:background .15s,border-color .15s
}
.pp-profile-planner .pp-week-day span{color:#324d40;font-size:12px;font-weight:650}
.pp-profile-planner .pp-week-day strong{color:#203d32;font-size:19px;font-weight:850}
.pp-profile-planner .pp-week-day small{color:#496357;font-size:11px;line-height:1.3;font-weight:650}
.pp-profile-planner .pp-week-day.today:not(.selected){border:2px solid #47856a}
.pp-profile-planner .pp-week-day.selected{background:#215c48;border:2px solid #215c48;color:#fff}
.pp-profile-planner .pp-week-day.selected span,
.pp-profile-planner .pp-week-day.selected strong,
.pp-profile-planner .pp-week-day.selected small{color:#fff}
.pp-profile-planner .pp-week-day:hover{border-color:#2f7453}
.pp-profile-planner .pp-week-day:focus-visible{outline:3px solid #e8b65c;outline-offset:2px}
.pp-profile-planner .pp-week-selected{min-width:0}
.pp-profile-planner .pp-week-task{min-width:0}
.pp-profile-planner .pp-week-task-actions .btn{white-space:normal;overflow-wrap:anywhere;min-height:44px}
html[data-theme="dark"] .pp-profile-planner .pp-week-meta{background:#254334;border-color:#456d53}
html[data-theme="dark"] .pp-profile-planner .pp-week-meta strong{color:#f0f7ef}
html[data-theme="dark"] .pp-profile-planner .pp-week-meta span{color:#d2e7d6}
html[data-theme="dark"] .pp-profile-planner .pp-week-day{background:#263e31;border-color:#5a7764;color:#eef6ee}
html[data-theme="dark"] .pp-profile-planner .pp-week-day span,
html[data-theme="dark"] .pp-profile-planner .pp-week-day strong{color:#f0f7ef}
html[data-theme="dark"] .pp-profile-planner .pp-week-day small{color:#d1e6d7}
html[data-theme="dark"] .pp-profile-planner .pp-week-day.today:not(.selected){border:2px solid #97d9b0}
html[data-theme="dark"] .pp-profile-planner .pp-week-day.selected{background:#307353;border:2px solid #a6dec0}
html[data-theme="dark"] .pp-profile-planner .pp-week-day.selected span,
html[data-theme="dark"] .pp-profile-planner .pp-week-day.selected strong,
html[data-theme="dark"] .pp-profile-planner .pp-week-day.selected small{color:#fff}
@media(max-width:620px){
 .pp-shell .pp-profile-planner .pp-fold-body{padding:11px 12px 14px}
 .pp-profile-planner .pp-week-toolbar{align-items:flex-start}
 .pp-profile-planner .pp-week-nav{width:100%;justify-content:flex-start}
 .pp-profile-planner .pp-week-days{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(66px,22%);
  grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;padding:4px 2px 9px;margin:0;gap:8px
 }
 .pp-profile-planner .pp-week-day{scroll-snap-align:center;min-height:78px;padding:10px 5px}
 .pp-profile-planner .pp-week-selected{padding:0 11px}
 .pp-profile-planner .pp-week-selected-head{flex-wrap:wrap}
 .pp-profile-planner .pp-week-task-actions{min-width:0}
 .pp-profile-planner .pp-week-task-copy{overflow-wrap:anywhere}
 .pp-shell .pp-evergreen-mobile-nav.mobile-nav{padding-bottom:max(9px,env(safe-area-inset-bottom))}
 .pp-shell .pp-evergreen-mobile-nav.mobile-nav>button,
 .pp-shell .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary{min-height:54px}
}
@media(prefers-reduced-motion:reduce){.pp-profile-planner .pp-week-day{transition:none}}

/* Keep the full schedule safety explanation available without a long mobile footer. */
.pp-profile-planner .pp-week-notes{margin:14px 0 3px;min-width:0;border-top:1px solid var(--stroke);padding-top:10px}
.pp-profile-planner .pp-week-notes>summary{color:var(--muted);font-size:12px;line-height:1.5;font-weight:700;cursor:pointer;min-height:42px;display:flex;align-items:center;gap:7px}
.pp-profile-planner .pp-week-notes>summary:before{content:'▸';font-size:14px;display:inline-block}
.pp-profile-planner .pp-week-notes[open]>summary:before{content:'▾'}
.pp-profile-planner .pp-week-notes .pp-care-disclaimer{font-size:11px;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}
.pp-profile-planner .pp-week-task-actions{gap:8px}
.pp-profile-planner .pp-week-selected-head strong{font-size:15px;line-height:1.4}
.pp-profile-planner .pp-week-selected-head small{font-size:12px}
@media(max-width:620px){
 .pp-profile-planner .pp-week-meta{padding:11px 12px}
 .pp-profile-planner .pp-week-task{row-gap:9px}
 .pp-profile-planner .pp-week-task-actions{gap:8px;flex-wrap:wrap}
 .pp-profile-planner .pp-week-task-actions .btn{max-width:100%}
}

/* v17.21 draft — private owner QR review interface. */
.pp-qr-v2{margin:18px 0 4px;padding:16px 0 0;border-top:1px solid var(--stroke);min-width:0}
.pp-qr-v2 h3{font-size:16px;line-height:1.4;margin:16px 0 8px}
.pp-qr-v2 .pp-smartqr-records{max-height:220px;overflow-y:auto;padding:5px 0;min-width:0}
.pp-qr-review{display:grid;gap:10px}
.pp-qr-review-card{background:var(--surface,#fff);border:1px solid var(--stroke);border-radius:12px;padding:14px;min-width:0}
.pp-qr-review-card p{white-space:pre-line;overflow-wrap:anywhere}
.pp-qr-review-head{display:flex;align-items:baseline;justify-content:space-between;gap:7px;flex-wrap:wrap}
.pp-qr-review-head small{color:var(--muted)}
.pp-qr-review-actions{display:flex;gap:9px;flex-wrap:wrap}
.pp-qr-review-actions .btn{min-height:44px;min-width:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:620px){.pp-qr-review-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .pp-qr-review-actions .btn{width:100%}}

/* v17.22 QR care password visibility, readable saved-code status, and mobile tap targets. */
.pp-qr-password-field{position:relative;width:100%;min-width:0}
.pp-qr-password-field input{
 width:100%;box-sizing:border-box;min-height:48px;padding-right:60px!important
}
.pp-qr-password-field .pp-qr-eye{
 appearance:none;position:absolute;inset-block:0;right:4px;margin:auto 0;
 display:flex;align-items:center;justify-content:center;min-width:44px;
 min-height:44px;max-height:44px;border-radius:11px;border:1px solid transparent;
 color:#234a3b;background:transparent;cursor:pointer;z-index:1
}
.pp-qr-password-field .pp-qr-eye:hover{background:rgba(74,140,99,.13)}
.pp-qr-password-field .pp-qr-eye:focus-visible,
.pp-qr-saved-eye:focus-visible{outline:3px solid #d8ac57;outline-offset:2px}
.pp-qr-secret-row{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:12px;min-width:0;margin:12px 0 18px;padding:13px 14px;
 border:1px solid var(--stroke,#b8cec3);border-radius:12px
}
.pp-qr-secret-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 190px;overflow-wrap:anywhere}
.pp-qr-secret-copy strong{font-size:14px;line-height:1.35;color:var(--text,#e9f3ec)}
.pp-qr-secret-copy small{font-size:12px;line-height:1.5;color:var(--muted,#b1c5b8)}
.pp-qr-saved-eye{
 display:flex;align-items:center;justify-content:center;gap:7px;
 min-height:44px;padding:8px 13px;border-radius:10px;
 border:1px solid var(--stroke,#b8cec3);background:var(--surface,#254034);
 color:inherit;font:inherit;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap
}
.pp-qr-saved-eye:hover{filter:brightness(1.1)}
html[data-theme="dark"] .pp-qr-password-field .pp-qr-eye{color:#ebf7ee}
html[data-theme="dark"] .pp-qr-password-field .pp-qr-eye:hover{background:rgba(255,255,255,.12)}
@media(max-width:620px){
 .pp-qr-secret-row{padding:12px;gap:9px}
 .pp-qr-saved-eye{min-width:84px}
}

/* v17.23 — dedicated owner QR Care & Review Center */
/* v17.24: consistent QR-center palette in light and dark themes.
   Dark mode previously inherited pale --ink while --card/--surface fell back to
   WHITE, making headings, cards and form descriptions almost invisible. */
.pp-qr-center{
 max-width:1050px;margin:0 auto 30px;min-width:0;
 --card:#ffffff;
 --surface:#edf5ee;
 --ink:#193b2c;
 --text:#193b2c;
 --muted:#456352;
 --stroke:#b4cab9;
}
html[data-theme="dark"] .pp-qr-center{
 --card:#1c3129;
 --surface:#294537;
 --ink:#f0f8f2;
 --text:#f0f8f2;
 --muted:#c5d9cb;
 --stroke:#4b7258;
}
.pp-qr-center>.pp-back{
 color:var(--ink)!important;
 min-height:44px;display:inline-flex;align-items:center;gap:5px;
}
.pp-qr-center .pp-qr-center-hero,
.pp-qr-center .pp-qr-center-hero :is(h1,p){color:#fff}
.pp-qr-center .pp-qr-center-hero .pp-kicker{color:#d3edda}
.pp-qr-center .pp-qr-center-tools select{
 color-scheme:light;background-color:#f8faf7;color:#173b2c;
}
.pp-qr-center .pp-qr-center-section :is(h2,h3,strong,label),
.pp-qr-center .pp-qr-center-status>span,
.pp-qr-center .pp-qr-center-card>strong{color:var(--ink)}
.pp-qr-center .pp-qr-center-card>span,
.pp-qr-center .pp-qr-center-section .formhint,
.pp-qr-center .pp-qr-center-section .pp-qr-secret-copy small{color:var(--muted)}
.pp-qr-center .pp-qr-center-card{background:var(--surface);border-color:var(--stroke)}
.pp-qr-center .pp-qr-center-section,
.pp-qr-center .pp-qr-center-status>span,
.pp-qr-center .pp-qr-center-tabs button:not(.active){background:var(--card);border-color:var(--stroke)}
.pp-qr-center .pp-qr-review-card,
.pp-qr-center .pp-qr-saved-eye{background:var(--surface);border-color:var(--stroke)}
.pp-qr-center .pp-qr-secret-copy strong{color:var(--text)}
html[data-theme="dark"] .pp-qr-center :is(.pp-qr-center-status>span,.pp-qr-center-section,.pp-qr-center-tabs button:not(.active),.pp-qr-center-card){color:var(--ink)}
html[data-theme="dark"] .pp-qr-center .pp-qr-center-card>span{color:var(--muted)}
html[data-theme="dark"] .pp-qr-center .pp-qr-center-status .pp-qr-count-active{background:#295b40;color:#e5fae9;border-color:#82b88e}
.pp-qr-center [hidden]{display:none!important}
.pp-qr-center-hero{background:linear-gradient(120deg,#235c48,#367b5b);border-radius:20px;padding:25px 28px;color:#fff;display:flex;justify-content:space-between;gap:22px;align-items:flex-end;margin:12px 0 14px}
.pp-qr-center-hero .pp-kicker{color:#c9efcf;letter-spacing:1.8px;font-size:11px;font-weight:800;margin:0 0 8px}
.pp-qr-center-hero h1{font-size:clamp(23px,3vw,34px);line-height:1.15;color:#fff;margin:0 0 9px}
.pp-qr-center-hero p{color:#e0f2e5;line-height:1.55;font-size:13px;max-width:640px;margin:0}
.pp-qr-center-tools{display:flex;flex-direction:column;align-items:stretch;gap:5px;flex:0 0 200px}
.pp-qr-center-tools label{font-size:11px;color:#e0f2e5;font-weight:750}
.pp-qr-center-tools select{min-height:44px;max-width:100%;border:1px solid #a8ceb4;background:#f8faf7;color:#163e30;border-radius:10px;padding:8px 10px;font:inherit;font-weight:750}
.pp-qr-center-tools .btn{min-height:44px;border:1px solid #a8ceb4;color:#eaf7ed;background:transparent}
.pp-qr-center-status{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}
.pp-qr-center-status>span{display:flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border-radius:10px;border:1px solid var(--stroke);background:var(--card,#fff);color:var(--ink);font-size:12px}
.pp-qr-center-status .pp-qr-count-active{border-color:#82b88e;background:#dff1e2;color:#174730}
html[data-theme="dark"] .pp-qr-center-status .pp-qr-count-active{background:#295b40;color:#e5fae9}
.pp-qr-center-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;padding:5px 2px 12px;margin-bottom:12px}
.pp-qr-center-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:48px;padding:10px 13px;border:1px solid var(--stroke);border-radius:12px;background:var(--card,#fff);color:var(--ink);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.pp-qr-center-tabs button.active{background:#256b4e;border-color:#256b4e;color:#fff}
.pp-qr-center-tabs button b{border-radius:100px;background:#fff;color:#256b4e;padding:2px 7px;font-size:11px}
.pp-qr-center-tabs button:focus-visible,.pp-qr-center-card:focus-visible,.pp-qr-pending-dashboard button:focus-visible{outline:3px solid #dba95c;outline-offset:2px}
.pp-qr-center-section{padding:23px 24px;border-radius:17px;background:var(--card,#fff);border:1px solid var(--stroke);color:var(--ink);min-width:0}
.pp-qr-center-section h2{font-size:21px;line-height:1.3;margin:0 0 10px;color:var(--ink)}
.pp-qr-center-section h3{font-size:16px;margin:17px 0 10px;color:var(--ink)}
.pp-qr-center-section p{line-height:1.65;overflow-wrap:anywhere}
.pp-qr-center-section .formfield{max-width:580px}
.pp-qr-center-section .formfield label,.pp-qr-center-section .formhint{font-size:12px}
.pp-qr-center-section .formfield input{font-size:15px;min-height:48px}
.pp-qr-center-section .pp-smartqr-records,.pp-qr-center-section .pp-smartqr-options{max-height:340px;min-width:0}
.pp-qr-center-section .setting-check{min-height:54px}
.pp-qr-center-section .pp-qr-secret-row{max-width:580px}
.pp-qr-page-actions{display:flex;justify-content:flex-start;margin-top:19px;gap:10px;flex-wrap:wrap}
.pp-qr-page-actions .btn{min-height:46px;white-space:normal;text-align:center}
.pp-qr-center-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.pp-qr-center-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:11px;border:1px solid var(--stroke);border-radius:14px;background:var(--surface,#f0f7f0);color:var(--ink);padding:18px;min-width:0;min-height:149px;text-align:left;font:inherit;cursor:pointer}
.pp-qr-center-card>strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.pp-qr-center-card>span{font-size:12px;line-height:1.55;color:var(--muted)}
.pp-qr-center-card svg:last-child{position:absolute;right:15px;top:16px}
.pp-qr-center .pp-qr-review-card{padding:16px;margin-bottom:0;background:var(--surface,#f7faf7)}
.pp-qr-center .pp-qr-review-head{gap:10px}
.pp-qr-center .pp-qr-review-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}
.pp-qr-center .pp-qr-review-heading p{margin:5px 0}
.pp-qr-center .pp-qr-review-heading .btn{min-height:44px}
.pp-qr-queue-label{font-size:13px;font-weight:750}
.pp-qr-pending-dashboard{display:flex;align-items:center;gap:14px;padding:17px;margin:0 0 16px;border:1px solid #89c39d;background:#e6f3e8;border-radius:14px;color:#194735;min-width:0}
.pp-qr-pending-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;background:#c9e8d1;border-radius:12px}
.pp-qr-pending-dashboard>div{flex:1;min-width:0}
.pp-qr-pending-dashboard strong{font-size:15px}
.pp-qr-pending-dashboard p{font-size:13px;line-height:1.45;margin:5px 0}
.pp-qr-pending-dashboard small{font-size:11px;line-height:1.45;display:block}
.pp-qr-pending-dashboard .btn{min-height:44px;white-space:normal}
.pp-qr-menu-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;min-height:19px;padding:2px 5px;border-radius:999px;background:#337e58;color:#fff;font-size:11px;font-weight:850}
html[data-theme="dark"] .pp-qr-pending-dashboard{background:#234834;color:#e1f5e6;border-color:#4d9669}
html[data-theme="dark"] .pp-qr-pending-icon{background:#35684d}
html[data-theme="dark"] .pp-qr-menu-count{background:#57a77e;color:#082318}
@media(max-width:700px){
 .pp-qr-center-hero{padding:21px 17px;align-items:stretch;flex-direction:column;gap:16px}
 .pp-qr-center-tools{flex:auto;width:100%}
 .pp-qr-center-tools select{width:100%}
 .pp-qr-center-cards{grid-template-columns:1fr}
 .pp-qr-center-section{padding:17px 14px}
 .pp-qr-center-tabs{margin-inline:-2px}
 .pp-qr-center-tabs button{min-height:48px;padding:10px 12px}
 .pp-qr-pending-dashboard{align-items:flex-start;flex-wrap:wrap;padding:14px;gap:10px}
 .pp-qr-pending-dashboard .btn{width:100%}
 .pp-qr-page-actions .btn{width:100%}
}

.pp-qr-center .pp-qr-view-fields{border:0;margin:0;padding:0;min-width:0}
.pp-qr-center .pp-qr-view-fields:disabled{opacity:.65}

/* Mobile Care Center: every tab remains visible, instead of hiding Documents
   and Contributors beyond a horizontal scroll (observed on narrow iPhones). */
@media(max-width:700px){
 .pp-qr-center .pp-qr-center-tabs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;overflow:visible;margin:0 0 14px;padding:2px 0;
 }
 .pp-qr-center .pp-qr-center-tabs button{
  min-width:0;width:100%;white-space:normal;text-align:center;
  padding:11px 7px;min-height:48px;line-height:1.3;gap:6px;
 }
 .pp-qr-center .pp-qr-center-tabs #qr-tab-overview{grid-column:1/-1}
}
.pp-qr-center .pp-qr-center-card:hover{border-color:#679d7c}
html[data-theme="dark"] .pp-qr-center .pp-qr-center-card:hover{border-color:#a6d7b8}
.pp-qr-center .pp-qr-center-tabs button.active{
 background:#256b4e;color:#fff;border-color:#256b4e;
}


/* v17.25 — polish the existing owner setup guide; no second wizard. */
.pp-start-guide{align-items:flex-start}
.pp-start-guide>div:first-child{flex:1 1 290px;min-width:0}
.pp-start-guide .pp-setup-actions{flex:1 1 350px;min-width:0;align-items:flex-start}
.pp-start-guide .pp-setup-actions>.btn{min-height:44px;white-space:normal;line-height:1.3;text-align:left}
.pp-start-guide .pp-setup-explore{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding-top:12px;margin-top:5px;border-top:1px solid #b8d9c6}
.pp-start-guide .pp-setup-explore strong{font-size:12px;color:#214f3c;width:100%}
.pp-start-guide .pp-setup-explore .btn{min-height:44px;white-space:normal}
.pp-start-guide .pp-setup-actions>.pp-dismiss-setup{min-height:44px;margin-left:auto}
html[data-theme="dark"] .pp-start-guide .pp-setup-explore{border-color:#476d54}
html[data-theme="dark"] .pp-start-guide .pp-setup-explore strong{color:#d7f0df}
html[data-theme="dark"] .pp-start-guide .pp-setup-done{color:#c6ebd3}
@media(max-width:600px){
 .pp-start-guide .pp-setup-actions{flex-basis:100%}
 .pp-start-guide .pp-setup-explore{align-items:stretch;flex-direction:column}
 .pp-start-guide .pp-setup-explore .btn{width:100%;text-align:center}
 .pp-start-guide .pp-setup-actions>.btn{text-align:center}
}

/* v17.26 — QR care load-state retries. These are owner-only interface cues, not access grants. */
.pp-qr-center .pp-qr-load-notice{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:10px;margin:0 0 14px;padding:13px 15px;line-height:1.5;
 background:var(--surface);border:1px solid var(--stroke);color:var(--ink);border-radius:11px;
}
.pp-qr-center .pp-qr-inline-retry{
 min-height:44px;white-space:normal;flex:0 0 auto;
 background:var(--card);border:1px solid var(--stroke);color:var(--ink);
}
.pp-qr-center .pp-qr-inline-retry:focus-visible{outline:3px solid #dba95c;outline-offset:2px}
@media(max-width:600px){
 .pp-qr-center .pp-qr-inline-retry{width:100%}
}


/* v17.27: opt-in QR Care emails reuse the existing reminder control. */
.pp-qr-email-settings{margin-top:-8px}
.pp-qr-email-settings .reminder-content{flex:1;min-width:0}
.pp-qr-email-settings .notice{margin-top:8px;font-size:12px}
.pp-qr-email-settings .reminder-control{min-width:70px}
html[data-theme="dark"] .pp-qr-email-settings{background:#1b3028;border-color:#486554}
html[data-theme="dark"] .pp-qr-email-settings .reminder-content h2{color:#edf9f0}
html[data-theme="dark"] .pp-qr-email-settings .reminder-content p,
html[data-theme="dark"] .pp-qr-email-settings .reminder-content small,
html[data-theme="dark"] .pp-qr-email-settings .reminder-control,
html[data-theme="dark"] .pp-qr-email-settings .eyebrow{color:#c9e2d1}
html[data-theme="dark"] .pp-qr-email-settings .notice{background:#294333;color:#eef7f0;border:1px solid #567661}
@media(max-width:600px){
 .pp-qr-email-settings{padding:14px;gap:10px;align-items:flex-start}
 .pp-qr-email-settings .reminder-control{flex:0 0 64px}
}


/* v17.29 · Private Pet Passport · isolated owner-only, opt-in printable view */
.pp-passport-action{border:1px solid #30634b!important;background:#edf7ee!important;color:#17412f!important;font-weight:750!important}
.pp-passport-action:hover{background:#dbeddc!important}
.pp-passport-controls{margin:0 0 17px}
.pp-passport-guide{padding:15px 17px;background:#eaf4eb;color:#214631;border:1px solid #b6d1bc;border-radius:14px}
.pp-passport-guide strong{display:block;font-size:15px}
.pp-passport-guide p{margin:5px 0 0;font-size:13px;line-height:1.6;color:#365d46}
.pp-passport-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
.pp-passport-option{display:flex;gap:11px;align-items:center;min-width:0;padding:12px 13px;border:1px solid #c5d5c8;border-radius:11px;background:#fff;color:#1f4534;font-size:13px;font-weight:650;cursor:pointer}
.pp-passport-option input{width:20px;height:20px;accent-color:#225b41;flex:none}
.pp-passport-option:has(input:checked){background:#e7f4e9;border-color:#528468}
.pp-passport-option:has(input:disabled){opacity:.65;cursor:not-allowed}
.pp-passport-option small{margin-left:auto;font-size:10px}
.pp-passport-privacy{font-size:12px;color:var(--muted);line-height:1.65}
.pp-passport-preview{border:1px solid #c6d8c8;border-radius:18px;overflow:hidden;background:#f5f8f3;padding:14px}
.pp-passport-paper{max-width:735px;margin:auto;background:#fff;color:#17392b;border-radius:11px;box-shadow:0 4px 26px #183c2315;padding:29px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.pp-passport-header{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:2px solid #a2c7aa;padding-bottom:21px;margin-bottom:18px}
.pp-passport-kicker{font-size:10px;font-weight:850;letter-spacing:.14em;color:#417958}
.pp-passport-header h2{font-size:clamp(29px,5vw,40px);line-height:1.15;letter-spacing:-.035em;color:#143a2a;margin:8px 0 3px}
.pp-passport-header p{font-size:12px;color:#50725c;margin:0}
.pp-passport-photo{height:110px;width:110px;object-fit:cover;border-radius:16px;border:2px solid #cde1d0}
.pp-passport-symbol{display:grid;place-items:center;width:88px;height:88px;flex:none;background:#e7f3e8;border:1px solid #cee3d3;border-radius:18px;font-size:37px}
.pp-passport-section{padding:10px 0;break-inside:avoid;page-break-inside:avoid}
.pp-passport-section h3{color:#275d40;font-size:12px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 9px}
.pp-passport-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 13px;margin:0}
.pp-passport-fact{margin:0;padding:10px;border-radius:7px;background:#f2f7f2;border:1px solid #e2eee4}
.pp-passport-fact dt{font-size:10px;text-transform:uppercase;color:#4f7360;letter-spacing:.04em;font-weight:800}
.pp-passport-fact dd{font-size:13px;color:#1b3d2c;margin:4px 0 0;white-space:pre-wrap}
.pp-passport-records{list-style:none;margin:0;padding:0}
.pp-passport-records li{padding:9px 1px;border-bottom:1px solid #dfe9e1;display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:space-between}
.pp-passport-records strong{font-size:12px;color:#15392a}
.pp-passport-records span{font-size:11px;color:#466e56}
.pp-passport-empty{font-size:12px;color:#567261}
.pp-passport-disclaimer{border-top:1px solid #cddfd1;margin-top:23px;padding-top:14px;font-size:10px;line-height:1.6;color:#526a5b}
.pp-passport-disclaimer strong{color:#365e46}
.pp-passport-disclaimer p{margin:5px 0}
html[data-theme="dark"] .pp-passport-guide{background:#243f32;border-color:#527b60;color:#e5f4e9}
html[data-theme="dark"] .pp-passport-guide p{color:#c8e2cc}
html[data-theme="dark"] .pp-passport-option{background:#203c30;border-color:#4e705b;color:#e9f5ea}
html[data-theme="dark"] .pp-passport-option:has(input:checked){background:#355a41}
html[data-theme="dark"] .pp-passport-preview{background:#173226;border-color:#4a7254}
html[data-theme="dark"] .pp-passport-paper,html[data-theme="dark"] .pp-passport-paper *{color:#17392b}
html[data-theme="dark"] .pp-passport-paper .pp-passport-header h2{color:#143a2a}
html[data-theme="dark"] .pp-passport-paper .pp-passport-kicker{color:#417958}
html[data-theme="dark"] .pp-passport-paper .pp-passport-header p{color:#50725c}
html[data-theme="dark"] .pp-passport-paper .pp-passport-section h3{color:#275d40}
html[data-theme="dark"] .pp-passport-paper .pp-passport-fact dt{color:#4f7360}
html[data-theme="dark"] .pp-passport-paper .pp-passport-fact dd{color:#1b3d2c}
html[data-theme="dark"] .pp-passport-paper .pp-passport-records span{color:#466e56}
html[data-theme="dark"] .pp-passport-paper .pp-passport-disclaimer{color:#526a5b}
@media(max-width:620px){
 .pp-passport-options,.pp-passport-facts{grid-template-columns:1fr}
 .pp-passport-preview{padding:8px}
 .pp-passport-paper{padding:17px}
 .pp-passport-header{align-items:flex-start}
 .pp-passport-photo{width:78px;height:78px}
 .pp-passport-symbol{width:65px;height:65px;font-size:30px}
 .pp-passport-records li{flex-direction:column}
}
@media print{
 @page{size:auto;margin:11mm}
 body.pp-print-passport{background:white!important;color:#111!important}
 body.pp-print-passport > *:not(#pp-passport-print){display:none!important}
 body.pp-print-passport #pp-passport-print{display:block!important;margin:0!important;padding:0!important}
 body.pp-print-passport #pp-passport-print .pp-passport-paper{max-width:none;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;font:11pt/1.4 Arial,sans-serif}
 body.pp-print-passport #pp-passport-print .pp-passport-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.pp-print-passport #pp-passport-print .pp-passport-section{break-inside:avoid}
 body.pp-print-passport #pp-passport-print *{color:#111!important;box-shadow:none!important}
 body.pp-print-passport #pp-passport-print .pp-passport-fact{border:1px solid #bbb!important;background:#fafafa!important}
}


/* PawPalio v17.30 · private owner-crafted missing pet recovery flyer */
.pp-recovery-open{background:#fdf1e1!important;border:1px solid #c79053!important;color:#69441d!important;font-weight:750!important}
.pp-recovery-open:hover{background:#f7e3c6!important}
.pp-recovery-guide{background:#eef4e9;border:1px solid #c9dbc5;border-radius:14px;padding:15px 18px;margin-bottom:14px}
.pp-recovery-guide strong{font-size:15px;color:#264734}
.pp-recovery-guide p{font-size:13px;color:#45644b;line-height:1.6;margin:5px 0 0}
.pp-recovery-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-bottom:17px}
.pp-recovery-fields label{min-width:0;display:flex;flex-direction:column;gap:6px;color:var(--ink);font-size:12px;font-weight:750}
.pp-recovery-fields input,.pp-recovery-fields textarea{width:100%;padding:12px;background:var(--paper);color:var(--ink);border:1px solid var(--stroke);border-radius:10px;font-size:14px;font-weight:450}
.pp-recovery-fields textarea{resize:vertical;line-height:1.55}
.pp-recovery-span{grid-column:1/-1}
.pp-recovery-choices{display:grid;gap:8px;margin:0 0 12px;border:1px solid var(--stroke);border-radius:12px;padding:12px 15px}
.pp-recovery-choices legend{padding:0 6px;font-weight:750;font-size:13px}
.pp-recovery-choices label{font-size:13px;display:flex;gap:10px;align-items:center;font-weight:600;line-height:1.5}
.pp-recovery-choices input{width:18px;height:18px;flex:none;accent-color:#225d46}
.pp-recovery-choices small{color:var(--muted);font-size:11px}
.pp-recovery-caution{font-size:12px;line-height:1.65;color:var(--muted);margin:12px 0}
.pp-recovery-preview{background:#f5f2e9;border:1px solid #e5ddce;border-radius:15px;padding:13px}
.pp-recovery-flyer{max-width:760px;margin:auto;background:#fff;color:#182c24;overflow-wrap:anywhere;padding:26px;border:3px solid #173e2e;border-radius:9px;font-family:Arial,sans-serif}
.pp-recovery-flyer header{text-align:center;border-bottom:4px solid #df853c;padding:5px 0 17px}
.pp-recovery-kicker{font-size:10px;letter-spacing:.15em;font-weight:800;color:#345847}
.pp-recovery-flyer header h2{font-size:clamp(36px,8vw,68px);font-weight:900;line-height:1.07;letter-spacing:-.04em;margin:8px 0;color:#a33125}
.pp-recovery-flyer header p{font-size:16px;color:#264936;font-weight:750;margin:3px 0}
.pp-recovery-identity{display:flex;align-items:center;gap:18px;margin:20px 0}
.pp-recovery-pet-photo{width:205px;height:205px;flex:none;object-fit:cover;border-radius:13px}
.pp-recovery-paw{width:155px;height:155px;flex:none;display:grid;place-items:center;font-size:68px;color:#234833;background:#ebf2e9;border-radius:13px}
.pp-recovery-identity h3{font-size:34px;color:#1f4834;margin:0}
.pp-recovery-identity p{color:#334e41;font-size:13px;line-height:1.6;margin:5px 0}
.pp-recovery-description{background:#f4f5ec;border-radius:11px;padding:14px 18px;margin:12px 0}
.pp-recovery-description h4{font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 6px;color:#405f46}
.pp-recovery-description p{font-size:14px;white-space:pre-wrap;line-height:1.6;margin:0}
.pp-recovery-contact{display:flex;gap:18px;align-items:center;justify-content:center;padding:14px;border:2px solid #b5d1bc;border-radius:13px;min-height:100px}
.pp-recovery-qr{text-align:center;max-width:48%;overflow-wrap:anywhere}
.pp-recovery-qr svg{max-width:100%;height:auto;display:block;margin:auto}
.pp-recovery-qr strong{font-size:13px;display:block;margin:6px 0 3px}
.pp-recovery-qr small{font-size:10px;color:#4a6655}
.pp-recovery-contact-text{flex:1;min-width:0}
.pp-recovery-contact-text strong{font-size:11px;color:#33513e;letter-spacing:.05em}
.pp-recovery-contact-text p{white-space:pre-wrap;font-size:16px;line-height:1.55;font-weight:750;color:#203c2d}
.pp-recovery-missing-contact,.pp-recovery-required{color:#895b22;background:#fff4df;padding:10px;border-radius:9px;font-size:12px;line-height:1.5}
.pp-recovery-flyer footer{border-top:1px solid #c4d7c7;margin-top:20px;padding-top:13px;display:grid;gap:4px;text-align:center}
.pp-recovery-flyer footer strong{color:#213b2b;font-size:12px}
.pp-recovery-flyer footer span{font-size:10px;color:#546d58}
html[data-theme="dark"] .pp-recovery-guide{background:#293e30;border-color:#59725f}
html[data-theme="dark"] .pp-recovery-guide strong{color:#e3f6e7}
html[data-theme="dark"] .pp-recovery-guide p{color:#cbd9cd}
html[data-theme="dark"] .pp-recovery-preview{background:#23382b;border-color:#536955}
html[data-theme="dark"] .pp-recovery-flyer,html[data-theme="dark"] .pp-recovery-flyer *{color:#1c3628}
html[data-theme="dark"] .pp-recovery-flyer header h2{color:#a33125}
html[data-theme="dark"] .pp-recovery-flyer .pp-recovery-contact-text p{color:#203c2d}
@media(max-width:620px){
 .pp-recovery-fields{grid-template-columns:1fr}
 .pp-recovery-preview{padding:6px}
 .pp-recovery-flyer{padding:15px}
 .pp-recovery-identity{flex-direction:column;text-align:center}
 .pp-recovery-pet-photo{width:155px;height:155px}
 .pp-recovery-identity h3{font-size:27px}
 .pp-recovery-paw{width:120px;height:120px;font-size:48px}
 .pp-recovery-contact{flex-direction:column}
 .pp-recovery-qr{max-width:100%}
 .pp-recovery-contact-text{text-align:center}
}
@media print{
 @page{size:auto;margin:8mm}
 body.pp-print-recovery{background:#fff!important}
 body.pp-print-recovery > *:not(#pp-recovery-print){display:none!important}
 body.pp-print-recovery #pp-recovery-print{display:block!important;margin:0;padding:0}
 body.pp-print-recovery .pp-recovery-flyer{max-width:none!important;padding:8mm!important;border:3px solid #173e2e!important;box-shadow:none!important;break-inside:avoid}
 body.pp-print-recovery .pp-recovery-identity{flex-direction:row;align-items:center;text-align:left}
 body.pp-print-recovery .pp-recovery-contact{flex-direction:row}
 body.pp-print-recovery .pp-recovery-qr{max-width:48%}
 body.pp-print-recovery .pp-recovery-flyer *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* PawPalio v17.32 — owner dashboard-only hierarchy, readability and repetition cleanup.
   All profile forms, shared access permissions and production APIs are untouched. */
.pp-shell .content:has(.pp-home-welcome){gap:18px}
.pp-shell .content:has(.pp-home-welcome) .pp-home-welcome{min-height:118px;padding:22px 26px;background:linear-gradient(110deg,#eaf4e9 0%,#d9ecdf 100%);border:1px solid #c4dccb}
.pp-shell .content:has(.pp-home-welcome) .pp-home-welcome h1{font-size:clamp(26px,3vw,34px);line-height:1.2;letter-spacing:-.6px;margin:0 0 9px;font-weight:800}
.pp-shell .content:has(.pp-home-welcome) .pp-home-welcome p{max-width:46ch;font-size:14px!important;line-height:1.55;color:#365747;font-weight:500}
.pp-shell .content:has(.pp-home-welcome) .pp-home-welcome .pp-banner-art{opacity:.52;flex-basis:70px;z-index:0}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid{gap:20px}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head{margin-bottom:14px}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head h2{font-size:clamp(21px,2vw,25px);line-height:1.25;letter-spacing:-.35px;font-weight:800}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head p{font-size:13px;line-height:1.5;color:#496352;margin-top:6px}
.pp-shell .content:has(.pp-home-welcome) .pp-pet-name{font-size:clamp(19px,1.9vw,23px);line-height:1.3}
.pp-shell .content:has(.pp-home-welcome) .pp-pet-small{font-size:13px;line-height:1.5;color:#4d695b}
.pp-shell .content:has(.pp-home-welcome) .pp-pet-bottom{font-size:12px;color:#49675a}
.pp-shell .content:has(.pp-home-welcome) .pp-add-animal{border:1.5px dashed #8caf99;background:#f2f8f1;color:#214b36;transition:background .16s,border-color .16s}
.pp-shell .content:has(.pp-home-welcome) .pp-add-animal:hover{background:#e3f0e6;border-color:#397b52}
.pp-shell .content:has(.pp-home-welcome) .pp-add-animal strong{font-size:15px;line-height:1.4;font-weight:800}
.pp-shell .content:has(.pp-home-welcome) .pp-add-animal .pp-round{background:#d9eadb;color:#275f45;width:56px;height:56px;flex-basis:56px}
.pp-shell .content:has(.pp-home-welcome) .pp-updates-inner p{font-size:13px;max-width:29ch;color:#4b6757}
.pp-shell .content:has(.pp-home-welcome) .pp-updates-inner strong{font-size:14px}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-rail .section-head h2{font-size:19px}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-rail .section-head p{font-size:12px;line-height:1.5}
.pp-shell .content:has(.pp-home-welcome) .pp-dashboard-rail .textbtn{min-height:38px;font-size:12px}
.pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary strong{font-size:16px;line-height:1.4}
.pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary small{font-size:13px;line-height:1.5}
.pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary{min-height:72px}
.pp-shell .content:has(.pp-home-welcome) .pp-home-notifications .pp-notifications-body{display:grid;gap:14px}
.pp-shell .content:has(.pp-home-welcome) .pp-home-notifications .pp-notifications-body>section{margin:0}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button{display:flex;gap:12px;align-items:center;padding:15px 16px;min-height:72px;min-width:0;text-align:left;border:1px solid var(--stroke);border-radius:12px;background:var(--card,#fff);color:var(--ink);cursor:pointer}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button:hover,.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button:focus-visible{border-color:#64a57f;outline-offset:2px}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button>.pp-icon:first-child{color:#39835e;flex:none}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button>.pp-icon:last-child{color:var(--muted);flex:none;margin-left:auto}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button span{display:flex;flex-direction:column;gap:3px;min-width:0}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button strong{font-size:13px;line-height:1.4;color:var(--ink)}
.pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button small{font-size:12px;line-height:1.45;color:var(--muted)}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome{background:linear-gradient(115deg,#194236,#215347);border-color:#426c56}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome h1{color:#f6dfb6!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome p{color:#e0eee5!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head h2{color:#f0f8f1!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head p{color:#d1e4d7!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-pet-name{color:#fff!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-pet-small,html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-pet-bottom{color:#d1e6d8!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-add-animal{background:#223e32;color:#f0f7ef!important;border-color:#759d81}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-add-animal:hover{background:#2c513f}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-add-animal strong{color:#f0f7ef!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-add-animal .pp-round{background:#305c47;color:#d2f2de}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-updates-inner p,html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-dashboard-rail .section-head p{color:#d3e4d8!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary small{color:#d0e3d3!important}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button{background:#1e352b;border-color:#426650}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button strong{color:#ecf6ed}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button small{color:#c9ddce}
html[data-theme="dark"] .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button>.pp-icon:first-child{color:#a8dab8}
@media(max-width:780px){
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome{min-height:112px;padding:19px 21px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome h1{font-size:26px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome p{font-size:13px!important}
 .pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head h2{font-size:23px}
}
@media(max-width:520px){
 .pp-shell .content:has(.pp-home-welcome){gap:18px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome{min-height:105px;border-radius:15px;padding:19px 18px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome h1{font-size:24px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome p{max-width:27ch;font-size:13px!important}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome .pp-banner-art{flex-basis:44px;opacity:.3}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-grid{grid-template-columns:1fr;gap:12px}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-card{min-height:0;padding:13px}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-image{height:190px}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-name{font-size:22px;margin-top:12px}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-small{font-size:14px}
 .pp-shell .content:has(.pp-home-welcome) .pp-pet-bottom{font-size:13px}
 .pp-shell .content:has(.pp-home-welcome) .pp-add-animal{flex-direction:row;min-height:68px;gap:13px;padding:12px 16px;justify-content:flex-start}
 .pp-shell .content:has(.pp-home-welcome) .pp-add-animal .pp-round{height:40px;width:40px;flex-basis:40px}
 .pp-shell .content:has(.pp-home-welcome) .pp-add-animal .pp-round svg{height:20px;width:20px}
 .pp-shell .content:has(.pp-home-welcome) .pp-add-animal strong{font-size:14px}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links{grid-template-columns:1fr}
 .pp-shell .content:has(.pp-home-welcome) .pp-home-more-links button{min-height:65px}
 .pp-shell .content:has(.pp-home-welcome) .pp-dashboard-grid .section-head p{font-size:13px}
 .pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary{padding:15px}
 .pp-shell .content:has(.pp-home-welcome) .pp-clean-fold>summary small{font-size:12px}
}


/* PawPalio v17.33 — focused pet detail UX only; no change to account permissions. */
/* Use Pet Passport's light, bordered treatment for ALL six hero actions. */
.pp-shell .pp-profile-hero .pp-profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.pp-shell .pp-profile-hero .pp-profile-actions .btn,
html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn{
 display:inline-flex;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:47px;
 padding:12px 11px;border-radius:13px;border:1.5px solid #739e84!important;
 background:#eff8f1!important;color:#173e2b!important;box-shadow:none!important;
 font-size:13px;font-weight:800;line-height:1.3;text-align:center;white-space:normal
}
.pp-shell .pp-profile-hero .pp-profile-actions .btn:hover,
html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn:hover{background:#dcefe1!important;border-color:#326b49!important;color:#113823!important}
.pp-shell .pp-profile-hero .pp-profile-actions .btn:focus-visible{outline:3px solid #8cdbab;outline-offset:3px}
.pp-shell .pp-profile-hero .pp-profile-actions .btn svg{flex:none;width:17px;height:17px;stroke:currentColor}
.pp-shell .pp-profile-hero .pp-profile-actions .btn:disabled{opacity:.6;cursor:not-allowed}
/* Four equal-width navigation targets; on narrow screens "More" opens below, not offscreen. */
.pp-shell .pp-profile-jumps.pp-clean-jumps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch;overflow:visible!important;margin:0 0 20px;padding:0}
.pp-shell .pp-profile-jumps.pp-clean-jumps>button,
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more>summary,
html[data-theme="dark"] .pp-shell .pp-profile-jumps.pp-clean-jumps>button,
html[data-theme="dark"] .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more>summary{
 display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:44px;
 border:1px solid #80a68a;border-radius:11px;background:#eef7ef!important;color:#18482f!important;
 font-size:13px;font-weight:800;white-space:normal;line-height:1.25;padding:10px;text-align:center
}
.pp-shell .pp-profile-jumps.pp-clean-jumps>button svg,
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more>summary svg{flex:none}
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more{display:block;grid-column:1/-1;min-width:0}
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more>summary{cursor:pointer;min-height:42px}
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu{
 position:static!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
 top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
 width:100%!important;min-width:0!important;max-height:none!important;overflow:visible!important;
 margin-top:8px;padding:11px;background:var(--card,#fff);border:1px solid var(--stroke);border-radius:12px;box-shadow:none;z-index:auto
}
.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu button{
 display:flex;justify-content:center;min-width:0;min-height:43px;padding:10px 8px;
 background:var(--card,#fff);border:1px solid var(--stroke);border-radius:10px;
 color:var(--ink);font-size:12px;font-weight:700;white-space:normal;text-align:center
}
.pp-shell .pp-profile-jumps.pp-clean-jumps button:hover,
.pp-shell .pp-profile-jumps.pp-clean-jumps summary:hover{border-color:#42845c;background:#dcefe2!important}
.pp-shell .pp-profile-jumps.pp-clean-jumps button:focus-visible,
.pp-shell .pp-profile-jumps.pp-clean-jumps summary:focus-visible{outline:3px solid #70b88a;outline-offset:2px}
html[data-theme="dark"] .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu{background:#20372c;border-color:#517459}
html[data-theme="dark"] .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu button{background:#254233;color:#ecf8f0;border-color:#658e71}
html[data-theme="dark"] .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu button:hover{background:#315441!important;color:#fff}
/* Native details/summary folds: notes and private documents are closed by default. */
.pp-shell .pp-health-fold{margin:20px 0 0;border:1px solid var(--stroke);border-radius:15px;min-width:0;overflow:hidden;background:var(--card,#fff)}
.pp-shell .pp-health-fold.pp-health-documents{margin:0;padding:0;align-self:start;box-shadow:none}
.pp-shell .pp-health-fold-summary{list-style:none;display:flex;align-items:center;gap:12px;padding:16px 18px;min-height:76px;cursor:pointer;color:var(--ink);border-radius:13px}
.pp-shell .pp-health-fold-summary::-webkit-details-marker{display:none}
.pp-shell .pp-health-fold-summary>svg{flex:none;color:#36805b}
.pp-shell .pp-health-fold-summary>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.pp-shell .pp-health-fold-summary strong{font-size:16px;line-height:1.3;font-weight:800;color:var(--ink)}
.pp-shell .pp-health-fold-summary small{font-size:12px;line-height:1.5;color:var(--muted)}
.pp-shell .pp-health-fold-arrow{font-size:24px;color:var(--muted);transition:transform .2s ease}
.pp-shell .pp-health-fold[open] .pp-health-fold-arrow{transform:rotate(180deg)}
.pp-shell .pp-health-fold-summary:focus-visible{outline:3px solid #79b58b;outline-offset:-3px}
.pp-shell .pp-health-fold[open]>.pp-health-fold-summary{border-bottom:1px solid var(--stroke);border-radius:13px 13px 0 0}
.pp-shell .pp-health-fold-body{padding:16px;min-width:0}
.pp-shell .pp-health-notes .pp-health-list-section{margin:0;border:0;padding:0}
.pp-shell .pp-health-notes .pp-health-subhead{display:none}
.pp-shell .pp-health-doc-actions{margin:0 0 14px}
.pp-shell .pp-health-documents .medical-doc-list{margin-top:0}
.pp-shell .pp-health-documents .medical-doc-card{min-width:0}
.pp-shell .pp-qr-panel .pp-qr-buttons{display:flex;gap:9px;flex-wrap:wrap}
.pp-shell .pp-qr-panel .pp-qr-center-shortcut{border-color:#77a78b;background:#edf7ef;color:#17442f;font-weight:800}
html[data-theme="dark"] .pp-shell .pp-health-fold{background:#1b3027;border-color:#42634d}
html[data-theme="dark"] .pp-shell .pp-health-fold-summary{color:#eef8f0}
html[data-theme="dark"] .pp-shell .pp-health-fold-summary strong{color:#f2fbf4}
html[data-theme="dark"] .pp-shell .pp-health-fold-summary small{color:#d3e6da}
html[data-theme="dark"] .pp-shell .pp-health-fold-summary>svg{color:#b6dfbf}
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-center-shortcut{background:#dbefe0!important;color:#17442f!important;border-color:#77a78b!important}
/* Fix the near-white Tag Shop teaser with near-white text in dark mode. */
.pp-premium-page .pp-premium-next{background:#eef5ed!important;border:1px solid #a6bea9!important;color:#1d412c!important}
.pp-premium-page .pp-premium-next h2{color:#173b28!important}
.pp-premium-page .pp-premium-next p{color:#385a44!important}
.pp-premium-page .pp-premium-next .btn{background:#254d38!important;color:#fff!important;border-color:#254d38!important;font-weight:800}
html[data-theme="dark"] .pp-premium-page .pp-premium-next{background:#213b2e!important;border-color:#65836c!important;color:#edf8ef!important}
html[data-theme="dark"] .pp-premium-page .pp-premium-next h2{color:#f5faf4!important}
html[data-theme="dark"] .pp-premium-page .pp-premium-next p{color:#d4e6d8!important}
html[data-theme="dark"] .pp-premium-page .pp-premium-next .btn{background:#dcefe0!important;color:#173e2b!important;border-color:#a4cfaf!important}
/* Tag Shop sample cards: strong contrast in both themes, including small print. */
.pp-tag-shop-page .pp-shop-card{background:#fff;color:#1d3f2d;border-color:#bfd5c5}
.pp-tag-shop-page .pp-shop-card h2,.pp-tag-shop-page .pp-shop-card strong{color:#1c402d}
.pp-tag-shop-page .pp-shop-card p,.pp-tag-shop-page .pp-shop-card small{color:#415e4b}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card{background:#203a2e!important;color:#f3fbf5!important;border-color:#557c64!important}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card h2,
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card strong{color:#fff!important}
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card p,
html[data-theme="dark"] .pp-tag-shop-page .pp-shop-card small{color:#daeadd!important}
@media(max-width:800px){
 .pp-shell .pp-profile-hero .pp-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pp-shell .pp-profile-jumps.pp-clean-jumps{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;padding:0}
 .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .pp-shell .pp-profile-hero .pp-profile-actions .btn{min-height:48px;padding:11px 8px;font-size:12px}
 .pp-shell .pp-profile-jumps.pp-clean-jumps>button,.pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more>summary{min-height:48px;font-size:12px;gap:5px;padding:9px 6px}
 .pp-shell .pp-profile-jumps.pp-clean-jumps .pp-profile-more-menu button{font-size:12px;min-height:47px}
 .pp-shell .pp-health-fold-summary{padding:14px;min-height:74px}
 .pp-shell .pp-health-fold-summary strong{font-size:15px}
 .pp-shell .pp-health-fold-summary small{font-size:12px}
 .pp-shell .pp-health-fold-body{padding:12px}
 .pp-shell .pp-qr-panel .pp-qr-buttons .btn{flex:1 1 100%;min-height:43px}
}
@media(prefers-reduced-motion:reduce){.pp-shell .pp-health-fold-arrow{transition:none}}


/* v17.34 — pet detail only: quiet, consistent sage dropdowns and simple care tasks. */
.pp-shell .pp-profile-today,.pp-shell .pp-profile-bottom-folds .pp-clean-fold{margin:0;min-width:0;overflow:hidden}
.pp-shell .pp-profile-bottom-folds{display:grid;grid-template-columns:1fr;gap:14px;margin:0 0 20px}
.pp-shell .pp-profile-today>summary,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary,
html[data-theme="dark"] .pp-shell .pp-profile-today>summary,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary{
 background:#eaf5ec!important;color:#183f2c!important;border:1.5px solid #8db49a!important;
 border-radius:13px;min-height:75px;padding:15px 17px;display:flex;align-items:center;gap:13px
}
.pp-shell .pp-profile-today>summary strong,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary strong,
html[data-theme="dark"] .pp-shell .pp-profile-today>summary strong,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary strong{
 color:#1d4c34!important;font-size:16px;font-weight:800
}
.pp-shell .pp-profile-today>summary small,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary small,
html[data-theme="dark"] .pp-shell .pp-profile-today>summary small,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary small{
 color:#365c45!important;font-size:13px;line-height:1.45
}
.pp-shell .pp-profile-today>summary .pp-fold-icon,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell .pp-profile-today>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary .pp-fold-icon{
 background:#d0e7d6!important;color:#275a3e!important;flex:none
}
.pp-shell .pp-profile-today>summary .pp-fold-arrow,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary .pp-fold-arrow{
 color:#2c5a42!important;font-size:23px
}
.pp-shell .pp-profile-today[open]>summary,.pp-shell .pp-profile-bottom-folds .pp-clean-fold[open]>summary{
 border-radius:13px 13px 0 0
}
.pp-shell .pp-profile-today>summary:focus-visible,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary:focus-visible{
 outline:3px solid #81bb98;outline-offset:3px
}
.pp-shell .pp-profile-today .pp-fold-body,.pp-shell .pp-profile-bottom-folds .pp-fold-body{padding:18px;min-width:0}
.pp-shell .pp-profile-fold-intro{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 13px}
.pp-shell .pp-access-fold-body .pp-members{margin-top:14px}
.pp-shell .pp-profile-updates-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.pp-shell .pp-profile-updates .pp-feed-box{max-height:340px;overflow-y:auto}
.pp-shell .pp-today-simple-body{display:grid;gap:14px}
.pp-shell .pp-today-simple-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pp-shell .pp-today-simple-head h3,.pp-shell .pp-today-simple-log h3{font-size:17px;font-weight:800;color:var(--ink);margin:0 0 3px}
.pp-shell .pp-today-simple-head p,.pp-shell .pp-today-simple-log p{font-size:13px;line-height:1.55;color:var(--muted);max-width:55ch;margin:0}
.pp-shell .pp-today-simple-task{background:var(--card,#fff);border:1px solid var(--stroke);border-radius:12px;padding:14px;display:grid;gap:12px;min-width:0}
.pp-shell .pp-today-simple-task-main{display:flex;gap:13px;align-items:flex-start;min-width:0}
.pp-shell .pp-today-simple-time{min-width:66px;font-size:13px;font-weight:800;color:var(--ink);line-height:1.7}
.pp-shell .pp-today-simple-copy{flex:1;min-width:0;display:grid;gap:5px}
.pp-shell .pp-today-simple-copy strong{font-size:15px;line-height:1.4;color:var(--ink)}
.pp-shell .pp-today-simple-copy small{font-size:12px;color:var(--muted)}
.pp-shell .pp-today-simple-copy p{font-size:12px;line-height:1.5;color:var(--muted);margin:0;overflow-wrap:anywhere}
.pp-shell .pp-today-simple-actions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap}
.pp-shell .pp-today-simple-actions .btn{min-height:43px}
.pp-shell .pp-today-task-complete{color:#2d8256;font-size:13px;font-weight:800}
.pp-shell .pp-today-simple-log{margin-top:6px;padding:17px;border:1px solid #88b097;background:#eef8ef;border-radius:13px;display:flex;align-items:center;gap:14px;justify-content:space-between}
.pp-shell .pp-today-simple-log h3,.pp-shell .pp-today-simple-log p{color:#214832!important}
.pp-shell .pp-today-simple-log .pp-today-log-btn{min-height:45px;padding:11px 15px;white-space:nowrap;background:#24583b!important;color:#fff!important;border:1px solid #24583b!important;font-weight:800}
html[data-theme="dark"] .pp-shell .pp-today-simple-log{background:#ddefe1!important;border-color:#79a688}
html[data-theme="dark"] .pp-shell .pp-today-simple-log h3,
html[data-theme="dark"] .pp-shell .pp-today-simple-log p{color:#1f4a32!important}
html[data-theme="dark"] .pp-shell .pp-today-simple-task{background:#243b2e!important;border-color:#51745c}
html[data-theme="dark"] .pp-shell .pp-today-simple-copy strong,
html[data-theme="dark"] .pp-shell .pp-today-simple-time{color:#f2fbf4!important}
html[data-theme="dark"] .pp-shell .pp-today-simple-copy p,
html[data-theme="dark"] .pp-shell .pp-today-simple-copy small{color:#d1e7d8!important}
@media(max-width:620px){
 .pp-shell .pp-profile-today>summary,.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary{padding:13px 15px;min-height:72px}
 .pp-shell .pp-profile-today .pp-fold-body,.pp-shell .pp-profile-bottom-folds .pp-fold-body{padding:13px}
 .pp-shell .pp-today-simple-log{flex-direction:column;align-items:stretch}
 .pp-shell .pp-today-simple-log .pp-today-log-btn{width:100%;justify-content:center}
 .pp-shell .pp-today-simple-time{min-width:60px}
}


/* v17.35 — unified, closed-by-default profile disclosures and compact tag choices.
   Keep these styles scoped to pet detail and tag shop. */
.pp-shell .pp-key-panel .pp-facts{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.pp-shell .pp-key-panel .pp-fact,
.pp-shell .pp-key-panel .pp-fact:nth-child(4),
.pp-shell .pp-key-panel .pp-fact:nth-child(5){grid-column:auto;min-width:0;min-height:82px}
.pp-shell .pp-key-panel .pp-fact:first-child{grid-column:1/-1}
.pp-shell .pp-key-panel .pp-fact:last-child{grid-column:2;grid-row:3}
.pp-shell .pp-key-panel .pp-fact:nth-child(4){grid-column:1;grid-row:3}
.pp-shell .pp-key-panel .pp-fact:nth-child(2){grid-column:1;grid-row:2}
.pp-shell .pp-key-panel .pp-fact:nth-child(3){grid-column:2;grid-row:2}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold){
 margin:0 0 14px;overflow:hidden;min-width:0;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary,
html[data-theme="dark"] .pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary{
 min-height:74px;padding:14px 17px;gap:13px;
 background:#eaf5ec!important;color:#183f2c!important;
 border:1.5px solid #8db49a!important;border-radius:13px;
 display:flex;align-items:center;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary :is(strong,small),
html[data-theme="dark"] .pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary :is(strong,small){
 color:#1d4c34!important;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary strong{
 font-size:16px;font-weight:800;line-height:1.35;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary small{
 font-size:13px;line-height:1.45;color:#365c45!important;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary .pp-fold-icon{
 background:#d0e7d6!important;color:#275a3e!important;flex:none;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary .pp-fold-arrow,
html[data-theme="dark"] .pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary .pp-fold-arrow{
 color:#2c5a42!important;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)[open]>summary{
 border-radius:13px 13px 0 0;
}
.pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary:focus-visible{
 outline:3px solid #81bb98;outline-offset:3px;
}
.pp-shell .pp-profile-gallery .pp-gallery-panel{
 margin:0!important;padding:16px!important;border:none!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;min-width:0;
}
.pp-shell .pp-profile-gallery .pp-gallery-tools{
 display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px;
}
.pp-shell .pp-profile-gallery .pp-gallery-tools p{
 margin:0;color:var(--muted);font-size:13px;line-height:1.5;
}
.pp-shell .pp-profile-gallery .pp-gallery-empty{margin-top:12px}
.pp-shell .pp-profile-gallery .pp-gallery-note{margin:13px 0 0}
.pp-shell .pp-profile-bottom-folds{gap:0}

/* Tag Shop: all three styles fit side by side on phones without stacking or
   hiding essential name, price and details access. Descriptions remain in the modal. */
.pp-shell .pp-tag-shop-page .pp-tag-shop-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.pp-shell .pp-tag-shop-page .pp-shop-card{min-width:0;overflow:hidden}
.pp-shell .pp-tag-shop-page .pp-shop-art{min-width:0}
.pp-shell .pp-tag-shop-page .pp-shop-card-body{min-width:0}
.pp-shell .pp-tag-shop-page .pp-shop-card-body :is(h2,p,small,.pp-tag-concept-badge){
 overflow-wrap:anywhere;
}
.pp-shell .pp-tag-shop-page .pp-tag-detail-short{display:none}
.pp-shell .pp-tag-shop-page .pp-tag-shop-grid-note{display:none}
@media(max-width:650px){
 .pp-shell .pp-key-panel .pp-facts{gap:10px}
 .pp-shell .pp-key-panel .pp-fact{padding:10px 8px;gap:8px;min-height:79px}
 .pp-shell :is(.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold)>summary{
  min-height:72px;padding:13px 15px;gap:12px;
 }
 .pp-shell .pp-profile-gallery .pp-gallery-panel{padding:13px!important}
 .pp-shell .pp-tag-shop-page .pp-tag-shop-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-card{
  display:flex;flex-direction:column;border-radius:12px;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-art{
  height:104px!important;min-height:104px!important;padding:5px 3px;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-art .pp-tag-illustration{
  width:100%;max-width:110px;height:90px;min-height:0;flex:0 1 auto;
 }
 .pp-shell .pp-tag-shop-page .pp-tag-illustration-mark svg{width:22px;height:22px}
 .pp-shell .pp-tag-shop-page .pp-tag-illustration-mark small{font-size:7px}
 .pp-shell .pp-tag-shop-page .pp-shop-card-body{
  padding:11px 7px 10px;gap:7px;flex:1;align-items:center;text-align:center;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-card-body h2{
  font-size:clamp(12px,3.35vw,15px);line-height:1.25;min-height:2.5em;
  display:flex;align-items:center;justify-content:center;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-card-body strong{
  font-size:17px;line-height:1.3;
 }
 .pp-shell .pp-tag-shop-page .pp-shop-card-body p,
 .pp-shell .pp-tag-shop-page .pp-shop-card-body small,
 .pp-shell .pp-tag-shop-page .pp-shop-card-body .pp-tag-concept-badge{display:none}
 .pp-shell .pp-tag-shop-page .pp-shop-card-body button{
  width:100%;min-height:40px;padding:7px 4px;font-size:12px;line-height:1.25;
  margin-top:auto;white-space:normal;border-radius:9px;
 }
 .pp-shell .pp-tag-shop-page .pp-tag-detail-full{display:none}
 .pp-shell .pp-tag-shop-page .pp-tag-detail-short{display:inline}
 .pp-shell .pp-tag-shop-page .pp-tag-shop-grid-note{
  display:block;font-size:12px;line-height:1.5;margin:7px 0 0;color:var(--muted);
 }
}
@media(max-width:360px){
 .pp-shell .pp-tag-shop-page .pp-tag-shop-grid{gap:6px}
 .pp-shell .pp-tag-shop-page .pp-shop-card-body{padding:8px 5px}
 .pp-shell .pp-tag-shop-page .pp-shop-art{height:90px!important;min-height:90px!important}
 .pp-shell .pp-tag-shop-page .pp-shop-art .pp-tag-illustration{height:78px}
}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-shop-card-body :is(h2,strong){color:#f3fbf5!important}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-shop-card-body :is(p,small){color:#daeadd!important}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-tag-shop-grid-note{color:#d0e4d5!important}

/* v17.36: accessible red counters on folded headers and top-right nav tabs. */
.pp-shell .pp-attention-badge,.pp-evergreen-mobile-nav .pp-attention-badge{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 flex:0 0 auto;min-width:21px;height:21px;padding:0 5px;border-radius:999px;
 background:#bc2735;color:#fff!important;border:1px solid #fff;
 font-size:11px!important;line-height:1;font-weight:850!important;letter-spacing:0;
 font-variant-numeric:tabular-nums;white-space:nowrap;
}
.pp-shell .pp-clean-fold>summary .pp-attention-badge{margin-left:auto}
.pp-shell .pp-clean-fold>summary .pp-attention-badge+.pp-fold-arrow{margin-left:0}
.pp-shell .pp-menu .pp-attention-badge{margin-left:auto}
.pp-shell .pp-qr-center-tabs button .pp-attention-badge{margin-left:4px}
.pp-evergreen-mobile-nav.mobile-nav>button,
.pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary{position:relative}
.pp-evergreen-mobile-nav.mobile-nav .pp-attention-badge.pp-nav-badge{
 position:absolute;right:clamp(6px,2vw,17px);top:0;min-width:19px;height:19px;
 padding:0 4px;font-size:10px!important;z-index:2;pointer-events:none;
}
html[data-theme="dark"] .pp-shell .pp-attention-badge,
html[data-theme="dark"] .pp-evergreen-mobile-nav .pp-attention-badge{
 background:#ce3442;color:#fff!important;border-color:#182920;
}


/* PawPalio v17.37: shop Premium service alongside $14.99 physical tag previews.
   Keep prices legible in both themes and don't imply the recurring plan is included. */
.pp-shell .pp-tag-shop-page .pp-shop-premium{
 padding:20px 22px;margin:0;min-width:0;display:grid;gap:16px;
 background:#eaf5ec!important;border:1.5px solid #8db49a!important;
 color:#183f2c!important;border-radius:17px;
}
.pp-shell .pp-shop-premium-header{display:flex;align-items:flex-start;gap:13px;min-width:0}
.pp-shell .pp-shop-premium-header>div{flex:1;min-width:0}
.pp-shell .pp-shop-premium-icon{
 width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;
 border-radius:13px;background:#cbe6d1;color:#25583c;
}
.pp-shell .pp-shop-premium .pp-shop-step{
 font-size:12px;letter-spacing:.045em;text-transform:uppercase;
 font-weight:850;color:#285b3d!important;margin:0 0 4px;
}
.pp-shell .pp-shop-premium h2{
 font-size:clamp(19px,3vw,25px);line-height:1.2;margin:0 0 8px;
 color:#153b29!important;overflow-wrap:anywhere;
}
.pp-shell .pp-shop-premium-header p:not(.pp-shop-step){
 color:#28513a!important;font-size:14px;line-height:1.55;margin:0;max-width:70ch;
}
.pp-shell .pp-shop-subscription-prices{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.pp-shell .pp-shop-subscription-choice{
 display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0;
 background:#fff!important;border:1px solid #99b9a5;border-radius:13px;padding:13px 16px;
 color:#163d2a!important;
}
.pp-shell .pp-shop-subscription-choice strong{font-size:24px;line-height:1.2;color:#173d2a!important}
.pp-shell .pp-shop-subscription-choice span{font-size:14px;font-weight:750;color:#285640!important}
.pp-shell .pp-shop-subscription-choice small{
 display:block;flex:1 0 100%;font-size:12px;color:#425e4a!important;
}
.pp-shell .pp-shop-premium .pp-shop-subscription-note{
 font-size:13px;line-height:1.55;margin:0;color:#345640!important;
}
.pp-shell .pp-shop-premium .pp-shop-premium-cta{
 justify-self:start;min-height:43px;white-space:normal;
 border-radius:10px;background:#265a3d!important;border-color:#265a3d!important;color:white!important;
}
.pp-shell .pp-shop-premium .pp-shop-premium-cta:hover{background:#18462e!important}
.pp-shell .pp-tag-review .pp-tag-premium-confirmation{
 padding:16px;margin:14px 0;border:1.5px solid #a6bda6;
 border-radius:13px;background:#eaf5ec!important;color:#153e29!important;
}
.pp-shell .pp-tag-review .pp-tag-premium-confirmation p{
 color:#265239!important;line-height:1.6;font-size:14px;margin:0 0 13px;
}
.pp-shell .pp-tag-premium-confirmation label{
 display:flex;gap:11px;align-items:flex-start;font-size:14px;font-weight:750;line-height:1.5;color:#173c28!important;
}
.pp-shell .pp-tag-premium-confirmation input[type="checkbox"]{
 width:20px;height:20px;min-width:20px;margin:2px 0 0;accent-color:#245c3e;cursor:pointer;
}
.pp-shell .pp-tag-review button.pp-tag-ack-action:disabled{
 opacity:.53!important;cursor:not-allowed!important;
}
html[data-theme="dark"] .pp-shell .pp-shop-premium{
 background:#eaf5ec!important;color:#183f2c!important;border-color:#8db49a!important;
}
html[data-theme="dark"] .pp-shell .pp-shop-premium :is(h2,strong,p,small,span){color:#173c2a}
html[data-theme="dark"] .pp-shell .pp-shop-subscription-choice{background:#fff!important;color:#173c2a!important}
@media(max-width:540px){
 .pp-shell .pp-tag-shop-page .pp-shop-premium{padding:15px 13px;gap:13px}
 .pp-shell .pp-shop-premium-header{gap:10px}
 .pp-shell .pp-shop-premium-icon{width:37px;height:37px;flex-basis:37px}
 .pp-shell .pp-shop-subscription-prices{gap:8px}
 .pp-shell .pp-shop-subscription-choice{padding:10px 9px;gap:4px}
 .pp-shell .pp-shop-subscription-choice strong{font-size:21px}
 .pp-shell .pp-shop-subscription-choice span{font-size:12px}
 .pp-shell .pp-shop-subscription-choice small{font-size:11px}
 .pp-shell .pp-shop-premium .pp-shop-premium-cta{width:100%;justify-content:center}
}


/* v17.38 — QR setup guide is a compact owner-only walkthrough, not a new
   checkout, entitlement control, or route to private medical data. */
.pp-shell .pp-home-qr-guide-link{min-height:37px;white-space:normal}
.pp-qr-guide{display:grid;gap:16px;min-width:0;color:var(--text)}
.pp-qr-guide-intro{display:grid;gap:7px}
.pp-qr-guide-intro .pp-qr-guide-progress{
 margin:0;font-size:11px;letter-spacing:.08em;font-weight:850;
 text-transform:uppercase;color:#397956
}
.pp-qr-guide-intro h3{margin:0;color:var(--text);font-size:clamp(20px,4vw,27px);line-height:1.2}
.pp-qr-guide-intro>p:last-child{margin:0;color:var(--muted);line-height:1.5;font-size:14px}
.pp-qr-guide-picker,.pp-qr-guide-pet{margin:0;font-size:14px;color:var(--text);font-weight:700}
.pp-qr-guide-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pp-qr-guide-picker select{min-width:0;flex:1 1 170px;max-width:310px;padding:10px;border-radius:10px;color:var(--text);background:var(--panel);border:1px solid var(--line)}
.pp-qr-guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.pp-qr-guide-steps button{
 min-width:0;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:6px;padding:9px 5px;cursor:pointer;text-align:center;
 color:#244d36!important;background:#eaf5ec!important;border:1.5px solid #a5c5ad!important;
 border-radius:12px;font:inherit;
}
.pp-qr-guide-steps button.current{
 background:#275e40!important;border-color:#275e40!important;color:#fff!important;
}
.pp-qr-guide-steps button span{
 width:25px;height:25px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;
 font-size:13px;font-weight:850;flex:none
}
.pp-qr-guide-steps button small{
 font-size:clamp(10px,2.3vw,12px);line-height:1.2;white-space:normal;overflow-wrap:anywhere;
 font-weight:750;color:inherit!important
}
.pp-qr-guide-steps button:focus-visible,.pp-qr-guide button:focus-visible{
 outline:3px solid #90caa2;outline-offset:2px
}
.pp-qr-guide-content{display:grid;justify-items:start;align-content:start;gap:14px;padding:18px;border-radius:14px;background:var(--panel);border:1px solid var(--line);min-width:0}
.pp-qr-guide-content>p{margin:0;font-size:14px;line-height:1.6;color:var(--text)}
.pp-qr-guide-content>.btn{min-height:43px;white-space:normal}
.pp-qr-guide-content>.btn[disabled]{opacity:.55;cursor:not-allowed}
.pp-qr-guide-status{
 width:100%;min-width:0;box-sizing:border-box;border:1px solid #94bca2;
 background:#eaf5ec;color:#1b4630;border-radius:12px;padding:14px
}
.pp-qr-guide-status strong{font-size:15px;color:#183d2c!important}
.pp-qr-guide-status p{margin:6px 0 0;color:#2b543b!important;font-size:13px;line-height:1.6}
.pp-qr-guide-plans{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pp-qr-guide-plans>div{
 min-width:0;display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid #9fc1ab;
 border-radius:12px;background:#eaf5ec;color:#17402c!important;
}
.pp-qr-guide-plans strong{font-size:23px;line-height:1.15;color:#17402c!important}
.pp-qr-guide-plans span{font-size:12px;color:#315740!important}
.pp-qr-guide-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pp-qr-guide-footer .btn{min-height:43px;white-space:normal}
.pp-qr-guide-help{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
html[data-theme="dark"] .pp-qr-guide-status,
html[data-theme="dark"] .pp-qr-guide-plans>div{background:#eaf5ec!important;color:#17402c!important}
html[data-theme="dark"] .pp-qr-guide-steps button{color:#244d36!important}
html[data-theme="dark"] .pp-qr-guide-steps button.current{color:#fff!important}
@media(max-width:520px){
 .pp-qr-guide{gap:13px}
 .pp-qr-guide-steps{gap:6px}
 .pp-qr-guide-steps button{min-height:69px;padding:8px 3px}
 .pp-qr-guide-steps button span{width:23px;height:23px;font-size:12px}
 .pp-qr-guide-content{padding:13px}
 .pp-qr-guide-footer .btn{padding:9px 13px}
}


/* v17.39 — one Care workspace with obvious tasks vs ordinary activity logs. */
.pp-shell .pp-care-workspace{display:grid;gap:17px;min-width:0}
.pp-shell .pp-care-workspace-head{padding:19px 22px;border-radius:17px;background:#eaf5ec;border:1px solid #9fbea8;color:#1d4b32}
.pp-shell .pp-care-workspace-head .pp-kicker{margin:0 0 8px;color:#2c6745}
.pp-shell .pp-care-workspace-head h1{margin:0 0 7px;color:#1b4730;font-size:clamp(24px,4vw,34px)}
.pp-shell .pp-care-workspace-head p:not(.pp-kicker){margin:0;line-height:1.55;color:#2d573e}
.pp-shell .pp-care-workspace-actions{display:grid;grid-template-columns:minmax(130px,1fr) minmax(200px,2fr);gap:12px 18px;align-items:end;padding:19px}
.pp-shell .pp-care-workspace-actions label{font-size:13px;font-weight:800;color:var(--text);display:block;margin-bottom:5px}
.pp-shell .pp-care-workspace-actions select{width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text)}
.pp-shell .pp-care-workspace-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pp-shell .pp-care-workspace-buttons .btn{min-height:43px}
.pp-shell .pp-care-workspace-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.pp-shell .pp-care-workspace .pp-hub-task-actions{display:flex;gap:7px;flex-wrap:wrap;align-content:center}
.pp-shell .pp-care-workspace .pp-care-hub{margin:0;min-width:0}
.pp-shell .pp-care-recent{padding:18px}
.pp-shell .pp-care-recent .pp-feed{min-width:0}
.pp-shell .pp-care-workspace .pp-hub-task-status{white-space:normal}
.pp-shell .pp-home-care-shortcut{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid #a1c2aa;background:#eaf5ec;border-radius:14px}
.pp-shell .pp-home-care-shortcut div{display:grid;gap:4px}
.pp-shell .pp-home-care-shortcut strong{font-size:16px;color:#1c4b34}
.pp-shell .pp-home-care-shortcut small{color:#365d43;font-size:13px;line-height:1.4}
.pp-shell .pp-home-care-shortcut .btn{flex:none}
.pp-delete-entry{margin:14px 0 0;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel);display:grid;gap:9px}
.pp-delete-entry strong{font-size:15px;color:var(--text)}
.pp-delete-entry p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.pp-delete-entry .btn{justify-self:start;min-height:41px;white-space:normal}
.pp-delete-info{display:grid;gap:14px}
.pp-delete-info>p{margin:0;font-size:14px;color:var(--text);line-height:1.6}
.pp-delete-info form{display:grid;gap:13px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}
.pp-delete-info form label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;color:var(--text)}
.pp-delete-info form input{display:block;width:100%;box-sizing:border-box;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-size:16px}
.pp-delete-info .pp-delete-note{font-size:12px;color:var(--muted)}
@media(max-width:680px){
 .pp-shell .pp-care-workspace-actions{grid-template-columns:1fr;padding:15px}
 .pp-shell .pp-care-workspace-note{grid-column:1}
 .pp-shell .pp-care-workspace-head{padding:17px}
 .pp-shell .pp-care-workspace .pp-hub-heading{gap:13px}
 .pp-shell .pp-home-care-shortcut{flex-wrap:wrap;padding:13px}
}
html[data-theme="dark"] .pp-shell .pp-care-workspace-head,
html[data-theme="dark"] .pp-shell .pp-home-care-shortcut{background:#eaf5ec!important;color:#1d4b32!important}
html[data-theme="dark"] .pp-shell .pp-care-workspace-head :is(h1,p,strong),
html[data-theme="dark"] .pp-shell .pp-home-care-shortcut :is(strong,small){color:#1d4b32!important}


/* v17.40: Home is the overview and Pets is the profile library.
   Keep both pages clear and mobile-first without duplicating the pet-card gallery. */
.pp-shell .pp-home-summary-line{
 display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
 padding:15px 18px;border:1px solid #a6c5b0;border-radius:14px;
 background:#eaf5ec!important;color:#214c34!important;
}
.pp-shell .pp-home-summary-line>span{font-size:14px;font-weight:700;color:#214c34!important}
.pp-shell .pp-home-summary-line .btn{flex:none;min-height:39px;white-space:normal}
.pp-shell .pp-home-overview{min-width:0}
.pp-shell .pp-home-overview .pp-dashboard-rail{
 width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:15px;align-items:start;
}
.pp-shell .pp-home-overview .pp-dashboard-rail>*{min-width:0}
.pp-shell .pp-home-overview .pp-updates-panel{grid-column:1/-1}
.pp-shell .pp-pets-heading{
 display:flex;align-items:center;justify-content:space-between;gap:15px;
 padding:19px 22px;margin-bottom:20px;background:#eaf5ec!important;color:#1c4d34!important;
 border:1px solid #a6c5b0;border-radius:17px;
}
.pp-shell .pp-pets-heading h1{margin:0 0 7px;color:#19452d!important;font-size:clamp(24px,4vw,32px)}
.pp-shell .pp-pets-heading .pp-kicker{
 margin:0 0 6px;font-size:11px;letter-spacing:.07em;font-weight:850;color:#36754c!important
}
.pp-shell .pp-pets-heading p:not(.pp-kicker){
 margin:0;line-height:1.5;font-size:14px;color:#2d583d!important;max-width:58ch
}
.pp-shell .pp-pets-qr-setup{flex:none;white-space:normal;min-height:42px}
.pp-shell .pp-pets-heading~.pp-animals-area{margin-bottom:20px}
.pp-shell .pp-pets-heading~.pp-shared-area{margin-bottom:14px}
html[data-theme="dark"] .pp-shell :is(.pp-home-summary-line,.pp-pets-heading){
 background:#eaf5ec!important;color:#214c34!important;
}
@media(max-width:740px){
 .pp-shell .pp-home-overview .pp-dashboard-rail{grid-template-columns:1fr}
 .pp-shell .pp-home-overview .pp-updates-panel{grid-column:1}
 .pp-shell .pp-pets-heading{padding:16px 14px;flex-wrap:wrap}
 .pp-shell .pp-pets-qr-setup{width:100%;justify-content:center}
 .pp-shell .pp-home-summary-line{padding:12px 13px}
}
@media(max-width:380px){
 .pp-shell .pp-home-summary-line .btn{width:100%;justify-content:center}
}

/* Scoped, actionable notification explanation on Pets. */
.pp-shell .pp-pets-attention{
 display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
 padding:13px 16px;margin-bottom:18px;border:1.5px solid #a5c4ac;
 border-radius:14px;background:#eaf5ec!important;color:#1b482f!important;
}
.pp-shell .pp-pets-attention>div:first-child{display:grid;gap:5px}
.pp-shell .pp-pets-attention strong{font-size:15px;color:#194831!important}
.pp-shell .pp-pets-attention small{font-size:13px;line-height:1.4;color:#365c43!important}
.pp-shell .pp-pets-attention-actions{display:flex;gap:9px;flex-wrap:wrap}
.pp-shell .pp-pets-attention-actions .btn{min-height:38px}
html[data-theme="dark"] .pp-shell .pp-pets-attention{background:#eaf5ec!important;color:#1b482f!important}
@media(max-width:450px){
 .pp-shell .pp-pets-attention-actions{width:100%}
 .pp-shell .pp-pets-attention-actions .btn{flex:1;white-space:normal}
}

/* v17.41: own pet profiles remain prominent on Home; paw tab shows only
   other owners' shared pets. */
.pp-shell .pp-home-owned{margin:20px 0 16px;min-width:0}
.pp-shell .pp-home-owned .pp-pet-grid{min-width:0}
.pp-shell .pp-home-owned .section-head{gap:12px;flex-wrap:wrap}
.pp-shell .pp-home-owned .pp-home-qr-guide-link{min-height:40px;white-space:normal}
.pp-shell .pp-home-owned~.pp-pets-attention{margin-top:0}
.pp-shell .pp-shared-heading{margin-bottom:18px}
.pp-shell .pp-shared-action{margin:15px 0 20px;display:flex;justify-content:flex-start}
.pp-shell .pp-shared-action .btn{min-height:44px}
html[data-theme="dark"] .pp-shell .pp-shared-heading{background:#eaf5ec!important;color:#1c4d34!important}
@media(max-width:540px){
 .pp-shell .pp-home-owned{margin-top:15px}
 .pp-shell .pp-home-owned .section-head{align-items:center}
 .pp-shell .pp-home-owned .pp-home-qr-guide-link{margin-left:auto}
 .pp-shell .pp-shared-action .btn{width:100%;justify-content:center}
}


/* v17.42 — Care Circle is a real part of Shared, not another More page.
   A single folded owner-access panel keeps the shared-pet list uncluttered. */
.pp-shell .pp-shared-access-fold{margin:18px 0 24px;overflow:hidden;min-width:0}
.pp-shell .pp-shared-access-fold>summary,
html[data-theme="dark"] .pp-shell .pp-shared-access-fold>summary{
 display:flex;align-items:center;gap:13px;padding:16px 18px;min-height:72px;
 background:#eaf5ec!important;color:#1c4931!important;
 border:1.5px solid #8db49a!important;border-radius:13px;
}
.pp-shell .pp-shared-access-fold>summary :is(strong,small),
html[data-theme="dark"] .pp-shell .pp-shared-access-fold>summary :is(strong,small){
 color:#1c4931!important;
}
.pp-shell .pp-shared-access-fold>summary strong{font-size:16px;font-weight:800}
.pp-shell .pp-shared-access-fold>summary small{font-size:13px;line-height:1.4}
.pp-shell .pp-shared-access-fold>summary .pp-fold-icon{
 background:#d0e7d6!important;color:#275a3e!important;flex:none;
}
.pp-shell .pp-shared-access-fold>summary .pp-fold-arrow{margin-left:auto;color:#285b40!important}
.pp-shell .pp-shared-access-fold[open]>summary{border-radius:13px 13px 0 0}
.pp-shell .pp-shared-access-fold>summary:focus-visible{outline:3px solid #84bd99;outline-offset:2px}
.pp-shell .pp-shared-access-body{padding:16px;min-width:0}
.pp-shell .pp-shared-access-explanation{margin:0 0 15px;color:var(--muted);font-size:14px;line-height:1.55}
.pp-shell .pp-shared-access-body .pp-circle-summary{margin-bottom:15px}
.pp-shell .pp-shared-access-body .pp-circle-grid{gap:12px}
.pp-shell .pp-shared-access-body .pp-circle-safety{margin-top:14px}
@media(max-width:600px){
 .pp-shell .pp-shared-access-fold{margin:14px 0 22px}
 .pp-shell .pp-shared-access-fold>summary{padding:13px 15px}
 .pp-shell .pp-shared-access-body{padding:12px}
 .pp-shell .pp-shared-access-body .pp-circle-summary{gap:7px}
 .pp-shell .pp-shared-access-body .pp-circle-summary>div{padding:9px 6px}
 .pp-shell .pp-shared-access-body .pp-circle-summary small{font-size:11px}
}

/* v17.43 — compact owner QR identification actions; private QR Care remains separate. */
.pp-shell .pp-qr-panel .pp-qr-tag-tools{margin:14px 0 0;background:var(--card);border-color:var(--stroke);overflow:hidden}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary{min-height:64px;padding:12px 15px;gap:11px}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary strong{font-size:14px}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary small{font-size:12px;line-height:1.45}
.pp-shell .pp-qr-panel .pp-qr-tag-tools .pp-profile-tag-actions{display:flex;gap:9px;flex-wrap:wrap;padding:12px 15px 15px}
.pp-shell .pp-qr-panel .pp-qr-tag-tools .pp-profile-tag-actions .btn{min-height:44px}
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools{background:var(--card);border-color:var(--stroke)}
@media(max-width:520px){.pp-shell .pp-qr-panel .pp-qr-tag-tools .pp-profile-tag-actions .btn{flex:1 1 100%}}

/* v17.44 — readable pet details and QR controls, using the existing Evergreen palette.
   Scoped changes only: no page reorganization, account/QR entitlement changes, or added navigation. */
.pp-shell .pp-profile-info p{font-size:14px;line-height:1.55;color:#355b48;overflow-wrap:anywhere}
.pp-shell .pp-key-panel .pp-fact-text strong{font-size:13px;line-height:1.4}
.pp-shell .pp-key-panel .pp-fact-text small{font-size:13px;line-height:1.5;color:#365749;overflow-wrap:anywhere}
.pp-shell .pp-qr-panel{background:#fff!important;color:#1d3f2e}
.pp-shell .pp-qr-panel .pp-card-title p,.pp-shell .pp-qr-panel .pp-qr-detail p{font-size:14px;line-height:1.6;color:#365747;overflow-wrap:anywhere}
.pp-shell .pp-qr-panel .pp-tag-state{font-size:12px;line-height:1.4;max-width:100%;white-space:normal}
.pp-shell .pp-qr-panel .pp-qr-tag-tools{background:#fff;border-color:#8db49a}
.pp-shell .pp-qr-panel .pp-qr-buttons>.btn{min-height:44px;font-size:13px;line-height:1.35;white-space:normal;text-align:center}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary,
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools>summary{
 background:#eaf5ec!important;color:#1c4931!important;
 border:1.5px solid #8db49a;border-radius:13px;min-height:68px;
}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary :is(strong,small),
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools>summary :is(strong,small){color:#1c4931!important}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary strong{font-size:15px}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary small{font-size:13px;line-height:1.45}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary .pp-fold-arrow{color:#285b40}
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary:focus-visible{outline:3px solid #81bb98;outline-offset:2px}
.pp-qr-center .pp-qr-center-hero p{font-size:14px;line-height:1.6}
.pp-qr-center .pp-qr-center-tools label{font-size:13px}
.pp-qr-center .pp-qr-center-status>span{font-size:13px;line-height:1.4;min-height:42px}
.pp-qr-center .pp-qr-center-tabs button{font-size:14px;line-height:1.35}
.pp-qr-center .pp-qr-center-section p{font-size:14px}
.pp-qr-center .pp-qr-center-section .formfield label{font-size:14px;line-height:1.5}
.pp-qr-center .pp-qr-center-section :is(.formhint,.pp-qr-secret-copy small){font-size:13px;line-height:1.6}
.pp-qr-center .pp-qr-center-card>span{font-size:13px;line-height:1.55}
.pp-qr-center .pp-qr-center-section :is(input,textarea,select){font-size:16px;max-width:100%}
.pp-qr-center .pp-qr-pending-dashboard small{font-size:13px;line-height:1.5}
html[data-theme="dark"] .pp-shell .pp-profile-info p{color:#d0e3d6!important}
html[data-theme="dark"] .pp-shell .pp-key-panel .pp-fact-text small{color:#d0e3d6!important}
html[data-theme="dark"] .pp-shell .pp-qr-panel{background:var(--paper)!important;color:var(--ink)!important}
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools{background:#1c3128;border-color:#608a6f}
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-card-title p,
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-detail p{color:#d0e3d6!important}
@media(max-width:520px){
 .pp-shell .pp-profile-info p{font-size:13px;line-height:1.5}
 .pp-shell .pp-key-panel .pp-fact-text strong{font-size:12px}
 .pp-shell .pp-key-panel .pp-fact-text small{font-size:12px}
 .pp-shell .pp-qr-panel .pp-qr-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .pp-shell .pp-qr-panel .pp-qr-buttons>.btn{width:100%;min-width:0;min-height:48px;padding:10px 8px;font-size:12.5px;line-height:1.35}
 .pp-shell .pp-qr-panel .pp-qr-detail{align-items:flex-start;gap:12px}
 .pp-shell .pp-qr-panel .pp-qr-detail p{font-size:13px;line-height:1.55}
 .pp-qr-center .pp-qr-center-tabs button{font-size:13px;min-height:48px}
 .pp-qr-center .pp-qr-center-status>span{flex:1 1 140px;min-width:0}
}

/* v17.45 private operator queue — collapsed and visually consistent. No public links. */
.pp-admin-delete-section{margin:16px 0 22px}
.pp-admin-delete-fold{border:1px solid var(--stroke);border-radius:15px;background:var(--card);overflow:hidden}
.pp-admin-delete-fold>summary{min-height:72px;display:flex;align-items:center;gap:12px;padding:14px 18px;cursor:pointer}
.pp-admin-delete-fold>summary strong{font-size:15px;line-height:1.4;color:var(--text)}
.pp-admin-delete-fold>summary small{font-size:13px;line-height:1.45;color:var(--muted)}
.pp-admin-deletion-body{display:grid;gap:14px;padding:8px 18px 18px}
.pp-admin-delete-warning{margin:0;line-height:1.6;font-size:13px;color:var(--text)}
.pp-admin-deletion-list{display:grid;gap:8px}
.pp-admin-deletion-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;border:1px solid var(--stroke);border-radius:12px;padding:12px 14px;background:var(--paper)}
.pp-admin-deletion-row strong{font-size:14px;overflow-wrap:anywhere;min-width:0;flex:1 1 170px;color:var(--text)}
.pp-admin-deletion-row small{font-size:12px;color:var(--muted);flex:1 1 100%}
.pp-admin-delete-status{font-size:12px;font-weight:800;color:#225b43;background:#e5f5e9;border-radius:20px;padding:4px 9px}
.pp-admin-deletion-row>.btn{font-size:12px;min-height:36px;margin-left:auto}
.pp-admin-deletion-impact{flex:1 1 100%;padding:12px 14px;border:1px solid var(--stroke);border-radius:12px;background:var(--card);color:var(--text)}
.pp-admin-deletion-impact>strong{font-size:13px}
.pp-admin-deletion-impact p{font-size:12px;line-height:1.6;margin:8px 0 0;color:var(--muted)}
.pp-admin-deletion-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px 12px;margin-top:10px;font-size:12px}
.pp-admin-deletion-counts>span{display:flex;justify-content:space-between;gap:8px}
.pp-admin-deletion-counts b{font-variant-numeric:tabular-nums;color:var(--text)}
.pp-admin-deletion-body>.btn{justify-self:start;min-height:44px}
html[data-theme="dark"] .pp-admin-delete-fold,html[data-theme="dark"] .pp-admin-deletion-row{background:#1b2f28;border-color:#355346}
html[data-theme="dark"] .pp-admin-delete-status{color:#d3f2dc;background:#315440}
@media(max-width:520px){.pp-admin-delete-fold>summary{padding:13px}.pp-admin-deletion-body{padding:10px 13px 16px}.pp-admin-deletion-row{padding:12px}}

/* v17.51 owner-controlled pet caregiver block list. */
.pp-member-block-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px}
.pp-blocked-pet-members{margin-top:18px;padding:14px 13px;background:var(--surface,#f4f8f2);border:1px solid #d8e4d9;border-radius:14px}
.pp-blocked-pet-members>strong{display:block;font-size:13px}
.pp-blocked-pet-members>p{font-size:12px;line-height:1.6;opacity:.8;margin:4px 0 12px}
.pp-blocked-pet-members .member{padding:10px 0;border-top:1px solid #d8e4d9}
.pp-member-block-buttons .btn,.pp-blocked-pet-members .btn{min-height:40px}
@media(max-width:480px){.pp-member-block-buttons{justify-content:flex-start}.pp-blocked-pet-members .member{gap:10px;flex-wrap:wrap}}

/* v17.52: private QR moderator controls, not visible to pet owners. */
.pp-public-moderation{margin:14px 0 2px;border:1px solid #d5e1d6;border-radius:13px;background:#f7faf6}
.pp-public-moderation>summary{cursor:pointer;padding:13px 15px;font-size:12px;font-weight:800;min-height:46px}
.pp-public-moderation-body{padding:12px 15px 17px;border-top:1px solid #d5e1d6;display:grid;gap:11px}
.pp-public-moderation-body>p{font-size:12px;line-height:1.6;margin:0}
.pp-public-moderation-body>label{font-size:13px;line-height:1.5;display:flex;align-items:center;gap:10px}
.pp-public-moderation-body input[type=checkbox]{width:18px;height:18px;accent-color:#287b60}
.pp-public-moderation-body button{justify-self:start}
.pp-public-moderation :is(summary,input,button):focus-visible{outline:3px solid #dca865;outline-offset:3px}

/* Apple iPhone visual QA: the home welcome panel is pale in light mode.
   A later generic evergreen heading rule set white on the pale background.
   Preserve dark-mode's existing light-on-dark heading treatment. */
html:not([data-theme="dark"]) .pp-shell .content:has(.pp-home-welcome) .pp-home-welcome h1{color:#123c34}

/* v17.54: iPhone TestFlight physical-device QA — the profile must not widen
   the entire viewport. Preserve intentionally scrolling chip/planner strips. */
@media (max-width:780px) {
  html,body,#app{max-width:100%;overflow-x:clip}
  .pp-shell,.pp-shell .main-holder,.pp-shell .main,.pp-shell .content{
    min-width:0;max-width:100%;
  }
  .pp-shell .main-holder{width:100%!important}
  .pp-shell .main{width:100%;overflow-x:clip}
  .pp-shell .content>*{min-width:0;max-width:100%}
  .pp-shell :is(.pp-profile-hero,.pp-profile-collections,.pp-profile-info,
    .pp-profile-actions,.pp-profile-jumps,.pp-key-panel,.pp-facts,.pp-fact,
    .pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery,
    .pp-profile-bottom-folds,.pp-clean-fold,.pp-fold-body,.pp-qr-panel,
    .pp-qr-detail,.pp-qr-buttons,.pp-qr-center,.pp-gallery-panel,
    .pp-dashboard-grid,.pp-home-owned,.pp-pet-grid){
    min-width:0;max-width:100%;
  }
  .pp-shell .pp-profile-jumps,
  .pp-shell .pp-profile-planner .pp-week-days{
    overflow-x:auto;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .pp-shell :is(.pp-profile-info,.pp-fact-text,.pp-qr-detail,
    .pp-clean-fold>summary,.pp-fold-body){overflow-wrap:anywhere}
  .pp-shell .pp-qr-panel :is(svg,canvas,img){max-width:100%;height:auto}
  .pp-shell .mobile-nav{max-width:100%;width:100%;box-sizing:border-box}
}
@media (max-width:520px) {
  .pp-shell .pp-profile-hero{grid-template-columns:100px minmax(0,1fr)}
  .pp-shell .pp-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp-shell .pp-profile-actions .btn{min-width:0;max-width:100%;
    white-space:normal;overflow-wrap:anywhere;text-align:center}
  .pp-shell .pp-clean-fold>summary{min-width:0}
  .pp-shell .pp-clean-fold>summary :is(strong,small){overflow-wrap:anywhere}
  .pp-shell .pp-qr-panel .pp-qr-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* 2026-10-19 beta feedback — green section headers and legible QR actions.
   Scope to profile/Shared sections so medical records, private documents,
   form panels and other app surfaces retain their established readability. */
.pp-shell .pp-shared-access-fold>summary,
.pp-shell .pp-profile-today>summary,
.pp-shell .pp-profile-planner>summary,
.pp-shell .pp-profile-records>summary,
.pp-shell .pp-profile-gallery>summary,
.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary,
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary,
html[data-theme="dark"] .pp-shell .pp-shared-access-fold>summary,
html[data-theme="dark"] .pp-shell .pp-profile-today>summary,
html[data-theme="dark"] .pp-shell .pp-profile-planner>summary,
html[data-theme="dark"] .pp-shell .pp-profile-records>summary,
html[data-theme="dark"] .pp-shell .pp-profile-gallery>summary,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary,
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools>summary{
  background:#26694f!important;
  color:#fff!important;
  border:1.5px solid #4d9674!important;
  border-radius:14px;
}
.pp-shell :is(.pp-shared-access-fold,.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery) >summary :is(strong,small,.pp-fold-arrow),
.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary :is(strong,small,.pp-fold-arrow),
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary :is(strong,small,.pp-fold-arrow),
html[data-theme="dark"] .pp-shell :is(.pp-shared-access-fold,.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery) >summary :is(strong,small,.pp-fold-arrow),
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary :is(strong,small,.pp-fold-arrow),
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-tag-tools>summary :is(strong,small,.pp-fold-arrow){color:#fff!important}
.pp-shell :is(.pp-shared-access-fold,.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery)>summary .pp-fold-icon,
.pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary .pp-fold-icon,
.pp-shell .pp-qr-panel .pp-qr-tag-tools>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell :is(.pp-shared-access-fold,.pp-profile-today,.pp-profile-planner,.pp-profile-records,.pp-profile-gallery)>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell .pp-profile-bottom-folds .pp-clean-fold>summary .pp-fold-icon{
  background:#3c8864!important;color:#fff!important;
}
.pp-shell .pp-profile-records{margin:0 0 18px;min-width:0}
.pp-shell .pp-qr-panel .pp-qr-buttons{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;margin:0 0 17px;min-width:0;
}
.pp-shell .pp-qr-panel .section-head{margin-bottom:13px}
.pp-shell .pp-qr-panel .pp-qr-buttons>.btn{
  width:100%;min-width:0;min-height:60px;
  padding:12px 10px;font-size:14px;line-height:1.35;
  white-space:normal;overflow-wrap:normal;word-break:normal;
  text-align:center;justify-content:center;align-items:center;
  display:flex;gap:7px;border-radius:12px;
}
.pp-shell .pp-qr-panel .pp-qr-buttons>.btn .pp-icon{flex:none}
@media(max-width:390px){
 .pp-shell .pp-qr-panel .pp-qr-buttons{gap:8px}
 .pp-shell .pp-qr-panel .pp-qr-buttons>.btn{min-height:64px;padding:10px 7px;font-size:13px}
}


/* QR Care is a first-class destination alongside Home, Shared, Care, Scan/Shop and More.
   Six evenly sized tabs fit compact iPhones without clipping or word-break artifacts. */
@media(max-width:780px){
 .pp-evergreen-mobile-nav.mobile-nav>button,
 .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more{
   flex:1 1 0;width:16.6667%;min-width:0;max-width:16.6667%;
 }
 .pp-evergreen-mobile-nav.mobile-nav>button,
 .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary{
   min-width:0;min-height:54px;padding:5px 1px;gap:4px;
 }
 .pp-evergreen-mobile-nav.mobile-nav>button>span,
 .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary>span{
   font-size:clamp(9px,2.6vw,11px);white-space:nowrap;line-height:1.15;
 }
 .pp-evergreen-mobile-nav.mobile-nav>button>svg,
 .pp-evergreen-mobile-nav.mobile-nav>.pp-mobile-more>summary>svg{
   width:20px;height:20px;
 }
}
/* Keep QR review notifications with the private QR Care settings, not general Home reminders. */
.pp-qr-center-email-preferences{margin:24px 0 0;min-width:0}
.pp-qr-center-email-preferences h3{font-size:17px;line-height:1.4;margin:0 0 12px}
.pp-qr-center-email-preferences .pp-qr-email-settings{margin:0;min-width:0}


/* iPhone/WebKit: focusing form controls with text smaller than 16px triggers
   page zoom that can leave the entire Care screen enlarged after entry.
   Apply to actual text-entry controls throughout the app, including login,
   care notes, health records, QR Care and modals. Preserve normal pinch zoom
   (never disable user-scalable or cap maximum-scale). */
@media (max-width:780px) {
 html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
 html body textarea,
 html body select,
 html body [contenteditable="true"] {
   font-size:16px!important;
 }
}


/* Tap-to-complete care tasks: always within the task row, not hidden in its profile. */
.pp-shell .pp-hub-task-title-row{display:flex;align-items:center;gap:10px;min-width:0}
.pp-shell .pp-hub-task-title-row>strong{min-width:0;overflow-wrap:anywhere;font-size:15px;line-height:1.4}
.pp-shell .pp-hub-quick-check{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;
  width:44px;height:44px;margin:0;border:2px solid #64a47f;border-radius:12px;
  background:#e2f3e8;color:#276d49;box-shadow:none;cursor:pointer;
  touch-action:manipulation;
}
.pp-shell button.pp-hub-quick-check:hover{background:#c9ead5;border-color:#268159}
.pp-shell button.pp-hub-quick-check:active{transform:scale(.96)}
.pp-shell button.pp-hub-quick-check:focus-visible{outline:3px solid #ddab59;outline-offset:2px}
.pp-shell .pp-hub-quick-check.is-complete{background:#29734f;color:#fff;border-color:#29734f;cursor:default}
.pp-shell .pp-hub-quick-check.is-upcoming{background:transparent;border-style:dashed;border-color:var(--stroke);opacity:.65;cursor:default}
.pp-shell .pp-hub-quick-check:disabled{opacity:.45;cursor:wait}
html[data-theme="dark"] .pp-shell button.pp-hub-quick-check{background:#2c6145;border-color:#7ac49b;color:#fff}
html[data-theme="dark"] .pp-shell .pp-hub-quick-check.is-complete{background:#357c56;border-color:#87c9a0;color:#fff}
html[data-theme="dark"] .pp-shell .pp-hub-quick-check.is-upcoming{background:transparent;border-color:#668b75}
@media(max-width:480px){
 .pp-shell .pp-hub-task-title-row{gap:8px}
 .pp-shell .pp-hub-task-title-row>strong{font-size:15px}
}


/* Private Care QR workspace: separate from public lost-pet identity/QR access. */
.pp-shell .pp-care-workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:var(--surface,#e5f0e8);border:1px solid var(--stroke);border-radius:14px;padding:6px}
.pp-shell .pp-care-workspace-tabs button{display:flex;gap:8px;align-items:center;justify-content:center;min-height:48px;padding:9px;border:0;border-radius:10px;color:var(--ink);font-size:15px;font-weight:800;background:transparent;cursor:pointer}
.pp-shell .pp-care-workspace-tabs button.selected{background:#277553;color:#fff}
.pp-shell .pp-care-workspace-tabs button:focus-visible{outline:3px solid #eab963;outline-offset:2px}
.pp-shell .pp-private-care-qr{display:grid;gap:15px;min-width:0;padding:22px}
.pp-shell .pp-private-care-qr h1{font-size:25px;display:flex;align-items:center;gap:10px;color:var(--ink);margin:0}
.pp-shell .pp-private-care-qr p{font-size:14px;line-height:1.6;margin:0}
.pp-shell .pp-private-care-qr label{font-weight:750}
.pp-shell .pp-private-care-qr select{padding:12px;border-radius:10px;background:var(--panel);border:1px solid var(--line);color:var(--text);width:100%;font-size:16px}
.pp-shell .pp-care-qr-state{padding:14px;border-radius:12px;background:var(--surface,#ecf7ef);border:1px solid var(--stroke)}
.pp-shell .pp-care-qr-state>strong{display:block;font-size:16px;margin-bottom:6px}
.pp-shell .pp-care-qr-actions{display:flex;gap:9px;flex-wrap:wrap}
.pp-shell .pp-care-qr-actions .btn{white-space:normal;min-height:46px}
.pp-shell .pp-care-qr-print{display:grid;justify-items:center;text-align:center;gap:13px;padding:20px;border-radius:13px;background:#fff;color:#183d2c;border:1px solid #acc9b7;min-width:0}
.pp-shell .pp-care-qr-print>svg{max-width:100%;height:auto;background:white;padding:10px}
.pp-shell .pp-care-qr-print p{max-width:65ch;color:#2d5841}
.pp-shell .pp-care-qr-warning{background:#fff5dc!important;border:1px solid #ddb97c;border-radius:11px;color:#4b3c19!important;padding:14px}
.pp-shell .pp-care-sticker-shop{padding:22px;display:grid;gap:18px}
.pp-shell .pp-care-sticker-shop h2{font-size:23px;color:var(--ink);margin:4px 0 7px}
.pp-shell .pp-care-sticker-shop>p{line-height:1.6;margin:0}
.pp-shell .pp-care-sticker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.pp-shell .pp-care-sticker-grid article{border:1px solid var(--stroke);border-radius:13px;background:var(--panel);padding:15px;min-width:0;display:grid;gap:9px;align-content:start}
.pp-shell .pp-care-sticker-grid h3{font-size:17px;margin:0;color:var(--ink)}
.pp-shell .pp-care-sticker-grid p{font-size:13px;line-height:1.55;margin:0;color:var(--text)}
.pp-shell .pp-care-sticker-grid small{font-size:12px;color:var(--muted)}
.pp-shell .pp-sticker-visual{width:90px;height:90px;margin:auto;display:grid;place-items:center;border-radius:19px;background:#d7ede0;color:#205f44;font-size:60px}
html[data-theme="dark"] .pp-shell .pp-care-workspace-tabs{background:#233e30}
html[data-theme="dark"] .pp-shell .pp-care-workspace-tabs button{color:#ebf7ef}
html[data-theme="dark"] .pp-shell .pp-care-workspace-tabs button.selected{background:#277553;color:#fff}
html[data-theme="dark"] .pp-shell .pp-care-qr-state{background:#213b2c}
@media(max-width:650px){.pp-shell .pp-care-sticker-grid{grid-template-columns:1fr}.pp-shell .pp-private-care-qr,.pp-shell .pp-care-sticker-shop{padding:15px}.pp-shell .pp-care-workspace-tabs button{font-size:14px;padding:8px 5px}}


/* Family beta: the pet's identity is the FIRST, full-width row of each care task.
   This reduces wrong-pet feeding/medication mistakes in mixed-animal schedules. */
.pp-shell .pp-care-hub .pp-hub-task-pet{
 grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;
 background:#e3f2e7;border:1px solid #a8ceb4;border-radius:11px;
 padding:9px 13px;margin-bottom:1px;min-width:0;
}
.pp-shell .pp-care-hub .pp-hub-task-pet-label{
 text-transform:uppercase;letter-spacing:.095em;font-size:10px;font-weight:850;color:#38634a;
}
.pp-shell .pp-care-hub .pp-hub-task-pet strong{
 font-size:19px;font-weight:850;line-height:1.35;overflow-wrap:anywhere;color:#164e32;
}
html[data-theme="dark"] .pp-shell .pp-care-hub .pp-hub-task-pet{
 background:#29523b!important;border-color:#648e72!important;
}
html[data-theme="dark"] .pp-shell .pp-care-hub .pp-hub-task-pet-label{color:#bedec6!important}
html[data-theme="dark"] .pp-shell .pp-care-hub .pp-hub-task-pet strong{color:#ffffff!important}
@media(max-width:480px){
 .pp-shell .pp-care-hub .pp-hub-task-pet{padding:9px 11px}
 .pp-shell .pp-care-hub .pp-hub-task-pet strong{font-size:18px}
}


/* Owner-account cart in the top right, separate from any placed orders. */
.pp-shell .pp-header-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;padding:0;background:transparent;color:var(--ink);border:1px solid var(--stroke);border-radius:14px;cursor:pointer}
.pp-shell .pp-header-cart.active,.pp-shell .pp-header-cart:hover{background:#dfede4;border-color:#65a381;color:#195338}
.pp-shell .pp-header-cart:focus-visible{outline:3px solid #f0b668;outline-offset:3px}
.pp-shell .pp-cart-badge{position:absolute;right:-5px;top:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d73c47;color:#fff;font-weight:850;font-size:11px;line-height:1}
.pp-shell .pp-mobile-tools{display:none}
.pp-shell .pp-store-cart{max-width:960px;margin:0 auto;display:grid;gap:16px}
.pp-shell .pp-cart-hero{padding:12px 0 0}
.pp-shell .pp-cart-hero h1{display:flex;align-items:center;gap:11px;font-size:clamp(24px,4vw,32px);color:var(--ink);margin:20px 0 6px}
.pp-shell .pp-cart-hero p{font-size:15px;line-height:1.55;margin:0;color:var(--muted)}
.pp-shell .pp-cart-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:6px;background:var(--surface,#eaf2eb);border-radius:13px;border:1px solid var(--stroke)}
.pp-shell .pp-cart-tabs button{min-width:0;min-height:47px;padding:10px;color:var(--ink);border:0;border-radius:10px;background:transparent;font-size:15px;font-weight:800;cursor:pointer}
.pp-shell .pp-cart-tabs .selected{background:#267a54;color:white}
.pp-shell .pp-cart-tabs button:focus-visible{outline:3px solid #e7b96d;outline-offset:2px}
.pp-shell .pp-cart-contents{min-width:0;display:grid;gap:15px;padding:21px}
.pp-shell .pp-cart-item{display:grid;grid-template-columns:55px minmax(0,1fr);gap:13px;align-items:start;padding:15px 0;border-bottom:1px solid var(--stroke)}
.pp-shell .pp-cart-item-art{height:50px;width:50px;display:grid;place-items:center;background:#deefe3;color:#28704d;border-radius:12px}
.pp-shell .pp-cart-item-info{display:grid;gap:6px;min-width:0}
.pp-shell .pp-cart-item-info>strong{font-size:17px;line-height:1.35;overflow-wrap:anywhere;color:var(--ink)}
.pp-shell .pp-cart-item-info>span{font-size:14px;color:var(--text)}
.pp-shell .pp-cart-item-info>small{font-size:12px;line-height:1.5;color:var(--muted)}
.pp-shell .pp-cart-quantity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px}
.pp-shell .pp-cart-quantity button{min-width:43px;min-height:43px;border:1px solid #83af90;background:#e2f1e8;color:#164b33;border-radius:10px;font-size:20px;font-weight:800;cursor:pointer}
.pp-shell .pp-cart-quantity button:disabled{opacity:.4;cursor:default}
.pp-shell .pp-cart-quantity button.pp-cart-remove{font-size:13px;padding:8px 14px;background:transparent;color:#9b3940;border-color:#c5a0a1}
.pp-shell .pp-cart-quantity>span{min-width:18px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.pp-shell .pp-cart-subtotal{display:flex;gap:12px;justify-content:space-between;align-items:baseline;border-top:1px solid var(--stroke);padding-top:16px}
.pp-shell .pp-cart-subtotal strong{font-size:20px;color:var(--ink)}
.pp-shell .pp-cart-footer{display:flex;flex-wrap:wrap;gap:10px}
.pp-shell .pp-cart-footer .btn:disabled{opacity:.55;cursor:not-allowed}
.pp-shell .pp-cart-disclosure{font-size:13px;line-height:1.6;color:var(--muted);background:var(--surface,#eaf2eb);padding:13px;border-radius:10px;margin:0}
.pp-shell .pp-cart-empty{padding:24px 10px;color:var(--muted)}
.pp-shell .pp-cart-orders{display:grid;gap:15px;padding:18px 20px;background:var(--card);border:1px solid var(--stroke);border-radius:15px}
.pp-shell .pp-cart-orders>p{font-size:14px;line-height:1.6;margin:0}
.pp-shell .pp-cart-orders>.btn{justify-self:start}
.pp-shell .pp-cart-order-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--stroke)}
.pp-shell .pp-cart-order-row>div{display:grid;gap:5px}
.pp-shell .pp-cart-order-row strong{font-size:14px;color:var(--ink)}
.pp-shell .pp-cart-order-row span,.pp-shell .pp-cart-order-row small{font-size:12px;color:var(--muted)}
.pp-shell .pp-shop-add-cart{margin-top:7px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px}
.pp-shell .pp-care-sticker-grid article>.btn{margin-top:auto;white-space:normal;min-height:44px}
html[data-theme="dark"] .pp-shell .pp-header-cart{color:#fff;border-color:#5a8871}
html[data-theme="dark"] .pp-shell .pp-header-cart.active,html[data-theme="dark"] .pp-shell .pp-header-cart:hover{background:#2c5f43;color:white}
html[data-theme="dark"] .pp-shell .pp-cart-quantity button{background:#2e5941;color:white;border-color:#79b18a}
html[data-theme="dark"] .pp-shell .pp-cart-quantity button.pp-cart-remove{color:#ffd8db;border-color:#986365;background:transparent}
html[data-theme="dark"] .pp-shell .pp-cart-item-art{background:#315f45;color:white}
@media(max-width:780px){
 .pp-shell .mobile-top .pp-mobile-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-left:auto}
 .pp-shell .mobile-top .pp-mobile-tools .pp-theme-toggle{margin:0!important;flex:none}
 .pp-shell .mobile-top .pp-header-cart{width:43px;height:43px;color:#fff;border-color:#497864;background:#245443}
 .pp-shell .topbar .pp-header-cart{display:none}
 .pp-shell .mobile-top .pp-mobile-account{width:43px;height:43px;flex:none;padding:0}
 .pp-shell .mobile-top .pp-brand{min-width:0}
 .pp-shell .mobile-top .brand-name{font-size:clamp(17px,5.4vw,22px)}
 .pp-shell .pp-cart-contents{padding:15px}
 .pp-shell .pp-cart-hero{padding:0}
}
@media(max-width:360px){
 .pp-shell .mobile-top{padding-left:9px;padding-right:9px}
 .pp-shell .mobile-top .pp-mobile-tools{gap:4px}
 .pp-shell .mobile-top .pp-header-cart{width:39px;height:42px}
 .pp-shell .mobile-top .pp-mobile-account{width:38px}
}


/* Three independent Premium Care Stations; distinct from the QR Care review center. */
.pp-shell .pp-care-station-grid{display:grid;gap:17px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start}
.pp-shell .pp-care-station{border:1px solid var(--stroke);border-radius:16px;padding:16px;display:grid;gap:11px;min-width:0;background:var(--panel)}
.pp-shell .pp-care-station>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.pp-shell .pp-care-station>header h2{margin:0;font-size:18px;color:var(--ink)}
.pp-shell .pp-care-station>header span{font-size:12px;padding:5px 9px;border-radius:100px;font-weight:800}
.pp-shell .pp-care-station .pp-station-live{background:#d2e9d9;color:#135b37}
.pp-shell .pp-care-station .pp-station-off{background:#e8e2d8;color:#684c33}
.pp-shell .pp-care-station>label{font-size:14px;font-weight:750;color:var(--ink)}
.pp-shell .pp-care-station>input[type=text],.pp-shell .pp-care-station>select{width:100%;min-width:0;font-size:16px;padding:10px 12px;border:1px solid var(--stroke);border-radius:11px;background:var(--card);color:var(--ink)}
.pp-shell .pp-care-station .pp-station-toggle{display:flex;align-items:flex-start;gap:12px;padding:13px;background:var(--surface);border:1px solid var(--stroke);border-radius:12px;cursor:pointer}
.pp-shell .pp-station-toggle input{appearance:auto;flex:none;width:23px;height:23px;accent-color:#267751;margin:1px 0 0}
.pp-shell .pp-station-toggle span{display:grid;gap:5px;min-width:0}
.pp-shell .pp-station-toggle strong{font-size:16px;color:var(--ink)}
.pp-shell .pp-station-toggle small{font-size:12px;line-height:1.5;color:var(--muted);font-weight:400}
.pp-shell .pp-care-station .pp-care-qr-actions{gap:8px}
.pp-shell .pp-care-station .pp-care-qr-actions .btn{font-size:13px;min-height:44px;padding:8px 12px}
.pp-shell .pp-care-station-count{font-size:13px;line-height:1.4;margin:0;color:var(--muted)}
.pp-shell .pp-care-station-count strong{font-size:19px;color:var(--ink)}
.pp-shell .pp-care-station .pp-care-qr-print{padding:13px}
.pp-shell .pp-care-station .pp-care-qr-print svg{width:100%;max-width:220px}
@media(max-width:780px){.pp-shell .pp-care-station-grid{grid-template-columns:1fr}.pp-shell .pp-care-station{padding:13px}}



/* Shared Care screens: Today, Schedule, History */
.pp-shell .pp-care-unified-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:var(--surface);border:1px solid var(--stroke);border-radius:13px;padding:6px;margin:12px 0}
.pp-shell .pp-care-unified-tabs button{min-height:48px;background:transparent;border:0;border-radius:10px;color:var(--ink);font-weight:800;font-size:15px}
.pp-shell .pp-care-unified-tabs button.selected{background:#276a4f;color:#fff}
.pp-shell .pp-care-unified-tabs button:focus-visible{outline:3px solid #eab96e}
.pp-shell .pp-care-history{display:grid;gap:12px}
.pp-shell .pp-care-history-entry{display:grid;gap:6px;padding:14px;border:1px solid var(--stroke);background:var(--panel);border-radius:12px}
.pp-shell .pp-care-history-entry small{color:var(--muted);line-height:1.6}
.pp-shell .pp-profile-care-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:20px}
.pp-shell .pp-profile-care-summary h2{font-size:21px;margin:0 0 8px}
.pp-shell .pp-profile-care-summary p{margin:0;font-size:14px}
.pp-shell .pp-station-schedule-links{border:1px solid var(--stroke);padding:12px;border-radius:12px;display:grid;gap:10px;min-width:0}
.pp-shell .pp-station-schedule-links legend{font-weight:800;padding:0 7px}
.pp-shell .pp-station-schedule-links label{display:flex;align-items:flex-start;gap:10px;font-weight:600}
.pp-shell .pp-station-schedule-links input{width:20px;height:20px;flex:none;accent-color:#276a4f}
.pp-shell .pp-station-schedule-links p{font-size:13px;color:var(--muted)}
@media(max-width:650px){.pp-shell .pp-profile-care-summary .btn{width:100%}.pp-shell .pp-care-unified-tabs button{font-size:14px}}
/* Care Station stickers share the EXACT three-column shopping-card layout of
   engraved tags, including compact three-across cards on small iPhones. */
.pp-shell .pp-tag-shop-page .pp-care-sticker-shop{
 display:grid;gap:12px;margin:20px 0 24px;min-width:0;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-shop .pp-tag-shop-heading{
 margin:0;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid>.pp-care-sticker-card{
 display:flex;flex-direction:column;gap:0;padding:0;min-width:0;
 border-radius:16px;overflow:hidden;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-sticker-art{
 height:185px;min-height:0;padding:14px;display:grid;place-items:center;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-sticker-visual{
 display:grid;place-items:center;width:min(110px,90%);height:auto;aspect-ratio:1;
 border-radius:18px;background:#e0f1e7;color:#236c4b;border:1px solid #a1c8ad;
 box-shadow:0 3px 9px rgba(0,0,0,.08);
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-sticker-visual svg{
 width:49%;height:49%;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body{
 display:flex;flex-direction:column;gap:7px;flex:1;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body h2{
 font-size:19px;line-height:1.3;margin:0;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body strong{
 font-size:23px;color:var(--ink);
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-add-cart{
 width:100%;min-height:44px;margin-top:auto;white-space:normal;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-disclaimer{
 font-size:13px;line-height:1.55;margin:3px 0 4px;color:var(--muted);
}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body :is(h2,strong){
 color:#f3fbf5!important;
}
@media(max-width:650px){
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-sticker-art{
  height:104px!important;min-height:104px!important;padding:6px;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-sticker-visual{
  width:min(84px,95%);border-radius:13px;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body{
  padding:11px 7px 10px;gap:7px;flex:1;align-items:center;text-align:center;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body h2{
  font-size:clamp(12px,3.35vw,15px);min-height:2.5em;
  display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body strong{
  font-size:17px;line-height:1.3;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body p,
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body small,
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-tag-concept-badge,
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-sticker-title-suffix{
  display:none;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-add-cart{
  width:100%;min-height:40px;padding:7px 4px;
  font-size:12px;line-height:1.25;border-radius:9px;
 }
}
@media(max-width:360px){
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid{gap:6px}
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-sticker-art{
  height:90px!important;min-height:90px!important;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body{
  padding:8px 5px;
 }
}


/* Care Station storefront names always match owner-configured slot labels. */
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-sticker-art{position:relative}
.pp-shell .pp-tag-shop-page .pp-sticker-slot-number{
 position:absolute;top:9px;left:9px;z-index:1;
 display:grid;place-items:center;width:31px;height:31px;border-radius:50%;
 background:#267a54;color:#fff;font-size:17px;font-weight:850;
 box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body h2{
 display:flex;flex-direction:column;align-items:start;gap:4px;
 width:100%;min-height:0;overflow-wrap:anywhere;word-break:normal;
}
.pp-shell .pp-tag-shop-page .pp-sticker-slot-heading{
 font-size:13px;letter-spacing:.015em;font-weight:850;line-height:1.2;color:var(--muted);
}
.pp-shell .pp-tag-shop-page .pp-sticker-custom-name{
 font-size:clamp(14px,1.65vw,19px);line-height:1.35;
 color:var(--ink);overflow-wrap:anywhere;hyphens:auto;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-card button.pp-shop-add-cart{
 display:flex;align-items:center;justify-content:center;gap:6px;
 white-space:normal;overflow-wrap:anywhere;min-height:44px;
}
.pp-shell .pp-cart-set-up{justify-self:start;min-height:42px;font-size:13px;white-space:normal}
@media(max-width:650px){
 .pp-shell .pp-tag-shop-page .pp-sticker-slot-number{
  width:25px;height:25px;top:5px;left:5px;font-size:14px;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-grid .pp-shop-card-body h2{
  display:flex;flex-direction:column;gap:3px;min-height:0;
  align-items:center;justify-content:flex-start;
 }
 .pp-shell .pp-tag-shop-page .pp-sticker-slot-heading{font-size:11px;line-height:1.15}
 .pp-shell .pp-tag-shop-page .pp-sticker-custom-name{
  font-size:clamp(11px,3.15vw,15px);line-height:1.3;
 }
 .pp-shell .pp-tag-shop-page .pp-care-sticker-card button.pp-shop-add-cart{
  font-size:clamp(11px,2.8vw,13px);padding:7px 4px;
 }
}




/* Premium Shop benefits: compact, friendly, intentionally honest about roadmapped features. */
.pp-shell .pp-tag-shop-page .pp-why-premium{display:grid;gap:13px;padding:20px 22px;border:1px solid var(--stroke);background:var(--paper);border-radius:17px}
.pp-shell .pp-tag-shop-page .pp-why-premium-header .pp-shop-step{font-size:11px;font-weight:850;letter-spacing:.07em;color:var(--forest2);margin:0 0 6px}
.pp-shell .pp-tag-shop-page .pp-why-premium-header h2{font-size:clamp(19px,3vw,24px);line-height:1.24;color:var(--ink);margin:0 0 5px}
.pp-shell .pp-tag-shop-page .pp-why-premium-header p:not(.pp-shop-step){margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.pp-shell .pp-tag-shop-page .pp-why-premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature{min-width:0;display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid var(--stroke);border-radius:12px;background:var(--cream)}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature-icon{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#dfefe3;color:#286145}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature>div{min-width:0}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature h3{color:var(--ink);font-size:14px;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature p{color:var(--muted);font-size:12px;line-height:1.47;margin:0}
.pp-shell .pp-tag-shop-page .pp-why-premium-feature small{display:inline-flex;font-size:10px;font-weight:750;margin-top:7px;letter-spacing:.01em;color:var(--forest2)}
.pp-shell .pp-tag-shop-page .pp-why-premium-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px;background:#e4f2e8;border:1px solid #a5c8af;border-radius:12px;color:#173f2b}
.pp-shell .pp-tag-shop-page .pp-why-premium-footer>div{flex:1 1 200px}
.pp-shell .pp-tag-shop-page .pp-why-premium-footer strong{color:#173f2b;font-size:13px}
.pp-shell .pp-tag-shop-page .pp-why-premium-footer p{color:#31573d;font-size:12px;line-height:1.48;margin:4px 0 0}
.pp-shell .pp-tag-shop-page .pp-why-premium-trial{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
.pp-shell .pp-tag-shop-page .pp-why-premium-footer .btn{min-height:42px;white-space:normal}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-why-premium{background:#1b3027;border-color:#466855}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-why-premium-feature{background:#243d30;border-color:#466855}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-why-premium-feature-icon{background:#375d46;color:#ebf8ef}
html[data-theme="dark"] .pp-shell .pp-tag-shop-page .pp-why-premium-feature small{color:#b9ebc9}
@media(max-width:610px){.pp-shell .pp-tag-shop-page .pp-why-premium{padding:14px 12px;gap:10px}.pp-shell .pp-tag-shop-page .pp-why-premium-grid{grid-template-columns:1fr;gap:8px}.pp-shell .pp-tag-shop-page .pp-why-premium-feature{padding:10px}.pp-shell .pp-tag-shop-page .pp-why-premium-footer{padding:12px}.pp-shell .pp-tag-shop-page .pp-why-premium-footer .btn{width:100%}}
/* On-device camera capture for animal portraits and private vet documents.
   Native file inputs stay available for accessibility; these two choices
   never request camera access until a person explicitly taps Take/Scan. */
.pp-shell .pp-capture-choices{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
 margin:7px 0 9px;
}
.pp-shell .pp-capture-choices .pp-capture-tile{
 position:relative;display:flex;align-items:center;justify-content:center;
 text-align:center;gap:8px;min-height:52px;padding:11px 12px;
 color:#194d37!important;background:#dfefe5!important;
 border:1.5px solid #80b394;border-radius:12px;
 font-size:15px;font-weight:800;cursor:pointer;
}
.pp-shell .pp-capture-tile>svg{flex:none}
.pp-shell .pp-capture-tile input[type="file"]{
 position:absolute;inset:0;width:100%;height:100%;opacity:0;
 cursor:pointer;font-size:16px;
}
.pp-shell .pp-capture-tile:focus-within{outline:3px solid #efbf70;outline-offset:3px}
.pp-shell .pp-capture-tile:hover{background:#c8e5d3!important;border-color:#3e9761}
.pp-shell .pp-file-selection{display:block;min-height:18px;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
html[data-theme="dark"] .pp-shell .pp-capture-tile{
 background:#2a6949!important;border-color:#78ba92!important;color:#fff!important
}
@media(max-width:420px){
 .pp-shell .pp-capture-choices{gap:8px}
 .pp-shell .pp-capture-choices .pp-capture-tile{font-size:14px;gap:7px;min-height:50px;padding:9px 7px}
}
/* 2026-10-20 mobile visual polish from owner iPhone screen recording.
   Keep Premium's pale mint treatment intentionally distinct. Presentation only:
   no account, medical, payment, QR, or entitlement logic changes. */
.pp-shell .pp-updates-panel {
  min-height:0;
}
.pp-shell .pp-updates-inner {
  min-height:0;
  padding:17px 15px;
  gap:8px;
}
.pp-shell .pp-updates-inner:has(.feed-list) {
  align-items:stretch;
  text-align:left;
  padding:10px 15px;
}
.pp-shell .pp-updates-inner .feed-row {
  padding:10px 0;
}
.pp-shell .pp-updates-inner p {
  max-width:38ch;
  line-height:1.55;
}
.pp-shell .pp-qr-center .pp-qr-center-card {
  min-height:116px;
  padding:15px;
  gap:8px;
}
.pp-shell .pp-qr-center .pp-qr-center-card>strong {
  line-height:1.32;
}
.pp-shell .pp-qr-center .pp-qr-center-card>span {
  line-height:1.5;
}
.pp-shell .pp-care-recent {
  padding:15px;
}
.pp-shell :is(.pp-care-recent,.pp-updates-panel,.pp-upcoming-panel) .section-head {
  gap:10px;
  margin-bottom:10px;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-shop {
  margin:15px 0 18px;
  gap:10px;
}
.pp-shell .pp-tag-shop-page .pp-care-sticker-disclaimer {
  line-height:1.5;
}
.pp-shell .pp-care-station {
  gap:9px;
}
.pp-shell .pp-care-station .pp-station-toggle {
  padding:10px 11px;
}
.pp-shell .pp-care-station .pp-care-qr-print {
  padding:10px;
}
.pp-shell .pp-care-station .pp-care-qr-print svg {
  max-width:180px;
}
/* Avoid splitting real words in action buttons; let the two words wrap at
   their space, rather than using "overflow-wrap:anywhere". */
.pp-shell .pp-profile-hero .pp-profile-actions .btn,
html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn {
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none;
  line-height:1.35;
}
.pp-shell .pp-profile-hero .pp-profile-actions .btn svg {
  flex-shrink:0;
}
/* One consistent text rhythm and readable labels across key owner surfaces. */
.pp-shell :is(.pp-updates-panel,.pp-upcoming-panel,.pp-care-recent,.pp-key-panel) .section-head h2 {
  line-height:1.3;
  letter-spacing:-.015em;
}
.pp-shell :is(.pp-updates-panel,.pp-upcoming-panel,.pp-care-recent,.pp-key-panel) .section-head p {
  line-height:1.5;
}
/* Preserve Premium's important bright treatment. Make its explanatory copy
   more compact without hiding sandbox or subscription disclosures. */
.pp-shell .pp-shop-premium .pp-shop-subscription-note {
  line-height:1.53;
}
@media(max-width:780px) {
  /* Six profile actions need the full card width, not half the small space
     beside a pet portrait. This also fixes "Pet Passpo rt" on iPhone. */
  .pp-shell .pp-profile-hero {
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    align-items:start;
    column-gap:12px;
    row-gap:12px;
  }
  .pp-shell .pp-profile-hero .pp-profile-actions {
    grid-column:1/-1;
    width:100%;
    margin-top:0;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .pp-shell .pp-profile-hero .pp-profile-actions .btn,
  html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn {
    min-height:48px;
    padding:10px 9px!important;
    font-size:13px;
    gap:6px;
  }
  .pp-shell .pp-updates-panel {
    padding:14px;
  }
  .pp-shell .pp-care-recent {
    padding:14px;
  }
  .pp-shell .pp-qr-center .pp-qr-center-cards {
    gap:9px;
    margin:13px 0;
  }
  .pp-shell .pp-qr-center .pp-qr-center-card {
    min-height:0;
    padding:13px;
    gap:6px;
  }
  .pp-shell .pp-tag-shop-page .pp-shop-premium {
    gap:12px;
  }
}
@media(max-width:390px) {
  .pp-shell .pp-profile-hero .pp-profile-actions .btn,
  html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn {
    font-size:12px;
    padding:9px 6px!important;
    gap:5px;
  }
  .pp-shell .pp-profile-hero .pp-profile-actions .btn svg {
    width:15px;
    height:15px;
  }
  .pp-shell .pp-shop-premium .pp-shop-subscription-note {
    font-size:13px;
  }
}
/* Match the standard dark dashboard and QR Care surfaces to the same forest
   palette; leave the pale mint Premium offer, shared green fold headers,
   status indicators, and white tag artwork unchanged. */
html[data-theme="dark"] .pp-shell :is(.pp-updates-panel,.pp-upcoming-panel,.pp-care-recent) {
  background:#1b3027!important;
  border-color:#3b5a48!important;
}
html[data-theme="dark"] .pp-shell .pp-updates-inner {
  background:#233a2f!important;
  color:#eff8f0!important;
}
html[data-theme="dark"] .pp-shell .pp-updates-inner :is(p,small) {
  color:#c7dccc!important;
}
html[data-theme="dark"] .pp-shell .pp-qr-center .pp-qr-center-card {
  background:#21382d;
  border-color:#45624f;
}
html[data-theme="dark"] .pp-shell .pp-care-station {
  background:#21382d;
  border-color:#45624f;
}

/* Owner-approved forest-green profile tabs and cart legibility.
   Premium promotional mint card deliberately stays visually distinct. */
.pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary,
html[data-theme="dark"] .pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary{
 background:#25664d!important;color:#fff!important;border:1.5px solid #559879!important;
}
.pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary :is(strong,small,.pp-fold-arrow),
html[data-theme="dark"] .pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary :is(strong,small,.pp-fold-arrow){color:#f4fff8!important}
.pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary .pp-fold-icon,
html[data-theme="dark"] .pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary .pp-fold-icon{background:#337b5a!important;color:#fff!important}
.pp-shell :is(.pp-profile-records,.pp-profile-today,.pp-profile-planner,.pp-profile-gallery,.pp-profile-bottom-folds .pp-clean-fold,.pp-qr-tag-tools)>summary:hover{background:#317657!important}
.pp-shell .pp-profile-hero .pp-profile-actions .btn,
html[data-theme="dark"] .pp-shell .pp-profile-hero .pp-profile-actions .btn,
.pp-shell .pp-qr-panel .pp-qr-buttons .btn,
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-buttons .btn{
 background:#25664d!important;color:#fff!important;border-color:#519477!important;
}
.pp-shell .pp-profile-hero .pp-profile-actions .btn:hover,
.pp-shell .pp-qr-panel .pp-qr-buttons .btn:hover{background:#307657!important;color:#fff!important}
.pp-shell .pp-qr-panel .pp-qr-center-shortcut,
html[data-theme="dark"] .pp-shell .pp-qr-panel .pp-qr-center-shortcut{background:#25664d!important;color:#fff!important;border-color:#519477!important}
.pp-shell .pp-capture-choices{grid-template-columns:minmax(0,1fr)!important}
.pp-shell .pp-capture-tile{min-height:65px}
.pp-shell .pp-store-cart .pp-cart-tabs,
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-tabs{background:#e5f0e8!important;border-color:#a9c6b3!important}
.pp-shell .pp-store-cart .pp-cart-tabs button:not(.selected),
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-tabs button:not(.selected){color:#214c36!important;background:transparent!important}
.pp-shell .pp-store-cart .pp-cart-tabs button.selected,
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-tabs button.selected{background:#256b4d!important;color:#fff!important}
.pp-shell .pp-store-cart .pp-cart-disclosure,
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-disclosure{background:#e3efe6!important;color:#1d442f!important;border:1px solid #aac6b2}
.pp-shell .pp-store-cart .pp-cart-footer .btn:disabled,
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-footer .btn:disabled{
 background:#345d4b!important;color:#f1fff6!important;border:1px dashed #92bca4!important;opacity:1!important;cursor:not-allowed;
}
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-contents>p:not(.pp-cart-disclosure),
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-item-info>span,
html[data-theme="dark"] .pp-shell .pp-store-cart .pp-cart-item-info>small{color:#d8ebdd!important}
html[data-theme="light"] .pp-shell .pp-store-cart .pp-cart-contents>p:not(.pp-cart-disclosure){color:#244732}
.pp-shell .pp-store-cart .pp-cart-hero p{color:var(--ink)!important}
.pp-shell .pp-care-station-order{padding:12px;border-radius:12px;background:#e4f0e7;color:#1e4933;display:grid;gap:10px}
.pp-shell .pp-care-station-order :is(p,small){margin:0;color:#1e4933!important;line-height:1.55}
.pp-shell .pp-care-station-order .btn{justify-self:stretch}


/* PawPalio story-first Home, shared by website and native app. */
.pp-shell .content:has(.pp-home-cover) .pp-home-cover.pp-home-welcome{position:relative;isolation:isolate;display:flex;overflow:hidden;align-items:center;justify-content:space-between;gap:20px;min-height:255px;padding:30px clamp(20px,4vw,42px);border:1px solid #4e8069;border-radius:22px;background:radial-gradient(circle at 88% 30%,#315b4a 0%,transparent 38%),linear-gradient(125deg,#14372d,#214939)!important;box-shadow:0 12px 35px #1433261e;color:#f5f6e9!important}
.pp-shell .pp-home-cover-copy{position:relative;z-index:2;max-width:565px;min-width:0}
.pp-shell .pp-home-cover .pp-home-cover-eyebrow,.pp-shell .pp-home-eyebrow{margin:0 0 11px;font-size:11px!important;letter-spacing:.14em;text-transform:uppercase;font-weight:850}
.pp-shell .pp-home-cover .pp-home-cover-eyebrow{color:#c8e6cf!important}
.pp-shell .content:has(.pp-home-cover) .pp-home-cover h1{font-size:clamp(31px,5.3vw,47px)!important;line-height:1.08!important;letter-spacing:-.04em;color:#fff5df!important;margin:0 0 13px!important;max-width:15ch;font-weight:850}
.pp-shell .pp-home-cover h1 span{color:#f4d9af}
.pp-shell .content:has(.pp-home-cover) .pp-home-cover .pp-home-cover-description{font-size:clamp(13px,1.5vw,16px)!important;line-height:1.55!important;color:#e8f1e9!important;max-width:49ch;margin:0 0 20px;font-weight:450}
.pp-shell .pp-home-cover-link{display:inline-flex;align-items:center;gap:9px;border:1px solid #b7d6c2;background:#d5e8d4;border-radius:12px;color:#143e2b!important;text-decoration:none;padding:12px 17px;min-height:46px;font-size:14px;font-weight:800}
.pp-shell .pp-home-cover-link:hover,.pp-shell .pp-home-cover-link:focus-visible{background:#f2f7e7;outline:3px solid #b1dcc1;outline-offset:2px}
.pp-shell .pp-home-cover-emblem{flex:0 0 160px;width:160px;height:160px;border:1px solid #8eb09a44;border-radius:50%;display:grid;place-items:center;color:#a1c8a9a8;background:#ffffff0a;box-shadow:0 0 0 28px #d8ecd20c}
.pp-shell .pp-home-discover{scroll-margin-top:85px;display:grid;gap:18px;min-width:0}
.pp-shell .pp-home-discover-heading h2,.pp-shell .pp-home-personal-heading h2{margin:0 0 5px;color:var(--ink);font-size:clamp(22px,2.6vw,29px);letter-spacing:-.035em;line-height:1.2}
.pp-shell .pp-home-discover-heading p:last-child,.pp-shell .pp-home-personal-heading p:last-child{color:var(--muted);line-height:1.55;font-size:14px;margin:0}
.pp-shell .pp-home-discover .pp-home-eyebrow,.pp-shell .pp-home-personal-heading .pp-home-eyebrow{color:#397c58}
.pp-shell .pp-home-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.pp-shell .pp-home-benefit{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:18px 15px;border:1px solid #afceba;border-radius:16px;background:#e8f4e9;color:#183e2d;min-width:0;min-height:185px;cursor:pointer}
.pp-shell .pp-home-benefit:hover,.pp-shell .pp-home-benefit:focus-visible{border-color:#4c9670;background:#d9eddd;outline-offset:2px;transform:translateY(-1px)}
.pp-shell .pp-home-benefit-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#d0e7d5;color:#286245}
.pp-shell .pp-home-benefit strong{font-size:15px;line-height:1.25;color:#194b33}
.pp-shell .pp-home-benefit small{font-size:12px;line-height:1.5;color:#365e48;flex:1}
.pp-shell .pp-home-benefit-go{display:inline-flex;gap:5px;align-items:center;color:#266c4b;font-weight:800;font-size:12px}
.pp-shell .pp-home-personal-heading{padding-top:10px;border-top:1px solid var(--stroke)}
.pp-shell .pp-home-owned{margin-top:2px}
.pp-account-notifications{border:1px solid var(--stroke);border-radius:14px;margin:16px 0;background:var(--card,#fff);overflow:hidden}
.pp-account-notifications>summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none;min-height:62px}
.pp-account-notifications>summary::-webkit-details-marker{display:none}
.pp-account-notifications>summary>span:nth-child(2){display:grid;gap:3px;flex:1}
.pp-account-notifications>summary strong{font-size:15px;color:var(--ink)}
.pp-account-notifications>summary small{font-size:12px;color:var(--muted)}
.pp-account-notifications-body{padding:0 12px 14px}
.pp-account-notifications-body .reminder-settings{margin:0}
html[data-theme="dark"] .pp-shell .pp-home-benefit{background:#223e31;border-color:#507a61;color:#edf8ec}
html[data-theme="dark"] .pp-shell .pp-home-benefit:hover{background:#2c4a38}
html[data-theme="dark"] .pp-shell .pp-home-benefit strong{color:#f0faed}
html[data-theme="dark"] .pp-shell .pp-home-benefit small{color:#d0e4d4}
html[data-theme="dark"] .pp-shell .pp-home-benefit-go{color:#addbbd}
html[data-theme="dark"] .pp-shell .pp-home-benefit-icon{background:#2d5d43;color:#d2efd8}
html[data-theme="dark"] .pp-shell .pp-home-discover .pp-home-eyebrow,html[data-theme="dark"] .pp-shell .pp-home-personal-heading .pp-home-eyebrow{color:#a7d6b7}
@media(max-width:1030px){.pp-shell .pp-home-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pp-shell .content:has(.pp-home-cover) .pp-home-cover.pp-home-welcome{min-height:0;padding:24px 20px;border-radius:17px}.pp-shell .content:has(.pp-home-cover) .pp-home-cover h1{font-size:clamp(30px,8.5vw,40px)!important}.pp-shell .pp-home-cover-emblem{position:absolute;right:-53px;top:12px;width:135px;height:135px;opacity:.24;pointer-events:none}.pp-shell .pp-home-benefit-grid{gap:9px}.pp-shell .pp-home-benefit{padding:13px 12px;min-height:173px}.pp-shell .pp-home-benefit strong{font-size:14px}.pp-shell .pp-home-benefit small{font-size:11px}.pp-shell .pp-home-discover-heading p:last-child,.pp-shell .pp-home-personal-heading p:last-child{font-size:13px}}
@media(max-width:345px){.pp-shell .pp-home-benefit-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-shell .pp-home-benefit{min-height:0}}


/* Universal Scan and calmer, compact visual rhythm.
   Keep 16px controls for iOS focus zoom; Premium retains its accent treatment. */
.pp-shell .pp-home-cover-photo{position:relative;z-index:1;flex:0 0 42%;align-self:stretch;border-radius:15px;overflow:hidden;min-height:220px;background:#34513d}
.pp-shell .pp-home-cover-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.pp-shell .pp-home-cover.pp-home-welcome{gap:18px!important;min-height:0!important;padding:20px!important}
.pp-shell .pp-home-cover-copy{flex:1 1 54%;max-width:none}
.pp-shell .content:has(.pp-home-cover) .pp-home-cover h1{font-size:clamp(27px,3.7vw,37px)!important;line-height:1.12!important;max-width:20ch!important;letter-spacing:-.025em!important;font-weight:750!important}
.pp-shell .content:has(.pp-home-cover) .pp-home-cover .pp-home-cover-description{font-size:13px!important;line-height:1.55!important;font-weight:400!important;max-width:54ch;margin-bottom:14px}
.pp-shell .pp-home-cover-link{font-size:13px!important;padding:9px 13px!important;min-height:39px!important;border-radius:10px!important}
.pp-shell .pp-home-discover{gap:11px!important}
.pp-shell .pp-home-discover-heading h2,.pp-shell .pp-home-personal-heading h2{font-size:clamp(19px,2.2vw,25px)!important;line-height:1.23!important;letter-spacing:-.015em;font-weight:750!important}
.pp-shell .pp-home-discover-heading p:last-child{display:none}
.pp-shell .pp-home-benefit-grid{gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.pp-shell .pp-home-benefit,html[data-theme="dark"] .pp-shell .pp-home-benefit{background:#26292a!important;border:1px solid #414646!important;color:#f6f7f7!important;border-radius:14px!important;min-height:125px!important;padding:14px!important;gap:8px!important;box-shadow:none}
.pp-shell .pp-home-benefit:hover,.pp-shell .pp-home-benefit:focus-visible{background:#303536!important;border-color:#6caa87!important}
.pp-shell .pp-home-benefit-icon,html[data-theme="dark"] .pp-shell .pp-home-benefit-icon{width:32px!important;height:32px!important;background:transparent!important;color:#3cc181!important;border-radius:0!important}
.pp-shell .pp-home-benefit-icon svg{width:24px;height:24px}
.pp-shell .pp-home-benefit strong,html[data-theme="dark"] .pp-shell .pp-home-benefit strong{font-size:15px!important;font-weight:740!important;color:#fff!important}
.pp-shell .pp-home-benefit small,html[data-theme="dark"] .pp-shell .pp-home-benefit small{font-size:12px!important;line-height:1.48!important;color:#c0c7c4!important;flex:initial}
.pp-shell .pp-home-benefit-go{display:none!important}
.pp-shell .pp-home-personal-heading{padding-top:12px!important}
.pp-shell .pp-home-welcome .pp-home-cover-eyebrow{font-weight:730!important}
.pp-shell .pp-care-workspace-head{padding:17px 18px!important;min-height:0!important}
.pp-shell .pp-care-workspace-head h1{font-size:clamp(23px,4vw,30px)!important;margin:8px 0!important;letter-spacing:-.03em;font-weight:750!important}
.pp-shell .pp-care-workspace-head p:not(.pp-kicker){font-size:13px!important;line-height:1.5!important;max-width:58ch}
.pp-shell .pp-care-workspace-actions{padding:16px!important}
.pp-shell .pp-care-workspace-actions .pp-care-workspace-note{font-size:12px!important;line-height:1.48!important;margin-top:7px}
.pp-shell .pp-care-workspace-buttons{gap:9px!important}
.pp-shell .pp-care-workspace-buttons .btn{min-height:41px!important;padding:10px 12px!important;font-size:13px!important}
.pp-shell .pp-care-workspace-actions label{font-size:13px!important}
.pp-shell .pp-care-workspace-actions select{min-height:43px}
.pp-shell .pp-qr-center .pp-qr-center-card{min-height:0!important;padding:13px!important}
.pp-shell .content :is(.pp-animals-area,.pp-updates-panel,.pp-upcoming-panel) .section-head h2{font-size:18px!important;font-weight:740!important}
.pp-shell .content :is(.pp-updates-panel,.pp-upcoming-panel) .section-head p{font-size:12px!important}
.pp-shell .pp-scan-choices,.pp-shell .pp-scan-document,.pp-shell .pp-scan-assign{display:grid;gap:10px;min-width:0}
.pp-shell .pp-scan-intro{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 5px}
.pp-shell .pp-scan-choice{position:relative;display:flex;width:100%;align-items:center;text-align:left;gap:12px;min-height:75px;padding:13px 12px;border:1px solid #596860;border-radius:13px;background:#282d2d;color:#f7f9f7;cursor:pointer;box-sizing:border-box}
.pp-shell .pp-scan-choice>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}
.pp-shell .pp-scan-choice strong{font-size:14px;font-weight:750}
.pp-shell .pp-scan-choice small{font-size:12px;line-height:1.45;color:#c8d0cc}
.pp-shell .pp-scan-choice-icon{background:#35483f;display:grid;place-items:center;border-radius:10px;width:44px;height:44px;flex:none;color:#77c699}
.pp-shell .pp-scan-choice:hover,.pp-shell .pp-scan-choice:focus-within{border-color:#7ebd99;background:#333d39}
.pp-shell .pp-scan-choice .pp-icon:last-child{flex:none}
.pp-shell .pp-scan-picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.pp-shell .pp-scan-note{font-size:12px;color:var(--muted);line-height:1.5;margin:3px 0 0}
.pp-shell .pp-scan-file-ready{display:flex;gap:10px;align-items:center;background:#e6f4e9;color:#214c34;border-radius:12px;padding:12px}
.pp-shell .pp-scan-file-ready span{display:grid;gap:4px;min-width:0}
.pp-shell .pp-scan-file-ready small{overflow-wrap:anywhere}
.pp-shell .pp-scan-assign :is(select,input){font-size:16px}
.pp-shell .pp-scan-cancel-link{border:0;background:transparent;color:var(--muted);text-decoration:underline;min-height:36px;cursor:pointer}
@media(max-width:780px){
 .pp-shell .content{gap:12px!important}
 .pp-shell .pp-home-cover.pp-home-welcome{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:15px!important;gap:13px!important}
 .pp-shell .pp-home-cover-copy{flex:none}
 .pp-shell .pp-home-cover-photo{flex:none;width:100%;height:178px;min-height:178px;border-radius:11px}
 .pp-shell .content:has(.pp-home-cover) .pp-home-cover h1{font-size:clamp(25px,6.8vw,32px)!important;max-width:none!important;margin-bottom:8px!important}
 .pp-shell .content:has(.pp-home-cover) .pp-home-cover .pp-home-cover-description{font-size:12.5px!important;line-height:1.47!important;margin-bottom:12px}
 .pp-shell .pp-home-cover-link{display:flex!important;justify-content:center;margin-top:4px}
 .pp-shell .pp-home-discover-heading h2{font-size:21px!important}
 .pp-shell .pp-home-benefit-grid{gap:9px!important}
 .pp-shell .pp-home-benefit{min-height:138px!important;padding:12px 11px!important}
 .pp-shell .pp-home-benefit strong{font-size:14px!important}
 .pp-shell .pp-home-benefit small{font-size:11.5px!important}
 .pp-shell .pp-care-workspace-head{padding:14px!important}
 .pp-shell .pp-care-workspace-head h1{font-size:25px!important}
 .pp-shell .pp-care-workspace-actions{padding:13px!important}
 .pp-shell .pp-care-workspace-buttons{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important}
 .pp-shell .pp-care-workspace-buttons .btn{width:auto!important;flex:1 1 142px}
 .pp-shell :is(.pp-upcoming-panel,.pp-updates-panel,.pp-qr-center .pp-qr-center-card){padding:13px!important}
}
@media(max-width:370px){.pp-shell .pp-home-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* 2026-10-21 owner-approved compact layout and unified Health destination */
.pp-shell .pp-home-cover-highlights{display:grid;gap:12px;align-content:center;flex:0 1 370px;min-width:0;border-radius:14px;padding:17px 19px;background:rgba(8,43,32,.26);border:1px solid rgba(231,250,231,.18);color:#f5fff6}
.pp-shell .pp-home-cover-highlights strong{font-size:15px;margin-bottom:3px;color:#fff}
.pp-shell .pp-home-cover-highlights span{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.45;color:#e5f4e9}
.pp-shell .pp-home-cover-highlights svg{flex:none;color:#beecd0}
.pp-shell .pp-health-library{display:grid;gap:14px;min-width:0}
.pp-shell .pp-health-library-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;background:linear-gradient(120deg,#245940,#326c51);border-radius:16px;color:#fff}
.pp-shell .pp-health-library-header h1{margin:3px 0;font-size:26px;color:#fff;line-height:1.2}
.pp-shell .pp-health-library-header p{margin:4px 0;font-size:13px;line-height:1.5;color:#ebf4ed}
.pp-shell .pp-health-library-header .btn{background:#f5f9f6;color:#19452e;flex:none}
.pp-shell .pp-health-pet-chooser{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:3px 0}
.pp-shell .pp-health-pet-button{min-height:44px;border-radius:12px;padding:9px 14px;background:var(--card);border:1px solid var(--stroke);color:var(--ink);white-space:nowrap;display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750}
.pp-shell .pp-health-pet-button.selected{background:#276548;color:#fff;border-color:#276548}
.pp-shell .pp-health-library-active{min-width:0}
.pp-shell .pp-health-library-name{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 9px}
.pp-shell .pp-health-library-name h2{font-size:19px;margin:0}
.pp-shell .pp-care-welcome{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;margin:3px 0 10px;background:#e9f3e9;color:#234334;border:1px solid #a8cfb3;border-radius:13px}
.pp-shell .pp-care-welcome-icon{display:grid;place-items:center;flex:none;background:#d2e8d6;border-radius:10px;width:39px;height:39px}
.pp-shell .pp-care-welcome strong{font-size:15px}.pp-shell .pp-care-welcome p{font-size:12px;line-height:1.5;margin:4px 0 10px}
.pp-shell .pp-care-welcome-actions{display:flex;flex-wrap:wrap;gap:8px}
html[data-theme="dark"] .pp-shell .pp-care-welcome{background:#274534;color:#e8f5e9;border-color:#46745b}
html[data-theme="dark"] .pp-shell .pp-care-welcome-icon{background:#356448}
.pp-shell .pp-qr-center-hero{padding:16px 18px;gap:12px;margin:7px 0 9px}
.pp-shell .pp-qr-center-cards{gap:9px;margin:10px 0}
.pp-shell .pp-qr-center-card{gap:6px!important;padding:12px!important;min-height:0!important}
.pp-shell .pp-qr-center-section{padding:15px!important}
.pp-shell .pp-qr-center-section h2{font-size:18px!important;margin-bottom:7px}
.pp-shell .pp-qr-center-section p{line-height:1.5;margin:6px 0}
.pp-shell .pp-qr-center-tabs{margin-bottom:8px}
.pp-shell .pp-qr-center-email-preferences{margin-top:13px}
.pp-shell .pp-care-workspace{gap:10px}
.pp-shell .pp-care-workspace-head{padding:13px 15px!important}
.pp-shell .pp-care-workspace-actions{padding:12px 14px!important}
.pp-shell .pp-care-workspace-note{margin:5px 0 0!important}
.pp-shell .pp-care-station{padding:12px!important}
.pp-shell .pp-private-care-qr{padding:14px!important}
.pp-shell .pp-care-station-grid{gap:10px!important}
.pp-shell .pp-care-station :is(p,small){line-height:1.45}
.pp-shell .pp-health-grid{gap:10px}
.pp-shell .pp-health-panel,.pp-shell .pp-document-panel{padding:13px!important}
.pp-shell .pp-health-actions{gap:7px!important}
.pp-shell .pp-health-actions .btn{min-height:42px!important}
.pp-shell .pp-health-stats{gap:8px!important;margin:12px 0!important}
.pp-shell .pp-health-subhead{margin:12px 0 7px!important}
.pp-shell .pp-health-subhead p{margin:3px 0}
.pp-shell .pp-profile-hero{margin:0 0 12px!important;padding:15px!important}
.pp-shell .pp-profile-hero .pp-profile-image{width:120px;height:120px}
.pp-shell .pp-profile-actions{gap:7px!important;margin-top:9px!important}
.pp-shell .pp-profile-actions .btn{min-height:40px!important;padding:8px 10px!important}
.pp-shell .pp-profile-records{margin:0 0 12px!important}
.pp-shell .pp-tag-shop-page{display:grid;gap:10px}
.pp-shell .pp-tag-shop-page>section,.pp-shell .pp-tag-shop-page>.pp-tag-shop-grid{margin-block:0!important}
.pp-shell .pp-tag-shop-page .pp-shop-card{padding:11px!important}
.pp-shell .pp-tag-shop-page .pp-shop-card-body{gap:5px!important}
.pp-shell .pp-tag-shop-page .pp-premium-hero{padding:16px!important}
.pp-shell .pp-tag-inhouse{padding:13px!important}
.pp-shell .pp-tag-inhouse p{line-height:1.48}
.pp-shell .pp-scan-document .pp-scan-choice{min-height:72px}
@media(max-width:780px){
 .pp-shell .pp-home-cover-highlights{width:100%;flex:none;padding:13px;gap:8px}
 .pp-shell .pp-health-library-header{flex-wrap:wrap;padding:15px}
 .pp-shell .pp-health-library-header .btn{width:100%}
 .pp-shell .pp-health-library-name{align-items:flex-start}
 .pp-shell .pp-care-welcome{padding:12px}
 .pp-shell .pp-qr-center-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 .pp-shell .pp-qr-center-card>strong{font-size:13px!important}
 .pp-shell .pp-qr-center-card>span{font-size:11px!important}
 .pp-shell .pp-qr-center .pp-qr-center-tabs{gap:6px!important;margin-bottom:9px}
 .pp-shell .pp-profile-hero .pp-profile-image{width:108px;height:108px}
 .pp-shell .pp-health-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pp-shell .pp-health-actions .btn{white-space:normal}
}



/* 2026-10-21: Home is the daily start page for returning pet owners.
   Compact, truthful stats derive only from already-permissioned care records. */
.pp-shell .pp-home-daily-start{display:grid;gap:12px;min-width:0;margin:0 0 13px}
.pp-shell .pp-home-daily-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border:1px solid #a4c4ad;border-radius:16px;background:#eaf5ec;padding:17px 19px;color:#173f2a}
.pp-shell .pp-home-daily-top>div{min-width:0;flex:1 1 210px}
.pp-shell .pp-home-daily-top .pp-home-eyebrow{font-size:10px;letter-spacing:.075em;font-weight:850;color:#326748;margin:0 0 5px}
.pp-shell .pp-home-daily-top h1{font-size:clamp(21px,3.2vw,28px);color:#183f2d;margin:0 0 4px;line-height:1.2;letter-spacing:-.03em}
.pp-shell .pp-home-daily-top p:not(.pp-home-eyebrow){font-size:13px;color:#365b43;margin:0;line-height:1.5;max-width:68ch}
.pp-shell .pp-home-daily-top .btn{flex:none;min-height:43px}
.pp-shell .pp-home-daily-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.pp-shell .pp-home-daily-stats>div{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center;min-width:0;padding:12px 10px;border:1px solid var(--stroke);border-radius:12px;background:var(--paper)}
.pp-shell .pp-home-daily-stats>div>span{grid-row:1/3;color:var(--forest2);display:grid;place-items:center}
.pp-shell .pp-home-daily-stats strong{font-size:22px;line-height:1.2;color:var(--ink)}
.pp-shell .pp-home-daily-stats small{color:var(--muted);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.pp-shell .pp-home-daily-bottom{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:11px;align-items:start}
.pp-shell .pp-home-daily-next,.pp-shell .pp-home-daily-shortcuts{min-width:0;background:var(--paper);border:1px solid var(--stroke);padding:15px;border-radius:14px}
.pp-shell .pp-home-daily-heading{display:flex;justify-content:space-between;align-items:center;gap:7px}
.pp-shell .pp-home-daily-bottom h2{font-size:17px;line-height:1.3;margin:0;color:var(--ink)}
.pp-shell .pp-home-daily-heading .textbtn{min-height:36px;white-space:nowrap}
.pp-shell .pp-home-daily-next>p{font-size:12px;line-height:1.55;color:var(--muted);margin:5px 0 0}
.pp-shell .pp-home-daily-task-list{display:grid;gap:0;margin-top:8px}
.pp-shell .pp-home-daily-task{display:flex;align-items:center;gap:8px;padding:9px 0;border-top:1px solid var(--stroke);min-width:0}
.pp-shell .pp-home-daily-task>span{color:var(--forest2);flex:none}
.pp-shell .pp-home-daily-task>div{min-width:0;flex:1;display:grid;gap:2px}
.pp-shell .pp-home-daily-task strong{font-size:12px;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.pp-shell .pp-home-daily-task small{font-size:11px;color:var(--muted);line-height:1.35}
.pp-shell .pp-home-daily-task>small{font-size:10px;flex:none;padding:4px 6px;background:var(--cream);border-radius:8px}
.pp-shell .pp-home-daily-shortcuts>h2{margin-bottom:10px}
.pp-shell .pp-home-daily-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.pp-shell .pp-home-daily-links button{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;min-height:61px;border:1px solid var(--stroke);border-radius:11px;background:var(--cream);padding:9px;color:var(--forest2);cursor:pointer}
.pp-shell .pp-home-daily-links button>.pp-icon{flex:none}
.pp-shell .pp-home-daily-links button span{display:grid;gap:2px;min-width:0}
.pp-shell .pp-home-daily-links button strong{font-size:12px;font-weight:800;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.pp-shell .pp-home-daily-links button small{font-size:11px;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}
.pp-shell .pp-home-daily-links button:hover,.pp-shell .pp-home-daily-links button:focus-visible{border-color:#4f9d70;outline-offset:2px}
.pp-shell .pp-home-owned{margin:10px 0 13px}
.pp-shell .pp-home-personal-heading{margin-top:9px}
.pp-shell .pp-home-owned .pp-pet-image{max-height:155px;object-fit:cover}
html[data-theme="dark"] .pp-shell .pp-home-daily-top{background:#214332;color:#eff8f0;border-color:#4d7a5d}
html[data-theme="dark"] .pp-shell .pp-home-daily-top h1{color:#f0f9f1!important}
html[data-theme="dark"] .pp-shell .pp-home-daily-top :is(.pp-home-eyebrow,p){color:#d2ead9!important}
html[data-theme="dark"] .pp-shell .pp-home-daily-stats>div,
html[data-theme="dark"] .pp-shell .pp-home-daily-next,
html[data-theme="dark"] .pp-shell .pp-home-daily-shortcuts{background:#1d3229;border-color:#486853}
html[data-theme="dark"] .pp-shell .pp-home-daily-links button{background:#274235;border-color:#486853;color:#a8e0bd}
html[data-theme="dark"] .pp-shell .pp-home-daily-next h2,
html[data-theme="dark"] .pp-shell .pp-home-daily-shortcuts h2,
html[data-theme="dark"] .pp-shell .pp-home-daily-stats strong,
html[data-theme="dark"] .pp-shell .pp-home-daily-links button strong,
html[data-theme="dark"] .pp-shell .pp-home-daily-task strong{color:#f2f9f3!important}
/* Care: the top navigation names the three distinct workflows; scheduled
   task controls stay finger-sized, and destructive actions are optional. */
.pp-shell .pp-care-workspace{gap:10px}
.pp-shell .pp-care-workspace-tabs{gap:7px;flex-wrap:wrap}
.pp-shell .pp-care-workspace-head{padding:13px 16px!important}
.pp-shell .pp-care-workspace-head h1{font-size:clamp(22px,3vw,28px)!important;margin:0 0 5px}
.pp-shell .pp-care-workspace-head p:not(.pp-kicker){font-size:12px;line-height:1.48}
.pp-shell .pp-care-workspace-actions{padding:12px 14px!important;gap:8px 12px}
.pp-shell .pp-care-workspace-buttons .btn{min-height:43px}
.pp-shell .pp-care-unified-tabs button{min-height:43px;white-space:normal}
.pp-shell .pp-care-hub .pp-hub-heading{gap:9px}
.pp-shell .pp-care-hub .pp-hub-heading h2{font-size:19px;line-height:1.3}
.pp-shell .pp-care-hub .pp-hub-heading p{font-size:12px;line-height:1.45}
.pp-shell .pp-care-hub .pp-hub-stats{gap:7px}
.pp-shell .pp-care-hub .pp-hub-stats>div{padding:9px 7px}
.pp-shell .pp-care-hub .pp-hub-task{padding:10px!important;gap:7px}
.pp-shell .pp-care-hub .pp-hub-task-pet{padding:6px 10px}
.pp-shell .pp-care-hub .pp-hub-task-pet strong{font-size:16px!important}
.pp-shell .pp-care-hub .pp-hub-task-details{min-width:0}
.pp-shell .pp-hub-task-more{position:relative;min-width:0}
.pp-shell .pp-hub-task-more>summary{display:flex;align-items:center;min-height:40px;padding:8px 10px;border:1px solid var(--stroke);border-radius:9px;font-size:12px;font-weight:700;color:var(--ink);background:var(--paper);cursor:pointer}
.pp-shell .pp-hub-task-more[open]>summary{border-color:#7aaa8b}
.pp-shell .pp-hub-task-more>div{display:flex;flex-wrap:wrap;gap:7px;padding:7px 0}
.pp-shell .pp-hub-task-more .btn{min-height:38px}
@media(max-width:760px){
 .pp-shell .pp-home-daily-bottom{grid-template-columns:1fr}
 .pp-shell .pp-home-daily-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pp-shell .pp-home-daily-top{padding:13px 14px}
 .pp-shell .pp-home-daily-top .btn{width:100%}
}
@media(max-width:460px){
 .pp-shell .pp-home-daily-stats{gap:7px}
 .pp-shell .pp-home-daily-stats>div{padding:10px 8px}
 .pp-shell .pp-home-daily-stats strong{font-size:21px}
 .pp-shell .pp-home-daily-next,.pp-shell .pp-home-daily-shortcuts{padding:12px}
 .pp-shell .pp-home-owned .pp-pet-image{max-height:135px}
 .pp-shell .pp-care-hub .pp-hub-task-pet strong{font-size:16px!important}
}


/* Shop: make the planned Premium trial unmistakable without suggesting
   live iPhone subscriptions or hiding card/renewal terms. */
.pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight{
 display:flex;align-items:flex-start;gap:13px;min-width:0;padding:17px;
 border:2px solid #5a9d72;border-radius:14px;background:#fffdf3!important;color:#183d2b!important;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-icon{
 display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;
 background:#d9eddf;color:#256140!important;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-copy{min-width:0;flex:1}
.pp-shell .pp-tag-shop-page .pp-shop-trial-eyebrow{
 display:block;color:#276644!important;font-size:11px;letter-spacing:.065em;line-height:1.35;font-weight:900;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight h3{
 font-size:clamp(18px,2.6vw,22px);line-height:1.25;margin:4px 0 8px;
 color:#153e2a!important;overflow-wrap:anywhere;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight p{
 font-size:13px;line-height:1.52;margin:0 0 8px;color:#325441!important;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight .pp-shop-trial-terms{
 padding:9px 11px;background:#eef6ec;border-radius:9px;border:1px solid #b5d3ba;
}
.pp-shell .pp-tag-shop-page .pp-shop-trial-terms strong{color:#173f2c!important}
.pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight small{
 display:block;color:#48624e!important;font-size:11px;line-height:1.5;
}
@media(max-width:540px){
 .pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight{padding:12px;gap:9px}
 .pp-shell .pp-tag-shop-page .pp-shop-trial-icon{width:35px;height:35px;flex-basis:35px}
 .pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight h3{font-size:18px}
 .pp-shell .pp-tag-shop-page .pp-shop-trial-spotlight p{font-size:12px}
}

/* Account Notifications contrast. The previous white card used dark-theme
   foreground variables, leaving virtually invisible white-on-white text. */
.pp-shell #pp-account-notifications{
 background:#edf6ef!important;border:1px solid #99bbaa!important;color:#193d2c!important;
 border-radius:14px;overflow:hidden;
}
.pp-shell #pp-account-notifications>summary{
 display:flex;align-items:center;gap:12px;min-height:70px;padding:14px 16px;
 color:inherit!important;background:transparent!important;cursor:pointer;
}
.pp-shell #pp-account-notifications>summary>span:nth-child(2){min-width:0}
.pp-shell #pp-account-notifications>summary strong{
 font-size:16px;line-height:1.3;color:#1c4531!important;
}
.pp-shell #pp-account-notifications>summary small{
 font-size:13px;line-height:1.42;color:#466c53!important;
}
.pp-shell #pp-account-notifications>summary>.pp-icon,
.pp-shell #pp-account-notifications>summary>span:last-child{color:#245d40!important;flex:none}
.pp-shell #pp-account-notifications>summary>span:last-child{font-size:20px}
.pp-shell #pp-account-notifications[open]>summary{border-bottom:1px solid #adccb5}
.pp-shell #pp-account-notifications>summary:focus-visible{outline:3px solid #4b9970;outline-offset:-3px}
html[data-theme="dark"] .pp-shell #pp-account-notifications{
 background:#223e30!important;border-color:#5d866d!important;color:#f2f9f3!important;
}
html[data-theme="dark"] .pp-shell #pp-account-notifications>summary strong{color:#f0f9f2!important}
html[data-theme="dark"] .pp-shell #pp-account-notifications>summary small{color:#c8e0d0!important}
html[data-theme="dark"] .pp-shell #pp-account-notifications>summary>.pp-icon,
html[data-theme="dark"] .pp-shell #pp-account-notifications>summary>span:last-child{color:#a7d9b8!important}
html[data-theme="dark"] .pp-shell #pp-account-notifications[open]>summary{border-color:#5d866d}
html[data-theme="dark"] .pp-shell #pp-account-notifications .reminder-settings{
 background:#edf6ef!important;border-color:#99bbaa!important;color:#193d2c!important;
}
html[data-theme="dark"] .pp-shell #pp-account-notifications .reminder-content :is(h2,p,small),
html[data-theme="dark"] .pp-shell #pp-account-notifications .reminder-control{color:#244c35!important}
html[data-theme="dark"] .pp-shell #pp-account-notifications .reminder-content .eyebrow{color:#346a4b!important}
