/* V26.3: escritorio conserva su sistema visual; las nuevas vistas también son fluidas. */
.pt263-return{position:absolute;left:0;top:2px;min-height:44px;padding:8px 12px;font-size:13px;max-width:calc(100% - 52px)}
.pt263-menu{margin:24px 0}.pt263-menu h2{font-size:24px;margin-bottom:12px}.pt263-menu-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:18px;padding:15px;margin:8px 0;cursor:pointer;min-height:64px}.pt263-menu-row>i{width:26px;flex:none;color:var(--blue-ink)}.pt263-menu-row svg{width:24px;height:24px}.pt263-menu-row>span:nth-child(2){flex:1;min-width:0}.pt263-menu-row small{display:block;color:var(--ink2);margin-top:4px;line-height:1.5}.pt263-menu-row b,.pt263-menu-row small{overflow-wrap:anywhere}.pt263-pet-choice .arch{width:48px;height:48px;flex:none;border-radius:15px}.pt263-module>h1,.pt263-more>h1{font-size:34px}.pt263-module>.dash-panel{margin:20px 0}.pt263-routine-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.pt263-routine-row>div{min-width:0}.pt263-routine-row p{color:var(--ink2);margin:4px 0}.pt263-routine-row .btn{flex:none}.pt263-routine-row b,.pt263-routine-row p{overflow-wrap:anywhere}
@media(max-width:899px){
 body.pt263-mobile{background:#fbf8f3}
 :root{--pt263-bar:76px}
 body.pt263-mobile main{padding:12px 18px calc(var(--pt263-bar) + env(safe-area-inset-bottom,0px) + 28px);max-width:760px}
 body.pt263-mobile .tabs{left:0;right:0;bottom:0;transform:none;width:auto;border-radius:24px 24px 0 0;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px max(8px,env(safe-area-inset-left,0px)) calc(7px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);box-shadow:0 -4px 24px #26394708;border-width:1px 0 0;z-index:20;min-height:var(--pt263-bar)}
 body.pt263-mobile .tabs .ind{display:none}
 body.pt263-mobile .tabs button{font-size:12px;min-height:60px;padding:8px 2px;gap:5px;border-radius:16px;line-height:1.25}
 body.pt263-mobile .tabs button svg{width:25px;height:25px}
 body.pt263-mobile .tabs button[aria-current=page]{color:#284b61;background:#eef4f7}
 body.pt263-mobile .tabs button[aria-current=page]::after{display:block;width:22px;margin-left:-11px;height:3px;bottom:3px;background:#527b93}
 body.pt263-mobile #fab{display:none!important}
 body.pt263-mobile .topbar.pt263-top{margin:8px 0 22px;gap:12px}
 .pt263-top .brand-m{min-width:0}.pt263-top .brand-m::before{display:none}.pt263-top .brand-m img{width:190px;max-width:100%;height:48px;object-fit:contain;object-position:left center}.pt263-top .tb-acts{flex:none;gap:8px}.pt263-top .iconbtn{width:44px;height:44px;border-color:transparent;background:#fff}.pt263-top .iconbtn:last-child{background:#eceeef}.pt263-top .iconbtn svg{width:23px;height:23px}.pt263-dot{position:absolute;right:5px;top:3px;width:9px;height:9px;border-radius:50%;background:#df7c87;box-shadow:0 0 0 2px #fff}
 body.pt263-mobile .sync-status{font-size:11px;background:transparent;color:var(--ink2);padding:5px 8px;min-height:28px;border-radius:8px}
 .pt263-home>h1{font-size:32px;font-weight:650;line-height:1.2;color:#193443;letter-spacing:-.025em;margin-bottom:18px;overflow-wrap:anywhere}.pt263-home>h1 svg{width:27px;height:27px;vertical-align:middle;color:#547d95}
 .pt263-message{border-radius:26px;background:linear-gradient(110deg,#fbeddd,#fcf2e8 62%,#f3e6d9);padding:20px 18px;margin-bottom:18px;position:relative;overflow:hidden;box-shadow:0 6px 28px #ac806507}
 .pt263-message::before{content:'♡';position:absolute;right:18px;top:7px;font-size:44px;color:#b7724e33;pointer-events:none}
 .pt263-message .pet-message{border:0;background:transparent;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:8px;align-items:center;box-shadow:none}
 .pt263-message .pet-message>.arch{grid-column:2;grid-row:1;width:74px;height:90px;border-radius:22px;align-self:center}
 .pt263-message .pet-message>div:not(.arch){grid-column:1;grid-row:1;min-width:0}
 .pt263-message .pet-message small{font-family:var(--serif);font-size:20px;line-height:1.25;color:#8f593b;display:block;padding-right:4px;font-weight:650}
 .pt263-message .pet-message p{font-size:14px;line-height:1.6;color:#80553e;margin:9px 0 0;overflow-wrap:anywhere}
 .pt263-message .message-refresh{grid-column:2;justify-self:end;min-width:44px;min-height:44px;width:44px;height:44px;background:#fff9;border:0;color:#80553e;border-radius:50%;margin-top:0}
 .pt263-pets{display:flex;flex-direction:column;gap:12px;margin-bottom:25px}.pt263-pet{background:#fff;border:1px solid #eeeae2;border-radius:24px;padding:12px;box-shadow:0 7px 22px #46535a05;min-width:0}.pt263-pet-open{display:flex;gap:14px;align-items:center;border:0;background:none;text-align:left;padding:0;color:var(--ink);width:100%;min-height:104px;cursor:pointer}.pt263-pet-open>.arch{width:98px;height:112px;border-radius:21px;flex:none;box-shadow:none}.pt263-pet-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.pt263-pet-info>strong{font:650 26px/1.2 var(--serif);color:#193443;overflow-wrap:anywhere}.pt263-pet-info>strong>span{font-family:var(--sans);font-size:23px;color:#587181;margin-left:8px}.pt263-pet-info>span{font-size:12px;overflow-wrap:anywhere}.pt263-weight{margin-top:4px}.pt263-vaccine{color:#51636d}.pt263-badge{display:flex;align-items:center;gap:7px;padding:9px 12px;min-height:44px;border:0;background:#edf5fc;color:#466c85;font-size:12px;font-weight:600;border-radius:20px;margin:9px 0 0 auto;max-width:100%;text-align:left}.pt263-badge svg{width:19px;height:19px;flex:none}
 .pt263-section{margin:25px 0}.pt263-section h2{font-size:25px;font-weight:650;line-height:1.25;color:#193443}.pt263-heading{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:13px}.pt263-heading>h2{flex:1;min-width:0}.pt263-heading>.link{font-size:12px;min-height:44px;padding:6px 0;flex:none}.pt263-heading .link span{font-size:19px;margin-left:3px}
 .pt263-care-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,76%);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 1px 10px;scrollbar-width:thin;scrollbar-color:#cad5d7 transparent}.pt263-care-list>.pt263-care:only-child{width:100%}.pt263-care-list:has(>.pt263-care:only-child){grid-auto-columns:100%}.pt263-care{scroll-snap-align:start;background:#fff;border:1px solid #eeeae2;border-radius:23px;padding:16px;display:flex;flex-direction:column;min-width:0;box-shadow:0 6px 22px #46535a05}.pt263-care-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.pt263-care-top>span{font-size:11px;background:var(--m263-tint);color:var(--m263-ink);padding:5px 9px;border-radius:20px;font-weight:650}.pt263-icon{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--m263-tint);color:var(--m263-ink);flex:none;font-style:normal;font-size:30px}.pt263-icon svg{width:24px;height:24px}.coral{--m263-tint:#fbe5e3;--m263-ink:#993f42}.blue{--m263-tint:#e8f2fb;--m263-ink:#426b87}.sage{--m263-tint:#eaf3e4;--m263-ink:#46663b}.peach{--m263-tint:#fcebd9;--m263-ink:#88532f}.lavender{--m263-tint:#f0eafb;--m263-ink:#7050ad}.pt263-care h3{font-size:21px;font-weight:650;color:#203a49;line-height:1.3}.pt263-care p{font-size:13px;color:#5e6e78;margin:8px 0;line-height:1.55;overflow-wrap:anywhere}.pt263-care .pt263-time{font-size:12px;margin:5px 0 17px}.pt263-care .btn{margin-top:auto;background:var(--m263-tint);color:var(--m263-ink);border:1px solid transparent;min-height:44px;font-size:13px;padding:10px 9px;white-space:normal}.pt263-all{font-size:12px;padding:10px 0;min-height:44px}
 .pt263-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}.pt263-quick>button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border:1px solid #eeeae2;border-radius:20px;background:#fff;min-height:105px;font-size:12px;line-height:1.35;text-align:center;cursor:pointer}.pt263-quick>button>span{overflow-wrap:anywhere}
 .pt263-empty{display:flex;align-items:flex-start;gap:12px;padding:20px 17px;background:#eef4ec;border-radius:23px;margin:24px 0}.pt263-empty>span{display:flex;width:30px;height:30px;flex:none;color:#4e6d42}.pt263-empty svg{width:25px;height:25px}.pt263-empty h2{font-size:23px;color:#30472e;line-height:1.25}.pt263-empty p{font-size:13px;color:#52664d;line-height:1.65;margin:8px 0 0}
 .pt263-more>h1,.pt263-module>h1{font-size:31px;font-weight:650;color:#193443}.pt263-menu-row{border-radius:20px}.pt263-menu-row small{font-size:12px}.pt263-menu-row b{font-size:14px}.pt263-routine-row{flex-wrap:wrap}.pt263-routine-row>.btn{margin-left:auto}
 .pt263-module .dash-panel{margin-top:18px}.pt263-module .care-food-plan{overflow-wrap:anywhere}
 body.pt263-mobile .welcome{padding-top:20px}body.pt263-mobile .welcome .arch{max-width:150px;margin-inline:auto}body.pt263-mobile .welcome h1{font-size:30px}
 body.pt263-mobile .sheet{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 body.pt263-mobile :is(.btn,.link,.iconbtn){touch-action:manipulation}
 body.pt263-mobile .sheet button.link{min-height:44px}
 body.pt263-mobile .pt263-section,.pt263-pets,.pt263-care-list{max-width:100%;min-width:0}
 body.pt263-mobile #page-content{min-height:45vh}
 @media(min-width:520px){.pt263-quick>button{flex-direction:row;justify-content:center;padding:16px}.pt263-care-list{grid-auto-columns:minmax(220px,48%)}.pt263-pets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pt263-pets:has(>.pt263-pet:only-child){grid-template-columns:1fr}}
 @media(max-width:359px){body.pt263-mobile main{padding-inline:13px}.pt263-top .brand-m img{width:155px}.pt263-top .tb-acts{gap:4px}.pt263-home>h1{font-size:28px}.pt263-pet-open>.arch{width:78px;height:98px}.pt263-pet-open{gap:10px}.pt263-pet-info>strong{font-size:23px}.pt263-message{padding:18px 14px}.pt263-message .pet-message{grid-template-columns:minmax(0,1fr) 60px}.pt263-message .pet-message>.arch{width:60px;height:80px}.pt263-heading h2{font-size:22px}.pt263-heading>.link{font-size:11px}}
}
@media(prefers-reduced-motion:reduce){.pt263-care-list{scroll-behavior:auto;scroll-snap-type:none}}

.pt263-add-row{width:100%;text-align:left;cursor:pointer;background:var(--card);color:var(--ink);border:0;min-height:64px}.pt263-add-row .t,.pt263-add-row .s{display:block}

/* V26.8: el texto de la receta dispone de una fila completa en móviles. */
@media(max-width:767px){
 .row.pet-treatment-row{flex-wrap:wrap;align-items:flex-start;gap:12px}
 .row.pet-treatment-row>.grow{flex:1 1 100%;width:100%;min-width:0}
 .row.pet-treatment-row>.grow .t,.row.pet-treatment-row>.grow .s{word-break:normal;overflow-wrap:anywhere}
 .row.pet-treatment-row>.tag{max-width:100%;white-space:normal}
 .row.pet-treatment-row>.btn{max-width:100%;white-space:normal}
 .row.pet-treatment-row>.iconbtn{flex-shrink:0}
}

.p269-package{min-width:0;max-width:100%;margin:16px 0}.p269-package p{line-height:1.6;overflow-wrap:anywhere}.p269-package .btn{max-width:100%;white-space:normal}

.p271-correction{margin:14px 0;min-width:0}.p271-correction button{max-width:100%;white-space:normal}
.care-rx-form #newMed fieldset{min-width:0;max-width:100%}.care-rx-form #newMed legend{max-width:100%;white-space:normal}
