:root{
  --green-950:#003b2c;--green-900:#00543c;--green-800:#087443;--green-600:#159b58;
  --ink:#10263a;--muted:#64727e;--line:#dfe8e2;--surface:#fff;--bg:#f4f8f5;
  --shadow:0 4px 16px rgba(27,72,52,.06);--radius:11px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#edf5f0}
body{overflow-x:hidden}
body.context-gate-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,select{font:inherit}
button{color:inherit}
[hidden]{display:none!important}

.app-shell{position:relative;width:calc(100% - 30px);height:calc(100vh - 67px);min-height:760px;margin:32px 15px 35px;background:var(--bg);border:1px solid #e5ede7;border-radius:12px;box-shadow:0 12px 36px rgba(43,86,64,.08);overflow:hidden}
.sidebar{position:absolute;inset:0 auto 0 0;width:215px;background:linear-gradient(180deg,#fbfdfb,#f3f8f4);border-right:1px solid var(--line);padding:12px 12px 18px;z-index:30;display:flex;flex-direction:column}
.brand-block{height:194px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:3px 0 0}
.brand-logo{display:block;width:190px;height:auto;max-height:188px;object-fit:contain}
.main-nav{display:flex;flex-direction:column;gap:4px}
.nav-item{height:45px;border-radius:10px;padding:0 14px;display:flex;align-items:center;gap:13px;font-size:14px;font-weight:500;color:#173249}
.nav-item img{width:29px;height:29px;object-fit:contain;flex:none}
.nav-item.active{background:#e4efe8;color:var(--green-900);font-weight:700}
.nav-item:hover:not(.disabled){background:#edf5ef}
.disabled{cursor:default}
.sidebar-motto{margin-top:auto;padding:8px 5px 0;text-align:center;color:#64746f}
.sidebar-motto img{display:block;width:50px;height:auto;max-height:40px;object-fit:contain;margin:0 auto 5px}
.sidebar-motto p{font-size:9px;letter-spacing:1.65px;line-height:1.6;margin:0}
.motto-line{display:block;width:40px;height:1px;background:#9bb5a6;margin:8px auto 0}

.workspace{margin-left:215px;height:100%;min-width:0}
.topbar{height:61px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px 0 23px;position:relative;z-index:20}
.topbar-left,.topbar-right{display:flex;align-items:center}
.menu-button{width:32px;height:32px;border:0;background:transparent;padding:5px;margin-right:11px;cursor:pointer}
.menu-button img{width:100%;height:100%;object-fit:contain}
.wordmark{font-size:21px;font-weight:800;color:var(--green-900)}
.top-separator{width:1px;height:24px;background:#aeb9bd;margin:0 14px}
.product-name{font-size:12px;color:#173248}
.topbar-right{height:100%;gap:12px}
.notification-button{width:36px;height:36px;padding:4px;border:0;background:transparent;position:relative}
.notification-button img{width:100%;height:100%;object-fit:contain}
.notification-button i{position:absolute;width:8px;height:8px;border-radius:50%;background:#17a458;right:4px;top:3px;border:1px solid #fff}
.account-wrap{height:100%;display:flex;align-items:center;position:relative}
.account-button{height:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0 2px 0 0;cursor:pointer}
.user-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;overflow:hidden}
.user-avatar img{display:block;width:38px;height:38px;object-fit:contain}
.user-copy{display:flex;flex-direction:column;text-align:left;font-size:11px;line-height:1.35}
.user-copy strong{font-size:12px}
.user-copy span{color:var(--muted)}
.chevron{font-size:18px;margin-left:3px;transform:translateY(-2px)}
.user-menu{position:absolute;right:0;top:57px;width:166px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 30px rgba(16,38,58,.14);z-index:50}
.user-menu button,.mobile-more-menu button{width:100%;border:0;background:#fff;border-radius:7px;padding:10px 11px;text-align:left;font-size:12px;font-weight:700;cursor:pointer}
.user-menu button:hover,.mobile-more-menu button:hover{background:#edf5ef}
.mobile-logo,.mobile-status{display:none}

.content{height:calc(100% - 61px);padding:22px 13px 18px 23px;margin:0;overflow:hidden}
.page-heading{height:66px;display:flex;justify-content:space-between;align-items:flex-start;padding:0 4px}
.page-heading h1{font-size:27px;line-height:30px;margin:0 0 2px}
.page-heading p{margin:0;color:var(--muted);font-size:13px;line-height:17px}
.mobile-title,.mobile-subtitle{display:none}
.current-date{color:var(--muted);font-size:12px;margin-top:8px}

.kpi-grid{height:152px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.kpi-card{height:152px;border:1px solid var(--line);border-radius:var(--radius);padding:18px 14px;display:flex;gap:12px;align-items:center;box-shadow:var(--shadow);background:#fff;min-width:0}
.tone-green{background:linear-gradient(135deg,#f8fcf8,#edf7ef)}
.tone-lime{background:linear-gradient(135deg,#fff,#fbfaed)}
.tone-blue{background:linear-gradient(135deg,#fbfeff,#ecf8fb)}
.tone-gold{background:linear-gradient(135deg,#fffdf9,#fff5e6)}
.kpi-icon{width:66px;height:66px;flex:0 0 66px;object-fit:contain}
.kpi-copy{display:flex;min-width:0;flex-direction:column}
.kpi-copy>span{font-size:12px;line-height:16px}
.kpi-copy strong{font-size:25px;line-height:29px;margin:2px 0 3px;white-space:nowrap}
.kpi-copy small{font-size:10px;color:#455661;line-height:14px}

.dashboard-grid{height:calc(100% - 230px);display:grid;grid-template-columns:minmax(0,1.58fr) minmax(300px,1fr);grid-template-rows:235px minmax(0,1fr);gap:10px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;min-height:0;overflow:hidden}
.panel-header{height:43px;padding:12px 15px 5px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.panel-header h2{font-size:14px;line-height:20px;margin:0}
.legend{display:flex;gap:14px;color:#576671;font-size:9px;align-items:center;padding-top:3px}
.legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.legend-dot{width:7px;height:7px;background:var(--green-600);border-radius:50%;box-shadow:-9px 0 0 -2px var(--green-600),9px 0 0 -2px var(--green-600)}
.legend-dash{width:20px;border-top:1px dashed #7e8c98}
.chart-host{height:calc(100% - 43px);padding:0 15px 10px}
.chart-host svg{width:100%;height:100%;display:block}
.empty-chart{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--muted);font-size:11px}
.empty-chart strong{color:var(--ink);font-size:14px;margin-bottom:4px}
.distribution-content{height:calc(100% - 43px);display:grid;grid-template-columns:46% 54%;align-items:center;padding:0 14px 10px}
.donut-wrap{display:grid;place-items:center}
.donut{width:126px;height:126px;border-radius:50%;background:conic-gradient(#e5eadf 0 100%);position:relative}
.donut:after{content:"";position:absolute;inset:29px;background:white;border-radius:50%}
.donut-center{position:absolute;z-index:2;inset:0;display:grid;place-content:center;text-align:center}
.donut-center strong{font-size:22px;line-height:25px}
.donut-center span{font-size:10px}
.distribution-legend{display:flex;flex-direction:column;gap:8px;font-size:10px}
.dist-row{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:7px}
.dist-color{width:8px;height:8px;border-radius:50%}
.dist-row b{font-weight:500}
.dist-row span:last-child{color:#354958}

.table-wrap{height:calc(100% - 43px);overflow:hidden;padding:0 13px 10px}
table{width:100%;border-collapse:collapse;font-size:10px}
th{font-weight:500;color:#526574;text-align:left;padding:8px 6px;border-bottom:1px solid #dfe7e2;white-space:nowrap}
td{padding:8px 6px;border-bottom:1px solid #e8eeea;white-space:nowrap}
th:first-child,td:first-child{width:31px;text-align:center}
.table-animal-cell img{width:27px;height:27px;object-fit:contain;vertical-align:middle}
.tag-link{font-weight:700;color:#159345}
.empty-row td{text-align:center;color:var(--muted);padding:49px 10px}
.text-link,.activity-footer{color:var(--green-800);font-size:10px;font-weight:700;display:flex;align-items:center;gap:5px}
.text-link img,.activity-footer img{width:15px;height:15px;object-fit:contain}
.disabled-link{opacity:.72}
.activity-panel{position:relative}
.activity-list{height:calc(100% - 72px);padding:0 14px}
.activity-item{min-height:39px;display:grid;grid-template-columns:31px 1fr auto;gap:8px;align-items:center;border-bottom:1px solid #edf1ef}
.activity-symbol{width:29px;height:29px;object-fit:contain}
.activity-copy strong,.activity-copy span{display:block;font-size:10px;line-height:13px}
.activity-copy span{color:#586b79}
.activity-time{font-size:9px;color:#72818c}
.empty-activity{height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:var(--muted);font-size:11px}
.filter-pill{height:27px;border:1px solid #dce5df;padding:0 23px 0 9px;border-radius:7px;font-size:10px;color:#405665;background:#fff}
.activity-footer{position:absolute;left:15px;bottom:9px}
.data-notice{position:absolute;left:23px;right:13px;bottom:5px;min-height:30px;background:#fff8e9;border:1px solid #f3dfb2;color:#79520e;border-radius:8px;padding:6px 11px;font-size:10px;line-height:16px}
.mobile-nav{display:none}
.mobile-more-menu{display:none}
.sidebar-backdrop{display:none}

.context-gate{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.context-gate-backdrop{position:absolute;inset:0;background:rgba(4,35,26,.54);backdrop-filter:blur(4px)}
.context-gate-panel{position:relative;width:min(440px,100%);background:#fff;border:1px solid #dce7df;border-radius:18px;padding:24px 28px 26px;box-shadow:0 24px 80px rgba(8,45,33,.26)}
.context-gate-brand{text-align:center;height:74px}
.context-gate-brand img{width:148px;height:72px;object-fit:contain}
.context-gate-eyebrow{margin:7px 0 3px;color:var(--green-800);font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}
.context-gate-panel h2{font-size:23px;line-height:29px;margin:0 0 6px}
.context-gate-copy{color:var(--muted);font-size:13px;line-height:18px;margin:0 0 18px}
.gate-field{display:flex;flex-direction:column;gap:6px;margin-top:13px;font-size:12px;font-weight:700}
.gate-field select{width:100%;height:43px;border:1px solid #cbd8d0;border-radius:9px;background:#fff;color:#173653;padding:0 35px 0 12px;font-size:13px;outline:0}
.gate-field select:focus{border-color:#159b58;box-shadow:0 0 0 3px rgba(21,155,88,.12)}
.gate-field select:disabled{background:#f3f6f4;color:#7c8982}
.context-gate-status{min-height:18px;margin:10px 0 0;color:#82600f;font-size:11px}
.context-gate-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}
.context-gate-actions button{height:40px;border-radius:9px;padding:0 14px;font-size:12px;font-weight:800;cursor:pointer}
.gate-secondary{border:1px solid #cedbd3;background:#fff}
.gate-primary{border:1px solid var(--green-800);background:var(--green-800);color:#fff}
.gate-primary:disabled{opacity:.45;cursor:not-allowed}

@media(max-width:1050px) and (min-width:821px){
  .app-shell{margin-left:7px;margin-right:7px;width:calc(100% - 14px)}
  .sidebar{width:200px}
  .workspace{margin-left:200px}
  .product-name{display:none}
  .kpi-card{padding:12px 9px;gap:7px}
  .kpi-icon{width:49px;height:49px;flex-basis:49px}
  .kpi-copy strong{font-size:20px}
  .dashboard-grid{grid-template-columns:minmax(0,1.42fr) minmax(280px,1fr)}
}

@media(max-width:820px){
  html,body{background:#f4f8f5}
  html,body{width:100%;height:100%;min-height:0;overflow:hidden}
  body{padding:0}
  .app-shell{width:100%;height:100vh;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
  .sidebar{position:fixed;width:260px;padding:12px 14px 18px;transform:translateX(-102%);transition:transform .2s ease;box-shadow:10px 0 40px rgba(0,0,0,.12);overflow-y:auto}
  .sidebar.open{transform:none}
  .brand-block{height:194px}
  .brand-logo{width:220px;height:auto;max-height:188px}
  .nav-item{height:45px}
  .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(5,32,25,.28);opacity:0;pointer-events:none;z-index:25;transition:opacity .2s}
  .sidebar-backdrop.open{opacity:1;pointer-events:auto}
  .workspace{margin-left:0;height:100vh;min-height:0;overflow:hidden}
  .topbar{height:101px;padding:0 21px;justify-content:space-between}
  .topbar-left{width:34px}
  .menu-button{width:31px;height:31px;margin:0;padding:5px}
  .menu-button{position:relative}
  .menu-button img{visibility:hidden}
  .menu-button::after{content:"";position:absolute;inset:5px;background:var(--green-800);-webkit-mask:url("/assets/canonical/controls/icon_hamburger.png") center/contain no-repeat;mask:url("/assets/canonical/controls/icon_hamburger.png") center/contain no-repeat}
  .wordmark,.top-separator,.product-name,.topbar-right{display:none}
  .mobile-logo{display:block;position:absolute;left:50%;top:20px;transform:translateX(-50%);width:160px;height:auto;max-height:62px;object-fit:contain}
  .mobile-status{display:block;width:14px;height:14px;border-radius:50%;background:#13985a}
  .content{height:calc(100vh - 167px);padding:14px 13px 18px;overflow:hidden}
  .page-heading{height:55px;padding:0 1px}
  .desktop-title,.desktop-subtitle{display:none}
  .mobile-title,.mobile-subtitle{display:block}
  .page-heading h1{font-size:25px;line-height:29px;margin-bottom:1px}
  .page-heading p{font-size:12px;line-height:17px}
  .current-date{display:none}
  .kpi-grid{height:181px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,86px);gap:9px;margin-bottom:11px}
  .kpi-card{height:86px;padding:10px 9px;gap:7px;border-radius:9px}
  .kpi-icon{width:43px;height:43px;flex-basis:43px}
  .kpi-copy>span{font-size:9px;line-height:12px}
  .kpi-copy>span{font-size:0}
  .kpi-copy>span:after{content:attr(data-mobile-label);font-size:11px;line-height:14px}
  .kpi-copy strong{font-size:18px;line-height:22px;margin:1px 0}
  .kpi-copy small{display:none}
  .dashboard-grid{height:auto;display:flex;flex-direction:column;gap:10px}
  .weight-panel{height:242px;order:1}
  .activity-panel{height:226px;order:2}
  .distribution-panel,.recent-panel{display:none}
  .panel-header{height:43px;padding:12px 12px 4px}
  .panel-header h2{font-size:14px}
  .panel-header h2{text-transform:lowercase}
  .panel-header h2::first-letter{text-transform:uppercase}
  .weight-panel .legend{display:none}
  .chart-host{height:199px;padding:0 8px 8px}
  .weight-panel .chart-host svg text,.weight-panel .chart-host svg line{display:none}
  .activity-list{height:154px;padding:0 12px}
  .activity-item{min-height:36px}
  .activity-item:nth-child(n+5){display:none}
  .activity-time{display:none}
  .activity-footer{display:none}
  .filter-pill{display:none}
  .data-notice{position:static;margin-top:10px;min-height:30px}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;height:66px;background:#fff;border-top:1px solid #dfe8e2;z-index:40;padding-bottom:max(2px,env(safe-area-inset-bottom))}
  .mobile-nav a,.mobile-nav button{border:0;background:#fff;display:grid;place-content:center;text-align:center;color:#526575;gap:1px;padding:2px;cursor:pointer}
  .mobile-nav a.active{color:var(--green-800)}
  .mobile-nav img{width:27px;height:27px;object-fit:contain;margin:auto}
  .mobile-nav small{font-size:9px}
  .more-dots{height:27px;display:grid;place-items:center;color:var(--green-800);font-size:16px;font-weight:900;letter-spacing:1px}
  .mobile-more-menu{display:block;position:fixed;right:10px;bottom:73px;width:174px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px rgba(16,38,58,.18);z-index:45}
  .context-gate{padding:14px}
  .context-gate-panel{width:100%;max-width:420px;border-radius:15px;padding:18px 18px 20px}
  .context-gate-brand{height:62px}
  .context-gate-brand img{width:128px;height:62px}
  .context-gate-panel h2{font-size:21px;line-height:26px}
  .context-gate-actions{display:grid;grid-template-columns:1fr 1.55fr}
  .context-gate-actions button{padding:0 9px}
}

@media(max-width:380px){
  .kpi-card{padding:8px 7px;gap:5px}
  .kpi-icon{width:38px;height:38px;flex-basis:38px}
  .kpi-copy strong{font-size:16px}
  .legend{max-width:142px;flex-wrap:wrap;justify-content:flex-end}
}

/* Screen 05 — Animales. The rules are isolated from the approved Dashboard. */
.animals-view{position:relative;padding:12px 14px 10px 19px;display:grid;grid-template-rows:56px 54px 96px minmax(300px,1fr) 250px;gap:10px;overflow:hidden}
.animals-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.animals-heading h1{margin:0;color:#18364b;font-size:25px;line-height:30px;font-weight:800}
.animals-heading p{margin:2px 0 0;color:#82909d;font-size:12px}
.nav-item[data-route="animals"]:focus,.mobile-nav [data-route="animals"]:focus{outline:none}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.animals-toolbar{display:grid;grid-template-columns:180px 142px 144px minmax(190px,1fr) 122px;gap:9px;align-items:end}
.animals-context-field,.animals-status-field{display:grid;gap:4px;min-width:0;color:#365064;font-size:10px;font-weight:700}
.animals-context-field select,.animals-status-field select,#animalsSearch{width:100%;height:32px;border:1px solid #dce5df;border-radius:6px;background:#fff;color:#435769;font:600 11px/1 Arial,sans-serif;padding:0 10px;outline:none}
.animals-context-field select:focus,.animals-status-field select:focus,#animalsSearch:focus{border-color:#73a842;box-shadow:0 0 0 2px rgba(115,168,66,.12)}
.animals-search-field{position:relative}
.animals-search-field::before{content:'⌕';position:absolute;left:10px;bottom:7px;color:#78909c;font-size:17px;line-height:18px;z-index:1}
#animalsSearch{padding-left:31px}
.animals-primary-action,#exportAnimalsButton,.animal-edit-button{height:32px;border-radius:6px;font:700 11px Arial,sans-serif;cursor:pointer}
.animals-primary-action{border:1px solid var(--green-800);background:var(--green-800);color:#fff}
#exportAnimalsButton,.animal-edit-button{border:1px solid #d9e3dc;background:#fff;color:#526575;padding:0 13px}
.animals-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.animals-kpis>article{min-width:0;background:#fff;border:1px solid #e2e9e5;border-radius:8px;display:flex;align-items:center;padding:13px 14px;gap:12px;box-shadow:0 1px 2px rgba(23,50,70,.03)}
.animals-kpis>article img{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.animals-kpis>article>div{min-width:0;display:grid;gap:1px}
.animals-kpis>article span,.animals-kpis>article small{color:#87939d;font-size:10px;font-weight:600;white-space:nowrap}
.animals-kpis>article strong{color:#213d50;font-size:23px;line-height:26px;font-weight:800}
.animals-list-panel,.animal-detail-panel{background:#fff;border:1px solid #e2e9e5;border-radius:8px;overflow:hidden;box-shadow:0 1px 2px rgba(23,50,70,.03)}
.animals-list-panel{display:grid;grid-template-rows:43px minmax(0,1fr) 39px}
.animals-list-header{display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #edf1ee}
.animals-list-header h2{margin:0;color:#29475a;font-size:13px;font-weight:800}
.animals-table-wrap{min-height:0;overflow-y:auto;overflow-x:hidden}
.animals-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#44596a;font-size:10px}
.animals-table th{height:27px;background:#f7f9f8;color:#778691;text-align:left;font-size:9px;font-weight:700;padding:0 7px;border-bottom:1px solid #e7ece9;white-space:nowrap}
.animals-table td{height:34px;padding:0 7px;border-bottom:1px solid #edf1ef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.animals-table tr{cursor:pointer}
.animals-table tbody tr:hover,.animals-table tbody tr.selected{background:#f2f8ef}
.animals-table th:nth-child(1){width:3%}.animals-table th:nth-child(2){width:5%}.animals-table th:nth-child(3){width:10%}.animals-table th:nth-child(4){width:10%}.animals-table th:nth-child(5){width:13%}.animals-table th:nth-child(6){width:13%}.animals-table th:nth-child(7){width:13%}.animals-table th:nth-child(8){width:13%}.animals-table th:nth-child(9){width:15%}.animals-table th:nth-child(10){width:5%}
.animals-table input[type="checkbox"]{width:13px;height:13px;accent-color:var(--green-800)}
.animals-view .animal-head-avatar{width:27px;height:27px;object-fit:contain}
.animal-cell{display:flex;align-items:center;gap:7px;min-width:0;font-weight:700;color:#314d5e}
.animal-cell img{width:27px;height:27px;object-fit:contain;flex:0 0 27px}
.animal-status-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;height:19px;padding:0 7px;border-radius:9px;font-size:8px;font-weight:800;white-space:nowrap}
.animal-status-badge.status-fattening{background:#eaf4de;color:#4f7f24}.animal-status-badge.status-ready{background:#dff3e9;color:#27704f}.animal-status-badge.status-observation{background:#fff0d2;color:#a66b08}.animal-status-badge.status-none{background:#f0f2f3;color:#71808b}
.animal-row-action{border:0;background:transparent;color:#75858f;font-size:16px;line-height:1;cursor:pointer}
.empty-row td{height:75px!important;text-align:center;color:#82909d}
.animals-mobile-list{display:none}
.animals-list-footer{display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#82909d;font-size:9px}
.animals-pagination{display:flex;align-items:center;gap:3px}
.animals-pagination button{min-width:24px;height:22px;border:1px solid #dde5e0;border-radius:4px;background:#fff;color:#536876;font:700 9px Arial,sans-serif;cursor:pointer}
.animals-pagination button.active{background:var(--green-800);border-color:var(--green-800);color:#fff}.animals-pagination button:disabled{opacity:.35;cursor:default}
.animal-detail-panel{display:grid;grid-template-rows:52px 31px minmax(0,1fr);position:relative}
.animal-detail-header{display:flex;align-items:center;padding:0 15px;border-bottom:1px solid #e8eeea;gap:10px}
#animalDetailAvatar{width:39px;height:39px;object-fit:contain}
.animal-detail-header>div{min-width:0}.animal-detail-header h2{margin:0;color:#254357;font-size:14px;font-weight:800}.animal-detail-header p{margin:1px 0 0;color:#84919a;font-size:9px}.animal-detail-header>.animal-status-badge{height:18px}.animal-detail-header .animal-edit-button{margin-left:auto}
.animal-detail-header .animal-delete-button{height:29px;border:1px solid #e2aaa4;border-radius:5px;background:#fff7f6;color:#a13d34;padding:0 11px;font:700 9px Arial,sans-serif;cursor:pointer}.animal-detail-header .animal-delete-button:hover,.animal-detail-header .animal-delete-button:focus-visible{border-color:#c95449;background:#fff0ee;outline:0}.animal-detail-header .animal-delete-button:disabled{opacity:.5;cursor:default}
.animal-detail-tabs{display:flex;align-items:end;gap:24px;padding:0 15px;border-bottom:1px solid #e9eeeb}.animal-detail-tabs strong,.animal-detail-tabs span{height:31px;display:flex;align-items:center;border-bottom:2px solid transparent;color:#7c8992;font:700 9px Arial,sans-serif}.animal-detail-tabs strong{border-bottom-color:var(--green-800);color:var(--green-800)}
.animal-detail-grid{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:18px;padding:11px 15px;min-height:0}.animal-detail-grid h3{margin:0 0 7px;color:#355165;font-size:10px}.animal-detail-grid dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 13px}.animal-detail-grid dl>div{min-width:0}.animal-detail-grid dt{color:#87949d;font-size:8px;margin-bottom:2px}.animal-detail-grid dd{margin:0;color:#3d5566;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.animal-quick-actions{display:grid;align-content:start;gap:7px}.animal-quick-actions button{height:29px;border:1px solid #e1aa49;border-radius:5px;background:#fff9ed;color:#98640c;font:700 9px Arial,sans-serif;cursor:pointer}.animal-quick-actions button:disabled{opacity:.55;cursor:default}
.animals-feedback{position:absolute;right:15px;bottom:12px;max-width:380px;padding:7px 11px;border-radius:5px;background:#eef6e9;color:#4b702c;font-size:9px;box-shadow:0 2px 8px rgba(20,50,30,.12);z-index:4}.animals-feedback[data-kind="error"]{background:#fce9e7;color:#9a433c}.animals-feedback[data-kind="warning"]{background:#fff4dc;color:#906416}

@media(max-width:820px){
  .animals-view{height:calc(100vh - 167px);padding:12px 11px 10px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:44px 43px 33px 116px 30px minmax(0,1fr);gap:9px 7px;overflow:hidden}
  .animals-heading{grid-column:1/-1}.animals-heading h1{font-size:20px;line-height:23px}.animals-heading p{font-size:10px}
  .animals-toolbar{display:contents}
  .animals-context-field,.animals-status-field{grid-row:2;font-size:8px}.animals-context-field select,.animals-status-field select,#animalsSearch{height:29px;font-size:9px}.animals-status-field{display:none}.animals-search-field{grid-column:1/-1;grid-row:3}.animals-search-field::before{bottom:5px}.animals-primary-action{grid-column:1/-1;grid-row:5;height:30px;font-size:10px}
  .animals-kpis{grid-column:1/-1;grid-row:4;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7px}
  .animals-kpis>article{padding:7px 9px;gap:8px;border-radius:7px}.animals-kpis>article img{width:37px;height:37px;flex-basis:37px}.animals-kpis>article span,.animals-kpis>article small{font-size:8px}.animals-kpis>article strong{font-size:17px;line-height:19px}
  .animals-list-panel{grid-column:1/-1;grid-row:6;min-height:0;display:grid;grid-template-rows:34px minmax(0,1fr)}
  .animals-list-header{padding:0 10px}.animals-list-header h2{font-size:11px}.animals-list-header #exportAnimalsButton{display:none}
  .animals-table-wrap,.animals-list-footer{display:none}.animals-mobile-list{display:grid;align-content:start;gap:0;min-height:0;overflow:auto}
  .animal-mobile-card{display:grid;grid-template-columns:43px minmax(0,1fr) auto 10px;align-items:center;gap:8px;min-height:63px;padding:6px 9px;border:0;border-bottom:1px solid #edf1ef;background:#fff;text-align:left;cursor:pointer}
  .animal-mobile-card.selected{background:#f4f9f1}.animal-mobile-card>img{width:41px;height:41px;object-fit:contain}.animal-mobile-copy{min-width:0}.animal-mobile-copy strong{display:block;color:#304b5e;font-size:10px;margin-bottom:3px}.animal-mobile-copy span{display:block;color:#788892;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.animal-mobile-card>.animal-status-badge{justify-self:end}.animal-mobile-arrow{color:#83919a;font-size:17px}.animals-empty-mobile{padding:30px;text-align:center;color:#82909d;font-size:10px}
  .animal-detail-panel{display:none}.animals-feedback{position:absolute;right:11px;bottom:10px;max-width:calc(100% - 22px);font-size:8px;padding:5px 8px}
}

/* Screen 09 — bounded Nuevo/Editar Animal view. */
.animal-editor-view{padding:13px 22px 18px;display:grid;grid-template-rows:72px 62px minmax(0,1fr);gap:0;overflow:hidden}
.animal-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.animal-editor-heading h1{margin:0 0 1px;color:#18364b;font-size:25px;line-height:30px}
.animal-editor-heading>div>p:last-child{margin:0;color:#82909d;font-size:12px}
.animal-editor-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 3px!important;color:#81909a;font-size:10px!important}
.animal-editor-breadcrumb button{border:0;background:transparent;padding:0;color:var(--green-800);font:700 10px Arial,sans-serif;cursor:pointer}
.animal-editor-identity{margin:23px 0 0!important;border:1px solid #dbe6df;border-radius:15px;background:#fff;padding:6px 12px;color:#456172!important;font-size:10px!important;font-weight:800}
.animal-editor-card{min-height:0;background:#fff;border:1px solid #e0e8e3;border-radius:10px;box-shadow:0 2px 10px rgba(23,50,70,.04);display:block;overflow:hidden}
.animal-editor-stepper{list-style:none;margin:0;padding:8px 3% 12px;display:grid;grid-template-columns:repeat(4,1fr)}
.animal-editor-stepper li{position:relative;display:grid;justify-items:center;gap:5px;color:#87949c;font-size:9px;text-align:center}
.animal-editor-stepper li:not(:last-child)::after{content:"";position:absolute;top:14px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:#e2e9e4}
.animal-editor-stepper li.complete::after{background:#79a94f}
.animal-editor-stepper li>span{position:relative;z-index:1;width:29px;height:29px;border:2px solid #d5dfd8;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:800}
.animal-editor-stepper li.active,.animal-editor-stepper li.complete{color:#315447}
.animal-editor-stepper li.active>span,.animal-editor-stepper li.complete>span{border-color:#72a448;background:#eaf3e4;color:#4f7d2d}
.animal-editor-stepper strong{font-weight:800;white-space:nowrap}
#animalEditorForm{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto 58px;overflow:hidden}
.animal-editor-step{min-height:0;padding:18px 20px 12px;overflow:visible}
.animal-editor-step-lead{display:flex;align-items:start;justify-content:space-between;gap:20px}
.animal-editor-step-copy>span{color:#669342;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}
.animal-editor-step-copy h2{margin:3px 0;color:#0a2255;font-size:18px}.animal-editor-step-copy p{margin:0 0 16px;color:#49618b;font-size:11px}
.mobile-step-title{display:none}
.animal-photo-action{display:grid;justify-items:end;gap:5px}.animal-photo-action button{min-width:236px;height:42px;border:1px solid #0a9b4c;border-radius:7px;background:#fff;color:#058b42;font:800 11px Arial,sans-serif;cursor:pointer}.animal-photo-action small{color:#50628b;font-size:9px}
.animal-appearance-layout{display:grid;grid-template-columns:154px minmax(0,1fr);gap:14px;align-items:start}
.animal-type-list{display:grid;gap:2px;align-content:start}.animal-type-choice{min-height:33px;width:100%;border:0;border-radius:6px;background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:2px 8px;color:#263e74;font:700 11px Arial,sans-serif;text-align:left;cursor:pointer}.animal-type-choice img{width:27px;height:24px;object-fit:contain;filter:grayscale(1);opacity:.65}.animal-type-choice.selected{background:linear-gradient(180deg,#13a64f,#078d3e);color:#fff}.animal-type-choice.selected img{filter:brightness(0) invert(1);opacity:1}
.animal-coat-fieldset{margin:0;padding:0;border:0}.animal-coat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 11px}
.animal-coat-choice{height:126px;min-width:0;border:1px solid transparent;border-radius:8px;background:transparent;display:grid;grid-template-rows:98px auto;place-items:center;padding:0;color:#152f69;font:700 10px Arial,sans-serif;cursor:pointer}.animal-coat-choice img{width:100%;height:98px;border-radius:8px;object-fit:contain;background:#f1f2f1}.animal-coat-choice.selected{border:2px solid #0c9e48;background:#f3fbf6;color:#087d3d}.animal-coat-choice.selected img{border-radius:6px}
.animal-appearance-note{margin:14px 0 0 168px;min-height:42px;border-radius:7px;background:#e9f5ff;color:#395684;display:flex;align-items:center;gap:10px;padding:0 13px;font-size:9px}.animal-appearance-note>span{width:19px;height:19px;border-radius:50%;background:#198dea;color:#fff;display:grid;place-items:center;font-weight:800}
.animal-editor-fields{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(300px,1.3fr);gap:18px;max-width:880px}
.animal-editor-fields label{display:grid;align-content:start;gap:6px;color:#3b5667;font-size:10px;font-weight:800}.animal-editor-fields label>span b{color:#b85a4e}.animal-editor-fields label>small{color:#758691;font-size:9px;font-weight:500;line-height:1.35}
.animal-editor-fields input,.animal-editor-fields select,.animal-editor-fields textarea{width:100%;border:1px solid #dbe5df;border-radius:7px;background:#fff;padding:9px 11px;color:#304b5e;font:600 11px Arial,sans-serif;outline:none}
.animal-editor-fields input,.animal-editor-fields select{height:39px}.animal-editor-fields textarea{resize:vertical;min-height:126px}.animal-editor-fields input:focus,.animal-editor-fields select:focus,.animal-editor-fields textarea:focus{border-color:#75a84e;box-shadow:0 0 0 2px rgba(117,168,78,.12)}
.animal-editor-context-fields{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.animal-editor-context-fields input[readonly]{background:#f6f8f7;color:#61727c}
.animal-editor-summary{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.animal-editor-summary>div{min-height:70px;border:1px solid #e2e9e5;border-radius:8px;padding:11px 13px;background:#fafcfb}.animal-editor-summary dt{color:#88959d;font-size:9px;margin-bottom:5px}.animal-editor-summary dd{margin:0;color:#304b5e;font-size:12px;font-weight:800;overflow-wrap:anywhere}.animal-summary-notes{grid-column:1/-1}
.animal-editor-feedback{margin:0 28px 8px;padding:7px 10px;border-radius:6px;background:#eef6e9;color:#4b702c;font-size:10px}.animal-editor-feedback[data-kind="error"]{background:#fce9e7;color:#9a433c}.animal-editor-feedback[data-kind="warning"]{background:#fff4dc;color:#906416}
.animal-editor-actions{height:58px;border-top:1px solid #e7ede9;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.animal-editor-actions>div{display:flex;gap:8px}.animal-editor-actions button{height:34px;border-radius:6px;padding:0 18px;font:800 10px Arial,sans-serif;cursor:pointer}.animal-editor-cancel,.animal-editor-back{border:1px solid #d8e2dc;background:#fff;color:#60727e}.animal-editor-next,.animal-editor-save{border:1px solid var(--green-800);background:var(--green-800);color:#fff}.animal-editor-actions button:disabled{opacity:.5;cursor:default}

@media(max-width:820px){
  .animal-editor-view{height:calc(100vh - 167px);padding:8px 11px 0;grid-template-rows:55px 58px minmax(0,1fr);gap:0;overflow:hidden}
  .animal-editor-heading h1{font-size:20px;line-height:23px}.animal-editor-heading>div>p:last-child{font-size:9px}.animal-editor-identity{margin-top:20px!important;padding:4px 8px}
  .animal-editor-card{border-radius:8px}
  .animal-editor-stepper{padding:7px 3px 8px}.animal-editor-stepper li{font-size:0;gap:3px}.animal-editor-stepper li>span{width:25px;height:25px;font-size:9px}.animal-editor-stepper li strong{font-size:7px;white-space:normal;line-height:9px;max-width:65px}.animal-editor-stepper li:not(:last-child)::after{top:12px;left:calc(50% + 16px);right:calc(-50% + 16px)}
  #animalEditorForm{grid-template-rows:minmax(0,1fr) auto 52px}.animal-editor-step{padding:12px 12px 8px}.animal-editor-step-copy h2{font-size:15px}.animal-editor-step-copy p{font-size:9px;margin-bottom:10px}
  .animal-editor-step-lead{display:block}.desktop-step-title{display:none}.mobile-step-title{display:inline}.animal-photo-action{display:block;margin-bottom:11px}.animal-photo-action button{width:100%;min-width:0;height:37px;font-size:10px}.animal-photo-action small{display:none}
  .animal-appearance-layout{display:block}.animal-type-list{display:flex;overflow-x:auto;gap:5px;margin-bottom:9px;padding-bottom:2px}.animal-type-choice{flex:0 0 auto;width:auto;min-height:29px;grid-template-columns:22px auto;padding:2px 8px;font-size:8px}.animal-type-choice img{width:18px;height:18px}
  .animal-coat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}.animal-coat-choice{height:106px;grid-template-rows:84px auto;font-size:9px}.animal-coat-choice img{height:84px}
  .animal-appearance-note{display:none}
  .animal-editor-fields,.animal-editor-context-fields{grid-template-columns:1fr;gap:11px}.animal-editor-fields input,.animal-editor-fields select{height:36px}.animal-editor-fields textarea{min-height:112px}
  .animal-editor-summary{grid-template-columns:1fr 1fr;gap:7px}.animal-editor-summary>div{min-height:59px;padding:8px}.animal-summary-notes{grid-column:1/-1}
  .animal-editor-feedback{margin:0 12px 5px;font-size:8px;padding:5px 7px}.animal-editor-actions{height:52px;padding:0 12px}.animal-editor-actions button{height:31px;padding:0 11px;font-size:9px}
}

/* R3B Screen09 authentic type photos + real per-animal photo upload. */
.animal-photo-preview{margin:10px 0 13px;min-height:70px;border:1px solid #dce7e0;border-radius:9px;background:#f8fbf9;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;padding:8px 10px}
.animal-photo-preview[hidden]{display:none}
.animal-photo-preview img{width:92px;height:62px;border-radius:7px;object-fit:contain;background:#edf2ef}
.animal-photo-preview strong{display:block;color:#304b5e;font-size:11px;overflow-wrap:anywhere}
.animal-photo-preview small{display:block;margin-top:4px;color:#6f818c;font-size:9px}
.animal-type-list{gap:3px}
.animal-type-choice{min-height:39px;grid-template-columns:40px minmax(0,1fr);gap:8px;padding:3px 7px}
.animal-type-choice img{width:36px;height:31px;border-radius:6px;object-fit:contain;filter:none;opacity:1;background:#eef3ef}
.animal-type-choice.selected img{filter:none;opacity:1;box-shadow:0 0 0 1px rgba(255,255,255,.65)}
.animal-coat-grid{align-content:start}
.animal-coat-choice{height:94px;grid-template-rows:70px auto;border-color:#e4ebe7;background:#fff;padding:0 0 5px;overflow:hidden}
.animal-coat-visual{position:relative;display:block;width:100%;height:70px;border-radius:7px 7px 4px 4px;background:#f1f4f2;overflow:hidden}
.animal-coat-visual img,.animal-type-gallery-choice>img{display:block;width:100%;height:100%;object-fit:contain;background:#f1f4f2}
.animal-type-gallery-choice{grid-template-rows:70px auto}
.animal-type-gallery-choice.photo-pending>img{padding:13px;opacity:.55}
.animal-coat-swatch{position:absolute;right:7px;bottom:6px;display:block;width:28px;height:12px;border:2px solid #fff;border-radius:999px;background:#d8d8d8;box-shadow:0 1px 4px rgba(30,55,65,.25),inset 0 0 0 1px rgba(30,55,65,.08)}
.animal-coat-choice[data-appearance-code="BLACK"] .animal-coat-swatch{background:#202426}
.animal-coat-choice[data-appearance-code="BLACK_WHITE"] .animal-coat-swatch{background:linear-gradient(135deg,#202426 0 44%,#f4f4ef 44% 66%,#202426 66%)}
.animal-coat-choice[data-appearance-code="DARK_BROWN"] .animal-coat-swatch{background:#57372d}
.animal-coat-choice[data-appearance-code="BROWN"] .animal-coat-swatch{background:#875d43}
.animal-coat-choice[data-appearance-code="LIGHT_BROWN"] .animal-coat-swatch{background:#b78a64}
.animal-coat-choice[data-appearance-code="RED"] .animal-coat-swatch{background:#9b4935}
.animal-coat-choice[data-appearance-code="RED_WHITE"] .animal-coat-swatch{background:linear-gradient(135deg,#9b4935 0 45%,#f1eee5 45% 68%,#9b4935 68%)}
.animal-coat-choice[data-appearance-code="CREAM"] .animal-coat-swatch{background:#e3d3aa}
.animal-coat-choice[data-appearance-code="WHITE"] .animal-coat-swatch{background:#f5f4ed}
.animal-coat-choice[data-appearance-code="GRAY"] .animal-coat-swatch{background:#a7ada9}
.animal-coat-choice[data-appearance-code="BRINDLE"] .animal-coat-swatch{background:repeating-linear-gradient(105deg,#6d4a37 0 8px,#382a25 8px 13px,#a57855 13px 20px)}
.animal-coat-choice[data-appearance-code="SPOTTED"] .animal-coat-swatch{background:radial-gradient(circle at 25% 30%,#4d4035 0 9%,transparent 10%),radial-gradient(circle at 72% 62%,#4d4035 0 12%,transparent 13%),radial-gradient(circle at 48% 80%,#7b5a41 0 8%,transparent 9%),#eee7da}
.animal-coat-choice[data-appearance-code="WHITE_FACE"] .animal-coat-swatch{background:linear-gradient(90deg,#875d43 0 35%,#f5f4ed 35% 65%,#875d43 65%)}
.animal-coat-choice[data-appearance-code="BLACK_FACE"] .animal-coat-swatch{background:linear-gradient(90deg,#9b4935 0 35%,#202426 35% 65%,#9b4935 65%)}
.animal-coat-choice[data-appearance-code="MOTTLED"] .animal-coat-swatch{background:radial-gradient(circle at 18% 28%,#6c5f53 0 7%,transparent 8%),radial-gradient(circle at 54% 42%,#a99582 0 9%,transparent 10%),radial-gradient(circle at 80% 70%,#5c5148 0 8%,transparent 9%),#d7d0c5}

@media(max-width:820px){
  .animal-editor-view{display:block;height:calc(100vh - 167px);overflow-y:auto;overflow-x:hidden;padding:8px 11px 74px}
  .animal-editor-heading{height:55px}.animal-editor-stepper{height:58px}
  .animal-editor-card{overflow:visible}.animal-editor-card #animalEditorForm{height:auto;min-height:calc(100vh - 280px);display:flex;flex-direction:column;overflow:visible}
  .animal-editor-step{flex:1;overflow:visible}.animal-editor-actions{background:#fff}
  .animal-photo-preview{grid-template-columns:76px minmax(0,1fr);min-height:62px;margin:8px 0 10px;padding:6px 8px}
  .animal-photo-preview img{width:76px;height:52px}
  .animal-type-choice{min-height:34px;grid-template-columns:28px auto;padding:3px 7px}
  .animal-type-choice img{width:26px;height:24px;border-radius:5px}
  .animal-type-list.type-unselected{display:none}
  .animal-coat-choice{height:82px;grid-template-rows:60px auto}
  .animal-coat-visual,.animal-type-gallery-choice>img{height:60px}
  .animal-type-gallery-choice{grid-template-rows:60px auto}
  .animal-coat-swatch{right:5px;bottom:5px;width:25px;height:11px}
}

/* Screen 09 — single-screen information architecture (active authority). */
.animal-editor-view{padding:18px 22px 0;display:block;overflow-y:auto;overflow-x:hidden}
.animal-editor-heading{min-height:72px;align-items:flex-start}
.animal-editor-heading h1{margin:0 0 4px;color:#0b2458;font-size:29px;line-height:1.1}
.animal-editor-heading>div>p:last-child{font-size:12px;color:#7084a4}
.animal-editor-card.animal-editor-single-screen{min-height:0;border-radius:10px;overflow:visible;background:transparent;border:0;box-shadow:none}
.animal-editor-single-screen #animalEditorForm{height:auto;min-height:0;display:grid;grid-template-rows:auto auto auto;overflow:visible}
.animal-editor-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,.98fr);gap:14px;align-items:start}
.animal-editor-information,.animal-editor-photo-card,.animal-editor-summary-card{background:#fff;border:1px solid #dfe8e3;border-radius:10px;box-shadow:0 2px 10px rgba(23,50,70,.04)}
.animal-editor-information{padding:16px 17px 18px;min-height:548px}
.animal-editor-section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:22px}
.animal-editor-section-heading>span{flex:0 0 37px;width:37px;height:37px;border-radius:8px;background:#e7f4ed;color:#078b48;display:grid;place-items:center;font-size:21px;font-weight:800}
.animal-editor-section-heading h2{margin:1px 0 3px;color:#0b285c;font-size:18px;line-height:1.1}
.animal-editor-section-heading p{margin:0;color:#7084a4;font-size:10px;line-height:1.35}
.animal-editor-fields.animal-editor-fields-single{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;row-gap:17px}
.animal-editor-fields label{gap:6px;color:#0b285c;font-size:11px}
.animal-editor-fields label>span b{color:#d5443f}
.animal-editor-fields input,.animal-editor-fields select,.animal-editor-fields textarea{border-color:#cfdbe4;border-radius:7px;color:#29445b;font-size:11px;background:#fff}
.animal-editor-fields input,.animal-editor-fields select{height:42px;padding:0 12px}
.animal-editor-fields input[readonly]{background:#f2f5f7;color:#718294}
.animal-editor-fields label>small{min-height:0;color:#7084a4;font-size:9px}
.animal-editor-fields .animal-editor-notes{grid-column:1/-1;position:relative}
.animal-editor-fields .animal-editor-notes textarea{min-height:103px;resize:none;padding:11px 12px 20px}
.animal-editor-fields .animal-editor-notes>small{position:absolute;right:9px;bottom:7px}
.animal-editor-support{display:grid;gap:14px;align-content:start;min-width:0}
.animal-editor-photo-card,.animal-editor-summary-card{padding:14px 15px}
.animal-editor-photo-card{min-width:0}
.animal-editor-photo-card .animal-editor-section-heading,.animal-editor-summary-card .animal-editor-section-heading{margin-bottom:13px}
.animal-photo-dropzone{width:100%;min-height:134px;border:1px dashed #aebfca;border-radius:8px;background:#fbfcfc;color:#60768a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px;cursor:pointer;font-family:Arial,sans-serif}
.animal-photo-dropzone>span{font-size:29px;line-height:1}.animal-photo-dropzone>strong{color:#35526b;font-size:12px}.animal-photo-dropzone>small{font-size:9px}.animal-photo-dropzone.drag-active{border-color:#07964b;background:#eef9f2;box-shadow:0 0 0 2px rgba(7,150,75,.12)}
.animal-photo-preview{margin:10px 0 0;min-height:91px;grid-template-columns:145px minmax(0,1fr);padding:7px 8px;background:#f8fbf9}
.animal-photo-preview img{width:145px;height:84px;object-fit:contain;background:#edf2ef}
.animal-photo-library{min-width:0;max-width:100%;margin-top:11px;border-top:1px solid #e3ebe6;padding-top:10px;overflow:hidden}
.animal-photo-library[hidden]{display:none}
.animal-photo-library-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
.animal-photo-library-heading strong{color:#183a54;font-size:10px}.animal-photo-library-heading small{max-width:180px;color:#75889a;font-size:8px;line-height:1.3;text-align:right}
.animal-photo-library-choices{width:100%;min-width:0;max-width:100%;display:grid;grid-auto-flow:column;grid-auto-columns:82px;gap:6px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 5px;scrollbar-width:thin}
.animal-photo-library-choice{min-width:0;border:1px solid #d9e4de;border-radius:7px;background:#f7faf8;padding:4px;display:grid;gap:3px;color:#365367;font:700 8px Arial,sans-serif;cursor:pointer}
.animal-photo-library-choice img{width:100%;height:58px;object-fit:contain;border-radius:5px;background:linear-gradient(135deg,#f3f7f4,#e8f0eb)}
.animal-photo-library-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-photo-library-choice:hover,.animal-photo-library-choice:focus-visible{border-color:#31a66b;outline:0;box-shadow:0 0 0 2px rgba(7,150,75,.1)}
.animal-photo-library-choice[aria-pressed="true"]{border-color:#078e48;background:#ebf8f0;box-shadow:0 0 0 1px #078e48}.animal-photo-library-choice:disabled{opacity:.62;cursor:wait}
.animal-editor-summary-card{padding:0 0 10px;overflow:hidden;background:#fff}
.animal-editor-summary-card .animal-editor-section-heading{margin:0;padding:14px 15px 11px;background:linear-gradient(90deg,#f2fbf5,#f9fdfb)}
.animal-editor-summary{display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:5px 16px}
.animal-editor-summary>div{display:grid;grid-template-columns:minmax(125px,.9fr) minmax(0,1.1fr);align-items:baseline;gap:8px;min-height:31px;border:0;border-radius:0;padding:7px 0;background:transparent}
.animal-editor-summary dt{margin:0;color:#60788d;font-size:10px}.animal-editor-summary dd{font-size:10px;color:#18364b}
.animal-editor-feedback{margin:10px 0 0}
.animal-editor-actions{height:67px;margin:14px -22px 0;padding:0 22px;border-top:1px solid #e1e9e4;background:#fff;position:relative}
.animal-editor-actions>div{gap:9px}.animal-editor-actions button{height:40px;padding:0 24px;font-size:10px;border-radius:7px}
.animal-editor-cancel,.animal-editor-save-another{border:1px solid #bfcdd6;background:#fff;color:#35516a}
.animal-editor-save-another{border-color:#078e48;color:#087b41}
.animal-editor-save{min-width:184px;border-color:#078e48;background:linear-gradient(180deg,#0aa052,#078a45)}

@media(max-width:1100px) and (min-width:821px){
  .animal-editor-layout{grid-template-columns:minmax(0,1.45fr) minmax(285px,.9fr)}
  .animal-editor-fields.animal-editor-fields-single{column-gap:14px}
}

@media(max-width:820px){
  .animal-editor-view{display:block;height:calc(100vh - 167px);padding:10px 11px 82px;overflow-y:auto;overflow-x:hidden}
  .animal-editor-heading{height:auto;min-height:56px}.animal-editor-heading h1{font-size:21px}.animal-editor-heading>div>p:last-child{font-size:9px}
  .animal-editor-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .animal-editor-information{min-height:0;padding:13px 12px 15px}
  .animal-editor-section-heading{gap:8px;margin-bottom:15px}.animal-editor-section-heading>span{width:31px;height:31px;flex-basis:31px;font-size:17px}.animal-editor-section-heading h2{font-size:15px}.animal-editor-section-heading p{font-size:8px}
  .animal-editor-fields.animal-editor-fields-single{grid-template-columns:1fr;gap:12px}
  .animal-editor-fields label{font-size:10px}.animal-editor-fields input,.animal-editor-fields select{height:38px}.animal-editor-fields .animal-editor-notes{grid-column:auto}.animal-editor-fields .animal-editor-notes textarea{min-height:88px}
  .animal-editor-support{gap:10px}.animal-editor-photo-card,.animal-editor-summary-card{padding:12px}
  .animal-photo-dropzone{min-height:111px}.animal-photo-preview{grid-template-columns:105px minmax(0,1fr)}.animal-photo-preview img{width:105px;height:72px}
  .animal-photo-library-heading{display:block}.animal-photo-library-heading small{display:block;max-width:none;margin-top:3px;text-align:left}.animal-photo-library-choices{grid-auto-columns:88px}.animal-photo-library-choice img{height:68px}
  .animal-editor-summary-card{padding:0 0 8px}.animal-editor-summary-card .animal-editor-section-heading{padding:12px 12px 9px}.animal-editor-summary{padding:4px 12px}.animal-editor-summary>div{grid-template-columns:minmax(112px,.9fr) minmax(0,1.1fr);min-height:28px;padding:6px 0}
  .animal-editor-feedback{margin:8px 0 0}
  .animal-editor-actions{height:auto;min-height:60px;margin:10px -11px 0;padding:10px 11px;gap:8px;align-items:stretch;flex-direction:column-reverse}.animal-editor-actions>div{display:grid;grid-template-columns:1fr 1fr}.animal-editor-actions button{width:100%;height:38px;padding:0 8px}.animal-editor-cancel{max-width:none}.animal-editor-save{min-width:0}
}

/* AGROLOGIX_LOGIN_SESSION_UI_B1 */
body.auth-pending,
body.auth-required { overflow:hidden; }
body.auth-pending .app-shell,
body.auth-required .app-shell,
body.auth-pending .sidebar-backdrop,
body.auth-required .sidebar-backdrop { display:none !important; }
body.auth-authenticated .login-screen { display:none !important; }

.login-screen {
  min-height:100vh;
  width:100%;
  display:none;
  grid-template-columns:minmax(480px,1fr) minmax(520px,1.04fr);
  background:#f4faf7;
  color:var(--ink,#10263a);
}
body.auth-pending .login-screen,
body.auth-required .login-screen { display:grid; }
.login-hero { min-height:100vh; overflow:hidden; background:#0f5138; position:relative; }
.login-hero-image { width:100%; height:100%; min-height:100vh; object-fit:cover; object-position:center; display:block; }
.login-panel {
  min-height:100vh;
  background:linear-gradient(145deg,#ffffff 0%,#fbfdfc 55%,#f4faf7 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:64px 7vw 54px;
}
.login-panel-topline {
  position:absolute; top:34px; right:52px;
  display:flex; align-items:center; gap:13px;
  color:#40576b; font-size:15px; font-weight:600;
}
.login-topline-mark { width:42px; height:42px; flex:0 0 42px; display:block; object-fit:contain; }
.login-card { width:min(590px,100%); display:flex; flex-direction:column; align-items:stretch; }
.login-logo { width:min(470px,82%); max-height:190px; object-fit:contain; align-self:center; margin:0 auto 34px; }
.login-card h1 { margin:0; text-align:center; font-size:40px; line-height:1.08; letter-spacing:-.025em; color:#10263a; }
.login-subtitle { margin:10px 0 32px; text-align:center; font-size:18px; color:#607487; }
.login-state-message { margin:-12px 0 20px; border-radius:12px; padding:12px 14px; font-size:14px; line-height:1.4; text-align:center; border:1px solid #dbe9e1; background:#f2faf5; color:#1b6041; }
.login-state-message.error { background:#fff5f3; border-color:#f1cbc4; color:#9a3025; }
.login-state-message.expired { background:#fff8e8; border-color:#ecd7a8; color:#7a5610; }
.login-state-message.closed { background:#f2faf5; border-color:#bfe0ca; color:#17633f; }
.login-field { display:block; margin:0 0 15px; }
.login-field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.login-input-wrap { height:76px; border:1px solid #aebfca; border-radius:12px; background:white; display:flex; align-items:center; gap:13px; padding:0 18px 0 21px; transition:border-color .16s,box-shadow .16s; }
.login-input-wrap:focus-within { border-color:#0a8448; box-shadow:0 0 0 3px rgba(10,132,72,.12); }
.login-input-icon { flex:0 0 28px; text-align:center; font-size:27px; line-height:1; color:#607487; }
.login-input-wrap input { min-width:0; flex:1; border:0; outline:0; font:inherit; font-size:18px; color:#10263a; background:transparent; }
.login-input-wrap input::placeholder { color:#8393a1; }
.login-password-toggle { border:0; background:transparent; color:#607487; cursor:pointer; width:42px; height:42px; border-radius:10px; font-size:20px; }
.login-password-toggle:hover,.login-password-toggle:focus-visible { background:#eef6f1; outline:0; }
.login-submit { margin-top:8px; height:70px; border:0; border-radius:12px; background:linear-gradient(90deg,#087f46,#168c4d); color:white; font:inherit; font-size:20px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:28px; box-shadow:0 10px 20px rgba(5,101,55,.12); }
.login-submit:hover { filter:brightness(.98); }
.login-submit:disabled { opacity:.64; cursor:wait; }
.login-divider { margin:58px 10px 54px; height:1px; background:#d9e2dd; position:relative; }
.login-divider span { position:absolute; width:34px; height:2px; background:#607487; left:50%; top:-1px; transform:translateX(-50%); }
.login-product-foot { text-align:center; color:#526779; font-size:13px; line-height:1.5; }
.login-product-foot strong { color:#10263a; font-size:14px; }

/* AGROLOGIX_LOGIN_SESSION_UI_B1_HF3_LOGOUT_MENU */
.session-user-menu-host {
  position:relative;
  cursor:pointer;
  border-radius:10px;
  outline:0;
}
.session-user-menu-host:focus-visible {
  box-shadow:0 0 0 3px rgba(10,132,72,.14);
}
.session-user-menu {
  position:fixed;
  z-index:5000;
  width:190px;
  padding:6px;
  background:#fff;
  border:1px solid #dfe7e2;
  border-radius:10px;
  box-shadow:0 12px 30px rgba(20,46,35,.16);
}
.session-user-menu[hidden] { display:none !important; }
.session-user-menu-item {
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:11px;
  border:0;
  border-radius:7px;
  padding:9px 10px;
  background:#fff;
  color:#17364a;
  font:inherit;
  font-size:13px;
  font-weight:600;
  text-align:left;
}
.session-user-menu-item:focus-visible {
  outline:0;
  box-shadow:0 0 0 3px rgba(10,132,72,.12);
}
.session-user-menu-icon {
  width:19px;
  height:19px;
  flex:0 0 19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.session-user-menu-icon svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.session-user-menu-profile,
.session-user-menu-profile:disabled {
  opacity:1;
  color:#17364a;
  cursor:default;
}
.session-user-menu-logout {
  margin-top:4px;
  border-top:1px solid #edf1ef;
  border-radius:0 0 7px 7px;
  color:#d92d20;
  cursor:pointer;
}
.session-user-menu-logout:hover,
.session-user-menu-logout:focus-visible {
  background:#fff3f2;
  color:#c81e16;
}

@media (max-width:820px) {
  body.auth-pending,body.auth-required { overflow:auto; }
  .login-screen { grid-template-columns:1fr; min-height:100dvh; background:#fff; }
  .login-hero { min-height:220px; height:220px; }
  .login-hero-image { min-height:220px; height:220px; width:100%; object-fit:cover; object-position:center 34%; }
  .login-panel { min-height:calc(100dvh - 220px); padding:28px 22px 36px; align-items:flex-start; }
  .login-panel-topline { display:none; }
  .login-card { width:100%; max-width:460px; margin:0 auto; }
  .login-logo { width:min(330px,78vw); max-height:125px; margin-bottom:18px; }
  .login-card h1 { font-size:31px; }
  .login-subtitle { font-size:15px; margin:8px 0 22px; }
  .login-state-message { margin:-6px 0 16px; }
  .login-input-wrap { height:62px; border-radius:11px; }
  .login-input-wrap input { font-size:16px; }
  .login-input-icon { font-size:22px; flex-basis:24px; }
  .login-submit { height:60px; font-size:17px; }
  .login-divider { margin:34px 8px 28px; }
  .login-product-foot { padding-bottom:14px; }
  .session-user-menu { width:184px; }
  .session-user-menu-item { min-height:40px; font-size:12px; }
}

@media (max-width:430px) {
  .login-hero { height:190px; min-height:190px; }
  .login-hero-image { height:190px; min-height:190px; object-position:center 34%; }
  .login-panel { min-height:calc(100dvh - 190px); padding:22px 18px 28px; }
  .login-logo { width:min(290px,80vw); max-height:104px; }
  .login-card h1 { font-size:29px; }
  .login-input-wrap { height:58px; padding-left:16px; }
}

.operations-view{display:block}.operations-view[hidden]{display:none}.operations-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.operations-heading h1{margin:0;color:#123f32;font-size:30px}.operations-heading p{margin:7px 0 0;color:#71827d}.operations-summary{margin-bottom:16px;padding:12px 16px;border:1px solid #dce8e3;border-radius:10px;background:#f7fbf9;color:#315d50;font-weight:700}.operations-form-panel,.operations-list-panel{margin-bottom:18px}.operations-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px}.operations-form label{display:flex;flex-direction:column;gap:7px;color:#315248;font-size:13px;font-weight:700}.operations-form input,.operations-form select{height:44px;border:1px solid #cedbd6;border-radius:8px;padding:0 11px;background:white;color:#173f34}.operations-form button{align-self:end;height:44px}.operations-table{text-transform:none}.operations-table th{text-transform:capitalize}.operations-table .empty-state{text-align:center;padding:36px;color:#7c8c87}.mobile-more-menu [data-route]{width:100%;padding:10px 14px;border:0;background:white;text-align:left;color:#214d40}
@media(max-width:900px){.operations-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.operations-heading{align-items:center}.operations-heading h1{font-size:25px}.operations-heading p{font-size:13px}.operations-form{grid-template-columns:1fr;padding:15px}.operations-list-panel .table-wrap{overflow:auto}.operations-table{min-width:620px}.operations-view{padding-bottom:92px}}

/* AGROLOGIX_LOGIN_SESSION_UI_B1_HF4_VISUAL_IDENTITY_CONFORMANCE */
body.auth-pending,
body.auth-required { overflow:hidden !important; }

body.auth-pending .login-screen,
body.auth-required .login-screen {
  height:100dvh;
  min-height:0;
  box-sizing:border-box;
  padding:18px;
  overflow:hidden;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  background:#f2f9f6;
}

.login-hero {
  min-height:0;
  height:100%;
  border-radius:22px 0 0 22px;
  background:#dfeee8;
}
.login-hero-picture {
  display:block;
  width:100%;
  height:100%;
}
.login-hero-image {
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center;
}
.login-panel {
  min-height:0;
  height:100%;
  box-sizing:border-box;
  border-radius:0 22px 22px 0;
  padding:clamp(42px,6vh,66px) clamp(42px,6vw,96px) clamp(28px,4vh,48px);
  overflow:hidden;
}
.login-panel-topline { top:28px; right:46px; }
.login-card { width:min(590px,100%); max-height:100%; }
.login-logo {
  width:min(455px,80%);
  max-height:150px;
  margin:0 auto clamp(18px,3vh,28px);
}
.login-card h1 { font-size:clamp(34px,4vh,40px); }
.login-subtitle { margin:8px 0 clamp(16px,2.7vh,28px); font-size:17px; }
.login-state-message {
  min-height:54px;
  box-sizing:border-box;
  margin:0 0 16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:11px 16px;
  text-align:left;
}
.login-state-message.closed::before {
  content:"✓";
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#159447;
  color:#fff;
  font-weight:900;
  font-size:17px;
  line-height:1;
}
.login-field { margin-bottom:12px; }
.login-input-wrap { height:62px; border-radius:11px; padding:0 16px 0 20px; gap:13px; }
.login-input-icon {
  flex:0 0 28px;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#405979;
}
.login-icon-svg {
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.login-password-toggle {
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.login-password-toggle .login-icon-svg { width:26px; height:26px; }
.login-input-wrap input { font-size:17px; }
.login-submit { height:64px; margin-top:6px; border-radius:11px; font-size:19px; }
.login-divider { margin:clamp(22px,3.8vh,38px) 8px clamp(18px,3vh,30px); }
.login-product-foot { font-size:12px; }
.login-product-foot strong { font-size:14px; }

@media (min-width:821px) and (max-height:820px) {
  .login-panel { padding-top:38px; padding-bottom:24px; }
  .login-panel-topline { top:20px; }
  .login-logo { max-height:118px; margin-bottom:14px; }
  .login-card h1 { font-size:34px; }
  .login-subtitle { margin:6px 0 14px; font-size:15px; }
  .login-state-message { min-height:46px; margin-bottom:10px; padding:8px 13px; }
  .login-input-wrap { height:56px; }
  .login-submit { height:58px; }
  .login-divider { margin:18px 8px 14px; }
}

@media (max-width:820px) {
  body.auth-pending,
  body.auth-required { overflow:hidden !important; }
  body.auth-pending .login-screen,
  body.auth-required .login-screen {
    height:100dvh;
    min-height:0;
    padding:10px 12px 12px;
    grid-template-columns:1fr;
    grid-template-rows:68% 32%;
    background:#f5fbf8;
    overflow:hidden;
  }
  .login-hero {
    grid-row:2;
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:auto;
    border-radius:16px;
    overflow:hidden;
  }
  .login-hero-picture,
  .login-hero-image {
    width:100%;
    height:100%;
    min-height:0;
  }
  .login-hero-image { object-fit:cover; object-position:center; }
  .login-panel {
    grid-row:1;
    min-height:0;
    height:auto;
    overflow:hidden;
    padding:14px 2px 0;
    border-radius:0;
    align-items:flex-start;
    background:linear-gradient(180deg,#ffffff 0%,#f8fcfa 100%);
  }
  .login-card { width:100%; max-width:460px; margin:0 auto; }
  .login-logo { width:min(282px,76vw); max-height:84px; margin:0 auto 6px; }
  .login-card h1 { font-size:29px; line-height:1.05; }
  .login-subtitle { font-size:14px; margin:5px 0 12px; }
  .login-state-message { min-height:44px; margin:0 0 10px; padding:8px 12px; font-size:12px; border-radius:9px; }
  .login-state-message.closed::before { width:23px; height:23px; flex-basis:23px; font-size:14px; }
  .login-field { margin-bottom:9px; }
  .login-input-wrap { height:56px; padding:0 13px 0 15px; border-radius:9px; }
  .login-input-icon { flex-basis:25px; width:25px; height:25px; }
  .login-icon-svg { width:22px; height:22px; }
  .login-input-wrap input { font-size:15px; }
  .login-password-toggle { width:38px; height:38px; }
  .login-password-toggle .login-icon-svg { width:23px; height:23px; }
  .login-submit { height:56px; margin-top:4px; font-size:17px; border-radius:9px; }
  .login-divider { margin:18px 6px 12px; }
  .login-product-foot { padding-bottom:4px; font-size:10px; line-height:1.35; }
  .login-product-foot strong { font-size:12px; }
}

@media (max-width:430px) {
  body.auth-pending .login-screen,
  body.auth-required .login-screen { padding:8px 10px 10px; }
  .login-panel { padding-top:12px; }
  .login-logo { width:min(268px,74vw); max-height:78px; }
  .login-card h1 { font-size:28px; }
  .login-subtitle { font-size:13px; margin-bottom:10px; }
  .login-state-message { min-height:42px; }
  .login-input-wrap { height:54px; }
  .login-submit { height:54px; }
}

/* AGROLOGIX_LOGIN_DESKTOP_MODAL_R2
   Visual conformance to the approved desktop mockup.
   Desktop only. Mobile <=820px remains governed by the existing canonical rules. */
@media (min-width:821px) {
  body.auth-pending,
  body.auth-required {
    min-height:100vh;
    overflow:hidden;
    background:#edf5f0;
  }

  body.auth-pending .app-shell,
  body.auth-required .app-shell {
    display:block !important;
    pointer-events:none !important;
    user-select:none !important;
    filter:blur(2.4px) saturate(.72);
    opacity:.30;
    transform:scale(1.006);
    transform-origin:center;
  }

  body.auth-pending .sidebar-backdrop,
  body.auth-required .sidebar-backdrop {
    display:none !important;
  }

  body.auth-pending .login-screen,
  body.auth-required .login-screen {
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:10000;
    width:min(700px,calc(100vw - 72px));
    height:min(480px,calc(100vh - 64px));
    min-height:0;
    grid-template-columns:minmax(300px,.92fr) minmax(340px,1.08fr);
    border:1px solid rgba(23,83,54,.10);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:
      0 24px 58px rgba(20,58,39,.22),
      0 0 0 100vmax rgba(229,240,234,.60);
  }

  .login-hero {
    position:relative;
    min-height:0;
    height:100%;
    padding:16px;
    overflow:hidden;
    background:#f1f7f3;
  }

  .login-hero-picture {
    display:block;
    width:100%;
    height:100%;
    min-height:0;
  }

  .login-hero-image {
    width:100%;
    height:100%;
    min-height:0;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    box-shadow:0 10px 24px rgba(24,72,48,.14);
  }

  .login-hero::after {
    content:"El futuro del\A campo, hoy";
    white-space:pre;
    position:absolute;
    left:32px;
    bottom:34px;
    color:#fff;
    font-size:20px;
    line-height:1.02;
    font-weight:700;
    font-style:italic;
    letter-spacing:-.02em;
    text-shadow:0 2px 8px rgba(0,0,0,.36);
    pointer-events:none;
  }

  .login-hero::before {
    content:"";
    position:absolute;
    left:35px;
    bottom:24px;
    width:72px;
    height:4px;
    border-radius:999px;
    background:#9fda24;
    transform:rotate(-8deg);
    z-index:2;
    pointer-events:none;
  }

  .login-panel {
    min-height:0;
    height:100%;
    padding:38px 28px 24px;
    background:linear-gradient(145deg,#ffffff 0%,#fbfdfc 58%,#f6faf8 100%);
    align-items:center;
    justify-content:center;
  }

  .login-panel-topline {
    top:18px;
    right:20px;
    gap:7px;
    font-size:9px;
  }

  .login-leaf {
    width:12px;
    height:16px;
  }

  .login-card {
    width:min(320px,100%);
  }

  .login-logo {
    width:min(225px,74%);
    max-height:72px;
    margin:0 auto 14px;
  }

  .login-card h1 {
    font-size:24px;
    line-height:1.08;
  }

  .login-subtitle {
    margin:6px 0 18px;
    font-size:12px;
  }

  .login-state-message {
    margin:-2px 0 12px;
    padding:8px 10px;
    min-height:0;
    border-radius:8px;
    font-size:10px;
  }

  .login-field {
    margin-bottom:9px;
  }

  .login-input-wrap {
    height:42px;
    border-radius:8px;
    gap:8px;
    padding:0 11px 0 12px;
  }

  .login-input-icon {
    flex-basis:18px;
    width:18px;
    height:18px;
  }

  .login-icon-svg {
    width:17px;
    height:17px;
  }

  .login-input-wrap input {
    font-size:12px;
  }

  .login-password-toggle {
    width:30px;
    height:30px;
  }

  .login-password-toggle .login-icon-svg {
    width:18px;
    height:18px;
  }

  .login-submit {
    height:44px;
    margin-top:2px;
    border-radius:8px;
    font-size:13px;
    gap:16px;
    box-shadow:0 8px 16px rgba(5,101,55,.13);
  }

  .login-divider {
    margin:18px 6px 14px;
  }

  .login-product-foot {
    font-size:9px;
    line-height:1.35;
  }

  .login-product-foot strong {
    font-size:10px;
  }
}
