*{box-sizing:border-box}body{margin:0;background:#f1eddf;color:var(--color-text);font:16px/24px var(--font-family)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;min-height:44px;background:none;padding:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #594900;outline-offset:2px}button:disabled{cursor:default;color:#696454;background:#f1eddf}button:active:not(:disabled){transform:scale(.98)}.review{position:fixed;left:max(24px,calc(50% - 590px));top:40px;width:280px;padding:24px;background:#fff;border-radius:20px;font-size:14px;line-height:22px}.review b{display:block;font-size:18px}.review span{display:block;color:#696454;font-size:12px;margin:8px 0 20px}.review button{display:block;border:1px solid #a49b7c;border-radius:10px;width:100%;margin:8px 0;font-size:14px}.review p{font-size:12px;line-height:20px;color:#696454}.review #annotation{padding-top:16px;border-top:1px solid #eee9d9;color:#594900}#phone{width:390px;height:844px;margin:24px auto;background:#fffdf5;border-radius:28px;overflow:hidden;position:relative;box-shadow:0 12px 32px #24211616}#app{height:100%;display:flex;flex-direction:column}.status{height:32px;flex-shrink:0;padding:8px 20px 4px;font-size:12px;line-height:20px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.status .symbols{display:flex;gap:5px;align-items:center}.status i{display:block;width:18px;height:9px;background:#242116;border-radius:2px}.status .battery{width:22px;height:11px;border:1.5px solid #242116;background:transparent;position:relative}.battery:after{content:'';position:absolute;inset:2px;background:#242116}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.icon.small{width:18px;height:18px}.iconbtn{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;position:relative;flex-shrink:0}.iconbtn.white{background:white}.dot{width:7px;height:7px;border-radius:50%;background:#b3261e;position:absolute;top:8px;right:8px;border:1px solid #fff}.header{padding:8px 20px 0;flex-shrink:0}.topline{display:flex;align-items:center;gap:8px}.area{font-size:14px;font-weight:600;text-align:left;display:flex;align-items:center;gap:4px;min-height:44px}.area .icon{width:18px;height:18px}.state{font-size:12px;line-height:18px;color:#696454;display:flex;align-items:center;gap:5px;margin-top:-4px}.state .icon{width:14px;height:14px}.intro{margin:16px 0 12px;display:flex;justify-content:space-between;align-items:flex-end}.intro h1{font:var(--font-title);margin:0;letter-spacing:-.5px}.intro p{font:var(--font-secondary);color:#696454;margin:4px 0 0}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.5px;color:#696454;margin-bottom:2px}.searchbox{display:flex;align-items:center;gap:8px;height:48px;background:#fff;border:1px solid #a49b7c;border-radius:12px;padding:0 12px}.searchbox .icon{width:20px;height:20px;color:#696454}.searchbox input{min-width:0;width:100%;border:0;background:none;outline:0;font-size:14px}.filters{display:flex;gap:8px;margin:12px 0;overflow:auto;scrollbar-width:none}.filter{height:44px;min-width:54px;padding:0 12px;border:1px solid #a49b7c;border-radius:12px;white-space:nowrap;font-size:14px;background:white;display:flex;align-items:center;justify-content:center;gap:4px}.filter.on{background:#f3d66f;border-color:#f3d66f;font-weight:600}.filter .icon{width:16px;height:16px}.scroll{flex:1;overflow:auto;min-height:0;scrollbar-width:none;padding:0 20px 20px}.listhead{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#696454;margin:4px 0 12px}.petcard{border-radius:20px;background:white;border:1px solid #eee9d9;overflow:hidden;margin-bottom:16px}.petphoto{position:relative;height:180px;background:#f1eddf}.petphoto img{width:100%;height:100%;object-fit:cover;object-position:center 35%}.petphoto .distance{position:absolute;bottom:12px;left:12px;background:white;border-radius:8px;padding:4px 8px;display:flex;gap:4px;align-items:center;font-size:12px;line-height:18px}.distance .icon{width:14px;height:14px}.species{position:absolute;top:12px;right:12px;background:#fffffff2;border-radius:8px;padding:3px 8px;font-size:12px}.petbody{padding:12px 16px 16px}.petname{display:flex;align-items:center;gap:8px}.petname h2{font-size:18px;line-height:26px;margin:0}.sex{font-size:12px;background:#f8f0d6;color:#594900;border-radius:6px;padding:1px 6px}.sex.female{background:#f7edc9;color:#65500d}.meta{font-size:14px;color:#696454;line-height:20px;margin:4px 0 8px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{background:#f7edc9;color:#65500d;padding:3px 8px;border-radius:8px;font-size:12px;line-height:18px;display:inline-flex;gap:4px;align-items:center}.tag.blue{background:#f8f0d6;color:#594900}.tag.neutral{background:#eef0e9;color:#696454}.cardfoot{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #eee9d9;gap:8px}.cardfoot span{font-size:12px;color:#696454;line-height:18px}.primary{height:48px;padding:0 16px;border-radius:14px;background:#f3d66f;font-size:16px;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary:active{background:#dfc15d}.secondary{height:48px;padding:0 16px;border-radius:14px;border:1px solid #a49b7c;background:#fff;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.cardfoot .primary{min-width:126px;font-size:14px}.note{font-size:12px;line-height:20px;color:#696454;margin:12px 0;display:flex;align-items:flex-start;gap:6px}.note .icon{width:16px;height:16px;margin-top:2px}.nav{height:72px;flex-shrink:0;border-top:1px solid #eee9d9;background:#fff;display:flex;padding:6px 12px 8px}.nav button{flex:1;display:flex;flex-direction:column;align-items:center;font-size:12px;line-height:18px;gap:4px;color:#696454}.nav span{height:28px;width:48px;border-radius:14px;display:grid;place-items:center}.nav .icon{width:22px;height:22px}.nav button.on{color:#242116;font-weight:600}.nav .on span{background:#f3d66f}.topbar{height:56px;padding:4px 12px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.topbar b{font-size:16px;font-weight:600}.profilehero{height:260px;position:relative;margin:0 -20px;background:#f1eddf}.profilehero>img{height:100%;width:100%;object-fit:cover;object-position:center 30%}.count{position:absolute;bottom:16px;right:20px;border-radius:12px;padding:4px 10px;background:#242116cc;color:white;font-size:12px}.profilecontent{position:relative;background:#fffdf5;border-radius:24px 24px 0 0;margin:-20px -20px 0;padding:20px}.profiletitle{display:flex;align-items:center;gap:8px}.profiletitle h1{font:var(--font-title);margin:0}.profilemeta{color:#696454;font-size:14px;margin:4px 0 12px}.distanceinfo{display:flex;gap:6px;color:#696454;font-size:12px;margin:16px 0}.distanceinfo .icon{width:16px;height:16px}.sectiontitle{font:var(--font-section);margin:24px 0 12px}.sectiontitle:first-child{margin-top:0}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.facts div{background:#fff;border:1px solid #eee9d9;border-radius:12px;padding:12px 8px;text-align:center}.facts small{display:block;font-size:12px;color:#696454;margin-bottom:4px}.facts b{font-size:14px}.text{font-size:14px;line-height:22px;color:#696454;margin:12px 0}.owner{border-radius:20px;border:1px solid #eee9d9;background:white;padding:16px}.ownerhead{display:flex;align-items:center;gap:12px}.ownerhead img{width:44px;height:44px;border-radius:50%;object-fit:cover}.ownerhead small{font-size:12px;line-height:18px;color:#696454;display:block;margin-top:2px}.owner .text{margin-bottom:0}.publicpost{display:flex;gap:12px;background:#fff;border:1px solid #eee9d9;border-radius:16px;padding:12px}.publicpost img{width:72px;height:72px;border-radius:12px;object-fit:cover}.publicpost p{font-size:14px;line-height:22px;margin:0 0 4px}.publicpost small{font-size:12px;color:#696454}.bottomactions{display:flex;gap:12px;border-top:1px solid #eee9d9;background:#fff;padding:12px 20px 20px;flex-shrink:0}.bottomactions .secondary{flex:1;font-size:14px}.bottomactions .primary{flex:1.8;font-size:14px}.bottomactions .icon{width:20px;height:20px}.overlay{position:absolute;inset:32px 0 0;background:#24211666;z-index:8;display:flex;align-items:flex-end}.sheet{width:100%;background:#fff;border-radius:24px 24px 0 0;max-height:94%;display:flex;flex-direction:column;overflow:hidden;padding:12px 20px 20px}.handle{width:32px;height:4px;border-radius:4px;background:#a49b7c;margin:0 auto 12px;flex-shrink:0}.sheethead{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.sheethead h2{font:var(--font-section);margin:0}.sheetbody{overflow:auto;scrollbar-width:none;min-height:0}.field{margin:16px 0}.field label,.field h3{display:block;font-size:14px;font-weight:600;margin:0 0 8px}.options{display:flex;flex-wrap:wrap;gap:8px}.option{border:1px solid #a49b7c;border-radius:12px;padding:0 14px;min-height:44px;font-size:14px;background:#fff}.option.on{background:#f3d66f;border-color:#f3d66f;font-weight:600}.option:disabled{border-color:#eee9d9}.help{font-size:12px;line-height:20px;color:#696454;margin:8px 0 0}.sheetactions{display:flex;gap:12px;margin-top:16px;border-top:1px solid #eee9d9;padding-top:16px;flex-shrink:0}.sheetactions .secondary{flex:1}.sheetactions .primary{flex:2}.privacy{background:#f8f0d6;color:#594900;border-radius:12px;font-size:12px;line-height:20px;padding:12px;margin:12px 0}.switchrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #eee9d9}.switchrow b{font-size:14px}.switch{width:48px;min-height:44px;position:relative;flex-shrink:0}.switch:before{content:'';position:absolute;left:0;right:0;top:8px;bottom:8px;background:#f1eddf;border:1px solid #a49b7c;border-radius:24px}.switch:after{content:'';position:absolute;left:4px;top:12px;width:20px;height:20px;background:#696454;border-radius:50%}.switch[aria-checked=true]:before{background:#f3d66f}.switch[aria-checked=true]:after{left:24px;background:#242116}.wide{width:100%}.select{width:100%;height:48px;border:1px solid #a49b7c;border-radius:12px;padding:0 12px;background:white}.chathead{display:flex;align-items:center;gap:8px;flex:1}.chathead img{width:36px;height:36px;border-radius:50%;object-fit:cover}.chathead b{display:block;font-size:16px;line-height:22px}.chathead small{font-size:12px;line-height:18px;color:#696454}.chat{padding-top:8px}.contextcard{background:#fff;border:1px solid #eee9d9;border-radius:16px;padding:12px;display:flex;gap:12px;align-items:center}.contextcard img{width:56px;height:56px;object-fit:cover;border-radius:12px}.contextcard strong{font-size:14px;display:block}.contextcard span{font-size:12px;color:#696454}.contextcard button{margin-left:auto}.chatnotice{font-size:12px;line-height:20px;color:#696454;text-align:center;margin:16px 0}.hello{background:#fff;border:1px solid #eee9d9;border-radius:20px;padding:24px 16px;text-align:center;margin-top:24px}.hello .helloicon{display:grid;place-items:center;width:48px;height:48px;background:#f7edc9;color:#65500d;border-radius:16px;margin:auto}.hello h2{font:var(--font-section);margin:16px 0 8px}.hello p{font-size:14px;line-height:22px;color:#696454;margin:0}.hello small{display:block;font-size:12px;line-height:20px;color:#696454;margin-top:12px}.quicktitle{font-size:12px;color:#696454;margin:24px 0 8px}.quick{display:block;width:100%;text-align:left;border:1px solid #a49b7c;border-radius:12px;background:#fff;padding:10px 12px;font-size:14px;margin:8px 0;line-height:22px}.composer{padding:12px 20px 20px;background:white;border-top:1px solid #eee9d9;display:flex;gap:8px;flex-shrink:0}.composer input{width:100%;min-width:0;height:48px;border:1px solid #a49b7c;border-radius:12px;padding:0 12px;background:#fffdf5;font-size:16px}.composer .primary{padding:0 14px}.message{display:flex;justify-content:flex-end;margin-top:20px}.message p{max-width:85%;background:#f3d66f;padding:12px 16px;border-radius:16px 16px 4px 16px;font-size:14px;line-height:22px;margin:0;word-break:break-word}.sent{text-align:right;font-size:12px;color:#696454;margin:4px 0 16px}.danger{color:#b3261e}.menurow{width:100%;text-align:left;padding:12px 0;border-bottom:1px solid #eee9d9;display:flex;gap:12px;align-items:center}.empty{text-align:center;padding:48px 12px}.empty h2{font:var(--font-section)}.empty p{font-size:14px;color:#696454}.empty .primary{margin-top:16px}#toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#242116;color:#fff;border-radius:12px;padding:12px 16px;max-width:350px;width:max-content;font-size:14px;line-height:22px;z-index:20;display:none}.demofoot{font-size:12px;line-height:18px;color:#696454;text-align:center;margin:16px 0}.reporttext{width:100%;min-height:88px;border:1px solid #a49b7c;border-radius:12px;padding:12px;margin-top:12px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #696454;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.review{position:static;width:min(680px,calc(100% - 32px));margin:20px auto;padding:16px}.review div{display:flex;gap:8px;flex-wrap:wrap}.review button{flex:1;min-width:100px;margin:4px 0}.review p{margin:8px 0}.review #annotation{padding-top:8px}#phone{margin:20px auto}}@media(max-width:480px){.review{display:none}#phone{width:100%;height:100dvh;margin:0;border-radius:0;box-shadow:none}.status{padding-top:calc(8px + env(safe-area-inset-top));height:calc(32px + env(safe-area-inset-top))}.nav,.bottomactions,.composer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.overlay{top:calc(32px + env(safe-area-inset-top))}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.grow{flex:1;min-width:0}
.composer .primary{flex-shrink:0;min-width:64px}.photo-error{display:grid;place-items:center;background:#f1eddf;color:#696454;font-size:14px;text-align:center}

.sketchcard{padding:12px 16px}.sketchrow{display:flex;gap:12px;align-items:center}.sketchrow>img{width:64px;height:72px;object-fit:cover;border-radius:14px}.sketchrow .petname h2{font-size:16px}.sketchcard .cardfoot{margin-top:8px;padding-top:8px}.sketchcard .primary{font-size:14px}.header>.mapsearch{margin:8px 0}.header>.layers{margin-top:8px}

/* Shared final integration rules */
.sketch-profile-head{display:flex;align-items:center;gap:16px;padding:16px 0}.sketch-profile-head>img{width:72px;height:72px;object-fit:cover;border-radius:24px}.sketch-profile-head h1{font-size:22px;margin:0}.sketch-profile-head p{font-size:14px;color:#696454}.sketch-profile-head>button{margin-left:auto}.profile-photos{display:flex;gap:12px;margin:16px 0}.profile-photos img{width:80px;height:80px;object-fit:cover;border-radius:16px}.profile-photos span{display:grid;place-items:center;border:1px dashed #a49b7c;border-radius:16px;padding:8px;font-size:12px;color:#696454}.record-period{display:flex;gap:8px;margin-bottom:12px}.record-period button{flex:1;border:1px solid #a49b7c;border-radius:12px}.record-period .on{background:#f3d66f;font-weight:600}.place-photo-strip img{width:100%;height:160px;object-fit:cover;border-radius:16px}.place-photo-strip p{font-size:12px;color:#696454}.message-tools{padding:0 20px}.pending-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.pending-tools span{padding:12px 4px;background:#fff;border:1px dashed #a49b7c;border-radius:12px;text-align:center;font-size:12px;color:#696454}.image-failure{font-size:12px;color:#696454;background:#f1f2ec;border-radius:8px;padding:4px;display:inline-block}button{touch-action:manipulation;transition:background-color .15s,transform .15s}button:active{transform:scale(.98)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #594900;outline-offset:2px}button:disabled{opacity:.55;transform:none;cursor:default}[hidden]{display:none!important}.composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}input,textarea{scroll-margin-bottom:100px}img{max-width:100%}@media(max-width:380px){.traffic-tabs button{font-size:11px}.sketchrow{gap:10px}.personal-entry{padding:12px}.cardfoot .primary{padding:0 10px}.profilecontent{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.friendly-event-banner{position:relative;isolation:isolate;overflow:hidden;min-height:112px;margin:12px 0 4px;border-radius:20px;background:#3a4934;color:#fff}
.friendly-event-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.friendly-event-banner::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,31,18,.86),rgba(21,31,18,.28));z-index:-1}
.friendly-event-copy{display:grid;justify-items:start;gap:4px;padding:14px 16px}
.friendly-event-copy span{padding:2px 8px;border-radius:12px;background:#ffc44f;color:#292920;font-size:11px;font-weight:700}
.friendly-event-copy strong{font-size:18px;line-height:1.4}
.friendly-event-copy small{font-size:12px;color:#fff}
