/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"Inter", "Farm Latin", "Farm Arabic", ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-dari:"Vazirmatn", "Farm Arabic", "Farm Latin", ui-sans-serif, system-ui, sans-serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{font-family:var(--font-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:lang(fa),:lang(ps){font-family:var(--font-dari)}body{min-width:320px;margin:0}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.block{display:block}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.resize{resize:both}.rounded{border-radius:.25rem}.invert{--tw-invert:invert(100%);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.farm-print{display:none}@page{size:A4 portrait;margin:12mm}@media print{body:has(.farm-print)>:not(.farm-print){display:none!important}html,body{background:#fff!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}.farm-print{color:#152b23;width:auto;font-size:10pt;line-height:1.35;display:block}.farm-print .sheet-head{border-bottom:1pt solid #064e3b;justify-content:space-between;align-items:center;padding-bottom:2mm;display:flex}.farm-print h1{margin:3mm 0 1mm;font-size:14pt}.farm-print p{overflow-wrap:anywhere;margin:2mm 0}.farm-print .brand-title{color:#064e3b;font-size:15pt}.farm-print .brand-badge{color:#064e3b;background:#fff;border:0}.farm-print table{border-collapse:collapse;width:100%;margin:3mm 0}.farm-print thead{display:table-header-group}.farm-print tfoot{display:table-row-group}.farm-print tr{break-inside:avoid}.farm-print td,.farm-print th{text-align:start;border-bottom:.5pt solid #bdcbc5;min-width:0;padding:1mm 2mm;font-size:9pt}.farm-print tfoot th,.farm-print tfoot td{font-weight:700}}:root{--ink:#162b24;--muted:#75847d;--line:#e4ebe6;--pale:#edf5ef;--paper:#fff;--page:#f4f7f4;--green:#064e3b;--green-2:#0c7251;--amber:#d97706;--red:#b44232}*{box-sizing:border-box}body{background:var(--page);color:var(--ink);font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.48}button{color:inherit;background:0 0;border:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #d9a748}input:focus,textarea:focus,select:focus{outline:0}input,textarea,select{color:var(--ink)}input::placeholder,textarea::placeholder{color:#95a198}h1,h2,h3,p{margin:0}h1{letter-spacing:-.6px;font-size:24px;font-weight:750;line-height:1.4}h2{font-size:19px;font-weight:700;line-height:1.45}h3{font-size:15px;font-weight:650}small{font-size:11px;font-weight:400}a{color:var(--green-2)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{inset-inline-start:16px;z-index:1000;background:#fff;border-radius:8px;padding:12px;position:fixed;top:-80px}.skip-link:focus{top:10px}.topbar{background:var(--green);color:#fff;padding:18px 24px;padding-top:max(18px,env(safe-area-inset-top));box-shadow:0 1px 1px #003f2f12}.topbar-inner{justify-content:space-between;align-items:center;gap:16px;max-width:1040px;margin:0 auto;display:flex}.brand{flex-shrink:0;align-items:center;gap:12px;display:flex}.brand-icon{color:#d6e9bd;background:#ffffff09;border:1px solid #ffffff2b;border-radius:14px;place-items:center;width:47px;height:47px;display:grid}.brand-lockup{vertical-align:middle;flex-direction:column;align-items:flex-start;display:inline-flex}.brand-title{letter-spacing:-.65px;font-size:21px;font-weight:730;line-height:1.3;display:block}.brand-badge{letter-spacing:1.7px;color:#d8eddf;background:#ffffff13;border:1px solid #ffffff21;border-radius:4px;margin-top:5px;padding:2px 7px;font-size:9px;font-weight:650;line-height:1.4;display:table}.topbar-actions{align-items:center;gap:19px;display:flex}.language-switch{direction:ltr;background:#003e2e26;border:1px solid #ffffff28;border-radius:9px;align-items:center;padding:3px;display:flex}.language-switch button{color:#cee0d8;border-radius:6px;min-width:40px;min-height:34px;padding:5px 9px;font-size:12px}.language-switch button.active{color:#064e3b;background:#fff;font-weight:700;box-shadow:0 1px 3px #001f1919}.profile-button{color:#e9f3ed;border:1px solid #ffffff28;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.app-main{width:min(1040px,100% - 48px);margin:30px auto 0;padding-bottom:112px}.builder-controls{justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px;display:flex}.species-pills{background:#e8eee8;border:1px solid #e0e9e1;border-radius:12px;gap:5px;padding:5px;display:flex}.species-pills button{color:#738079;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:107px;min-height:39px;padding:9px 15px;font-size:13px;font-weight:600;display:flex}.species-pills button.active{background:var(--green);color:#fff;box-shadow:0 2px 3px #034e3b18}.builder-tool-buttons{gap:9px;display:flex}.outline-button,.secondary-button,.primary-button,.danger-button{border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:43px;padding:10px 16px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}.outline-button,.secondary-button{color:#41574b;background:#fff;border:1px solid #dbe5dd}.outline-button:hover,.secondary-button:hover{background:#f1f7f2;border-color:#bdcfc2}.primary-button{background:var(--green);color:#fff;border:1px solid var(--green);box-shadow:0 2px 3px #00472c0d}.primary-button:hover:not(:disabled){background:#086049}.danger-button{color:#fff;background:#a8362a}.full-width{width:100%}.text-button{color:var(--green-2);align-items:center;gap:6px;min-height:35px;font-size:12px;font-weight:600;display:inline-flex}.text-button:hover{text-underline-offset:4px;text-decoration:underline}.icon-button{color:#6b8074;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.icon-button:hover{background:#edf3ee}.danger-quiet{color:#9a6b64}.danger-quiet:hover{color:#aa392a;background:#fbf1ef}.stepper{align-items:center;gap:0;max-width:660px;margin:0 auto 25px;padding-inline:5px;display:flex}.step-unit{flex:1;align-items:center;min-width:0;display:flex}.step-unit:last-child{flex:none}.step-unit button{color:#8c9990;white-space:nowrap;align-items:center;gap:8px;min-height:40px;font-size:12px;display:flex}.step-circle{background:#fff;border:1px solid #d3dfd5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:600;display:flex}.step-unit.active button{color:var(--green);font-weight:700}.step-unit.active .step-circle{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 0 0 4px #064e3b09}.step-unit.complete button{color:var(--green-2)}.step-unit.complete .step-circle{background:#e3efe5;border-color:#c6dacc}.step-line{background:#d9e4db;flex:1;min-width:15px;height:1px;margin:0 15px}.step-unit.complete .step-line{background:#b7d2c0}.builder-card,.page-card{background:var(--paper);border:1px solid #dfe8e1;border-radius:16px;overflow:hidden;box-shadow:0 2px 5px #14312203}.page-card{padding:26px}.ingredient-tabs{border-bottom:1px solid var(--line);gap:32px;padding:0 27px;display:flex}.ingredient-tabs button{color:#87958b;justify-content:center;align-items:center;gap:8px;min-height:62px;font-size:13px;font-weight:600;display:flex;position:relative}.ingredient-tabs button.active{color:var(--green)}.ingredient-tabs button.active:after{content:"";bottom:-1px;background:var(--green);border-radius:3px 3px 0 0;height:3px;position:absolute;inset-inline:0}.ingredient-tabs b{color:#5b7867;background:#edf4ee;border-radius:5px;padding:0 6px;font-size:10px;line-height:18px}.ingredient-panel{padding:25px 27px 8px}.search-box{color:#819185;background:#f8faf8;border:1px solid #dfe7e0;border-radius:11px;align-items:center;gap:12px;min-height:48px;padding:0 14px;transition:border-color .15s;display:flex}.search-box:focus-within{border-color:#77a08a;box-shadow:0 0 0 3px #064e3b08}.search-box input{background:0 0;border:0;width:100%;min-width:0;padding:12px 0;font-size:13px}.search-box>button{color:#789181;min-width:30px;min-height:35px;font-size:22px}.filter-row{scrollbar-width:none;gap:7px;padding:15px 0 10px;display:flex;overflow-x:auto}.filter-row::-webkit-scrollbar{display:none}.filter-pill{color:#819186;background:#fff;border:1px solid #e3eae4;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:5px 12px;font-size:11px;font-weight:550;display:flex}.filter-pill.active{color:var(--green);background:#edf6ef;border-color:#cfe1d3}.list-meta{color:#8a998e;justify-content:space-between;align-items:center;padding:13px 0 8px;font-size:11px;display:flex}.quality-badge{color:#6f846e;background:#f6f9f2;border:1px solid #e1e9dd;border-radius:6px;align-items:center;gap:4px;max-width:108px;padding:3px 7px;font-size:10px;font-weight:550;display:inline-flex}.quality-dot{background:#8f9f59;border-radius:50%;flex-shrink:0;width:5px;height:5px}.quality-badge select{min-width:0;max-width:90px;color:inherit;cursor:pointer;background:0 0;border:0;min-height:23px;padding:3px 0;font-size:10px}.quality-excellent{color:#54815c;background:#f0f7eb;border-color:#dbe9d1}.quality-excellent .quality-dot{background:#608f41}.quality-normal{color:#9b8d60;background:#faf7ee;border-color:#eee5cf}.quality-normal .quality-dot{background:#bba160}.feed-row{border-bottom:1px solid #edf1ed;align-items:center;gap:13px;min-height:91px;padding:14px 0;display:flex}.feed-row:last-child{border-bottom:0}.feed-icon{color:#7b965b;background:#f1f6eb;border:1px solid #e5eedb;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.feed-icon.category-concentrate{color:#b09453;background:#fbf5e8;border-color:#f0e8d1}.feed-icon.category-mineral{color:#7b97a3;background:#f0f4f6;border-color:#e0e8ed}.feed-icon.category-byproduct{color:#b18c65;background:#f7f0e8;border-color:#eee2d3}.feed-icon.small{border-radius:8px;width:32px;height:32px}.feed-info{flex:1;min-width:0}.feed-name{text-align:start;padding:2px 0;font-size:13px;font-weight:650;line-height:1.55;display:inline-block}.feed-name:hover{color:var(--green-2);text-underline-offset:3px;text-decoration:underline}.feed-info p{color:#93a094;flex-wrap:wrap;align-items:center;gap:7px;margin-top:5px;font-size:10px;line-height:1.6;display:flex}.feed-info p i{background:#bbc8bd;border-radius:50%;width:2px;height:2px}.feed-info p bdi{white-space:nowrap}.per-unit{color:#a5afa6;font-size:9px}.feed-actions{flex-shrink:0;align-items:center;gap:15px;display:flex}.add-button{color:#176648;background:#eff7f0;border:1px solid #d4e6d9;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.add-button:hover{background:#dfeee2}.add-button.is-added{opacity:1;color:#779584;background:#f2f6f1;border-color:#e0e8e0}.needs-label{color:#b3966b;margin-top:3px;font-size:9px;display:block}.estimated-tag{color:#ac894a;background:#fbf4e6;border-radius:4px;padding:1px 5px;font-size:9px}.no-search-results{text-align:center;color:#8b9c8f;padding:45px 10px}.no-search-results svg{margin:0 auto 12px}.builder-footer{padding:22px 0 0}.diet-summary{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.diet-summary>div{flex-direction:column;gap:2px;display:flex}.diet-summary>div:last-child{text-align:end}.diet-summary span{color:#8c9b90;font-size:11px}.diet-summary strong{font-size:15px;font-weight:650}.diet-summary strong small{color:#7b8c7f;font-size:10px}.step-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.step-actions .primary-button{min-width:175px}:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .forward{transform:rotate(180deg)}.diet-meta{color:#8a998e;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.diet-row{background:#fff;border:1px solid #e1e9e2;border-radius:12px;margin-bottom:12px;padding:13px 15px}.diet-row-top{align-items:center;gap:9px;display:flex}.diet-row-top h3{flex:1;font-size:12px}.diet-row-values{grid-template-columns:1.3fr 1fr 1fr;align-items:end;gap:20px;padding-top:12px;display:grid}.dm-readout,.row-cost{flex-direction:column;gap:5px;padding-bottom:7px;display:flex}.dm-readout span,.row-cost span{color:#96a297;font-size:10px}.dm-readout strong{font-size:18px;font-weight:600}.row-cost strong{color:#738a79;font-size:12px;font-weight:550}.smart-button{text-align:start;color:#fff;background:linear-gradient(110deg,#07543e,#0c7051);border-radius:12px;align-items:center;gap:14px;width:100%;margin:22px 0 12px;padding:15px 19px;display:flex;box-shadow:0 5px 14px #08543b12}.smart-button>span:nth-child(2){flex:1}.smart-button strong{font-size:13px;font-weight:650;display:block}.smart-button small{color:#c1dacb;margin-top:3px;font-size:10px;line-height:1.7;display:block}.smart-icon{color:#ecdeb3;background:#ffffff14;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.feed-limits{border-top:1px dashed #e3ebe4;grid-template-columns:1fr 1fr;gap:15px;margin-top:12px;padding-top:12px;display:grid}.animal-screen{padding:26px}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px;display:flex}.section-heading>small{color:#92a093;font-size:10px}.section-glyph{color:#648671;background:#eff6ef;border:1px solid #e2ece2;border-radius:13px;flex-shrink:0;place-items:center;width:49px;height:49px;display:grid}.eyebrow{color:#849a8b;margin-bottom:5px;font-size:10px}.form-grid{grid-template-columns:1fr 1fr;gap:18px 20px;display:grid}.number-field,.text-field,.select-field{flex-direction:column;gap:7px;min-width:0;display:flex}.number-field>span,.text-field>span,.select-field>span{color:#74867a;font-size:11px;font-weight:550}.number-field>span b{color:#aebcaf;font-weight:400}.number-input{background:#fbfcfb;border:1px solid #dfe7e0;border-radius:8px;align-items:center;min-height:45px;display:flex;overflow:hidden}.number-input:focus-within,.text-field input:focus,.select-field select:focus{border-color:#7aa78b;box-shadow:0 0 0 3px #064e3b07}.number-input input{text-align:start;background:0 0;border:0;width:100%;min-width:0;min-height:43px;padding:10px 13px;font-size:14px;font-weight:500}.number-input small{white-space:nowrap;color:#8fa195;direction:ltr;padding-inline-end:11px;font-size:10px}.number-input.invalid{background:#fff8f6;border-color:#c87665}.number-field.compact>span{font-size:10px}.number-field.compact .number-input{min-height:37px}.number-field.compact input{min-height:35px;padding:6px 11px;font-size:14px}.text-field input,.select-field select{background:#fbfcfb;border:1px solid #dfe7e0;border-radius:8px;width:100%;max-width:100%;min-height:45px;padding:10px 12px;font-size:13px}.animal-screen>.select-field{margin-bottom:21px}.details-panel{background:#fbfcfa;border:1px solid #e1e9e2;border-radius:10px;margin:22px 0 15px}.details-panel>summary{cursor:pointer;color:#6b8473;justify-content:space-between;align-items:center;padding:14px 15px;font-size:12px;font-weight:600;list-style:none;display:flex}.details-panel>summary:after{content:"+";font-size:18px;font-weight:400}.details-panel[open]>summary:after{content:"−"}.details-panel>summary::-webkit-details-marker{display:none}.details-panel>div,.details-panel>p,.details-panel>ul{margin-inline:15px;margin-bottom:15px}.quiet-note{color:#94a193;margin:9px 0 15px;font-size:10px;line-height:1.9}.muted{color:#8b9a8f}.small-text{font-size:11px}.centered{text-align:center}.empty-state{text-align:center;padding:51px 20px 49px}.empty-icon{color:#8ca183;background:#f0f5ed;border:1px solid #e3eddf;border-radius:21px;place-items:center;width:72px;height:72px;margin:0 auto 17px;display:grid}.empty-state h3{font-size:16px}.empty-state p{color:#97a295;max-width:340px;margin:10px auto 20px;font-size:12px;line-height:1.9}.app-status{color:#a1afa3;justify-content:center;align-items:center;gap:6px;margin-top:25px;font-size:10px;display:flex}.app-status>span:last-child{color:#b4bfb5;margin-inline-start:10px;font-size:9px}.status-dot{background:#90af95;border-radius:50%;width:5px;height:5px}.status-dot.offline{background:#c8a257}.bottom-nav{inset-inline:0;z-index:30;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dfe8e0;position:fixed;bottom:0;box-shadow:0 -4px 18px #17362203}.bottom-nav>div{max-width:1040px;margin:0 auto;display:flex}.bottom-nav button{color:#a0ada2;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;min-height:73px;font-size:10px;display:flex;position:relative}.bottom-nav button.active{color:var(--green)}.bottom-nav button.active:before{content:"";background:var(--green);border-radius:0 0 4px 4px;width:34px;height:3px;position:absolute;top:0;left:calc(50% - 17px)}.nav-icon{border-radius:8px;place-items:center;width:43px;height:30px;display:grid;position:relative}.bottom-nav button.active .nav-icon{background:#eff6ee}.nav-icon>b{top:-1px;color:#3f7450;background:#c9ddc9;border:2px solid #fff;border-radius:7px;min-width:16px;padding:0 2px;font-size:8px;line-height:13px;position:absolute;inset-inline-end:-3px}.results-report{padding:26px}.page-card>.results-report{padding:0}.report-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.citation-pill{color:#7d9770;direction:ltr;background:#f0f6ed;border:1px solid #dde9d7;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:9px;font-weight:550;text-decoration:none;display:inline-flex}.verdict-banner{color:#997030;background:#fcf8ec;border:1px solid #ecdec0;border-radius:11px;gap:13px;padding:16px 18px;display:flex}.verdict-banner.balanced{color:#427b51;background:#eff7ef;border-color:#d4e6d5}.verdict-icon{border:1px solid #d8b97c45;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.verdict-banner strong{letter-spacing:.25px;font-size:13px;font-weight:750}.verdict-banner p{opacity:.8;max-width:700px;margin-top:4px;font-size:10px;line-height:1.9}.verdict-chips{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.warning-chip{color:#b49254;background:#fcf4e5;border:1px solid #f0e2c7;border-radius:5px;padding:3px 7px;font-size:9px}.kpi-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0 15px;display:grid}.kpi-card{background:#fafcf9;border:1px solid #e1e9df;border-radius:11px;min-width:0;padding:16px 14px}.kpi-label{color:#8b9b8c;align-items:center;gap:4px;min-height:31px;font-size:10px;line-height:1.6;display:flex}.kpi-card>strong{letter-spacing:-.7px;white-space:normal;overflow-wrap:anywhere;font-size:24px;font-weight:650;line-height:1.6;display:block}.kpi-card .kpi-unit{color:#98a79a;text-align:start;direction:ltr;font-size:9px;display:block}.kpi-card>p{color:#a3aea0;min-height:14px;margin-top:6px;font-size:9px;line-height:1.6}.kpi-card.positive{background:#f2f8f0;border-color:#d7e5d0}.kpi-card.positive>strong{color:#40754a}.kpi-card.negative{background:#fdf5ee;border-color:#efdfd1}.kpi-card.negative>strong{color:#ac6543}.secondary-kpis{background:#fafcf8;border:1px solid #e6ece2;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:10px;padding:15px;display:grid}.secondary-kpis>div{border-inline-end:1px solid #e5ece0;flex-direction:column;gap:4px;padding-inline:13px;display:flex}.secondary-kpis>div:last-child{border:0}.secondary-kpis span{color:#93a18e;font-size:10px}.secondary-kpis strong{font-size:18px;font-weight:600}.secondary-kpis small{color:#9ba692;font-size:9px}.balance-section,.tmr-section{margin-top:28px}.balance-section .section-heading,.tmr-section .section-heading{margin-bottom:12px}.balance-section h2,.tmr-section h2{font-size:15px}.table-scroll{border:1px solid #e5ebe2;border-radius:10px;overflow-x:auto}table{border-collapse:collapse;text-align:start;width:100%;font-size:12px}th,td{text-align:start;border-bottom:1px solid #edf1e9;padding:12px 15px}thead{color:#99a38e;background:#f6f9f3}thead th{white-space:nowrap;font-size:10px;font-weight:550}tbody th{color:#62735d;min-width:120px;font-size:11px;font-weight:500}tbody td{color:#677964;font-variant-numeric:tabular-nums;font-size:12px}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}th>small{color:#a2ac9b;margin-top:2px;font-size:8px;display:block}.total-row{background:#f8fbf4}.total-row th,.total-row td{font-weight:700}.text-negative{color:#b56a49!important}.text-positive{color:#4d8655!important}.count-tag{color:#7d9675;white-space:nowrap;background:#f0f6ea;border:1px solid #e0ead7;border-radius:6px;padding:3px 7px;font-size:9px;font-weight:500;display:inline-block}.diagnostics ul{padding:0;list-style:none}.diagnostics li{color:#88927e;text-align:start;direction:ltr;align-items:baseline;gap:9px;margin-top:8px;font-size:10px;line-height:1.9;display:flex}.diagnostic-dot{background:#bcb376;border-radius:50%;flex-shrink:0;width:5px;height:5px}.diagnostic-dot.error{background:#bc7056}.diagnostic-dot.missing{background:#d2a35d}.report-actions{flex-wrap:wrap;gap:9px;margin-top:24px;display:flex}.backup-actions{border-top:1px solid #eaf0e3;flex-wrap:wrap;gap:15px;margin-top:19px;padding-top:15px;display:flex}.backup-actions .text-button{color:#91a084;font-size:10px;font-weight:500}.report-footnote{color:#aab39e;margin-top:18px;font-size:9px;line-height:1.9}.inline-notice{color:#a08d61;background:#fcf9ef;border:1px solid #eee2c8;border-radius:9px;margin:15px 0;padding:12px 14px;font-size:11px;line-height:1.9}.inline-notice.success{color:#6b8b59;background:#f2f8ee;border-color:#dce8d3}.inline-notice>p{margin-top:6px}.dialog-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#0d2d2290;justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.dialog{overscroll-behavior:contain;background:#fff;border-radius:18px;width:min(570px,100%);max-height:88dvh;overflow:auto;box-shadow:0 25px 100px #071c2140}.dialog.wide{width:min(780px,100%)}.dialog:focus{outline:none}.dialog-header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2;background:#ffffffed;border-bottom:1px solid #e8eee2;justify-content:space-between;align-items:center;gap:15px;padding:15px 22px;display:flex;position:sticky;top:0}.dialog-header h2{font-size:17px}.dialog-body{padding:23px}.tool-setting{margin-bottom:24px}.tool-setting h3{margin-bottom:10px;font-size:12px}.equation-switch{direction:ltr;background:#f5f8f1;border:1px solid #dfe8d9;border-radius:9px;gap:5px;padding:4px;display:flex}.equation-switch button{color:#9ba58e;border-radius:6px;flex:1;min-height:38px;font-size:12px}.equation-switch button.active{color:var(--green);background:#fff;border:1px solid #dde6d7;font-weight:700;box-shadow:0 1px 3px #12332105}.quality-options{gap:8px;display:flex}.quality-options button{color:#a2a78e;border:1px solid #e3e9da;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:5px;min-height:41px;font-size:12px;display:flex}.quality-options button.active{color:#6c8c53;background:#f1f7ea;border-color:#cddabf}.tool-menu{border:1px solid #e2e9da;border-radius:10px;overflow:hidden}.tool-menu>button{text-align:start;border-bottom:1px solid #e6eddc;align-items:center;gap:12px;width:100%;min-height:65px;padding:14px;display:flex}.tool-menu>button:last-child{border-bottom:0}.tool-menu strong{color:#657b59;flex:1;font-size:12px;font-weight:600}.tool-menu>button>svg{color:#a4b294}.tool-menu-icon{color:#8ca075;background:#f0f5e8;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.optimizer-controls{margin-top:23px}.optimizer-controls h3{font-size:15px}.constraint-grid{margin-top:15px}.constraint-row{border-bottom:1px solid #edf1e6;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;display:flex}.constraint-row>.number-field{flex-shrink:0;width:90px}.constraint-row>.number-field>span{display:none}.toggle-field,.check-field{color:#7c8b70;align-items:center;gap:9px;font-size:11px;display:flex}.toggle-field input,.check-field input{accent-color:var(--green);flex-shrink:0;width:17px;height:17px}.simple-checks{flex-wrap:wrap;gap:15px;margin:18px 0 20px;display:flex}.demo-list{gap:11px;margin-top:17px;display:grid}.demo-list>button{text-align:start;border:1px solid #dfe8d7;border-radius:11px;align-items:center;gap:13px;padding:17px 14px;display:flex}.demo-list>button:hover{background:#f7fbf2}.demo-list>button>span:nth-child(2){flex:1}.demo-list strong{font-size:13px;font-weight:650;display:block}.demo-list small{color:#99a589;margin-top:4px;font-size:10px;display:block}.demo-icon{color:#95ac78;background:#f0f6e8;border-radius:12px;place-items:center;width:41px;height:41px;display:grid}.demo-list>button>svg{color:#9eb28b}.profile-avatar{color:#72985a;background:#edf5e5;border:1px solid #dce9d1;border-radius:50%;place-items:center;width:70px;height:70px;margin:0 auto 14px;font-size:27px;font-weight:600;display:grid}.profile-form{gap:14px;margin:20px 0;display:grid}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.feed-dialog-controls{align-items:flex-end;gap:14px;margin:18px 0;display:flex}.feed-dialog-controls .number-field{flex:1}.feed-dialog-controls .quality-badge{margin-bottom:10px}.feed-profile-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;display:grid}.feed-profile-grid>div{background:#fafcf6;border:1px solid #e6ebde;border-radius:8px;padding:11px 12px}.feed-profile-grid dt{color:#8b9b7e;font-size:9px;line-height:1.7}.feed-profile-grid dd{margin:6px 0 0;font-size:16px;font-weight:600}.feed-profile-grid dd small{color:#9ba88f;font-size:8px}.history-list{gap:12px;display:grid}.history-card{border:1px solid #e2e9d9;border-radius:11px;justify-content:space-between;align-items:center;gap:18px;padding:18px;display:flex}.history-main{align-items:center;gap:13px;min-width:0;display:flex}.history-main h3{overflow-wrap:anywhere;font-size:13px}.history-main p{color:#9aa78b;margin-top:4px;font-size:10px}.history-icon{color:#90a77b;background:#f2f7eb;border:1px solid #e2ead7;border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.history-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.history-tags{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.history-tags>span{color:#92a180;background:#fbfdf7;border:1px solid #e4ebdb;border-radius:5px;padding:1px 6px;font-size:9px}.comparison-table{margin-top:19px}.comparison-table th{min-width:100px}.backup-preview{text-align:center;padding:15px}.backup-preview>svg{color:#8aa772;margin:0 auto 12px}.backup-preview p{color:#98a685;margin-top:9px;font-size:12px}.lab-text{resize:vertical;background:#fafcf7;border:1px solid #dfe7d7;border-radius:11px;width:100%;min-height:210px;padding:16px;font-size:13px;line-height:1.9;display:block}.lab-text:focus{border-color:#8aa97a;box-shadow:0 0 0 3px #cdddbf40}.lab-extract-controls{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:17px;display:flex}.lab-extract-controls .select-field{flex:1;min-width:170px}.lab-editor{border-top:1px solid #e3ebd9;margin-top:30px;padding-top:25px}.lab-editor .check-field{margin:20px 0}.toast{bottom:calc(91px + env(safe-area-inset-bottom));color:#63894a;z-index:150;background:#f9fcf6;border:1px solid #ccddbd;border-radius:12px;align-items:center;gap:12px;width:max-content;max-width:min(650px,100% - 40px);margin:0 auto;padding:14px 16px;display:flex;position:fixed;inset-inline:20px;box-shadow:0 7px 25px #293d2015}.toast>span{align-items:center;display:flex}.toast p{font-size:12px;line-height:1.8}.toast button{min-width:26px;min-height:30px;color:inherit;place-items:center;margin-inline-start:6px;display:grid}.toast.warning{color:#a68b4e;background:#fffaf0;border-color:#e6d5aa}.toast.error{color:#b07458;background:#fff6f1;border-color:#e5c7b8}.storage-warning{color:#9e8044;background:#fff5df;align-items:center;gap:9px;padding:10px 20px;font-size:11px;display:flex}.storage-warning button{flex-shrink:0;font-weight:650;text-decoration:underline}.storage-warning svg{flex-shrink:0}.hidden-file-input,.print-only{display:none}@media (width>=1200px){.app-main{width:940px}.topbar-inner,.bottom-nav>div{max-width:1040px}.ingredient-panel,.ingredient-tabs{padding-inline:33px}}@media (width<=760px){.app-main{width:calc(100% - 30px);margin-top:20px}.topbar{padding:17px 16px;padding-top:max(17px,env(safe-area-inset-top))}.topbar-actions{gap:10px}.brand-title{font-size:19px}.brand-icon{width:41px;height:41px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.feed-actions{gap:10px}.feed-profile-grid{grid-template-columns:repeat(2,1fr)}.secondary-kpis{gap:5px}.secondary-kpis>div{padding-inline:7px}.history-card{align-items:flex-start;padding:14px}.history-actions .secondary-button{padding-inline:9px;font-size:10px}.number-input input,.text-field input,.select-field select,.search-box input{font-size:16px}.search-box input{font-size:13px}.lab-text{font-size:16px}.quality-badge select{font-size:11px}.dialog-body{padding:21px}.section-heading>h1{font-size:21px}.table-scroll th,.table-scroll td{padding:11px 12px}}@media (width<=520px){body{font-size:13px}.topbar-inner,.brand{gap:8px}.brand-icon{display:none}.brand-title{letter-spacing:-.45px;font-size:17px}.brand-badge{margin-top:5px;padding:1px 6px;font-size:8px}.language-switch{padding:2px}.language-switch button{min-width:33px;min-height:33px;padding:4px 6px;font-size:11px}.profile-button{border-color:#fff2;width:34px;height:34px}.profile-button svg{width:24px;height:24px}.topbar-actions{gap:10px}.app-main{width:calc(100% - 24px);margin-top:17px;padding-bottom:110px}.builder-controls{gap:8px;margin-bottom:17px}.species-pills{border-radius:10px;gap:3px;padding:4px}.species-pills button{gap:5px;min-width:77px;min-height:34px;padding:7px 10px;font-size:11px}.builder-tool-buttons{gap:6px}.outline-button{border-radius:8px;gap:5px;min-height:39px;padding:8px 10px;font-size:11px}.builder-tool-buttons svg{width:16px}.stepper{margin-bottom:17px;padding:0 4px}.step-unit button{gap:6px;font-size:10px}.step-circle{width:24px;height:24px;font-size:10px}.step-line{min-width:9px;margin:0 9px}.builder-card{border-radius:13px}.ingredient-tabs{gap:29px;padding:0 18px}.ingredient-tabs button{gap:6px;min-height:55px;font-size:12px}.ingredient-panel{padding:18px 17px 6px}.search-box{gap:9px;min-height:44px;padding:0 12px}.filter-pill{min-height:30px;padding:4px 10px;font-size:10px}.filter-row{gap:5px;padding-top:12px}.list-meta{padding:11px 0 5px;font-size:10px}.feed-row{gap:10px;min-height:89px;padding:13px 0}.feed-icon{border-radius:9px;width:34px;height:37px}.feed-icon svg{width:18px}.feed-name{font-size:12px;line-height:1.6}.feed-info p{gap:5px;font-size:9px;line-height:1.75}.feed-info p bdi:last-of-type{font-size:9px}.per-unit{font-size:8px}.feed-actions{flex-direction:column;align-items:flex-end;gap:6px}.feed-actions .quality-badge{background:0 0;border:0;padding:0;font-size:9px}.feed-actions .quality-badge select{max-width:75px;min-height:20px;padding:0;font-size:9px}.feed-actions .quality-dot{width:4px;height:4px}.add-button{border-radius:8px;width:31px;height:31px}.feed-actions .quality-badge{order:2}.feed-actions .add-button{order:1}.builder-footer{padding-top:17px}.diet-summary strong{font-size:14px}.diet-summary span{font-size:10px}.step-actions{margin-top:16px}.step-actions .primary-button{min-width:155px;font-size:11px}.diet-row{margin-bottom:10px;padding:12px}.diet-row-top{gap:7px}.diet-row-top h3{font-size:11px}.diet-row-top>.quality-badge{display:none}.diet-row-values{grid-template-columns:1.1fr .75fr 1fr;gap:13px}.dm-readout span,.row-cost span{font-size:9px}.row-cost strong,.diet-meta{font-size:10px}.smart-button{gap:10px;padding:14px 12px}.smart-button strong{font-size:12px}.smart-icon{width:32px;height:32px}.smart-button small{font-size:9px}.animal-screen,.results-report{padding:20px 17px}.form-grid{gap:16px 14px}.section-heading{gap:11px;margin-bottom:18px}.section-heading h1{font-size:22px}.section-heading h2{font-size:18px}.number-field>span,.text-field>span,.select-field>span{font-size:10px}.number-input small{padding-inline-end:8px;font-size:9px}.number-input input,.text-field input,.select-field select{padding:9px 10px}.details-panel>summary{padding:12px;font-size:11px}.details-panel>.form-grid{margin-inline:12px}.page-card{border-radius:13px;padding:20px 17px}.section-heading>.secondary-button{gap:5px;padding-inline:10px;font-size:10px}.section-heading>.secondary-button svg{width:14px}.report-header{align-items:flex-start;gap:10px;margin-bottom:17px}.report-header h1{font-size:22px}.citation-pill{gap:3px;margin-top:4px;padding:5px 7px;font-size:8px}.citation-pill svg{width:11px}.verdict-banner{gap:10px;padding:13px 12px}.verdict-banner strong{font-size:11px}.verdict-banner p{font-size:9px}.verdict-icon{width:28px;height:28px}.verdict-icon svg{width:20px}.kpi-grid{gap:9px;margin-top:17px}.kpi-card{padding:13px 12px}.kpi-card>strong{font-size:23px}.kpi-label{min-height:27px;font-size:10px}.kpi-card>p{font-size:8px}.secondary-kpis{padding:12px 8px}.secondary-kpis strong{font-size:16px}.secondary-kpis span{font-size:9px;line-height:1.8}.secondary-kpis small{font-size:8px;display:block}.balance-section h2,.tmr-section h2{font-size:13px}.balance-section .section-heading{flex-direction:column;align-items:flex-start;gap:5px}.table-scroll{border-radius:8px}thead th{font-size:9px}tbody th{min-width:100px;font-size:10px}tbody td{font-size:11px}.table-scroll th,.table-scroll td{padding:10px}.report-actions{gap:7px}.report-actions button{gap:6px;padding:9px 10px;font-size:10px}.backup-actions{gap:10px}.backup-actions .text-button{font-size:9px}.report-footnote{font-size:8px}.dialog-backdrop{align-items:flex-end;padding:0}.dialog,.dialog.wide{width:100%;max-height:91dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0}.dialog-header{padding:13px 17px}.dialog-header h2{font-size:16px}.dialog-body{padding:20px 18px}.feed-dialog-controls{flex-wrap:wrap;gap:11px}.feed-dialog-controls>.number-field{flex-basis:60%}.feed-profile-grid{gap:8px}.feed-profile-grid>div{padding:10px}.feed-profile-grid dt{font-size:8px}.feed-profile-grid dd{font-size:14px}.history-card{padding:15px;display:block}.history-actions{justify-content:flex-end;margin-top:12px}.history-main h3{font-size:13px}.lab-extract-controls{gap:8px}.lab-extract-controls .select-field{flex:1;min-width:100%}.lab-extract-controls>button{flex:1;font-size:11px}.lab-editor .form-grid{gap:14px}.toast{max-width:calc(100% - 24px);inset-inline:12px;bottom:calc(85px + env(safe-area-inset-bottom));gap:9px;padding:12px}.toast p{font-size:11px}.bottom-nav button{min-height:68px;font-size:9px}.nav-icon svg{width:21px}.app-status{font-size:9px}.app-status>span:last-child{font-size:8px}.storage-warning{flex-wrap:wrap;font-size:10px}}@media (width<=350px){.brand-title{font-size:15px}.topbar-actions{gap:6px}.language-switch button{min-width:29px;padding:4px;font-size:10px}.profile-button{width:29px;height:29px}.species-pills button{min-width:64px;padding-inline:7px}.outline-button{padding-inline:8px}.ingredient-panel{padding-inline:13px}.step-unit button{gap:4px;font-size:9px}.step-line{margin:0 6px}.feed-info p{font-size:8px}.kpi-card>strong{font-size:20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@page{size:A4;margin:14mm}@media print{body{color:#13291c;font-size:11px;background:#fff!important}.no-print,.topbar,.bottom-nav,.toast,.dialog-backdrop,.skip-link,.hidden-file-input{display:none!important}.app-main{width:100%;max-width:none;margin:0;padding:0}.builder-card,.page-card{box-shadow:none;background:#fff;border:0;padding:0}.results-report{padding:0!important}.print-only{display:block}.print-heading{border-bottom:2px solid #064e3b;margin-bottom:18px;padding-bottom:12px}.print-heading h1{font-size:21px}.print-heading .brand-badge{color:#064e3b;background:#fff;border-color:#719889;font-size:10px}.print-heading p{color:#718168;margin-top:5px;font-size:9px}.report-header h1{font-size:17px}.kpi-grid{grid-template-columns:repeat(4,1fr);gap:9px}.kpi-card>strong{font-size:19px}.kpi-card,.verdict-banner,.secondary-kpis{-webkit-print-color-adjust:exact;print-color-adjust:exact;break-inside:avoid}.balance-section,.tmr-section{break-inside:avoid;margin-top:20px}.table-scroll{overflow:visible}.diagnostics{display:none}th,td{padding:8px 10px}.report-footnote{font-size:8px}.citation-pill{color:#55774a}}.calculation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 20px;margin:0;padding:0 16px 18px;display:grid}.calculation-grid dt{color:#6b8072;font-size:11px}.calculation-grid dd{margin:3px 0 0;font-size:15px;font-weight:600}.calculation-grid small{color:#809385;font-size:9px}@media (width<=520px){.number-input input,.text-field input,.select-field select,.search-box input,.lab-text{font-size:16px}.calculation-grid{gap:12px}.calculation-grid dd{font-size:14px}}@media (width<=350px){.builder-controls{flex-wrap:wrap}.builder-tool-buttons{margin-inline-start:auto}}@media screen{body{background:linear-gradient(150deg,#042f2e,#064e3b 65%,#073c32) fixed}.topbar{background:linear-gradient(110deg,#042f2e,#064e3b);border-bottom:1px solid #ffffff24}.brand-icon{background:#042f2e;width:44px;height:44px;padding:0;display:grid;overflow:hidden}.brand-icon img{width:100%;height:100%;display:block}.dialog-header .brand-badge{color:#064e3b;background:#ecf9f2;border-color:#b4ddce}.brand-badge{color:#ffe2a1;background:#d9770615;border-color:#d9770669}.app-main{margin-top:18px}.builder-card,.page-card{background:#fff;border:1px solid #ffffffc9;box-shadow:0 12px 36px #011e1c35}.builder-controls{margin-bottom:12px}.species-pills{background:#ffffff12;border-color:#ffffff38}.species-pills button{color:#edf8f3}.species-pills button.active{color:#042f2e;background:#10b981}.stepper{margin-bottom:15px}.step-unit button,.step-unit.active button,.step-unit.complete button{color:#effff8}.step-circle{color:#125746}.step-unit.active .step-circle,.step-unit.complete .step-circle{color:#042f2e;background:#10b981;border-color:#10b981}.step-line{background:#53917c}.ingredient-tabs button.active:after,.status-dot{background:#10b981}.builder-footer,.app-status,.diet-summary span,.diet-summary strong small,.app-status>span:last-child{color:#ddf7ea}.builder-footer .primary-button{color:#042f2e;background:#10b981;border-color:#10b981}.bottom-nav{background:#fff;box-shadow:0 -3px 18px #042f2e15}.bottom-nav button.active .nav-icon{color:#064e3b;background:#cff6e7}.list-meta{gap:8px}.list-meta .text-button{margin-inline-start:auto}.report-header{display:block}.report-header .eyebrow{display:none}.report-header h1{margin-bottom:12px}.report-header .citation-pill{color:#064e3b;white-space:normal;background:#edf9f3;border-color:#b8ddcd}.interpretation-note{color:#624b2b;background:#fffaef;border:1px solid #eedabc;border-radius:8px;align-items:flex-start;gap:8px;margin:10px 0;padding:10px 12px;font-size:12px;line-height:1.55;display:flex}.interpretation-note svg{color:#a35b0c;flex:none;margin-top:2px}.verdict-banner[data-verdict=ENERGY_DEFICIENT]{color:#783f00;background:#fff3d8;border-color:#d97706}.verdict-banner[data-verdict=PROTEIN_DEFICIENT]{color:#842d11;background:#fff0e9;border-color:#df875e}.verdict-banner[data-verdict=BALANCED]{color:#065a42;background:#e2f9ee;border-color:#10b981}.verdict-banner strong,.verdict-banner p{color:inherit}.results-report{background:#f4f8f6}.balance-section,.tmr-section,.milk-support{background:#fff;border:1px solid #d9e5df;border-radius:12px;padding:14px;box-shadow:0 2px 7px #042f2e0b}.production-kpi{box-shadow:0 3px 8px #042f2e10}.builder-guide ol{color:#37554a;padding:0 25px 16px;list-style:inside decimal}.dialog-backdrop{inset-block-start:var(--viewport-top,0px);height:100vh;height:var(--viewport-height,100dvh);bottom:auto}.dialog,.dialog.wide{max-height:100%;scroll-padding-block:75px 20px}html[data-keyboard-open] .bottom-nav,html[data-keyboard-open] .toast{display:none}.feed-info p,.list-meta,.kpi-label,.report-footnote,.quiet-note{color:#556b60}}.production-kpis,.milk-support dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0;display:grid}.production-kpi{text-align:center;background:#fff;border:1px solid #d8e5df;border-radius:12px;align-content:center;justify-items:center;min-height:92px;padding:12px 4px;display:grid}.production-kpi strong{color:#064e3b;font-variant-numeric:tabular-nums;font-size:clamp(22px,5vw,32px);line-height:1.15}.production-kpi small{color:#536b60;font-size:11px}.production-kpi span{font-size:12px;font-weight:600}.milk-support h2{font-size:15px}.milk-support dl{margin-bottom:0}.milk-support dl>div{text-align:center;background:#eef6f1;border-radius:7px;padding:8px 4px}.milk-support dt{font-size:11px}.milk-support dd{margin:0;font-size:17px;font-weight:700}.results-report .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}.scenario-cards{gap:12px;display:grid}.scenario-cards article{border:1px solid #d6e4dc;border-radius:12px;padding:14px;box-shadow:0 3px 8px #042f2e0b}.scenario-cards p{color:#52675d;margin:5px 0 12px}.scenario-cards article>div{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ingredient-bounds fieldset{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;display:grid}.ingredient-bounds legend{padding-inline:8px;font-weight:600}@media screen and (width<=760px){.brand-icon{border-radius:9px;flex:none;width:34px;height:34px}.app-main{width:calc(100% - 20px)}.number-field .number-input input,.text-field input,.select-field select,.search-box input{min-height:46px;font-size:16px}.add-button,.profile-button,.language-switch button,.quality-badge select,.icon-button{min-height:44px}.profile-button,.add-button,.language-switch button{min-width:44px}.filter-pill,.outline-button,.species-pills button{min-height:44px}.feed-actions{flex-direction:row;align-items:center}.feed-info p{gap:4px}.results-report .kpi-grid .kpi-card{overflow-wrap:anywhere;padding:10px 6px}.results-report .kpi-grid .kpi-card strong{font-size:17px}.dialog-backdrop{padding:max(8px,env(safe-area-inset-top)) 0 0}}@media screen and (width<=420px){.topbar-inner{grid-template-columns:minmax(0,1fr) auto;gap:4px;display:grid}.brand,.topbar-actions{gap:4px}.brand-title{font-size:15px}.brand-icon{width:27px;height:27px}.topbar{padding-inline:8px}.feed-row>.feed-icon{display:none}.builder-controls{flex-wrap:wrap}}@media screen and (width<=350px){.topbar-inner{grid-template-columns:1fr}.topbar-actions{justify-content:space-between}}.report-titlebar{align-items:center;gap:8px;margin-bottom:12px;display:flex}.report-titlebar h1{flex:1;margin:0;font-size:20px}@media screen{.report-titlebar{color:#fff;background:linear-gradient(115deg,#042f2e,#064e3b);border-radius:9px;padding:5px 10px}.report-header .report-titlebar h1{margin:0}.report-titlebar .icon-button{color:#fff;min-width:44px;min-height:44px}}.parameter-card{background:#fff;border:1px solid #dce7df;border-radius:12px;min-inline-size:0;margin:18px 0;padding:16px}.parameter-card legend{color:#064e3b;padding-inline:6px;font-size:15px;font-weight:700}.parameter-card p,.parameter-check{color:#435d50;margin-top:10px;font-size:12px}.parameter-check{align-items:center;gap:6px;display:flex}.parameter-card .number-input small{direction:inherit;white-space:normal}[dir=rtl] .parameter-card input[inputmode=decimal]{text-align:right}@media (width<=520px){.parameter-card .form-grid{grid-template-columns:1fr}}.feed-library-heading{flex-wrap:wrap;margin-block:0 14px}.feed-library-heading h2{font-size:1.15rem}.feed-row .feed-info{flex:1;min-width:0}.feed-row .feed-info p{flex-wrap:wrap}.feed-row .feed-actions{align-items:center;gap:10px}.feed-row .quality-badge select{max-width:148px}.unit-price{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.unit-price-box{background:#fff;border:1px solid #c8dace;border-radius:9px;align-items:center;gap:5px;padding-inline:6px;display:inline-flex}.unit-price-box:focus-within{outline-offset:1px;outline:2px solid #10b981}.unit-price input{text-align:center;color:#123d32;background:0 0;border:0;width:4.1em;max-width:100%;min-height:42px;font-size:16px}.unit-price input[aria-invalid=true]{color:#9e3224}.unit-price-box small,.price-hint{color:#436057;font-size:.7rem}.unit-price-box small{white-space:nowrap}.unit-price .price-hint{font-size:.65rem}.dialog-backdrop.detail-backdrop{align-items:stretch;padding:0}.dialog.feed-detail-dialog{background:#f5f9f6;border-radius:0;width:100%;height:100%;max-height:100%}.feed-detail-dialog .dialog-header{min-height:60px;padding:max(12px,env(safe-area-inset-top)) max(20px,calc((100vw - 850px)/2)) 12px;color:#fff;background:#064e3b;justify-content:flex-start}.feed-detail-dialog .dialog-header .text-button{color:#fff}[dir=rtl] .back-control svg{transform:rotate(180deg)}.feed-detail-dialog .dialog-body{max-width:890px;padding:22px 20px max(30px,env(safe-area-inset-bottom));margin:0 auto}.detail-heading,.detail-controls,.detail-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.detail-heading h1{margin:3px 0;font-size:clamp(20px,3vw,29px);line-height:1.4}.detail-heading p{color:#496459;text-align:start;margin:0}.detail-heading .detail-source{color:#94620d;width:fit-content;font:600 .76rem/1.6 monospace}.detail-controls{justify-content:flex-start;margin-block:16px}.analysis-section{background:#fff;border:1px solid #d7e5db;border-radius:14px;margin:12px 0;overflow:hidden}.analysis-section summary{cursor:pointer;color:#064e3b;padding:15px 18px;font-weight:700;display:list-item}.analysis-section dl{margin:0;padding:0 18px 8px}.analysis-section dl>div{border-top:1px solid #e9efea;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;padding:8px 0;display:grid}.analysis-section dt,.analysis-section dd{overflow-wrap:anywhere;margin:0}.analysis-section dt small,.analysis-section dd small{color:#516a61;font-size:.7rem;display:block}.analysis-section dt small{text-align:match-parent}.analysis-section dd{text-align:end;font-variant-numeric:tabular-nums}.analysis-section dd .derived-tag{color:#895712}.analysis-section .quiet-note{padding:0 18px 12px}.detail-footer{margin-block-start:18px}@media (width<=760px){.feed-list .feed-row{grid-template-columns:auto minmax(0,1fr);gap:6px 10px;display:grid}.feed-list .feed-row .feed-actions{flex-flow:wrap;grid-column:1/-1;justify-content:flex-end;display:flex}.feed-list .feed-actions .quality-badge{margin-inline-end:auto}}@media (width<=520px){.feed-list .feed-row{grid-template-columns:minmax(0,1fr)}.feed-list .feed-row>.feed-icon{display:none}.feed-list .feed-row .feed-actions{gap:6px}.feed-list .quality-badge select{max-width:114px;min-height:41px;font-size:12px}.feed-list .feed-row .add-button{min-width:44px;min-height:44px}.feed-list .unit-price input{width:3.4em}.feed-detail-dialog .dialog-body{padding-inline:12px}}.physiology-panel{background:#fff}.phys-selector+.phys-selector{margin-block-start:18px}.phys-selector h3{color:#244b3d;margin:0 0 8px;font-size:.88rem}.phys-pills{flex-wrap:wrap;gap:7px;display:flex}.phys-pills button{color:#164a3a;min-height:44px;font:inherit;white-space:nowrap;word-break:normal;overflow-wrap:normal;background:#fff;border:1px solid #cbded3;border-radius:18px;flex:auto;justify-content:center;align-items:center;gap:5px;padding:9px 13px;transition:background-color .15s,border-color .15s;display:inline-flex}.phys-pills button.active{color:#fff;background:#064e3b;border-color:#064e3b}.phys-pills button.active svg{color:#7af0c6}.phys-pills button:focus-visible{outline-offset:2px;outline:3px solid #10b981}.parameter-card .dry-tag{color:#064e3b;background:#e6f7ee;border-radius:12px;margin:0;padding:9px 14px;display:inline-block}.parameter-card.growth-emphasis{border-color:#10b981}.growth-field .number-field>span{color:#065f46;font-weight:700}@media (width<=530px){.phys-pills button{flex:42%}}@media (prefers-reduced-motion:reduce){.phys-pills button{transition:none}}.scientific-screen{gap:1rem;max-width:48rem;margin-inline:auto;display:grid}.scientific-screen .parameter-card{background:#fff;margin:0}.equation-card label{align-items:center;gap:.65rem;min-height:44px;display:flex}.equation-card input,.scientific-screen input[type=checkbox]{accent-color:#064e3b}.sticky-tool-action{bottom:max(8px,env(safe-area-inset-bottom));justify-self:end;position:sticky}.measure-badges{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.measure-badges span,.phase-card>small{color:#244e40;background:#edf5ef;border-radius:20px;align-items:center;gap:.25rem;padding:.23rem .55rem;display:inline-flex}.phase-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;display:grid}.phase-card{border:1px solid #d7e3dc;border-inline-start:5px solid var(--phase,#157268);background:#fff;border-radius:14px;gap:.65rem;padding:1rem;display:grid}.phase-card h3,.phase-card p{margin:0}.phase-card>small,.phase-card>button{justify-self:start}.phase-peak{--phase:#b26b14}.phase-mid{--phase:#55873c}.phase-late{--phase:#517598}.phase-far{--phase:#85749c}.phase-close{--phase:#a6584a}.history-page{padding-bottom:95px}.history-tabs{margin-bottom:18px}.history-fab{z-index:9;bottom:calc(84px + env(safe-area-inset-bottom));border-radius:30px;position:fixed;inset-inline-end:max(16px,50vw - 475px);box-shadow:0 4px 18px #064e3b33}.history-page .history-card{flex-wrap:wrap;gap:1rem}.history-actions{flex-wrap:wrap;gap:.45rem}.history-page .history-actions button{color:#064e3b;background:#fff;border:1px solid #c6dcd2;border-radius:9px;min-height:42px;padding:.5rem .75rem}.group-save{margin-inline-start:auto}.herd-table{margin-block:1rem}.herd-table td{white-space:nowrap}.history-page time{color:#536a62}.farm-assay{padding:1rem}.farm-assay .form-grid{margin-block:.75rem}.farm-assay [role=alert]{color:#a13319}.unit-price .price-hint,.analysis-section .derived-tag{color:#315647;background-color:#eef5f0;border-radius:.4rem;padding:.1rem .35rem;line-height:1.4;display:inline-block}.beef-minerals h3{margin-block:1em .4em}.beef-minerals td small,.beef-minerals th small{color:#56645e;font-size:.75rem;display:block}.mineral-deficient,.mineral-excess{color:#9f331e;font-weight:700}.mineral-adequate{color:#07583d}@media screen and (width<=900px),screen and (pointer:coarse){body input:not([type=checkbox]):not([type=radio]),body textarea,body select,.feed-actions .quality-badge select,.lab-extract-controls select{font-size:max(16px,1rem)!important}.app-main{padding-bottom:calc(105px + env(safe-area-inset-bottom))}.feed-actions .quality-badge select{max-width:min(44vw,13rem)}}
