@import"https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wdth,wght,ROND@6..144,25..151,100..1000,0..100&display=swap";:root{--green-50: #edf8e8;--green-100: #b8dda8;--green-200: #97c459;--green-400: #5adb4a;--green-600: #2d7a22;--green-800: #1a3a14;--green-900: #0d2010;--neutral-50: #f1f4ef;--neutral-100: #dfe8db;--neutral-200: #cbd8c4;--neutral-400: #71846b;--neutral-600: #40513b;--neutral-800: #102b0f;--amber-bg: #faeeda;--amber-border: #fac775;--amber-text: #633806;--amber-mid: #ba7517;--red-bg: #fcebeb;--red-border: #f7c1c1;--red-text: #501313;--red-dot: #e24b4a;--purple-bg: #eeedfe;--purple-border: #cecbf6;--purple-text: #26215c;--teal-bg: #e1f5ee;--teal-border: #9fe1cb;--teal-text: #085041;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;--radius-xl: 12px;--radius-2xl: 14px;--radius-pill: 20px;--border-default: 1px solid var(--neutral-100);--border-subtle: 1px solid #e8eee4;--lf-page-bg: #f4f7fb;--lf-surface: #ffffff;--lf-surface-soft: #f8fbff;--lf-border: #dbe6f2;--lf-border-strong: #c8d7e8;--lf-text: #10213d;--lf-muted: #475569;--lf-accent: #2563eb;--lf-accent-2: #06b6d4;--lf-success: #16a34a;--lf-radius-card: 14px;--lf-radius-control: 10px;--lf-shadow-card: 0 10px 20px rgba(28, 39, 67, .06);--lf-shadow-soft: 0 8px 18px rgba(28, 39, 67, .05);--font-sans: "Google Sans Flex";--font-display: "Google Sans Flex";--lf-font-size-body: 13px;--lf-font-size-small: 11px;--lf-font-size-label: 10.5px;--lf-font-size-title: 15px;--lf-weight-regular: 400;--lf-weight-label: 450;--lf-weight-strong: 500;--lf-weight-title: 520;font-family:var(--font-sans);color:var(--lf-text);background:var(--lf-page-bg)}*{box-sizing:border-box}html,body,#root{min-height:100%;font-family:var(--font-sans)}body{margin:0;font-size:var(--lf-font-size-body);font-weight:var(--lf-weight-regular);background:var(--lf-page-bg);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,textarea,select{font-family:var(--font-sans);font-size:inherit}input,textarea,select{font-weight:var(--lf-weight-regular)}button{font-weight:var(--lf-weight-label)}button{min-height:30px}.btn-primary{background:linear-gradient(135deg,var(--lf-accent),#0f9f8f);color:#fff;border-radius:var(--lf-radius-control);min-height:36px;padding:7px 12px;font-size:12px;font-weight:var(--lf-weight-strong);display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;cursor:pointer;white-space:nowrap;box-shadow:0 10px 22px #2563eb33;text-decoration:none}.btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#0e9082)}.btn-primary.save-feedback-button{min-width:76px;transition:background .18s ease,box-shadow .18s ease,transform .18s ease,min-width .18s ease}.btn-primary.save-feedback-button i{font-size:14px}.btn-primary.save-feedback-button.is-saving{min-width:104px;background:linear-gradient(135deg,#2563eb,#0f9f8f);box-shadow:0 12px 26px #2563eb42;cursor:progress}.btn-primary.save-feedback-button.is-saving i{animation:save-spin .8s linear infinite}.btn-primary.is-saved{background:linear-gradient(135deg,var(--lf-success),#0f766e);box-shadow:0 10px 22px #16a34a38}.btn-primary.save-feedback-button.is-saved{min-width:82px;transform:translateY(-1px)}.btn-primary.save-feedback-button.is-saved i{animation:save-pop .28s ease both}@keyframes save-spin{to{transform:rotate(360deg)}}@keyframes save-pop{0%{transform:scale(.72)}70%{transform:scale(1.14)}to{transform:scale(1)}}.btn-secondary{min-height:36px;border:1px solid #bcd1ff;border-radius:var(--lf-radius-control);background:#f8fbff;color:var(--lf-accent);padding:7px 12px;font-size:12px;font-weight:var(--lf-weight-strong);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;white-space:nowrap;box-shadow:0 8px 18px #2563eb1a;text-decoration:none}.btn-secondary:hover{background:#eef5ff;border-color:#93b4ff}.btn-secondary:disabled{cursor:not-allowed;opacity:.58;box-shadow:none}.btn-ghost{background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);min-height:34px;padding:7px 11px;font-size:12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--lf-text);white-space:nowrap}.btn-ghost:hover{background:#f1f7ff;color:var(--lf-accent);border-color:#bcd1ff}.chip{font-size:10px;padding:3px 8px;border-radius:var(--radius-pill);flex-shrink:0;font-weight:500}.chip-green{background:var(--green-50);color:#27500a;border:.5px solid var(--green-100)}.chip-amber{background:var(--amber-bg);color:var(--amber-text);border:.5px solid var(--amber-border)}.chip-gray{background:var(--neutral-50);color:#444441;border:.5px solid #d3d1c7}.chip-purple{background:var(--purple-bg);color:var(--purple-text);border:.5px solid var(--purple-border)}.chip-red{background:var(--red-bg);color:var(--red-text);border:.5px solid var(--red-border)}.chip-teal{background:var(--teal-bg);color:var(--teal-text);border:.5px solid var(--teal-border)}.home-root{position:relative;min-height:100vh;min-height:100dvh;height:100vh;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden;font-family:var(--font-sans)}.home-bg{position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(90,219,74,.16),transparent 30%),linear-gradient(135deg,#0a1a0c,#0d2010 55%,#071208);background-size:cover;background-position:center;z-index:0}.home-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#040c09c7,#040c09e6)}.home-topbar{position:relative;z-index:1;height:52px;border-bottom:1px solid rgba(255,255,255,.14);background:#00000061;display:flex;align-items:center;padding:0 20px;gap:12px;flex-shrink:0}.tb-logo{display:flex;align-items:center;gap:8px}.tb-logo-icon{width:28px;height:28px;background:var(--green-600);border-radius:7px;display:flex;align-items:center;justify-content:center}.tb-logo-icon i{font-size:14px;color:#fff}.tb-logo-name{font-family:var(--font-display);font-size:15px;font-weight:450;color:#fff}.tb-logo-name span,.greeting-hi{color:var(--green-400)}.tb-divider{width:.5px;height:18px;background:#ffffff26}.tb-farm-name{font-size:12px;font-weight:400;color:#ffffffd6}.tb-spacer,.qb-spacer,.app-topbar-spacer{flex:1}.tb-icon{width:44px;height:44px;border-radius:7px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:.5px solid transparent;color:#fff9}.tb-icon:hover{background:#ffffff14}.tb-user{display:flex;align-items:center;gap:8px;padding:0 4px}.tb-user-name{font-size:11px;color:#ffffffbf;font-weight:400}.tb-avatar,.tb-avatar-sm{border-radius:50%;background:var(--green-600);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:400;flex-shrink:0}.tb-avatar{width:30px;height:30px;font-size:10px;border:1.5px solid rgba(90,219,74,.4)}.tb-avatar-sm{width:28px;height:28px;font-size:9px}.home-alerts{position:relative;display:flex}.home-alerts-btn{position:relative}.home-alerts-btn.has-critical{color:#ff8a8a}.home-alerts-badge{position:absolute;top:4px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;line-height:17px;text-align:center;box-shadow:0 0 0 2px #00000040}.home-alerts-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:300px;max-width:calc(100vw - 24px);background:var(--lf-surface, #fff);border:1px solid var(--lf-border, #dbe6f2);border-radius:14px;box-shadow:0 20px 44px #0f172a3d;overflow:hidden;animation:home-alerts-in .12s ease-out}@keyframes home-alerts-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.home-alerts-head{padding:12px 14px;font-size:12px;font-weight:700;color:var(--lf-muted, #475569);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--lf-border, #dbe6f2)}.home-alerts-empty{margin:0;padding:20px 14px;font-size:13px;color:var(--lf-muted, #475569);text-align:center}.home-alerts-panel ul{list-style:none;margin:0;padding:6px;display:grid;gap:2px}.home-alert-row{width:100%;display:flex;align-items:center;gap:12px;padding:9px 8px;border:0;border-radius:9px;background:transparent;cursor:pointer;text-align:left;color:var(--lf-text, #10213d)}.home-alert-row:hover{background:var(--lf-surface-soft, #f8fbff)}.home-alert-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border-radius:9px;background:#eef6ff;color:var(--lf-accent, #2563eb);font-size:17px}.home-alert-row.tone-warning .home-alert-icon{background:#fef3c7;color:#b45309}.home-alert-row.tone-danger .home-alert-icon{background:#fee2e2;color:#b91c1c}.home-alert-label{flex:1;font-size:13px;min-width:0}.home-alert-count{font-size:15px;font-weight:700;color:var(--lf-text, #10213d)}.home-alert-row.tone-danger .home-alert-count{color:#b91c1c}@media(max-width:560px){.home-alerts-panel{position:fixed;top:58px;right:10px;left:10px;width:auto;max-width:none}}.home-quick-stats{display:flex;flex-wrap:wrap;gap:8px;width:100%;max-width:900px;justify-content:center}.hqs-card{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:90px;padding:10px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:#ffffff1a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;color:#fff;transition:background .15s,transform .1s}.hqs-card:hover{background:#ffffff2e;transform:translateY(-1px)}.hqs-card i{font-size:20px;opacity:.85}.hqs-card strong{font-size:20px;font-weight:700;line-height:1}.hqs-card span{font-size:10px;opacity:.8;text-align:center;line-height:1.2}.hqs-card.tone-warning{border-color:#ffc83c66;background:#ffc83c26}.hqs-card.tone-danger{border-color:#ff505066;background:#ff505026}.home-body{position:relative;z-index:1;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 24px 16px;gap:8px}.greeting{text-align:center;margin-bottom:14px}.greeting-hi{font-family:var(--font-display);font-size:28px;font-weight:450;margin:0 0 4px;line-height:1.2}.greeting-sub{font-size:15px;font-weight:400;color:#ffffffdb;margin:0}.modules-row{display:grid;gap:8px;width:100%;max-width:680px}.modules-row-5{grid-template-columns:repeat(5,minmax(0,1fr))}.modules-row-4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:544px}.module-card{--mc-color: #1a6e3a;border-radius:var(--radius-xl);padding:14px 14px 12px;cursor:pointer;display:flex;flex-direction:column;gap:8px;border:1px solid rgba(255,255,255,.18);position:relative;overflow:hidden;text-align:left;transition:transform .12s ease,filter .12s ease,background .15s ease;min-height:92px;background:color-mix(in srgb,var(--mc-color) 40%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 16px 26px #0000002e,inset 0 1px #ffffff2e}.module-card:hover{transform:translateY(-3px);background:color-mix(in srgb,var(--mc-color) 55%,transparent)}.module-icon-wrap{width:38px;height:38px;border-radius:9px;background:#ffffff2e;display:flex;align-items:center;justify-content:center}.module-icon-wrap i{font-size:21px;color:#fff}.module-icon-wrap svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.module-label{font-size:13px;font-weight:400;color:#fff;line-height:1.25;text-shadow:0 1px 2px rgba(0,0,0,.28)}.home-moon-card{width:100%;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:linear-gradient(135deg,#1e0a3cb8,#0a1432ad);box-shadow:inset 0 1px #ffffff1f,0 8px 24px #0000002e;margin-bottom:0}.home-moon-card.tone-growth{background:linear-gradient(135deg,#14321eb8,#0a1e32ad)}.home-moon-card.tone-peak{background:linear-gradient(135deg,#3c2800b8,#1e1432ad);border-color:#ffdc6452}.home-moon-card.tone-waning{background:linear-gradient(135deg,#0a1e3cb8,#140a28ad)}.moon-emoji{font-size:36px;line-height:1;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.moon-main{display:flex;flex-direction:column;gap:2px;min-width:0}.moon-eyebrow{color:#ffffff8c;font-size:10px;font-weight:400;text-transform:uppercase;letter-spacing:.05em}.moon-name{color:#fff;font-size:15px;font-weight:500;line-height:1.2}.moon-cycle{color:#ffffffb3;font-size:11px;font-weight:400}.moon-tip{color:#ffffffd1;font-size:11px;font-weight:400;line-height:1.45;max-width:340px;text-align:right;margin:0}@media(max-width:680px){.home-moon-card{grid-template-columns:44px 1fr;grid-template-rows:auto auto}.moon-tip{grid-column:1 / -1;text-align:left;max-width:100%}}.home-moon-mini{flex:1;display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto 1fr;gap:6px 10px;padding:10px 12px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:#140a3273}.home-moon-mini.tone-growth{background:#0a281473}.home-moon-mini.tone-peak{background:#32230580;border-color:#ffd25047}.home-moon-mini.tone-waning{background:#0a143273}.home-moon-mini .moon-emoji{grid-row:1 / 3;font-size:28px;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.home-moon-mini .moon-main{display:flex;flex-direction:column;gap:1px;min-width:0}.home-moon-mini .moon-eyebrow{color:#ffffff80;font-size:9px;font-weight:400;text-transform:uppercase;letter-spacing:.05em}.home-moon-mini .moon-name{color:#fff;font-size:13px;font-weight:500;line-height:1.2}.home-moon-mini .moon-cycle{color:#ffffffa6;font-size:10px;font-weight:400}.home-moon-mini .moon-tip{grid-column:2 / 3;color:#ffffffb8;font-size:10px;font-weight:400;line-height:1.4;margin:0;align-self:end}.home-weather-widgets{width:100%;max-width:940px;margin-top:0;padding:10px;border:1px solid rgba(219,234,254,.62);border-radius:20px;background:radial-gradient(circle at 18% 0%,rgba(56,189,248,.24),transparent 30%),radial-gradient(circle at 88% 20%,rgba(52,211,153,.2),transparent 34%),linear-gradient(135deg,#062d48c7,#082f49b8),#081824c7;box-shadow:0 28px 58px #00000047,inset 0 1px #ffffff2e;-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%)}.home-weather-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.home-weather-head span{display:block;color:#ffffffc7;font-size:11px;font-weight:450;text-transform:uppercase}.home-weather-head strong{display:block;color:#fff;font-family:var(--font-display);font-size:18px;font-weight:450;line-height:1.2}.home-weather-head button{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:7px 11px;color:#fff;background:linear-gradient(135deg,#2563ebb8,#0d9488a8);cursor:pointer;font-size:12px;font-weight:400}.home-weather-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.home-weather-summary{width:100%;display:grid;grid-template-columns:minmax(190px,.95fr) minmax(280px,1.45fr) minmax(248px,1fr);gap:8px;align-items:stretch;margin-bottom:8px;padding:10px;border:1px solid rgba(255,255,255,.34);border-radius:16px;text-align:left;color:#fff;cursor:pointer;background:radial-gradient(circle at 10% 0%,rgba(255,255,255,.18),transparent 26%),linear-gradient(140deg,#0a1626e0,#0c586ba8);box-shadow:inset 0 1px #fff3,0 18px 36px #0003}.home-weather-summary:hover{border-color:#fff6;background:radial-gradient(circle at 10% 0%,rgba(255,255,255,.28),transparent 26%),linear-gradient(140deg,#0f172a70,#0e749047)}.home-weather-current{min-width:0;display:grid;grid-template-columns:1fr;align-content:space-between;gap:8px}.home-weather-current span:not(.wxi),.home-weather-hour span:not(.wxi),.home-weather-day span:not(.wxi){color:#ffffffd1;font-size:12px;font-weight:400}.home-weather-hourly .wxi-sm,.home-weather-days .wxi-sm{font-size:26px;line-height:1}.home-weather-current strong{display:block;margin-top:2px;color:#fff;font-size:20px;font-weight:450;line-height:1.15}.home-weather-temp{display:flex;align-items:center;gap:10px}.home-weather-temp i,.home-weather-temp .wxi{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#ffffff24;flex-shrink:0}.home-weather-temp .wxi.wxi-lg{font-size:28px}.home-weather-temp b{font-family:var(--font-display);color:#fff;font-size:52px;font-weight:380;line-height:.95;white-space:nowrap}.home-weather-current small{color:#ffffffdb;font-size:12px;font-weight:400;line-height:1.3}.wxi{display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none}.wxi-lg{font-size:32px}.wxi-sm{font-size:26px}.wxi-card{font-size:22px}.home-weather-mid{min-width:0;display:flex;flex-direction:column;gap:8px}.home-weather-hourly{min-width:0;flex-shrink:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:10px 8px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:#ffffff1a}.home-weather-hour{min-width:0;display:grid;justify-items:center;align-content:center;gap:5px;padding:8px 2px;border-radius:10px}.home-weather-hour.is-now{background:#ffffff24}.home-weather-hour span:first-child{color:#fffc;font-size:11px;font-weight:400;white-space:nowrap}.home-weather-hour strong{color:#fff;font-family:var(--font-display);font-size:14px;font-weight:450;line-height:1;white-space:nowrap}.home-weather-days{min-width:0;display:flex;flex-direction:column;gap:2px;padding:8px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:#ffffff1a}.home-weather-day-header,.home-weather-day{display:grid;grid-template-columns:36px 30px 34px 34px 1fr;align-items:center;gap:3px;padding:4px 2px;border-radius:8px}.home-weather-day-header{padding-bottom:2px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:2px}.home-weather-day.is-today .wday{color:#fff;font-weight:500}.wday{color:#ffffffe6;font-size:13px;font-weight:400;white-space:nowrap}.wcol-label{color:#ffffff80;font-size:10px;font-weight:400;text-align:right;text-transform:uppercase;letter-spacing:.02em}.wcol-label.wcol-rain{color:#90d5ffb3}.wtemp-lo{color:#ffffff8c;font-size:13px;font-weight:400;text-align:right;white-space:nowrap}.wtemp-hi{color:#fff;font-size:13px;font-weight:500;text-align:right;white-space:nowrap}.wrain{display:flex;flex-direction:column;align-items:flex-end;gap:1px;text-align:right}.wrain>span{color:#90d5ff;font-size:13px;font-weight:400;white-space:nowrap}.wrain>small{color:#90d5ff99;font-size:10px;font-weight:400;white-space:nowrap}.home-weather-empty{width:100%;min-height:92px;display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:12px;border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:14px;text-align:left;color:#fff;background:linear-gradient(135deg,#0ea5e93d,#14b8a624);box-shadow:inset 0 1px #ffffff2e,0 14px 28px #0000001a}button.home-weather-empty{cursor:pointer}.home-weather-empty i{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#fff;background:#fff3;font-size:22px}.home-weather-empty strong,.home-weather-empty small{display:block}.home-weather-empty strong{color:#fff;font-size:16px;font-weight:450}.home-weather-empty small{color:#ffffffbd;font-size:12px;font-weight:400}.home-weather-empty.error{background:linear-gradient(135deg,#ef444442,#f59e0b24)}.home-weather-card{position:relative;overflow:hidden;min-height:104px;display:grid;grid-template-rows:auto auto 1fr;gap:4px;padding:10px;border:1px solid rgba(255,255,255,.28);border-radius:16px;text-align:left;color:#fff;background:linear-gradient(145deg,#ffffff3d,#ffffff1a);box-shadow:inset 0 1px #ffffff38,0 16px 32px #0000001f;cursor:pointer;transition:transform .14s ease,background .14s ease,border-color .14s ease}.home-weather-card:hover{transform:translateY(-2px);background:linear-gradient(145deg,#ffffff45,#ffffff1f);border-color:#ffffff61}.home-weather-card i,.home-weather-card .wxi-card{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#ffffff2e;flex-shrink:0;line-height:1}.home-weather-card.tone-sky{border-color:#7dd3fc80;background:radial-gradient(circle at 18% 18%,rgba(250,204,21,.34),transparent 28%),linear-gradient(145deg,#0ea5e97a,#3b82f633)}.home-weather-card.tone-rain{border-color:#67e8f97a;background:radial-gradient(circle at 86% 10%,rgba(125,211,252,.32),transparent 28%),linear-gradient(145deg,#06b6d473,#2563eb2e)}.home-weather-card.tone-amber{border-color:#fdba7494;background:radial-gradient(circle at 88% 16%,rgba(253,224,71,.34),transparent 30%),linear-gradient(145deg,#f59e0b85,#f973162e)}.home-weather-card.tone-heat{border-color:#fca5a585;background:radial-gradient(circle at 84% 14%,rgba(251,113,133,.34),transparent 30%),linear-gradient(145deg,#ef444461,#d946ef2e)}.home-weather-card.tone-sky i{background:#0ea5e975}.home-weather-card.tone-rain i{background:#06b6d470}.home-weather-card.tone-amber i{background:#f59e0b75}.home-weather-card.tone-heat i{background:#ef444466}.home-weather-card.tone-favorable{border-color:#34d3998a;background:radial-gradient(circle at 18% 18%,rgba(187,247,208,.28),transparent 28%),linear-gradient(145deg,#22c55e61,#14b8a629)}.home-weather-card.tone-monitor{border-color:#38bdf885;background:radial-gradient(circle at 84% 12%,rgba(125,211,252,.28),transparent 28%),linear-gradient(145deg,#0ea5e961,#3b82f629)}.home-weather-card.tone-attention{border-color:#facc1585;background:radial-gradient(circle at 86% 16%,rgba(254,240,138,.28),transparent 30%),linear-gradient(145deg,#b4820085,#c8780047)}.home-weather-card.tone-alert{border-color:#fb923c8f;background:radial-gradient(circle at 84% 14%,rgba(253,186,116,.3),transparent 30%),linear-gradient(145deg,#c85a0a85,#b4460847)}.home-weather-card.tone-critical{border-color:#fb71858a;background:radial-gradient(circle at 84% 14%,rgba(253,164,175,.28),transparent 30%),linear-gradient(145deg,#f43f5e61,#be123c29)}.home-weather-card.tone-emergency{border-color:#f87171a3;background:radial-gradient(circle at 84% 14%,rgba(254,202,202,.32),transparent 30%),linear-gradient(145deg,#7f1d1d85,#991b1b38)}.home-weather-card.tone-favorable i{background:#22c55e6b}.home-weather-card.tone-monitor i{background:#0ea5e96b}.home-weather-card.tone-attention i{background:#eab3086b}.home-weather-card.tone-alert i{background:#f9731670}.home-weather-card.tone-critical i{background:#f43f5e6b}.home-weather-card.tone-emergency i{background:#7f1d1d80}.home-weather-card span{position:relative;z-index:1;margin-top:4px;color:#ffffffd1;font-size:11px;font-weight:400;text-transform:uppercase;text-shadow:0 1px 2px rgba(0,0,0,.2)}.home-weather-card strong{position:relative;z-index:1;color:#fff;font-family:var(--font-display);font-size:19px;font-weight:450;line-height:1.08;text-shadow:0 1px 3px rgba(0,0,0,.25)}.home-weather-card small{position:relative;z-index:1;color:#ffffffdb;font-size:11px;line-height:1.3;font-weight:400}@media(min-width:769px)and (max-height:820px){.home-body{padding:12px 20px 10px;gap:6px}.greeting{margin-bottom:8px}.greeting-hi{font-size:22px}.greeting-sub{font-size:13px;line-height:1.25}.modules-row{gap:6px;max-width:650px}.module-card{min-height:74px;padding:10px 12px;gap:6px;border-radius:14px}.module-icon-wrap{width:32px;height:32px;border-radius:8px}.module-icon-wrap i{font-size:18px}.module-icon-wrap svg{width:18px;height:18px}.home-weather-widgets{max-width:900px;padding:8px;border-radius:16px}.home-weather-head{margin-bottom:6px}.home-weather-head button{min-height:30px;padding:5px 10px}.home-weather-summary{grid-template-columns:minmax(170px,.9fr) minmax(250px,1.45fr) minmax(220px,1fr);gap:7px;margin-bottom:6px;padding:8px;border-radius:14px}.home-weather-current{gap:6px}.home-weather-current small{font-size:11px}.home-weather-temp{gap:8px}.home-weather-temp i,.home-weather-temp .wxi{width:38px;height:38px;border-radius:12px}.home-weather-hourly{padding:6px;gap:3px;border-radius:12px}.home-weather-hour{gap:3px;padding:5px 1px}.home-weather-hourly .wxi-sm,.home-weather-days .wxi-sm{font-size:21px}.home-moon-mini{padding:8px 10px;gap:4px 8px;border-radius:12px}.home-moon-mini .moon-emoji{font-size:24px}.home-moon-mini .moon-tip{font-size:9.5px;line-height:1.25}.home-weather-days{padding:6px;gap:1px;border-radius:12px}.home-weather-day-header,.home-weather-day{grid-template-columns:34px 28px 32px 32px 1fr;gap:2px;padding:2px 1px}.home-weather-grid{gap:6px}.home-weather-card{min-height:90px;gap:3px;padding:8px;border-radius:14px}.home-weather-card i,.home-weather-card .wxi-card{width:30px;height:30px;border-radius:9px}.home-weather-card small{font-size:10.5px;line-height:1.25}}.home-quickbar{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.12);background:#0000006b;padding:8px 24px;display:flex;align-items:center;gap:16px;flex-shrink:0}.qb-label,.qb-time{font-size:11px;font-weight:400;color:#ffffffbd;flex-shrink:0}.qb-item{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:400;color:#ffffffc7;cursor:pointer;background:transparent;border:none;padding:6px 0;min-height:40px}.qb-item:hover{color:#ffffffdb}.qb-badge{display:flex;align-items:center;gap:5px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-pill);padding:4px 10px;font-size:11px;font-weight:500;color:#ffffffe6;cursor:pointer;flex-shrink:0;min-height:28px}.qb-badge span{font-weight:700;font-size:12px}.qb-badge small{font-size:10px;font-weight:400;color:#ffffffb3}.qb-badge:hover{background:#ffffff2e}.qb-badge--critical{background:#c81e1e73;border-color:#ff505080}.qb-badge--high{background:#c8780066;border-color:#ffa00080}.qb-badge--normal{background:#ffffff1a}@media(min-width:769px)and (max-height:820px){.home-quickbar{padding:6px 20px;gap:10px}.qb-item{min-height:34px;padding:4px 0}.qb-badge{min-height:26px;padding:3px 8px}}.app-layout{display:flex;height:100vh;background:var(--lf-page-bg);overflow:hidden}.app-sidebar{width:232px;background:#ffffffeb;border-right:1px solid var(--lf-border);display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;box-shadow:10px 0 30px #1c27430a}.sb-header{padding:16px;border-bottom:1px solid var(--lf-border);display:flex;align-items:center;gap:8px;flex-shrink:0}.sb-back{width:44px;height:44px;border-radius:15px;border:1px solid var(--lf-border);background:var(--lf-surface-soft);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--lf-muted);flex-shrink:0}.sb-back:hover{background:#eef6ff;color:var(--lf-accent)}.sb-logo-name{font-size:14px;line-height:1.25;font-weight:var(--lf-weight-strong);color:var(--lf-text)}.sb-logo-name span{color:var(--lf-accent-2)}.sb-module-head{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid var(--lf-border);color:var(--lf-text);font-size:14px;line-height:1.25;font-weight:var(--lf-weight-strong)}.sb-module-head i{color:var(--lf-accent);font-size:16px}.sb-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:10px}.sb-section{font-size:11px;line-height:1.25;color:var(--lf-muted);padding:12px 4px 6px;font-weight:var(--lf-weight-strong);text-transform:uppercase}.sb-divider{height:1px;background:var(--lf-border);margin:8px 0}.sb-item,.sb-subitem{display:flex;align-items:center;gap:9px;width:100%;border:0;cursor:pointer;text-align:left;color:#4a5870;background:transparent;border-radius:12px}.sb-item{min-height:42px;padding:9px 10px;font-size:13px;line-height:1.25;font-weight:var(--lf-weight-title)}.sb-item:hover,.sb-subitem:hover{color:var(--lf-accent);background:#eef6ff}.sb-item.active,.sb-subitem.active{color:#0f4c81;background:linear-gradient(135deg,#e9f3ff,#eefbf7);box-shadow:inset 0 0 0 1px #2563eb21}.sb-item.parent{color:var(--lf-text)}.sb-submenu{margin:4px 0 4px 12px;padding:4px;border-left:1px solid #dbe7f4}.sb-subitem{min-height:38px;padding:8px 10px 8px 18px;font-size:12px;line-height:1.25;font-weight:var(--lf-weight-title)}.sb-subitem.root{padding-left:10px}.sb-subitem.child{min-height:34px;padding-left:16px;font-size:12px}.sb-farm-tag{margin:auto 10px 10px;padding:10px 12px;flex-shrink:0;border:1px solid rgba(37,99,235,.13);border-radius:16px;background:linear-gradient(135deg,#eef6ff,#f2fbf7)}.sb-farm-label{font-size:11px;line-height:1.25;color:var(--lf-muted);font-weight:var(--lf-weight-strong);text-transform:uppercase}.sb-farm-name{margin-top:2px;color:var(--lf-text);font-size:13px;line-height:1.25;font-weight:var(--lf-weight-strong)}.sb-farm-sub{margin-top:2px;color:#4f6f8f;font-size:11px;line-height:1.25}.app-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.app-topbar{height:56px;background:#ffffffe6;border-bottom:1px solid var(--lf-border);display:flex;align-items:center;padding:0 20px;gap:12px;flex-shrink:0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 8px 26px #1c27430a}.app-topbar .tb-logo-name,.app-topbar .tb-user-name{color:var(--lf-text)}.app-topbar .tb-divider{background:var(--lf-border)}.app-topbar .farm-status{color:#52637b}.app-topbar .tb-icon.app-action{color:#52637b;border-color:var(--lf-border);background:#ffffffb8}.app-topbar .tb-icon.app-action:hover{color:var(--lf-accent);background:#eef6ff}.app-breadcrumb{display:flex;align-items:center;gap:4px}.breadcrumb-home{background:transparent;border:none;cursor:pointer;color:var(--lf-muted);display:flex;align-items:center;padding:4px;min-height:44px}.breadcrumb-home:hover,.breadcrumb-current{color:var(--lf-text)}.breadcrumb-sep{font-size:12px;color:var(--lf-muted)}.breadcrumb-current{font-size:12px;font-weight:var(--lf-weight-strong)}.animal-quick-search{position:relative;flex-shrink:0}.aqs-input-wrap{display:flex;align-items:center;gap:6px;background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:8px;padding:0 10px;height:32px;width:200px;transition:border-color .15s,width .2s}.aqs-input-wrap:focus-within{border-color:var(--lf-accent);width:260px}.aqs-icon{font-size:14px;color:var(--lf-muted);flex-shrink:0}.aqs-input{border:none;background:transparent;outline:none;font-size:12px;color:var(--lf-text);width:100%;min-height:unset}.aqs-input::placeholder{color:var(--lf-muted)}.aqs-spinner{width:14px;height:14px;border:2px solid var(--lf-border);border-top-color:var(--lf-accent);border-radius:50%;animation:spin .6s linear infinite;flex-shrink:0}.aqs-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:10px;box-shadow:0 8px 26px #1c27431f;z-index:200;list-style:none;padding:4px;margin:0;max-height:280px;overflow-y:auto}.aqs-result{display:flex;align-items:center;gap:8px;width:100%;background:transparent;border:none;cursor:pointer;padding:8px 10px;border-radius:7px;text-align:left;font-size:12px;color:var(--lf-text)}.aqs-result:hover{background:var(--lf-hover)}.aqs-result strong{font-weight:var(--lf-weight-strong)}.aqs-result span{color:var(--lf-muted);font-size:11px}.aqs-empty{padding:12px;color:var(--lf-muted);font-size:12px;text-align:center}.app-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:18px;background:linear-gradient(180deg,#f8fbff 0,var(--lf-page-bg) 100%);animation:page-enter .18s ease both}@keyframes page-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.module-page{display:grid;gap:10px}.module-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.module-header h1,.panel h2,.module-empty h1{margin:0;font-weight:var(--lf-weight-strong);color:var(--lf-text)}.module-header-description{margin:4px 0 0;color:var(--lf-muted);font-size:12px;line-height:1.35}.module-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.activities-summary-note{display:flex;align-items:center;gap:8px;padding:10px 12px;color:var(--lf-muted);font-size:12px;line-height:1.35}.activities-summary-note i{color:var(--lf-accent);font-size:16px}.activities-section{overflow:hidden}.activities-section-header{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:0 0 10px;border:0;border-bottom:1px solid var(--lf-border);background:transparent;color:var(--lf-text);text-align:left;cursor:pointer}.activities-section-header h2{font-size:15px;line-height:1.25}.activities-count{min-width:26px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--lf-surface-soft);color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong)}.activities-list{display:grid}.activity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--lf-border)}.activity-row:last-child{border-bottom:0;padding-bottom:0}.activity-row-info{min-width:0;display:grid;gap:3px}.activity-animal{color:var(--lf-text);font-size:13px;font-weight:var(--lf-weight-strong);line-height:1.25}.activity-description{color:var(--lf-muted);font-size:12px;line-height:1.35}.activity-row-meta,.activity-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.activity-due,.urgency-chip{min-height:24px;display:inline-flex;align-items:center;border-radius:999px;padding:0 9px;font-size:11px;line-height:1}.activity-due{border:1px solid var(--lf-border);color:var(--lf-muted);background:var(--lf-surface-soft)}.urgency-chip{color:var(--lf-text);background:#eef6ff}.urgency-chip--critical{color:#991b1b;background:#fee2e2}.urgency-chip--high{color:#92400e;background:#fef3c7}.urgency-chip--normal{color:#166534;background:#dcfce7}.btn-ghost-sm{min-height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:0 9px;color:var(--lf-text);background:var(--lf-surface);font-size:12px;line-height:1;text-decoration:none}.btn-ghost-sm:hover{border-color:var(--lf-accent);color:var(--lf-accent)}.btn-ghost-sm.danger{color:#991b1b}.task-edit-actions-panel{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.task-edit-actions-info{min-width:0;display:grid;gap:6px}.task-edit-actions-info h2{font-size:16px;line-height:1.25}.task-edit-action-tags,.task-edit-actions-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.task-edit-action-tags span{min-height:24px;display:inline-flex;align-items:center;border:1px solid var(--lf-border);border-radius:999px;padding:0 9px;color:var(--lf-muted);background:var(--lf-surface-soft);font-size:11px;line-height:1}.task-edit-actions-buttons{justify-content:flex-end}.task-edit-no-actions{color:var(--lf-muted);font-size:12px;line-height:1.35}.task-workflow-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.task-workflow-overview h2{margin:0;color:var(--lf-text);font-size:16px;line-height:1.25;font-weight:var(--lf-weight-strong)}.task-workflow-presets{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.task-workflow-presets button{min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:8px 10px;color:var(--lf-text);background:var(--lf-surface);cursor:pointer;text-align:left}.task-workflow-presets button.active{border-color:#2563eb70;background:#eff6ff;color:#1d4ed8}.task-workflow-presets button.danger.active{border-color:#dc262659;background:#fff1f2;color:#991b1b}.task-workflow-presets span{font-size:12px;font-weight:var(--lf-weight-label)}.task-workflow-presets strong{min-width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--lf-surface-soft);color:inherit;font-size:12px;font-weight:var(--lf-weight-strong)}.tasks-workflow-board{display:grid;gap:10px}.tasks-operational-section .activities-section-header h2{font-size:15px}.task-workflow-row.is-overdue{background:#fff7ed;margin-inline:-10px;padding-inline:10px;border-radius:var(--lf-radius-control)}.task-row--critical{border-left:5px solid #e24b4a;padding-left:8px}.task-row--high{border-left:5px solid var(--amber-mid);padding-left:8px}.task-row--closed{border-left:5px solid #94A3B8;padding-left:8px;background:#f8fafc;margin-inline:-10px;padding-inline:10px;border-radius:var(--lf-radius-control)}.task-row--done{border-left:5px solid var(--lf-success);padding-left:8px;background:#f0fdf4;margin-inline:-10px;padding-inline:10px;border-radius:var(--lf-radius-control)}.task-row-scope{font-size:var(--lf-font-size-small);font-weight:var(--lf-weight-strong);color:var(--lf-accent);letter-spacing:.02em}.task-workflow-row{position:relative}.row-loading-overlay{position:absolute;inset:0;background:#ffffffa6;display:flex;align-items:center;justify-content:center;z-index:2;border-radius:var(--lf-radius-control);pointer-events:all;font-size:18px;color:var(--lf-accent)}.task-row-info-header{display:flex;align-items:flex-start;gap:10px}.task-row-checkbox{flex-shrink:0;width:15px;height:15px;margin-top:3px;accent-color:var(--lf-accent);cursor:pointer}.task-row-checkbox:disabled{opacity:.35;cursor:not-allowed}.task-row-info-content{display:grid;gap:3px;min-width:0}.task-workflow-row.is-selected{background:#eff6ff}.task-action-mobile{display:none}@media(max-width:768px){.task-action-desktop{display:none}.task-action-mobile{display:flex}}.task-secondary-menu{position:relative}.task-secondary-backdrop{position:fixed;inset:0;z-index:10}.task-secondary-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:11;min-width:155px;background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);box-shadow:var(--lf-shadow-card);padding:4px;display:flex;flex-direction:column}.task-secondary-dropdown button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border-radius:6px;border:none;background:none;font-size:var(--lf-font-size-body);color:var(--lf-text);cursor:pointer;text-align:left;white-space:nowrap}.task-secondary-dropdown button:hover{background:var(--lf-surface-soft)}.task-secondary-dropdown button.danger{color:#991b1b}.task-secondary-dropdown button.danger:hover{background:#fff0f0}.bulk-actions-bar{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:50;display:flex;align-items:center;gap:10px;padding:10px 18px;background:var(--lf-text);color:#fff;border-radius:var(--lf-radius-card);box-shadow:0 8px 24px #00000038;font-size:var(--lf-font-size-body);font-weight:var(--lf-weight-strong);white-space:nowrap}.bulk-actions-bar .btn-ghost{color:#fff;border-color:#ffffff4d;font-size:var(--lf-font-size-body)}.task-workflow-tags{display:flex;flex-wrap:wrap;gap:5px}.task-workflow-tags span,.task-chip{min-height:22px;display:inline-flex;align-items:center;border-radius:999px;padding:0 8px;font-size:11px;line-height:1}.task-workflow-tags span{border:1px solid var(--lf-border);color:var(--lf-muted);background:var(--lf-surface-soft)}.task-chip{color:var(--lf-text);background:#eef6ff}.task-chip--priority-high,.task-chip--priority-critical{color:#92400e;background:#fef3c7}.task-chip--priority-critical,.task-chip--status-canceled{color:#991b1b;background:#fee2e2}.task-chip--status-done{color:#166534;background:#dcfce7}.task-chip--status-postponed,.task-chip--status-superseded{color:#475569;background:#e2e8f0}.task-pagination-panel{padding:10px 12px}@media(max-width:720px){.task-workflow-overview{grid-template-columns:1fr}.task-workflow-presets{justify-content:flex-start}.activity-row{grid-template-columns:1fr}.activity-row-meta,.activity-row-actions{justify-content:flex-start}.module-header{align-items:flex-start;flex-direction:column}.module-header-actions{justify-content:flex-start}.task-edit-actions-panel{flex-direction:column}.task-edit-actions-buttons{justify-content:flex-start}}.eyebrow{display:block;margin-bottom:4px;font-size:10px;color:var(--lf-muted);font-weight:var(--lf-weight-strong)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.metric-card{background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);padding:12px 14px;min-height:92px;box-shadow:var(--lf-shadow-card)}.metric-card.hi{background:linear-gradient(135deg,#2563eb,#0f766e);border-color:transparent;color:#fff}.mc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.mc-label{font-size:11px;line-height:1.25;color:var(--lf-muted);font-weight:var(--lf-weight-strong)}.metric-card.hi .mc-label,.metric-card.hi .mc-delta{color:#ffffffbf}.mc-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;color:var(--lf-accent);border-radius:9px;background:#eef6ff}.metric-card.hi .mc-icon{color:#fff;background:#ffffff24}.mc-value{font-size:22px;line-height:1.1;font-weight:var(--lf-weight-strong);margin-top:9px;color:var(--lf-text)}.metric-card.hi .mc-value{color:#fff}.mc-delta{font-size:11px;line-height:1.25;color:var(--lf-success);margin-top:4px;font-weight:var(--lf-weight-strong)}.mc-delta.neutral{color:var(--lf-muted)}.panel{background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);padding:12px;box-shadow:var(--lf-shadow-card)}.weather-page{gap:12px}.weather-header{align-items:flex-start}.weather-header p{max-width:760px;margin:6px 0 0;color:var(--lf-muted);font-size:14px;line-height:1.45;font-weight:var(--lf-weight-title)}.weather-header .btn-ghost{display:inline-flex;align-items:center;gap:8px}.weather-glass-card{position:relative;overflow:hidden;border:1px solid rgba(178,207,238,.72);border-radius:var(--lf-radius-card);background:linear-gradient(135deg,#ffffffd1,#eff8ff94),#ffffff8a;box-shadow:0 18px 42px #1c3d691f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.weather-glass-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.42),transparent 46%,rgba(34,197,94,.08))}.weather-glass-card>*{position:relative;z-index:1}.weather-hero{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.4fr);gap:14px;padding:16px}.weather-empty-state{display:flex;align-items:center;gap:18px;min-height:220px;padding:22px}.weather-empty-state>i{display:grid;width:64px;height:64px;place-items:center;border-radius:18px;background:#0ea5e929;color:#0f83d5;font-size:34px}.weather-empty-state h2{margin:0 0 8px;color:var(--lf-text);font-size:24px}.weather-empty-state p{margin:0 0 16px;max-width:760px;color:var(--lf-muted)}.weather-status-row{display:flex;flex-wrap:wrap;gap:10px}.weather-status-row span{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:#ffffffb8;color:var(--lf-muted);font-size:12px;font-weight:var(--lf-weight-strong);box-shadow:0 12px 28px #0f172a12}.weather-card-kicker,.weather-widget span,.weather-mini span,.weather-alert span,.weather-day-card span{color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong);text-transform:uppercase}.weather-current-main{display:flex;align-items:center;gap:14px;margin-top:14px}.weather-current-main i{display:grid;place-items:center;width:82px;height:82px;border-radius:24px;color:#fff;font-size:42px;background:linear-gradient(135deg,#2563eb,#14b8a6);box-shadow:0 18px 32px #2563eb3d}.weather-current-main strong{display:block;color:var(--lf-text);font-size:48px;line-height:.95;font-weight:var(--lf-weight-strong)}.weather-current-main span{display:block;margin-top:8px;color:var(--lf-muted);font-size:14px;font-weight:var(--lf-weight-strong)}.weather-current-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.weather-mini{min-height:118px;padding:12px;border:1px solid rgba(178,207,238,.58);border-radius:14px;background:#ffffff8a}.weather-mini i,.weather-widget-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;color:var(--lf-accent);background:#2563eb1a}.weather-mini span{display:block;margin-top:12px}.weather-mini strong,.weather-widget strong{display:block;margin-top:4px;color:var(--lf-text);font-size:20px;font-weight:var(--lf-weight-strong)}.weather-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.weather-widget{min-height:144px;padding:14px}.weather-widget span{display:block;margin-top:16px}.weather-widget small,.weather-day-card small{display:block;margin-top:5px;color:var(--lf-muted);font-size:11px;font-weight:var(--lf-weight-strong)}.weather-section,.weather-two-column{display:grid;gap:10px}.weather-alert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.weather-alert{display:flex;gap:12px;min-height:170px;padding:14px}.weather-alert>i{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;font-size:16px;background:#2563eb1a;color:var(--lf-accent)}.weather-alert h3{margin:4px 0 5px;color:var(--lf-text);font-size:13px;line-height:1.15}.weather-alert p{margin:0;color:var(--lf-muted);font-size:11px;line-height:1.45;font-weight:var(--lf-weight-title)}.weather-alert.severity-alta>i{color:#b91c1c;background:#ef44441f}.weather-alert.severity-media>i{color:#b45309;background:#f59e0b24}.weather-alert.severity-baixa>i{color:#047857;background:#10b98124}.weather-two-column{grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:8px}.weather-recommendations,.weather-forecast-panel{padding:10px}.weather-recommendations ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.weather-recommendations li{display:flex;gap:10px;align-items:flex-start;color:var(--lf-text);font-size:12px;line-height:1.4;font-weight:var(--lf-weight-strong)}.weather-recommendations li i{margin-top:2px;color:var(--lf-success)}.weather-forecast-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.weather-day-card{min-height:132px;padding:12px;border:1px solid rgba(178,207,238,.58);border-radius:14px;background:#ffffff85}.weather-day-card i{display:block;margin-top:12px;color:var(--lf-accent);font-size:28px}.weather-day-card strong{display:block;margin-top:12px;color:var(--lf-text);font-size:14px}.panel-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.panel-search-row{margin-bottom:12px}.panel-search-row .search-input{width:100%;max-width:400px}.weather-ios-shell{position:relative;isolation:isolate;gap:8px;padding:12px;border-radius:20px;color:#eef7ff;background:radial-gradient(circle at 78% 8%,rgba(71,201,255,.46),transparent 28%),radial-gradient(circle at 18% 20%,rgba(52,211,153,.24),transparent 24%),linear-gradient(145deg,#071321,#0b1f35 48%,#123b5f);box-shadow:0 24px 70px #050f1f38}.weather-ios-shell>:not(.weather-animated-bg){position:relative;z-index:1}.weather-ios-shell:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(120deg,rgba(255,255,255,.08),transparent 42%),radial-gradient(circle at 52% 112%,rgba(34,197,94,.2),transparent 28%);pointer-events:none}.weather-animated-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 78% 12%,rgba(56,189,248,.34),transparent 28%),linear-gradient(145deg,#071321,#0d2b46 54%,#123b5f)}.weather-animated-home{z-index:0}.weather-animated-panel,.weather-animated-preview{z-index:0;border-radius:inherit}.wab-glow,.wab-sun,.wab-cloud,.wab-lightning,.wab-fog,.wab-frost,.wab-particles,.wab-particles span{position:absolute;display:block}.wab-glow{width:46vw;height:46vw;border-radius:50%;filter:blur(30px);opacity:.45}.wab-glow-a{top:-18%;right:4%;background:#38bdf88c}.wab-glow-b{bottom:-22%;left:-8%;background:#22c55e57}.wab-sun{top:12%;right:12%;width:168px;height:168px;border-radius:50%;background:radial-gradient(circle at 34% 32%,#fff7c2 0 18%,#facc15 34%,#f59e0b 74%);box-shadow:0 0 54px #facc1580;animation:wabSunPulse 6s ease-in-out infinite}.wab-sun:before{content:"";position:absolute;inset:-28px;border-radius:inherit;border:10px solid rgba(253,224,71,.16);animation:wabSunRotate 16s linear infinite}.wab-cloud{width:280px;height:86px;border-radius:999px;background:linear-gradient(180deg,#ffffffeb,#cbd5e1c2);filter:drop-shadow(0 20px 28px rgba(0,0,0,.16));opacity:.72;animation:wabCloudFloat 16s ease-in-out infinite}.wab-cloud:before,.wab-cloud:after{content:"";position:absolute;bottom:22px;border-radius:50%;background:inherit}.wab-cloud:before{left:34px;width:96px;height:96px}.wab-cloud:after{right:40px;width:118px;height:118px}.wab-cloud-a{top:28%;right:8%}.wab-cloud-b{top:54%;left:8%;width:230px;height:70px;opacity:.5;animation-delay:-5s}.wab-cloud-c{top:12%;left:24%;width:180px;height:56px;opacity:.34;animation-delay:-9s}.wab-lightning{top:36%;right:26%;width:42px;height:86px;clip-path:polygon(46% 0,100% 0,64% 38%,92% 38%,18% 100%,38% 52%,8% 52%);background:#fde047;filter:drop-shadow(0 0 18px rgba(250,204,21,.8));opacity:0;animation:wabLightning 5.5s ease-in-out infinite}.wab-fog{left:8%;right:8%;height:80px;border-radius:999px;background:#e2e8f02e;filter:blur(18px);opacity:0;animation:wabFogDrift 12s ease-in-out infinite}.wab-fog-a{bottom:22%}.wab-fog-b{bottom:10%;animation-delay:-6s}.wab-frost{inset:0;opacity:0;background:radial-gradient(circle at 16% 20%,rgba(255,255,255,.16) 0 1px,transparent 2px),radial-gradient(circle at 74% 38%,rgba(255,255,255,.14) 0 1px,transparent 2px),linear-gradient(135deg,rgba(219,234,254,.16),transparent 42%);background-size:42px 42px,58px 58px,auto}.wab-particles{inset:0}.wab-particles span{top:-10%;left:calc((var(--wab-index) * 5.7%) + 2%);width:2px;height:46px;border-radius:999px;background:linear-gradient(180deg,#7dd3fc00,#7dd3fcdb);opacity:0;animation:wabRain 1.1s linear infinite;animation-delay:calc(var(--wab-index) * -.09s)}.weather-animated-cloudy .wab-sun,.weather-animated-rainy .wab-sun,.weather-animated-thunderstorm .wab-sun,.weather-animated-cold .wab-sun,.weather-animated-snow .wab-sun,.weather-animated-hail .wab-sun,.weather-animated-frost .wab-sun{opacity:.18}.weather-animated-sunny .wab-particles span,.weather-animated-cloudy .wab-particles span,.weather-animated-cold .wab-particles span,.weather-animated-frost .wab-particles span{animation:none}.weather-animated-sunny .wab-cloud-b,.weather-animated-sunny .wab-cloud-c{opacity:.18}.weather-animated-rainy .wab-particles span,.weather-animated-thunderstorm .wab-particles span{opacity:.78}.weather-animated-thunderstorm{background:radial-gradient(circle at 80% 6%,rgba(96,165,250,.24),transparent 28%),linear-gradient(145deg,#050816,#0b1728 52%,#172554)}.weather-animated-thunderstorm .wab-lightning{opacity:1}.weather-animated-cold,.weather-animated-snow,.weather-animated-frost{background:radial-gradient(circle at 74% 8%,rgba(191,219,254,.34),transparent 30%),linear-gradient(145deg,#081827,#17324f 58%,#1e3a5f)}.weather-animated-cold .wab-fog,.weather-animated-frost .wab-fog{opacity:.9}.weather-animated-frost .wab-frost{opacity:1}.weather-animated-snow .wab-particles span,.weather-animated-hail .wab-particles span{width:7px;height:7px;border-radius:50%;background:#ffffffe6;opacity:.88;animation-name:wabSnow;animation-duration:5.8s}.weather-animated-hail .wab-particles span{width:5px;height:5px;background:#e2e8f0eb;animation-name:wabHail;animation-duration:1.45s}.weather-animated-preview .wab-sun{width:90px;height:90px}.weather-animated-preview .wab-cloud{transform:scale(.58);transform-origin:center}.weather-animated-panel{opacity:.38}@keyframes wabSunPulse{0%,to{transform:scale(1);opacity:.95}50%{transform:scale(1.05);opacity:1}}@keyframes wabSunRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes wabCloudFloat{0%,to{transform:translateZ(0)}50%{transform:translate3d(-26px,8px,0)}}@keyframes wabRain{0%{transform:translate3d(0,-20%,0)}to{transform:translate3d(-18px,120vh,0)}}@keyframes wabSnow{0%{transform:translate3d(0,-20%,0)}to{transform:translate3d(24px,120vh,0)}}@keyframes wabHail{0%{transform:translate3d(0,-20%,0)}to{transform:translate3d(-8px,120vh,0)}}@keyframes wabLightning{0%,82%,to{opacity:0}84%,86%{opacity:.95}88%{opacity:.2}90%{opacity:.9}}@keyframes wabFogDrift{0%,to{transform:translate3d(-3%,0,0)}50%{transform:translate3d(3%,-6px,0)}}@media(prefers-reduced-motion:reduce){.weather-animated-bg *,.weather-animated-bg *:before{animation:none!important}}.weather-ios-shell .weather-header h1,.weather-ios-shell .weather-header p,.weather-ios-shell .eyebrow,.weather-ios-shell .panel-title-row h2,.weather-ios-shell .panel-title-row span{color:#f5fbff;text-shadow:0 12px 28px rgba(2,6,23,.18)}.weather-ios-shell .panel-title-row h2{margin:0;font-size:16px;line-height:1.15}.weather-ios-shell .panel-title-row{margin-bottom:6px}.weather-ios-shell .weather-header p,.weather-ios-shell .panel-title-row span{color:#e5f4ffc2}.weather-ios-shell .btn-ghost{color:#f8fbff;border-color:#ffffff38;background:#ffffff1f;box-shadow:0 14px 34px #0000002e}.weather-refresh-box{display:grid;justify-items:end;gap:4px;min-width:210px;color:#e5f4ffd1;font-size:12px;font-weight:var(--lf-weight-strong)}.weather-refresh-box span{display:inline-flex;align-items:center;gap:7px}.weather-refresh-box small{color:#e5f4ff94;font-size:10px;font-weight:var(--lf-weight-strong)}.weather-refresh-box .btn-ghost{min-height:34px;padding:7px 12px}.weather-refresh-box .ti-loader-2{animation:weatherSpin .9s linear infinite}.weather-ios-shell .weather-glass-card{border:1px solid rgba(255,255,255,.18);border-radius:30px;background:linear-gradient(145deg,#ffffff29,#ffffff12),#0b1f357a;box-shadow:0 22px 54px #00000038;-webkit-backdrop-filter:blur(24px) saturate(140%);backdrop-filter:blur(24px) saturate(140%)}.weather-ios-shell .weather-glass-card:before{background:linear-gradient(135deg,rgba(255,255,255,.22),transparent 42%),radial-gradient(circle at 82% 0%,rgba(56,189,248,.22),transparent 38%)}.weather-dashboard-grid{display:grid;grid-template-columns:minmax(0,.96fr) minmax(250px,.64fr);gap:8px;align-items:stretch}.weather-ios-shell .weather-hero{min-height:166px;grid-template-columns:minmax(0,1fr) 176px;align-items:start;padding:12px;background:linear-gradient(145deg,#236bb87a,#091e3785),#0a274870}.weather-ios-shell .weather-current,.weather-ios-shell .weather-action-summary{position:relative;z-index:2}.weather-location-pill{display:inline-flex;align-items:center;gap:8px;width:fit-content;min-height:28px;margin-bottom:10px;padding:5px 10px;border-radius:999px;color:#fff;background:linear-gradient(135deg,#2dd4bfe6,#3b82f6c7);font-size:11px;font-weight:var(--lf-weight-strong)}.weather-ios-shell .weather-card-kicker,.weather-ios-shell .weather-widget span,.weather-ios-shell .weather-mini span,.weather-ios-shell .weather-alert span,.weather-ios-shell .weather-day-card span{color:#e1efffb3}.weather-ios-shell .weather-current-main{margin-top:6px}.weather-ios-shell .weather-current-main strong{color:#fff;font-size:38px;letter-spacing:0;text-shadow:0 20px 38px rgba(0,0,0,.24)}.weather-ios-shell .weather-current-main span,.weather-current-range{color:#eff9ffd6}.weather-current-range{margin:6px 0 0;font-size:11px;font-weight:var(--lf-weight-strong)}.weather-scene{position:relative;min-height:150px}.weather-action-summary{display:grid;grid-template-columns:1fr;gap:5px}.weather-action-summary span{display:flex;align-items:center;gap:5px;min-height:30px;padding:5px 7px;border:1px solid rgba(255,255,255,.16);border-radius:11px;color:#f0f9ffdb;background:#040d1c47;font-size:10px;font-weight:var(--lf-weight-strong)}.weather-action-summary i{flex:0 0 auto;font-size:15px;color:#dff6ff}.weather-scene-small{width:170px;min-height:150px;flex:0 0 auto}.weather-sun{position:absolute;top:34px;right:64px;width:84px;height:84px;border-radius:50%;background:radial-gradient(circle at 34% 32%,#fff8c6 0 18%,#ffd166 28%,#f59e0b 72%);box-shadow:0 0 44px #fbbf247a;animation:weatherSunFloat 5.8s ease-in-out infinite}.weather-ray{position:absolute;top:70px;right:52px;width:10px;height:40px;border-radius:999px;background:#fde047db;transform-origin:52px 14px;animation:weatherRayPulse 2.4s ease-in-out infinite}.weather-ray.ray-1{transform:rotate(28deg)}.weather-ray.ray-2{right:148px;transform:rotate(-38deg);animation-delay:.35s}.weather-ray.ray-3{top:24px;right:112px;transform:rotate(84deg);animation-delay:.7s}.weather-cloud{position:absolute;height:48px;border-radius:999px;background:linear-gradient(180deg,#fffffff0,#cbd5e1e0);filter:drop-shadow(0 18px 26px rgba(0,0,0,.2));animation:weatherCloudDrift 7s ease-in-out infinite}.weather-cloud:before,.weather-cloud:after{content:"";position:absolute;bottom:18px;border-radius:50%;background:inherit}.weather-cloud:before{left:22px;width:54px;height:54px}.weather-cloud:after{right:24px;width:66px;height:66px}.weather-cloud.cloud-a{right:26px;bottom:48px;width:172px}.weather-cloud.cloud-b{right:126px;bottom:34px;width:124px;height:42px;opacity:.68;animation-delay:-2.6s}.weather-rain{position:absolute;bottom:18px;width:4px;height:30px;border-radius:999px;background:linear-gradient(180deg,#7dd3fc00,#7dd3fcf2);animation:weatherRainFall 1.15s linear infinite}.weather-rain.rain-a{right:120px}.weather-rain.rain-b{right:164px;animation-delay:.32s}.weather-compact-scene{position:absolute;right:14px;bottom:10px;z-index:0;width:132px;min-height:92px;opacity:.28;pointer-events:none}.weather-compact-scene .weather-sun{top:8px;right:24px;width:42px;height:42px;box-shadow:0 0 22px #fbbf2461}.weather-compact-scene .weather-cloud{height:24px}.weather-compact-scene .weather-cloud:before,.weather-compact-scene .weather-cloud:after{bottom:9px}.weather-compact-scene .weather-cloud:before{left:12px;width:30px;height:30px}.weather-compact-scene .weather-cloud:after{right:12px;width:36px;height:36px}.weather-compact-scene .weather-cloud.cloud-a{right:16px;bottom:24px;width:78px}.weather-compact-scene .weather-cloud.cloud-b{right:54px;bottom:16px;width:58px;height:21px}.weather-compact-scene .weather-rain{right:52px;bottom:0;height:16px}.weather-highlight-panel{min-height:148px;padding:10px}.weather-highlight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:auto}.weather-ios-shell .weather-mini,.weather-ios-shell .weather-widget,.weather-ios-shell .weather-day-card{border-color:#ffffff29;background:#040d1c57;box-shadow:inset 0 1px #ffffff14}.weather-ios-shell .weather-mini{min-height:58px;padding:7px;border-radius:12px}.weather-ios-shell .weather-highlight-grid .weather-mini{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:7px;align-items:center;min-height:46px}.weather-ios-shell .weather-mini i,.weather-ios-shell .weather-widget-icon{width:26px;height:26px;border-radius:10px;color:#dff6ff;background:#7dd3fc33}.weather-ios-shell .weather-widget{min-height:74px;padding:8px;border-radius:13px}.weather-ios-shell .weather-widget span{margin-top:6px}.weather-ios-shell .weather-widget strong{font-size:13px}.weather-ios-shell .weather-widget small{font-size:10px}.weather-ios-shell .weather-mini strong,.weather-ios-shell .weather-widget strong,.weather-ios-shell .weather-day-card strong{color:#fff}.weather-ios-shell .weather-mini span{margin-top:5px;font-size:9px}.weather-ios-shell .weather-mini strong{margin-top:1px;font-size:13px}.weather-ios-shell .weather-highlight-grid .weather-mini i{grid-row:1 / 3}.weather-ios-shell .weather-highlight-grid .weather-mini span,.weather-ios-shell .weather-highlight-grid .weather-mini strong{grid-column:2;margin-top:0}.weather-ios-shell .weather-day-card{min-height:72px;padding:7px;border-radius:12px}.weather-ios-shell .weather-day-card i{margin-top:4px;font-size:16px}.weather-ios-shell .weather-day-card strong{margin-top:5px;font-size:11px}.weather-ios-shell .weather-day-card small{font-size:10px}.weather-hourly-panel{padding:10px}.weather-hourly-strip{display:grid;grid-template-columns:repeat(7,minmax(64px,1fr));gap:6px}.weather-hour-card{display:grid;min-height:54px;justify-items:center;align-content:center;gap:4px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#ffffff1a;color:#f8fbff}.weather-hour-card span{color:#e2f1ffb8;font-size:10px;font-weight:var(--lf-weight-strong)}.weather-hour-card i{color:#fde68a;font-size:17px}.weather-hour-card strong{font-size:12px;font-weight:var(--lf-weight-strong)}.weather-ios-shell .weather-status-row span{color:#e5f4ffc2;border-color:#ffffff29;background:#ffffff17;box-shadow:none}.weather-ios-shell .weather-alert-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weather-ios-shell .weather-alert{min-height:82px;padding:8px;border-radius:13px;background:#040d1c57}.weather-ios-shell .weather-alert h3,.weather-ios-shell .weather-alert p,.weather-ios-shell .weather-recommendations li,.weather-ios-shell .weather-widget small,.weather-ios-shell .weather-day-card small{color:#e9f6ffd1}.weather-ios-shell .weather-alert>i{color:#e0f7ff;background:#7dd3fc2e}.weather-ios-shell .weather-alert p{font-size:10px;line-height:1.35}.weather-ios-shell .weather-alert.severity-alta>i{color:#fecaca;background:#f871712e}.weather-ios-shell .weather-alert.severity-media>i{color:#fde68a;background:#fbbf242e}.weather-ios-shell .weather-alert.severity-baixa>i{color:#bbf7d0;background:#34d3992e}.weather-ios-shell .weather-forecast-list{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}@keyframes weatherSunFloat{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(0,-8px,0) scale(1.03)}}@keyframes weatherRayPulse{0%,to{opacity:.45}50%{opacity:.95}}@keyframes weatherCloudDrift{0%,to{transform:translateZ(0)}50%{transform:translate3d(-10px,4px,0)}}@keyframes weatherRainFall{0%{opacity:0;transform:translate3d(0,-14px,0)}25%,80%{opacity:.85}to{opacity:0;transform:translate3d(0,18px,0)}}@keyframes weatherSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animal-profile-body{display:grid;grid-template-columns:126px minmax(0,1fr);gap:18px;align-items:start}.animal-photo-preview{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:linear-gradient(135deg,#eef6ff,#effbf7);color:var(--lf-accent);aspect-ratio:1;min-height:94px}.animal-photo-preview img{width:100%;height:100%;object-fit:cover}.animal-photo-preview i{font-size:26px}.animal-photo-profile{min-height:126px}.animal-table tbody td{padding-top:3px;padding-bottom:3px}.animal-table-photo{width:53px;height:53px;border-radius:15px;border:1px solid var(--lf-border);background:linear-gradient(135deg,#edf6ff,#eefbf7);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--lf-muted)}.animal-table-photo img{width:100%;height:100%;object-fit:cover}.animal-photo-history{margin-top:16px}.animal-photo-history h3{font-size:15px;margin:0 0 10px}.animal-photo-strip{display:flex;flex-wrap:wrap;gap:10px}.animal-photo-item{width:92px;margin:0}.animal-photo-item img{width:92px;height:72px;border-radius:16px;object-fit:cover;border:1px solid var(--lf-border)}.animal-photo-item figcaption{margin-top:4px;font-size:9px;color:var(--lf-muted);font-weight:var(--lf-weight-strong)}.animal-photo-field{display:grid;gap:8px}.form-grid.animal-form{grid-template-columns:220px minmax(0,1fr);align-items:start}.form-grid.animal-form h2{grid-column:1 / -1}.form-grid.animal-form .animal-photo-field{grid-column:1}.form-grid.animal-form .animal-photo-preview{min-height:220px}.animal-form-fields{display:grid;grid-column:2;grid-template-columns:repeat(3,minmax(180px,1fr));column-gap:14px;row-gap:12px;align-items:end}.animal-form-fields input,.animal-form-fields select{min-width:0;width:100%}.animal-form-fields label.with-action{grid-column:span 2}.animal-form-fields label.full-span{grid-column:1 / -1}.animal-form-fields textarea{min-height:96px;resize:vertical}.animal-form-actions{display:flex;gap:10px;align-items:end}.animal-form-actions button{min-width:150px}.upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:var(--lf-surface);color:var(--lf-text);cursor:pointer;gap:8px;font-weight:var(--lf-weight-strong);box-shadow:0 8px 18px #0f172a0a}.upload-button input{display:none}.option-manager{display:grid;grid-template-columns:minmax(220px,1fr) 160px;gap:10px;align-items:end}.option-manager .table-wrap{grid-column:1 / -1}.option-tabs{grid-column:1 / -1;display:inline-flex;width:fit-content;border:1px solid var(--lf-border);border-radius:999px;padding:3px;background:#f4f8ff}.option-tabs button{border:0;background:transparent;border-radius:999px;padding:6px 12px;color:var(--lf-muted);font-weight:var(--lf-weight-strong);cursor:pointer}.option-tabs button.active{background:#fff;color:var(--lf-text);box-shadow:0 8px 18px #0f172a14}.animal-status-tabs button{display:inline-flex;align-items:center;gap:6px}.animal-status-tabs span{color:inherit;font-size:11px;font-weight:var(--lf-weight-strong)}.animal-detail-header{display:flex;align-items:flex-start;gap:16px;padding:16px;background:var(--lf-surface);border:1px solid var(--lf-border);border-radius:16px}.adh-avatar{flex-shrink:0;width:72px;height:72px;border-radius:14px;overflow:hidden;background:var(--lf-accent);display:flex;align-items:center;justify-content:center}.adh-photo{width:100%;height:100%;object-fit:cover}.adh-initials{font-size:24px;font-weight:700;color:#fff;letter-spacing:1px}.adh-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.adh-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.adh-name{font-size:22px;font-weight:var(--lf-weight-strong);margin:0;line-height:1.2}.adh-name small{font-size:13px;font-weight:400;color:var(--lf-muted);margin-left:6px}.adh-edit-btn{flex-shrink:0}.adh-badges{display:flex;flex-wrap:wrap;gap:6px}.adh-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:10px;font-weight:var(--lf-weight-strong);background:var(--lf-hover);color:var(--lf-text);border:1px solid var(--lf-border)}.adh-badge--prod-lactating{background:#e8f5e9;border-color:#66bb6a;color:#1b5e20}.adh-badge--prod-dry{background:#fff3e0;border-color:#ffa726;color:#e65100}.adh-badge--prod-dry-off-pending{background:#fff8e1;border-color:#ffca28;color:#f57f17}.adh-badge--repro{background:#f3e5f5;border-color:#ab47bc;color:#4a148c}.adh-badge--status-exit{background:#fce4ec;border-color:#ef5350;color:#b71c1c}.adh-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--lf-muted)}.adh-meta span{display:flex;align-items:center;gap:4px}.adh-meta i{font-size:13px}@media(max-width:768px){.animal-detail-header{flex-direction:column;gap:12px;padding:12px}.adh-avatar{width:56px;height:56px}.adh-name{font-size:18px}.adh-edit-btn{display:none}}.animal-record-tabs{display:grid;gap:14px}.animal-record-tabs .option-tabs{width:100%;max-width:100%;flex-wrap:wrap;border-radius:var(--lf-radius-card)}.animal-record-tabs .option-tabs button{min-height:34px;white-space:nowrap}.form-help{color:var(--lf-muted);font-size:12px;line-height:1.35}.iatf-page-actions,.iatf-toolbar-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.iatf-protocol-panel{display:grid;gap:12px;padding:0;overflow:hidden}.iatf-recommendation-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.iatf-recommendation-panel h2{margin:2px 0 4px;font-size:17px;line-height:1.2}.iatf-recommendation-panel p,.iatf-recommendation-panel small{margin:0;color:var(--lf-muted);font-size:12px;line-height:1.4}.iatf-recommendation-panel .iatf-technical-review-impact{margin-top:3px;color:var(--lf-text)}.iatf-risk-summary{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.iatf-risk-summary span{min-height:28px;display:inline-flex;align-items:center;border:1px solid var(--lf-border);border-radius:999px;padding:4px 10px;background:#fff;color:var(--lf-muted);font-size:11px}.iatf-risk-summary .iatf-risk-badge{border-color:#2563eb33;color:var(--lf-text)}.iatf-risk-badge.risk-none{background:#eef8f0}.iatf-risk-badge.risk-watch{background:#fff7d6}.iatf-risk-badge.risk-alert{background:#ffe8d7}.iatf-risk-badge.risk-critical{background:#ffe2e2}.iatf-protocol-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--lf-border);background:linear-gradient(180deg,#fff,#f8fbff)}.iatf-protocol-toolbar h2{margin:0;font-size:18px;line-height:1.2}.iatf-protocol-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.iatf-protocol-meta span{min-height:24px;display:inline-flex;align-items:center;border:1px solid var(--lf-border);border-radius:999px;padding:3px 9px;background:#fff;color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong)}.iatf-toolbar-actions .btn-secondary,.iatf-toolbar-actions .btn-ghost{min-height:32px}.iatf-protocol-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.8fr) minmax(240px,1.2fr) minmax(140px,auto);gap:10px;align-items:center;padding:0 14px}.iatf-protocol-fields .farm-settings-switch-field{align-self:end}.iatf-climate-rule-card{display:grid;gap:10px;margin:0 14px;padding:12px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:#f8fbff}.iatf-climate-rule-heading{display:grid;gap:3px}.iatf-climate-rule-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.4fr) minmax(190px,auto);gap:10px;align-items:end}.iatf-climate-rule-grid .span-2{grid-column:auto}.iatf-climate-rule-grid .farm-settings-switch-field{min-height:36px}.iatf-climate-rule-grid input,.iatf-climate-rule-grid select{width:100%;min-width:0}.iatf-climate-risk-guide{display:grid;border-top:1px solid var(--lf-border);padding-top:8px}.iatf-climate-risk-guide[open]{gap:8px}.iatf-climate-risk-guide summary{width:fit-content;cursor:pointer;color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong);line-height:1.25}.iatf-climate-risk-guide p{margin:0;color:var(--lf-muted);font-size:12px;line-height:1.4}.iatf-climate-risk-guide dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.iatf-climate-risk-guide div{min-width:0;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:8px 9px;background:#ffffffbf}.iatf-climate-risk-guide dt{margin:0 0 3px;color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-title);line-height:1.2}.iatf-climate-risk-guide dd{margin:0;color:var(--lf-muted);font-size:11px;line-height:1.35}.iatf-switch{min-height:36px;display:flex;align-items:center;justify-content:flex-start;gap:8px;align-self:end;padding:0 10px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:var(--lf-surface-soft);color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong)}.iatf-switch input{min-height:auto;width:16px;height:16px}.iatf-phase-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 14px}.iatf-phase-tabs button{min-width:92px;min-height:48px;display:grid;gap:2px;justify-items:start;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:7px 10px;background:#fff;color:var(--lf-text);cursor:pointer;text-align:left}.iatf-phase-tabs button.active{border-color:#2563eb66;background:#eef6ff;color:var(--lf-accent)}.iatf-phase-tabs strong{font-size:13px;line-height:1}.iatf-phase-tabs span{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong)}.iatf-phase-editor{display:grid;gap:12px;margin:0 14px 14px;padding:12px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:#fbfdff}.iatf-phase-editor input,.iatf-phase-editor select{width:100%;min-width:0}.iatf-phase-editor label{min-width:0}.iatf-phase-editor-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.iatf-phase-editor-header h3{margin:0;font-size:15px;line-height:1.2}.iatf-day-badge{min-height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--lf-radius-control);background:linear-gradient(135deg,#2563eb,#0f9f8f);color:#fff;font-size:13px;font-weight:var(--lf-weight-strong);justify-self:start;padding:0 14px}.iatf-phase-fields{display:grid;grid-template-columns:120px 220px minmax(0,1fr);gap:12px;align-items:end}.iatf-phase-fields label:last-child{grid-column:auto}.iatf-action-list{display:grid;gap:8px}.iatf-action-row{display:grid;grid-template-columns:220px minmax(0,1fr) 96px 82px minmax(0,1fr) auto;gap:12px;align-items:end;padding:10px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:#fff}.iatf-action-row label:first-child,.iatf-action-row label:nth-child(2),.iatf-action-row label:nth-child(5){grid-column:auto}.iatf-action-row label:nth-child(3){grid-column:auto}.iatf-action-row label:nth-child(4){grid-column:auto}.iatf-action-row .iatf-icon-button{grid-column:auto;align-self:end}.iatf-icon-button{width:36px;min-width:36px;justify-content:center;padding-inline:0}.iatf-add-action{justify-self:start}.reproduction-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}.reproduction-form{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:#fff}.reproduction-form h3,.reproduction-cycle h3{margin:0;font-size:15px}.reproduction-form label{display:grid;gap:5px;font-weight:var(--lf-weight-strong);min-width:0}.reproduction-form input,.reproduction-form select,.reproduction-form textarea{width:100%;min-width:0}.reproduction-form .span-2{grid-column:1 / -1}.reproduction-dashboard{display:grid;gap:12px}.reproduction-dashboard .metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.reproduction-chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:10px}.health-form-grid{grid-template-columns:repeat(4,minmax(170px,1fr))}.health-form-grid label,.health-form-grid input,.health-form-grid select{min-width:0}.health-form-grid .span-2{grid-column:span 2}.health-form-grid .form-actions{align-self:end}.reproduction-chart{display:grid;gap:10px;min-width:0;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);padding:12px}.reproduction-chart h3{margin:0;font-size:15px}.chart-bars{display:grid;gap:10px}.chart-row{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr) minmax(28px,auto);gap:10px;align-items:center;min-width:0;font-size:12px;font-weight:400}.chart-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-row strong{font-weight:400}.chart-track{height:10px;overflow:hidden;border-radius:999px;background:#e6eef8}.chart-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0f9f8f)}.reproduction-event-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.reproduction-action-card{min-height:92px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);color:var(--lf-text);padding:12px;text-align:left;cursor:pointer;box-shadow:var(--lf-shadow-card)}.reproduction-action-card:hover{border-color:#2563eb61;background:linear-gradient(135deg,#fff,#eef6ff)}.reproduction-action-card strong{font-size:15px;line-height:1.25}.reproduction-event-modal{position:relative}.reproduction-event-modal .reproduction-form{border:0;box-shadow:none;padding:0}.modal-close-button{position:absolute;top:12px;right:12px;width:34px;min-width:34px;height:34px;min-height:34px;border:1px solid var(--lf-border);border-radius:10px;background:var(--lf-surface);color:var(--lf-muted);padding:0}.modal-close-button:hover{color:var(--lf-text);background:var(--lf-subtle)}.autocomplete-field{position:relative}.autocomplete-menu{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;max-height:220px;overflow-y:auto;padding:4px;border:1px solid var(--lf-border-strong);border-radius:var(--lf-radius-control);background:#fff;box-shadow:var(--lf-shadow-card)}.autocomplete-menu button{width:100%;min-height:34px;border:0;border-radius:10px;padding:8px 10px;background:transparent;color:var(--lf-text);cursor:pointer;font-size:12px;font-weight:var(--lf-weight-strong);text-align:left}.autocomplete-menu button:hover,.autocomplete-menu button.active{background:#eef6ff;color:var(--lf-accent)}.reproduction-registry-form{grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px;align-items:end}.reproduction-registry-form .span-2{grid-column:span 2}.reproduction-registry-form .span-full,.reproduction-registry-form h2{grid-column:1 / -1}.reproduction-registry-form .form-actions{display:grid;grid-template-columns:minmax(180px,240px) minmax(160px,220px);gap:14px;align-items:center}.reproduction-inventory{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.reproduction-cycle{padding:12px 0;border-top:1px solid var(--lf-border)}.reproduction-cycle:first-of-type{border-top:0}.row-actions{display:flex;gap:6px;justify-content:flex-end}.option-inline-input{width:min(420px,100%)}.btn-ghost.danger{color:#a33b2f}.settings-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,280px));gap:12px}.settings-pill{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:92px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);padding:18px;background:linear-gradient(135deg,#fff,#eef6ff);color:var(--lf-text);font-weight:var(--lf-weight-strong);text-decoration:none;overflow:hidden;box-shadow:var(--lf-shadow-card)}.settings-pill:hover{border-color:#2563eb47;color:var(--lf-accent);transform:translateY(-1px)}.settings-pill-icon{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:14px;background:#fff;color:var(--lf-accent);box-shadow:0 8px 16px #0f172a0f}.settings-pill span{position:relative;z-index:1}.settings-pill-bg{position:absolute;right:14px;bottom:-10px;font-size:76px;color:#2563eb1a}.settings-pill.sex{background:linear-gradient(135deg,#fff,#f0fdfa)}.settings-pill.function{background:linear-gradient(135deg,#fff,#fef3c7)}.admin-dashboard{gap:14px}.admin-dashboard .module-header p{margin:6px 0 0;color:var(--lf-muted);line-height:1.5}.admin-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:start}.admin-chart-grid-lower{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-chart-empty{padding:24px 0;text-align:center}.admin-donut-wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.admin-donut{width:150px;height:150px;flex:none}.admin-donut-total{text-anchor:middle;font-size:26px;font-weight:700;fill:var(--lf-text)}.admin-donut-caption{text-anchor:middle;font-size:10px;fill:var(--lf-muted);text-transform:lowercase}.admin-donut-legend{list-style:none;margin:0;padding:0;display:grid;gap:8px;flex:1;min-width:150px}.admin-donut-legend li{display:flex;align-items:center;gap:8px;font-size:13px}.admin-legend-dot{width:10px;height:10px;border-radius:3px;flex:none}.admin-legend-label{color:var(--lf-muted)}.admin-donut-legend strong{margin-left:auto;color:var(--lf-text)}.admin-bars{list-style:none;margin:0;padding:0;display:grid;gap:12px}.admin-bars li{display:grid;grid-template-columns:minmax(80px,130px) minmax(0,1fr) 34px;align-items:center;gap:10px}.admin-bar-label{font-size:13px;color:var(--lf-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-bar-track{height:10px;border-radius:999px;background:var(--lf-surface-soft);overflow:hidden}.admin-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0ea5e9);min-width:4px}.admin-bar-value{text-align:right;font-size:13px;color:var(--lf-text)}.admin-config-progress{height:8px;border-radius:999px;background:var(--lf-surface-soft);overflow:hidden;margin-bottom:14px}.admin-config-bar{height:100%;border-radius:999px;background:linear-gradient(90deg,#16a34a,#22c55e);transition:width .3s ease}.admin-config-list,.admin-registry-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}.admin-config-list li{display:flex;align-items:center;gap:10px;padding:10px 4px;font-size:13px;border-top:1px solid var(--lf-border)}.admin-config-list li:first-child{border-top:0}.admin-config-ok{color:#16a34a;font-size:18px}.admin-config-pending{color:var(--lf-border-strong);font-size:18px}.admin-config-cta{margin-left:auto;font-size:12px;font-weight:var(--lf-weight-strong);color:var(--lf-accent);text-decoration:none}.admin-config-cta:hover{text-decoration:underline}.admin-registry-list li+li{border-top:1px solid var(--lf-border)}.admin-registry-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 4px;font-size:13px;color:var(--lf-text);text-decoration:none}.admin-registry-list a:hover{color:var(--lf-accent)}.admin-registry-list strong{font-size:15px;font-weight:var(--lf-weight-strong)}.admin-shortcuts{display:flex;flex-wrap:wrap;gap:10px}.admin-shortcut{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--lf-border);border-radius:999px;background:var(--lf-surface-soft);color:var(--lf-text);font-size:13px;font-weight:var(--lf-weight-strong);text-decoration:none;transition:border-color .15s ease,color .15s ease,background .15s ease}.admin-shortcut i{color:var(--lf-accent);font-size:16px}.admin-shortcut:hover{border-color:#2563eb52;color:var(--lf-accent);background:#fff}@media(max-width:900px){.admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-chart-grid,.admin-chart-grid-lower{grid-template-columns:minmax(0,1fr)}}.milk-production-form{display:grid;gap:12px}.milk-form-grid{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.4fr) minmax(150px,.9fr) minmax(140px,.8fr);gap:10px;align-items:end}.milk-form-grid .span-2{grid-column:span 2}.milk-form-grid textarea{min-height:38px;resize:vertical}.milk-production-form button[type=submit]{width:min(220px,100%)}.task-form{display:grid;gap:12px}.task-form-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;align-items:end}.task-form-grid .span-2{grid-column:span 2}.task-form-grid .span-3{grid-column:span 3}.task-form textarea,.task-modal textarea{min-height:84px;resize:vertical}.task-row-overdue{background:#fff7ed}.task-row-overdue strong{margin-right:8px}.task-modal-backdrop{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:18px;background:#0f172a52}.task-modal{width:min(420px,100%);display:grid;gap:12px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);padding:18px;box-shadow:0 22px 60px #0f172a38}.task-event-modal{width:min(760px,100%);max-height:min(86vh,760px);overflow:auto}.task-event-summary,.task-event-form{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px}.task-event-summary{margin:0}.task-event-summary div{border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);padding:10px;background:var(--lf-subtle)}.task-event-summary dt{font-size:12px;color:var(--lf-muted);margin-bottom:4px}.task-event-summary dd{margin:0;font-weight:var(--lf-weight-strong)}.task-event-form label{display:grid;gap:6px;font-weight:var(--lf-weight-strong)}.task-event-form .span-2{grid-column:span 2}.task-event-form button[type=submit]{width:min(240px,100%)}.task-modal h2,.task-modal p{margin:0}.task-modal-actions{display:flex;justify-content:flex-end;gap:8px}.check-row{min-height:42px;display:flex;align-items:center;gap:8px}.check-row input{min-height:auto;width:16px;height:16px}.farm-profile-form h2{grid-column:1 / -1}.farm-profile-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}.farm-profile-form label,.farm-profile-form input,.farm-profile-form select{min-width:0;width:100%}.farm-profile-form button[type=submit]{width:min(220px,100%)}.lot-settings-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.4fr) auto;gap:12px;align-items:end}.lot-settings-actions{display:flex;gap:8px;align-items:center}.form-note{grid-column:1 / -1;margin:0;color:var(--lf-muted);font-size:11px;font-weight:var(--lf-weight-strong)}.animal-detail-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:16px;margin:0;padding:2px 0 0}.animal-detail-list div{min-width:0}.animal-detail-list dt{color:var(--lf-muted);font-size:9px;margin-bottom:4px}.animal-detail-list dd{margin:0;color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong)}.animal-operational-summary{display:grid;gap:14px}.summary-header{display:flex;align-items:start;justify-content:space-between;gap:14px}.summary-header h2{margin:2px 0 0;font-size:18px;line-height:1.25}.summary-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.animal-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.animal-summary-tile{min-width:0;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:var(--lf-surface-soft);padding:12px}.animal-summary-tile span,.animal-summary-tile small{display:block;color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong)}.animal-summary-tile strong{display:block;margin:6px 0 4px;color:var(--lf-text);font-size:15px;line-height:1.2;font-weight:var(--lf-weight-strong)}.animal-summary-tile.tone-warning{border-color:#d9770659;background:#fff7ed}.animal-summary-tile.tone-danger{border-color:#dc26264d;background:#fff1f2}.detail-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin:0}.detail-grid div{border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:10px;background:var(--lf-surface-soft)}.detail-grid dt{color:var(--lf-muted);font-size:9px}.detail-grid dd{margin:4px 0 0;color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong)}.animal-form-fields label.with-action span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.animal-notes-detail{grid-column:1 / -1}.animal-notes-detail dd{white-space:pre-wrap}.timeline-list{display:grid;gap:6px;margin:10px 0 0;padding-left:18px}.animal-timeline h2{font-size:18px;line-height:1.25}.timeline-list li{color:var(--lf-text);font-size:12px;line-height:1.35}.timeline-list span{color:var(--lf-muted);display:block;font-size:9px}.timeline-list strong{display:block;font-size:13px;font-weight:var(--lf-weight-strong)}.timeline-list p{margin:3px 0 0;color:var(--lf-muted);font-size:11px}.appearance-panel{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,420px);gap:18px;align-items:start}.appearance-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.appearance-modes button{min-height:84px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);color:var(--lf-text);display:flex;align-items:center;gap:10px;padding:16px;font-weight:var(--lf-weight-strong);cursor:pointer;box-shadow:var(--lf-shadow-card)}.appearance-modes button:disabled{cursor:not-allowed;opacity:.64}.appearance-modes button small{display:block;margin-top:4px;color:var(--lf-muted);font-size:10px}.appearance-modes button.active{border-color:#2563eb47;background:linear-gradient(135deg,#eef6ff,#effbf7)}.appearance-modes i{font-size:22px}.appearance-preview{position:relative;min-height:230px;border-radius:var(--lf-radius-card);background:linear-gradient(135deg,#0a1a0c,#102817);background-size:cover;background-position:center;display:flex;align-items:end;overflow:hidden}.appearance-preview div{position:relative;z-index:1;width:100%;padding:22px;color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.68))}.appearance-preview .weather-animated-bg{border-radius:inherit}.appearance-weather-options{grid-column:1 / -1;display:grid;gap:12px}.appearance-weather-options p{margin:4px 0 0;color:var(--lf-muted);font-size:13px;font-weight:var(--lf-weight-title)}.appearance-weather-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.appearance-weather-grid button{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px;border:1px solid var(--lf-border);border-radius:16px;background:linear-gradient(135deg,#fff,#f4f9ff);color:var(--lf-text);font-weight:var(--lf-weight-strong);cursor:pointer}.appearance-weather-grid button.active{border-color:#2563eb52;background:linear-gradient(135deg,#e8f4ff,#e9fbf5);box-shadow:0 12px 26px #2563eb1f}.appearance-weather-grid i{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;color:#0f83d5;background:#0ea5e91f}.appearance-preview span,.appearance-preview strong{display:block}.appearance-list{grid-column:1 / -1;display:grid;gap:12px}.appearance-url-row{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:10px;align-items:end}.upload-button.compact{min-height:42px;justify-content:center}.appearance-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.appearance-thumbs button{border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);padding:6px;cursor:pointer;box-shadow:var(--lf-shadow-soft)}.appearance-thumbs img{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:6px;display:block;margin-bottom:6px}.platform-page{min-height:100vh;display:grid;gap:18px;align-content:start;padding:28px clamp(20px,4vw,40px);width:100%;max-width:1180px;margin:0 auto;background:var(--lf-page-bg)}.platform-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.platform-header .eyebrow{color:var(--lf-accent);letter-spacing:.08em}.platform-header h1{margin:4px 0 0;color:var(--lf-text);font-size:27px;font-weight:var(--lf-weight-strong);letter-spacing:-.01em}.platform-header p{margin:8px 0 0;color:var(--lf-muted);max-width:720px;line-height:1.5}.platform-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.platform-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.platform-metrics .metric-card{transition:transform .15s ease,box-shadow .15s ease}.platform-metrics .metric-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px #1c27431a}.platform-audit-feed{list-style:none;margin:0;padding:0;display:grid;gap:2px}.platform-audit-item{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:center;padding:12px 8px;border-radius:10px;transition:background .12s ease}.platform-audit-item:hover{background:var(--lf-surface-soft)}.platform-audit-item+.platform-audit-item{border-top:1px solid var(--lf-border)}.platform-audit-body{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.platform-audit-body strong{color:var(--lf-text);font-weight:var(--lf-weight-strong)}.platform-audit-meta{color:var(--lf-muted);font-size:12px;white-space:nowrap}.platform-audit-empty{padding:20px 8px;color:var(--lf-muted);text-align:center}.audit-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.04em}.audit-badge-blue{background:#e0edff;color:#1d4ed8}.audit-badge-green{background:#dcfce7;color:#15803d}.audit-badge-amber{background:#fef3c7;color:#b45309}.audit-badge-red{background:#fee2e2;color:#b91c1c}.audit-badge-neutral{background:var(--lf-surface-soft);color:var(--lf-muted)}.smtp-settings .panel-title-row{align-items:flex-start;margin-bottom:16px}.smtp-settings h2{margin:0 0 4px;font-size:16px;display:flex;align-items:center;gap:6px;color:var(--lf-text)}.smtp-grid{display:grid;gap:12px}.smtp-host-port{display:flex;gap:10px;align-items:flex-end}.smtp-host-port label:first-child{flex:1}.smtp-two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.smtp-test-row{display:flex;gap:10px;align-items:flex-end}.smtp-test-row label{flex:1}.smtp-test-ok{margin:0;font-size:13px;font-weight:600;color:#16a34a}.smtp-footer{display:flex;gap:16px;align-items:center;padding-top:8px;border-top:1px solid var(--lf-border);margin-top:4px}.checkbox-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--lf-text);cursor:pointer}.checkbox-label input[type=checkbox]{width:16px;height:16px;min-height:0;flex:none;margin:0;padding:0;border:none;background:none;box-shadow:none;accent-color:var(--lf-accent);cursor:pointer}.platform-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--lf-border);border-radius:999px;background:#f4f8ff;width:fit-content;max-width:100%;overflow-x:auto}.platform-tab{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border-radius:999px;color:var(--lf-muted);font-size:13px;font-weight:var(--lf-weight-strong);text-decoration:none;white-space:nowrap;transition:background .15s ease,color .15s ease}.platform-tab:hover{color:var(--lf-text)}.platform-tab.active{background:#fff;color:var(--lf-text);box-shadow:0 8px 18px #0f172a14}.badge-green{padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;background:#dcfce7;color:#14532d}.badge-neutral{padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;background:var(--lf-surface-soft);color:var(--lf-muted)}.badge-amber{padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;background:#fef3c7;color:#92400e}.badge-red{padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;background:#fee2e2;color:#991b1b}.btn-link{background:none;border:none;padding:0;cursor:pointer;font-size:inherit;font-family:inherit;text-decoration:underline;color:var(--lf-accent)}.btn-link.danger{color:#dc2626}.platform-company-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.platform-company-actions .btn-ghost{font-size:11px;padding:5px 10px;white-space:nowrap}.platform-create-panel{max-width:640px}.platform-create-form{display:grid;gap:20px}.platform-create-form fieldset{border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);padding:16px;display:grid;gap:12px;margin:0}.platform-create-form legend{padding:0 6px;font-size:12px;font-weight:var(--lf-weight-strong);color:var(--lf-accent);text-transform:uppercase;letter-spacing:.04em}.platform-create-form label{display:grid;gap:5px;font-size:12px;font-weight:var(--lf-weight-strong);color:var(--lf-muted)}.platform-create-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.platform-create-hint{margin:0;font-size:12px;color:var(--lf-muted)}.platform-create-actions{display:flex;justify-content:flex-end}@media(max-width:560px){.platform-create-two-col{grid-template-columns:1fr}}@media(max-width:768px){.smtp-two-col{grid-template-columns:1fr}.smtp-host-port{flex-direction:column}.smtp-test-row{flex-direction:column;align-items:stretch}}.reports-page{align-content:start}.reports-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px;align-items:start}.readiness-list{display:grid;gap:10px}.readiness-row{display:grid;grid-template-columns:116px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--lf-border)}.readiness-row:last-child{border-bottom:0}.readiness-row strong{display:block;color:var(--lf-text);margin-bottom:2px}.readiness-row p{margin:0;color:var(--lf-muted);font-size:12px;line-height:1.45}.readiness-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;align-self:start;border-radius:6px;font-size:9px;font-weight:var(--lf-weight-strong);text-transform:uppercase;color:var(--lf-text);border:1px solid var(--lf-border);background:#f8fafc}.readiness-badge.status-available{color:#166534;background:#ecfdf3;border-color:#bbf7d0}.readiness-badge.status-partial{color:#92400e;background:#fffbeb;border-color:#fde68a}.readiness-badge.status-not_implemented{color:#475569;background:#f8fafc;border-color:#e2e8f0}.nutrition-form{grid-template-columns:repeat(5,minmax(120px,1fr))}.nutrition-form .form-actions,.nutrition-diet-form .form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nutrition-diet-form{display:grid;gap:16px}.nutrition-composition{display:grid;gap:10px}.nutrition-composition h2{margin:0;font-size:16px}.nutrition-composition-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,180px) auto;gap:8px;align-items:center}.nutrition-feeding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.stock-page .stock-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stock-page .stock-type-form{grid-template-columns:minmax(220px,1.2fr) minmax(160px,.8fr) minmax(140px,.6fr) minmax(220px,1fr) auto}.stock-page .stock-form label:last-of-type,.stock-page .stock-form .form-actions{grid-column:1 / -1}.stock-page .nutrition-feeding-grid{grid-template-columns:1fr}.stock-dashboard-page .module-header-actions a{display:inline-flex;align-items:center;gap:7px;text-decoration:none}.stock-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.stock-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.stock-chart-panel{min-height:260px}.stock-bar-list{display:grid;gap:12px}.stock-bar-row{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(160px,1fr) 36px;gap:10px;align-items:center}.stock-bar-row strong,.stock-bar-row span,.stock-bar-row em{display:block}.stock-bar-row strong{color:var(--lf-text);font-size:13px;line-height:1.25;font-weight:var(--lf-weight-strong)}.stock-bar-row span{margin-top:2px;color:var(--lf-muted);font-size:11px;line-height:1.25}.stock-bar-row i{position:relative;display:block;height:10px;overflow:hidden;border-radius:999px;background:#e8eef6}.stock-bar-row b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0f766e)}.stock-bar-row em{color:var(--lf-text);font-size:13px;font-style:normal;font-weight:var(--lf-weight-strong);text-align:right}.stock-nfe-panel{display:grid;gap:14px}.stock-nfe-panel .muted{margin:0;color:var(--lf-muted)}.stock-nfe-summary{display:flex;flex-wrap:wrap;gap:10px 18px;color:var(--lf-text)}.stock-nfe-table td{vertical-align:top}.stock-nfe-table small{display:block;color:var(--lf-muted);margin-top:4px}.stock-nfe-table input,.stock-nfe-table select{width:100%;min-width:130px;margin-bottom:6px}.stock-nfe-new-item{display:grid;gap:6px}.financial-inline-row input,.financial-inline-row select{width:100%;min-width:110px}.financial-due-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.financial-due-card{min-height:88px}.financial-due-card.is-danger{border-color:#dc26263d}.financial-due-card.is-danger .mc-icon{color:#dc2626;background:#fef2f2}.financial-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.financial-action-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-height:74px;padding:12px 14px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:var(--lf-surface);color:var(--lf-text);text-decoration:none;box-shadow:var(--lf-shadow-card)}.financial-action-card:hover{border-color:#2563eb61;background:linear-gradient(135deg,#fff,#eef6ff)}.financial-action-card strong{display:block;font-size:15px;line-height:1.2}.financial-action-card small{display:block;margin-top:3px;color:var(--lf-muted);font-size:11px;font-weight:var(--lf-weight-strong);line-height:1.25}.financial-forecast-panel{display:grid;justify-self:start;width:min(100%,760px);gap:6px;padding:10px 12px}.financial-page .metric-card{min-height:92px;padding:12px 14px}.financial-page .mc-icon{width:26px;height:26px;border-radius:9px}.financial-page .mc-value{font-size:22px;margin-top:9px}.financial-page .mc-label{font-size:11px}.financial-forecast-title{margin-bottom:0}.financial-forecast-panel h2{font-size:15px;line-height:1.2}.financial-forecast-chart{min-height:128px;overflow-x:auto;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f6f9fd)}.financial-forecast-chart svg{display:block;width:100%;min-width:560px;height:128px}.financial-forecast-grid{stroke:#e2e8f0;stroke-width:1}.financial-forecast-zero{stroke:#94a3b8;stroke-width:1.5}.financial-forecast-y,.financial-forecast-x{fill:var(--lf-muted);font-size:10px}.financial-forecast-y{text-anchor:end}.financial-forecast-x{text-anchor:middle}.financial-forecast-legend{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center}.financial-forecast-legend span{display:inline-flex;align-items:center;gap:6px;color:var(--lf-muted);font-size:11px}.financial-forecast-legend i{width:14px;height:3px;border-radius:999px}.health-operational-summary{display:grid;gap:16px}.health-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.health-summary-tile{display:grid;gap:6px;min-height:112px;padding:14px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:#fff}.health-summary-tile span{color:var(--lf-muted);font-size:11px;font-weight:var(--lf-weight-strong);letter-spacing:0;text-transform:uppercase}.health-summary-tile strong{color:var(--lf-text);font-size:28px;line-height:1}.health-summary-tile small{color:var(--lf-muted);font-size:12px;line-height:1.35}.health-summary-tile.tone-warning{border-color:#d9770659;background:#fff9ed}.health-summary-tile.tone-danger{border-color:#dc262652;background:#fff5f5}.health-events-panel{display:grid;gap:14px}.health-batch-grid{align-items:end}.health-batch-grid h2{margin:2px 0 0;font-size:18px;line-height:1.2}.health-batch-note{margin:0;color:var(--lf-muted);font-size:12px;line-height:1.4}.health-filter-bar{display:grid;grid-template-columns:minmax(220px,1.3fr) repeat(2,minmax(160px,1fr));gap:12px}.health-filter-bar label{display:grid;gap:6px;color:var(--lf-muted);font-size:12px;font-weight:var(--lf-weight-strong)}@media(max-width:720px){.milk-form-grid,.animal-form-fields,.health-form-grid,.health-filter-bar,.task-event-summary,.task-event-form,.iatf-recommendation-panel,.iatf-protocol-toolbar,.iatf-protocol-fields,.iatf-climate-rule-grid,.iatf-phase-editor-header,.iatf-phase-fields,.iatf-action-row{grid-template-columns:1fr}.iatf-protocol-toolbar{align-items:start}.iatf-toolbar-actions,.iatf-risk-summary,.iatf-page-actions{justify-content:flex-start}.iatf-climate-risk-guide dl{grid-template-columns:1fr}.iatf-day-badge,.iatf-icon-button{width:fit-content;min-width:36px}.health-form-grid .span-2,.task-event-form .span-2{grid-column:1}.form-grid.animal-form{grid-template-columns:1fr}.form-grid.animal-form .animal-photo-field,.animal-form-fields{grid-column:1}.reproduction-registry-form,.reproduction-registry-form .form-actions{grid-template-columns:1fr}.reproduction-registry-form .span-2,.reproduction-registry-form .span-full{grid-column:1}.nutrition-form,.nutrition-composition-row,.nutrition-feeding-grid,.stock-dashboard-grid,.stock-dashboard-metrics,.stock-page .stock-form,.stock-page .stock-type-form{grid-template-columns:1fr}.stock-bar-row{grid-template-columns:minmax(0,1fr)}.stock-bar-row em{text-align:left}.stock-page .stock-form label:last-of-type,.stock-page .stock-form .form-actions{grid-column:1}.financial-action-grid{grid-template-columns:1fr}}.animal-dash-top{display:grid;grid-template-columns:1fr 260px;gap:10px;align-items:stretch}.animal-dash-hero{display:flex;flex-direction:column;min-height:148px}.animal-dash-hero .mc-value{font-size:46px;margin-top:6px}.animal-dash-hero-link{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:5px 12px;border-radius:999px;background:#ffffff2e;border:1px solid rgba(255,255,255,.28);color:#fff;font-size:12px;font-weight:var(--lf-weight-strong);cursor:pointer}.animal-dash-hero-link:hover{background:#ffffff4d}.animal-dash-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.animal-dash-action-btn{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:64px;padding:10px 12px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:var(--lf-surface-soft);color:var(--lf-text);font-size:12px;font-weight:var(--lf-weight-strong);cursor:pointer;text-align:left}.animal-dash-action-btn:hover{border-color:var(--lf-accent);background:#eef6ff;color:var(--lf-accent)}.animal-dash-action-btn i{font-size:17px;color:var(--lf-accent)}.animal-dash-action-btn:hover i{color:inherit}.animal-dash-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.animal-dash-stat-list{display:grid}.animal-dash-stat{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--lf-border)}.animal-dash-stat:last-child{border-bottom:0;padding-bottom:0}.animal-dash-stat span{color:var(--lf-muted);font-size:12px;font-weight:var(--lf-weight-strong)}.animal-dash-stat strong{color:var(--lf-text);font-size:20px;font-weight:var(--lf-weight-strong);line-height:1}@media(max-width:768px){.animal-dash-top,.animal-dash-groups{grid-template-columns:1fr}}.badge-slate{padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;background:#e2e8f0;color:#334155}.lifecycle-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}.lifecycle-tab{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border:1px solid var(--lf-border);border-radius:100px;background:var(--lf-surface);color:var(--lf-muted);font-size:13px;font-weight:var(--lf-weight-strong);cursor:pointer}.lifecycle-tab:hover{border-color:var(--lf-accent);color:var(--lf-accent)}.lifecycle-tab.active{background:var(--lf-accent);border-color:var(--lf-accent);color:#fff}.lifecycle-count{min-width:20px;padding:0 6px;border-radius:100px;background:var(--lf-surface-soft);color:var(--lf-muted);font-size:11px;line-height:18px;text-align:center}.lifecycle-tab.active .lifecycle-count{background:#ffffff3d;color:#fff}.platform-detail-status{margin-left:10px;vertical-align:middle}.platform-detail-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.platform-detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin:0}.platform-detail-grid dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--lf-muted);font-weight:var(--lf-weight-strong)}.platform-detail-grid dd{margin:4px 0 0;font-size:15px;font-weight:var(--lf-weight-strong)}.platform-detail-reason{margin:14px 0 0;font-size:13px;color:var(--lf-muted)}.platform-status-change{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid var(--lf-border)}.platform-status-change:last-child{border-bottom:none}.platform-status-change-line{display:inline-flex;align-items:center;gap:8px}.platform-status-reason{font-size:13px;color:var(--lf-text)}.ui-modal-body{display:grid;gap:12px}.ui-modal-desc{margin:0;font-size:13px;color:var(--lf-muted)}.ui-form{display:grid;gap:12px}.ui-form .field{display:grid;gap:5px;font-size:12px;font-weight:var(--lf-weight-strong);color:var(--lf-muted)}.ui-form .field input,.ui-form .field textarea,.ui-form .field select{width:100%;box-sizing:border-box}.ui-form .field textarea{resize:vertical}.ui-form .field-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--lf-text)}.ui-form .field-check input{width:16px;height:16px;flex:none}.ui-form-error{margin:0;font-size:13px;color:#dc2626;font-weight:var(--lf-weight-strong)}.btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.btn.danger:hover{background:#b91c1c;border-color:#b91c1c}.platform-page .panel,.platform-page .metric-card,.platform-page .task-modal{border-radius:8px}.sa-shell{--lf-page-bg: #f1f5f9;--lf-surface: #ffffff;--lf-surface-soft: #f8fafc;--lf-border: #e2e8f0;--lf-text: #0f172a;--lf-muted: #64748b;--lf-accent: #1a56db;--lf-radius-card: 8px;--sa-w: 288px;--sa-bg: #0d1424;min-height:100vh;background:var(--lf-page-bg);color:var(--lf-text)}.sa-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;width:var(--sa-w);background:var(--sa-bg);color:#fff;border-right:1px solid rgba(255,255,255,.1);transition:transform .2s ease}.sa-sidebar-head{padding:24px;border-bottom:1px solid rgba(255,255,255,.1)}.sa-brand{margin:0;font-size:20px;font-weight:600;color:#fff}.sa-badge-super{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.04em;background:#f3e8ff;color:#7e22ce}.sa-badge-super .sa-dot{width:6px;height:6px;border-radius:999px;background:currentColor}.sa-nav{display:grid;gap:4px;padding:16px 12px}.sa-nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:500;color:#ffffffb3;text-decoration:none;transition:background .15s ease,color .15s ease}.sa-nav-item:hover{background:#ffffff1a;color:#fff}.sa-nav-item.active{background:var(--lf-accent);color:#fff}.sa-nav-item i{font-size:18px;width:20px;text-align:center}.sa-sidebar-foot{margin-top:auto;padding:16px;border-top:1px solid rgba(255,255,255,.1)}.sa-user{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;background:#ffffff0d}.sa-user-avatar{width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;background:var(--lf-accent);flex:none}.sa-user-name{margin:0;font-size:14px;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sa-user-email{margin:0;font-size:12px;color:#ffffff8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sa-logout{margin-top:12px;width:100%;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:#ffffff1a;color:#fff;font-weight:500;cursor:pointer;transition:background .15s ease}.sa-logout:hover{background:#ffffff29}.sa-main{min-height:100vh}.sa-topbar{position:sticky;top:0;z-index:20;height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(16px,3vw,24px);border-bottom:1px solid var(--lf-border);background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sa-topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.sa-crumb{margin:0;font-size:12px;color:var(--lf-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sa-title{margin:0;font-size:18px;font-weight:600;color:var(--lf-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sa-topbar-actions{display:flex;align-items:center;gap:8px;flex:none}.sa-icon-btn{height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--lf-border);background:var(--lf-surface);color:var(--lf-text);cursor:pointer}.sa-content{padding:clamp(16px,3vw,24px)}.sa-shell .platform-page{min-height:auto;padding:0;max-width:none;margin:0;gap:20px;background:transparent}.sa-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sa-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.sa-detail-head h1{margin:0;font-size:22px;font-weight:var(--lf-weight-strong);color:var(--lf-text);display:inline-flex;align-items:center}.sa-menu-btn{display:none;height:38px;width:38px;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--lf-border);background:var(--lf-surface);cursor:pointer}.sa-overlay{display:none}@media(min-width:768px){.sa-main{margin-left:var(--sa-w)}}@media(max-width:767px){.sa-sidebar{transform:translate(-100%)}.sa-sidebar.open{transform:translate(0)}.sa-menu-btn{display:inline-flex}.sa-overlay.open{display:block;position:fixed;inset:0;z-index:20;background:#0006}}.indicators-filter-panel{grid-template-columns:repeat(2,minmax(180px,220px)) minmax(220px,1fr);align-items:end}.indicator-period-note{color:var(--lf-muted);font-size:12px;font-weight:var(--lf-weight-strong);padding-bottom:13px}.indicators-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.indicators-page .data-panel h2{margin-bottom:12px}@media(max-width:900px){.indicators-filter-panel,.indicators-metric-grid{grid-template-columns:1fr}.indicator-period-note{padding-bottom:0}}.milk-dashboard{display:grid;grid-template-columns:600px minmax(320px,360px);align-items:start;gap:10px;justify-content:start;padding:10px;border:1px solid #dbe7f3;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#f5f1ff 48%,#effaf7);box-shadow:0 12px 24px #1f2d4c12}.milk-dashboard-kpis{display:grid;grid-column:1 / -1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.milk-kpi,.milk-trend-card,.milk-dashboard-side,.milk-ranking-card{border:1px solid rgba(151,170,198,.28);border-radius:16px;background:#ffffffeb;color:#12213a;box-shadow:0 10px 20px #1c274312}.milk-kpi{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:13px 26px 13px;align-content:center;align-items:start;column-gap:10px;row-gap:2px;height:92px;padding:10px 12px}.milk-kpi-icon{grid-column:1;grid-row:1 / 4;align-self:start;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-size:16px;box-shadow:inset 0 1px #ffffff4d}.milk-kpi .milk-kpi-icon{color:#fff}.milk-kpi.green .milk-kpi-icon{background:linear-gradient(135deg,#0ea5e9,#14b8a6)}.milk-kpi.blue .milk-kpi-icon{background:linear-gradient(135deg,#6366f1,#38bdf8)}.milk-kpi.amber .milk-kpi-icon{background:linear-gradient(135deg,#f59e0b,#fb7185)}.milk-kpi span,.milk-kpi small,.milk-trend-card small,.milk-trend-card header span{color:#66758c;font-size:10px;font-weight:var(--lf-weight-title)}.milk-kpi>span:not(.milk-kpi-icon),.milk-kpi strong,.milk-kpi small{grid-column:2;min-width:0}.milk-kpi strong{color:#101b32;font-size:22px;line-height:1.1}.milk-trend-card{grid-column:1;grid-row:2;width:600px;height:250px;min-height:0;padding:12px}.milk-trend-card header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:6px}.milk-trend-card header>div:first-child{min-width:0}.milk-trend-card h2{margin:4px 0 0;color:#101b32;font-size:17px}.milk-trend-card header strong{color:#2563eb;font-size:18px}.milk-trend-actions{display:grid;justify-items:end;gap:6px;min-width:260px}.milk-grain-toggle{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;padding:4px;border:1px solid rgba(151,170,198,.32);border-radius:14px;background:#f3f7fd}.milk-grain-toggle button{min-height:30px;border:0;border-radius:10px;background:transparent;color:#66758c;cursor:pointer;font-size:10px;font-weight:var(--lf-weight-strong);padding:0 8px}.milk-grain-toggle button.active{background:#2563eb;color:#fff;box-shadow:0 8px 18px #2563eb38}.milk-trend-card svg{width:100%;height:150px;min-height:0;overflow:visible}.milk-trend-card line:not(.milk-chart-axis){stroke:#66758c29;stroke-width:1}.milk-chart-area{fill:url(#milkTrendFill)}.milk-chart-line{fill:none;stroke:#2563eb;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.milk-chart-axis{stroke:#66758c57;stroke-width:1}.milk-chart-tick line{stroke:#66758c6b;stroke-width:1}.milk-chart-tick text{fill:#66758c;font-size:12px;font-weight:var(--lf-weight-strong);text-anchor:middle}.milk-chart-y-tick text{fill:#66758c;font-size:11px;font-weight:var(--lf-weight-strong);text-anchor:end}.milk-dashboard-side{grid-column:2;grid-row:2;display:grid;grid-template-rows:auto repeat(3,minmax(34px,1fr)) auto;align-content:stretch;align-self:start;gap:6px;width:100%;height:250px;padding:12px;background:linear-gradient(160deg,#eef6ff,#e8f7ff 52%,#e7fbf7);color:#10213d;overflow:hidden}.milk-dashboard-side h2{margin:0;color:#10213d;font-size:16px}.milk-dashboard-side span,.milk-dashboard-side small{color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-title)}.milk-mode-row{display:grid;gap:3px}.milk-mode-row strong{color:#10213d;font-size:16px}.milk-mode-row i{display:block;min-width:10px;height:7px;border-radius:999px}.milk-mode-row i.animal{background:#67e8f9}.milk-mode-row i.lot{background:#c4b5fd}.milk-mode-row i.period{background:#fde68a}.milk-latest{border-top:1px solid rgba(101,117,139,.2);padding-top:8px}.milk-latest strong{display:block;color:#10213d;font-size:14px;margin-top:4px}.milk-ranking-card{display:grid;grid-column:1 / -1;gap:8px;padding:12px}.milk-ranking-card header{display:flex;justify-content:space-between;gap:10px;align-items:start}.milk-ranking-card header span,.milk-ranking-card p,.milk-ranking-row small{color:#66758c;font-size:10px;font-weight:var(--lf-weight-title)}.milk-ranking-card h2{margin:4px 0 0;color:#101b32;font-size:16px}.milk-ranking-card header strong{color:#2563eb;font-size:18px}.milk-ranking-list{display:grid;gap:8px}.milk-ranking-row{display:grid;grid-template-columns:28px minmax(150px,1fr) minmax(120px,2fr) 84px;gap:8px;align-items:center}.milk-ranking-row>span{display:grid;width:28px;height:28px;place-items:center;border-radius:10px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:var(--lf-weight-strong)}.milk-ranking-row strong{display:block;color:#101b32;font-size:13px}.milk-ranking-row i{display:block;height:9px;overflow:hidden;border-radius:999px;background:#e6eef8}.milk-ranking-row b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#14b8a6)}.milk-ranking-row em{color:#101b32;font-size:13px;font-style:normal;font-weight:var(--lf-weight-strong);text-align:right}.milk-filter-panel{border-color:#dbe7f3;border-radius:20px;background:#fbfdff;box-shadow:0 14px 28px #1c27430d}.milk-records-panel{border-color:#dbe7f3;border-radius:20px}@media(max-width:1100px){.milk-dashboard{grid-template-columns:1fr}.milk-dashboard-kpis,.milk-trend-card,.milk-dashboard-side{grid-column:1;grid-row:auto}.milk-trend-card,.milk-dashboard-side{width:100%;height:auto}}@media(max-width:720px){.milk-dashboard,.milk-dashboard-kpis{grid-template-columns:1fr}.milk-kpi{height:auto;min-height:92px}.milk-trend-card header,.milk-trend-actions{justify-items:start;min-width:0;width:100%}.milk-trend-card header{display:grid}.milk-ranking-row{grid-template-columns:28px minmax(0,1fr)}.milk-ranking-row i,.milk-ranking-row em{grid-column:2}.milk-ranking-row em{text-align:left}}.form-grid{display:grid;grid-template-columns:repeat(5,minmax(118px,1fr));gap:10px;align-items:end}.form-grid.task-filter-panel{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.form-grid h2{grid-column:1 / -1}.farm-settings-form{grid-template-columns:repeat(auto-fit,150px);gap:12px;justify-content:start}.farm-settings-form label{width:150px}.farm-settings-form input:not([type=checkbox]),.farm-settings-form select{width:150px;height:36px;min-height:36px}.farm-settings-form input[type=checkbox]{width:36px;height:36px;min-height:36px;justify-self:start}.farm-settings-form .farm-settings-policy-field{grid-column:span 2;width:190px}.farm-settings-form .farm-settings-policy-field select{width:190px}.farm-settings-switch-field{display:grid;gap:4px;width:150px;align-content:start;font-size:10px;color:var(--lf-muted);font-weight:var(--lf-weight-strong);min-height:64px}.measurement-unit-active-field{align-self:end;min-height:53px}.switch-control{position:relative;display:inline-flex;align-items:center;width:50px;height:30px;min-height:30px;padding:0;border-radius:999px;background:#d7e2ee;border:1px solid var(--lf-border-strong);box-shadow:inset 0 1px 2px #10213d1f;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}.switch-thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:999px;background:#fff;box-shadow:0 2px 6px #10213d3d;transition:transform .18s ease}.switch-control[aria-checked=true]{background:linear-gradient(135deg,var(--lf-accent),#0f9f8f);border-color:transparent;box-shadow:0 8px 16px #2563eb2e}.switch-control[aria-checked=true] .switch-thumb{transform:translate(20px)}.switch-control:focus-visible{box-shadow:0 0 0 3px #2563eb24;outline:none}.switch-control:disabled{cursor:not-allowed;opacity:.65}.farm-settings-form button[type=submit]{width:150px;min-height:36px}.day-input-field{width:60px}.day-input-field input{width:60px;height:36px;min-height:36px}.health-product-form{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px 22px;align-items:start}.health-product-heading{min-width:0}.health-product-heading h2{margin:4px 0 0;line-height:1.12}.health-product-heading p{margin:8px 0 0;color:var(--lf-muted);font-size:12px;line-height:1.35}.health-product-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end;min-width:0}.health-product-fields input,.health-product-fields select{width:100%}.health-product-fields .day-input-field{width:60px}.health-product-fields .health-product-notes{grid-column:span 2}@media(max-width:900px){.health-product-form{grid-template-columns:1fr}.health-product-fields .health-product-notes{grid-column:1 / -1}}.health-product-fields .form-actions{align-self:end}.health-product-fields .form-actions button[type=submit]{min-width:80px}.stock-form-context{grid-column:1 / -1;display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);background:var(--lf-surface-soft);color:var(--lf-muted);font-size:12px;line-height:1.35}.stock-form-context i{color:var(--lf-accent);font-size:15px}label{display:grid;gap:4px;font-size:10px;color:var(--lf-muted);font-weight:var(--lf-weight-strong)}input,select,textarea{min-height:36px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-control);padding:7px 10px;font-size:12px;color:var(--lf-text);background:linear-gradient(180deg,#fff,var(--lf-surface-soft));box-shadow:inset 0 1px #fffc;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}input:focus,select:focus,textarea:focus{border-color:var(--lf-accent);box-shadow:0 0 0 3px #2563eb1f;outline:none;background:#fff}button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:0;border-radius:var(--lf-radius-control);background:linear-gradient(135deg,var(--lf-accent),#0f9f8f);color:#fff;padding:8px 14px;cursor:pointer;font-size:10px;font-weight:var(--lf-weight-strong);box-shadow:0 10px 22px #2563eb33;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}button[type=submit].is-saved{background:linear-gradient(135deg,var(--lf-success),#0f766e);box-shadow:0 10px 22px #16a34a38}label.required>span:first-child:after,label.required:after{content:" *";color:#e24b4a;font-weight:500}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(180deg,#f8fbff 0,var(--lf-page-bg) 100%)}.auth-card{width:min(390px,100%);display:grid;gap:13px;padding:22px;border:1px solid var(--lf-border);border-radius:var(--lf-radius-card);background:#ffffffeb;box-shadow:var(--lf-shadow-card)}.auth-card h1{margin:0;color:var(--lf-text);font-weight:var(--lf-weight-strong)}.auth-hint{margin:0;font-size:13px;color:var(--lf-muted);line-height:1.5}.auth-hint-small{margin:-6px 0 0;font-size:11px;color:var(--lf-muted)}.auth-info{margin:0;padding:10px 12px;border-radius:8px;font-size:13px;color:#14532d;background:#dcfce7;border:1px solid #86efac}.auth-back{width:100%;justify-content:center;font-size:13px;color:var(--lf-muted)}.farm-select{min-width:180px;max-width:260px;min-height:38px;border:1px solid var(--lf-border);border-radius:999px;background:var(--lf-surface);color:var(--lf-text);padding:8px 12px;font-size:12px;font-weight:400}.farm-status{color:var(--lf-muted);font-size:11px;font-weight:400}.table-scroll{overflow-x:auto;border-radius:var(--lf-radius-card)}table{width:100%;border-collapse:collapse;min-width:560px}th,td{padding:13px 10px;border-bottom:1px solid var(--lf-border);text-align:left;color:var(--lf-text);font-size:12px}th{color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong);text-transform:uppercase}tbody tr{transition:background .16s ease}tbody tr:hover{background:#f4f8ff}.error{color:#b42318;font-size:10px;font-weight:var(--lf-weight-strong)}.feedback-state,.module-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--lf-muted)}.feedback-state i,.module-empty i{color:var(--lf-accent);font-size:30px}.feedback-state p,.module-empty p{margin:0;font-size:12px}.lf-spinner{width:28px;height:28px;border:3px solid #dbe7f4;border-top-color:var(--lf-accent);border-radius:50%;animation:spin .8s linear infinite}.toast-stack{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:8px;max-width:360px;pointer-events:none}.toast-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:450;color:#fff;box-shadow:0 8px 24px #0000002e;animation:toast-in .22s ease both;pointer-events:auto;border:1px solid rgba(255,255,255,.15)}@keyframes toast-in{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.toast-success{background:#1a4d2e}.toast-error{background:#4d1a1a}.toast-warning{background:#4d3a0a}.toast-info{background:#1a2e4d}.toast-item .ti{font-size:17px;flex-shrink:0}.toast-item span{flex:1;line-height:1.4}.toast-dismiss{background:transparent;border:none;color:#fff9;cursor:pointer;padding:2px;min-height:auto;display:flex;align-items:center;flex-shrink:0}.toast-dismiss:hover{color:#fff}.toast-dismiss .ti{font-size:14px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:12px;color:var(--lf-muted);font-size:10px;font-weight:var(--lf-weight-strong)}.pagination button{width:34px;height:34px;border:1px solid var(--lf-border);border-radius:12px;background:var(--lf-surface);color:var(--lf-accent);cursor:pointer;box-shadow:var(--lf-shadow-soft)}.pagination button:disabled{color:#a6b4c5;cursor:not-allowed;box-shadow:none}html,body,#root,button,input,textarea,select{font-family:var(--font-sans)}body{font-size:14px;font-weight:400}button,.btn,.btn-primary,.btn-ghost,.module-card,.home-weather-card,.home-weather-empty,.sb-item,.sb-subitem{font-weight:var(--lf-weight-title)}input,textarea,select,td,p,small{font-weight:400}label,th,.eyebrow,.mc-label,.mc-delta,.table-actions,.pagination,.sb-section-label,.farm-card span,.home-weather-head span,.home-weather-card span,.weather-card-kicker,.weather-status-row span,.weather-hour-card span,.weather-widget span,.weather-mini span,.weather-alert span,.weather-day-card span{font-weight:500}.module-header h1,.module-empty h1{font-size:clamp(24px,2vw,30px);font-weight:var(--lf-weight-title);line-height:1.08}.panel h2,.panel-title-row h2,.data-panel h2,.weather-section h2{font-weight:var(--lf-weight-title)}.metric-card{min-height:84px}.mc-value{font-size:20px;font-weight:var(--lf-weight-title)}.module-card{min-height:88px;padding:16px 14px 14px}.module-label{font-size:12px;font-weight:400}.sb-logo strong,.sb-title,.sb-item,.sb-subitem,.farm-card strong{font-weight:var(--lf-weight-title)}.sb-item,.sb-subitem{font-size:12px}.home-weather-widgets{max-width:820px;padding:10px}.home-weather-head strong{font-size:14px;font-weight:450}.home-weather-head button{min-height:32px;font-size:10px;font-weight:400}.home-weather-card{min-height:96px;padding:10px;border-radius:18px}.home-weather-card i{width:28px;height:28px;border-radius:12px;font-size:16px}.home-weather-card strong{font-size:15px;font-weight:450}.home-weather-card small{font-size:10px;font-weight:400}.weather-ios-shell .weather-header h1{font-size:clamp(25px,2.4vw,30px);font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-header p{max-width:680px;font-size:13px;font-weight:400}.weather-refresh-box{font-weight:500}.weather-refresh-box small{font-weight:400}.weather-ios-shell .weather-glass-card{border-radius:24px}.weather-ios-shell .weather-hero{min-height:154px;grid-template-columns:minmax(0,1fr) 164px}.weather-location-pill{min-height:26px;margin-bottom:8px;font-size:10px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-current-main strong{font-size:34px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-current-main span{font-size:13px;font-weight:400}.weather-current-range{font-size:10px;font-weight:450}.weather-action-summary{gap:4px}.weather-action-summary span{min-height:28px;font-weight:450}.weather-action-summary i{font-size:14px}.weather-ios-shell .panel-title-row h2{font-size:15px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-mini{min-height:48px}.weather-ios-shell .weather-mini strong{font-size:12px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-widget{min-height:68px}.weather-ios-shell .weather-widget strong,.weather-hour-card strong,.weather-ios-shell .weather-day-card strong{font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-alert h3{font-size:12px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-alert p,.weather-ios-shell .weather-recommendations li{font-weight:400}.weather-hour-card{min-height:50px}.weather-hour-card i{font-size:15px}.weather-ios-shell .weather-day-card{min-height:68px}.weather-ios-shell .weather-day-card i{font-size:15px}.weather-ios-shell{gap:9px;padding:12px}.weather-ios-shell .weather-header{margin-bottom:2px}.weather-ios-shell .eyebrow{margin-bottom:2px;color:#e2f1ff9e;font-size:9px;font-weight:500;text-transform:none}.weather-ios-shell .weather-header h1{font-size:clamp(22px,2vw,27px);font-weight:var(--lf-weight-title);line-height:1.05}.weather-ios-shell .weather-header p{max-width:620px;margin-top:5px;color:#e5f4ffad;font-size:12px;line-height:1.38}.weather-refresh-box{min-width:176px;gap:3px;color:#e5f4ffb8;font-size:11px}.weather-refresh-box small{max-width:180px;color:#e5f4ff7a;font-size:9px;line-height:1.25}.weather-refresh-box .btn-ghost{min-height:30px;padding:5px 10px;border-color:#ffffff24;background:#ffffff14;font-size:11px;font-weight:520}.weather-ios-shell .weather-glass-card{border-color:#ffffff1f;border-radius:22px;background:linear-gradient(145deg,#ffffff1f,#ffffff0b),#09192c61;box-shadow:0 18px 42px #00000029;-webkit-backdrop-filter:blur(22px) saturate(132%);backdrop-filter:blur(22px) saturate(132%)}.weather-dashboard-grid{grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr);gap:8px}.weather-ios-shell .weather-hero{min-height:148px;padding:12px 14px;grid-template-columns:minmax(0,1fr) 156px;background:linear-gradient(145deg,#2263aa5c,#091e376b),#091f3961}.weather-location-pill{min-height:24px;margin-bottom:7px;padding:4px 9px;background:#7dd3fc38;font-size:10px}.weather-ios-shell .weather-current-main{margin-top:3px}.weather-ios-shell .weather-current-main strong{font-size:32px;font-weight:var(--lf-weight-title);line-height:.98}.weather-ios-shell .weather-current-main span{margin-top:5px;color:#ecf8ffb8;font-size:12px}.weather-current-range{margin-top:5px;color:#ecf8ff94;font-size:10px}.weather-action-summary{gap:5px;align-self:center}.weather-action-summary span{min-height:27px;padding:4px 7px;border-color:#ffffff1a;border-radius:999px;background:#ffffff12;color:#f0f9ffb8;font-size:10px}.weather-action-summary i{color:#bae6fdd1;font-size:13px}.weather-highlight-panel{min-height:148px;padding:12px}.weather-ios-shell .weather-highlight-panel .panel-title-row h2{font-size:16px}.weather-highlight-grid{gap:6px}.weather-ios-shell .weather-highlight-grid .weather-mini{min-height:43px;padding:6px;border-color:transparent;background:#ffffff0f;box-shadow:none}.weather-ios-shell .weather-mini i,.weather-ios-shell .weather-widget-icon{width:24px;height:24px;border-radius:9px;background:#7dd3fc24;font-size:14px}.weather-ios-shell .weather-mini span,.weather-ios-shell .weather-widget span,.weather-ios-shell .weather-day-card span{color:#e2f1ff8f;font-size:9px;font-weight:450;text-transform:none}.weather-ios-shell .weather-mini strong{color:#ffffffeb;font-size:13px;font-weight:var(--lf-weight-title)}.weather-hourly-panel{padding:10px 11px}.weather-hourly-strip{grid-template-columns:repeat(7,minmax(72px,1fr));gap:7px}.weather-hour-card{min-height:48px;gap:2px;border-color:#ffffff1a;border-radius:14px;background:#fff1}.weather-hour-card:first-child{border-color:#ffffff38;background:#ffffff1f}.weather-hour-card span{color:#e2f1ff99;font-size:9px;font-weight:450}.weather-hour-card strong{color:#ffffffe0;font-size:11px;font-weight:var(--lf-weight-title)}.weather-metric-grid{gap:7px}.weather-ios-shell .weather-widget{min-height:64px;padding:8px;border-color:#ffffff17;background:#ffffff0e}.weather-ios-shell .weather-widget strong{color:#ffffffe6;font-size:12px}.weather-ios-shell .weather-widget small{color:#e2f1ff8f;font-size:9px}.weather-two-column{grid-template-columns:minmax(0,1.1fr) minmax(280px,.78fr)}.weather-forecast-list{overflow-x:auto;padding-bottom:2px}.weather-ios-shell .weather-forecast-list{grid-template-columns:repeat(7,minmax(84px,1fr))}.weather-ios-shell .weather-day-card{min-height:72px;padding:8px;border-color:#ffffff17;background:#ffffff0e}.weather-ios-shell .weather-day-card strong{color:#ffffffe6;font-size:11px}.weather-ios-shell .weather-day-card small{color:#e2f1ff8f;font-size:9px}.weather-recommendations,.weather-forecast-panel{padding:11px}.weather-recommendations ul{gap:6px}.weather-recommendations li{gap:8px;color:#ecf8ffbf;font-size:11px;line-height:1.35}.weather-recommendations i{width:18px;height:18px;color:#86efacd1}.weather-alert-grid{gap:7px}.weather-ios-shell .weather-alert{min-height:76px;padding:8px;border-color:#ffffff14;background:#ffffff0d}.weather-ios-shell .weather-alert>i{width:26px;height:26px;border-radius:9px;font-size:14px;background:#7dd3fc1f}.weather-ios-shell .weather-alert h3{color:#ffffffe6;font-size:12px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-alert p{color:#e2f1ff9e;font-size:10px;line-height:1.32}.weather-technical-details{color:#e2f1ff7a;font-size:10px}.weather-technical-details summary{width:fit-content;cursor:pointer;color:#e2f1ff8f;font-weight:450}.weather-technical-details .weather-status-row{margin-top:6px;gap:5px}.weather-technical-details .weather-status-row span{border-color:#ffffff14;background:#ffffff0b;color:#e2f1ff75;font-size:9px;font-weight:400;box-shadow:none}.weather-ios-shell.weather-page{gap:14px;padding:14px}.weather-ios-shell .weather-header{align-items:flex-start;padding:2px 4px 4px}.weather-ios-shell .weather-header h1{max-width:620px;font-size:clamp(24px,2.1vw,28px);font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-header p{max-width:640px;color:#e5f4ffa3;font-size:12.5px;line-height:1.45}.weather-ios-shell .weather-refresh-box{padding-top:3px}.weather-dashboard-grid{grid-template-columns:minmax(0,1.14fr) minmax(286px,.7fr);gap:12px}.weather-ios-shell .weather-hero{min-height:176px;padding:16px;grid-template-columns:minmax(0,1fr) 150px;border-color:#ffffff24;background:radial-gradient(circle at 72% 12%,rgba(125,211,252,.18),transparent 28%),linear-gradient(145deg,#236bb857,#091e376b),#091f395c}.weather-location-pill{background:#7dd3fc2e;color:#f5fbffe0}.weather-card-kicker{color:#e2f1ff7a;font-size:9px;font-weight:450;text-transform:none}.weather-ios-shell .weather-current-main strong{font-size:40px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-current-main span{color:#f5fbffc7;font-size:13px;font-weight:420}.weather-current-range{color:#e2f1ff85;font-size:10.5px}.weather-action-summary{align-self:end;padding-bottom:2px}.weather-action-summary span{min-height:30px;border-color:transparent;background:#fff1;color:#e2f1ffad;font-weight:420}.weather-compact-scene{right:18px;bottom:18px;opacity:.22}.weather-highlight-panel{min-height:176px;padding:15px;background:#ffffff0e}.weather-ios-shell .weather-highlight-panel .panel-title-row{margin-bottom:12px}.weather-ios-shell .weather-highlight-panel .panel-title-row h2{color:#f5fbffe0;font-size:16px;font-weight:var(--lf-weight-title)}.weather-highlight-grid{gap:9px}.weather-ios-shell .weather-highlight-grid .weather-mini{min-height:52px;padding:8px;background:#ffffff0b}.weather-ios-shell .weather-mini strong{font-size:14px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-mini span{color:#e2f1ff7a;font-weight:420}.weather-hourly-panel{padding:12px}.weather-hourly-strip{grid-template-columns:repeat(7,minmax(76px,1fr));gap:9px}.weather-hour-card{min-height:54px;border-color:#ffffff14;background:#ffffff0d}.weather-hour-card:first-child{background:#ffffff21}.weather-metric-grid{gap:10px}.weather-ios-shell .weather-widget{min-height:76px;padding:10px;background:#ffffff0b}.weather-ios-shell .weather-widget strong{font-size:13px;font-weight:var(--lf-weight-title)}.weather-two-column{gap:12px}.weather-forecast-panel,.weather-recommendations{padding:14px}.weather-ios-shell .weather-forecast-list{grid-template-columns:repeat(7,minmax(98px,1fr));gap:9px}.weather-ios-shell .weather-day-card{min-height:84px;padding:10px;border-color:#ffffff14}.weather-ios-shell .weather-day-card span{color:#e2f1ff94}.weather-ios-shell .weather-day-card strong{margin-top:7px;font-size:12px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-day-card small{margin-top:4px;color:#e2f1ff85;line-height:1.25}.weather-recommendations ul{gap:10px}.weather-recommendations li{color:#ecf8ffb8;font-size:12px;font-weight:400}.weather-recommendations i{margin-top:1px;opacity:.78}.weather-ios-shell .weather-section{margin-top:2px}.weather-alert-grid{gap:10px}.weather-ios-shell .weather-alert{min-height:92px;padding:11px;border-color:#ffffff13}.weather-ios-shell .weather-alert h3{font-size:12.5px;font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-alert p{color:#e2f1ff94;font-size:10.5px;line-height:1.4}.weather-technical-details{margin-top:2px;padding:0 4px 2px}.weather-ios-shell.weather-page .weather-priority-band{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:16px;align-items:stretch;padding:16px;border-color:#7dd3fc2e;background:radial-gradient(circle at 12% 15%,rgba(125,211,252,.2),transparent 34%),linear-gradient(135deg,#1358938f,#0e243e80);box-shadow:0 18px 46px #081a2e3d}.weather-priority-intro h2{margin:5px 0 8px;color:#fffffff0;font-size:19px;line-height:1.18;font-weight:var(--lf-weight-title)}.weather-priority-intro p{margin:0;color:#e2f1ffb3;font-size:12px;line-height:1.45}.weather-priority-intro strong{color:#ffffffdb;font-weight:var(--lf-weight-title)}.weather-priority-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.weather-priority-actions article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 9px;align-content:center;min-height:78px;padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:#ffffff14;box-shadow:inset 0 1px #ffffff1c}.weather-priority-actions i{grid-row:span 2;display:grid;place-items:center;width:28px;height:28px;border-radius:10px;color:#ffffffeb;background:linear-gradient(135deg,#2dd4bf94,#3b82f66b);font-size:15px}.weather-priority-actions span{color:#e2f1ff8c;font-size:9px;font-weight:520;letter-spacing:.06em;text-transform:uppercase}.weather-priority-actions strong{color:#ffffffe6;font-size:13px;line-height:1.25;font-weight:var(--lf-weight-title)}.weather-decision-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(330px,1fr);gap:12px}.weather-decision-summary{min-height:176px;padding:16px}.weather-decision-summary h2{margin:6px 0 8px;max-width:560px;color:#fffffff0;font-size:20px;line-height:1.15;font-weight:var(--lf-weight-title)}.weather-decision-summary p{margin:0;max-width:680px;color:#e2f1ffb3;font-size:13px;line-height:1.45}.weather-horizon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.weather-horizon-grid article{min-height:112px;padding:10px;border-radius:16px;background:#ffffff0e;box-shadow:inset 0 1px #ffffff12}.weather-horizon-grid span{display:inline-flex;margin-bottom:7px;padding:4px 8px;border-radius:999px;color:#bae6fde6;background:#7dd3fc1f;font-size:9px;font-weight:var(--lf-weight-title)}.weather-horizon-grid strong{display:block;color:#ffffffe6;font-size:12.5px;line-height:1.25;font-weight:var(--lf-weight-title)}.weather-horizon-grid p{margin-top:6px;color:#e2f1ff94;font-size:10.5px;line-height:1.35}.weather-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.weather-ios-shell.weather-page .weather-management-card{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;min-height:126px;padding:12px;border-color:#ffffff0e;background:#ffffff0b;box-shadow:0 12px 30px #07172b21}.weather-management-card.is-urgent{border-color:#fbbf243d;background:radial-gradient(circle at 10% 8%,rgba(251,191,36,.15),transparent 34%),#ffffff12}.weather-management-card.is-priority{border-color:#2dd4bf2e;background:radial-gradient(circle at 12% 10%,rgba(45,212,191,.13),transparent 36%),#ffffff0f}.weather-management-card.is-soft{opacity:.9}.weather-management-card>i{display:grid;place-items:center;width:30px;height:30px;border-radius:11px;color:#bae6fde6;background:#7dd3fc24;font-size:16px}.weather-management-card span{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:999px;color:#e2f1ffad;background:#fff1;font-size:9px;line-height:1.2;font-weight:520}.weather-management-card h3{margin:4px 0 6px;color:#ffffffe6;font-size:14px;line-height:1.18;font-weight:var(--lf-weight-title)}.weather-management-card p{margin:0;color:#e2f1ff9e;font-size:11px;line-height:1.38;font-weight:400}.weather-technical-metrics{padding:12px;opacity:.88}.weather-technical-metrics .weather-metric-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.weather-forecast-decision-row{grid-template-columns:minmax(0,.86fr) minmax(360px,1fr)}.weather-forecast-decision-row .weather-hourly-panel,.weather-forecast-decision-row .weather-forecast-panel{min-width:0}.weather-alert p strong{color:#ffffffd1;font-weight:520}.weather-ios-shell .weather-alert p+p{margin-top:4px}@media(max-width:1100px){.weather-decision-layout,.weather-forecast-decision-row{grid-template-columns:1fr}.weather-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-priority-band,.weather-priority-actions,.weather-horizon-grid{grid-template-columns:1fr}.weather-technical-metrics .weather-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.weather-management-grid,.weather-technical-metrics .weather-metric-grid{grid-template-columns:1fr}}.weather-ios-shell.weather-page{--weather-favorable: 52, 211, 153;--weather-monitor: 56, 189, 248;--weather-attention: 250, 204, 21;--weather-alert: 251, 146, 60;--weather-critical: 251, 113, 133;--weather-technical: 148, 163, 184;background:radial-gradient(circle at 72% 3%,rgba(125,211,252,.48),transparent 30%),radial-gradient(circle at 13% 19%,rgba(45,212,191,.28),transparent 27%),radial-gradient(circle at 84% 78%,rgba(251,191,36,.14),transparent 26%),linear-gradient(145deg,#0e2f52,#155985 48%,#14395f)}.weather-ios-shell.weather-page .weather-glass-card{border-color:#ffffff38;background:linear-gradient(145deg,#ffffff38,#ffffff1a),#12365661;box-shadow:0 20px 48px #04122233}.weather-ios-shell.weather-page .weather-animated-panel{opacity:.3}.weather-ios-shell.weather-page .weather-priority-band{border-color:#ffffff42;background:radial-gradient(circle at 12% 15%,rgba(var(--weather-favorable),.2),transparent 34%),radial-gradient(circle at 86% 24%,rgba(var(--weather-attention),.16),transparent 30%),linear-gradient(135deg,#1c72ab9e,#1334527a);box-shadow:0 18px 44px #081a2e33}.weather-priority-actions article{--severity-rgb: var(--weather-monitor);border-color:rgba(var(--severity-rgb),.28);background:linear-gradient(145deg,rgba(var(--severity-rgb),.17),#ffffff12),#ffffff0f}.weather-priority-actions article:before{content:"";grid-column:1 / -1;order:-1;width:38px;height:3px;margin-bottom:5px;border-radius:999px;background:rgba(var(--severity-rgb),.78);box-shadow:0 0 18px rgba(var(--severity-rgb),.28)}.weather-priority-actions article.severity-favorable{--severity-rgb: var(--weather-favorable)}.weather-priority-actions article.severity-monitor{--severity-rgb: var(--weather-monitor)}.weather-priority-actions article.severity-attention{--severity-rgb: var(--weather-attention)}.weather-priority-actions article.severity-alert{--severity-rgb: var(--weather-alert)}.weather-priority-actions article.severity-critical{--severity-rgb: var(--weather-critical)}.weather-priority-actions i{background:rgba(var(--severity-rgb),.28);box-shadow:inset 0 1px #ffffff2e}.weather-ios-shell.weather-page .weather-management-card{--severity-rgb: var(--weather-technical);border-color:rgba(var(--severity-rgb),.16);background:linear-gradient(145deg,rgba(var(--severity-rgb),.08),#ffffff0b),#ffffff0a}.weather-ios-shell.weather-page .weather-management-card.is-favorable{--severity-rgb: var(--weather-favorable)}.weather-ios-shell.weather-page .weather-management-card.is-monitor{--severity-rgb: var(--weather-monitor)}.weather-ios-shell.weather-page .weather-management-card.is-attention{--severity-rgb: var(--weather-attention)}.weather-ios-shell.weather-page .weather-management-card.is-alert{--severity-rgb: var(--weather-alert)}.weather-ios-shell.weather-page .weather-management-card.is-critical{--severity-rgb: var(--weather-critical)}.weather-ios-shell.weather-page .weather-management-card.is-alert,.weather-ios-shell.weather-page .weather-management-card.is-critical{background:radial-gradient(circle at 10% 8%,rgba(var(--severity-rgb),.18),transparent 34%),linear-gradient(145deg,rgba(var(--severity-rgb),.13),#ffffff0e)}.weather-management-card>i{color:#ffffffe6;background:rgba(var(--severity-rgb),.25)}.weather-management-card span{color:#ffffffc2;background:rgba(var(--severity-rgb),.18)}.weather-ios-shell.weather-page .weather-technical-metrics{border-color:rgba(var(--weather-technical),.18);background:linear-gradient(145deg,rgba(var(--weather-technical),.1),#ffffff0b),#0f27415c}.weather-ios-shell.weather-page .weather-alert{--severity-rgb: var(--weather-monitor);position:relative;overflow:hidden;border-color:rgba(var(--severity-rgb),.22);background:linear-gradient(145deg,rgba(var(--severity-rgb),.11),#ffffff0b),#0c223a61}.weather-ios-shell .weather-alert:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;border-radius:999px;background:rgba(var(--severity-rgb),.8)}.weather-ios-shell .weather-alert.severity-baixa{--severity-rgb: var(--weather-favorable)}.weather-ios-shell .weather-alert.severity-media{--severity-rgb: var(--weather-attention)}.weather-ios-shell .weather-alert.severity-alta{--severity-rgb: var(--weather-alert)}.weather-ios-shell .weather-alert.severity-critica{--severity-rgb: var(--weather-critical)}.weather-ios-shell .weather-alert>i{color:#ffffffe0;background:rgba(var(--severity-rgb),.24)}.weather-ios-shell .weather-alert span{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:999px;color:#ffffffc2;background:rgba(var(--severity-rgb),.16)}body{font-size:14.5px;line-height:1.45;font-optical-sizing:auto;font-variation-settings:"ROND" 0}button,input,select,textarea{letter-spacing:0}button,.btn-primary,.btn-secondary,.btn-ghost,.upload-button,.pagination button{font-size:13px;font-weight:var(--lf-weight-title)}input,select,textarea{color:var(--lf-text);font-size:14px;font-weight:500}small{font-size:12px;line-height:1.35}label,.form-help,.table-wrap th,.eyebrow,.sb-section-label,.farm-card span,.home-weather-head span,.home-weather-card span,.weather-card-kicker,.weather-ios-shell .weather-widget span,.weather-ios-shell .weather-day-card span,.weather-ios-shell .weather-alert span{letter-spacing:0}label,.field-label,.form-grid label,.farm-settings-switch-field span{color:var(--lf-muted);font-size:12.5px;font-weight:500;line-height:1.3}.module-header h1,.weather-ios-shell .weather-header h1,.module-page h1{font-weight:var(--lf-weight-title)}.module-header .eyebrow,.eyebrow{font-size:12px;font-weight:500;text-transform:none}.panel h2,.panel-title-row h2,.data-panel h2,.weather-ios-shell .panel-title-row h2{font-weight:var(--lf-weight-title)}.table-wrap th{color:#52647a;font-size:12px;font-weight:var(--lf-weight-title);text-transform:none}.table-wrap td{font-size:14px;font-weight:400}.app-topbar,.app-sidebar,.module-page,.panel,.data-panel,.form-grid,.table-wrap,.home-topbar,.home-body,.home-quickbar{font-family:var(--font-sans)}.home-overlay{background:linear-gradient(180deg,#0814089e,#081408c2)}.tb-logo-name{font-size:15px;font-weight:450}.tb-farm-name,.tb-user-name{color:#ffffffb8;font-size:12.5px;font-weight:400}.greeting-hi{font-size:24px;font-weight:450}.greeting-sub{color:#ffffffc2;font-size:14.5px;font-weight:400}.module-label{font-size:14px;font-weight:400;line-height:1.25;text-shadow:0 1px 12px rgba(0,0,0,.14)}.home-weather-head span{color:#ffffffc2;font-size:12px;font-weight:400;text-transform:none}.home-weather-head strong{font-size:17px;font-weight:450}.home-weather-head button{color:#ffffffeb;font-size:13px;font-weight:400}.home-weather-card span{color:#ffffffc7;font-size:12px;font-weight:400;text-transform:none}.home-weather-card strong{font-size:18px;font-weight:450}.home-weather-card small{color:#ffffffd1;font-size:12px;font-weight:400;line-height:1.35}.qb-time{color:#ffffffc7;font-size:12px;font-weight:400}.sb-nav,.sb-subitem,.sb-link,.farm-card{font-family:var(--font-sans)}.sb-section-label{color:var(--lf-muted);font-size:12px;font-weight:var(--lf-weight-title)}.sb-link,.sb-subitem{font-size:13.5px;font-weight:var(--lf-weight-title)}.farm-card span{color:var(--lf-muted);font-size:12px;font-weight:500;text-transform:none}.farm-card strong{font-size:14px;font-weight:var(--lf-weight-title)}.appearance-modes button small{color:var(--lf-muted);font-size:12px;font-weight:500}.weather-ios-shell{font-family:var(--font-sans)}.weather-ios-shell .weather-header h1{font-size:clamp(26px,2.2vw,30px);font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-header p{color:#ebf7ffc7;font-size:14px;font-weight:400}.weather-priority-intro h2,.weather-decision-summary h2{font-weight:var(--lf-weight-title)}.weather-priority-intro p,.weather-decision-summary p,.weather-horizon-grid p,.weather-management-card p,.weather-ios-shell .weather-alert p,.weather-recommendations li{color:#ebf7ffc2;font-weight:400}.weather-priority-actions span,.weather-management-card span,.weather-horizon-grid span{font-size:11.5px;font-weight:var(--lf-weight-title);text-transform:none}.weather-priority-actions strong{font-size:14px;font-weight:var(--lf-weight-title)}.weather-management-card h3{font-size:15px;font-weight:var(--lf-weight-title)}.weather-management-card p{font-size:12.5px;line-height:1.4}.weather-ios-shell .weather-current-main strong,.weather-ios-shell .weather-widget strong,.weather-ios-shell .weather-day-card strong,.weather-ios-shell .weather-mini strong{font-weight:var(--lf-weight-title)}.weather-ios-shell .weather-widget small,.weather-ios-shell .weather-day-card small,.weather-refresh-box small,.weather-technical-details,.weather-technical-details summary,.weather-technical-details .weather-status-row span{color:#ebf7ffa3;font-size:11.5px;font-weight:400}body,#root{font-size:var(--lf-font-size-body);font-weight:var(--lf-weight-regular)}#root :is(p,li,td,small,span,label,input,select,textarea){font-weight:var(--lf-weight-regular)!important}#root :is(strong,b,th){font-weight:var(--lf-weight-strong)!important}#root :is(button,.btn-primary,.btn-secondary,.btn-ghost,.upload-button,.pagination button){font-size:var(--lf-font-size-small)!important;font-weight:var(--lf-weight-label)!important}#root :is(.module-header h1,.module-page h1,.module-empty h1,.weather-ios-shell .weather-header h1){font-size:clamp(20px,1.65vw,24px)!important;font-weight:var(--lf-weight-title)!important;line-height:1.12}#root :is(.panel h2,.panel-title-row h2,.data-panel h2,.weather-section h2,.weather-priority-intro h2,.weather-decision-summary h2,.milk-trend-card h2,.milk-dashboard-side h2,.milk-ranking-card h2,.task-modal h2,.health-product-heading h2){font-size:var(--lf-font-size-title)!important;font-weight:var(--lf-weight-title)!important;line-height:1.18}#root :is(.eyebrow,.mc-label,.mc-delta,.sb-section,.sb-section-label,.sb-logo-name,.sb-module-head,.sb-farm-label,.sb-farm-name,.farm-card strong,.settings-pill,.settings-pill span,.appearance-modes button,.appearance-weather-grid button,.table-wrap th,table th,.farm-settings-switch-field,.form-grid label,.task-event-form label){font-size:var(--lf-font-size-label)!important;font-weight:var(--lf-weight-label)!important;text-transform:none;letter-spacing:0}#root :is(.sb-item,.sb-subitem,.sb-link){font-size:12.5px!important;font-weight:var(--lf-weight-label)!important}#root :is(.table-wrap td,table td){font-size:12px!important}#root :is(input,select,textarea){font-size:12px}#root :is(.mc-value,.metric-card strong,.milk-kpi strong,.milk-trend-card header strong,.milk-ranking-card header strong){font-size:18px!important;font-weight:var(--lf-weight-strong)!important}#root :is(.settings-pill-bg){font-size:54px!important}#root :is(.home-weather-head strong){font-size:15px!important;font-weight:var(--lf-weight-strong)!important}#root :is(.home-weather-temp b){font-size:40px!important;font-weight:380!important}#root :is(.home-weather-current strong,.home-weather-card strong,.home-weather-empty strong){font-size:15px!important;font-weight:var(--lf-weight-label)!important}#root :is(.home-weather-hour strong,.home-weather-day strong){font-size:12px!important;font-weight:var(--lf-weight-label)!important}#root :is(.weather-ios-shell .weather-current-main strong,.weather-current-main strong){font-size:32px!important;font-weight:var(--lf-weight-strong)!important}#root :is(.weather-ios-shell .weather-widget strong,.weather-ios-shell .weather-day-card strong,.weather-ios-shell .weather-mini strong,.weather-widget strong,.weather-day-card strong,.weather-mini strong,.weather-hour-card strong,.weather-management-card h3,.weather-priority-actions strong,.weather-horizon-grid strong){font-size:12px!important;font-weight:var(--lf-weight-strong)!important}#root :is(.weather-card-kicker,.weather-status-row span,.weather-hour-card span,.weather-widget span,.weather-mini span,.weather-alert span,.weather-day-card span,.weather-priority-actions span,.weather-management-card span,.weather-horizon-grid span,.milk-kpi span,.milk-kpi small,.milk-trend-card small,.milk-trend-card header span,.milk-dashboard-side span,.milk-dashboard-side small,.milk-ranking-card header span,.milk-ranking-card p,.milk-ranking-row small){font-size:10px!important;font-weight:var(--lf-weight-regular)!important;text-transform:none;letter-spacing:0}.mobile-nav{display:none}@media(max-width:1024px){.app-sidebar{width:60px}.sb-header{justify-content:center;padding:14px 8px}.sb-logo-name,.sb-module-head span,.sb-section,.sb-divider,.sb-farm-tag,.sb-item span{display:none}.sb-module-head{justify-content:center;padding:10px 8px}.sb-item,.sb-subitem.root{justify-content:center;padding:8px}.metric-grid,.financial-due-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.weather-hero,.weather-two-column{grid-template-columns:1fr}.weather-current-grid,.weather-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-metric-grid,.weather-forecast-list{grid-template-columns:repeat(3,minmax(0,1fr))}.home-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){input,select,textarea,#root input,#root select,#root textarea{font-size:16px!important}}@media(max-width:768px){.home-topbar{padding:0 12px}.tb-farm-name,.tb-user-name,.qb-label,.qb-time{display:none}.modules-row,.modules-row-5,.modules-row-4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}.home-weather-grid,.home-weather-summary{grid-template-columns:1fr}.home-weather-hourly{grid-template-columns:repeat(8,58px);overflow-x:auto}.home-weather-days{grid-template-columns:repeat(5,minmax(48px,1fr))}.home-weather-head{align-items:flex-start;flex-direction:column}.home-body{justify-content:flex-start;padding-top:48px}.home-quickbar{gap:12px}.app-layout{flex-direction:column;padding-bottom:60px}.app-sidebar{display:none}.app-topbar{gap:6px;padding:0 12px}.app-content{padding:12px}.animal-quick-search{display:none}.module-page{gap:8px}.module-header{flex-wrap:wrap;gap:8px}.module-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.panel{border-radius:12px}.panel-body{padding:12px}.btn-primary,.btn-secondary{min-height:44px}.btn-ghost{min-height:40px}.table-scroll,.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px}.auth-page{padding:16px}.auth-card{padding:18px;border-radius:16px}.mobile-nav{display:flex;position:fixed;inset:auto 0 0;background:var(--lf-surface);border-top:1px solid var(--lf-border);z-index:100;height:60px;padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;border:none;cursor:pointer;color:var(--lf-muted);font-size:10px;padding:8px 0;min-height:44px}.mobile-nav-item i{font-size:22px}.mobile-nav-item.active{color:var(--lf-accent)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-due-grid,.form-grid,.weather-current-grid,.weather-dashboard-grid,.weather-highlight-grid,.weather-metric-grid,.weather-alert-grid,.weather-forecast-list,.weather-two-column{grid-template-columns:1fr}.weather-ios-shell{padding:14px;border-radius:22px}.weather-ios-shell .weather-hero{grid-template-columns:1fr;min-height:0;padding:14px}.weather-action-summary{grid-template-columns:1fr}.weather-ios-shell .weather-current-main strong{font-size:36px}.weather-compact-scene{min-height:88px}.weather-scene{min-height:130px}.weather-sun{right:42px;width:86px;height:86px}.weather-cloud.cloud-a{right:8px;width:178px}.weather-cloud.cloud-b{right:112px;width:132px}.weather-hourly-strip{grid-template-columns:repeat(7,70px);overflow-x:auto;padding-bottom:4px}.weather-current-main strong{font-size:40px}.weather-current-main i{width:68px;height:68px;font-size:34px}.iatf-protocol-header,.iatf-phase-header{grid-template-columns:1fr}.iatf-actions-row{justify-content:flex-start}.appearance-panel,.appearance-url-row,.appearance-weather-grid{grid-template-columns:1fr}}.calendar-page{gap:0;display:flex;flex-direction:column;flex:1;min-height:0}.calendar-page .module-header{padding-bottom:12px}.calendar-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 14px}.filter-btn{background:#fff;border:1px solid #e8ede5;border-radius:999px;color:#6b8264;font-size:11px;font-weight:500;padding:5px 14px;cursor:pointer;transition:background .12s,color .12s,border-color .12s}.filter-btn:hover{background:#f0f9ec;border-color:#c3e6b8;color:#2d7a22}.filter-btn.active{background:#2d7a22;color:#fff;border-color:#2d7a22}.calendar-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:14px;padding:0 20px 20px}@media(min-width:860px){.calendar-layout{flex-direction:row;align-items:flex-start}}.calendar-grid-section{flex:1;min-width:0;background:#fff;border:1px solid #e8ede5;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.calendar-nav{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e8ede5;background:#fff}.calendar-month-label{font-size:13px;font-weight:600;color:#1a3a14;text-transform:capitalize}.calendar-grid{flex:1;display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;gap:1px;background:#e8ede5}.calendar-weekday{background:#f4f6f3;color:#9aab94;font-size:10px;font-weight:600;text-align:center;padding:8px 4px;text-transform:uppercase;letter-spacing:.04em}.calendar-cell{background:#fff;min-height:72px;padding:6px 8px;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:3px;position:relative;border:none;text-align:left;transition:background .1s}@media(min-width:640px){.calendar-cell{min-height:90px}}@media(min-width:1024px){.calendar-cell{min-height:110px}}.calendar-cell:hover{background:#f0f9ec}.calendar-cell--empty{background:#f9fbf8;cursor:default}.calendar-cell--empty:hover{background:#f9fbf8}.calendar-cell--today{background:#f0f9ec}.calendar-cell--today .calendar-day-num{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:#2d7a22;color:#fff;border-radius:50%;font-weight:700;font-size:11px}.calendar-cell--selected{background:#edf7e9;outline:2px solid #2d7a22;outline-offset:-2px}.calendar-day-num{font-size:12px;font-weight:500;color:#1a3a14;line-height:1}.calendar-dots{display:flex;flex-wrap:wrap;gap:2px;margin-top:2px}.calendar-dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.calendar-count{font-size:9px;font-weight:700;background:#e8ede5;border-radius:8px;padding:1px 4px;color:#6b8264;position:absolute;top:5px;right:5px;line-height:1.4}.badge--task{background:#2d7a22}.badge--reproduction{background:#7a2d8a}.badge--health{background:#c0392b}.badge--financial{background:#1a6a1a}.calendar-day-panel{background:#fff;border:1px solid #e8ede5;border-radius:12px;overflow:hidden;align-self:flex-start;width:100%}@media(min-width:860px){.calendar-day-panel{width:300px;flex-shrink:0;position:sticky;top:16px}}.calendar-day-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e8ede5;font-size:12px;font-weight:600;color:#1a3a14;background:#f4f6f3}.calendar-empty{padding:20px 16px;color:#9aab94;font-size:12px}.calendar-event-list{list-style:none;margin:0;padding:10px;display:flex;flex-direction:column;gap:6px;max-height:480px;overflow-y:auto}.calendar-event-item{display:flex;align-items:flex-start;gap:10px;background:#f4f6f3;border-radius:8px;padding:9px 11px;font-size:11px;border-left:3px solid transparent}.calendar-event-item.badge--task{border-left-color:#2d7a22}.calendar-event-item.badge--reproduction{border-left-color:#7a2d8a}.calendar-event-item.badge--health{border-left-color:#c0392b}.calendar-event-item.badge--financial{border-left-color:#1a6a1a}.calendar-event-item .ti{flex-shrink:0;font-size:14px;margin-top:1px;color:#6b8264}.calendar-event-item.badge--task .ti{color:#2d7a22}.calendar-event-item.badge--reproduction .ti{color:#7a2d8a}.calendar-event-item.badge--health .ti{color:#c0392b}.calendar-event-item.badge--financial .ti{color:#1a6a1a}.calendar-event-body{display:flex;flex-direction:column;gap:2px;min-width:0}.calendar-event-title{font-weight:600;color:#1a3a14;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event-item small{color:#9aab94;font-size:10px}.iatf-animal-search-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;font-weight:600;color:#1a3a14}.iatf-animal-search-row input{flex:1;min-width:160px}.iatf-apply-form{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.row-selected{background:#2d7a220f}.spinning{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:480px){.calendar-filters{padding:0 12px 12px}.calendar-layout{padding:0 12px 16px}.calendar-weekday{font-size:9px;padding:6px 2px}.calendar-cell{min-height:54px;padding:4px}.calendar-count{top:3px;right:3px}}.tasks-dashboard-page{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}.tasks-dashboard-layout{display:flex;flex:1;min-height:0;gap:16px;padding:0 20px 20px;align-items:flex-start}.tasks-dashboard-list{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.td-calendar{width:380px;flex-shrink:0;display:flex;flex-direction:column;gap:10px;position:sticky;top:16px}.td-cal-nav{display:flex;flex-direction:column;gap:8px}.td-cal-filters{padding:0!important;flex-wrap:wrap}.td-cal-month-nav{padding:8px 12px;border-bottom:none;background:#fff;border:1px solid #e8ede5;border-radius:10px}.td-cal-grid{flex:1}@media(max-width:1024px){.tasks-dashboard-layout{flex-direction:column}.td-calendar{width:100%;position:static}}@media(max-width:480px){.tasks-dashboard-layout{padding:0 12px 16px}}.support-banner{position:fixed;top:0;left:0;right:0;z-index:1000;height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;background:linear-gradient(90deg,#b45309,#d97706);color:#fff;box-shadow:0 2px 8px #92400e59}.support-banner-message{display:flex;align-items:center;gap:8px;font-size:13px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.support-banner-message i{font-size:18px;flex-shrink:0}.support-banner-message strong{font-weight:700}.support-banner-return{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:6px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.55);background:#ffffff24;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease}.support-banner-return:hover:not(:disabled){background:#ffffff47}.support-banner-return:disabled{opacity:.65;cursor:default}body.has-support-banner .app-layout,body.has-support-banner .home-root{height:calc(100vh - 44px);height:calc(100dvh - 44px);margin-top:44px}@media(max-width:768px){.support-banner-return span{display:none}.support-banner-return{padding:6px 10px}}
