.mypets-dashboard .pets-main {max-width:1060px;}
.mypets-dashboard .pet-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;}
.mypets-dashboard .pet-card {padding:24px;min-height:0;border:1px solid #e6d6c5;border-radius:24px;background:#fff8ef;box-shadow:0 4px 18px #60463805;}
.mypets-dashboard .pet-card::before,.mypets-dashboard .pet-profile-link::after {display:none;}
.dashboard-pet-top {display:flex;gap:18px;align-items:center;padding-right:28px;min-width:0;}
.dashboard-avatar {width:86px;height:86px;flex:0 0 86px;border-radius:50%;background:#efdfcd;border:3px solid #faf0e6;display:grid;place-items:center;overflow:hidden;color:var(--brown);text-decoration:none;}
.dashboard-avatar>span {font-size:29px;}
.dashboard-avatar img {width:100%;height:100%;object-fit:cover;}
.dashboard-pet-info {min-width:0;flex:1;}
.mypets-dashboard .pet-card h2 {font:normal 27px/1.25 Georgia,serif;margin:0 0 8px;padding:0;overflow-wrap:anywhere;}
.dashboard-pet-meta {font-size:12px;color:#846b59;line-height:1.6;margin:3px 0;overflow-wrap:anywhere;}
.dashboard-badges {display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;}
.dashboard-pill {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 10px;border-radius:999px;background:#f3dfce;color:#815a45;font-size:11px;line-height:1.5;white-space:nowrap;}
.dashboard-pill .zodiac-symbol {font-family:Arial,"Apple Symbols",sans-serif;font-size:10px;font-variant-emoji:text;line-height:1;}
.mypets-dashboard .pet-menu {top:15px;right:14px;}
.mypets-dashboard .pet-menu summary {width:30px;height:30px;font-size:23px;background:transparent;}
.dashboard-profile-arrow {display:grid;place-items:center;width:32px;height:32px;margin:10px 0 0 auto;border-radius:50%;text-decoration:none;color:#815a45;background:#f5e5d6;font-size:20px;}
.dashboard-avatar:hover,.dashboard-profile-arrow:hover {opacity:.85;}
.dashboard-avatar:focus-visible,.dashboard-profile-arrow:focus-visible {outline:3px solid #bd8060;outline-offset:4px;}
.dashboard-medications {border-top:1px solid #eadbc9;padding-top:14px;margin-top:16px;}
.dashboard-medications .med-quick-heading h3 {font-family:inherit;font-size:12px;font-weight:600;margin:0;}
.dashboard-medications .med-quick-heading {margin-bottom:12px;gap:8px;flex-wrap:wrap;}
.dashboard-medications .med-quick-heading a {font-size:11px;}
.dashboard-medications .med-quick-list {display:flex;flex-direction:column;gap:8px;}
.dashboard-medications .med-quick-dose {flex-direction:row;align-items:center;padding:12px;border-radius:14px;gap:12px;}
.dashboard-medications .med-quick-dose>div {min-width:0;}
.dashboard-medications .med-quick-dose strong {font-size:12px;}
.dashboard-medications .med-quick-dose small,.dashboard-medications .med-muted {font-size:11px;}
.dashboard-medications .med-taken {width:auto;min-width:66px;flex-shrink:0;min-height:38px;font-size:12px;}
.dashboard-medications .status:empty {display:none;}
@media(max-width:700px){.mypets-dashboard .pet-list{grid-template-columns:minmax(0,1fr);}.mypets-dashboard .pet-card{padding:22px;}}
@media(max-width:380px){.dashboard-avatar{width:70px;height:70px;flex-basis:70px;}.dashboard-pet-top{gap:12px;padding-right:16px;}.mypets-dashboard .pet-card{padding:18px;}.mypets-dashboard .pet-card h2{font-size:25px;}}
/* Compact card refinement; all selectors stay scoped to My Pets. */
.mypets-dashboard .pet-list {gap:16px;}
.mypets-dashboard .pet-card {padding:22px;background:#FFF7EE;border-color:#E6D4C3;border-radius:22px;}
.dashboard-pet-top {gap:15px;padding-right:27px;}
.dashboard-avatar {width:82px;height:82px;flex-basis:82px;}
.mypets-dashboard .pet-card h2 {font-size:25px;margin-bottom:5px;}
.dashboard-pet-meta {margin:2px 0;line-height:1.5;}
.dashboard-badges {gap:6px;margin-top:8px;}
.dashboard-pill {padding:4px 9px;}
.dashboard-profile-arrow {position:absolute;right:15px;top:60px;width:28px;height:28px;margin:0;background:#F4E4D4;}
.dashboard-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;border-top:1px solid #EADBCB;margin-top:17px;padding-top:12px;}
.dashboard-shortcut {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;padding:8px 2px;min-height:38px;color:#795A46;text-decoration:none;font:inherit;font-size:11px;border:0;border-radius:9px;background:transparent;cursor:pointer;}
.dashboard-shortcut:hover {background:#F4E5D6;}
.dashboard-shortcut:focus-visible {outline:3px solid #BD8060;outline-offset:2px;}
.shortcut-icon {font-size:14px;line-height:1;}
.dashboard-shortcut small {font-size:9px;line-height:1.2;}
.dashboard-shortcut:disabled {color:#8D7D70;cursor:default;background:transparent;}
.dashboard-medications {margin-top:10px;padding-top:12px;}
.dashboard-medications .med-quick-dose {padding:10px 12px;gap:10px;background:#F5E6D7;border-color:#EAD4BE;}
.dashboard-medications .med-taken {background:#EED6C1;color:#815A45;border:0;box-shadow:none;min-height:36px;}
.dashboard-medications .med-taken:hover {background:#E6CAB2;}
.dashboard-medications .med-taken:disabled {background:#EED6C1;color:#815A45;box-shadow:none;}
@media(max-width:380px){.mypets-dashboard .pet-card{padding:18px;}.dashboard-avatar{width:70px;height:70px;flex-basis:70px;}.dashboard-pet-top{gap:12px;}.mypets-dashboard .pet-card h2{font-size:23px;}.dashboard-shortcut{font-size:10px;}.dashboard-shortcuts{gap:3px;}}

@media(max-width:700px){.mypets-dashboard .pet-list{align-items:start;}.mypets-dashboard .pet-card{align-self:start;}}
/* Larger portrait tiles and a compact daily-care flow; grid and badges stay unchanged. */
.mypets-dashboard .pet-card {padding:20px;}
.dashboard-pet-top {gap:16px;}
.dashboard-avatar {width:120px;height:120px;flex-basis:120px;border-radius:22px;}
.dashboard-avatar>span {font-size:38px;}
.dashboard-avatar img {object-fit:cover;}
.dashboard-medications {margin-top:14px;padding-top:10px;}
.dashboard-medications .med-quick-heading {margin-bottom:8px;}
.dashboard-medications .med-quick-list {gap:6px;}
.dashboard-medications .med-quick-dose {padding:8px 10px;gap:10px;border-radius:12px;}
.dashboard-medications .med-quick-dose>div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);column-gap:8px;row-gap:2px;flex:1;}
.dashboard-medications .med-quick-dose strong {grid-column:1;grid-row:1;font-size:12px;line-height:1.5;}
.dashboard-medications .med-quick-dose small {grid-column:2;grid-row:1;text-align:right;font-size:11px;line-height:1.5;margin:0;}
.dashboard-medications .med-quick-dose .med-muted {grid-column:1/-1;margin:0;line-height:1.5;}
.dashboard-medications .med-quick-dose .med-logged {grid-column:1/-1;margin:0;font-size:11px;line-height:1.5;}
.dashboard-medications .med-taken {min-height:36px;padding:7px 10px;}
.dashboard-shortcuts {margin-top:12px;padding-top:9px;gap:0;}
.dashboard-shortcut {flex-direction:column;flex-wrap:nowrap;gap:4px;min-height:60px;padding:5px 3px;line-height:1.3;border-radius:0;}
.dashboard-shortcut+.dashboard-shortcut {border-left:1px solid #EADBCB;}
.dashboard-shortcut .shortcut-icon {font-size:22px;line-height:1;}
.dashboard-shortcut small {font-size:9px;}
@media(max-width:700px){
  .dashboard-avatar {width:96px;height:96px;flex-basis:96px;border-radius:18px;}
  .dashboard-avatar>span {font-size:32px;}
  .dashboard-pet-top {gap:12px;padding-right:22px;}
  .mypets-dashboard .pet-card {padding:18px;}
}
/* Independent desktop stacks, with saved-order single-column flow on mobile. */
.mypets-dashboard .pet-list {align-items:start;gap:16px;}
.dashboard-column {display:flex;flex-direction:column;gap:16px;min-width:0;}
.mypets-dashboard .pet-card {align-self:stretch;}
.dashboard-badges:not(:has(>span:not([hidden]))) {display:none;}
.dashboard-health-status {background:#F3DFCE;color:#A66F55;gap:5px;}
.dashboard-health-status .health-pill-icon {font-size:12px;line-height:1;}
.dashboard-health-status.is-healthy {background:#E4ECD8;color:#4F6944;}
.dashboard-health-status .health-leaf {font-size:15px;line-height:1;color:#5F7D4C;}
@media(max-width:700px){.mypets-dashboard .pet-list{grid-template-columns:minmax(0,1fr);}.mypets-dashboard .pet-card{align-self:start;width:100%;}}
.dashboard-health-status.needs-attention {background:#F5E5C6;color:#94651F;}
.dashboard-health-status .health-alert,.health-status-options .health-alert {color:#A87728;font-size:13px;line-height:1;}
.health-status-field {border:1px solid var(--line);border-radius:14px;margin:18px 0;padding:14px;}
.health-status-field legend {font-size:13px;padding:0 5px;}
.health-status-options {display:flex;flex-wrap:wrap;gap:12px 18px;}
.health-status-options label {display:inline-flex;gap:7px;align-items:center;margin:0!important;font-size:13px;cursor:pointer;}
.health-status-options input {width:16px;height:16px;min-height:0;margin:0;accent-color:#815A45;}
.health-status-field>.text-button {font-size:12px;margin-top:10px;}
.pet-photo-editor {padding:16px;margin-bottom:20px;border:1px solid var(--line);border-radius:16px;background:#faf0e6;}
.pet-photo-editor input[type=file] {font-size:12px;padding:10px;min-height:0;}
.pet-photo-editor input[type=range] {padding:0;min-height:24px;accent-color:#a66f55;}
.pet-photo-editor #photoCrop {display:block;width:220px;max-width:100%;height:auto;aspect-ratio:1;border-radius:18px;background:#efdfcd;touch-action:none;cursor:grab;margin:14px auto;}
.pet-photo-editor #photoCrop:active {cursor:grabbing;}
.photo-help,#photoError {font-size:12px;line-height:1.7;color:var(--muted);}
#photoError {color:#954f39;}
