/* DigiVet MP V1.26 — solid orange with restrained gradient accents.
   This is a presentation-only layer: no changes to API/business operations. */
.theme-resi-orange{
 --blue:#F97316;--blue-dark:#EA580C;--blue-tint:#FFF7ED;
 --ink:#243041;--secondary:#667085;--line:#E9EDEF;--bg:#F7F8FA;
 --focus:0 0 0 3px rgba(249,115,22,.24);
}
.theme-resi-orange .sidebar{background:#fff;border-right:1px solid #E9EDEF;}
.theme-resi-orange .brand-symbol{background:linear-gradient(145deg,#EA580C 0%,#F97316 65%,#FB923C 100%);}
.theme-resi-orange .brand-copy strong{color:#243041;}
.theme-resi-orange .workspace-chip{margin-bottom:22px;}
.theme-resi-orange .dv-hub-sidebar{padding:0 13px 16px;display:flex;flex-direction:column;gap:5px;}
.theme-resi-orange .dv-hub-nav{font-size:12.4px;min-height:46px;padding:11px 13px;font-weight:630;}
.theme-resi-orange .dv-hub-nav.active{background:#FFF2E8;color:#B84708;}
.theme-resi-orange .dv-hub-nav.active .nav-icon{color:#EA580C;}
.theme-resi-orange .dv-hub-nav:hover{background:#FFF7ED;}
.theme-resi-orange .dv-hub-nav .nav-active-rail{left:0;top:8px;bottom:8px;width:3px;background:#F97316;}
.theme-resi-orange .topbar{height:68px;min-height:68px;}
.theme-resi-orange .top-left strong{font-size:12px;color:#3D4656;}
.theme-resi-orange .main{min-width:0;background:#F7F8FA;}
.theme-resi-orange .dv-hub-shell{position:sticky;top:0;z-index:9;margin:0;padding:20px clamp(16px,2.35vw,38px) 0;background:linear-gradient(180deg,#F7F8FA 84%,rgba(247,248,250,.95));}
.theme-resi-orange .dv-hub-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;background:linear-gradient(115deg,#EA580C 0%,#F97316 65%,#FB923C 100%);color:white;border-radius:19px 19px 0 0;overflow:hidden;}
.theme-resi-orange .dv-hub-hero::after{content:"";position:absolute;pointer-events:none;width:220px;height:220px;border-radius:50%;right:-66px;top:-131px;border:26px solid rgba(255,255,255,.10);}
.theme-resi-orange .dv-hub-hero-title{position:relative;z-index:1;min-width:0;}
.theme-resi-orange .dv-hub-eyebrow{display:block;color:rgba(255,255,255,.80);letter-spacing:.15em;font-size:9px;font-weight:800;margin-bottom:6px;}
.theme-resi-orange .dv-hub-hero h1{font-size:clamp(20px,2vw,27px);letter-spacing:-.75px;font-weight:780;display:flex;align-items:center;gap:11px;margin:0 0 4px;line-height:1.2;color:#fff;}
.theme-resi-orange .dv-hub-hero p{font-size:11px;color:rgba(255,255,255,.88);line-height:1.5;}
.theme-resi-orange .dv-hub-counter{position:relative;z-index:1;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.12);white-space:nowrap;padding:8px 11px;font-size:10px;font-weight:730;}
.theme-resi-orange .dv-tab-strip{display:flex;align-items:center;gap:4px;padding:9px 11px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ffd8b5 transparent;border:1px solid #F3E4D9;border-top:0;border-radius:0 0 16px 16px;background:white;box-shadow:0 7px 16px rgba(104,63,30,.04);}
.theme-resi-orange .dv-tab{background:transparent;color:#667085;border:1px solid transparent;border-radius:10px;white-space:nowrap;font-size:11.5px;font-weight:680;padding:9px 14px;min-height:37px;transition:background .14s,color .14s;}
.theme-resi-orange .dv-tab:hover{color:#AC4A10;background:#FFF7ED;}
.theme-resi-orange .dv-tab.is-active{color:#fff;background:#EA580C;box-shadow:0 4px 12px rgba(234,88,12,.16);border-color:#EA580C;}
.theme-resi-orange .dv-tab:focus-visible{outline:2px solid #EA580C;outline-offset:2px;}
.theme-resi-orange .content{padding-top:22px;max-width:1740px;}
.theme-resi-orange .page-heading{padding-bottom:8px;margin-bottom:20px;}
.theme-resi-orange .page-heading .eyebrow{font-size:9px;letter-spacing:.1em;color:#B26030;}
.theme-resi-orange .page-heading h1{font-size:clamp(20px,2.2vw,26px);font-weight:760;color:#243041;}
.theme-resi-orange .page-heading p{font-size:12px;max-width:760px;}
.theme-resi-orange .panel,.theme-resi-orange .metric{border:1px solid #E9EDEF;border-radius:16px;box-shadow:0 6px 19px rgba(34,44,60,.035);}
.theme-resi-orange .panel:hover{border-color:#E9D5C5;}
.theme-resi-orange .metrics-grid .metric:first-child{border-color:#FFD8B8;background:linear-gradient(140deg,#FFF7ED,#FFFFFF 75%);}
.theme-resi-orange .metrics-grid .metric:first-child .metric-value{color:#C4510A;}
.theme-resi-orange .btn-primary{background:#F97316;color:#fff;border-color:#EA580C;box-shadow:0 4px 11px rgba(249,115,22,.14);}
.theme-resi-orange .btn-primary:hover{background:linear-gradient(120deg,#EA580C,#F97316);border-color:#EA580C;color:white;}
.theme-resi-orange .panel-heading h2,.theme-resi-orange .table-panel-head h2{font-weight:740;color:#243041;}
.theme-resi-orange .field:focus,.theme-resi-orange .search-field:focus-within{outline:2px solid rgba(249,115,22,.23);border-color:#F97316;}
.theme-resi-orange .table-wrap{max-width:100%;overflow-x:auto;}
.theme-resi-orange .data-table thead{position:sticky;top:0;z-index:1;}
.theme-resi-orange .data-table th{background:#FAFBFC;color:#526073;}
.theme-resi-orange .data-table tbody tr:hover{background:#FFF9F3;}
.theme-resi-orange :is(.pro-form,.v110-form,.ops-form){border-radius:12px;}
.theme-resi-orange .pro-form{background:#fff;}
.theme-resi-orange .detail-drawer{max-width:100vw;}
.theme-resi-orange button:focus-visible,.theme-resi-orange input:focus-visible,.theme-resi-orange select:focus-visible,.theme-resi-orange textarea:focus-visible{outline:2px solid #EA580C;outline-offset:2px;}
.theme-resi-orange .app-footer{color:#86909D;}
@media(max-width:860px){
 .theme-resi-orange .dv-hub-shell{padding:13px 13px 0;top:0;}
 .theme-resi-orange .dv-hub-hero{padding:17px 18px;}
 .theme-resi-orange .dv-hub-hero h1{font-size:20px;}
 .theme-resi-orange .dv-tab-strip{padding:7px;}
 .theme-resi-orange .dv-hub-nav{font-size:13px;}
}
@media(max-width:640px){
 .theme-resi-orange .dv-hub-shell{position:relative;padding:10px 10px 0;}
 .theme-resi-orange .dv-hub-hero{border-radius:13px 13px 0 0;align-items:flex-start;}
 .theme-resi-orange .dv-hub-counter{display:none;}
 .theme-resi-orange .dv-hub-hero p{font-size:10.5px;}
 .theme-resi-orange .dv-tab-strip{border-radius:0 0 12px 12px;}
 .theme-resi-orange .dv-tab{font-size:11px;padding:8px 11px;min-height:34px;}
 .theme-resi-orange .content{padding-top:18px;}
 .theme-resi-orange .page-heading h1{font-size:22px;}
}
@media(prefers-reduced-motion:reduce){.theme-resi-orange .dv-tab{transition:none;}}
