:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17251d;background:#f4f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,.9fr) minmax(460px,1.1fr);background:#f6f8f6}.brand-panel{padding:clamp(3rem,7vw,7rem);display:flex;flex-direction:column;justify-content:center;color:#f6fff8;background:#173f2b;position:relative;overflow:hidden}.brand-panel:after{content:"";position:absolute;width:24rem;height:24rem;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-10rem;bottom:-10rem}.brand-panel h1{max-width:12ch;margin:.45rem 0 1.2rem;font-size:clamp(2.25rem,5vw,4.4rem);line-height:1.02;letter-spacing:-.04em}.brand-panel p:last-child{max-width:33rem;color:#c9dfd1;font-size:1.05rem;line-height:1.7}.brand-logo-frame{width:min(100%,31rem);padding:clamp(.8rem,2vw,1.25rem);border-radius:1.25rem;background:#fff;box-shadow:0 18px 45px #0000002e;position:relative;z-index:1}.brand-logo{display:block;width:100%;height:auto}.home-logo{display:block;width:min(100%,18rem);height:auto;margin:0 auto 1.5rem}.eyebrow{margin:1.5rem 0 0;color:#6d7e72;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.brand-panel .eyebrow{color:#d7ef74}.login-panel{padding:2rem;display:grid;place-items:center}.login-card{width:min(100%,29rem);padding:clamp(2rem,5vw,3.2rem);border:1px solid #dde6df;border-radius:1.5rem;background:#fff;box-shadow:0 24px 70px #1d3a281a}.login-card header{margin-bottom:2rem}.login-card header .eyebrow{margin-top:0}.login-card h2{margin:.5rem 0 .6rem;font-size:1.9rem;letter-spacing:-.025em}.login-card header p:last-child{margin:0;color:#66746a;line-height:1.55}.field{display:grid;gap:.5rem;margin-bottom:1.15rem}.field label{font-size:.9rem;font-weight:700}.field input{width:100%;padding:.9rem 1rem;border:1px solid #cbd7ce;border-radius:.75rem;color:#17251d;background:#fbfcfb;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus{border-color:#2f6d48;box-shadow:0 0 0 4px #2f6d4821}.field input:disabled{opacity:.65;cursor:not-allowed}.primary-button,.secondary-button{min-height:3rem;padding:.8rem 1.2rem;border-radius:.75rem;border:0;font-weight:800;transition:transform .15s,background .15s}.primary-button{width:100%;margin-top:.5rem;color:#fff;background:#245c3b}.primary-button:hover:not(:disabled){background:#19492e;transform:translateY(-1px)}.primary-button:disabled{cursor:not-allowed;opacity:.68}.secondary-button{color:#fff;background:#245c3b}.secondary-button:hover{background:#19492e}.primary-button:focus-visible,.secondary-button:focus-visible{outline:4px solid rgba(47,109,72,.25);outline-offset:2px}.alert{margin-bottom:1.25rem;padding:.85rem 1rem;border:1px solid #f1c7c7;border-radius:.7rem;color:#8b2929;background:#fff2f2;line-height:1.45}.page-loader,.home-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.page-loader{color:#496052;font-weight:700}.home-shell{background:#edf3ee}.welcome-card{width:min(100%,38rem);padding:clamp(2rem,6vw,4rem);text-align:center;border:1px solid #d9e4dc;border-radius:1.5rem;background:#fff;box-shadow:0 24px 70px #1d3a281a}.welcome-card h1{margin:.65rem 0 2rem;font-size:clamp(2rem,5vw,3.1rem);letter-spacing:-.04em}.user-summary{display:grid;gap:.75rem;margin:0 0 1.6rem;text-align:left}.user-summary div{padding:1rem;display:flex;justify-content:space-between;gap:1rem;border-radius:.8rem;background:#f5f8f5}.user-summary dt{color:#68786d}.user-summary dd{margin:0;font-weight:750;overflow-wrap:anywhere}.role-badge{padding:.3rem .55rem;border-radius:999px;color:#17442b;background:#dcebdd;font-size:.78rem;letter-spacing:.05em}.success-message{margin:0 0 1.6rem;color:#2f6d48}.app-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:16.5rem minmax(0,1fr);grid-template-rows:4.5rem minmax(0,1fr);grid-template-areas:"sidebar header" "sidebar content";background:#f3f6f4}.app-header{grid-area:header;min-width:0;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #dfe6e1;background:#fff;position:sticky;top:0;z-index:20}.header-title{min-width:0;display:grid}.header-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem}.header-title span{color:#748078;font-size:.72rem;font-weight:800;letter-spacing:.12em}.header-user{min-width:0;display:flex;align-items:center;gap:.75rem}.user-avatar{width:2.35rem;height:2.35rem;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#fff;background:#27623f;font-size:.76rem;font-weight:800}.user-identity{min-width:0;display:grid;text-align:right}.user-identity strong{max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}.user-identity span{color:#68746c;font-size:.72rem}.header-logout{padding:.6rem .85rem;border:1px solid #ccd7cf;border-radius:.55rem;color:#26372c;background:#fff;font-weight:750}.header-logout:hover{border-color:#27623f;color:#174329;background:#f4f8f5}.menu-toggle{display:none;width:2.6rem;height:2.6rem;border:1px solid #d3ddd6;border-radius:.6rem;color:#1f4d32;background:#fff;font-size:1.25rem}.app-sidebar{grid-area:sidebar;height:100vh;height:100dvh;min-height:0;align-self:start;padding:1.1rem .85rem;display:flex;flex-direction:column;color:#dbe8df;background:#173f2b;position:sticky;top:0;z-index:40;overflow-y:auto;overscroll-behavior:contain}.sidebar-close{display:none;width:2.75rem;height:2.75rem;margin:-.25rem -.25rem .35rem auto;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:.6rem;color:#fff;background:#ffffff14;font-size:1.45rem;cursor:pointer}.sidebar-brand{padding:.4rem .5rem 1.2rem;display:grid;gap:.55rem;border-bottom:1px solid rgba(255,255,255,.12)}.sidebar-brand img{width:100%;max-height:4.7rem;padding:.45rem;object-fit:contain;border-radius:.65rem;background:#fff}.sidebar-brand span{color:#bcd0c2;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.sidebar-nav{margin:1rem 0 0;padding:0;display:grid;gap:.2rem;list-style:none}.sidebar-nav a{padding:.68rem .75rem;display:flex;align-items:center;gap:.7rem;border-radius:.55rem;color:#d5e3d9;text-decoration:none;font-size:.88rem;font-weight:650}.sidebar-nav a:hover{color:#fff;background:#ffffff14}.sidebar-nav a.active{color:#173f2b;background:#d9ecde;box-shadow:inset 3px 0 #54a463}.sidebar-credit{margin-top:auto;padding:1.2rem .5rem .25rem;border-top:1px solid rgba(255,255,255,.12);color:#bcd0c2;text-align:center;font-size:.7rem;line-height:1.55}.sidebar-credit a{color:#d7ef74;font-weight:750;text-decoration:none}.sidebar-credit a:hover{text-decoration:underline}.sidebar-credit a:focus-visible{outline:3px solid #8bc69a;outline-offset:2px}.nav-icon{width:1.65rem;height:1.65rem;flex:0 0 auto;display:grid;place-items:center;border:1px solid currentColor;border-radius:.45rem;font-size:.66rem;font-weight:850}.sidebar-overlay{display:none}.app-content{grid-area:content;min-width:0;padding:clamp(1.25rem,3vw,2.5rem)}.page-placeholder,.status-page{min-height:18rem;padding:clamp(1.5rem,4vw,2.75rem);border:1px solid #dce5df;border-radius:1rem;background:#fff;box-shadow:0 8px 26px #1c3d280e}.page-placeholder h1,.status-page h1{margin:.35rem 0 1rem;color:#1e3326;font-size:clamp(1.75rem,4vw,2.45rem);letter-spacing:-.035em}.page-placeholder>p:not(.page-kicker),.status-page p{max-width:46rem;color:#66736a;line-height:1.65}.page-kicker{margin:0;color:#34764b;font-size:.72rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.dashboard-placeholder{border-top:4px solid #3c8153}.status-page{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.status-code{color:#3b7650;font-size:.78rem;font-weight:900;letter-spacing:.18em}.primary-link{margin-top:1rem;padding:.75rem 1rem;border-radius:.6rem;color:#fff;background:#245c3b;text-decoration:none;font-weight:800}.dashboard-page{display:grid;gap:2rem}.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem}.dashboard-heading h1{margin:.35rem 0 .4rem;font-size:clamp(2rem,4vw,2.75rem);letter-spacing:-.045em}.dashboard-heading>div>p:last-child,.section-heading p{margin:0;color:#68766d}.date-filter{display:grid;gap:.45rem;flex:0 0 auto}.date-filter label{color:#59675e;font-size:.76rem;font-weight:800}.date-filter div{display:flex;gap:.5rem}.date-filter input,.date-filter button,.dashboard-warning button{min-height:2.55rem;padding:.55rem .75rem;border:1px solid #cbd7ce;border-radius:.55rem;color:#26372c;background:#fff}.date-filter button,.dashboard-warning button{font-weight:800}.section-title{margin:0 0 1rem;font-size:1.18rem;letter-spacing:-.015em}.summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem}.summary-card{min-width:0;min-height:7.5rem;padding:1rem;display:flex;flex-direction:column;justify-content:space-between;gap:.75rem;border:1px solid #dae4dd;border-radius:.8rem;background:#fff}.summary-card span{color:#69766d;font-size:.78rem;line-height:1.35}.summary-card strong{color:#1f4e32;font-size:clamp(1.35rem,2.5vw,1.9rem);overflow-wrap:anywhere}.section-heading{margin-bottom:1rem;display:flex;align-items:end;justify-content:space-between}.section-heading .section-title{margin-bottom:.25rem}.section-heading p{font-size:.82rem}.lots-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}.lot-card{min-width:0;padding:1.25rem;border:1px solid #d8e3db;border-radius:.9rem;background:#fff;box-shadow:0 8px 24px #193a250b}.lot-card-header{display:flex;justify-content:space-between;gap:1rem}.lot-card-header h3{margin:.2rem 0 0;font-size:1.45rem}.status-badge{align-self:flex-start;padding:.32rem .55rem;border-radius:999px;color:#245c3b;background:#e3f0e6;font-size:.68rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.lot-location{margin:1rem 0 .2rem;color:#26372c;font-weight:800}.lot-origin{min-height:1.4rem;margin:0 0 1.1rem;color:#718077;font-size:.82rem}.lot-metrics{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.05rem .8rem}.lot-metrics div{min-width:0;padding:.68rem 0;border-top:1px solid #edf1ee}.lot-metrics .metric-wide{grid-column:1 / -1}.lot-metrics dt{color:#758178;font-size:.72rem}.lot-metrics dd{margin:.25rem 0 0;color:#26372c;font-size:.84rem;font-weight:750;overflow-wrap:anywhere}.daily-record-state{margin:1rem 0;padding:.65rem .75rem;border-radius:.55rem;font-size:.78rem;font-weight:800}.daily-record-state.complete{color:#285f3c;background:#edf6ef}.daily-record-state.pending{color:#795b17;background:#fff7df}.daily-record-state.emphasized{border:1px solid currentColor}.lot-link{display:inline-flex;padding:.68rem .85rem;border-radius:.55rem;color:#fff;background:#245c3b;text-decoration:none;font-size:.82rem;font-weight:800}.dashboard-empty,.dashboard-error{padding:clamp(1.5rem,4vw,2.5rem);border:1px dashed #bfcfc3;border-radius:.9rem;background:#fafcfb;text-align:center}.dashboard-empty h3{margin:0 0 .5rem}.dashboard-empty p{margin:0;color:#68766d}.dashboard-error{min-height:20rem;display:flex;flex-direction:column;align-items:center;justify-content:center}.dashboard-error h1{margin:.5rem 0}.dashboard-error p:not(.page-kicker){color:#6d7770}.primary-button.compact{width:auto}.dashboard-warning{padding:.8rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #ead49a;border-radius:.7rem;color:#674f18;background:#fff8e7}.skeleton{border-radius:.75rem;background:linear-gradient(90deg,#e8ede9 25%,#f5f7f5,#e8ede9 75%);background-size:200% 100%;animation:skeleton-pulse 1.3s infinite linear}.heading-skeleton{width:min(28rem,80%);height:5rem}.card-skeleton{min-height:7.5rem}.lot-skeleton{width:min(31rem,100%);height:26rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.resource-page{display:grid;gap:1.25rem}.resource-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.resource-heading h1{margin:.3rem 0;font-size:clamp(2rem,4vw,2.7rem);letter-spacing:-.04em}.resource-heading p:last-child{margin:0;color:#68766d}.heading-actions{display:flex;align-items:center;gap:.6rem}.heading-actions select{min-height:2.7rem;padding:.55rem .7rem;border:1px solid #cbd7ce;border-radius:.55rem;background:#fff}.resource-toolbar{padding:1rem;display:flex;align-items:end;gap:.8rem;border:1px solid #dce5df;border-radius:.8rem;background:#fff}.lot-filters,.daily-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.health-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.activity-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.compact-field{margin:0;min-width:0}.compact-field input,.compact-field select,.resource-form select,.resource-form textarea{width:100%;padding:.8rem .9rem;border:1px solid #cbd7ce;border-radius:.65rem;color:#17251d;background:#fbfcfb;outline:none}.compact-field input:focus,.compact-field select:focus,.resource-form select:focus,.resource-form textarea:focus{border-color:#2f6d48;box-shadow:0 0 0 4px #2f6d4821}.table-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid #dbe4de;border-radius:.85rem;background:#fff;-webkit-overflow-scrolling:touch}.resource-table{width:100%;border-collapse:collapse}.resource-table th,.resource-table td{padding:.9rem 1rem;border-bottom:1px solid #e8eeea;text-align:left;vertical-align:middle}.resource-table th{color:#627068;background:#f6f8f6;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}.resource-table td{color:#334138;font-size:.84rem}.resource-table tr:last-child td{border-bottom:0}.muted{color:#768179;font-size:.76rem}.resource-badge{display:inline-flex;padding:.3rem .5rem;border-radius:999px;font-size:.68rem;font-weight:850;letter-spacing:.04em}.resource-badge.active{color:#245d39;background:#e3f1e6}.resource-badge.inactive,.resource-badge.completed{color:#536059;background:#e9eeeb}.resource-badge.cancelled{color:#874141;background:#fae8e8}.row-actions{display:flex;gap:.4rem}.row-actions button,.table-link,.secondary-action,.danger-action{padding:.55rem .7rem;border:1px solid #cad6ce;border-radius:.5rem;color:#294032;background:#fff;text-decoration:none;font-size:.76rem;font-weight:800}.row-actions button:hover,.table-link:hover,.secondary-action:hover{border-color:#35754c;color:#1f5734;background:#f3f8f4}.danger-action{border-color:#d7a4a4;color:#8a3030;background:#fff7f7}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem}.pagination button{padding:.58rem .8rem;border:1px solid #ccd7cf;border-radius:.5rem;background:#fff;font-weight:750}.pagination button:disabled{cursor:not-allowed;opacity:.45}.pagination span{color:#647168;font-size:.8rem}.resource-state,.resource-empty{min-height:16rem;padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #bdccc1;border-radius:.85rem;background:#fafcfb;text-align:center}.resource-state span{margin-top:1rem;color:#68766d}.resource-state.error h1,.resource-state.error h2,.resource-empty h2{margin:0 0 .5rem}.resource-state.error p,.resource-empty p{color:#69766d}.resource-skeleton{width:min(32rem,90%);height:5rem}.success-banner{padding:.8rem 1rem;border:1px solid #b9d9c1;border-radius:.65rem;color:#285d39;background:#edf7ef}.modal-backdrop{padding:1rem;display:grid;place-items:center;position:fixed;inset:0;z-index:100;background:#0d1d1394}.modal-panel{width:min(100%,43rem);max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain;border-radius:1rem;background:#fff;box-shadow:0 24px 80px #00000040}.modal-panel>header{padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e9e5;position:sticky;top:0;z-index:1;background:#fff}.modal-panel>header h2{margin:0;font-size:1.2rem}.icon-button{width:2.2rem;height:2.2rem;border:0;border-radius:50%;background:#eef2ef;font-size:1.3rem}.resource-form,.confirm-content{padding:1.25rem}.resource-form .field input{background:#fbfcfb}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-form{display:grid;gap:1rem}.daily-form fieldset{margin:0;padding:1rem;border:1px solid #dce5df;border-radius:.75rem}.daily-form legend{padding:0 .4rem;color:#355b42;font-weight:850}.field-error{display:block;margin-top:.35rem;color:#9b3434;font-size:.76rem}.health-form{display:grid;gap:1rem}.section-title{margin:.5rem 0 1rem;font-size:1.25rem}.compact-empty{min-height:7rem}.health-active-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem}.health-card{padding:1rem;display:grid;gap:.75rem;border:1px solid #dbe4de;border-radius:.85rem;background:#fff}.health-card>div{display:flex;justify-content:space-between;gap:.5rem;color:#657269;font-size:.78rem}.health-card h3,.health-card p{margin:0}.health-card .table-link{justify-self:start}.health-badge{display:inline-flex;width:fit-content;padding:.3rem .55rem;border-radius:999px;font-size:.7rem;font-weight:850}.health-badge.observation{color:#6a5314;background:#fff3cd}.health-badge.treatment{color:#245277;background:#e1f0fb}.health-badge.recovered{color:#245d39;background:#e3f1e6}.health-badge.closed{color:#536059;background:#e9eeeb}.activity-form{display:grid;gap:1rem}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.activity-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem}.activity-card{padding:1rem;display:grid;gap:.7rem;border:1px solid #dbe4de;border-radius:.85rem;background:#fff}.activity-card h3,.activity-card p{margin:0}.activity-card>span:first-child,.activity-card p{color:#68766d;font-size:.8rem}.activity-card .table-link{justify-self:start}.activity-badge{display:inline-flex;width:fit-content;padding:.3rem .55rem;border-radius:999px;font-size:.7rem;font-weight:850}.activity-badge.pending{color:#6a5314;background:#fff3cd}.activity-badge.in_progress{color:#245277;background:#e1f0fb}.activity-badge.completed{color:#245d39;background:#e3f1e6}.activity-badge.not_completed{color:#874141;background:#fae8e8}.weighing-form{display:grid;gap:1rem}.weighing-form fieldset{padding:1rem;border:1px solid #dce5df;border-radius:.75rem}.weighing-context,.sample-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.weighing-context div,.sample-summary-grid div{padding:.75rem;display:grid;gap:.25rem;border-radius:.65rem;background:#f3f7f4}.weighing-context span,.sample-summary span{color:#68766d;font-size:.8rem}.field-hint{margin:.15rem 0 .85rem;color:#68766d}.weight-row{display:grid;grid-template-columns:6rem 1fr auto;align-items:center;gap:.6rem;margin-bottom:.6rem}.weight-input{display:flex;align-items:center;gap:.5rem}.weight-input input{width:100%}.weight-input span{font-weight:700;color:#68766d}.remove-weight{padding:.55rem;border:0;background:transparent;color:#8b3434;font-weight:700;cursor:pointer}.remove-weight:disabled{visibility:hidden}.add-weight{margin-top:.25rem}.sample-summary{padding:1rem;border-radius:.75rem;background:#eef6f0}.sample-summary h3{margin:0 0 .8rem}.reference-preview{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.85rem}.reference-missing{margin:.85rem 0 .25rem;font-weight:700;color:#6a5314}.sample-summary>small{display:block;margin-top:.75rem;color:#68766d}.form-period-note{margin:0;color:#68766d}.eligibility{padding:1rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap;border-radius:.75rem}.eligibility.eligible{background:#e3f1e6;color:#245d39}.eligibility.ineligible{background:#fff3cd;color:#6a5314}.eligibility p{margin:0}.eligibility .primary-button{margin:0 0 0 auto}.weights-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem}.weights-list div{padding:.8rem;display:flex;justify-content:space-between;border:1px solid #dce5df;border-radius:.6rem;background:#fff}.weighings-page{gap:1.5rem}.weighing-toolbar{margin-bottom:.15rem}.weighing-section{display:grid;gap:.85rem;padding-top:.25rem}.weighing-section+.weighing-section{padding-top:1.35rem;border-top:1px solid #dce5df}.weighing-section .section-title{margin:0}.schedule-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.schedule-item{min-height:8rem;padding:1rem;display:flex;flex-direction:column;gap:.5rem;border:1px solid #dce5df;border-radius:.8rem;background:#fff;box-shadow:0 4px 14px #1b432b0a}.schedule-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.schedule-item-head>strong{font-size:1.05rem}.schedule-item>time{color:#68766d;font-size:.9rem}.schedule-item.completed{border-color:#b8d5c0;background:#f7fbf8}.schedule-item.available{border-color:#9ec9aa;background:#f5fbf6}.schedule-item.overdue{border-color:#e4b2a8;background:#fff9f7}.schedule-badge{width:max-content;padding:.28rem .48rem;border-radius:999px;background:#edf1f5;color:#526477;font-size:.66rem;font-weight:850;letter-spacing:.055em;line-height:1}.schedule-badge.available{background:#dff1e4;color:#21613a}.schedule-badge.pending{background:#fff0cc;color:#76570b}.schedule-badge.overdue{background:#fbe3de;color:#8b3e31}.schedule-badge.completed,.schedule-badge.done{background:#dff1e4;color:#21613a}.schedule-weight{margin-top:auto;padding-top:.55rem;display:flex;justify-content:space-between;gap:.5rem;border-top:1px solid #d9e5dc}.schedule-weight span{color:#68766d;font-size:.78rem}.schedule-weight strong{color:#245d39;font-size:.9rem}.weighing-empty{min-height:5rem;padding:1rem 1.15rem;display:flex;align-items:center;gap:.8rem;border:1px dashed #bdccc1;border-radius:.75rem;background:#fafcfb}.weighing-empty>span{display:grid;width:1.8rem;height:1.8rem;place-items:center;border-radius:50%;background:#e7f0e9;color:#27613d;font-weight:900}.weighing-empty strong{display:block}.weighing-empty p{margin:.2rem 0 0;color:#68766d;font-size:.9rem}.weighing-history-table{min-width:78rem}.table-actions{display:flex;align-items:center;gap:.65rem;white-space:nowrap}.table-link.subtle{color:#68766d}.form-actions{margin-top:.5rem;display:flex;justify-content:flex-end;gap:.6rem}.form-note{padding:.7rem .8rem;border-radius:.55rem;color:#70571f;background:#fff7df;font-size:.78rem;line-height:1.5}.details-grid{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #dce5df;border-radius:.85rem;background:#dce5df}.details-grid div{padding:1.2rem;background:#fff}.details-grid .detail-wide{grid-column:1 / -1}.details-grid dt{color:#748077;font-size:.73rem}.details-grid dd{margin:.4rem 0 0;font-weight:750;overflow-wrap:anywhere}.back-link{display:inline-block;margin-bottom:1rem;color:#356a47;font-size:.8rem;font-weight:800;text-decoration:none}.row-actions button:focus-visible,.table-link:focus-visible,.secondary-action:focus-visible,.danger-action:focus-visible,.pagination button:focus-visible,.icon-button:focus-visible{outline:3px solid #8bc69a;outline-offset:2px}@keyframes skeleton-pulse{to{background-position:-200% 0}}.header-logout:focus-visible,.menu-toggle:focus-visible,.sidebar-nav a:focus-visible,.sidebar-overlay:focus-visible,.primary-link:focus-visible{outline:3px solid #8bc69a;outline-offset:2px}@media(max-width:1023px){.app-shell{grid-template-columns:1fr;grid-template-rows:4.25rem minmax(0,1fr);grid-template-areas:"header" "content"}.app-header{padding:0 .9rem}.menu-toggle{display:grid;place-items:center}.header-title{margin-right:auto}.header-title strong{max-width:12rem}.app-sidebar{width:min(18rem,86vw);position:fixed;inset:0 auto 0 0;transform:translate(-102%);transition:transform .2s ease;box-shadow:12px 0 32px #0003}.app-sidebar.is-open{transform:translate(0)}.sidebar-close{display:grid}.sidebar-overlay{display:block;position:fixed;inset:0;z-index:30;border:0;background:#0d1d1380}body.sidebar-open{overflow:hidden}.app-content{padding:1.1rem}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-heading{align-items:flex-start;flex-direction:column}.summary-grid,.lots-grid,.lot-filters,.daily-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.health-filters,.activity-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.resource-table thead{display:none}.resource-table,.resource-table tbody,.resource-table tr,.resource-table td{display:block;width:100%}.resource-table tr{padding:.55rem 0;border-bottom:1px solid #dfe7e1}.resource-table tr:last-child{border-bottom:0}.resource-table td{padding:.5rem 1rem;display:grid;grid-template-columns:minmax(7rem,35%) 1fr;gap:.75rem;border:0}.resource-table td:before{content:attr(data-label);color:#718077;font-size:.7rem;font-weight:800;text-transform:uppercase}.weighing-history-table{min-width:0}.row-actions,.table-actions{flex-wrap:wrap;white-space:normal}}@media(max-width:560px){.header-title strong{max-width:9.5rem;font-size:.82rem}.header-title span,.user-identity{display:none}.user-avatar{width:2rem;height:2rem}.header-logout{padding:.5rem .65rem}.page-placeholder,.status-page{min-height:15rem;padding:1.35rem}.date-filter,.date-filter div,.date-filter input{width:100%}.summary-grid,.lots-grid{grid-template-columns:1fr}.summary-card{min-height:6.5rem}.lot-metrics{grid-template-columns:1fr}.lot-metrics .metric-wide{grid-column:auto}.dashboard-warning{align-items:flex-start;flex-direction:column}.resource-heading{align-items:stretch;flex-direction:column}.resource-heading>button{width:100%}.resource-toolbar,.lot-filters,.daily-filters,.health-filters,.activity-filters,.form-grid,.form-grid.three,.details-grid{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.section-heading{align-items:stretch;flex-direction:column}.details-grid .detail-wide{grid-column:auto}.heading-actions{align-items:stretch;flex-direction:column}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}@media(max-width:820px){.login-shell{grid-template-columns:1fr}.brand-panel{min-height:14rem;padding:2rem;justify-content:flex-end}.brand-panel h1{max-width:none;font-size:2.15rem}.brand-panel p:last-child{display:none}.login-panel{padding:1.25rem}}@media(max-width:480px){.brand-panel{min-height:11rem}.brand-logo-frame{width:min(100%,18rem);padding:.65rem;border-radius:.85rem}.login-card{padding:1.5rem;border-radius:1.1rem}.user-summary div{flex-direction:column}}@media(max-width:480px){.schedule-grid{grid-template-columns:1fr}.schedule-item{min-height:7rem}}@media(max-width:700px){.weighing-context,.sample-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weight-row{grid-template-columns:1fr auto}.weight-row>label{grid-column:1/-1}.eligibility .primary-button{width:100%;margin-left:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.reports-page{display:grid;gap:1.25rem}.report-controls{padding:1rem;display:grid;grid-template-columns:1.2fr repeat(3,minmax(9rem,1fr)) auto;align-items:end;gap:.8rem;border:1px solid #dce5df;border-radius:.8rem;background:#fff}.print-report{max-width:68rem;margin:0 auto;padding:clamp(1.2rem,3vw,2.4rem);border:1px solid #d8e2db;border-radius:.8rem;background:#fff;color:#1d2921}.report-header{padding-bottom:1.25rem;display:flex;align-items:center;gap:1.25rem;border-bottom:3px solid #245c3b}.report-header img{width:9rem;max-height:5rem;object-fit:contain}.report-header p,.report-header h1{margin:.2rem 0}.report-header p{color:#516158;font-size:.75rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.report-header h1{font-size:clamp(1.45rem,3vw,2.1rem)}.report-header span{color:#5e6c63;font-size:.85rem}.report-section{padding:1.4rem 0;border-bottom:1px solid #dce4df;break-inside:avoid;page-break-inside:avoid}.report-section h2{margin:0 0 1rem;font-size:1.08rem;text-transform:uppercase;letter-spacing:.04em}.report-section h3{margin:1rem 0 .55rem;font-size:.9rem}.report-grid{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.report-grid div{padding:.8rem;border:1px solid #e0e7e2;border-radius:.5rem;background:#f8faf8}.report-grid dt{color:#657269;font-size:.72rem}.report-grid dd{margin:.28rem 0 0;font-weight:800;overflow-wrap:anywhere}.report-grid.metrics dd{color:#215638;font-size:1.05rem}.report-list{margin:.5rem 0 0;padding-left:1.25rem}.report-list li{margin:.45rem 0;padding-left:.2rem}.report-list li strong,.report-list li span{display:block}.report-list li span{color:#647168;font-size:.78rem}.report-empty,.report-note{margin:.5rem 0;color:#69756d}.report-note{padding:.7rem;border-left:3px solid #8ba594;background:#f5f8f6;font-size:.78rem}.report-observations{margin:0;display:grid;gap:.7rem}.report-observations div{padding:.8rem;border-left:3px solid #9bb2a1;background:#f7f9f7}.report-observations dt{font-weight:850}.report-observations dd{margin:.35rem 0 0}.pre-wrap{white-space:pre-wrap}.report-footer{padding-top:1.4rem;color:#68766d;text-align:center;font-size:.74rem}@media(max-width:820px){.report-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.report-controls button{width:100%}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.report-controls,.report-grid{grid-template-columns:1fr}.report-header{align-items:flex-start;flex-direction:column}.report-header img{width:7.5rem}}@page{size:A4 portrait;margin:14mm}@media print{.print-report .resource-table{display:table;width:100%}.print-report .resource-table thead{display:table-header-group}.print-report .resource-table tbody{display:table-row-group}.print-report .resource-table tr{display:table-row;padding:0;border:0}.print-report .resource-table th,.print-report .resource-table td{display:table-cell;width:auto;padding:2.5mm;font-size:8pt}.print-report .resource-table td:before{display:none}}@media print{html,body,#root{margin:0!important;padding:0!important;background:#fff!important}.app-sidebar,.app-header,.sidebar-overlay,.no-print{display:none!important}.app-shell{min-height:0;display:block;background:#fff}.app-content{padding:0}.reports-page{display:block}.print-report{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;color:#000}.report-header{border-color:#000}.report-header img{filter:grayscale(100%)}.report-section{break-inside:avoid;page-break-inside:avoid;border-color:#777}.report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-grid div,.report-note,.report-observations div{background:#fff!important;border-color:#888}.report-grid.metrics dd,.report-footer{color:#000}}.user-form small{display:block;margin-top:.35rem;color:#68766d;font-size:.74rem}.checkbox-field{display:flex;align-items:center;gap:.55rem;color:#4f5f55;font-size:.8rem}.checkbox-field input{width:1rem;height:1rem}.checkbox-field:focus-within{outline:3px solid #8bc69a;outline-offset:3px}.print-report{box-shadow:0 18px 55px #1b362417}.report-header{padding:0 0 1.5rem;justify-content:space-between}.report-header img{width:11rem;max-height:6.2rem}.report-heading-copy{text-align:right}.report-heading-copy h1{font-weight:900;letter-spacing:-.025em}.report-heading-copy span{display:block;margin-top:.55rem}.report-section{clear:both;overflow:visible}.report-section h2{clear:both;padding-left:.65rem;border-left:4px solid #2f6f47;font-size:1rem;break-after:avoid-page;page-break-after:avoid}.report-section h3{break-after:avoid-page;page-break-after:avoid}.report-identification{break-inside:avoid!important;page-break-inside:avoid!important;overflow:hidden}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;align-items:stretch}.report-grid>div{min-width:0;contain:layout}.report-grid dt,.report-grid dd{display:block;max-width:100%}.report-grid dt:before,.report-grid dt:after,.report-grid dd:before,.report-grid dd:after{content:none!important}.report-grid.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.report-grid.metrics div{padding:1rem}.report-grid.metrics dd{font-size:1.35rem}.report-callout{padding:1rem;display:flex;flex-direction:column;gap:.25rem;border:1px solid #dce5df;border-radius:.55rem;background:#f7faf8}.report-callout span{color:#657269}.compact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem 1rem}.report-health-group{margin-top:.8rem;padding:.9rem;border:1px solid #dce5df;border-radius:.6rem;break-inside:avoid;page-break-inside:avoid}.report-health-group.active{border-left:4px solid #be8a22;background:#fffdf7}.report-health-group.treatments{border-left:4px solid #39749b;background:#f8fbfd}.report-health-group h3{margin:0 0 .25rem}.report-group-description{margin:0 0 .7rem;color:#647168;font-size:.78rem}.health-report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;list-style:none;padding:0}.health-report-list li{padding:.8rem;border:1px solid #e0e7e2;border-radius:.5rem;background:#fff}.report-plan{margin:.5rem 0 0;padding:0;list-style:none;counter-reset:plan}.report-plan li{counter-increment:plan;padding:.7rem 0 .7rem 3rem;position:relative;border-bottom:1px solid #e7ece9}.report-plan li:before{content:counter(plan,decimal-leading-zero);position:absolute;left:0;top:.6rem;color:#2f6f47;font-weight:900;font-size:1.05rem}.report-plan strong,.report-plan span{display:block}.report-plan span{margin-top:.15rem;color:#647168;font-size:.78rem}.report-responsibility{margin-top:.4rem;padding:1.4rem;border:1px solid #ccd9d0;border-radius:.65rem;background:#f7faf8;break-inside:avoid!important;page-break-inside:avoid!important}.report-responsibility h2{margin-top:0}.report-responsibility.report-section{border-bottom:0}.report-footer{border-top:1px solid #dce4df}@media(max-width:820px){.identity-grid,.report-grid.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.health-report-list{grid-template-columns:1fr}.report-heading-copy{text-align:left}}@media(max-width:560px){.identity-grid,.report-grid.metrics,.compact-list{grid-template-columns:1fr}.report-header{align-items:flex-start}.report-responsibility{padding:1rem}}@media print{.print-report{font-size:9.5pt}.report-header{padding-bottom:10mm}.report-header img{width:38mm;max-height:24mm;filter:grayscale(100%)}.report-heading-copy{text-align:right}.report-heading-copy h1{font-size:17pt}.report-section{padding:5mm 0;break-inside:auto;page-break-inside:auto}.report-identification{break-inside:avoid!important;page-break-inside:avoid!important}.report-section h2,.report-section h3,.report-grid div,.report-list li,.report-plan li,.report-observations div,.report-callout,.report-health-group,.report-responsibility{break-inside:avoid;page-break-inside:avoid}.report-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:3mm}.report-grid.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.report-grid div{padding:3mm}.report-grid.metrics dd{font-size:12pt}.health-report-list{grid-template-columns:repeat(2,minmax(0,1fr))}.report-health-group{background:#fff!important}.report-responsibility{padding:4mm}.report-footer{padding-top:5mm}}.report-section-opening{break-inside:avoid;page-break-inside:avoid}.report-page-start{break-before:page;page-break-before:always}.fatal-error{min-height:100vh;padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f3f6f4}.fatal-error h1{margin:.5rem 0;font-size:clamp(1.6rem,4vw,2.4rem)}.fatal-error>p:not(.page-kicker){max-width:38rem;color:#657269}.fatal-error-actions{margin-top:1rem;display:flex;justify-content:center;gap:.7rem}.fatal-error-actions .secondary-action{display:inline-flex;align-items:center}@media(max-width:480px){.fatal-error-actions{width:100%;flex-direction:column}.fatal-error-actions>*{justify-content:center;width:100%}}
