/* Interface refinement. Loaded after app.css; no external fonts or libraries. */
:root{--bg:#f6f7f9;--ink:#20252b;--muted:#69717c;--line:#e5e8ed;--gold:#886435;--gold-soft:#f5eee4;--green:#37705c;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:var(--bg);-webkit-font-smoothing:antialiased}
h1{font-weight:650;letter-spacing:-.045em}h2,h3{letter-spacing:-.025em}
.button{border-radius:11px;min-height:46px;font-weight:600;box-shadow:0 3px 7px #20252b0b}.button:hover{background:#353e48}.button.secondary:hover{background:#f5f7f9}.button.danger:hover{background:#87362f}
input,select,textarea{border-color:#dfe3e8;border-radius:10px;transition:border-color .16s,box-shadow .16s}input:focus,select:focus,textarea:focus{border-color:#a6875d;box-shadow:0 0 0 3px #a6875d12}
.panel{box-shadow:0 4px 20px #16233604;border-color:var(--line)}
.sidebar{width:252px;background:#20252b;color:#f6f7f9;border:0;padding:30px 18px 20px}.sidebar .brand{padding:0 10px 30px;color:#fff}.sidebar .brand img{box-shadow:0 0 0 3px #ffffff0a}.sidebar .brand span{min-width:0;overflow-wrap:anywhere}.sidebar .brand small{color:#afb8c4;font-size:.69rem;line-height:1.5}
.sidebar nav{gap:4px}.sidebar nav a{color:#bfc5ce;border-radius:10px;padding:10px 14px;font-size:.84rem;transition:background .15s,color .15s}.sidebar nav a:hover{background:#ffffff0b;color:#fff}.sidebar nav a.selected{border-left:0;padding-left:14px;background:#dfcaab;color:#30291f;box-shadow:0 3px 12px #00000010}.sidebar nav a.selected:after{content:"";float:right;width:5px;height:5px;border-radius:50%;background:currentColor;margin-top:8px}.sidebar .nav-label{color:#9fa9b6;font-size:.64rem;letter-spacing:.13em;padding:23px 14px 7px}.sidebar-footer{border-color:#ffffff1a;padding:18px 12px 0;margin-top:28px}.sidebar-footer strong{color:#fff}.sidebar-footer small{color:#aeb7c4}.sidebar .text-button{color:#dfcaab}.sidebar .mobile-logout{border-color:#ffffff1a}
.main.with-sidebar{margin-left:252px;padding:40px clamp(24px,3.4vw,58px);max-width:1600px}.page-footer.with-sidebar{margin-left:252px}.page-heading{margin-bottom:30px}.page-heading .eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.16em}.page-heading p{font-size:.93rem}.filters{background:#fff;border-radius:15px}.metrics{box-shadow:0 4px 18px #16233603}.metrics article{padding:25px}.metrics strong{font-variant-numeric:tabular-nums}.notice{border-radius:14px}.notice.warning{background:#fff8eb;border-color:#e9d9b9}.table-scroll th{background:#f7f8fa;color:#677180}.table-scroll tbody tr:hover{background:#fafbfd}.status{border-radius:20px;padding:5px 10px}.pagination{padding:22px 2px}.pagination a{font-weight:600}
.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}
.pets-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#737c88;font-size:.76rem;margin-bottom:30px}.pets-breadcrumb>span:first-child{color:#454f5b;font-weight:550}.pets-breadcrumb>span:nth-child(2){color:#b0b7c0}.pets-heading h1{font-size:clamp(2.4rem,3.6vw,3.4rem);margin-bottom:9px}.heading-dot{color:#a68a61}.pets-heading .eyebrow{margin-bottom:10px}.pets-heading .button{padding:12px 19px;white-space:nowrap}.pets-heading .button .ui-icon{width:18px}
.pets-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0 36px}.pets-stat{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:23px 24px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 4px 16px #25324603}.pets-stat>div{min-width:0}.pets-stat>div>span{display:block;font-size:.79rem;font-weight:550;color:#5e6875}.pets-stat strong{display:block;font-size:2.25rem;font-weight:600;line-height:1.25;letter-spacing:-.05em;font-variant-numeric:tabular-nums;margin:10px 0 7px}.pets-stat small{display:block;font-size:.7rem;color:#7a828d;line-height:1.5}.stat-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f1f0ed;color:#756754}.stat-icon.green{background:#edf5f0;color:#41745c}.stat-icon.amber{background:#fbf1e6;color:#9b6c32}
.pets-directory{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 6px 24px #16233603}.pets-section-heading{margin:0 0 22px}.pets-section-heading h2{font-size:1.17rem;font-weight:650;margin:0}.results-count{font-size:.73rem;background:#f3f5f7;border:1px solid #eaedf1;color:#627080;border-radius:20px;padding:5px 11px;white-space:nowrap}
.pets-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid #edf0f3}.pets-search-field{position:relative;flex:1 1 250px}.pets-search-field>.ui-icon{position:absolute;left:14px;top:15px;width:18px;height:18px;color:#8b939e}.pets-search-field input{padding:12px 13px 12px 42px;background:#f9fafb;width:100%;margin:0;height:48px;font-size:.82rem}.pets-search-field input::placeholder{color:#7e8793}.pets-select{flex:0 1 156px;margin:0}.pets-select select{margin:0;background:#fff;font-size:.79rem;height:48px;padding:10px 25px 10px 12px}.pets-filters .button{height:48px}.pets-clear{font-size:.78rem;color:#785b35;padding:10px 3px;text-decoration:underline;text-underline-offset:3px}
.pets-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.pet-profile-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e5e8ec;border-radius:16px;padding:20px 19px 0;overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s}.pet-profile-card:hover{border-color:#c9b597;box-shadow:0 8px 22px #27323d09;transform:translateY(-2px)}.pet-profile-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.pet-type-label{display:flex;align-items:center;gap:6px;font-size:.7rem;color:#777f88;overflow-wrap:anywhere}.pet-type-label .ui-icon{width:15px;height:15px}.pet-state{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;font-size:.62rem;font-weight:600;white-space:nowrap;line-height:1.5}.pet-state>span{height:4px;width:4px;background:currentColor;border-radius:50%}.pet-state.is-active{color:#3e775b;background:#edf6f0}.pet-state.is-inactive{color:#68717e;background:#f0f2f5}
.pet-profile-main{display:flex;gap:14px;align-items:center;margin-bottom:23px}.pet-profile-photo,.pet-profile-monogram{width:70px;height:70px;flex-shrink:0;border-radius:19px;object-fit:cover}.pet-profile-monogram{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f3ece2,#ede2d1);color:#89724f;font-family:Georgia,serif;font-size:2.2rem;font-weight:400;border:1px solid #e9dece}.pet-profile-card:nth-child(3n+2) .pet-profile-monogram{background:linear-gradient(145deg,#edf3ef,#dfece4);color:#64836d;border-color:#dfe8e1}.pet-profile-card:nth-child(3n) .pet-profile-monogram{background:linear-gradient(145deg,#edf0f7,#e0e5f1);color:#687c9c;border-color:#e0e5ee}.pet-profile-identity{min-width:0}.pet-profile-identity h3{font-size:1.28rem;margin:0 0 5px;line-height:1.2;font-weight:650;overflow-wrap:anywhere}.pet-profile-identity p{font-size:.75rem;margin:0 0 5px;line-height:1.5;overflow-wrap:anywhere}.pet-profile-identity small{font-size:.66rem;display:block;overflow-wrap:anywhere}.pet-profile-owner{display:flex;align-items:flex-start;gap:9px;padding:13px 0;border-top:1px solid #eff1f4;margin-bottom:6px}.pet-profile-owner>.ui-icon{height:16px;width:16px;color:#929ba6;margin-top:4px}.pet-profile-owner>div{min-width:0}.pet-profile-owner span{display:block;text-transform:uppercase;letter-spacing:.08em;color:#8a929d;font-size:.56rem;font-weight:600}.pet-profile-owner p{margin:4px 0 0;font-size:.76rem;color:#485461;overflow-wrap:anywhere;line-height:1.6}.pet-care-note{display:flex;align-items:center;gap:7px;border-radius:8px;background:#fff6e9;color:#91652d;padding:8px 10px;font-size:.64rem;margin-bottom:17px}.pet-care-note>.ui-icon{height:14px;width:14px}.pet-profile-link{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eff1f4;padding:14px 0;margin-top:auto;font-size:.72rem;font-weight:600;color:#6f593c}.pet-profile-link>.ui-icon{height:16px;width:16px}.pet-profile-link:hover{color:#382c1e}
.pets-results-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.69rem;color:#7e8793;margin:24px 0 0}.pets-results-footer>span:last-child{color:#969da6}.pets-empty{grid-column:1/-1;text-align:center;padding:46px 20px 54px;background:linear-gradient(180deg,#fcfcfd,#f8f9fb);border:1px dashed #dce1e8;border-radius:15px}.pets-empty-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:#efe7da;color:#91734a;border-radius:20px;margin:0 auto 20px}.pets-empty-icon>.ui-icon{width:30px;height:30px}.pets-empty h3{font-size:1.3rem;margin-bottom:10px}.pets-empty p{font-size:.86rem;max-width:390px;margin:0 auto 24px;line-height:1.7}
@media(min-width:1900px){.main.with-sidebar{margin-right:auto;margin-left:calc(252px + (100vw - 1852px)/2)}}
@media(max-width:1250px){.main.with-sidebar{padding:32px 26px}.pets-collection{grid-template-columns:repeat(2,minmax(0,1fr))}.pets-stat{padding:20px 16px}.stat-icon{width:34px;height:34px}.pets-stat small{font-size:.65rem}}
@media(max-width:1000px){.pets-stat{gap:7px}.pets-stat .stat-icon{display:none}.pets-filters .pets-select{flex:1 1 130px}.pets-search-field{flex-basis:100%}}
@media(max-width:900px){.sidebar{width:auto;padding:17px 22px}.sidebar .brand{padding:0}.sidebar .brand small{font-size:.67rem}.main.with-sidebar{margin-left:0;padding:30px 22px}.page-footer.with-sidebar{margin-left:0}.mobile-menu summary{background:#ffffff0a;border-color:#ffffff26;color:#fff}.mobile-menu nav{background:#252b33;border-color:#3a414c}.pets-stat .stat-icon{display:flex}.pets-directory{padding:22px}.pets-breadcrumb{margin-bottom:24px}}
@media(max-width:600px){.main.with-sidebar{padding:24px 15px}.sidebar{padding:16px}.sidebar .brand{max-width:calc(100% - 82px);gap:9px}.sidebar .brand span{font-size:.87rem}.sidebar .brand small{font-size:.59rem}.mobile-menu summary{padding:8px 13px}.pets-heading{gap:18px}.pets-heading h1{font-size:2.65rem}.pets-heading p{font-size:.88rem}.pets-heading>.button{width:100%}.pets-breadcrumb{font-size:.69rem;gap:8px}.pets-stats{grid-template-columns:1fr;gap:10px;margin:22px 0}.pets-stat{padding:16px 18px;align-items:center}.pets-stat>div{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.pets-stat strong{grid-column:1;grid-row:1/3;font-size:1.9rem;margin:0;min-width:36px}.pets-stat>div>span{grid-column:2;grid-row:1;font-size:.8rem}.pets-stat small{grid-column:2;grid-row:2;font-size:.67rem}.pets-stat .stat-icon{width:36px;height:36px}.pets-directory{padding:18px 14px;border-radius:17px}.pets-section-heading h2{font-size:1.08rem}.pets-section-heading{gap:8px}.results-count{font-size:.68rem}.pets-filters{gap:10px;margin-bottom:18px;padding-bottom:18px}.pets-select{min-width:0;flex:1 1 calc(50% - 5px)!important}.pets-filters .button{flex:1}.pets-clear{padding:12px}.pets-collection{grid-template-columns:1fr;gap:15px}.pet-profile-card{padding:20px 20px 0}.pet-profile-main{gap:16px}.pet-profile-photo,.pet-profile-monogram{width:76px;height:76px}.pet-profile-identity h3{font-size:1.4rem}.pet-profile-identity p{font-size:.84rem}.pet-profile-identity small{font-size:.73rem}.pet-profile-owner p{font-size:.85rem}.pet-profile-link{font-size:.81rem;padding:16px 0}.pet-type-label{font-size:.76rem}.pet-care-note{font-size:.72rem}.pets-results-footer>span:last-child{display:none}.pets-empty{padding:35px 16px}.pets-empty .button{width:100%}.metrics article{padding:18px}}
@media(prefers-reduced-motion:reduce){.pet-profile-card:hover{transform:none}*{transition:none!important}}
