.labor-messenger{display:grid;grid-template-columns:minmax(250px,32%) minmax(0,1fr);height:clamp(470px,calc(100dvh - 235px),820px);padding:0;overflow:hidden;min-width:0}.labor-chat-sidebar,.labor-chat-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.labor-chat-sidebar{border-right:1px solid var(--line)}.labor-chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--line);height:76px;min-height:76px;max-height:76px;flex-shrink:0}.labor-chat-toolbar h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.labor-chat-search{display:flex;align-items:center;gap:8px;margin:12px 16px;color:var(--muted)}.labor-chat-search input{width:100%;min-width:0}.labor-chat-list{overflow:auto;min-height:0;padding:0 8px 12px}.labor-chat-preview{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;border:0;border-radius:var(--radius);padding:12px 8px;margin-bottom:4px}.labor-chat-preview:hover{background:var(--soft)}.labor-chat-preview.selected{background:var(--accent-soft)}.labor-chat-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:var(--soft);color:var(--accent)}.labor-chat-preview-text{display:flex;flex-direction:column;min-width:0;gap:5px;flex:1}.labor-chat-preview-text strong,.labor-chat-preview-text>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.labor-chat-preview-text>span,.labor-chat-meta small{color:var(--muted);font-size:12px}.labor-chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.labor-chat-meta b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:var(--accent);color:#fff;font-size:11px}.labor-chat-conversation>.labor-chat-toolbar{justify-content:flex-start}.labor-chat-history{flex:1;overflow:auto;min-height:0;padding:20px;display:flex;flex-direction:column;gap:12px}.labor-chat-bubble{align-self:flex-start;max-width:min(85%,650px);padding:12px 16px;background:var(--soft);border-radius:12px;overflow-wrap:anywhere}.labor-chat-bubble.outgoing{align-self:flex-end;background:var(--accent-soft)}.labor-chat-bubble p{white-space:pre-wrap;margin:5px 0 8px}.labor-chat-bubble small{color:var(--muted);font-size:12px}.labor-chat-compose{display:flex;align-items:flex-end;gap:12px;padding:16px;border-top:1px solid var(--line)}.labor-chat-compose textarea{flex:1;width:100%;resize:vertical;max-height:160px;min-height:60px}.labor-chat-empty{display:grid;place-content:center;justify-items:center;flex:1;color:var(--muted);padding:24px;text-align:center}.labor-chat-conversation>.notification-settings{margin:16px;overflow:auto}@media(max-width:760px){.labor-messenger{grid-template-columns:1fr}.labor-messenger .labor-chat-conversation,.labor-messenger.has-conversation .labor-chat-sidebar{display:none}.labor-messenger.has-conversation .labor-chat-conversation{display:flex}}.labor-chat-toolbar>button{height:36px;min-height:36px;max-height:36px;white-space:nowrap}.weather-block{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px 28px;border-radius:20px;background:var(--accent-soft);color:var(--text);margin:12px 0}.weather-temperature{font-size:clamp(52px,6vw,88px);font-weight:500;line-height:1;letter-spacing:-4px;white-space:nowrap;font-variant-numeric:tabular-nums}.weather-temperature>span{font-size:.4em;letter-spacing:-1px;vertical-align:top;margin-left:4px}.weather-summary{display:flex;flex-direction:column;gap:5px;text-align:left;font-size:14px}.weather-summary strong{font-size:22px;font-weight:600}.weather-summary small{opacity:.75;font-size:12px}@media(max-width:600px){.weather-block{gap:16px;padding:16px}.weather-summary{font-size:12px}.weather-summary strong{font-size:18px}}.weather-block .weather-summary strong{color:inherit}.weather-compact{flex-shrink:0;max-width:320px;gap:12px;padding:10px 14px;margin:0;border-radius:var(--radius);border:1px solid var(--line)}.weather-compact .weather-temperature{font-size:38px;letter-spacing:-1.5px;color:inherit}.weather-compact .weather-summary{font-size:11px;gap:2px;min-width:0}.weather-compact .weather-summary strong{font-size:14px}.weather-compact .weather-summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weather-compact .weather-summary small{font-size:10px}.farm-welcome-weather .weather-block{color:#253d52}.summary-dashboard{display:grid;gap:20px}.summary-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.summary-dashboard .panel{min-width:0;padding:20px;margin-bottom:0}.summary-dashboard .panel-head{flex-wrap:wrap;gap:12px;padding:0 0 16px;margin-bottom:16px}.summary-dashboard h2{display:flex;align-items:center;gap:8px;font-size:18px;margin:0}.summary-dashboard-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:16px 0}.summary-dashboard-metrics>div{min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.summary-dashboard-metrics dt{color:var(--muted, #737b89);font-size:14px}.summary-dashboard-metrics dd{margin:8px 0 0;text-align:left;color:var(--text);font-size:26px;font-weight:650;overflow-wrap:anywhere}.summary-dashboard-metrics small{font-size:14px;font-weight:400}.summary-dashboard-metrics p{margin:4px 0;font-size:12px}.summary-dashboard-notes{font-size:13px;color:var(--muted, #737b89)}.summary-dashboard-notes p{margin:6px 0}.summary-dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:16px 0}.summary-dashboard-bars{height:140px;display:flex;align-items:flex-end;gap:3px;border-bottom:1px solid var(--border, #e4e7ec)}.summary-dashboard-bar-slot{flex:1;min-width:0;height:100%;display:flex;align-items:flex-end}.summary-dashboard-bar-slot span{width:100%;border-radius:3px 3px 0 0}.summary-dashboard .milk-bar{background:#479dd5}.summary-dashboard .feed-bar{background:#69b3a2}.summary-dashboard-chart-ends{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-top:6px;color:var(--muted, #737b89)}.summary-dashboard summary{cursor:pointer;padding:12px 0}@media(max-width:1000px){.summary-dashboard-grid,.summary-dashboard-charts{grid-template-columns:1fr}}@media(max-width:480px){.summary-dashboard-metrics{grid-template-columns:1fr}}.summary-dashboard .panel-head h2{font-size:18px}.summary-dashboard .panel-head .button{flex-shrink:0}.summary-dashboard .summary-dashboard-metrics{grid-auto-rows:auto}.summary-dashboard .summary-dashboard-metrics>div{display:flex;flex-direction:column;gap:0}.summary-dashboard .summary-dashboard-metrics dd{float:none;width:auto}.summary-dashboard .date-period-filter{margin:12px 0}.summary-dashboard .summary-dashboard-notes{line-height:1.5}.summary-dashboard-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.summary-dashboard-controls .date-period-filter{margin:0;gap:12px;flex:1}.summary-dashboard-controls .date-period-range{gap:12px}.summary-dashboard-controls .date-period-range>label{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0}.summary-dashboard-controls .date-period-range .field-label{margin:0;white-space:nowrap}.summary-dashboard-controls .date-period-range .date-control{width:160px;min-width:140px}.summary-dashboard-attention{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:16px}.summary-attention-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);color:var(--text);padding:12px 16px;text-align:left;min-width:0}.summary-attention-card:hover{background:var(--accent-soft)}.summary-attention-card>span{display:flex;align-items:center;gap:12px;flex:1}.summary-attention-card strong{font-size:24px;font-variant-numeric:tabular-nums}.summary-attention-card span span{color:var(--muted);font-size:13px}@media(max-width:700px){.summary-dashboard-controls .weather-compact{max-width:none;width:100%;justify-content:flex-start}.summary-dashboard-controls .date-period-filter{flex-basis:100%}.summary-dashboard-controls .date-period-range{flex-wrap:wrap}}.summary-dashboard-controls .summary-dashboard-attention{display:flex;flex-wrap:wrap;margin:0;gap:12px}.summary-dashboard-controls .summary-attention-card{width:280px;min-height:94px;box-sizing:border-box}.summary-dashboard-controls .summary-attention-card>span{align-items:flex-start;flex-direction:column;gap:3px}.summary-dashboard-controls .weather-compact{width:280px;min-height:94px;box-sizing:border-box}@media(max-width:700px){.summary-dashboard-controls .summary-dashboard-attention,.summary-dashboard-controls .summary-attention-card{width:100%}}.milk-dash{--gauge-track: #edf0f4;--gauge-value: #168ed2;--gauge-good: #3f9d63;--gauge-warn: #d9a21b;--gauge-bad: #d9604f;--gauge-good-soft: #dcefe2;--gauge-warn-soft: #f8ebc8;--gauge-bad-soft: #f7dcd7;--gauge-pointer: #3b4552;--milk-gross: #479dd5;--milk-ecm: #d9822b;--milk-temp: #9a7bd0;--milk-t: #1aa39a}:root[data-theme=dark] .milk-dash{--gauge-track: #2c3846;--gauge-value: #4fb3ea;--gauge-good: #5fae7d;--gauge-warn: #d6a83f;--gauge-bad: #e07a6c;--gauge-good-soft: #22402e;--gauge-warn-soft: #463b1d;--gauge-bad-soft: #4a2723;--gauge-pointer: #e2e8ee;--milk-gross: #4f9fd6;--milk-ecm: #f0a35a;--milk-temp: #b9a0ea;--milk-t: #4fd0c6}.milk-dash-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.milk-dash .milk-dash-filters{margin:0}.milk-dash-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.milk-dash-gauges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.gauge{margin:0;padding:16px 18px 10px;background:var(--surface, #fff);border:1px solid var(--line, #e9eaed);border-radius:var(--radius, 8px);min-width:0;display:flex;flex-direction:column}.gauge-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}.gauge-label{font-weight:600;font-size:14px}.gauge svg{display:block;width:100%;max-width:300px;margin:4px auto 0}.gauge path{fill:none;stroke-width:16;stroke-linecap:butt}.gauge-track{stroke:var(--gauge-track)}.gauge-zone.good{stroke:var(--gauge-good-soft)}.gauge-zone.warn{stroke:var(--gauge-warn-soft)}.gauge-zone.bad{stroke:var(--gauge-bad-soft)}.gauge-fill{stroke:var(--gauge-value)}.gauge.tone-good .gauge-fill{stroke:var(--gauge-good)}.gauge.tone-warn .gauge-fill{stroke:var(--gauge-warn)}.gauge.tone-bad .gauge-fill{stroke:var(--gauge-bad)}.gauge-pointer{fill:var(--gauge-pointer);stroke:var(--surface, #fff);stroke-width:1;stroke-linejoin:round}.gauge-number{fill:var(--text, #25282d);font-size:25px;font-weight:600;font-variant-numeric:tabular-nums}.gauge-unit{fill:var(--muted, #7d828b);font-size:12px;font-weight:400}.gauge-empty{fill:var(--muted, #7d828b);font-size:15px}.gauge-scale{fill:var(--muted, #7d828b);font-size:11px}.gauge-delta{font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.gauge-delta.up{color:var(--gauge-good);background:var(--gauge-good-soft)}.gauge-delta.down{color:var(--gauge-bad);background:var(--gauge-bad-soft)}.milk-dash-legend{display:flex;gap:14px;font-size:12px;color:var(--muted, #7d828b)}.milk-dash-legend span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}.milk-dash-legend .gross:before{background:var(--milk-gross)}.milk-dash-legend .ecm:before{background:var(--milk-ecm);height:3px;vertical-align:3px}.milk-dash-legend .milk-t:before{background:var(--milk-t);height:3px;vertical-align:3px}.milk-dash-legend .temp:before{background:var(--milk-temp);height:3px;vertical-align:3px}.milk-dash-chart{display:block;width:100%;height:auto;margin-bottom:12px}.milk-dash-chart .grid{stroke:var(--chart-grid, #e9edf2)}.milk-dash-chart .axis{fill:var(--muted, #7d828b);font-size:11px}.milk-dash-chart .hit{fill:transparent;cursor:pointer}.milk-dash-chart .slot.selected .hit{fill:var(--accent-soft, #edf7fd)}.milk-dash-chart .bar{fill:var(--milk-gross)}.milk-dash-chart .ecm-line{fill:none;stroke:var(--milk-ecm);stroke-width:2.5}.milk-dash-chart .ecm-dot{fill:var(--milk-ecm)}.milk-dash-chart .temp-line{fill:none;stroke:var(--milk-temp);stroke-width:2;stroke-dasharray:5 4}.milk-dash-chart .milk-temp-line{fill:none;stroke:var(--milk-t);stroke-width:2.5}.milk-dash-bad{color:var(--gauge-bad);font-weight:600}@media(max-width:1280px){.milk-dash-gauges{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.milk-dash-gauges{grid-template-columns:minmax(0,1fr)}}.demo-launch{color:var(--accent)}.demo-setup{max-width:820px}.demo-setup .dialog-content{display:grid;gap:16px}.demo-setup p{font-size:13px;line-height:1.65}.demo-scenarios{display:grid;grid-template-columns:1fr 1fr;gap:10px}.demo-scenarios>button{display:grid;gap:7px;padding:14px;text-align:left;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text)}.demo-scenarios>button.selected{background:var(--accent-soft);box-shadow:0 0 20px #168ed212}.demo-scenarios small{line-height:1.55;white-space:normal}.demo-history{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:12px}.demo-history>span{flex:1}.demo-setup input:not([type=checkbox]){width:100%}.demo-setup input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:0 0 16px;margin:2px 0 0}.demo-player{position:fixed;z-index:1800;bottom:16px;left:50%;transform:translate(-50%);width:min(900px,calc(100vw - 32px));max-height:42dvh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 35px #20252b1c,0 0 25px #168ed210}.demo-player header{display:flex;gap:16px;align-items:center;padding:12px 18px}.demo-player header>div:first-child{display:grid;gap:4px;flex:1;min-width:0}.demo-player small{font-size:11px}.demo-player-body{display:grid;gap:7px;padding:0 18px 16px}.demo-player-body p{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5}.demo-player-body [role=alert]{color:var(--text);background:var(--soft);padding:10px;border-radius:8px}.demo-player strong{font-size:15px}.demo-results-actions{display:flex;gap:10px;margin-top:4px}.demo-player.collapsed{max-height:80px}.demo-running .shell>main{padding-bottom:240px}.demo-running .modal-backdrop{padding-bottom:230px}.demo-running .modal{max-height:calc(100dvh - 270px)}.demo-running .demo-launch{background:var(--accent-soft)}@media(max-width:650px){.demo-scenarios{grid-template-columns:1fr}.demo-player header{padding:10px;gap:6px}.demo-player .icon-button{width:30px;height:30px}.demo-player header b{font-size:12px}.demo-player .row-actions{gap:0}.demo-player-body{padding:0 12px 12px}.demo-running .modal-backdrop{padding-bottom:200px}.demo-running .modal{max-height:calc(100dvh - 225px)}.demo-history,.demo-results-actions{flex-wrap:wrap}}.demo-step-results{font-size:12px}.demo-step-results summary{cursor:pointer;padding:7px 0}.demo-step-results ol{padding-left:20px;display:grid;gap:12px;margin:10px 0}.demo-step-results li strong{font-size:12px;display:block;margin-bottom:4px}.demo-step-results li small{line-height:1.5}.demo-setup{max-height:calc(100dvh - 40px)}.demo-setup>.dialog-content{padding:22px 26px;overflow-y:auto;min-height:0}.demo-setup>.modal-footer{flex-shrink:0;padding:18px 26px 22px;gap:12px;flex-wrap:wrap;justify-content:flex-end}.demo-setup>header{padding:20px 26px}.demo-cursor{position:fixed;z-index:1900;pointer-events:none;color:#29313c;filter:drop-shadow(0 2px 3px #18243333);transition-property:left,top;transition-timing-function:cubic-bezier(.3,.1,.25,1);transform:translate(-3px,-3px)}@media(prefers-reduced-motion:reduce){.demo-cursor{transition:none!important}}.modal.demo-setup{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 40px)}.demo-setup>.modal-footer{margin:0}.auth-screen{min-height:100dvh;background:#fff;color:#25282d;display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.auth-brand{display:flex;align-items:center;gap:13px;padding:32px 5.5%;position:absolute;z-index:1}.auth-brand img{width:45px;height:45px}.auth-brand b{display:block;font-size:24px;letter-spacing:-1px;font-weight:600}.auth-brand span{display:block;color:#87867f;font-size:11px;margin-top:3px}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(410px,1fr);flex:1;min-height:calc(100dvh - 45px)}.auth-story{background:#f1eee7;padding:155px 11% 45px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.auth-eyebrow{color:#86867e;font-size:10px;font-weight:600;letter-spacing:1.7px;margin-bottom:25px}.auth-story h1{font-size:clamp(36px,4vw,64px);line-height:1.12;font-weight:520;letter-spacing:-2.6px}.auth-story>p{color:#7d817f;font-size:14px;line-height:1.8;margin-top:23px}.auth-story-foot{display:flex;align-items:center;gap:9px;color:#85877f;font-size:11px;margin-top:34px}.auth-main{padding:100px 40px 35px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.auth-card{width:100%;max-width:390px}.auth-symbol{display:grid;place-items:center;background:#edf7fd;border:1px solid #d8edfa;color:#168ed2;width:48px;height:48px;border-radius:14px;margin-bottom:23px}.auth-card h2{font-size:28px;line-height:1.2;letter-spacing:-.8px;font-weight:560;margin-bottom:12px}.auth-description{color:#858a93;line-height:1.7;font-size:13px;margin-bottom:27px}.auth-methods{display:flex;background:#f5f6f8;border:1px solid #eff0f2;border-radius:10px;padding:4px;margin-bottom:25px;gap:3px}.auth-methods button{flex:1;border:0;background:transparent;padding:10px 6px;border-radius:7px;font-size:11px;color:#8a909a;white-space:nowrap}.auth-methods button.active{background:#fff;box-shadow:0 1px 4px #25282d0d;color:#3b4a5b}.auth-field{display:block;margin-bottom:18px}.auth-field>span{display:block;font-size:12px;font-weight:500;color:#5b626b;margin-bottom:9px}.auth-input{display:flex;align-items:center;gap:11px;border:1px solid #e2e5ea;border-radius:9px;min-height:48px;padding:0 13px;color:#a6adb7;background:#fff;transition:border-color .15s,box-shadow .15s}.auth-input:focus-within{border-color:#82c5ed;box-shadow:0 0 0 3px #168ed20a}.auth-input input{width:100%;background:transparent;border:0;box-shadow:none!important;padding:11px 0;min-height:46px;font-size:13px;color:#303944}.auth-input .icon-button{width:25px;height:30px;padding:0}.auth-options{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 9px}.auth-options label{display:flex;align-items:center;gap:8px;font-size:12px;color:#727a84;cursor:pointer}.auth-options input{min-height:auto;accent-color:#168ed2;width:15px;height:15px;margin:0}.auth-options .text-button{font-size:11px;color:#168ed2}.auth-session-hint,.auth-password-hint{display:block;color:#9ba1a9;font-size:10px;line-height:1.6}.auth-password-hint{margin:-8px 0 18px}.auth-submit.button{width:100%;min-height:47px;margin-top:23px;border-radius:9px;justify-content:space-between;padding:12px 16px;font-size:13px}.auth-privacy{display:flex;align-items:center;gap:7px;color:#a1a7af;font-size:10px;margin-top:29px}.auth-footer{display:flex;justify-content:flex-end;padding:15px 5.5%;font-size:10px;color:#a4a6a5;background:#fff}.auth-code{display:block;width:100%;height:55px;border-radius:9px;text-align:center;font-size:25px;letter-spacing:12px;font-variant-numeric:tabular-nums;padding-left:24px}.auth-code::placeholder{color:#d2d7de}.auth-error,.auth-message{border-radius:8px;padding:11px 13px;font-size:12px;line-height:1.65;margin-top:16px}.auth-error{background:#fff4f3;color:#a9504b;border:1px solid #f3ddd9}.auth-message{background:#edf7fd;color:#4b758f;border:1px solid #d9eaf5}.auth-back,.auth-resend{display:flex;margin:16px auto 0;justify-content:center;font-size:11px}.auth-resend{color:#168ed2}.auth-mail-hint{display:block;margin-top:18px;line-height:1.6}.auth-loading{display:flex;gap:14px;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;color:#168ed2}.auth-loading p{font-size:12px;color:#8b929c}.auth-spin{animation:auth-spin 1.2s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-offline{position:fixed;bottom:12px;left:50%;transform:translate(-50%);z-index:2000;border:1px solid #d9eaf5;border-radius:20px;padding:8px 15px;background:#edf7fd;color:#4b758f;font-size:11px;box-shadow:0 2px 12px #25282d0a}.auth-settings h3{display:flex;align-items:center;gap:7px}.auth-settings-actions{display:flex;gap:8px;flex-wrap:wrap}.auth-settings-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.auth-settings-wide{grid-column:1/-1}.auth-account-button{border:0;background:transparent;padding:0;cursor:pointer}.auth-account-menu{min-width:240px;padding:24px;display:flex;flex-direction:column;gap:15px}.auth-account-menu p{color:var(--muted);font-size:12px}.auth-account-menu button{width:100%}@media(max-width:900px){.auth-story{padding:150px 8% 35px}.auth-story h1{font-size:40px}.auth-layout{grid-template-columns:minmax(280px,.9fr) minmax(380px,1.1fr)}.auth-main{padding:100px 28px 35px}.auth-settings-row{grid-template-columns:1fr}.auth-story-foot{font-size:10px}}@media(max-width:700px){.auth-story{display:none}.auth-layout{display:flex;justify-content:center;min-height:calc(100dvh - 45px)}.auth-brand{position:relative;padding:24px}.auth-main{padding:20px 24px 30px;width:100%}.auth-card{max-width:400px}.auth-card h2{font-size:26px}.auth-footer{justify-content:center}.auth-privacy{margin-top:24px}.auth-symbol{margin-bottom:18px}.auth-offline{max-width:90%;width:max-content}}@media(prefers-reduced-motion:reduce){.auth-spin{animation:none}}.auth-screen{height:100dvh;min-height:0;overflow:hidden}.auth-layout{min-height:0}.auth-story{isolation:isolate;justify-content:center;padding-top:115px;padding-bottom:60px}.auth-story>:not(.auth-waves){position:relative;z-index:1}.auth-story-foot{margin-top:70px}.auth-main{padding:42px 40px 24px;min-height:0}.auth-footer{min-height:40px;flex-shrink:0;justify-content:flex-end;align-items:center;gap:7px;padding:10px 5.5%;background:#fff}.auth-footer a{color:inherit;text-decoration:none}.auth-footer a:hover{color:#168ed2}.auth-waves{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 0% 100%,#e8e3d82e,transparent 70%)}.auth-waves i{position:absolute;display:block;width:1000px;height:740px;left:-650px;top:230px;border:1px solid #d7cfbd45;border-radius:47%;transform:rotate(-32deg);background:linear-gradient(140deg,#fff0 40%,#e5dfd215 70%,#fff0)}.auth-waves i:nth-child(2){width:1100px;height:800px;left:-635px;top:215px}.auth-waves i:nth-child(3){width:1200px;height:860px;left:-620px;top:200px}.auth-waves i:nth-child(4){width:1300px;height:920px;left:-605px;top:185px}.auth-waves i:nth-child(5){width:1400px;height:980px;left:-590px;top:170px}.auth-waves i:nth-child(6){width:1500px;height:1040px;left:-575px;top:155px}@media(max-height:780px){.auth-brand{padding-top:22px;padding-bottom:22px}.auth-main{padding-top:24px;padding-bottom:14px}.auth-card h2{font-size:25px;margin-bottom:9px}.auth-description{margin-bottom:18px;font-size:12px}.auth-methods{margin-bottom:18px}.auth-field{margin-bottom:13px}.auth-field>span{margin-bottom:7px}.auth-submit.button{margin-top:16px;min-height:44px}.auth-privacy{margin-top:17px}.auth-password-hint{margin-bottom:13px}.auth-story-foot{margin-top:45px}.auth-back,.auth-resend{margin-top:12px}}@media(max-width:700px){.auth-brand{position:static;padding:20px 24px;flex-shrink:0}.auth-brand img{width:35px;height:35px}.auth-brand b{font-size:21px}.auth-layout{min-height:0}.auth-main{padding:10px 24px 16px}.auth-footer{justify-content:center;min-height:35px}.auth-card h2{font-size:25px}}@media(max-height:660px){.auth-brand{padding:15px 24px}.auth-main{padding-top:12px;padding-bottom:10px}.auth-description{margin-bottom:13px}.auth-card h2{font-size:23px}.auth-methods{margin-bottom:13px}.auth-methods button{padding-top:8px;padding-bottom:8px}.auth-field{margin-bottom:10px}.auth-input,.auth-input input{min-height:40px}.auth-input input{padding-top:9px;padding-bottom:9px}.auth-submit.button{min-height:40px;margin-top:12px}.auth-privacy{margin-top:12px}.auth-footer{min-height:30px;padding-top:7px;padding-bottom:7px}.auth-session-hint,.auth-password-hint{font-size:9px}.auth-message,.auth-error{padding:8px 10px;margin-top:10px}.auth-story{padding-top:95px}.auth-story h1{font-size:36px}.auth-eyebrow{margin-bottom:18px}.auth-story-foot{margin-top:30px}}@media(max-height:560px){.auth-description,.auth-privacy{display:none}.auth-card h2{font-size:21px;margin-bottom:15px}.auth-main{padding:10px 30px}.auth-field{margin-bottom:9px}.auth-field>span{font-size:11px;margin-bottom:5px}.auth-input,.auth-input input{min-height:34px;height:34px}.auth-input input{padding-top:6px;padding-bottom:6px;font-size:12px}.auth-methods{margin-bottom:14px}.auth-methods button{padding:7px 5px;font-size:10px}.auth-options{margin:5px 0}.auth-options label{font-size:11px}.auth-submit.button{min-height:36px;padding-top:8px;padding-bottom:8px;margin-top:12px;font-size:12px}.auth-field .auth-code{height:39px;font-size:21px}.auth-footer{min-height:27px;padding:6px 5.5%}.auth-story>p{font-size:12px;margin-top:17px}.auth-story h1{font-size:31px}.auth-story-foot{margin-top:24px}.auth-brand{padding-top:16px;padding-bottom:16px}.auth-brand b{font-size:21px}.auth-password-hint{margin:0 0 9px;font-size:9px}.auth-back,.auth-resend{margin-top:9px}.auth-error,.auth-message{font-size:11px;line-height:1.4;padding:7px 10px}}.auth-screen{position:relative;background:#f4f1eb}.auth-screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse at 72% 30%,#ffffff8c,transparent 65%),repeating-radial-gradient(ellipse at -25% 145%,transparent 0 61px,#b5a78c12 62px,transparent 63px 126px)}.auth-layout{position:relative;z-index:1}.auth-brand{z-index:2}.auth-story{background:transparent;padding-left:11%;padding-bottom:70px}.auth-waves{display:none}.auth-story h1{font-weight:500;letter-spacing:-2.2px}.auth-main{padding-bottom:52px;background:transparent}.auth-input{background:#ffffffb8;border-color:#dedad1;box-shadow:0 1px 2px #85785c04}.auth-methods{background:#e9e6df91;border-color:#e4dfd5}.auth-methods button.active{box-shadow:0 1px 4px #776b5910}.auth-submit.button{box-shadow:inset 0 1px #fff6,0 3px 8px #168ed216}.auth-footer{position:absolute;bottom:0;left:0;right:0;z-index:2;background:transparent;justify-content:flex-start;color:#94938c}.auth-privacy{color:#a2a098}.auth-story-foot{color:#9c9a90}.auth-eyebrow{color:#969489;letter-spacing:1.9px}@media(max-height:560px){.auth-main{padding-bottom:35px}}@media(max-width:700px){.auth-layout{flex:1}.auth-main{padding-bottom:44px}.auth-footer{justify-content:center}.auth-screen:before{background:radial-gradient(ellipse at 50% 15%,#ffffff8c,transparent 65%),repeating-radial-gradient(ellipse at -80% 145%,transparent 0 61px,#b5a78c10 62px,transparent 63px 126px)}}.auth-style-focus .auth-story{display:none}.auth-style-focus .auth-layout{display:flex;justify-content:center}.auth-style-focus .auth-main{width:100%;padding-top:65px}.auth-style-focus .auth-card{background:#ffffffad;border:1px solid #ffffffdc;box-shadow:0 20px 70px #6f66590a;border-radius:20px;padding:33px 34px;max-width:420px}.auth-style-focus .auth-privacy{margin-top:19px}.auth-style-focus .auth-brand{left:50%;transform:translate(-50%);width:max-content}.auth-style-focus .auth-footer{justify-content:center}.auth-style-focus:before{opacity:.55}.auth-style-editorial .auth-story{border-right:1px solid #d8d1c44d;padding-left:12%;padding-bottom:85px}.auth-style-editorial .auth-story h1{font-size:clamp(38px,4.8vw,72px);font-weight:450;letter-spacing:-3px}.auth-style-editorial .auth-story>p{max-width:250px}.auth-style-editorial:before{background:linear-gradient(120deg,#ebe5d940,transparent 55%,#fff7)}.auth-style-editorial .auth-methods{background:transparent;border:0;border-bottom:1px solid #d8d2c5;border-radius:0;padding:0;gap:15px}.auth-style-editorial .auth-methods button{border-radius:0;padding:12px 0;background:transparent;color:#999489}.auth-style-editorial .auth-methods button.active{box-shadow:0 1px #343a3e;color:#343a3e}.auth-style-editorial .auth-input{border:0;border-radius:0;border-bottom:1px solid #cdc7ba;background:transparent;box-shadow:none;padding-left:0;padding-right:0}.auth-style-editorial .auth-submit.button{background:#303b3e;border-color:#303b3e;box-shadow:none;border-radius:5px}.auth-style-editorial .auth-card h2{font-weight:500}.auth-style-editorial .auth-field>span{color:#827d73}@media(max-height:560px){.auth-style-focus .auth-main{padding-top:50px}.auth-style-focus .auth-card{padding:20px 26px}.auth-style-focus .auth-privacy{display:none}.auth-style-editorial .auth-story h1{font-size:36px}.auth-style-editorial .auth-methods button{padding:7px 0}}@media(max-width:700px){.auth-style-focus .auth-brand{position:relative;left:0;transform:none;margin:auto;padding-bottom:0}.auth-style-focus .auth-main{padding-top:10px}.auth-style-focus .auth-card{padding:25px 23px}.auth-style-editorial .auth-story{display:none}}.auth-style-flow .auth-card h2{margin-bottom:28px}.auth-input-invalid{border-color:#c49588}.auth-input-invalid:focus-within{border-color:#c49588;box-shadow:0 0 0 3px #c495880d}.auth-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-height:560px){.auth-style-flow .auth-card h2{margin-bottom:20px}}.auth-screen{--auth-field-bg: #fcfbf8}.auth-main{width:100%;max-width:none;margin:0}.auth-input{background:var(--auth-field-bg)}.auth-input input{border-radius:0;background:transparent}.auth-input input:-webkit-autofill,.auth-input input:-webkit-autofill:hover,.auth-input input:-webkit-autofill:focus,.auth-input input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 1000px var(--auth-field-bg) inset!important;box-shadow:0 0 0 1000px var(--auth-field-bg) inset!important;-webkit-text-fill-color:#303944!important;caret-color:#303944}.auth-input input:autofill{box-shadow:0 0 0 1000px var(--auth-field-bg) inset!important;caret-color:#303944}.auth-style-flow .auth-story{padding-top:90px;padding-bottom:55px}.auth-style-flow .auth-story h1{font-size:clamp(34px,4vw,62px);line-height:1.14;letter-spacing:-2px;font-weight:500}.auth-style-flow .auth-story>p{font-size:14px;line-height:1.7;margin-top:22px;color:#85867f}.auth-style-flow .auth-main{padding-left:clamp(32px,5vw,76px);padding-right:clamp(32px,5vw,76px)}@media(max-width:900px){.auth-style-flow .auth-story h1{font-size:36px}.auth-style-flow .auth-story>p{font-size:12px}.auth-style-flow .auth-main{padding-left:28px;padding-right:28px}}@media(max-height:560px){.auth-style-flow .auth-story h1{font-size:32px}.auth-style-flow .auth-story>p{margin-top:17px}}@media(max-width:700px){.auth-style-flow .auth-main{padding-left:24px;padding-right:24px}}.auth-farm-art{display:block;width:100%;max-width:680px;height:auto;object-fit:contain;margin:0 auto 20px;border-radius:12px}.farm-welcome{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;background:#fafaf7;opacity:1;transition:opacity .35s ease;overflow:auto;padding:24px;color:#202832}.farm-welcome.leaving{opacity:0;pointer-events:none}.farm-welcome-card{width:min(860px,100%);text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}.farm-welcome img{display:block;width:min(760px,100%);max-height:62vh;object-fit:contain}.farm-welcome h1{font-size:clamp(22px,3vw,36px);line-height:1.25;margin:0}.farm-welcome p{margin:0;color:#65717c}.farm-welcome .inline-check{margin-top:8px;font-size:14px}@media(prefers-reduced-motion:reduce){.farm-welcome{transition:none}}.auth-style-flow{background:#fafaf7}.auth-style-flow .auth-story{padding:110px 8% 40px;background:#fafaf7;justify-content:flex-start}.auth-style-flow .auth-farm-art{max-width:none;height:100%;max-height:none;object-fit:cover;object-position:center;margin:0;border-radius:0;mix-blend-mode:multiply}.auth-farm-scene{position:relative;width:100%;height:clamp(280px,58vh,820px);flex:0 0 auto;overflow:hidden}.auth-style-flow .auth-story h1{margin:24px 0 0;font-size:clamp(28px,3.2vw,46px);line-height:1.15;letter-spacing:-1.4px}.auth-style-flow .auth-story>p{margin:12px 0 0}.auth-farm-caption{flex:0 0 auto;margin:0 0 12px;text-align:left}.auth-style-flow .auth-farm-caption h1{margin:0;font-size:clamp(22px,2.2vw,34px);letter-spacing:-.8px}.auth-farm-caption p{margin:8px 0 0;font-size:clamp(12px,1.1vw,16px);color:#48545e}@media(max-width:900px){.auth-style-flow .auth-story{padding:100px 8% 32px}}.farm-welcome-scene{position:relative;width:min(760px,100%,93vh)}.farm-welcome-scene>img{width:100%;max-height:none}.farm-welcome-weather{position:absolute;bottom:3%;left:50%;transform:translate(-50%);width:max-content;max-width:90%}.farm-welcome-weather .weather-block{margin:0;padding:8px 14px;gap:14px;border-radius:18px;background:#ffffffb8;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 4px 24px #253d5214;animation:farm-weather-arrive .55s cubic-bezier(.22,1,.36,1) .12s both}@keyframes farm-weather-arrive{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.farm-welcome-weather .weather-block{animation:none}}.farm-welcome-weather .weather-temperature{font-size:clamp(32px,4vw,46px)}.farm-welcome-weather .weather-summary{font-size:12px;gap:2px}.farm-welcome-weather .weather-summary strong{font-size:16px}.farm-welcome-weather .weather-summary small{font-size:10px}@media(max-width:600px){.farm-welcome-weather{bottom:0;max-width:98%}.farm-welcome-weather .weather-block{padding:8px 12px;gap:12px;border-radius:12px}.farm-welcome-weather .weather-summary{gap:2px;font-size:11px}.farm-welcome-weather .weather-summary strong{font-size:16px}.farm-welcome-weather .weather-summary small{font-size:10px}}.farm-welcome-start{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border:1px solid #128dce;border-radius:12px;background:linear-gradient(180deg,#2aafe9,#139bd5);color:#fff;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 3px 10px #139bd526}.farm-welcome-start:hover{background:#128dce}.farm-welcome-start:focus-visible{outline:3px solid #78c8f0;outline-offset:3px}.auth-screen,.auth-loading,.farm-welcome{color-scheme:light;--text: #25282d;--muted: #7d828b;--line: #e9eaed;--surface: #fff;--soft: #f6f7f8;--accent: #168ed2;--accent-soft: #edf7fd;--auth-paper: #fafaf7;background:var(--auth-paper);color:var(--text)}.auth-style-flow .auth-main,.auth-style-flow .auth-story,.auth-farm-scene,.farm-welcome-scene{background:var(--auth-paper, #fafaf7)}.auth-farm-scene,.farm-welcome-scene{isolation:isolate}.auth-style-flow .auth-farm-art,.farm-welcome-scene>img{mix-blend-mode:multiply}.auth-screen .auth-brand b,.auth-screen h1,.auth-screen h2,.farm-welcome h1{color:#25282d}.farm-welcome .weather-summary small{color:#65717c}.auth-style-flow .auth-farm-art,.farm-welcome-scene>img{-webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);mask-composite:intersect}.server-database-panel>.panel-body,.exchange-panel>.panel-body,.animal-sync-panel>.panel-body{padding:18px 22px}.server-database-panel .filter-actions,.exchange-panel .filter-actions,.animal-sync-panel .filter-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}.server-database-panel .kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:18px 0}.server-database-panel .kv-grid dd{text-align:left;margin:6px 0 0;font-weight:600;color:var(--text)}.animal-sync-panel .field{display:block;margin:16px 0}.animal-sync-panel textarea{min-height:80px;margin-top:8px}.exchange-panel .form-grid{margin-bottom:16px}.exchange-panel .panel-head h3,.server-database-panel .panel-head h3{display:flex;align-items:center;gap:8px}.exchange-panel .exchange-state{color:var(--muted)}.exchange-panel p,.server-database-panel p{margin:12px 0 0}.exchange-panel .exchange-note{color:var(--muted)}.exchange-panel .animal-sync-panel{margin-top:16px}.animal-passport-form>.panel-head,.animal-feeding-card>.panel-head{padding:16px 20px;gap:12px;flex-wrap:wrap}.record-inline.animal-passport-form>form{padding:20px}.animal-passport-form form>.animal-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;margin:0 0 20px}.animal-passport-form .animal-facts dd{text-align:left;color:var(--text)}.animal-passport-form .form-grid{gap:16px}.animal-feeding-card>.settings-content{padding:20px}.animal-ration-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:0 0 16px}.animal-ration-summary>div{padding:12px 16px;background:var(--soft);border:1px solid var(--line);border-radius:8px;min-width:0}.animal-ration-summary dt{color:var(--muted);font-size:12px}.animal-ration-summary dd{text-align:left;color:var(--text);font-size:16px;font-weight:600;margin:5px 0 0;overflow-wrap:anywhere}.animal-ration-summary small{color:var(--muted)}.animal-feeding-card .table-wrap td,.animal-feeding-card .table-wrap th{padding:10px 14px}.animal-assignment-history{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.animal-assignment-history>.panel-head{padding:0;margin:0 0 12px;border:0;gap:12px;flex-wrap:wrap}.animal-assignment-history .date-period-filter{margin-bottom:12px}.animal-assignment-history>p{margin:6px 0;line-height:1.5}.assignment-explanation{margin:8px 0 12px;color:var(--muted)}.assignment-explanation summary{cursor:pointer}.assignment-explanation p{margin:8px 0}.assignment-pagination{margin-top:12px;gap:8px}@media(max-width:1000px){.animal-passport-form form>.animal-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-ration-summary{grid-template-columns:1fr 1fr}.animal-ration-summary>div:first-child{grid-column:1 / -1}}@media(max-width:560px){.animal-passport-form form>.animal-facts,.animal-ration-summary{grid-template-columns:1fr}}.animal-passport-form .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-passport-form .form-grid>label{grid-column:span 2}.animal-passport-form .form-grid>label:nth-child(-n+4){grid-column:span 1}.animal-passport-form .form-grid>label.wide{grid-column:1 / -1}.animal-passport-form input{text-align:left}@media(max-width:1000px){.animal-passport-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.animal-passport-form .form-grid{grid-template-columns:1fr}.animal-passport-form .form-grid>label{grid-column:span 1}}.animal-compliance-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:16px 24px;margin:18px 0}.animal-compliance-toolbar label{display:grid;gap:6px;min-width:220px;font-size:12px;color:var(--muted)}.animal-compliance-toolbar small{flex-basis:100%;color:var(--muted)}.pedigree-parent{display:grid;gap:12px;min-width:0}.highlight-herriot [data-regulators~=herriot],.highlight-mercury [data-regulators~=mercury],.highlight-both [data-regulators~=herriot],.highlight-both [data-regulators~=mercury],.highlight-breeding [data-regulators~=breeding]{background:var(--accent-soft, #eaf5fc);outline:1px solid var(--accent, #269dd3);outline-offset:5px;border-radius:5px}.highlight-herriot [data-animal-tab=Генеалогия],.highlight-both [data-animal-tab=Генеалогия],.highlight-vet [data-animal-tab]:is([data-animal-tab=Паспорт],[data-animal-tab="Здоровье и воспроизводство"],[data-animal-tab=Перемещения]),.highlight-breeding [data-animal-tab]:is([data-animal-tab=Паспорт],[data-animal-tab=Генеалогия],[data-animal-tab=Телеметрия],[data-animal-tab=Продуктивность],[data-animal-tab="Контрольные дойки"],[data-animal-tab="Здоровье и воспроизводство"]){background:var(--accent-soft, #eaf5fc);border-radius:6px 6px 0 0}@media(max-width:600px){.animal-compliance-toolbar label{min-width:0;width:100%}.pedigree-fields{grid-template-columns:1fr}}.animal-passport-form .form-grid:empty{display:none}.animal-passport-form .herriot-passport{margin-top:0;padding-top:0;border-top:0}.animal-workspace:not(.highlight-herriot):not(.highlight-both) .herriot-guidance{display:none}.herriot-guidance{margin-bottom:16px}.pedigree-fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.pedigree-fields{grid-template-columns:1fr}}.herriot-passport{margin-top:22px;border-top:1px solid var(--line, #e2e6eb);padding-top:12px;min-width:0}.herriot-passport>.panel-head{padding:0 0 8px;border:0;gap:12px;flex-wrap:wrap}.herriot-passport p{margin:6px 0 12px;font-size:12px;line-height:1.5}.herriot-section{border:1px solid var(--line, #e2e6eb);border-radius:12px;margin-top:12px;overflow:hidden}.herriot-section>summary{padding:13px 16px;cursor:pointer;font-weight:550;font-size:14px;background:var(--surface, #fff)}.herriot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;padding:16px;align-items:start}.herriot-grid label{display:flex;flex-direction:column;min-width:0;gap:5px}.herriot-grid .field-label{display:flex;align-items:flex-end;min-height:32px;line-height:1.3;font-size:12px}.herriot-grid input,.herriot-grid textarea{width:100%;min-width:0;box-sizing:border-box}.herriot-reference{display:flex;align-items:flex-end;gap:6px;min-width:0}.herriot-reference>label{flex:1}.herriot-reference>button{flex:0 0 auto;margin-bottom:6px}.herriot-wide{grid-column:1 / -1}.herriot-purpose{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;margin:3px;background:var(--accent-soft, #eef5fa);border-radius:8px;font-size:12px}.herriot-grid .inline-check{display:flex;flex-direction:row;align-items:center;gap:10px}.herriot-grid input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0}.herriot-section .table-wrap{margin:0 12px 12px}.herriot-section table{width:100%;min-width:460px}.herriot-section table .herriot-grid{white-space:normal}.herriot-section>.panel-head{padding:12px 16px;gap:10px;flex-wrap:wrap}@media(max-width:1100px){.herriot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.herriot-grid{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}.herriot-grid .field-label{min-height:0}}.animal-photo-upload{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.animal-photo-upload img{max-width:240px;max-height:180px;object-fit:contain;border-radius:10px}.animal-photo-upload small{color:var(--muted);font-size:12px}.sop-steps{border:1px solid var(--line);border-radius:9px;padding:14px 16px;display:flex;flex-direction:column;gap:12px}.sop-steps legend{padding:0 6px;font-weight:550}.sop-steps>p{margin:0;color:var(--muted);font-size:12px}.sop-step-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.sop-step{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.sop-step-no{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-top:20px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:550;font-size:12px}.sop-step-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.sop-step-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end}.sop-step-row label{display:flex;flex-direction:column;gap:4px;min-width:150px}.sop-step-row .field-label{display:inline-flex;align-items:center;gap:4px}.sop-step-title{flex:1;min-width:220px}.sop-step .row-actions{margin-top:18px}.sop-step .sop-step-check{display:flex;align-items:center;gap:8px;flex-direction:row;min-width:0;align-self:center;padding-bottom:8px}.sop-steps .filter-actions{justify-content:flex-start;flex-wrap:nowrap;margin-top:0}.sop-steps .filter-actions .select-control{width:240px;flex:0 0 240px}.sop-choice-row{display:grid;grid-template-columns:150px minmax(0,1fr) 170px;align-items:start}.sop-choice-row>label{min-width:0}.sop-choice-row .field-label{color:var(--muted);font-size:12px;line-height:18px;font-weight:500}.sop-options-field{min-width:0;display:flex;flex-direction:column;gap:4px}.sop-options-control{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:38px;padding:4px 6px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.sop-option{display:inline-flex;align-items:center;max-width:100%;min-width:0;gap:2px;padding:1px 2px 1px 7px;border:1px solid var(--line);border-radius:5px;background:var(--soft)}.sop-option-text{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;line-height:18px;cursor:text;padding:2px 0;text-align:left;overflow-wrap:anywhere;min-width:0}.sop-option .icon-button{flex:none;width:24px;height:24px;padding:4px}.sop-option .icon-button svg{width:14px;height:14px}.sop-option input{width:180px;max-width:100%;min-width:0;min-height:26px;padding:2px 4px;font-size:12px}.sop-option-add{display:flex;align-items:center;flex:1 1 170px;min-width:0;gap:4px}.sop-option-add input{flex:1;min-width:0;width:100%;min-height:28px;border:0;background:transparent;padding:3px 4px;font-size:12px;box-shadow:none}.sop-option-add .icon-button{flex:none;width:26px;height:26px;padding:4px}.sop-options-help{grid-column:2;line-height:1.4;font-size:11px;margin-top:-2px}.sop-choice-row .sop-step-check{grid-column:1/-1;margin:0;padding:0}@media(max-width:640px){.sop-choice-row{grid-template-columns:130px minmax(0,1fr)}.sop-choice-row>label:nth-of-type(2){grid-row:3;grid-column:1}.sop-options-help{grid-row:2}.sop-choice-row .sop-step-check{grid-column:2;grid-row:3;align-self:end}}@media(max-width:540px){.sop-choice-row{grid-template-columns:minmax(0,1fr)}.sop-options-field,.sop-choice-row>label:nth-of-type(2),.sop-options-help,.sop-choice-row .sop-step-check{grid-column:1;grid-row:auto}.sop-step{flex-wrap:wrap}.sop-step-body{min-width:0;flex-basis:calc(100% - 38px)}.sop-step-row>label{min-width:0;max-width:100%;width:100%}.sop-step>.row-actions{margin-top:0;margin-left:auto}.sop-steps .filter-actions{flex-wrap:wrap}}
