/* KennelTrack F3F1A · Rediseño de experiencia real, inspirado en la fuente Windows 1.2.
   Capa PRESENTACIONAL sobre F3F0E. Sin librerías, fuentes remotas ni migraciones. */
:root{
 --navy:#111d37;--orange:#ef6a16;--muted:#69768d;--border:#e4eaf3;
 --white:#fff;--shadow:0 6px 26px rgba(20,36,65,.055),0 1px 3px rgba(20,36,65,.045);
 --canvas:#f4f6fb;--navy-soft:#243d65;--ink:#162744;--orange-pale:#fff1e7;
}
html,body{background:var(--canvas);color:var(--ink);scroll-behavior:auto}
body{font-size:14px;line-height:1.55}
.ui-icon{display:inline-block;flex:none;vertical-align:middle;width:20px;height:20px}
button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #f7a45e;outline-offset:3px}
button{transition:background-color .15s,border-color .15s,transform .15s}
button:active:not(:disabled){transform:scale(.985)}
button[hidden],[hidden]{display:none!important}
.shell{min-height:100dvh}
.header{position:sticky;top:0;z-index:10;height:72px;max-width:none;padding:0 clamp(20px,2.5vw,48px);border-bottom:1px solid #e6ebf3;background:#fff;box-shadow:0 2px 10px #12234405}
.header-brand{display:flex;align-items:center;gap:11px;min-width:0}.header-brand>img{width:38px;height:38px}
.header-brand strong{font-size:21px;letter-spacing:-.055em;display:block;line-height:1.05}.header-brand strong span{color:var(--orange)}
.header-brand small{font-size:9px;letter-spacing:.16em;font-weight:800;color:#8997aa}
.header-command{display:flex;align-items:center;gap:22px}.header-search{display:flex;align-items:center;gap:11px;border:1px solid var(--border);background:#f6f8fc;border-radius:12px;min-height:42px;padding:0 16px;width:clamp(220px,29vw,380px);font-size:13px;color:#8090a6;font-weight:650;text-align:left}
.header-search:hover{border-color:#d0ddec;background:#fff}.header-search .ui-icon{color:var(--orange)}
.header-status{font-size:12px;color:#677a91;white-space:nowrap}.online-dot{background:#22a07a;box-shadow:0 0 0 4px #e5f5ef}
.layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;max-width:1700px;margin:0 auto;padding:0;min-height:calc(100dvh - 72px)}
.side-menu{background:var(--navy);padding:27px 16px 21px;display:flex;flex-direction:column;gap:0;position:sticky;top:72px;height:calc(100dvh - 72px);overflow-y:auto}
.sidebar-brand{display:flex;align-items:center;gap:11px;padding:4px 9px 30px;color:white}
.sidebar-brand>img{width:41px;height:41px}.sidebar-brand strong{font-size:21px;letter-spacing:-.05em;display:block;line-height:1.1;color:#fff}.sidebar-brand strong span{color:#f8a163}
.sidebar-brand small{display:block;color:#b3bdd0;font-size:10px;margin-top:3px}
.side-title{color:#889bb9;letter-spacing:.17em;font-size:10px;font-weight:850;margin:0 0 12px 13px}
.side-nav{display:grid;gap:3px}.menu-item{width:100%;min-height:48px;border:0;background:transparent;color:#c2cde1!important;display:flex;align-items:center;gap:13px;padding:12px 14px;margin:0;border-radius:11px;text-align:left;font-weight:650}
.menu-item .ui-icon{width:19px;height:19px;color:#9fb2cc}.menu-item span{font-size:13px;width:auto;white-space:nowrap;text-align:left}
.menu-item:hover{background:#263956;color:white!important}.menu-item.active{background:#29415f;color:#fff!important;box-shadow:inset 3px 0 var(--orange)}.menu-item.active .ui-icon{color:#f7ab72}
.sidebar-footer{margin-top:auto;background:#213552;border-radius:13px;padding:15px 13px;display:flex;gap:11px;align-items:start;color:#d7e3f5}.sidebar-footer .ui-icon{color:#f3a372;width:23px;height:23px}
.sidebar-footer b{font-size:12px;display:block}.sidebar-footer span{font-size:11px;display:block;margin-top:4px;color:#a9b9d0}
.workspace{max-width:1250px;width:100%;margin:0 auto;padding:32px clamp(18px,3.8vw,58px) 48px;min-width:0;overflow-wrap:break-word}
.mobile-context{display:none}.pilot-banner{padding:0;margin-bottom:24px;border-radius:11px;background:#fff8ee;border:1px solid #f3d8bd;color:#7a542e;font-size:12px;line-height:1.55}
.pilot-banner>summary{display:flex;align-items:center;gap:8px;padding:11px 14px;min-height:42px;cursor:pointer;list-style:none}
.pilot-banner>summary::-webkit-details-marker{display:none}.pilot-banner .ui-icon{width:17px;height:17px;color:#b96921}
.pilot-banner strong{font-weight:850}.warning-more{margin-left:auto;color:#bd6b22;font-size:11px;white-space:nowrap;font-weight:750}.pilot-body{border-top:1px solid #f1ddca;padding:12px 16px}
.page-title{align-items:flex-end;margin-bottom:23px;flex-wrap:wrap;gap:12px 18px}.page-title h1{font-size:clamp(28px,3.5vw,37px);letter-spacing:-.045em;line-height:1.13;margin:6px 0 7px}.page-title p{font-size:13px;color:#6a7a91;line-height:1.55;max-width:650px}.page-overline{display:block;color:#dc6e25;letter-spacing:.16em;font-size:10px;font-weight:850}
.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.page-actions .btn{min-height:42px}
.page-actions>.btn.danger{order:3}
.btn{border-radius:11px;border-color:#d8e1ed;background:#fff;color:#263957;min-height:44px;padding:10px 14px;font-size:12.5px;display:inline-flex;align-items:center;gap:7px;justify-content:center;box-shadow:0 1px 3px #12234807}
.btn.primary{background:var(--orange);color:#fff;border-color:var(--orange);box-shadow:0 5px 12px #ef6a1625}.btn.primary:hover{background:#d95a0b;border-color:#d95a0b}
.btn .ui-icon{width:18px;height:18px}
.section-kicker{display:block;color:#c36a28;font-size:10px;letter-spacing:.16em;font-weight:900;margin-bottom:7px}
.dashboard-welcome{background:linear-gradient(112deg,#152540 0%,#1e3558 74%,#25436c 100%);border-radius:20px;min-height:216px;color:#fff;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;padding:32px 35px;box-shadow:0 12px 30px #13284420}
.welcome-copy{position:relative;z-index:2;max-width:540px}.welcome-kicker{font-size:10px;font-weight:850;letter-spacing:.14em;color:#ffc28f;display:flex;gap:8px;align-items:center}
.welcome-kicker .ui-icon{width:18px;height:18px}.dashboard-welcome h2{font-size:clamp(25px,3vw,33px);letter-spacing:-.045em;margin:12px 0 8px;line-height:1.13;color:#fff}
.dashboard-welcome h2 em{font-style:normal;color:#ffb47a}.dashboard-welcome p{color:#cbd6e6;font-size:13px;line-height:1.6;margin:0 0 19px}
.welcome-actions{display:flex;gap:10px;flex-wrap:wrap}.welcome-secondary{color:#fff;background:#ffffff15;border-color:#71839b}.welcome-secondary:hover{background:#ffffff25}
.welcome-art{position:absolute;right:15px;top:50%;transform:translateY(-50%) rotate(-16deg);color:#f1ae82;opacity:.13}
.welcome-art .ui-icon{width:210px;height:210px;stroke-width:.8px}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:19px 0 21px}
.dashboard-stat{background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);min-width:0;min-height:165px;padding:17px 16px;text-align:left;display:flex;flex-direction:column;gap:3px}
.dashboard-stat .stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#fff0e5;color:#e16f1d;margin:0 0 10px}
.dashboard-stat .stat-icon .ui-icon{width:21px;height:21px}
.dashboard-stat>strong{font-size:31px;line-height:1.12;letter-spacing:-.055em;color:#142743}
.dashboard-stat>span:not(.stat-icon){font-size:12px;font-weight:800;color:#253a59;margin-top:2px}
.dashboard-stat small{font-size:11px;color:#8795a7}
.dashboard-stat:hover,.entity-card:hover{border-color:#f5bc8f;box-shadow:0 10px 25px #1a345215}
.dashboard-columns{display:grid;grid-template-columns:1.14fr 1fr;gap:16px}
.dashboard-columns .panel{margin-bottom:0;padding:22px 21px}.dashboard-columns .panel-heading{align-items:flex-start;margin-bottom:12px}
.dashboard-columns .panel-heading h2{font-size:18px;margin:0}
.dashboard-columns .link{display:flex;align-items:center;gap:5px;padding:2px;color:#df6c1b!important;white-space:nowrap}.dashboard-columns .link .ui-icon{width:16px;height:16px}
.home-litter{width:100%;display:flex;align-items:center;gap:12px;background:#fff;border:0;border-bottom:1px solid var(--border);text-align:left;padding:14px 1px;min-height:85px}
.home-litter:last-child{border-bottom:0}.home-litter-symbol{width:64px;height:64px;display:grid;place-items:center;flex:none;background:#f0f3f9;border-radius:11px;overflow:hidden;color:#d37432}
.home-litter-symbol .ui-icon{width:27px;height:27px}.home-litter-symbol img,.entity-avatar img,.profile-cover img{width:100%;height:100%;object-fit:cover;display:block}
.home-litter-copy{flex:1;min-width:0}.home-litter-copy>b{font-size:14px;display:block;color:#1a2e4c}.home-litter-copy small{display:block;color:#7c8b9e;font-size:11px;margin:4px 0;overflow-wrap:anywhere}
.home-litter-metrics{font-size:11px;font-weight:800;color:#ce6b26}.home-litter>.ui-icon{color:#9baabe;width:16px;height:16px}
.dashboard-empty{padding:25px 14px;text-align:center;color:#7d8da2;font-size:13px}.dashboard-empty>.ui-icon{width:36px;height:36px;color:#e68c4f;margin:0 0 9px}.dashboard-empty h2,.dashboard-empty h3{font-size:16px;margin:7px 0;color:#18304f}.dashboard-empty p{font-size:12px;line-height:1.55;max-width:370px;margin:0 auto 14px;color:#7a8ca5}
.home-agenda .event-line{padding:12px 0}.home-agenda .event-line:last-child{border:0}.home-agenda .event-line>.ui-icon{color:#8fa0b7;width:16px}
.backup-tip{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid #dbe4ee;border-radius:15px;background:#eef3f9;margin-top:18px}
.backup-tip>.ui-icon{color:#e77728;width:30px;height:30px}.backup-tip div{flex:1;min-width:0}.backup-tip b{font-size:13px}.backup-tip p{font-size:12px;color:#667a93;margin:4px 0 0}.backup-tip>.btn{flex-shrink:0}
.section-heading{display:flex;gap:8px;align-items:baseline;justify-content:space-between;margin:2px 0 13px;color:#6a7d94;font-size:12px;font-weight:700}.section-heading .section-kicker{margin:0}
.entity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:15px;margin-bottom:23px}
.entity-card{width:100%;min-width:0;text-align:left;display:flex;flex-direction:column;align-items:stretch;padding:18px 19px 15px;border-radius:17px;border:1px solid #e2e9f2;background:white;box-shadow:var(--shadow);min-height:239px}
.entity-top{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;min-height:63px}.entity-avatar{display:grid;place-items:center;width:65px;height:65px;flex:none;border-radius:15px;background:#f0f4f9;color:#e38138;overflow:hidden}
.entity-avatar .ui-icon{width:33px;height:33px}.entity-avatar.puppy-avatar{background:#fff0e7}
.status-pill{align-self:flex-start;max-width:60%;padding:5px 10px;border-radius:999px;color:#576881;background:#f0f4f8;border:1px solid #e6ebf2;font-size:10.5px;font-weight:800;overflow-wrap:anywhere}
.status-pill.available{background:#eaf5f1;color:#367964;border-color:#dcf0e6}.status-pill.reserved{background:#fff0e5;color:#a85517;border-color:#f7e4d1}.status-pill.delivered{background:#eaf0ff;color:#4265a1;border-color:#e2eafb}
.entity-name{display:block;margin-top:14px;font-size:20px;letter-spacing:-.03em;color:#18304f;overflow-wrap:anywhere}.entity-subtitle{font-size:12px;color:#667994;margin-top:6px;line-height:1.4;overflow-wrap:anywhere}
.entity-meta{font-size:11.5px;color:#7c8da3;margin:12px 0 0}
.entity-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:15px;border-top:1px solid #e7edf3;font-size:11px;color:#586a83;font-weight:700}
.entity-footer>span{display:inline-flex;gap:5px;align-items:center}.entity-footer b{font-weight:850;color:#1c344f}.entity-footer>.ui-icon,.entity-footer span .ui-icon{width:15px;height:15px;color:#df742c}
.puppy-filter-toolbar{background:#fff;box-shadow:var(--shadow);border-radius:15px}.puppy-filter-toolbar label{color:#344c69}
#puppy-filter-results{padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}.puppy-grid{margin-bottom:0}
.panel{border-radius:16px;box-shadow:var(--shadow)}.record,.event-line{transition:background-color .15s;background:transparent;gap:13px}.record:focus-visible,.event-line:focus-visible{outline-offset:-3px}
.record-symbol{background:#fff0e6;color:#df6c1b;border-radius:11px}.record-symbol .ui-icon{width:22px;height:22px}.chev .ui-icon{width:17px;color:#92a4b8}.record-text b{font-size:14px}.record-text small{line-height:1.4}
.more-heading{margin:17px 0 10px}.more-menu{overflow:hidden}.more-link{min-height:75px;padding:13px 18px;gap:14px}
.more-link:hover{background:#f7faff}.more-copy{flex:1;min-width:0}.more-copy b{font-size:14px;display:block}.more-copy small{display:block;color:#8593a9;margin-top:3px;font-size:11.5px}
.more-link>.ui-icon{width:17px;color:#91a0b4}
.profile-hero{display:flex;align-items:center;gap:23px;background:linear-gradient(112deg,#152540,#263e61);padding:21px 25px;min-height:175px;box-shadow:0 12px 26px #13274716;color:#fff;margin-bottom:15px;overflow:hidden}
.profile-cover{flex:none;width:123px;height:123px;display:grid;place-items:center;border-radius:19px;background:#ffffff18;color:#f8b887;overflow:hidden;outline:1px solid #ffffff25}
.profile-cover .ui-icon{width:57px;height:57px;stroke-width:1.25}.profile-hero-copy{flex:1;min-width:0}.profile-eyebrow{color:#f7b780;font-size:10px;letter-spacing:.17em}
.profile-hero h2{font-size:clamp(25px,3.4vw,34px);margin:8px 0 5px;line-height:1.1}.profile-hero p{color:#cbd9e9;margin:0;font-size:13px}.profile-state{margin-top:11px}
.profile-top-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-stat{border-radius:13px;box-shadow:var(--shadow)}
.profile-tabs{border-radius:13px;box-shadow:var(--shadow);gap:5px;padding:5px}.profile-tab.active{background:#fff0e6;color:#ad4c0f;border-color:#fce0cb}
.profile-panel{border-radius:15px}.profile-panel .panel-heading{margin-bottom:14px}.profile-panel .panel-heading h2{font-size:17px}
.profile-panel .record{padding:14px 2px}
.data-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 19px}.data-shortcuts a{min-height:54px;border:1px solid var(--border);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;color:#283f5f;font-size:12px;font-weight:750;text-align:center;padding:10px}
.data-shortcuts .ui-icon{color:var(--orange)}.data-shortcuts a:hover{border-color:#f2b684}
#dropbox-f3e1-test{border-left:4px solid #e4a25d}
.form-actions{background:#fff}.editor{box-shadow:0 25px 85px #0b1c3740}.editor-header{background:#fbfcfe}.editor-header small{color:#d9671f}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#ef9d63}
.bottom-nav{display:none}footer{margin-top:24px;color:#98a7ba}
@media(max-width:1120px){.layout{grid-template-columns:225px minmax(0,1fr)}.workspace{padding:28px 23px 45px}.side-menu{padding:20px 11px}.dashboard-columns{grid-template-columns:1fr 1fr}.dashboard-stats{gap:10px}}
@media(max-width:850px){.layout{grid-template-columns:205px minmax(0,1fr)}.header{padding:0 16px}.header-search{width:230px}.sidebar-brand{padding-left:2px;gap:6px}.sidebar-brand>img{width:34px;height:34px}.sidebar-brand strong{font-size:17px}.side-menu{padding:15px 9px}.menu-item{padding:10px}.dashboard-columns{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stat{min-height:136px}}
@media(max-width:700px){
 body{font-size:14px}
 .header{height:calc(61px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;box-shadow:none;z-index:9}
 .header-brand>img{width:33px;height:33px}.header-brand strong{font-size:18px}.header-brand small{font-size:8px;letter-spacing:.12em}
 .header-command{gap:0}.header-search{display:none}.header-status{font-size:10px;max-width:145px;white-space:normal;text-align:right;line-height:1.3}.online-dot{width:7px;height:7px}
 .layout{display:block;min-height:0}.side-menu{display:none}.workspace{padding:0 15px calc(110px + env(safe-area-inset-bottom));max-width:650px}
 .mobile-context{display:flex;min-height:47px;align-items:center;justify-content:space-between;margin:0 -15px 14px;padding:0 16px;border-bottom:1px solid #e6eaf1;background:#fff;color:#8b97ac;font-size:9px;font-weight:850;letter-spacing:.1em}
 .mobile-context>span{display:flex;gap:8px;align-items:center}.mobile-context .ui-icon{width:16px;height:16px;color:#d77c3b}
 .mobile-search{min-width:44px;min-height:44px;border:0;background:transparent;color:#4a5e78;display:grid;place-items:center}
 .pilot-banner{margin:0 0 18px;font-size:11px}.pilot-banner>summary{padding:10px 12px}.warning-more{font-size:10px}
 .page-title{gap:11px;margin-bottom:17px;align-items:flex-start}.page-overline{font-size:9px}.page-title h1{font-size:29px;margin:6px 0}.page-title p{font-size:12px}
 .page-actions{width:100%;display:flex;align-items:center;gap:8px}.page-actions .btn{flex:1 1 auto;min-height:44px;font-size:12px}
 .page-actions .btn.danger{order:5;flex:1 1 100%}.desktop-add{display:none!important}
 .dashboard-welcome{padding:22px 20px;border-radius:17px;min-height:222px;align-items:flex-start}
 .dashboard-welcome h2{font-size:26px;max-width:320px;margin:12px 0 9px}.dashboard-welcome p{font-size:12.5px;max-width:325px}.welcome-kicker{font-size:9px}
 .welcome-art{right:-40px;top:25px;transform:rotate(-19deg);opacity:.10}.welcome-art .ui-icon{width:190px;height:190px}
 .welcome-actions{gap:8px}.welcome-actions .btn{min-height:44px;font-size:12px}
 .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 15px}
 .dashboard-stat{padding:14px 13px;min-height:142px}.dashboard-stat .stat-icon{width:32px;height:32px;margin-bottom:8px}.dashboard-stat>strong{font-size:28px}.dashboard-stat>span:not(.stat-icon){font-size:11px}.dashboard-stat small{font-size:10px}
 .dashboard-columns{grid-template-columns:1fr;gap:12px}.dashboard-columns .panel{padding:18px 16px;margin:0}.dashboard-columns .panel-heading h2{font-size:17px}.dashboard-columns .link{font-size:12px}
 .backup-tip{align-items:flex-start;gap:10px;flex-wrap:wrap;padding:15px 14px;margin-top:13px}.backup-tip>.ui-icon{width:24px;height:24px}.backup-tip div{flex-basis:calc(100% - 35px)}.backup-tip .btn{width:100%;margin-top:3px}
 .entity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px}.entity-card{min-height:225px;padding:13px;border-radius:13px}
 .entity-avatar{width:47px;height:47px;border-radius:12px}.entity-avatar .ui-icon{width:25px;height:25px}
 .entity-top{min-height:48px}.status-pill{font-size:9px;padding:4px 6px;max-width:62%}
 .entity-name{font-size:16px;margin-top:13px}.entity-subtitle{font-size:11px}.entity-meta{font-size:10px;margin-top:8px}.entity-footer{font-size:10px;gap:4px;padding-top:12px;margin-top:auto}
 .profile-hero{align-items:center;gap:14px;padding:16px;border-radius:15px;min-height:126px}.profile-cover{width:88px;height:92px;border-radius:14px}.profile-cover .ui-icon{width:41px;height:41px}.profile-hero h2{font-size:25px}.profile-hero p{font-size:12px}
 .profile-top-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stat{padding:12px}.profile-stat strong{font-size:16px}
 .profile-tabs{margin:12px -3px;scroll-padding-left:8px;scroll-snap-type:x mandatory}.profile-tab{min-height:48px;scroll-snap-align:start}
 .panel{border-radius:14px}.record,.event-line{min-height:66px}
 .more-link{min-height:72px;padding:12px 14px}.more-link .record-symbol{width:42px;height:42px}.more-copy small{font-size:11px}
 .data-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.data-shortcuts a{min-height:60px;font-size:12px}
 .bottom-nav{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:12;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#fff;border-top:1px solid #e1e7ef;padding:7px 9px max(8px,env(safe-area-inset-bottom));box-shadow:0 -9px 25px #152a4d11}
 .nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:55px;border:0;background:transparent;border-radius:11px;color:#8693a6!important;font-size:10px;font-weight:700;padding:4px 0}
 .nav-btn .ui-icon{width:22px;height:22px}.nav-btn.active{background:#fff0e6;color:#d65a10!important}.nav-btn.active .ui-icon{color:#d65a10}
 .gallery{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}
 #toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:12px}
 .modal-backdrop{padding:0;align-items:flex-end}.editor{max-height:calc(97dvh - env(safe-area-inset-top));border-radius:20px 20px 0 0}.editor-header{padding:17px 16px}.form{padding:16px}.form-grid{grid-template-columns:1fr;gap:14px}.form-actions{position:sticky;bottom:0;z-index:3;padding:12px 0 max(14px,env(safe-area-inset-bottom));flex-wrap:wrap}
 footer{font-size:10px}
}
@media(max-width:365px){
 .workspace{padding-left:11px;padding-right:11px}.mobile-context{margin-left:-11px;margin-right:-11px}
 .header-brand small{font-size:7.5px}.header-status{max-width:112px;font-size:9px}
 .page-title h1{font-size:26px}.dashboard-welcome h2{font-size:24px}.welcome-actions .btn{padding:9px 11px}
 .dashboard-stat{padding:11px;min-height:137px}.entity-card{min-height:216px;padding:11px}.entity-avatar{width:43px;height:43px}.status-pill{max-width:64%;font-size:8.5px}
 .entity-footer{flex-direction:column;align-items:flex-start;gap:5px}.entity-name{font-size:15px}
 .profile-cover{width:72px;height:79px}.profile-hero{gap:11px}.profile-hero h2{font-size:22px}
 .dashboard-columns .panel-heading{gap:5px}.dashboard-columns .link{font-size:11px}
}
@media(min-width:701px) and (max-width:1000px){.entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-welcome{padding:27px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button{transition:none}}

/* Copias: primero las operaciones del criador, después los laboratorios de ensayo. */
.data-advanced-heading{padding:15px 3px 8px;margin-top:15px;border-top:2px solid #dfe7f2}
.data-advanced-heading h2{font-size:20px;margin:0 0 4px;letter-spacing:-.035em;color:#193252}
.data-advanced-heading p{font-size:12px;color:#7c8b9e;line-height:1.6;margin:0 0 10px}
#export-mobile-panel,#verify-mobile-panel,#restore-panel{border-left:3px solid #ee995d}
#export-mobile-panel h2,#verify-mobile-panel h2,#restore-panel h2{color:#1e3350}
#export-mobile-panel .inspect-form,#verify-mobile-panel .inspect-form,#restore-panel .inspect-form{max-width:650px}
@media(max-width:700px){.data-advanced-heading h2{font-size:18px}}

/* Formularios en bloques como en Windows 1.2, conservando el envío atómico original. */
.editor-fields-section{grid-column:1/-1;min-width:0;border:1px solid #e5ebf3;border-radius:15px;background:#fbfcff;padding:17px 18px;margin:0 0 5px}
.editor-fields-section h3{font-size:14px;margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid #e7edf4;color:#1c3455;letter-spacing:-.02em}
.editor-fields-section .form-grid{gap:15px 18px}
.editor-fields-section .form-field{min-width:0}
.editor-fields-section .form-field input,.editor-fields-section .form-field textarea,.editor-fields-section .form-field select{background:#fff}
@media(max-width:700px){.editor-fields-section{padding:13px 12px;margin-bottom:2px;border-radius:13px}.editor-fields-section h3{font-size:13px;margin-bottom:12px}.editor-fields-section .form-grid{grid-template-columns:1fr;gap:13px}}

/* F3F1A R2: aviso permanente de actualización. Ninguna operación de datos. */
#kt-pwa-update-panel[hidden]{display:none!important}
#kt-pwa-update-panel{position:fixed;z-index:100;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));background:#142b49;color:#fff;border:1px solid #d98b58;border-radius:15px;box-shadow:0 15px 42px #0a1b37a6;padding:15px 17px;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:13px}
#kt-pwa-update-panel p{margin:0;line-height:1.5;flex:1}
#kt-pwa-update-panel button{min-height:44px;white-space:normal}
@media(max-width:700px){#kt-pwa-update-panel{bottom:calc(83px + env(safe-area-inset-bottom));display:block;font-size:12px}#kt-pwa-update-panel button{width:100%;margin-top:10px}}

/* F3F1B · Fotos nativas y fichas más legibles, sin tocar persistencia */
.profile-cover-wrap{flex:none;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.profile-cover-wrap .profile-cover{flex:none}
.native-photo-label{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.native-photo-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:30px;z-index:1}
.native-photo-input:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}
.profile-cover-photo{background:#fff8f0;color:#9d4d18;border:1px solid #ffd3b2;border-radius:10px;font-size:11px;font-weight:800;padding:8px 6px;min-height:40px;width:100%;white-space:nowrap}
.profile-cover-photo .ui-icon{height:15px;width:15px}
.photo-add-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.photo-add-tools .native-photo-label{min-height:46px;min-width:130px}
.profile-danger-zone{border:1px solid #e7eaf1;border-radius:12px;background:#fff;margin-top:17px;padding:0;box-shadow:none;color:#59687c}
.profile-danger-zone>summary{font-size:12px;cursor:pointer;padding:13px 15px;font-weight:750;min-height:44px}
.profile-danger-content{padding:0 15px 15px}.profile-danger-content p{font-size:12px;line-height:1.5;color:#7a8797}.profile-danger-content>.btn{font-size:12px;min-height:44px}
.profile-panel .panel-heading h2,.listing.panel>h2{line-height:1.3;overflow-wrap:anywhere}
.listing.panel>h2{padding:17px 18px 9px;margin:0;font-size:17px}
.listing.panel{overflow:hidden}
@media(max-width:700px){
 .page-overline{display:none}.page-title{margin-bottom:13px}
 .pilot-banner{margin-bottom:12px}.pilot-banner>summary{min-height:38px;padding:8px 10px;font-size:10.5px}
 .warning-more{margin-left:8px;font-size:10px}.pilot-banner .ui-icon{width:15px;height:15px}
 .dashboard-welcome{min-height:0;padding:18px 19px}.dashboard-welcome h2{font-size:23px;margin:9px 0 6px}.dashboard-welcome p{line-height:1.45;margin-bottom:13px}
 .dashboard-stat{min-height:126px}.dashboard-stat .stat-icon{margin-bottom:4px}
 .profile-hero{align-items:start}.profile-cover-wrap{width:100px}.profile-cover{width:96px;height:90px}
 .profile-cover-photo{font-size:10px;padding:7px 2px}
 .profile-hero-copy{padding-top:3px}.profile-hero h2{font-size:22px;line-height:1.16}
 .profile-panel{padding:16px}.profile-panel .panel-heading{gap:8px}.photo-add-tools{gap:8px}.photo-add-tools .native-photo-label{flex:1;min-width:0;font-size:11px}
 .listing.panel>h2{font-size:16px;padding:16px 14px 8px}
}
@media(max-width:365px){.profile-cover-wrap{width:84px}.profile-cover{width:81px;height:78px}.profile-cover-photo{font-size:9px}.profile-hero h2{font-size:20px}}

.profile-see-photo{border:1px solid #ffcda9;background:#fff7f0;color:#a95418;border-radius:9px;min-height:40px;font-size:11px;font-weight:800;padding:6px 8px;width:100%}
.photo-capacity{font-size:12px;color:#65758b;background:#f5f7fb;border-radius:9px;padding:9px 12px;margin:7px 0 10px}
.native-photo-label.photo-limit-reached{opacity:.4;cursor:not-allowed}

/* F3F1C · Galería de Windows 1.2 adaptada al tacto, sin modificar datos */
.photo-gallery-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;margin:10px 0 16px;color:#243450}
.photo-gallery-head>strong{font-size:14px}.photo-gallery-head>span{font-size:12px;color:#65748a;max-width:390px}
.photo-gallery-windows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;align-items:start}
.photo-gallery-windows .photo-card{position:relative;min-width:0;overflow:hidden;border:1px solid #dfe6f1;border-radius:15px;background:#fff;box-shadow:0 2px 13px #10263c0c}
.photo-gallery-windows .photo-card.photo-is-primary{border-color:#e5aa74}.photo-gallery-windows .photo-card.photo-just-added{outline:3px solid #ed9d5a;outline-offset:2px}
.photo-image-wrap{position:relative;background:#edf2f8;aspect-ratio:1.25;overflow:hidden;display:flex;align-items:center;justify-content:center}
.photo-image-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.photo-position{position:absolute;top:10px;left:10px;font-size:11px;font-weight:800;background:#ffffffed;color:#723c20;padding:4px 9px;border-radius:100px;box-shadow:0 2px 5px #00000015}
.photo-gallery-windows .photo-meta{padding:13px 12px;display:grid;gap:10px}
.photo-title-edit{display:grid;gap:6px}.photo-title-edit label{font-size:12px;font-weight:750;color:#283957}.photo-title-edit input{font-size:16px;min-height:44px;border:1px solid #cdd9e9;border-radius:10px;padding:8px 10px;width:100%;min-width:0;color:#162744;background:#fff}
.photo-title-edit .photo-save-title{width:fit-content;min-height:42px;padding:7px 15px}
.photo-gallery-windows .photo-meta>small{font-size:11px;color:#748196;overflow-wrap:anywhere}
.photo-gallery-windows .photo-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;border-top:1px solid #e7ecf4;padding-top:10px}
.photo-gallery-windows .photo-actions .btn{min-height:40px;font-size:12px;padding:7px 10px}
.photo-gallery-windows .photo-main-action{background:#fff0e4;color:#7c451e;border-color:#edba90;font-weight:750}
.photo-gallery-windows .photo-main-hint{font-size:11px;color:#6a788d;flex:1 1 100%}
.photo-gallery-windows .photo-delete{color:#983e35;border-color:#e3bbb6}
.photo-decode-warning{display:block;margin:7px;color:#9f3f38;font-size:11px;font-weight:700;line-height:1.4;text-align:center;padding:8px;background:#fff5f3;border-radius:7px;overflow-wrap:anywhere}
@media(max-width:700px){.photo-gallery-windows{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-gallery-windows .photo-meta{padding:11px 8px}.photo-gallery-windows .photo-actions .btn{font-size:10.5px;min-height:40px;padding:6px 8px}.photo-gallery-windows .photo-title-edit input{font-size:16px;padding:6px}.photo-image-wrap{aspect-ratio:1}.photo-position{font-size:9px;top:6px;left:6px;padding:3px 6px}}
@media(max-width:365px){.photo-gallery-windows{grid-template-columns:1fr 1fr;gap:7px}.photo-gallery-windows .photo-meta{padding:9px 6px}.photo-gallery-windows .photo-actions{gap:4px}}

/* F3F1D · Galería legible en un teléfono y familia desde la ficha. */
.photo-replace-label[hidden]{display:none!important}
.photo-replace-label{background:#fff5ea;border:1px solid #edb98b;color:#8e4b20;font-weight:750}
.family-assign{display:grid;gap:9px;margin-top:17px;padding-top:15px;border-top:1px solid #e8edf5}
.family-assign label{font-size:13px;font-weight:760;color:#253b5a}
.family-assign select{min-height:48px;width:100%;border:1px solid #cad6e5;border-radius:10px;background:#fff;padding:8px 12px;font-size:16px;color:#1a3150}
.family-assign button,.family-create-cta{min-height:44px;width:fit-content;max-width:100%}
.family-create-cta{margin-top:10px}
@media(max-width:540px){
 .photo-gallery-windows{grid-template-columns:1fr;gap:14px}
 .photo-gallery-windows .photo-card .photo-meta{padding:15px}
 .photo-gallery-windows .photo-actions .btn{font-size:13px;min-height:44px;padding:9px 12px}
 .photo-gallery-windows .photo-position{font-size:12px;padding:6px 10px;top:10px;left:10px}
 .photo-image-wrap{aspect-ratio:1.25}
 .photo-gallery-windows .photo-meta>small{font-size:12px}
 .family-assign button,.family-create-cta{width:100%}
}

/* F3F1E: TODAS las secciones visibles en iPhone, sin pestañas escondidas al deslizar. */
.profile-section-heading{font-size:13px;font-weight:800;color:#314563;margin:13px 2px 7px}
.profile-section-heading span{font-weight:650;color:#78869b;font-size:12px}
@media(max-width:700px){
 .profile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:visible;gap:7px;padding:8px;margin:0 0 14px;scroll-snap-type:none}
 .profile-tab{min-width:0;flex:none;min-height:48px;white-space:normal;overflow-wrap:normal;line-height:1.25;padding:8px 5px;text-align:center;font-size:12px;scroll-snap-align:none}
}
@media(max-width:365px){.profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
