.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}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;color:#25282d;background:#fff;font-size:14px;--text: #25282d;--muted: #7d828b;--line: #e9eaed;--surface: #fff;--soft: #f6f7f8;--accent: #168ed2;--accent-soft: #edf7fd;--menu: #f1eee7;--radius: 8px;--shadow: 0 12px 40px #20252b12}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.42}button,input,textarea{transition:background .14s,border-color .14s,box-shadow .14s}svg{flex-shrink:0;stroke-width:1.65}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:550;letter-spacing:-1.1px;line-height:1.25}h2{font-size:21px;font-weight:550;letter-spacing:-.4px}h3{font-size:14px;font-weight:550}p{line-height:1.65}small{font-size:11px;color:var(--muted)}b,strong{font-weight:550}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;letter-spacing:-.4px}.right{text-align:right}.block{display:block;margin-top:5px}.spacer{flex:1}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #e3e5e8;border-radius:var(--radius);background:#fff;color:#555b65;font-size:12px;font-weight:500;white-space:nowrap}.button:hover{background:#f7f8fa;border-color:#cdd1d7}.button.primary{background:linear-gradient(180deg,#38b3f7,#149ade);border-color:#179ddd;color:#fff;box-shadow:inset 0 1px #fff5,0 2px 5px #169bdd20}.button.primary:hover{background:linear-gradient(180deg,#25a9ee,#078bd0);border-color:#0b8fce}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:6px;border:0;border-radius:7px;background:transparent;color:#828792;position:relative}.row-actions{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.row-actions>.icon-button{flex:0 0 auto}.icon-button:hover{background:#f0f1f3;color:#303640}.text-button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:5px 0;font-size:12px;color:#5c6572}.text-button:hover{color:var(--accent)}:focus-visible{outline:2px solid #68b5e8;outline-offset:3px}input,textarea,select{color:#30343b;background:#fff;border:1px solid #e1e3e7;border-radius:7px;min-height:38px;padding:8px 11px;max-width:100%;min-width:0;font-size:13px}input::placeholder,textarea::placeholder{color:#a1a6ae}input:focus,textarea:focus{outline:none;border-color:#90c8eb;box-shadow:0 0 0 3px #179be50d}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical;min-height:82px}.select-control{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:8px 11px;background:#fff;border:1px solid #e1e3e7;border-radius:7px;font-size:13px;max-width:100%;min-width:0;text-align:left;color:#4d535e}.select-control>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-control svg{color:#9a9fa9}.select-control:hover{border-color:#c7cbd3}.select-control[aria-expanded=true]{border-color:#7bbfec;box-shadow:0 0 0 3px #168ed20b}.select-popover{position:fixed;z-index:1500;padding:5px;border:1px solid #e1e3e7;border-radius:8px;background:#ffffffed;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 12px 30px #20252b18}.select-search{display:flex;align-items:center;gap:7px;padding:3px 9px;color:#9299a3;border-bottom:1px solid var(--line);margin-bottom:4px}.select-search input{border:0;box-shadow:none!important;background:none;padding:6px 0;width:100%;font-size:12px}.select-options{max-height:235px;overflow:auto}.select-options>button{width:100%;border:0;background:none;display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:5px;text-align:left;font-size:13px;gap:15px}.select-options>button.highlighted{background:#f3f5f7}.select-options>button[aria-selected=true]{color:#168ed2;background:var(--accent-soft)}.select-options p,.select-popover>small{display:block;padding:10px}.app{min-height:100vh}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:var(--menu);border-right:1px solid #e9e5dc;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:8px;padding:26px 25px 22px;width:100%;border:0;background:none;text-align:left}.brand-logo{background:none!important;border:0;box-shadow:none;width:42px;height:42px}.brand>span:last-child{font-size:30px;font-weight:550;letter-spacing:-1.4px;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:1.6px;color:#99968f;margin-top:6px;font-weight:400}.company-switch{display:flex;align-items:center;gap:10px;margin:3px 17px 22px;padding:11px 9px;border:1px solid #e2ded5;border-radius:8px;min-width:0}.company-switch>div{min-width:0;flex:1}.company-switch small{font-size:8px;letter-spacing:.9px;color:#97938a}.company-icon{color:#9e9a91}.company-switch .select-control{background:none;border:0;width:100%;padding:4px 0;min-height:25px;font-size:11px}.module-identity{display:flex;gap:10px;align-items:center;padding:0 24px 22px}.module-identity svg{color:#5b626c}.module-identity b{font-size:14px;font-weight:600}.module-identity small{display:block;font-size:10px;line-height:1.6;margin-top:3px;color:#9a978f}.nav-label{padding:0 25px 8px;font-size:8px;color:#a29e96;letter-spacing:1.3px}.nav-label.lower{padding:30px 10px 8px}nav{padding:0 15px;overflow:auto}nav button{width:100%;display:flex;align-items:center;gap:11px;border:0;box-shadow:none;border-radius:7px;padding:11px 10px;margin:2px 0;background:transparent;text-align:left;font-size:12px;color:#77766f}nav button svg{color:#96948c}nav button:hover{background:#ffffff70;color:#323638}nav button.active{background:#ffffffbd;color:#30343a;box-shadow:0 1px 2px #24262b04;font-weight:550}nav button.active svg{color:#454b52}nav button small{margin-left:auto;padding:1px 5px;background:#eeede9;border-radius:4px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:18px 24px}.local-label{font-size:8px;letter-spacing:1px;color:#aca79e;display:flex;align-items:center;gap:6px}.local-label span{width:4px;height:4px;border-radius:50%;background:#aaa}.collapse{border:0;background:none;display:flex;align-items:center;gap:8px;font-size:11px;color:#969189;padding:14px 0}.user{display:flex;align-items:center;gap:9px;padding-top:18px;border-top:1px solid #e3dfd6;color:#66655e;font-size:11px}.user>span,.avatar{border-radius:50%;width:31px;height:31px;display:grid;place-items:center;background:#e7e3db;font-size:10px;color:#868075}.user small{display:block;font-size:9px;margin-top:4px;color:#a6a095}.shell{margin-left:230px;min-width:0;background:#fff}.topbar{height:62px;display:flex;align-items:center;gap:17px;padding:0 32px;border-bottom:1px solid var(--line);background:#fff}.breadcrumbs{display:flex;align-items:center;gap:9px;font-size:11px;color:#a4a8af;min-width:0;white-space:nowrap}.breadcrumbs strong{color:#717781;font-weight:400;overflow:hidden;text-overflow:ellipsis}.topbar .avatar{width:29px;height:29px;background:#f0f0f1;color:#8b9098}.global-search{position:relative;display:flex;align-items:center;gap:8px;color:#a0a6af}.global-search input{border:0;background:transparent;box-shadow:none;font-size:11px;width:215px;padding:0;min-height:30px}.global-search kbd{font-size:11px;font-family:inherit;border:1px solid var(--line);border-radius:4px;padding:1px 4px}.search-results{position:absolute;z-index:60;top:38px;right:0;width:330px;max-width:80vw;padding:7px;border-radius:8px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.search-results button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px;width:100%;background:none;border:0;border-radius:5px;font-size:12px}.search-results button:hover{background:var(--soft)}.search-results>small{padding:8px;display:block}.notification-dot{width:4px;height:4px;background:#84bcda;border-radius:50%;position:absolute;top:7px;right:6px}.suite-container{position:relative;display:flex;align-items:center;gap:15px;padding:15px 32px 9px}.suite-switcher{display:flex;align-items:center;gap:5px;overflow:auto;min-width:0}.suite-switcher>button{border:1px solid transparent;background:none;color:#8a8f98;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 13px;border-radius:7px;font-size:12px;min-height:37px}.suite-switcher>button:hover{background:#f7f8f9;color:#555b64}.suite-switcher>button.selected{color:#31363f;background:#f1f3f5;border-color:#eceef1;font-weight:550}.all-modules{margin-left:auto;border-color:transparent;background:none;font-size:11px;padding:8px}.module-picker{position:absolute;top:62px;left:32px;right:32px;z-index:55;padding:22px;border:1px solid #e2e4e8;border-radius:12px;background:#ffffffed;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--shadow)}.module-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.module-picker-head h2{font-size:20px}.module-picker-head p{color:#949ba5;font-size:12px;margin-top:8px}.module-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:23px}.module-picker-grid>button{position:relative;display:flex;flex-direction:column;gap:6px;text-align:left;min-height:126px;padding:17px;border:1px solid #eceef0;border-radius:8px;background:#fff}.module-picker-grid>button:hover,.module-picker-grid>button.current{background:#f7f9fa;border-color:#d9dfe5}.module-picker-grid>button>svg{position:absolute;right:15px;top:17px;color:#a7adb7}.module-tile-icon{color:#707c8a;margin-bottom:7px}.module-picker-grid b{font-size:13px}.module-picker-grid small{font-size:11px;line-height:1.5}.contextbar{height:39px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;color:#a0a5ad;font-size:10px}.contextbar>span,.context-company{display:flex;align-items:center;gap:7px}.context-company{padding:4px 0;font:inherit;color:#7d838d;background:none;border:0}.live-dot{width:4px;height:4px;border-radius:50%;background:#a1a9b2;display:inline-block}.live-dot.amber{background:#b49f7e}.divider{padding:0 8px;color:#e0e3e7}.mobile-menu{display:none}main{padding:33px 32px 44px;max-width:1740px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:36px}.eyebrow{font-size:9px;letter-spacing:1.25px;color:#a8aeb7;margin-bottom:12px;display:flex;align-items:center;gap:9px}.eyebrow span{color:#d2d6dc}.page-heading p{font-size:12px;color:#9399a3;margin-top:13px;max-width:770px}.heading-actions{flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}.stat{padding:5px 22px;border-right:1px solid var(--line);min-width:0}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#949ba5;font-size:11px}.stat>div svg{color:#adb3bc;width:17px}.stat strong{display:block;font-size:31px;font-weight:450;letter-spacing:-1px;color:#434950;margin:10px 0 9px}.stat small{display:block;color:#a0a7b0;font-size:10px;line-height:1.6}.panel{border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #f0f1f3}.panel-head h3{font-size:14px;color:#575e68;font-weight:500}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:4px;font-size:10px;font-weight:400;color:#9298a3;background:#f4f5f6;padding:4px 7px}.badge.green,.badge.amber,.badge.danger{background:var(--soft);color:var(--muted)}.overview-grid,.two-col{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;align-items:start}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px;gap:8px}.workflow button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;background:none;border:1px solid transparent;padding:15px 10px;border-radius:7px}.workflow button:hover{background:#f8f9fa;border-color:#eceef0}.workflow button>span{color:#919aa8;margin-bottom:7px}.workflow button b{font-size:12px;font-weight:500;color:#5e6772}.workflow button small{font-size:10px;line-height:1.7;color:#a3aab3}.workflow button>svg{position:absolute;right:8px;top:17px;color:#bbc0c7}.production-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 22px;padding:20px 0;border-top:1px solid var(--line)}.production-preview h2{font-size:16px;color:#606772;font-weight:500;line-height:1.5}.production-preview p{font-size:11px;color:#a3aab4;margin-top:7px}.schedule{padding:17px 22px 23px;border-top:1px solid var(--line)}.schedule-label{font-size:10px;color:#a8adb5;margin-bottom:17px}.schedule-line{display:flex;align-items:center;gap:13px}.stage{font-size:10px;color:#a5adb8;background:#f7f8fa;padding:6px 9px;border-radius:4px}.stage.active{background:#eef3f6;color:#6f8a9e}.schedule-line i{flex:1;background:#edf0f2;height:1px}.schedule>small{display:block;margin-top:14px;font-size:9px;color:#b2b7bf}.attention{display:flex;gap:13px;padding:22px;border-bottom:1px solid #f0f1f3}.attention-icon{color:#a9a396;margin-top:2px}.attention-icon.soft{color:#a7b0bc}.attention b{font-size:12px;font-weight:500;color:#777f89}.attention p{font-size:11px;color:#a4acb7;line-height:1.8;margin:9px 0}.attention .text-button{font-size:10px}.aside-note{display:flex;align-items:center;gap:10px;margin:0;padding:16px 22px;color:#a3acb5;font-size:10px;line-height:1.7}.quick-footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#a5adb6;margin-top:12px}.quick-footer>span{display:flex;align-items:center;gap:8px}.table-wrap{overflow:auto;min-width:0;border-radius:inherit}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;font-variant-numeric:tabular-nums}th{font-size:10px;font-weight:400;color:#9da5af;background:#fbfcfd;padding:14px 18px;white-space:nowrap;border-bottom:1px solid #eef0f3}td{padding:17px 18px;border-bottom:1px solid #f1f2f5;color:#7b8593;vertical-align:middle}tr:last-child td{border-bottom:0}td b{font-weight:500;color:var(--text)}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fafbfd}tr.clickable:focus-visible{outline-offset:-2px}.name-cell{display:flex;gap:13px;align-items:center;min-width:165px}.name-cell small{display:block;font-size:10px;color:#aab1bc;margin-top:5px}.item-icon{display:flex;align-items:center;justify-content:center;color:#9da8b7;background:#f6f8fa;border:1px solid #f0f2f5;width:33px;height:33px;border-radius:7px}.notice{display:flex;align-items:flex-start;gap:10px;padding:15px 17px;background:#f8f9fa;border:1px solid #eef0f3;border-radius:7px;color:#939daa;font-size:11px;line-height:1.7;margin:18px 0}.notice svg{margin-top:2px;color:#a6b1bf}.notice.amber{background:#f8f7f5;border-color:#f0eeeb;color:#a39b8e}.notice.danger{background:#fff7f6;border-color:#f3e6e3;color:#ba756c}.notice p{margin:0}.table-toolbar,.catalog-toolbar{padding:18px 20px;display:flex;align-items:center;gap:12px}.search-field{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #e7e9ed;border-radius:7px;background:#fff;padding:0 11px;color:#acb3bf;flex:1}.search-field input{border:0;box-shadow:none;width:100%;background:transparent;font-size:12px;padding:9px 0;min-width:90px}.table-toolbar .muted{font-size:11px}.catalog-toolbar .search-field{max-width:480px}.sort-control{display:flex;align-items:center;gap:7px;margin-left:auto;color:#a7afbc}.sort-control .select-control{border-color:transparent;font-size:11px;padding-left:4px;background:none}.filter-selected{background:#f4f8fb;border-color:#dce8f0}.filter-count{display:grid;place-items:center;min-width:17px;height:17px;background:#e6eef4;border-radius:4px;font-size:9px}.quick-filters{padding:0 20px 20px;display:flex;align-items:center;gap:19px;flex-wrap:wrap}.segmented{display:inline-flex;align-items:center;gap:3px;background:#f5f6f8;border:1px solid #eef0f3;border-radius:7px;padding:3px;max-width:100%;overflow:auto}.segmented button{display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border:1px solid transparent;border-radius:5px;background:none;color:#a2aab7;font-size:11px;white-space:nowrap;min-height:30px}.segmented button.selected{background:#fff;border-color:#e7eaef;color:#63758a;box-shadow:0 1px 3px #282e3805}.filter-switch{display:flex;align-items:center;gap:8px;border:0;background:none;padding:0;color:#9ea7b4;font-size:10px;min-height:32px;white-space:nowrap}.switch-track{width:27px;height:16px;border-radius:10px;background:#e0e4e9;padding:2px;position:relative;display:block;transition:background .15s}.switch-track i{display:block;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #21273315;transform:translate(0);transition:transform .15s}.switch-track.on{background:#70b7e3}.switch-track.on i{transform:translate(11px)}.smart-filter-panel{margin:0 20px 20px;padding:18px;border:1px solid #e8ecf1;background:#fcfdff;border-radius:8px}.smart-filter-heading{display:flex;align-items:center;gap:12px;color:#768397;font-size:12px}.smart-filter-heading small{flex:1;font-size:10px}.smart-filter-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;margin:18px 0}.smart-filter-fields label,.form-grid label,.cost-controls label,.personnel-members>.field-label{display:flex;flex-direction:column;gap:8px;color:#8d98a8;font-size:11px}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.filter-actions .text-button{margin-right:auto}.filter-message{font-size:11px;color:#839bb2;margin-top:12px}.active-filters{display:flex;gap:7px;padding:0 20px 17px;flex-wrap:wrap;align-items:center}.active-filters button{display:flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid #e6ebf1;background:#f7f9fc;border-radius:5px;color:#8998ac;font-size:10px}.active-filters>span{margin-left:auto;font-size:10px;color:#a3afbf}.data-state{display:flex;align-items:center;gap:7px;font-size:10px;white-space:nowrap;color:#a4a4a0}.data-state>span{width:4px;height:4px;border-radius:50%;background:#b6b1a8}.data-state.complete{color:#94a2a9}.data-state.complete>span{background:#9caeb4}.row-arrow{transform:rotate(-90deg);color:#c2c9d3}.catalog-bottom{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f3f6;color:#afbac8;font-size:10px}.catalog-bottom>span:last-child{display:flex;align-items:center;gap:7px}.filter-row{display:flex;align-items:center;gap:10px;padding:0 20px 18px;flex-wrap:wrap}.empty,.stream-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:13px;padding:45px 25px;color:#a6b0bd}.empty h3,.stream-empty h2{font-size:17px;font-weight:450;color:#8793a2}.empty p,.stream-empty p{font-size:12px;line-height:1.8;max-width:460px;color:#a7b2c0}.stream-empty{min-height:315px;padding:40px}.stream-empty>.button{margin-top:12px}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.boot p{color:#9aa5b4}.statusbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 32px;border-top:1px solid #f0f2f5;color:#aeb8c5;font-size:9px}.statusbar>span{display:flex;align-items:center;gap:7px}.toast{position:fixed;bottom:24px;right:24px;z-index:100;display:flex;align-items:center;gap:9px;max-width:80vw;line-height:1.6;padding:14px 19px;border:1px solid #e6edf3;border-radius:9px;background:#ffffffed;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);color:#7d90a7;box-shadow:var(--shadow);font-size:12px}.toast svg{color:#90abbc}.loading{padding:70px;text-align:center;color:#abb6c5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:25px;background:#3d49543d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100}.modal{width:650px;max-width:100%;max-height:90vh;overflow:auto;border:1px solid #e6ecf2;border-radius:12px;background:#fff;box-shadow:0 25px 100px #27394a25}.modal.wide{width:1000px}.modal>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 25px;border-bottom:1px solid #eef2f6}.modal>header small{font-size:8px;letter-spacing:1.5px;color:#b3becc}.modal>header h2{font-size:20px;margin-top:8px;color:#6a7a8e}.modal form{padding:23px 25px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-grid input,.form-grid .select-control,.form-grid textarea{width:100%;font-size:13px}.form-grid small{font-size:10px;line-height:1.6;color:#a7b3c2}.required{color:#ac9c95}.form-description{font-size:12px;color:#a0adbf;margin:0 0 22px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #eef2f6;padding:18px 0;margin-top:22px}.modal-body{padding:23px 25px;color:#8e9fb5}.modal-body p{font-size:12px;margin:14px 0;color:#9aaabd}.modal-body>.button{margin-right:10px;margin-top:8px}.modal>.stats{margin:0 25px;grid-template-columns:repeat(3,minmax(0,1fr))}.modal .stat strong{font-size:23px}.animal-passport{display:flex;align-items:center;gap:18px;padding:25px}.animal-passport h2{font-size:18px;color:#8293a9}.animal-passport p{font-size:12px;color:#a4b2c5;margin:7px 0 12px}.animal-avatar{width:60px;height:60px;display:grid;place-items:center;background:#f4f7fa;border-radius:9px;color:#a6b8cd}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 20px;border-top:1px solid #f1f4f7}.pagination>span{margin-right:auto;font-size:11px;color:#a7b7cb}.mill-grid,.connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mill-top,.connection-top{display:flex;align-items:center;justify-content:space-between;padding:22px}.large-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #eef2f6;background:#f9fbfd;border-radius:9px;color:#a3b6cd}.mill-body,.connection-body{padding:0 22px 20px}.mill-body h2,.connection-body h2{font-size:19px;color:#8298b2}.mill-body p,.connection-body p{font-size:12px;color:#adbdd1;margin:8px 0 22px}dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:11px;line-height:1.6}dt{color:#b1bfd2}dd{margin:0;color:#91a6c1;text-align:right}.card-footer{padding:15px 22px;border-top:1px solid #f0f4f8;display:flex;align-items:center;justify-content:space-between;gap:12px}.address{padding:11px;background:#fafbfd;border:1px solid #edf2f8;border-radius:6px;font-size:12px;color:#a8bbd3;margin-bottom:11px;overflow-wrap:anywhere}.integration-header{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:20px}.integration-header .notice{margin:0;flex:1}.settings-content{padding:22px;color:#9eafc5;font-size:12px}.settings-content>p{margin:16px 0;font-size:12px;color:#a2b4cc}.settings-content>h3{font-size:13px;margin-bottom:9px;color:#9db0cb}.settings-content>h3:not(:first-child){margin-top:25px}.setting-row{display:flex;align-items:center;gap:14px;margin-bottom:23px;color:#a3b4cc}.setting-row>div{flex:1}.setting-row b{font-size:13px;font-weight:500;color:#859cb8}.setting-row p{font-size:11px;color:#b0bfd4;margin-top:6px}.setting-row>span:first-child{flex:1}.ration-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}.recipe-list{border:1px solid #ecf1f7;border-radius:8px;padding:15px;background:#fcfdfe;align-self:start}.recipe-list-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#9aaeca;margin:4px 3px 15px}.recipe-list>.search-field{margin-bottom:14px}.recipe-item{display:flex;align-items:center;gap:9px;padding:13px 8px;background:none;border:1px solid transparent;border-radius:7px;width:100%;text-align:left;margin:3px 0;color:#a7bbd6}.recipe-item>div{min-width:0;flex:1}.recipe-item b{display:block;font-size:11px;font-weight:500;line-height:1.5;color:#8ea5c2}.recipe-item small{display:block;font-size:9px;margin-top:5px;color:#b3c3da}.recipe-item.active{background:#f2f6fb;border-color:#e6eef8}.recipe-item:hover{background:#f7f9fc}.recipe-icon{display:flex;color:#b5c7df}.recipe-add{width:100%;display:flex;align-items:center;gap:8px;justify-content:center;font-size:11px;color:#9fb6d4;border:1px dashed #e1ebf7;background:none;border-radius:7px;padding:12px;margin-top:15px}.recipe-editor{border:1px solid #e9f0f9;border-radius:9px;min-width:0;background:#fff}.recipe-header{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:23px}.recipe-header h2{font-size:22px;line-height:1.45;color:#7c98bd}.recipe-meta{display:flex;align-items:center;gap:8px;color:#b8cbe6;font-size:10px;margin-top:13px}.editor-tabs{display:flex;align-items:center;gap:5px;margin:0 22px;padding:6px 0 16px;border-bottom:1px solid #edf3fb;overflow:auto}.editor-tabs button{border:1px solid transparent;padding:8px 12px;border-radius:6px;background:none;font-size:11px;color:#a9c1e0;white-space:nowrap}.editor-tabs button.active{border-color:#e5effc;background:#f5f9ff;color:#90b3e1}.editor-body{padding:22px}.editor-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px;font-size:10px;color:#b4cbea}.editor-toolbar label{display:flex;align-items:center;gap:8px;white-space:nowrap}.editor-toolbar input{width:62px;padding:6px 8px;min-height:32px;font-size:11px}.quantity-input{width:78px;text-align:right;min-height:33px;border-color:#e6f0ff;padding:6px 8px;font-size:12px}.add-ingredient{display:flex;gap:10px;margin:19px 0}.add-ingredient>.select-control{flex:1;min-width:0;font-size:12px}.recipe-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #eef5ff;padding-top:23px;margin-top:25px}.recipe-summary>div>span{display:block;font-size:10px;color:#b2cff3}.recipe-summary strong{display:block;font-size:21px;color:#86b4ef;font-weight:450;margin-top:9px}.recipe-summary small{font-size:10px;color:#bbd8ff}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf5ff;padding:16px 22px;font-size:10px;color:#b8d8ff}.editor-footer>span{display:flex;align-items:center;gap:7px}.validation{border:1px solid #eeeae4;border-radius:7px;padding:11px 13px;color:#aaa39a;font-size:11px;margin-top:21px}.validation summary{display:flex;gap:7px;align-items:center;cursor:pointer}.validation p{padding-top:9px;font-size:10px}.nutrient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nutrient{border:1px solid var(--line);border-radius:8px;padding:20px;color:var(--muted)}.nutrient>span{font-size:11px}.nutrient strong{display:block;font-size:29px;font-weight:450;color:#626e7d;margin:12px 0}.nutrient strong small{font-size:10px;margin-left:7px;color:var(--muted)}.nutrient-track{height:3px;background:#f2f4f6;border-radius:2px;margin-bottom:10px}.nutrient-track span{display:block;height:3px;background:#9abfd8;border-radius:2px}.cost-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:25px}.cost-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:25px}.cost-result>div{border:1px solid #e8ecf1;border-radius:8px;padding:24px;background:#fafbfd}.cost-result>div>span{font-size:11px;color:#8fa2ba}.cost-result strong{display:block;font-size:36px;font-weight:450;color:#7796bc;letter-spacing:-1px;margin:17px 0 12px}.cost-result p,.cost-result small{font-size:11px;color:#adc2df}.source-panel{font-size:12px;color:#a8bedb}.source-panel h3{margin:22px 0 12px;color:#94b2d9}.source-panel p{font-size:12px;line-height:1.9}.source-panel dl{margin:22px 0}.metric-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 30px;padding:23px 0}.metric-strip>div{padding:0 24px;border-right:1px solid var(--line)}.metric-strip>div:first-child{padding-left:0}.metric-strip>div:last-child{border:0}.metric-strip span{font-size:11px;color:var(--muted)}.metric-strip strong{display:block;font-size:30px;font-weight:450;margin:13px 0;color:#666e7a;letter-spacing:-.9px}.metric-strip small{font-size:10px}.feature-row{display:flex;align-items:center;gap:14px;padding:20px 22px;border-bottom:1px solid #f1f3f6;color:#a4b0be}.feature-row:last-child{border:0}.feature-row>div{flex:1}.feature-row b{font-size:12px;font-weight:500;color:#8293a9}.feature-row p{font-size:11px;color:#a9b8ca;margin-top:6px}.source-readiness>div{display:flex;align-items:center;gap:15px;padding:22px;border-bottom:1px solid var(--line);color:#a8b8cc}.source-readiness>div:last-child{border:0}.source-readiness>div>div{flex:1}.source-readiness small{display:block;margin-top:6px}.source-readiness b{font-size:13px;color:#8aa0bc}.signal-orbit{display:grid;place-items:center;width:85px;height:85px;border-radius:50%;border:1px solid #edf3fa;background:#fbfdff;color:#aec5e4;margin-bottom:7px}.labor-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.labor-toolbar>.search-field{max-width:500px}.task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:24px}.task-column{min-height:300px;border:1px solid #e9eef5;border-radius:8px;background:#fbfcfe;padding:15px}.task-column>header{display:flex;align-items:center;gap:9px;padding:5px 3px 20px;color:#a0b5d1}.task-column>header h3{font-size:12px;flex:1;color:#96aecd}.task-column>header>span:last-child{font-size:11px;color:#c2d2e8}.task-status-dot{width:5px;height:5px;border-radius:50%;background:#b5c4d7}.task-status-dot.done{background:#90bcd9}.task-column-empty{font-size:11px;color:#c0d1e8;line-height:1.8;padding:25px 7px;text-align:center}.task-card{padding:17px;margin-bottom:10px;border:1px solid #eaf0f8;background:#fff;border-radius:7px}.task-card h3{font-size:13px;line-height:1.6;color:#91acd1;margin:13px 0}.task-card p,.task-card>small{display:flex;align-items:center;gap:7px;font-size:10px;color:#c1d4f0;margin:8px 0}.task-card>.select-control{width:100%;margin-top:13px;font-size:11px;border-color:#edf5ff}.task-editor{padding:22px}.task-editor .panel-head{padding:0 0 20px;margin-bottom:22px}.quality-layout{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:24px}.quality-metric{padding:14px;border-right:1px solid var(--line)}.quality-metric:last-child{border:0}.quality-metric>span{font-size:11px;color:#a5b0c0}.quality-metric strong{display:block;font-size:34px;color:#b2c0d2;font-weight:400;margin:12px 0}.section-segment{margin-bottom:25px}.mcp-intro{display:flex;align-items:center;gap:17px;padding:5px 0 30px}.mcp-intro h2{font-size:20px;color:#95a9c4}.mcp-intro p{font-size:12px;color:#b6c5dc;margin-top:7px}.mcp-intro>.badge{margin-left:auto}.wizard-steps{display:flex;gap:18px;align-items:center;margin-bottom:30px}.wizard-steps>button{display:flex;align-items:center;gap:8px;border:0;background:none;color:#adbdd4;padding:8px 4px;font-size:12px}.wizard-steps>button>span{width:26px;height:26px;display:grid;place-items:center;background:#f2f6fc;border:1px solid #e9eff8;border-radius:50%;font-size:11px}.wizard-steps>button.active{color:#79a4de}.wizard-steps>button.active>span{background:#eaf3ff;border-color:#dbeaff;color:#7da7df}.source-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.source-types>button{display:flex;flex-direction:column;align-items:center;gap:14px;border:1px solid #edf2f9;border-radius:8px;padding:22px 10px;background:#fff;color:#a8bfdf;font-size:12px}.source-types>button.selected{background:#f6faff;border-color:#d9e8ff;color:#8ab3ee}.dropzone{display:flex;align-items:center;flex-direction:column;gap:14px;padding:40px 25px;margin-top:24px;border:1px dashed #dce9fc;border-radius:9px;color:#b0cbf0;background:#fbfdff;text-align:center}.dropzone b{font-size:13px;color:#9ebbe2}.dropzone span{font-size:11px;color:#c0d5f5}.dropzone input{font-size:11px;margin-top:10px}.ai-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px}.assistant-main{display:flex;flex-direction:column;min-height:520px;padding:28px}.assistant-intro{text-align:center;padding:28px 5px 20px;color:#a6bfdc}.assistant-intro h2{font-size:27px;font-weight:450;color:#86a3c8;margin:20px 0 12px}.assistant-intro p{font-size:12px;color:#b5ccea}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:28px 0}.prompt-grid>button{display:flex;align-items:start;justify-content:space-between;gap:10px;text-align:left;border:1px solid #e9f1fc;background:#fbfdff;padding:15px;border-radius:8px;color:#adc8ed;font-size:11px;line-height:1.7}.prompt-grid>button:hover{background:#f5faff}.assistant-composer{margin-top:auto;border:1px solid #e3efff;border-radius:9px;padding:14px;background:#fff;box-shadow:0 3px 20px #497fb105}.assistant-composer textarea{width:100%;min-height:75px;border:0;box-shadow:none;resize:none;background:none;font-size:13px;color:#86b5f3;padding:0}.assistant-composer>div{display:flex;align-items:center;justify-content:space-between}.assistant-composer>div>span{display:flex;align-items:center;gap:6px;color:#c2dcff;font-size:9px}.assistant-answer{padding:18px;border:1px solid #eaf3ff;border-radius:8px;margin:8px 0 25px;background:#fcfdff}.assistant-answer p{margin-top:12px;font-size:13px;color:#99bff5;line-height:1.9}.context-stat{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eef5ff;color:#a4c5f3;font-size:12px}.model-unavailable{display:flex;align-items:center;gap:7px;font-size:10px;color:#b7d7ff;margin-top:25px}.model-unavailable>span{width:5px;height:5px;border-radius:50%;background:#bcd8fc}.nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#45484d33;border:0;z-index:39}.compact .sidebar{width:72px}.compact .shell{margin-left:72px}.compact .brand{padding:25px 15px}.compact .brand>span:last-child,.compact .company-switch,.compact .module-identity,.compact .nav-label,.compact .sidebar nav button>span,.compact .sidebar nav button small,.compact .local-label,.compact .collapse>span,.compact .user>div{display:none}.compact .sidebar nav{padding:0 13px}.compact .sidebar nav button{justify-content:center;padding:13px 9px}.compact .sidebar-bottom{padding:18px}.compact .user{justify-content:center}.compact .collapse{margin:0 auto}.panel,.recipe-editor,.recipe-list,.task-column,.assistant-composer,.task-card{border-color:var(--line)}.panel p,.settings-content,.feature-row p,.stream-empty p,.task-card p,.task-card>small,.task-column-empty,.source-panel,.source-panel p{color:#939aa4}.panel h2,.panel h3,.settings-content h3,.feature-row b,.task-card h3,.recipe-header h2{color:#5b626c}.recipe-item b,.recipe-summary strong,.cost-result strong,.metric-strip strong,.assistant-intro h2{color:#646c78}.recipe-item small,.recipe-meta,.editor-toolbar,.editor-footer,.context-stat,.source-panel dt,.source-panel dd{color:#9ca4af}.recipe-item.active{background:#f3f5f7;border-color:#e8ebef}.recipe-summary>div>span,.recipe-summary small,.cost-result p,.cost-result small,.task-column>header h3,.task-column>header>span:last-child{color:#9fa6af}.recipe-header .eyebrow{color:#a7adb6}.cost-result>div,.task-column,.recipe-list{background:#fafbfc}.editor-tabs button{color:#9ca3ae}.editor-tabs button.active{color:#657180;background:#f1f4f6;border-color:#e8ecf0}.editor-tabs,.editor-footer,.recipe-summary{border-color:var(--line)}.name-cell small{color:#a5acb6}.item-icon,.large-icon{color:#98a1af;border-color:#edf0f3;background:#f7f9fa}.assistant-intro p,.assistant-composer>div>span,.model-unavailable,.assistant-answer p{color:#969faa}.prompt-grid>button,.source-types>button{color:#909aa7;border-color:var(--line);background:#fff}.prompt-grid>button:hover,.source-types>button.selected{background:#f4f7fa;border-color:#e0e6ec;color:#71879c}.assistant-composer{border-color:#e3e8ee}.dropzone{border-color:#e1e6ed;background:#fcfdfe;color:#9ea9b9}.dropzone b,.dropzone span,.quality-metric span,.setting-row,.setting-row b,.setting-row p,.settings-content>p,.mcp-intro h2,.mcp-intro p{color:#969fae}.source-readiness small{color:#a6b0be}.source-readiness b{color:#7e8a9a}.task-card>.select-control{border-color:var(--line)}.task-editor .panel-head{border-color:var(--line)}@media(min-width:1600px){main{padding:40px 48px 50px}.topbar,.suite-container,.contextbar{padding-left:48px;padding-right:48px}.page-heading{margin-bottom:42px}h1{font-size:36px}}@media(max-width:1250px){.sidebar{width:210px}.shell{margin-left:210px}.brand{padding-left:20px}.topbar,main,.suite-container,.contextbar{padding-left:25px;padding-right:25px}.global-search{display:none}.overview-grid{grid-template-columns:1fr}.overview-grid>.panel:last-child{display:grid;grid-template-columns:1fr 1fr}.overview-grid>.panel:last-child .panel-head{grid-column:1/-1}.aside-note{grid-column:1/-1}.ration-workspace{grid-template-columns:220px minmax(0,1fr)}.recipe-header h2{font-size:18px}.workflow{gap:10px}.mill-grid,.connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat{padding:5px 14px}.stat:first-child{padding-left:0}.suite-switcher>button{padding:8px 10px;font-size:11px}.smart-filter-heading small{display:none}}@media(max-width:950px){.sidebar{width:68px}.shell{margin-left:68px}.sidebar .brand{padding:24px 13px}.sidebar .brand>span:last-child,.sidebar .company-switch,.sidebar .module-identity,.sidebar .nav-label,.sidebar nav button>span,.sidebar nav button small,.sidebar .local-label,.sidebar .collapse>span,.sidebar .user>div{display:none}.sidebar nav{padding:0 11px}.sidebar nav button{justify-content:center;padding:13px 8px;margin:5px 0}.sidebar-bottom{padding:16px}.sidebar .user{justify-content:center}.sidebar .collapse{margin:0 auto}.mobile-menu{display:inline-flex}.topbar{height:57px}.suite-container{gap:5px;flex-wrap:wrap}.suite-switcher{flex:1}.all-modules{padding:7px}.all-modules>span{display:none}.contextbar>span{font-size:9px}.page-heading{margin-bottom:27px}.page-heading h1{font-size:27px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:25px}.stat:nth-child(2){border-right:0}.stat:nth-child(3){padding-left:0}.stat strong{font-size:28px}.ration-workspace{grid-template-columns:1fr}.recipe-list{padding:13px;overflow:auto;max-height:240px}.recipe-list-title{margin-bottom:10px}.recipe-list>.search-field{margin-bottom:10px}.recipe-item{display:inline-flex;width:190px;vertical-align:top;min-height:70px;margin:3px;border-color:#f0f2f4}.recipe-item b{font-size:11px}.recipe-item>svg{display:none}.recipe-add{width:auto;display:inline-flex;margin:3px}.recipe-icon{display:none}.metric-strip strong{font-size:26px}.two-col,.ai-workspace{grid-template-columns:1fr}.ai-context{order:-1}.ai-context .settings-content{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:15px 20px}.ai-context .context-stat{padding:0;gap:9px;border:0}.ai-context p{max-width:260px;margin:0}.ai-context .model-unavailable{margin:0}.task-board{gap:10px}.task-card{padding:13px}.task-column{padding:12px}.task-column h3{font-size:12px}.quality-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-expanded .sidebar{width:260px;box-shadow:8px 0 35px #2c343e14}.mobile-expanded .sidebar .brand{padding:24px}.mobile-expanded .sidebar .brand>span:last-child,.mobile-expanded .sidebar .module-identity,.mobile-expanded .sidebar .nav-label,.mobile-expanded .sidebar nav button>span,.mobile-expanded .sidebar .user>div{display:block}.mobile-expanded .sidebar .company-switch,.mobile-expanded .sidebar .module-identity{display:flex}.mobile-expanded .sidebar nav button{justify-content:flex-start;padding:11px}.mobile-expanded .sidebar nav{padding:0 15px}.mobile-expanded .sidebar .collapse{display:none}.mobile-expanded .sidebar .user{justify-content:flex-start}.mobile-expanded .sidebar-bottom{padding:18px 24px}.mobile-expanded .sidebar .nav-label{padding-left:25px}}@media(max-width:650px){.sidebar{width:54px}.shell{margin-left:54px}.sidebar .brand{padding:21px 9px}.sidebar .brand-logo,.sidebar .brand-logo img{width:36px;height:36px}.sidebar nav{padding:0 7px}.sidebar nav button{padding:13px 4px}.sidebar-bottom{padding:12px}.sidebar .collapse{display:none}.sidebar .user>span{width:25px;height:25px;font-size:9px}.topbar,main,.suite-container,.contextbar{padding-left:16px;padding-right:16px}.topbar{gap:10px}.topbar .avatar{display:none}.topbar .breadcrumbs{font-size:10px}.topbar .button .hide-small{display:none}.topbar .button{width:34px;min-height:34px;padding:8px}.suite-container{padding-top:10px;padding-bottom:6px}.suite-switcher{gap:2px}.suite-switcher>button{padding:8px;gap:5px;font-size:10px}.suite-switcher svg{width:14px;height:14px}.suite-switcher>button>span{white-space:nowrap}.contextbar{height:32px}.contextbar>span:last-child{display:none}.module-picker{left:10px;right:10px;padding:18px;top:55px;max-height:75vh;overflow:auto}.module-picker-head h2{font-size:18px}.module-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.module-picker-grid>button{padding:13px;min-height:127px}.module-picker-grid b{font-size:12px}.module-picker-grid small{font-size:10px}.page-heading{flex-direction:column;align-items:start;gap:19px;margin-bottom:25px}.page-heading h1{font-size:26px;letter-spacing:-.8px}.page-heading p{font-size:11px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1px}.stats{padding:18px 0;margin-bottom:25px}.stat strong{font-size:27px}.stat>div{font-size:10px}.stat small{font-size:9px}.stat>div svg{display:none}.panel-head{padding:17px}.workflow{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.workflow button{padding:15px 9px}.production-preview{margin:0 17px;flex-direction:column;align-items:start}.overview-grid>.panel:last-child{display:block}.attention{padding:19px 17px}.schedule{padding:17px}.stage{font-size:9px;padding:6px}.schedule-line{gap:6px}.catalog-toolbar{flex-wrap:wrap;padding:15px;gap:8px}.catalog-toolbar .search-field{flex-basis:100%;max-width:none}.sort-control{flex:1;justify-content:flex-end}.quick-filters{padding:0 15px 15px;gap:12px}.quick-filters>.segmented{flex-basis:100%;width:max-content}.segmented button{padding:7px 9px;font-size:10px}.smart-filter-panel{margin:0 15px 15px;padding:14px}.smart-filter-fields{grid-template-columns:1fr 1fr}.smart-filter-fields label:first-child{grid-column:1/-1}.active-filters{padding:0 15px 14px}.catalog-bottom{padding:13px 15px;gap:10px;font-size:9px}.catalog-bottom>span:last-child{max-width:190px;text-align:right}.table-toolbar{padding:15px;gap:8px}.table-toolbar .muted{font-size:10px}.filter-row{padding:0 15px 15px}.table-wrap th{font-size:10px;padding:12px 14px}.table-wrap td{padding:15px 14px;font-size:11px}.mill-grid,.connection-grid{grid-template-columns:1fr}.integration-header{align-items:stretch;flex-direction:column}.form-grid,.cost-controls,.cost-result{grid-template-columns:1fr}.cost-result strong{font-size:32px}.editor-header,.editor-body{padding:17px}.recipe-header{padding:18px}.recipe-header h2{font-size:18px}.recipe-meta{font-size:9px;gap:5px;flex-wrap:wrap}.recipe-meta .badge{font-size:9px}.editor-tabs{margin:0 17px;gap:0}.editor-tabs button{padding:7px 9px;font-size:10px}.editor-toolbar{align-items:flex-start;flex-wrap:wrap;gap:10px}.editor-toolbar .spacer{display:none}.editor-toolbar .muted{width:100%;font-size:9px}.add-ingredient{gap:7px}.add-ingredient .button{font-size:10px}.recipe-summary{gap:8px}.recipe-summary>div>span{font-size:9px;line-height:1.6}.recipe-summary strong{font-size:18px}.recipe-summary small{font-size:8px}.editor-footer{flex-direction:column;align-items:stretch;font-size:9px;padding:16px 17px}.editor-footer>.button{margin-top:8px}.nutrient-grid{grid-template-columns:1fr 1fr;gap:8px}.nutrient{padding:14px}.nutrient strong{font-size:23px}.nutrient>span{font-size:10px}.nutrient>small{font-size:9px}.nutrient strong small{display:block;margin:6px 0}.modal-backdrop{padding:12px}.modal>header{padding:18px}.modal form,.modal-body{padding:18px}.modal form{padding-bottom:0}.modal>header h2{font-size:18px}.modal>.stats{margin:0 18px;grid-template-columns:1fr}.modal .stat{padding:15px 0;border:0}.notice{font-size:10px;padding:13px;gap:8px}.statusbar{padding:12px 16px;font-size:8px}.statusbar>span:first-child{display:none}.statusbar>span:last-child{margin-left:auto}.hide-small{display:none}.quick-footer{align-items:start;gap:14px;font-size:10px}.quick-footer .text-button{font-size:10px}.metric-strip{grid-template-columns:1fr;gap:17px;padding:20px 0}.metric-strip>div{padding:0;border:0}.metric-strip strong{margin:8px 0;font-size:28px}.task-board{grid-template-columns:1fr}.task-column{min-height:160px}.task-column-empty{padding:15px}.labor-toolbar .search-field{flex-basis:100%}.labor-toolbar .button{margin-left:auto}.quality-layout{padding:15px;gap:10px}.quality-metric{padding:10px;border:0}.mcp-intro{flex-wrap:wrap}.mcp-intro h2{font-size:18px}.mcp-intro>.badge{margin-left:0}.source-types{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-steps{gap:10px}.wizard-steps>button{font-size:10px;gap:5px}.wizard-steps>button>span{width:23px;height:23px}.assistant-main{padding:18px;min-height:480px}.assistant-intro h2{font-size:24px}.prompt-grid{grid-template-columns:1fr;gap:8px}.prompt-grid>button{padding:12px;font-size:11px}.assistant-composer>div>span{font-size:8px}.ai-context .settings-content{gap:15px}.stream-empty{padding:35px 20px;min-height:285px}.stream-empty h2{font-size:18px}.stream-empty p{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.suite-container,.contextbar,.statusbar,.heading-actions{display:none}.shell{margin:0}main{padding:20px}.panel{break-inside:avoid}}.animal-header{display:flex;align-items:center;gap:18px;margin-bottom:24px}.animal-header h2{margin:0;font-size:25px;font-weight:550}.animal-header p{margin:5px 0;color:#747b85}.animal-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:22px 0}.animal-summary span{display:block;font-size:12px;color:#7b818c;margin-bottom:8px}.animal-summary b{font-size:14px;font-weight:500}.animal-tabs{display:flex;overflow:auto;gap:22px;border-bottom:1px solid #e9ebef;margin-bottom:24px}.animal-tabs button{white-space:nowrap;background:none;border:0;border-bottom:2px solid transparent;padding:14px 0;color:#737b86;font-size:13px}.animal-tabs button.selected{color:#2e91e9;border-bottom-color:#2e91e9}.animal-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:28px 0}.animal-facts dt{font-size:12px;color:#737b86;margin-bottom:7px}.animal-facts dd{margin:0;font-size:14px;color:#343b46}.animal-empty{padding:40px;text-align:center;color:#747b85}.animal-tools{display:flex;gap:12px;align-items:center;padding:16px 20px;flex-wrap:wrap}.animal-tools .search-input{flex:1;min-width:240px}.animal-tools>.select-control{width:210px}.animal-link{border:0;background:none;text-align:left;color:var(--text);font:inherit;font-weight:550;cursor:pointer}.animal-link:hover{color:var(--accent)}.animal-link small,.cell-sub{display:block;color:#7f8690;font-size:11px;font-weight:400;margin-top:6px}.animal-entry{margin-top:24px;border-color:#a9d4f5}.animal-entry h3{margin:0}.panel p{color:#747b85}@media(max-width:950px){.animal-header{flex-wrap:wrap}.animal-summary,.animal-facts{grid-template-columns:repeat(2,1fr)}.animal-tools>.select-control{flex:1}}@media(max-width:650px){.animal-summary,.animal-facts{grid-template-columns:1fr}.animal-header .badge{display:none}}.field-label{display:inline-flex;align-items:baseline;gap:4px;min-height:18px;line-height:18px}.field-label .required{display:inline;color:#d06060;margin:0;line-height:inherit}.form-grid{align-items:start}.form-grid>label{min-width:0;display:flex;flex-direction:column;gap:8px}.form-grid>label>small:empty{display:none}.form-grid>label>input,.form-grid>label>.select-control,.form-grid>label>textarea{width:100%;margin:0}.suite-measure{position:absolute;visibility:hidden;pointer-events:none;height:0;overflow:hidden;display:flex;gap:5px;white-space:nowrap}.suite-measure>span{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;font-size:12px;border:1px solid transparent;flex-shrink:0}.suite-container{overflow:visible}.suite-switcher{overflow:hidden;flex-shrink:0}.all-modules{flex-shrink:0}.brand-logo img{width:42px;height:42px}.topbar .avatar{display:grid;flex-shrink:0}.select-popover{display:flex;flex-direction:column;overflow:hidden}.select-search{flex-shrink:0}.select-options{min-height:0;flex:1;overflow:auto}.record-photo{max-width:220px;max-height:160px;object-fit:contain;border-radius:8px}.forecast-chart{width:100%;max-height:300px}.forecast-chart text{fill:var(--muted);font-size:12px}.monitor-scatter{width:100%;touch-action:none}.monitor-scatter text{font-size:11px;fill:var(--muted)}.date-control{display:flex;align-items:center;position:relative;min-width:0;width:100%}.date-control>input:first-child{width:100%;padding-right:40px}.date-control>button{position:absolute;right:3px}.date-picker-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;bottom:0;right:0}.animal-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important}.animal-facts>div{display:flex!important;flex-direction:column!important;border:0!important;padding:0!important;gap:7px}.animal-facts dt{color:var(--muted);font-size:12px}.animal-facts dd{margin:0;min-height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#fafbfc;overflow-wrap:anywhere}.animal-facts dd:has(input){border:0;padding:0;background:none}.animal-facts dd input{width:100%;background:#fafbfc}.statusbar a{color:inherit;text-decoration:none}.statusbar a:hover{color:var(--accent)}@media(max-width:650px){.animal-facts{grid-template-columns:1fr}}.date-time-control{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px;align-items:center}.labor-toolbar>.date-control{max-width:200px}.work-time-grid{margin-top:16px;max-height:540px}.work-time-grid table{width:max-content;min-width:100%}.work-time-grid th,.work-time-grid td{padding:5px;text-align:center;min-width:46px}.work-time-grid th:nth-child(2){min-width:200px;text-align:left;position:sticky;left:0;background:var(--panel, #fff);z-index:1}.work-time-grid small{display:block;font-size:10px;font-weight:400;color:var(--muted, #8a8a8a)}.work-time-grid .weekend{background:#f5f2ec}.work-day{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e8e8e8;border-radius:6px;min-width:38px;min-height:48px;background:#fff;cursor:pointer}.work-day:hover{border-color:#2b70ea;background:#f1f6ff}.work-day.absence{background:#fff4e6;color:#a76500}.work-day em{font-style:normal;color:#2365c5;font-size:10px}@media(max-width:650px){.statusbar{flex-wrap:wrap;gap:8px}.statusbar>span:first-child{display:flex;font-size:10px}.statusbar>span:last-child{font-size:10px}}.schedule-workspace{min-width:0}.schedule-month-actions{display:flex;align-items:center;gap:4px}.schedule-workspace .labor-toolbar{align-items:end}.schedule-workspace .labor-toolbar label{min-width:160px;flex:1}.schedule-group td,.schedule-group th{background:var(--soft)!important}.schedule-group th{height:49px}.schedule-group th .icon-button{float:right;margin-left:8px}.schedule-date-button{width:100%;border:0;padding:6px 0;background:transparent;text-align:center;font-variant-numeric:tabular-nums}.schedule-date-button:hover{color:var(--accent)}.work-time-grid th .text-button{font-size:10px}.work-time-grid .work-day{min-height:64px;position:relative}.shift-dots{display:flex;gap:3px;justify-content:center}.shift-dots i{display:block;width:5px;height:5px;border-radius:50%}.schedule-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0 4px;font-size:11px;color:var(--muted)}.schedule-legend>span{display:inline-flex;gap:5px;align-items:center}.schedule-legend i{width:7px;height:7px;border-radius:50%;display:block}.schedule-dialog form{display:flex;flex-direction:column;gap:16px}.schedule-dialog .form-description{margin:0}.schedule-shifts{display:grid;gap:12px}.schedule-dialog fieldset{margin:0;padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}.schedule-dialog legend{padding:0 5px;font-size:12px;color:var(--muted)}.schedule-shifts .text-button{margin-top:10px}.schedule-weekdays{display:flex;flex-wrap:wrap;gap:14px}.schedule-weekdays label{display:flex;gap:6px;align-items:center}.schedule-cycle{display:grid;gap:10px}.schedule-cycle>div{display:grid;grid-template-columns:70px minmax(0,1fr) 34px;align-items:center;gap:10px}.schedule-single-field{display:flex;flex-direction:column;gap:7px;font-size:12px}.schedule-single-field input{max-width:300px}.schedule-dialog .modal-footer{margin-top:0}.work-time-grid tbody>tr:not(.schedule-group)>th:nth-child(2){white-space:normal}.schedule-dialog input[type=color]{width:100%}@media(max-width:650px){.schedule-workspace .labor-toolbar label{min-width:110px}.schedule-workspace .labor-toolbar>.button{flex:1;white-space:normal}.schedule-dialog{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);padding:18px!important}.schedule-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-shifts fieldset{padding:10px}.schedule-dialog h2{font-size:18px}.schedule-dialog .form-grid>label{font-size:11px}}@media(max-width:420px){.schedule-dialog .form-grid{grid-template-columns:1fr}}input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:inline-block;flex-shrink:0;width:16px;height:16px;min-height:16px;margin:0;padding:0;vertical-align:middle;border:1px solid #cbd1d9;border-radius:4px;background:#fff;box-shadow:inset 0 1px 2px #20252b05;cursor:pointer}input[type=checkbox]:hover:not(:disabled){border-color:var(--accent);background-color:var(--accent-soft)}input[type=checkbox]:checked,input[type=checkbox]:indeterminate{border-color:#179ddd;background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(180deg,#38b3f7,#149ade);background-size:14px 14px,100% 100%;background-position:center;background-repeat:no-repeat;box-shadow:inset 0 1px #fff3,0 1px 3px #169bdd18}input[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"),linear-gradient(180deg,#38b3f7,#149ade)}input[type=checkbox]:focus-visible{outline:2px solid #68b5e8;outline-offset:3px;box-shadow:0 0 0 3px #179be50d}input[type=checkbox]:disabled{opacity:.45;cursor:default}label:has(>input[type=checkbox]){display:inline-flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer}@media(forced-colors:active){input[type=checkbox]{-moz-appearance:auto;appearance:auto;-webkit-appearance:auto;background-image:none!important;forced-color-adjust:auto}}.brand{gap:9px;padding:24px 17px 22px;min-width:0}.brand-logo,.brand-logo img{width:40px;height:40px;flex-shrink:0}.brand>span:last-child{font-size:24px;line-height:1.2;letter-spacing:-.8px;white-space:nowrap;min-width:0}.brand small{font-size:10px;letter-spacing:.15px;line-height:1.4;margin-top:4px;color:#8a8780}.company-switch{display:block;margin:0 16px 23px;padding:0;border:0;background:none}.company-switch>div{width:100%}.company-switch small{display:block;font-size:10px;letter-spacing:0;color:#8a8780;margin:0 0 7px}.company-switch .select-control{width:100%;min-height:38px;padding:8px 11px;border:1px solid #e1e3e7;background:#fff;font-size:12px;box-shadow:0 1px 2px #20252b04}.company-switch .select-control:hover{border-color:#c7cbd3}.company-switch .select-control[aria-expanded=true]{border-color:#7bbfec;box-shadow:0 0 0 3px #168ed20b}.dialog-content{padding:22px}.dialog-content .modal-footer{padding:20px 0 0}.dialog-content .animal-facts{margin-top:0}.dialog-content .animal-facts input,.dialog-content .animal-facts textarea{width:100%}.stat{position:relative}.stat>div{display:block;min-height:24px;padding-right:34px}.stat>div svg{position:absolute;right:18px;top:4px;width:24px;height:24px;color:var(--accent);stroke-width:1.7}.metric-strip>div{position:relative;padding-right:42px}.metric-strip .metric-icon{position:absolute;right:22px;top:1px;display:grid;place-items:center;width:28px;height:28px;color:var(--accent);opacity:.82}.metric-strip .metric-icon svg{width:25px;height:25px;stroke-width:1.7}.monitor-filters{align-items:center}.monitor-subtitle{display:block;margin-top:5px;color:var(--muted);font-size:11px}.monitor-panel{display:block!important;padding:0 20px 20px!important}.monitor-panel>.panel-head{padding:20px 0 14px;border-bottom:1px solid var(--line)}.monitor-chart-tools{padding:16px 0;align-items:center}.monitor-chart-tools>label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.monitor-chart-tools>label input{width:85px}.monitor-chart-wrap{min-width:0;overflow:hidden}.herd-scatter{display:block;width:100%;height:auto;max-height:560px;cursor:crosshair;touch-action:manipulation}.herd-scatter g[role=button]{cursor:pointer}.herd-scatter g[role=button]:focus{outline:none}.monitor-crosshair{stroke:#2489ec;stroke-width:1.4;stroke-dasharray:5 4;pointer-events:none}.monitor-crosshair-handle{fill:#fff;stroke:#167ce0;stroke-width:2.5;pointer-events:none}.monitor-crosshair-center{fill:#167ce0;pointer-events:none}.monitor-axis-notes{display:flex;justify-content:space-between;gap:10px;padding:2px 5px 13px;color:var(--muted);font-size:9px;letter-spacing:.04em}.monitor-quadrants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.monitor-quadrant{min-width:0;padding:13px 15px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--panel, #fff);color:var(--text, #343b46);cursor:pointer;transition:border-color .15s,background .15s}.monitor-quadrant:hover,.monitor-quadrant.selected{border-color:#65b5fa;background:#f2f8ff}.monitor-quadrant>span{display:block;font-size:11px;color:var(--muted)}.monitor-quadrant>b{display:block;margin:6px 0;font-size:19px;font-weight:600}.monitor-quadrant>b small{font-size:10px;font-weight:400;color:var(--muted)}.monitor-quadrant>div{font-size:10px;color:var(--muted)}.monitor-quadrant footer{display:flex;gap:13px;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.monitor-quadrant footer span{display:inline-flex;align-items:center;gap:4px}.monitor-quadrant footer svg{color:var(--accent)}.monitor-columns{flex-wrap:wrap}.monitor-panel .scatter-legend{display:flex;gap:15px;flex-wrap:wrap;padding-top:13px;color:var(--muted);font-size:10px}@media(max-width:650px){.stat>div svg{right:3px;top:2px}.metric-strip>div{padding-right:40px}.metric-strip .metric-icon{right:4px}.monitor-panel{padding:0 14px 14px!important}.monitor-panel>.panel-head{align-items:flex-start}.monitor-chart-tools{gap:7px}.monitor-chart-tools .spacer{display:none}.monitor-chart-tools>label{flex:1}.monitor-chart-tools>label input{width:70px}.monitor-quadrant{padding:10px}.monitor-quadrant footer{gap:7px}.monitor-axis-notes{font-size:7px}.monitor-panel .scatter-legend{gap:8px}}.sidebar-nav-wrap{position:relative;flex:1;min-height:0;overflow:hidden}.sidebar .sidebar-nav-wrap nav{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar-nav-content{padding-bottom:30px}.sidebar-scroll-hint{position:absolute;bottom:0;left:0;right:0;height:35px;display:flex;justify-content:center;align-items:flex-end;background:linear-gradient(transparent,var(--menu) 65%);pointer-events:none}.sidebar-scroll-arrow{pointer-events:auto;display:grid;place-items:center;width:30px;height:25px;padding:0;border:0;border-radius:8px;background:transparent;color:#96948c;box-shadow:none;cursor:pointer}.sidebar-scroll-arrow:hover{background:#ffffff70;color:#77766f}.sidebar-scroll-hint-top{top:0;bottom:auto;align-items:flex-start;background:linear-gradient(var(--menu) 35%,transparent)}.task-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-card p,.task-card>small{overflow-wrap:anywhere;align-items:flex-start}.task-card p svg,.task-completion svg{flex-shrink:0}.task-completion{display:flex;gap:6px;align-items:flex-start;font-size:11px;line-height:1.6;color:#648260;margin-top:9px;overflow-wrap:anywhere}.task-table-note{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.task-editor .field-label{display:block;line-height:1.5}.task-editor .field-label .required{display:inline;color:#b9735d}.task-editor .form-grid>.wide{grid-column:1/-1}.task-history{margin-top:16px;font-size:12px;color:var(--muted);line-height:1.7}.task-history summary{cursor:pointer;color:var(--text)}.employee-day-toolbar{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;padding:20px;margin-bottom:18px}.employee-day-toolbar>label{flex:1 1 250px;min-width:0}.employee-day-toolbar .field-label{display:block;margin-bottom:8px;font-size:12px;color:var(--text)}.day-date-control{flex:1 1 360px;min-width:0}.day-date-control>div{display:flex;align-items:center;gap:6px}.day-date-control .date-control{flex:1;min-width:130px}.employee-plan-caption{display:flex;gap:8px;align-items:center;margin-bottom:20px;font-size:13px;color:var(--text)}.employee-plan-section{margin-bottom:20px;overflow:hidden}.day-location-heading{display:flex;align-items:center;gap:8px;background:#f8f9f7;border-block:1px solid var(--line);padding:14px 20px;font-size:12px;font-weight:500;color:var(--text)}.day-task{display:grid;grid-template-columns:135px minmax(0,1fr) auto;align-items:start;gap:20px;padding:20px;border-bottom:1px solid var(--line)}.day-task:last-child{border-bottom:0}.day-task-time{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--text);padding-top:4px}.day-task-time>small{width:100%;padding-left:23px;color:var(--muted);line-height:1.6}.day-task-main{min-width:0}.day-task-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.day-task-title h3{font-size:14px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.day-task-main p{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.7;margin:8px 0;color:var(--muted);overflow-wrap:anywhere}.day-task-main p svg{flex-shrink:0;margin-top:3px}.day-task-main>.day-task-description{display:block;white-space:pre-wrap;color:var(--text)}.day-task-main>small{font-size:11px;line-height:1.7;color:var(--muted)}.day-task-main>.task-completion{color:#648260}.day-task-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.day-task.completed{background:#f9fbf8}@media(max-width:1050px){.day-task{grid-template-columns:125px minmax(0,1fr)}.day-task-actions{grid-column:2;justify-content:flex-start}}@media(max-width:600px){.employee-day-toolbar{padding:15px;gap:15px}.day-date-control>div{flex-wrap:wrap}.day-task{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.day-task-actions{grid-column:1}.day-task-time>small{width:auto;padding-left:0}.day-task-title{gap:7px}.day-location-heading{overflow-wrap:anywhere}.labor-toolbar{flex-wrap:wrap}}.ai-messages{display:grid;gap:16px;padding:0 24px 24px}.ai-message{padding:16px 20px;border-radius:12px;background:var(--surface, transparent);overflow-wrap:anywhere}.ai-message.user{background:var(--accent-soft, #eef7fc)}.ai-message p{white-space:pre-wrap;margin:8px 0 0}.ai-proposal{margin:0 24px 24px;padding:20px;border:1px solid var(--border, #dce3e9);border-radius:12px}.ai-proposal pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.ai-composer-actions{display:flex!important;gap:10px}.ai-access{display:flex;align-items:center;gap:10px;margin:20px 0}.ai-message.user{color:var(--text)}[data-theme=dark] .ai-message.user{background:#233e50}.assistant-main>.notice{margin:16px 24px}.assistant-main>p[role=status]{padding:0 24px}.ai-workspace{align-items:start}.ai-messages:empty{display:none}.ai-proposal{border-color:var(--line)}.ai-workspace .assistant-composer>div>.ai-composer-actions{margin:0;padding:0;border:0}.ai-workspace .assistant-main,.ai-workspace .ai-message{min-width:0}.ai-workspace .ai-context p{margin-top:16px}.ai-workspace .assistant-intro{padding-bottom:24px}.ai-observations{margin:0 24px 24px;color:var(--muted);font-size:12px}.ai-observations summary{cursor:pointer}.ai-observations pre{max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);padding:12px;background:var(--soft);border-radius:8px}.ai-plan-input{display:block;width:100%;min-height:170px;margin:8px 0 16px;font:12px/1.6 ui-monospace,SFMono-Regular,monospace;resize:vertical;background:var(--soft);color:var(--text);border-color:var(--line)}.ai-chat-layout{display:block;max-width:960px;margin:0 auto;width:100%}.ai-chat-layout .assistant-main{padding:0;min-height:calc(100dvh - 300px);border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;gap:20px}.ai-chat-layout .assistant-intro{padding:28px 12px 8px;color:var(--accent)}.ai-chat-layout .assistant-intro h2{margin:16px 0 10px;color:var(--text);font-size:25px}.ai-chat-layout .assistant-intro p{color:var(--muted);font-size:13px}.ai-chat-layout .prompt-grid{margin:24px 0 12px;gap:12px}.ai-chat-layout .prompt-grid>button{background:var(--surface);border-color:var(--line);color:var(--text);padding:16px;font-size:12px;border-radius:12px}.ai-chat-layout .prompt-grid>button:hover{background:var(--soft);border-color:var(--accent)}.ai-chat-layout .ai-messages{display:flex;flex-direction:column;gap:18px;padding:0}.ai-chat-layout .ai-message{position:relative;padding:15px 20px 19px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 2px 8px #192a3a03;color:var(--text);width:100%;min-width:0}.ai-chat-layout .ai-message.user{align-self:flex-end;max-width:calc(100% - 52px);width:fit-content;min-width:200px;background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 16%,var(--line))}.ai-chat-layout .ai-message>header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:26px;margin-bottom:7px;background:none;padding:0;border:0}.ai-message-author{font-size:11px;font-weight:550;color:var(--muted);letter-spacing:.1px}.ai-chat-layout .ai-copy{width:27px;height:27px;padding:5px;color:var(--muted);border-radius:7px}.ai-chat-layout .ai-copy:hover{background:var(--soft);color:var(--accent)}.ai-chat-layout .ai-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:0;font-size:13px}.ai-chat-layout .ai-proposal,.ai-chat-layout .ai-observations,.ai-chat-layout .assistant-main>.notice{margin:0}.ai-chat-layout .ai-proposal{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}.ai-chat-layout .ai-proposal h3{margin-bottom:8px}.ai-chat-layout .ai-proposal>p{margin-bottom:16px;color:var(--muted);font-size:12px}.ai-chat-layout .assistant-composer{position:sticky;bottom:16px;margin-top:auto;padding:17px 18px 12px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 5px 24px #152b4010;z-index:3}.ai-chat-layout .assistant-composer:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 7%,transparent)}.ai-chat-layout .assistant-composer textarea{display:block;min-height:76px;max-height:240px;resize:vertical;padding:0;margin:0 0 10px;border:0;border-radius:0;color:var(--text);font-size:13px;line-height:1.65;background:transparent;box-shadow:none}.ai-chat-layout .ai-composer-footer{gap:12px;min-height:38px}.ai-chat-layout .ai-composer-footer>.ai-composer-hint{align-self:center;text-align:center;flex:1;display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--muted);line-height:1.5}.ai-chat-layout .ai-composer-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.ai-send{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;padding:0;border:1px solid var(--text);border-radius:50%;background:var(--text);color:var(--surface)}.ai-send:hover:not(:disabled){background:var(--accent);border-color:var(--accent)}.ai-send:disabled{opacity:1;background:var(--soft);color:var(--muted);border-color:var(--line)}.ai-send svg{stroke-width:2}.ai-send.is-generating svg{stroke-width:1.5}.ai-chat-layout .ai-mic{position:relative;width:36px;height:36px;border-radius:50%;isolation:isolate;overflow:visible;color:var(--muted)}.ai-chat-layout .ai-mic>svg{position:relative;z-index:2}.ai-chat-layout .ai-mic.is-listening{color:var(--accent);background:var(--accent-soft)}.ai-mic-rings{display:none;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1}.is-listening .ai-mic-rings{display:block}.ai-mic-rings i{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid color-mix(in srgb,var(--accent) 65%,transparent);border-radius:50%;transform:scale(calc(1 + var(--voice-level, 0) * .2));opacity:calc(.16 + var(--voice-level, 0) * .64);transition:transform 70ms linear,opacity 90ms linear;animation:ai-mic-breathe 1.8s ease-in-out infinite}.ai-mic-rings i:nth-child(2){top:-4px;right:-4px;bottom:-4px;left:-4px;transform:scale(calc(1 + var(--voice-level, 0) * .22));animation-delay:-.6s;opacity:calc(.1 + var(--voice-level, 0) * .4)}.ai-mic-rings i:nth-child(3){top:-8px;right:-8px;bottom:-8px;left:-8px;transform:scale(calc(1 + var(--voice-level, 0) * .18));animation-delay:-1.2s;opacity:calc(.06 + var(--voice-level, 0) * .26)}@keyframes ai-mic-breathe{0%,to{border-color:color-mix(in srgb,var(--accent) 35%,transparent)}50%{border-color:var(--accent)}}@media(prefers-reduced-motion:reduce){.ai-mic-rings i{animation:none;transition:none}}@media(max-width:700px){.ai-chat-layout .assistant-main{min-height:calc(100dvh - 220px);gap:16px}.ai-chat-layout .ai-message{padding:12px 15px 16px}.ai-chat-layout .ai-message.user{max-width:calc(100% - 18px);min-width:150px}.ai-chat-layout .assistant-composer{bottom:10px;padding:14px}.ai-chat-layout .ai-composer-footer>.ai-composer-hint{max-width:180px}.ai-chat-layout .ai-proposal{padding:16px}}.ai-chat-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.ai-chat-tools>.select-wrap{max-width:270px}.ai-presets{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.ai-presets>p{font-size:12px;color:var(--muted);margin-bottom:14px}.ai-presets>div{display:flex;flex-wrap:wrap;gap:9px}.ai-proposal-summary{font-weight:550;color:var(--text)!important;background:var(--soft);padding:12px 14px;border-radius:10px}.ai-affected{padding:14px 0}.ai-affected ul{display:grid;gap:8px;margin:12px 0 0;padding-left:18px}.ai-affected li{font-size:12px}.ai-affected li small{display:block;overflow-wrap:anywhere}.ai-technical-plan{margin:12px 0}.ai-technical-plan>summary{cursor:pointer;color:var(--muted);font-size:12px;margin-bottom:14px}@media(max-width:600px){.ai-chat-tools{align-items:stretch;flex-direction:column}.ai-chat-tools>.select-wrap{max-width:none}}.ai-chat-layout .ai-reply-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ai-chat-layout .ai-reply-choices .button{font-size:12px;white-space:normal;text-align:left;min-height:34px}.ai-chat-layout .ai-progress-toggle{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--text-muted);padding:5px 0;font:inherit;cursor:pointer}.ai-chat-layout .ai-progress-toggle[aria-expanded=true]>.lucide-chevron-down{transform:rotate(180deg)}.ai-chat-layout .ai-progress{padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:12px;line-height:1.8;color:var(--text-muted)}.ai-chat-layout .ai-progress ol{margin:0;padding-left:18px}.ai-chat-layout .ai-chat-tools{position:sticky;top:82px;z-index:3;background:var(--surface);padding:10px 0}.ai-chat-layout .ai-progress-toggle .udder-thinking{color:var(--accent);flex:none;overflow:hidden;margin-right:2px}.udder-thinking-drop{animation:udder-thinking-drip 1.6s cubic-bezier(.42,0,.8,.6) infinite;transform-box:fill-box;transform-origin:center top;will-change:transform,opacity}.udder-thinking-drop.drop-right{animation-delay:-.8s}@keyframes udder-thinking-drip{0%,12%{transform:translateY(-2px) scaleY(.65);opacity:0}24%{opacity:1}68%{transform:translateY(4px) scaleY(1.08);opacity:1}90%,to{transform:translateY(8px) scaleY(1.12);opacity:0}}@media(prefers-reduced-motion:reduce){.udder-thinking-drop{animation:none;transform:none;opacity:1;will-change:auto}}.ai-chat-layout .ai-message{display:block}.ai-chat-layout .ai-message>header{padding-right:36px}.ai-chat-layout .ai-message-author{white-space:nowrap;flex-shrink:0}.ai-chat-layout .ai-message .ai-copy{position:absolute;top:13px;right:14px}@media(max-width:700px){.ai-chat-layout .ai-message .ai-copy{top:10px;right:10px}}.ai-chat-layout .ai-message.user>header{min-height:0;height:0;margin:0;padding:0}.ai-chat-layout .ai-message.user>p{padding-right:35px}.sop-calendar-editor{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0;display:flex;flex-direction:column;gap:20px;margin:6px 0}.sop-calendar-editor>legend{display:flex;align-items:center;gap:8px;padding:0 8px;font-weight:550;color:var(--text)}.sop-calendar-presets{display:flex;flex-wrap:wrap;gap:8px}.sop-calendar-presets .button{font-size:11px;min-height:32px}.sop-calendar-options{border:0;margin:0;padding:0;min-width:0}.sop-calendar-options>legend{font-size:12px;font-weight:550;margin-bottom:12px}.sop-calendar-options>div{display:flex;flex-wrap:wrap;gap:12px 18px}.sop-calendar-options label{display:inline-flex;align-items:center;gap:7px;color:var(--text);font-size:12px}.sop-calendar-options>.sop-month-days{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.sop-calendar-options>label{margin-top:12px}.sop-time-slots>p,.sop-calendar-exceptions>small,.sop-calendar-preview>small,.sop-rebuild-choice>p{font-size:11px;line-height:1.7;color:var(--muted);display:block;margin:8px 0 12px}.sop-slot-row,.sop-move-row{display:grid;grid-template-columns:60px 1fr 1fr 32px;gap:12px;align-items:end;margin:12px 0}.sop-slot-row>span{align-self:center;font-size:11px;color:var(--muted)}.sop-slot-row label,.sop-move-row label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.sop-slot-row input{width:100%}.sop-move-row{grid-template-columns:1fr 1fr 32px}.sop-calendar-exceptions{border-top:1px solid var(--line);padding-top:16px}.sop-calendar-exceptions>summary{cursor:pointer;font-weight:550;color:var(--text);font-size:12px}.sop-exception-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.sop-date-list{min-width:0}.sop-date-list h4,.sop-calendar-exceptions h4,.sop-time-slots h4,.sop-calendar-preview h4{font-size:12px;font-weight:550;margin:0 0 12px;color:var(--text)}.sop-date-add{display:flex;gap:8px;align-items:center}.sop-date-add>input{min-width:0;width:100%}.sop-date-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.sop-date-chips>span{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding-left:8px;font-size:11px}.sop-date-chips .icon-button{width:26px;height:26px}.sop-calendar-preview{background:var(--soft);border:1px solid var(--line);padding:16px;border-radius:10px}.sop-calendar-preview>p{font-size:12px;margin-bottom:12px}.sop-calendar-preview>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px}.sop-calendar-preview>div>span{display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:7px;background:var(--surface);border:1px solid var(--line);font-size:12px}.sop-calendar-preview small{font-size:10px;line-height:1.6}.sop-rebuild-choice{margin:20px 0;border:1px solid var(--line);border-radius:10px;padding:16px}.sop-rebuild-choice legend{padding:0 6px;font-size:12px}.sop-rebuild-choice label{display:flex;align-items:center;gap:8px;font-size:12px}@media(max-width:650px){.sop-calendar-editor{padding:14px}.sop-calendar-options>.sop-month-days{grid-template-columns:repeat(5,minmax(0,1fr))}.sop-exception-grid{grid-template-columns:1fr}.sop-slot-row{grid-template-columns:1fr 1fr 32px}.sop-slot-row>span{grid-column:1/-1}.sop-date-add{flex-wrap:wrap}}.ai-shell{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.ai-shell>.topbar,.ai-shell>.suite-container{flex-shrink:0}.ai-shell>main{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;padding-bottom:14px;overflow:hidden}.ai-shell .page-heading{flex-shrink:0}.ai-shell .page-heading p:empty{display:none}.ai-shell>footer{display:none}.ai-shell .ai-chat-layout{flex:1;min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;width:100%;max-width:none;margin:0}.ai-shell .ai-chat-layout .assistant-main{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:0;width:100%;margin:0;overflow:hidden}.ai-shell .ai-chat-tools{position:static;padding:0;flex-shrink:0;margin:0}.ai-chat-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 5px 12px;display:flex;flex-direction:column;gap:16px}.ai-shell .assistant-intro{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;padding:12px 0;gap:10px}.ai-shell .assistant-intro>svg{align-self:center}.knowledge-workspace{position:relative;min-height:180px}.knowledge-drop-hint{color:var(--muted);font-size:12px;margin:12px 0}.knowledge-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:35;pointer-events:none;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;border:2px dashed var(--accent);border-radius:12px;background:var(--surface);color:var(--accent);opacity:.96;min-height:180px}.knowledge-drop-overlay span{font-size:12px;color:var(--muted)}.knowledge-existing{border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0;background:var(--soft)}.knowledge-existing>div{display:flex;gap:10px;margin:12px 0;align-items:center}.knowledge-existing>div>.select-control{flex:1;min-width:0}.knowledge-existing p,.knowledge-existing small{font-size:12px;color:var(--muted);margin-top:6px}.knowledge-hit blockquote{border:0;border-radius:8px;margin:10px 0;padding:12px 16px;background:var(--soft)}.knowledge-hit a{color:var(--accent)}.ai-answer-content blockquote{margin:12px 0;padding:12px 16px;border:0;background:var(--soft);border-radius:8px;color:var(--text)}.ai-answer-content blockquote p{font-size:12px;line-height:1.6}.knowledge-source-document{padding:20px 28px;max-height:65dvh;overflow:auto;line-height:1.7}.knowledge-source-document p{margin:10px 0}.knowledge-source-document h2,.knowledge-source-document h3{margin:18px 0 8px}.knowledge-source-document a{color:var(--accent)}.ai-prompt-picker{position:fixed;z-index:1300;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:16px;gap:12px}.ai-prompt-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0}.ai-prompt-picker>header p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.ai-prompt-picker>.search-field{flex-shrink:0;min-width:0;width:100%}.ai-prompt-picker input{min-width:0;width:100%}.ai-prompt-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:5px;padding:0 3px 4px 0}.ai-prompt-options>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:12px;color:var(--text)}.ai-prompt-options>button:hover,.ai-prompt-options>button:focus-visible{background:var(--accent-soft)}.ai-prompt-options small{color:var(--muted);font-size:10px;text-align:right}.ai-model-settings{flex-shrink:0}@media(max-width:760px){.ai-model-settings span{display:none}.ai-prompt-options>button{align-items:flex-start;flex-direction:column;gap:4px}.ai-prompt-picker{padding:12px}.ai-shell .heading-actions{max-width:100%}.ai-shell .heading-actions .ai-chat-tools{flex-wrap:wrap;justify-content:flex-end}}.ai-shell .assistant-intro h2{font-size:24px;margin:0}.ai-shell .assistant-intro p{margin:0}.ai-shell .prompt-grid{margin-top:12px}.ai-shell .prompt-grid button{padding:12px;font-size:12px}.ai-shell .ai-chat-layout .assistant-composer{position:relative;bottom:auto;flex-shrink:0;margin:0;padding:12px 16px;box-shadow:none}.ai-shell .ai-chat-layout .assistant-composer textarea{height:56px;min-height:42px;max-height:100px;resize:none;overflow-y:auto;margin-bottom:4px}.ai-advice-note{flex-shrink:0;text-align:center;color:var(--muted);font-size:11px;margin:0;line-height:1.4}.ai-message-rating{display:flex;align-items:center;gap:4px;margin-top:10px;color:var(--muted)}.ai-message-rating .icon-button{width:29px;height:29px}.ai-message-rating .icon-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.ai-message-rating small{font-size:10px;margin-left:7px}@media(max-height:700px){.ai-shell .assistant-intro{padding:0}.ai-shell .assistant-intro>svg{display:none}.ai-shell .assistant-intro h2{font-size:20px}.ai-shell .assistant-intro>p{font-size:12px}.ai-shell .ai-chat-layout .assistant-composer textarea{height:42px}}@media(max-width:600px){.ai-shell .ai-chat-tools{flex-direction:row;align-items:center;gap:8px}.ai-shell .ai-chat-tools .button{font-size:11px;padding:8px}.ai-shell .ai-chat-tools>.select-wrap{min-width:0;max-width:50%}.ai-shell .prompt-grid{display:flex;flex-wrap:wrap}.ai-shell .assistant-main{padding:0!important}}.ai-answer-content{min-width:0}.ai-answer-content p{white-space:normal!important;margin:8px 0!important}.ai-answer-content table{width:100%;border-collapse:collapse;font-size:12px}.ai-answer-content th,.ai-answer-content td{padding:9px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}.ai-answer-content th{color:var(--muted);font-weight:550;background:var(--soft)}.ai-answer-content .table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:10px 0}.ai-answer-content h2,.ai-answer-content h3,.ai-answer-content h4{font-size:15px;margin:12px 0}.ai-answer-content ul,.ai-answer-content ol{padding-left:20px;font-size:12px;line-height:1.7}.barin-chat-launcher{position:fixed;right:25px;bottom:24px;z-index:20;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--surface);border:1px solid var(--line);color:var(--accent);box-shadow:0 4px 20px #152b4020;cursor:pointer}.barin-chat-launcher:hover{background:var(--accent-soft)}.knowledge-editor{min-height:280px;font-family:ui-monospace,monospace;font-size:12px}.knowledge-hit,.knowledge-preview{padding:20px}.knowledge-hit h3{margin-bottom:8px}.knowledge-docs{padding:18px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.knowledge-docs>.button{text-align:left;justify-content:flex-start;white-space:normal;padding:15px}.knowledge-docs small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.palm-workspace{max-width:1100px;margin:0 auto;display:grid;gap:20px}.palm-context{display:flex;align-items:end;gap:20px;flex-wrap:wrap}.palm-context>label{flex:1;min-width:200px}.palm-context>div{display:flex;gap:8px;color:var(--muted);padding:12px 0}.palm-scan{display:flex;gap:10px;flex-wrap:wrap}.palm-scan>input{flex:1;min-width:180px;height:50px}.palm-scan>.button,.palm-actions>.button{min-height:50px;font-size:14px;white-space:normal}.palm-hint{color:var(--muted);font-size:11px;line-height:1.6}.palm-object{padding:24px}.palm-object>header{display:flex;gap:15px;align-items:center;margin-bottom:20px}.palm-object small{color:var(--muted)}.palm-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.palm-facts dt{color:var(--muted);font-size:11px}.palm-facts dd{margin:5px 0 0;font-size:14px;overflow-wrap:anywhere}.palm-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:22px 0}.palm-object details>summary{cursor:pointer;padding:12px 0}.palm-object details>img{max-width:240px;display:block;background:#fff}.palm-code{overflow-wrap:anywhere;font:11px ui-monospace,monospace;margin:12px 0}.palm-tasks{display:grid;gap:14px}.palm-tasks>article{padding:20px;margin:0;display:grid;gap:12px}.palm-camera{width:100%;max-height:60dvh;background:#111}.palm-workspace .select-control{min-height:48px}@media(max-width:600px){.palm-object{padding:17px}.palm-context{display:block}.palm-actions{grid-template-columns:1fr 1fr}.palm-scan>input{flex-basis:100%}.palm-scan>.button{flex:1}.barin-chat-launcher{right:16px;bottom:18px}}.ai-shell .page-heading{align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}.ai-shell .heading-actions{margin-left:auto}.ai-shell .heading-actions .ai-chat-tools{display:flex;align-items:center;gap:10px}.ai-inline-form{padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:12px;background:var(--surface)}.ai-inline-form>.ai-inline-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;margin-bottom:14px}.ai-inline-form label{display:flex;flex-direction:column;gap:6px;font-size:12px}.ai-inline-form input{width:100%;min-width:0}.ai-inline-form .button{font-size:12px}.ai-reply-choices{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:600px){.ai-shell .page-heading{gap:8px}.ai-shell .heading-actions{width:100%}.ai-shell .heading-actions .ai-chat-tools{justify-content:space-between}.ai-inline-form>.ai-inline-fields{grid-template-columns:1fr 1fr}}.inn-lookup{display:flex;flex-direction:column;gap:8px}.inn-lookup>span{display:flex;gap:8px}.inn-lookup input{min-width:0;flex:1}.inn-lookup small{font-size:11px;color:var(--muted);line-height:1.6}.inn-result{white-space:normal;text-align:left;font-size:12px}.ai-feedback-form{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:10px}.ai-feedback-form label{display:flex;flex-direction:column;gap:8px;font-size:12px}.ai-feedback-form textarea{min-height:70px;resize:vertical;margin-bottom:10px}.feeding-operator{display:grid;gap:20px;min-width:0}.feeding-day-summary{display:flex;gap:16px 28px;flex-wrap:wrap;padding:16px 0;color:var(--muted);font-size:13px}.feeding-day-summary b{color:var(--text);margin-left:6px}.feeding-execution-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:22px;align-items:start}.feeding-queue,.feeding-current{padding:22px;min-width:0}.feeding-queue{display:grid;gap:12px}.feeding-queue>.button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;min-height:60px;gap:7px}.feeding-queue>.button.selected{background:var(--accent-soft);border-color:var(--accent)}.feeding-queue small{font-size:11px;color:var(--muted)}.feeding-current{display:grid;gap:18px}.feeding-current header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.feeding-current h2{font-size:20px;margin:0}.feeding-current label{display:grid;gap:8px;font-size:13px}.feeding-current input:not([type=checkbox]):not([type=radio]){min-width:0;width:100%}.feeding-current .table-wrap{overflow:auto;max-width:100%}.feeding-step{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.feeding-step h3,.feeding-step p{flex-basis:100%;margin:0}.feeding-step label{flex:1;min-width:180px}.feeding-step .palm-scan{flex-basis:100%}.feeding-timer{font:500 32px ui-monospace,monospace;color:var(--accent)}.feeding-current details{padding:12px 0}.feeding-current details>summary{cursor:pointer;margin-bottom:14px}.feeding-current details p{overflow-wrap:anywhere;line-height:1.6;font-size:13px}.feeding-operator .button{min-height:46px}.feeding-operator .labor-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.feeding-operator .labor-toolbar>.select-wrap{min-width:220px;flex:1}@media(max-width:900px){.feeding-execution-layout{grid-template-columns:1fr}.feeding-queue{max-height:340px;overflow:auto}}@media(max-width:600px){.feeding-queue,.feeding-current{padding:16px}.feeding-step .button{flex:1;white-space:normal}.feeding-step label{flex-basis:100%}.feeding-day-summary{gap:12px}.feeding-current header h2{font-size:18px}}.feeding-workday{display:grid;gap:18px;min-width:0}.feeding-workday>.table-wrap{max-width:100%;overflow:auto}.feeding-workday th,.feeding-workday td{padding:12px;vertical-align:top}.feeding-workday td>.button{margin:4px}.feeding-workday .labor-toolbar{display:flex;flex-wrap:wrap;gap:12px}.feeding-workday .labor-toolbar>input{flex:1;min-width:180px}.feeding-workday .segmented{width:max-content;max-width:100%;overflow:auto}.feeding-technology{display:grid;grid-template-columns:160px 1fr;gap:16px;padding:16px 0}.feeding-technology label{display:grid;gap:8px;font-size:12px}.feeding-technology label:last-child{grid-column:1/-1}.feeding-technology textarea{min-height:65px}@media(max-width:650px){.feeding-technology{grid-template-columns:1fr}.feeding-workday td,.feeding-workday th{padding:9px}.feeding-workday .segmented{width:100%}}.equipment-characteristics{display:flex;flex-direction:column;gap:10px}.equipment-characteristic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(70px,.45fr) 36px;gap:8px}.equipment-characteristic input{min-width:0}.equipment-characteristics>.button{align-self:flex-start}@media(max-width:600px){.equipment-characteristic{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.equipment-characteristic input:nth-child(3){grid-row:2;grid-column:1/3}.equipment-characteristic button{grid-column:3;grid-row:1/3}}.task-board{grid-template-columns:repeat(4,minmax(240px,1fr));overflow-x:auto}.task-column{min-width:0}@media(max-width:650px){.task-board{grid-template-columns:minmax(0,1fr)}}.metric-strip{grid-template-columns:repeat(var(--metric-columns, 3),minmax(0,1fr));row-gap:22px}.metric-strip>.metric-card{padding-left:24px;padding-right:42px;border:0;border-right:1px solid var(--line);min-width:0}.metric-strip>.metric-card:first-child{padding-left:0}.metric-strip>.metric-card:last-child{border-right:0}.metric-strip>.metric-card>span:not(.metric-icon){display:block;line-height:1.5;overflow-wrap:anywhere}.metric-strip>.metric-card small{display:block;line-height:1.5}.metric-strip strong{overflow-wrap:anywhere}@media(max-width:1100px){.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-strip>.metric-card:nth-child(odd){padding-left:0}.metric-strip>.metric-card:nth-child(2n){border-right:0}}@media(max-width:650px){.metric-strip{grid-template-columns:minmax(0,1fr)}.metric-strip>.metric-card{padding-left:0;border-right:0}.metric-strip .metric-icon{right:4px}}.production-operator-view{display:grid;gap:20px;min-width:0}.production-operator-back{display:flex;align-items:center}.production-error{display:grid;gap:14px}.production-error p{margin:0;line-height:1.65;overflow-wrap:anywhere}.production-error+.modal-footer{padding:18px 24px 24px;margin:0;border-top:0;justify-content:flex-end}.feeding-controls{display:flex;gap:18px 24px;align-items:flex-end;flex-wrap:wrap;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.feeding-date,.feeding-actor{display:grid;gap:8px;min-width:0}.feeding-date{flex:0 1 auto}.feeding-actor{flex:1 1 280px;max-width:440px}.feeding-date-actions{display:flex;align-items:center;gap:8px}.feeding-date-actions>.date-control{width:180px;max-width:180px;min-width:0}.feeding-date-actions>input{width:180px}.feeding-date-actions>.button{white-space:nowrap}.feeding-day-summary{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);gap:16px 24px}.feeding-day-summary>span{display:flex;align-items:baseline;justify-content:space-between;gap:14px;min-width:140px;flex:1 1 140px}.feeding-day-summary>span:last-child{flex-basis:240px}.feeding-day-summary b{margin-left:0;white-space:nowrap}.feeding-queue>.empty{padding:24px 8px;min-height:200px}.feeding-current>.empty{min-height:260px;display:flex;flex-direction:column;justify-content:center}.production-operator-back .button{white-space:normal;text-align:left}@media(max-width:650px){.feeding-controls{padding:16px;gap:16px}.feeding-date,.feeding-actor{flex:1 1 100%;max-width:none}.feeding-date-actions{gap:6px}.feeding-date-actions>.date-control{flex:1;min-width:0;width:auto}.feeding-date-actions .button{padding:9px}.feeding-day-summary{padding:16px;gap:16px}.feeding-day-summary>span,.feeding-day-summary>span:last-child{flex-basis:100%}}.ai-model-thinking{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.ai-model-thinking h4{font-size:12px;color:var(--muted);margin:0 0 10px}.ai-model-thinking pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.65;max-height:360px;overflow:auto;margin:0;padding:14px;background:var(--soft);border-radius:10px;color:var(--text)}.modal .production-error.dialog-content{padding:22px 24px 24px}.modal .production-error.dialog-content>p{margin:0}.modal .production-error.dialog-content+.modal-footer{padding:0 24px 24px}.suite-switcher button,.module-picker-grid button{position:relative}.ai-beta-mark{position:absolute;top:2px;right:5px;display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#208fe5;color:#fff;font:600 11px/1 system-ui;pointer-events:none}.module-picker-grid .ai-beta-mark{top:10px;right:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}.settings-grid>.panel{min-width:0;margin:0;display:flex;flex-direction:column}.settings-grid>.panel>.settings-content{flex:1}.settings-grid .panel-head{min-height:64px;padding:20px 24px;align-items:center}.settings-grid .settings-content{display:flex;flex-direction:column;gap:18px;padding:24px}.settings-grid .settings-content>label{display:grid;gap:8px;margin:0;font-size:12px}.settings-grid input:not([type=checkbox]),.settings-grid .select-control{width:100%}.settings-grid .settings-content>.button{align-self:flex-start}.settings-grid .setting-row{display:flex;gap:14px;align-items:flex-start}.settings-grid .setting-row>div{min-width:0;flex:1}.settings-grid .setting-row p{margin-top:6px}.settings-grid>.panel:last-child{grid-column:1/-1}.company-switch-row{display:flex;gap:8px;align-items:center}.company-switch-row>.select-wrap{flex:1;min-width:0}.company-switch-row>.button{flex-shrink:0;padding:8px}.access-grid{display:grid;grid-template-columns:1fr;gap:20px}.access-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.access-editor{display:grid;gap:16px}.access-editor>label{display:grid;gap:7px}.access-checks{display:flex;gap:12px;flex-wrap:wrap}.access-checks label{display:flex;gap:6px;align-items:center}.access-checks input,.access-matrix input{min-height:0}.access-matrix{max-height:45vh;overflow:auto}.access-matrix th{position:sticky;top:0;background:var(--surface)}.access-matrix td{padding:10px}.access-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;background:var(--accent-soft);color:var(--text);font-size:12px}.access-user-button{max-width:180px;overflow:hidden;text-overflow:ellipsis}.access-editor small{line-height:1.6}@media(max-width:800px){.settings-grid{grid-template-columns:1fr}.settings-grid>.panel:last-child{grid-column:auto}.settings-grid .panel-head,.settings-grid .settings-content{padding:18px}}.settings-grid .settings-content>label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;line-height:1.6}.settings-grid input[type=checkbox]{width:16px;min-height:16px;height:16px;margin-top:2px;flex-shrink:0}.access-editor .form-grid>label{display:grid;gap:7px;min-width:0}.access-editor .inn-lookup>span{display:flex;gap:8px}.access-editor .inn-lookup input{flex:1;min-width:0}.access-editor .form-grid input{width:100%}.suite-switcher .suite-label{display:grid}.suite-label>span{grid-area:1/1}.suite-label-reserve{font-weight:550;visibility:hidden;pointer-events:none}.suite-measure>span{font-weight:550}.suite-switcher{padding-top:2px;margin-top:-2px}.suite-switcher .ai-beta-mark{top:-1px;right:0}.module-picker-grid .ai-beta-mark{top:7px;right:6px}@media(max-width:1250px){.suite-measure>span{padding:8px 10px;font-size:11px}}@media(max-width:650px){.suite-measure>span{padding:8px;gap:5px;font-size:10px}.suite-measure svg{width:14px;height:14px}}.form-grid>.wide{grid-column:1/-1}.procedure-form-steps{padding:0 22px 22px}.procedure-add-step{width:34px;height:34px;padding:0;justify-content:center;flex:0 0 auto}.record-inline>form{padding:22px}.record-inline .modal-footer{padding:22px 0 0;margin:0}.record-inline form>.animal-facts{margin:0 0 22px}.modal .procedure-form-steps{padding:22px 0 0}.date-period-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;min-width:0}.date-period-filter>.segmented{flex:0 0 auto;align-self:flex-end}.date-period-filter .segmented button{white-space:nowrap}.date-period-day{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.date-period-day>.date-control{width:160px;min-width:130px}.date-period-day>.button{flex:0 0 auto}.date-period-range{display:flex;flex-wrap:wrap;gap:12px;min-width:0}.date-period-range>label{display:flex;flex-direction:column;gap:7px;min-width:150px;flex:1}.date-period-range .date-control{width:170px;max-width:100%}.milk-register-toolbar{display:flex;align-items:flex-end;gap:16px;margin:24px 0 18px}.milk-register-toolbar>.date-period-filter{flex:1}.milk-register-toolbar>.button{flex:0 0 auto}.milk-quality-filters{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 22px}.milk-quality-filters>label{display:flex;flex-direction:column;gap:7px;min-width:180px;max-width:420px;flex:1}.milk-quality-filters .select-control{width:100%}@media(max-width:650px){.milk-register-toolbar{align-items:stretch;flex-wrap:wrap;gap:12px}.milk-register-toolbar>.date-period-filter{flex-basis:100%}.milk-register-toolbar>.button{margin-left:auto}.date-period-day{gap:6px}.date-period-day>.date-control{width:140px;min-width:120px}.date-period-filter .segmented{max-width:100%}.date-period-filter .segmented button{padding:9px 10px}.date-period-range{width:100%}.date-period-range>label{min-width:125px}.date-period-range .date-control{width:100%}.milk-quality-filters>label{min-width:0;flex-basis:100%;max-width:none}}.modal>.modal-footer{padding:18px 24px 24px;margin-top:0}.animal-identity{display:flex;align-items:center;gap:18px;min-width:0}.animal-identity-text{min-width:0;overflow-wrap:anywhere}.animal-qr{display:block;flex:0 0 112px;width:112px;height:112px;border-radius:6px;background:#fff}@media(max-width:650px){.animal-header>.animal-identity{width:100%}.animal-identity{gap:12px}}.knowledge-sources{margin-bottom:20px;overflow:hidden}.knowledge-sources-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.knowledge-sources-heading{flex:1;min-width:240px}.knowledge-sources-heading h3{display:flex;align-items:center;gap:8px}.knowledge-sources-heading p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.knowledge-sources-heading p span{white-space:nowrap}.knowledge-sources-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.knowledge-sources-body{padding:14px 20px;display:grid;gap:12px;min-width:0}.knowledge-sources-progress{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.knowledge-sources-progress svg{animation:knowledge-source-spin 1s linear infinite}@keyframes knowledge-source-spin{to{transform:rotate(360deg)}}.knowledge-sources-table th,.knowledge-sources-table td{text-align:left;white-space:normal;vertical-align:top}.knowledge-sources-table td:first-child{min-width:230px;width:60%}.knowledge-source-summary{display:block;margin-top:5px;line-height:1.6;color:var(--muted)}.knowledge-source-license{margin-top:6px;font-size:11px;color:var(--muted)}.knowledge-source-license summary,.knowledge-sources-terms summary,.knowledge-sources-results summary{cursor:pointer}.knowledge-source-license p,.knowledge-sources-terms p{margin-top:8px;line-height:1.65}.knowledge-sources-terms,.knowledge-sources-results{font-size:12px;color:var(--muted)}.knowledge-sources-log{margin:10px 0 0;padding-left:18px;display:grid;gap:8px;line-height:1.6}@media(max-width:650px){.knowledge-sources-head{align-items:flex-start}.knowledge-sources-heading{min-width:0;flex-basis:100%}.knowledge-sources-actions{width:100%}.knowledge-sources-actions .button{flex:1}.knowledge-sources-body{padding:12px 16px}}@media(prefers-reduced-motion:reduce){.knowledge-sources-progress svg{animation:none}}.heading-title{display:flex;align-items:center;gap:8px}.heading-title h1{margin:0}.chat-full-toggle{flex-shrink:0;color:var(--muted)}.chat-full-toggle:hover,.chat-full-toggle[aria-pressed=true]{color:var(--accent)}.app.chat-full .sidebar,.app.chat-full .topbar,.app.chat-full .nav-backdrop{display:none}.app.chat-full .shell{margin-left:0!important}.app.chat-full .ai-shell .page-heading{margin-bottom:8px}.app.chat-full .ai-shell .page-heading .eyebrow,.app.chat-full .ai-shell .page-heading p{display:none}.app.chat-full .ai-shell .page-heading h1{font-size:22px}.app.chat-full .ai-shell>main{padding-top:14px}.app.chat-full .suite-container{display:none}.production-milk-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);overflow:hidden}.production-milk-dialog>header{flex:0 0 auto}.production-milk-dialog>form{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}.production-milk-dialog .dialog-content{display:flex;flex-direction:column;gap:20px;min-height:0;overflow:auto;padding:22px;scrollbar-gutter:stable}.production-milk-dialog .form-grid{margin:0;gap:18px 20px;flex:0 0 auto}.production-milk-dialog .form-grid>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0}.production-milk-dialog .form-grid input,.production-milk-dialog .form-grid textarea,.production-milk-dialog .form-grid .select-control{width:100%;box-sizing:border-box}.production-milk-dialog textarea{min-height:88px;resize:vertical}.production-milk-dialog .modal-footer{flex:0 0 auto;padding:16px 22px 22px;margin:0;border-top:1px solid var(--line);gap:10px}.production-milk-lines{margin:0;flex:0 0 auto;min-width:0}.production-milk-lines .panel-head{gap:12px;flex-wrap:wrap}.production-milk-lines .row-actions{gap:8px;flex-wrap:wrap}.production-milk-lines table{width:100%;table-layout:fixed}.production-milk-lines .production-milk-kg-column{width:170px}.production-milk-lines .production-milk-action-column{width:52px}.production-milk-lines td{vertical-align:middle}.production-milk-lines td input,.production-milk-lines td .select-control{width:100%;min-width:0;box-sizing:border-box;margin:0}.production-milk-lines td:last-child,.production-milk-lines th:last-child{padding-left:8px;padding-right:16px;text-align:center}.production-milk-total{display:flex;justify-content:flex-end;align-items:baseline;gap:8px;padding:0;flex:0 0 auto}.production-milk-hint{margin:0;padding:0 20px 16px}@media(max-width:650px){.production-milk-dialog{max-height:calc(100dvh - 24px)}.production-milk-dialog .dialog-content{padding:16px;gap:16px}.production-milk-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.production-milk-dialog .modal-footer{padding:14px 16px 16px}.production-milk-lines .production-milk-kg-column{width:110px}.production-milk-lines .production-milk-action-column{width:40px}.production-milk-lines th,.production-milk-lines td{padding-left:10px;padding-right:10px}}.feed-filter-panel .feed-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px;align-items:start}.feed-filter-panel .feed-filter-grid>label,.feed-filter-panel .feed-filter-grid>.feed-range-field{display:flex;flex-direction:column;gap:8px;min-width:0;grid-column:auto;margin:0;color:var(--muted);font-size:11px}.feed-filter-grid .field-label{min-height:32px;display:flex;align-items:flex-end;line-height:16px}.feed-filter-grid input,.feed-filter-grid .select-control{width:100%;min-width:0;box-sizing:border-box}.feed-range-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.feed-range-inputs>span{color:var(--muted)}.feed-filter-explanation{font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0}.catalog .quick-filters .segmented{max-width:100%;flex-wrap:wrap}@media(max-width:900px){.feed-filter-panel .feed-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.feed-filter-panel .feed-filter-grid{grid-template-columns:minmax(0,1fr)}.feed-filter-grid .field-label{min-height:18px}}.ai-answer-content blockquote>:first-child{margin-top:0!important}.ai-answer-content blockquote>:last-child{margin-bottom:0!important}.ai-answer-content pre,.help-article pre,.knowledge-source-document pre{max-width:100%;overflow:auto;padding:12px 14px;border-radius:8px;background:var(--soft);font-size:12px;line-height:1.6;white-space:pre}.ai-answer-content pre code{white-space:inherit}.ai-answer-content blockquote ul,.ai-answer-content blockquote ol{margin:8px 0}.ai-answer-content blockquote h2,.ai-answer-content blockquote h3,.ai-answer-content blockquote h4{line-height:1.4}:is(.ai-answer-content,.help-article,.knowledge-source-document,.knowledge-hit){--document-link: #287fa9;--document-link-visited: #547e94;--document-link-hover: #176c96}[data-theme=dark] :is(.ai-answer-content,.help-article,.knowledge-source-document,.knowledge-hit){--document-link: #78c7ed;--document-link-visited: #94b6c8;--document-link-hover: #a0dcf7}:is(.ai-answer-content,.help-article,.knowledge-source-document,.knowledge-hit) a{color:var(--document-link);text-decoration-color:currentColor;text-underline-offset:3px}:is(.ai-answer-content,.help-article,.knowledge-source-document,.knowledge-hit) a:visited{color:var(--document-link-visited)}:is(.ai-answer-content,.help-article,.knowledge-source-document,.knowledge-hit) a:hover{color:var(--document-link-hover)}.personnel-members{margin-top:20px}.personnel-members .sop-options-control{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.personnel-members .sop-option-text{padding:6px 8px;white-space:normal;overflow-wrap:anywhere}.personnel-members .sop-option{max-width:100%}.personnel-members .select-control{min-width:220px;flex:1 1 240px;max-width:420px}.payroll-toolbar,.schedule-workspace .schedule-period-toolbar,.schedule-workspace .schedule-filter-toolbar{display:grid;align-items:end;gap:12px}.payroll-toolbar{grid-template-columns:minmax(180px,220px) minmax(220px,1fr) auto auto;margin-bottom:0}.schedule-workspace .schedule-period-toolbar{grid-template-columns:minmax(220px,1fr) minmax(180px,220px) auto auto}.schedule-workspace .schedule-filter-toolbar{grid-template-columns:minmax(220px,1fr) minmax(200px,320px) auto}.payroll-toolbar>label,.schedule-workspace .schedule-period-toolbar>label,.schedule-workspace .schedule-filter-toolbar>label{display:flex;flex-direction:column;gap:8px;min-width:0;color:var(--muted);font-size:12px;line-height:18px}.payroll-toolbar>label>input,.payroll-toolbar>label>.select-control,.schedule-workspace .labor-toolbar>label>input,.schedule-workspace .labor-toolbar>label>.select-control{width:100%;margin:0;min-height:38px}.payroll-toolbar>.button,.schedule-workspace .schedule-period-toolbar>.button,.schedule-workspace .schedule-filter-toolbar>.button{margin:0;white-space:nowrap;min-height:38px}.schedule-month-actions{min-height:38px}.schedule-group th .brigade-schedule-button{display:flex;float:none;margin-top:5px;gap:5px;font-weight:400;white-space:nowrap}@media(max-width:1000px){.payroll-toolbar{grid-template-columns:minmax(160px,1fr) minmax(180px,1fr)}.schedule-workspace .schedule-period-toolbar{grid-template-columns:minmax(160px,1fr) minmax(160px,220px) auto}.schedule-period-toolbar>.button:last-child{grid-column:3}.schedule-workspace .schedule-filter-toolbar{grid-template-columns:minmax(160px,1fr) minmax(160px,1fr)}.schedule-filter-toolbar>.button{grid-column:1/-1;justify-self:end}}@media(max-width:600px){.payroll-toolbar,.schedule-workspace .schedule-period-toolbar,.schedule-workspace .schedule-filter-toolbar{grid-template-columns:minmax(0,1fr)}.schedule-period-toolbar>.button:last-child,.schedule-filter-toolbar>.button{grid-column:auto;justify-self:stretch}.schedule-month-actions{justify-content:center}.payroll-toolbar>.button{width:100%}}.assistant-composer>.ai-prompt-slash{position:absolute;top:10px;right:14px;width:auto;height:24px;min-height:24px;padding:2px 4px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:11px;font-weight:400;line-height:18px;white-space:nowrap}.assistant-composer>.ai-prompt-slash:hover{background:transparent;color:var(--text)}.ai-chat-layout .assistant-composer textarea{padding-right:150px}.ai-prompt-search{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:8px;flex-shrink:0;min-width:0}.ai-prompt-search .search-field{min-width:0}.ai-prompt-search .select-control{width:100%}.ai-prompt-options>button>span{min-width:0}.ai-prompt-options>button b{font-weight:500}.ai-prompt-options .ai-prompt-description{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px;white-space:normal}.ai-prompt-options>button[data-active=true]{background:var(--soft);box-shadow:inset 0 0 0 1px var(--line)}.ai-prompt-options>button>small{max-width:150px;text-align:right;white-space:normal;line-height:1.5}@media(max-width:600px){.ai-prompt-search{grid-template-columns:minmax(0,1fr)}.ai-prompt-options>button>small{max-width:none;text-align:left}}@media(max-width:760px){.ai-prompt-options>button>small{max-width:none;text-align:left;align-self:flex-start}.ai-prompt-options>button>span{width:100%}}.ai-inline-form>.ai-inline-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}.ai-inline-form-actions>.button{flex:none;width:auto;min-width:0}.ai-inline-form-actions>.ai-clear-field{min-height:38px;padding:8px 10px;font-size:11px;line-height:20px}.ai-inline-form>.ai-inline-fields>label:only-child{grid-column:1/-1}.assistant-composer>.ai-prompt-slash{display:inline-flex;align-items:center;gap:6px}.ai-prompt-slash>kbd{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;border:1px solid var(--line);border-radius:5px;background:var(--soft);color:var(--muted);font-size:12px;line-height:1;font-family:inherit}.problem-filters{margin-bottom:20px;display:flex;flex-direction:column;gap:16px}.problem-filter-period{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 24px}.problem-filter-period>div{display:flex;flex-direction:column;gap:8px;min-width:0}.problem-filter-period>.field-label,.problem-filter-period .field-label{color:#8d98a8;font-size:11px;font-weight:400}.problem-filter-people{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end}.problem-filter-people>.button{margin:0;white-space:nowrap}.problem-filter-period .date-period-filter{margin:0}@media(max-width:700px){.problem-filter-people{grid-template-columns:minmax(0,1fr)}.problem-filter-period>div{width:100%}.problem-filter-period .segmented{max-width:100%;overflow:auto}}.milk-animal-filter{display:flex;flex-direction:column;gap:6px;min-width:220px;max-width:360px;flex:1}.milk-register-toolbar{align-items:flex-end;flex-wrap:wrap}.milk-animal-filter>.field-label{font-size:12px;font-weight:500;color:var(--muted)}.topbar .palm-gateway-indicator{position:relative;flex-shrink:0}.topbar .palm-gateway-indicator[data-state=attention]{color:#ad7067}.topbar .palm-gateway-indicator .notification-dot{background:currentColor}.record-form-fields{border:0;padding:0;margin:0;min-width:0}body{-webkit-user-select:none;user-select:none}input:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]),[contenteditable]:not([contenteditable=false]){-webkit-user-select:text;user-select:text}.monitor-range-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;row-gap:36px;margin-top:24px}.monitor-range-grid input{width:90px;min-width:0}.monitor-range-field{display:flex;flex-direction:column;gap:8px}.monitor-range-field .labor-toolbar{margin:0;gap:12px}.monitor-range-field label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.monitor-range-field input{width:100%}.monitor-range-field>small{font-size:12px}#monitor-filter-fields>label{display:grid;grid-template-rows:2.8em auto;align-content:start;gap:8px;min-width:0}#monitor-filter-fields>label>span,.monitor-range-field>span{min-height:2.8em;line-height:1.4;display:block}#monitor-filter-fields .monitor-range-field .labor-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}#monitor-filter-fields .monitor-range-field label>small{line-height:1.4}@media(max-width:1000px){#monitor-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#monitor-filter-fields{grid-template-columns:minmax(0,1fr);row-gap:24px}}.task-close-reason{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:16px}.task-close-reason textarea{display:block;box-sizing:border-box;width:100%;min-height:112px;resize:vertical}.task-card .task-details-toggle{margin:4px 0 8px;font-size:12px}.task-card-details{display:grid;gap:6px;margin-bottom:10px}.task-card-details p{margin:0;overflow-wrap:anywhere}.task-card[draggable=true]{cursor:grab}.task-card[draggable=true]:active{cursor:grabbing}.task-dragging{opacity:.45}.task-column.task-drop-target{background:#eef7fc;outline:2px solid #79bde8;outline-offset:-2px}.nav-platform-divider{margin-top:18px}.nav-platform-divider .nav-label{display:block}.compact .nav-platform-divider{border-top:1px solid var(--border, #e2e5e9);margin:16px 8px 10px;padding:0;min-height:1px}.compact .nav-platform-divider .nav-label{display:none}.feeding-actual-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.feeding-actual-heading .button{font-size:12px;font-weight:500;white-space:nowrap}.feeding-actual-input{display:flex;align-items:center;gap:8px}.feeding-actual-input input{width:100%;min-width:72px}.feeding-actual-input .icon-button{flex:0 0 30px}.notification-center{display:grid;gap:16px;padding:20px}.notification-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.notification-toolbar>span{margin-right:auto}.notification-items{display:grid;gap:10px;max-height:58vh;overflow-y:auto}.notification-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.notification-item.read{background:transparent}.notification-item>div{min-width:0;flex:1}.notification-item p{margin:5px 0;overflow-wrap:anywhere}.notification-item .icon-button{flex:0 0 auto}.notification-settings{padding:16px;display:grid;gap:14px}.notification-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.notification-thresholds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.notification-thresholds label{display:grid;gap:6px}@media(max-width:600px){.notification-thresholds{grid-template-columns:1fr}.notification-center{padding:14px}}.message-body-field{display:grid;gap:8px}.message-body-field textarea{width:100%;min-width:0;resize:vertical;box-sizing:border-box}.notification-bell{position:relative}.notification-wave{position:absolute;right:-9px;top:-10px;color:var(--accent, #169bd5);background:var(--surface, #fff);border-radius:50%;padding:3px;pointer-events:none;animation:notification-wave 2.6s ease-in-out both;transform-origin:70% 90%}@keyframes notification-wave{0%{opacity:0;transform:scale(.3)}12%{opacity:1;transform:scale(1) rotate(-18deg)}25%,48%,70%{transform:rotate(20deg)}36%,59%,80%{transform:rotate(-16deg)}90%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.15) translate(7px,7px)}}@media(prefers-reduced-motion:reduce){.notification-wave{animation:none}}.notification-content{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}.notification-content:hover strong{color:var(--accent)}.procedure-step-note{white-space:pre-line;max-width:28rem}.exchange-indicator{transition:color .3s ease}.exchange-indicator svg{transform-origin:50% 50%}.exchange-indicator.syncing{color:var(--accent)}.exchange-indicator.syncing svg{animation:exchange-spin 1.2s linear infinite}@keyframes exchange-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.exchange-indicator.syncing svg{animation:none}}.feeding-load-editor .feeding-copy-column{width:46px;padding-left:4px;padding-right:4px;text-align:center}.feeding-load-editor .feeding-fact-column{min-width:180px}.feeding-queue .row-actions{white-space:normal}.date-period-filter{align-items:center}.date-period-filter>.segmented{align-self:center}.date-period-range{align-items:center;gap:10px}.date-period-range>label{flex-direction:row;align-items:center;gap:6px;min-width:0;flex:0 0 auto}.date-period-range>label>.field-label,.milk-toolbar-field>.field-label{white-space:nowrap;font-size:12px;font-weight:500;color:var(--muted)}.date-period-range .date-control{width:150px}.milk-register-toolbar{align-items:center;flex-wrap:wrap;gap:12px 16px;margin:20px 0 16px}.milk-register-toolbar>.date-period-filter{flex:0 1 auto}.milk-register-toolbar>.button{margin-left:auto}.milk-toolbar-field{display:flex;align-items:center;gap:8px;min-width:0;flex:0 1 280px}.milk-toolbar-field .select-control{flex:1;min-width:150px}@media(max-width:650px){.date-period-range>label{flex:1 1 140px}.date-period-range .date-control{width:100%}.milk-toolbar-field{flex-basis:100%}}.select-swatch,.event-dot{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:8px;vertical-align:-1px;box-shadow:inset 0 0 0 1px #00000026;flex:none}.event-telemetry{display:block;margin-top:2px;font-size:12px;color:var(--muted)}.palette-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px 16px}.palette-grid label{display:flex;align-items:center;gap:8px;min-width:0}.palette-grid input[type=color]{width:34px;height:26px;padding:0;border:1px solid var(--line);border-radius:4px;background:none;flex:none}.palette-grid .changed{font-weight:600}.herd-health-filters{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.herd-health-filters>.date-period-filter{margin:0;flex:0 1 auto}.herd-health-filters>.search-field{flex:1 1 300px}.milk-register-toolbar label.milk-toolbar-field{flex-direction:row;align-items:center}.production-milk-quality.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.production-milk-quality.form-grid>.wide{grid-column:1 / -1}.feed-catalog-toolbar{flex-wrap:wrap}.feed-catalog-toolbar .saved-feed-filters{padding:0;flex:0 1 auto}.feed-catalog-toolbar>.search-field{flex:1 1 260px}.feed-catalog-toolbar .saved-feed-filters>.select-control{min-width:180px;max-width:260px}@media(max-width:650px){.production-milk-quality.form-grid{grid-template-columns:1fr}.feed-catalog-toolbar .saved-feed-filters{flex:1 1 100%}}.work-time-grid .work-day.day-off{background:#eef8ef;border-color:#d6e9d8}[data-theme=dark] .work-time-grid .work-day.day-off{background:#213a2c;border-color:#365740}label:has(>.select-control):not(.company-switch):not(.inline-check){display:flex;flex-direction:column;gap:7px}.form-grid>label:has(>.select-control){gap:8px}.global-search-enter{width:25px;height:25px;display:grid;place-items:center;flex:none;border:0;border-radius:5px;background:transparent;color:#8d939c;padding:0}.global-search-enter:hover{background:#f0f3f6;color:#168ed2}.topbar-connection{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:28px;flex:none;color:#75808e}.topbar-connection-off{color:#a3aab2}.topbar-connection-off:after{content:"";position:absolute;width:22px;height:1.7px;background:currentColor;transform:rotate(-44deg);border-radius:2px}.smart-search{padding:0 4px 10px}.smart-search-field{display:flex;align-items:center;gap:10px;border:1px solid #dbe3ea;border-radius:9px;padding:0 12px;color:#8795a3}.smart-search-field input{flex:1;border:0;box-shadow:none;min-height:44px;padding-left:0}.smart-search-results{max-height:min(55vh,500px);overflow:auto;margin-top:18px}.smart-search-results section+section{margin-top:18px}.smart-search-results h3{color:#87909a;font-size:11px;text-transform:uppercase;letter-spacing:.07em;margin:0 0 7px}.smart-search-results button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:0;border-radius:7px;background:#fff;padding:9px 10px}.smart-search-results button:hover{background:#f2f7fb}.smart-search-results button span{display:flex;flex-direction:column;gap:3px;min-width:0}.smart-search-results button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-filter-form{display:grid;gap:20px}.saved-filter-form label{display:grid;gap:7px}.milk-quality-filters{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(170px,1fr) minmax(135px,.7fr) minmax(135px,.7fr);gap:14px;padding:0 24px 8px}.milk-quality-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:#4b545e}.milk-quality-filters .select-control,.milk-quality-filters input{width:100%}@media(max-width:900px){.milk-quality-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.milk-quality-filters{grid-template-columns:1fr;padding:0 15px 10px}}.labor-team-date{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 18px;margin:16px 0}.labor-team-date>small{max-width:520px;line-height:1.5}.labor-team-date .field-label{display:block;margin-bottom:7px}.sop-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:22px}.sop-intro p{max-width:850px;margin-top:7px;color:var(--muted)}.sop-actions{display:flex;gap:4px}.sop-note{font-size:12px;line-height:1.5;margin:4px 0 14px}@media(max-width:700px){.sop-intro{align-items:stretch;flex-direction:column}.labor-team-date>small{max-width:none}}.page-heading .eyebrow{display:none}.topbar{position:sticky;top:0;z-index:65;border-bottom:0;isolation:isolate}.topbar:after{content:"";position:absolute;top:100%;left:0;right:0;height:18px;pointer-events:none;background:linear-gradient(to bottom,#fff,#ffffffc9 22%,#fff0)}.theme-toggle{color:#78818c}.mobile-global-search{display:none}.modal>form{padding-bottom:26px!important}.modal .dialog-content{padding-bottom:26px}.global-search-modal>header{border-bottom:0;padding-bottom:13px}.global-search-modal .smart-search{padding:0 25px 25px}.global-search-modal .smart-search-results{margin-top:16px}.smart-search-empty{padding:28px 15px 30px!important;border-radius:9px;background:var(--soft)}.smart-search-empty h3{font-size:15px!important;letter-spacing:0!important;text-transform:none!important;color:var(--text)!important;margin:8px 0 3px!important}.advanced-animal-filter{padding:0 24px 26px}.advanced-animal-filter>p{margin:0 0 16px}.advanced-animal-filter .form-grid{padding:0}.advanced-animal-filter .filter-actions{margin-top:18px}.filter-delete{color:#8b949e}.filter-delete:hover{color:#c74747;background:#fff0f0}@media(max-width:650px){.mobile-global-search{display:inline-flex}.topbar>.button{display:none}.global-search-modal .smart-search{padding:0 18px 20px}.advanced-animal-filter{padding:0 18px 22px}}:root[data-theme=dark]{color-scheme:dark;--text: #e8edf3;--muted: #a2adba;--line: #344150;--surface: #1e2732;--soft: #273340;--menu: #1a2530;--accent: #6ac6f4;--accent-soft: #183d56;background:#17212b;color:var(--text)}:root[data-theme=dark] body,:root[data-theme=dark] .app,:root[data-theme=dark] .shell,:root[data-theme=dark] main{background:#17212b;color:var(--text)}:root[data-theme=dark] .sidebar{background:var(--menu);border-right-color:#344150}:root[data-theme=dark] .brand-logo img,:root[data-theme=dark] .boot img{filter:brightness(0) invert(1)}:root[data-theme=dark] .brand small{color:#b2becb}:root[data-theme=dark] .topbar{background:#1e2732;color:var(--text)}:root[data-theme=dark] .topbar:after{background:linear-gradient(to bottom,#1e2732,#1e2732c9 22%,#1e273200)}:root[data-theme=dark] .panel,:root[data-theme=dark] .modal,:root[data-theme=dark] .module-picker,:root[data-theme=dark] .select-popover,:root[data-theme=dark] .task-column,:root[data-theme=dark] .task-card,:root[data-theme=dark] .sop-intro{background:var(--surface);color:var(--text);border-color:var(--line)}:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] select,:root[data-theme=dark] .select-control,:root[data-theme=dark] .button:not(.primary),:root[data-theme=dark] .segmented,:root[data-theme=dark] .date-control input{background-color:#222e3a;color:var(--text);border-color:#435164}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#8c99a8}:root[data-theme=dark] .button:hover:not(.primary),:root[data-theme=dark] .icon-button:hover,:root[data-theme=dark] .smart-search-results button:hover,:root[data-theme=dark] .select-options>button.highlighted{background:#304252;color:#e8f4fb}:root[data-theme=dark] .smart-search-results button,:root[data-theme=dark] .module-picker-grid>button,:root[data-theme=dark] .day-task,:root[data-theme=dark] .animal-summary>div{background:var(--surface);color:var(--text);border-color:var(--line)}:root[data-theme=dark] .smart-search-field,:root[data-theme=dark] .search-field,:root[data-theme=dark] .search-input,:root[data-theme=dark] .global-search{background:#222e3a;border-color:#435164;color:var(--text)}:root[data-theme=dark] .smart-search-field input,:root[data-theme=dark] .global-search input,:root[data-theme=dark] .search-field input{background:transparent}:root[data-theme=dark] .table-wrap table,:root[data-theme=dark] .table-wrap th,:root[data-theme=dark] .table-wrap td,:root[data-theme=dark] .table-wrap tr{background:transparent;color:var(--text);border-color:var(--line)}:root[data-theme=dark] .table-wrap tbody tr:nth-child(odd),:root[data-theme=dark] .task-column-empty,:root[data-theme=dark] .empty,:root[data-theme=dark] .animal-facts dd,:root[data-theme=dark] .animal-facts dd input,:root[data-theme=dark] .smart-search-empty{background:var(--soft);color:var(--text)}:root[data-theme=dark] .company-switch .select-control,:root[data-theme=dark] .sidebar nav button.active{background:#2b3947;color:var(--text);border-color:#435164}:root[data-theme=dark] .sidebar nav button,:root[data-theme=dark] .sidebar nav button svg,:root[data-theme=dark] .module-identity svg{color:#b2becb}:root[data-theme=dark] .sidebar-scroll-hint{background:linear-gradient(transparent,var(--menu) 65%)}:root[data-theme=dark] .sidebar-scroll-hint-top{background:linear-gradient(var(--menu) 35%,transparent)}:root[data-theme=dark] .modal>header,:root[data-theme=dark] .panel-head,:root[data-theme=dark] .animal-tabs,:root[data-theme=dark] .segmented{border-color:var(--line)}:root[data-theme=dark] .global-search-modal>header{border:0}:root[data-theme=dark] .notice{background:#25394a;color:#cfe6f5;border-color:#405d72}:root[data-theme=dark] .notice.danger{background:#412d34;color:#ffd6d6;border-color:#784a55}:root[data-theme=dark] .notice.amber{background:#25394a;color:#cfe6f5;border-color:#405d72}:root[data-theme=dark] .badge{background:#344150;color:#dce5ee}:root[data-theme=dark] .badge.green,:root[data-theme=dark] .badge.amber,:root[data-theme=dark] .badge.danger{background:#344150;color:#dce5ee}:root[data-theme=dark] .suite-switcher>button.selected,:root[data-theme=dark] .segmented>button.selected{background:#33475a;color:#eaf7ff}:root[data-theme=dark] .module-picker-grid>button:hover{background:#304252}:root[data-theme=dark] h1,:root[data-theme=dark] h2,:root[data-theme=dark] h3,:root[data-theme=dark] h4,:root[data-theme=dark] strong,:root[data-theme=dark] b{color:var(--text)}:root[data-theme=dark] .sop-intro h2{color:var(--text)}:root[data-theme=dark] .monitor-quadrant{background:var(--surface);color:var(--text)}:root[data-theme=dark] .monitor-quadrant:hover,:root[data-theme=dark] .monitor-quadrant.selected{background:#263d50}.monitor-panel .scatter-legend{justify-content:center;align-items:center;text-align:center;padding-top:0;margin:0 0 24px;gap:11px 18px;font-size:12px;line-height:1.4}.scatter-legend>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.legend-square{display:inline-block;width:14px;height:14px;flex:none;border:1.5px solid #718090;border-radius:2px;background:#e9c37d}.legend-square.pregnant{background:#8ecdb0;border-color:#64b58e}.legend-square.open{background:#c6b2e8;border-color:#a98ed5}.legend-triangle{display:inline-block;width:0;height:0;flex:none;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:15px solid #e9c37d;filter:drop-shadow(0 1px 0 #718090)}.legend-arrow{font-style:normal;font-size:19px;font-weight:700;line-height:12px}.legend-arrow.below{color:#ce7777}.legend-arrow.above{color:#28865c}.monitor-plot-badge text{fill:#284055;font-size:11.5px;font-weight:700;paint-order:stroke fill;stroke:#fff;stroke-width:3px;stroke-linejoin:round}:root[data-theme=dark] .monitor-plot-badge text{fill:#edf6ff;stroke:#17212b}.monitor-quadrant-details{display:grid;grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr);gap:12px;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.monitor-quadrant-details>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.monitor-quadrant-details>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:baseline}.monitor-quadrant-details strong{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.monitor-quadrant-details small{font-size:10px;color:var(--muted);line-height:1.4}@media(max-width:650px){.monitor-chart-wrap{overflow-x:auto}.monitor-chart-wrap .herd-scatter,.monitor-axis-notes{min-width:680px}.monitor-panel .scatter-legend{font-size:11px;gap:8px 12px}.monitor-quadrant-details{grid-template-columns:1fr;gap:8px}.monitor-quadrant-details>div:first-child{grid-template-columns:auto 1fr}}.sop-scope{min-width:0;margin:8px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.sop-scope legend{padding:0 6px;color:var(--text);font-weight:600}.sop-scope>p{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.5}.sop-scope .sop-scope-preview{margin:14px 0 0}.sop-scope .form-grid{margin:0}.sop-animal-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.sop-animal-tools>input{flex:1;min-width:140px}.sop-animal-list{max-height:230px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.sop-animal-list label{display:flex;align-items:center;gap:9px;padding:8px;background:var(--surface);border-radius:8px}.sop-animal-list small{display:block;margin-top:3px}.monitor-overlay-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 16px}.monitor-overlay-tools .muted{font-size:12px}.monitor-chart-wrap{position:relative}.monitor-histogram-column{fill:var(--accent);opacity:.16}.monitor-histogram-row{fill:#45a994;opacity:.18}.monitor-histograms g:hover rect,.monitor-histograms g:focus rect{opacity:.36}.monitor-histograms g:focus{outline:none}.monitor-histogram-tooltip{position:fixed;z-index:120;transform:translateY(-100%);pointer-events:none;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #0002;display:grid;gap:4px;font-size:12px;max-width:min(260px,calc(100vw - 24px))}.monitor-histogram-tooltip strong{font-size:15px}.monitor-stage{color:#609e83}.monitor-stage.insemination{color:#ce7777}.monitor-stage.dry{color:#4e93c6}.monitor-stage.calving{color:#aa85c9}.monitor-stage rect{fill:currentColor;opacity:.07}.monitor-stage line{stroke:currentColor;stroke-width:1;opacity:.7}.herd-scatter .monitor-stage text{fill:currentColor;font-size:10px;font-weight:600;paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}.monitor-data-note{font-size:13px;color:var(--muted);margin:0 0 12px}.monitor-guide-editor{display:grid;gap:14px;margin:18px 0}.monitor-guide-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 36px;gap:14px;align-items:end}.monitor-guide-row label{display:grid;gap:7px}.monitor-guide-row .icon-button{height:42px}html[data-theme=dark] .monitor-histogram-column{opacity:.22}html[data-theme=dark] .monitor-histogram-row{opacity:.23}.mill-recipients{display:grid;gap:12px;margin-top:24px}.mill-recipient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:220px;overflow:auto;padding:4px}.mill-recipients .empty{padding:20px}.production-error{display:grid;gap:16px;padding:8px 0}.production-error>svg{color:var(--accent)}.production-error .modal-footer{margin-bottom:12px}@media(max-width:650px){.mill-recipient-list{grid-template-columns:1fr}}.help-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.help-navigation{padding:18px;position:sticky;top:100px}.help-navigation nav{display:grid;gap:6px;margin-top:16px}.help-chapter{display:flex;gap:10px;align-items:flex-start;border:0;background:transparent;padding:11px 9px;border-radius:8px;text-align:left;font:inherit;color:var(--muted)}.help-chapter.selected{background:var(--accent-soft);color:var(--accent)}.help-chapter:hover{background:var(--soft)}.help-article{padding:32px}.help-article h2{font-size:25px;margin-bottom:24px}.help-article h3{font-size:17px;margin-top:28px;margin-bottom:12px;color:var(--text)}.help-article p{margin:12px 0;color:var(--muted);line-height:1.8}.help-article li{margin:10px 0;line-height:1.8}.help-article ul,.help-article ol{padding-left:24px}.help-article td,.help-article th{text-align:left;white-space:normal;min-width:140px;line-height:1.6}.help-article code{padding:2px 5px;background:var(--soft);border-radius:4px}.help-article a{color:var(--accent)}@media(max-width:1050px){.help-layout{grid-template-columns:1fr}.help-navigation{position:static}.help-navigation nav{grid-template-columns:repeat(2,minmax(0,1fr))}.help-article{padding:24px}}@media(max-width:650px){.help-navigation nav{grid-template-columns:1fr}.help-article{padding:18px}}.sidebar-bottom .report-problem{width:100%;text-align:left;line-height:1.4;padding-top:8px;padding-bottom:8px;cursor:pointer}.sidebar-bottom .report-problem:hover{color:var(--text);background:transparent}.sidebar-bottom .report-problem svg{flex-shrink:0}.compact .sidebar-bottom .report-problem{justify-content:center}.compact .sidebar-bottom .report-problem span{display:none}.api-command-input{min-height:220px;font-family:ui-monospace,monospace;line-height:1.5}.api-result{padding:20px;background:var(--surface);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;max-height:460px;overflow:auto;font-size:12px}.api-console{display:flex;flex-direction:column;gap:16px;min-width:0}.api-console>label:not(.button){display:flex;flex-direction:column;gap:8px;width:100%}.api-console .api-command-input{width:100%;max-width:100%;box-sizing:border-box;resize:vertical}.api-console p{white-space:normal;overflow-wrap:anywhere}.api-console .api-result{max-width:100%;box-sizing:border-box;margin:0}.api-upload{position:relative;align-self:flex-start;overflow:hidden;cursor:pointer}.api-upload input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.api-upload:focus-within{outline:2px solid var(--accent);outline-offset:3px}.api-catalog{table-layout:fixed;width:100%;min-width:640px}.api-catalog td,.api-catalog th{white-space:normal;overflow-wrap:anywhere}.api-catalog th:first-child{width:25%}.api-catalog th:nth-child(2){width:49%}.form-grid label:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:10px;margin:2px 0 0;color:var(--text);font-size:13px;line-height:1.4;cursor:pointer}.form-grid input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:0 0 16px}.modal .knowledge-preview{margin-top:8px;padding:12px 0 0}.animal-import>p{margin:0 0 12px;line-height:1.6}.animal-import-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 16px}.animal-import-actions label.button{cursor:pointer}.animal-import .notice{margin:0 0 12px;white-space:pre-line}.animal-import .import-error{color:var(--danger, #c0392b)}.animal-import .table-wrap{max-height:320px;overflow:auto}.ai-remember-answer{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 4px;min-height:34px;font-size:12px;color:var(--muted);cursor:pointer}.ai-saved-answers{margin:16px 0}.ai-saved-answers h4{margin:0 0 8px;font-size:13px}.ai-saved-answers ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ai-saved-answers li{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ai-saved-answers li span{flex:1;min-width:200px}.daily-actions{display:inline-flex;gap:8px;align-items:center}.daily-actions>.button{margin:0;vertical-align:middle}.recipe-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.feeding-schedule{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.feeding-schedule-head{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.feeding-schedule-head label{display:flex;flex-direction:column;gap:4px;width:160px}.feeding-schedule-sum{margin-left:auto;font-size:12px;color:#83958f}.feeding-schedule-sum.bad{color:#ba756c}.feeding-schedule-rows{display:flex;flex-direction:column;gap:6px}.feeding-schedule-row{display:grid;grid-template-columns:26px 130px 110px 1fr;gap:10px;align-items:end}.feeding-schedule-row label{display:flex;flex-direction:column;gap:4px}.feeding-schedule-no{display:grid;place-items:center;width:24px;height:24px;margin-bottom:8px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:550}.feeding-schedule-bar{height:6px;margin-bottom:16px;border-radius:3px;background:var(--line);overflow:hidden}.feeding-schedule-bar i{display:block;height:100%;background:var(--accent)}.feeding-members{display:flex;flex-direction:column;gap:6px;margin:8px 0 12px}.feeding-excluded{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.feeding-assignment .dialog-content{display:grid;gap:24px}.feeding-assignment-section{display:grid;gap:16px;min-width:0}.feeding-assignment-section+section{padding-top:24px;border-top:1px solid var(--line)}.feeding-assignment-section h3,.feeding-transfer h3{margin:0;font-size:15px}.feeding-assignment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.feeding-assignment-fields>label,.feeding-operation-row>label{display:grid;gap:8px;min-width:0;font-size:13px;line-height:1.5}.feeding-assignment-fields input,.feeding-assignment-fields .select-control{width:100%}.feeding-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.feeding-actions .button{white-space:normal;text-align:center}.feeding-transfer-body{display:grid;gap:24px;padding-top:6px}.feeding-transfer-body>section{display:grid;gap:14px;min-width:0}.feeding-transfer-body>section+section{padding-top:22px;border-top:1px solid var(--line)}.feeding-operation-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px}.feeding-operation-row>label{flex:1 1 250px}.feeding-operation-row>.button{flex:0 1 auto;white-space:normal}.feeding-current .filter-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0;justify-content:flex-start}.feeding-current .filter-actions>.button{margin:0}.feeding-step>.button{margin:0}.feeding-transfer summary{font-weight:550}@media(max-width:650px){.feeding-assignment-fields{grid-template-columns:1fr}.feeding-actions>.button,.feeding-operation-row>.button{width:100%}.feeding-operation-row>label{flex-basis:100%}}.task-mobile-result{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.task-mobile-result h3{margin:0 0 8px;font-size:14px}.task-mobile-result p{margin:0;line-height:1.65;overflow-wrap:anywhere}.feeding-load-editor{display:grid;gap:16px;min-width:0}.feeding-load-editor td.feeding-fact-column{min-width:145px}.feeding-load-editor td input{width:140px;max-width:100%}.feeding-load-editor .feeding-actions{align-items:center;justify-content:space-between}.feeding-load-editor .feeding-actions>.muted{flex:1 1 240px;font-size:12px;line-height:1.6}.feeding-delivery,.feeding-extra-body{display:grid;gap:18px;min-width:0}.feeding-delivery{padding-top:22px;border-top:1px solid var(--line)}.feeding-delivery h3{margin:0}.feeding-delivery-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr);gap:18px}.feeding-delivery-fields>label{min-width:0}.feeding-delivery .feeding-actions{align-items:center;justify-content:space-between}.feeding-delivery .feeding-actions>.muted{flex:1 1 220px;font-size:12px;line-height:1.6}.feeding-extra{border-top:1px solid var(--line)}.feeding-extra-body>.button{justify-self:start}.feeding-operation-error>.modal-footer{padding:0 24px 24px!important;margin:0!important;display:flex;gap:12px;justify-content:flex-end}.feeding-operation-error .dialog-content{padding:22px 24px}.feeding-operation-error .dialog-content p{margin:0 0 14px;line-height:1.6}@media(max-width:650px){.feeding-delivery-fields{grid-template-columns:1fr}.feeding-delivery .feeding-actions>.button,.feeding-load-editor .feeding-actions>.button{width:100%}.feeding-delivery .feeding-extra-body>.button{width:100%;white-space:normal}.feeding-load-editor .table-wrap{max-width:100%;overflow:auto}}.help-article blockquote,.knowledge-source-document blockquote{margin:16px 0;padding:12px 16px;border:0;border-radius:8px;background:var(--soft);color:var(--text)}.help-chapter.selected{color:var(--text);box-shadow:0 0 18px #168ed210}.ai-reply-hint{display:block;margin-top:10px;font-size:12px;color:var(--muted)}.modal.monitor-animal-dialog{display:flex;flex-direction:column;overflow:hidden;max-height:90dvh}.monitor-animal-dialog>header{flex:0 0 auto;background:var(--panel, #fff);z-index:1;padding:18px 22px}.monitor-animal-dialog>header h2{margin:0}.monitor-animal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 24px}.monitor-animal-body>.settings-content{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:0}.monitor-animal-body .settings-content>h3,.monitor-animal-body .settings-content>p{margin:0}.monitor-animal-body .settings-content>h3:not(:first-child){margin-top:10px}.monitor-animal-body .settings-content>.button{align-self:flex-start}.monitor-animal-body .filter-actions{display:flex;flex-wrap:wrap;gap:10px}.monitor-animal-body .notice,.animal-measurements-panel .notice{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.monitor-animal-body .notice>p,.animal-measurements-panel .notice>p{flex-basis:100%;margin:0}@media(max-width:650px){.monitor-animal-dialog>header{padding:14px 16px}.monitor-animal-body{padding:14px 16px 20px}.monitor-animal-body .filter-actions>.button{flex:1 1 180px}}.employee-select{display:flex;flex-direction:column;gap:8px;min-width:0}@media(min-width:1200px){.animal-summary{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) repeat(2,minmax(0,1fr))}}.animal-summary>div{min-width:0;overflow-wrap:anywhere}.ai-thinking-indicator{display:flex;align-items:center;gap:18px;padding:18px 22px;margin:16px 0 8px;border-radius:18px;background:var(--panel, #f6f9fb)}.ai-thinking-emblem{display:grid;place-items:center;width:88px;min-width:88px;height:88px;border-radius:50%;color:#3398ce;background:#eaf5fb;animation:ai-thinking-breathe 2.8s ease-in-out infinite}.ai-thinking-indicator small{display:block;margin-top:6px;opacity:.7}.ai-spinner{animation:ai-spinner-turn 1s linear infinite}@keyframes ai-spinner-turn{to{transform:rotate(360deg)}}@keyframes ai-thinking-breathe{50%{box-shadow:0 0 0 8px #3398ce10;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.ai-spinner,.ai-thinking-emblem{animation:none}}.ai-chat-layout .ai-composer-footer{flex-wrap:wrap}.ai-chat-mode{flex:0 1 260px;min-width:180px;max-width:100%}.ai-chat-mode>button[role=combobox]{font-size:12px;min-height:32px}@media(max-width:650px){.ai-chat-mode{flex-basis:100%}}.animal-header{flex-wrap:wrap}.animal-observation-snippet{flex:0 1 340px;min-width:230px;max-width:100%;margin-left:auto;padding:12px 16px;border-radius:14px;background:#fff4d6;color:#614b20}.animal-observation-snippet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.animal-observation-snippet-head strong{display:inline-flex;align-items:center;gap:8px;font-size:13px}.animal-header .animal-observation-snippet p{color:inherit;font-size:13px;line-height:1.45;margin:6px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.animal-observation-snippet small{display:block;font-size:11px;line-height:1.5}:root[data-theme=dark] .animal-observation-snippet{background:#37301e;color:#f1dfad}@media(max-width:650px){.animal-observation-snippet{flex-basis:100%;min-width:0;margin-left:0}}.feeding-past-controls{align-items:center;gap:16px 24px}.feeding-current .feeding-past-toggle{display:flex;align-items:center;gap:10px;flex:1 1 250px;min-width:0}.feeding-current .feeding-past-toggle input[type=checkbox]{flex:0 0 16px;width:16px;height:16px}.feeding-past-toggle>span{min-width:0;line-height:1.45}.feeding-current .feeding-past-time{flex:0 1 340px;min-width:0;max-width:100%}@media(max-width:650px){.feeding-current .feeding-past-toggle,.feeding-current .feeding-past-time{flex-basis:100%}}.production-filters{align-items:center;gap:12px}.production-filters>.search-field{max-width:180px;min-width:150px;flex:1 0 150px}.production-filters>.select-wrap{max-width:180px}.production-filters>.button{white-space:nowrap;margin-left:auto}.daily-actions{flex-wrap:wrap;row-gap:8px}.feeding-actual-input{justify-content:center}.feeding-fact-column .cell-sub{text-align:center}:root{--header-surface: #fff;--info-bg: #eef6fc;--info-border: #cddfeb;--info-text: #46677f;--chart-grid: #e9edf2;--chart-axis: #abb3bf;--chart-other: #9db6cf}:root[data-theme=dark]{--header-surface: #1e2732;--info-bg: #25394a;--info-border: #405d72;--info-text: #cfe6f5;--chart-grid: #344150;--chart-axis: #8293a5}.notice:not(.danger),.notice.amber{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}.notice:not(.danger) svg{color:var(--info-text)}.badge.amber{background:var(--soft);color:var(--muted)}.live-dot.amber{background:#6fa8cd}.work-time-grid .weekend{background:var(--soft)}.work-day.absence{background:var(--info-bg);color:var(--info-text);border-color:var(--info-border)}.legend-square:not(.pregnant):not(.open){background:var(--chart-other)}.legend-triangle{border-bottom-color:var(--chart-other)}.herd-scatter>text,.herd-scatter>g>text:not([fill]),.forecast-chart text{fill:var(--muted)}:root[data-theme=dark] .app :where(.stats,.stat,.metric-strip,.metric-card){background:transparent}:root[data-theme=dark] .app :where(.stat strong,.metric-strip strong,.quality-metric strong,.recipe-summary strong,.cost-result strong){color:var(--text)}:root[data-theme=dark] .app :where(.stat>div,.stat small,.metric-strip>div>span:not(.metric-icon),.metric-strip small){color:var(--muted)}:root[data-theme=dark] .app :where(.recipe-list,.recipe-editor,.nutrient,.cost-result>div,.assistant-composer,.assistant-answer,.smart-filter-panel,.toast,.work-day,.day-location-heading){background:var(--surface);color:var(--text);border-color:var(--line)}:root[data-theme=dark] .app :where(.recipe-item,.recipe-add,.editor-tabs,.editor-footer,.recipe-summary,.card-footer,.modal-footer,.catalog-bottom,.pagination,.feature-row,.context-stat,.attention,.validation){border-color:var(--line)}:root[data-theme=dark] .app :where(.recipe-item.active,.editor-tabs button.active,.source-types>button.selected,.module-picker-grid>button.current){background:var(--accent-soft);border-color:var(--info-border);color:var(--text)}:root[data-theme=dark] .app :where(.recipe-item:hover,.prompt-grid>button:hover,.workflow button:hover,.source-types>button:hover,.work-day:hover){background:var(--soft);border-color:var(--info-border)}:root[data-theme=dark] .app :where(.item-icon,.large-icon,.animal-avatar,.address,.stage,.wizard-steps>button>span,.signal-orbit,.dropzone,.prompt-grid>button,.source-types>button,.active-filters button,.filter-count,.nutrient-track){background:var(--soft);border-color:var(--line);color:var(--muted)}:root[data-theme=dark] .app :where(.item-icon svg,.large-icon svg,.animal-avatar svg,.signal-orbit svg){color:var(--accent)}:root[data-theme=dark] .app :where(.address,.recipe-item b,.mill-body h2,.connection-body h2,.panel h2,.panel h3,.assistant-intro h2,.name-cell b,.day-task h3,.task-card h3,.setting-row b,.feature-row b,.source-readiness b,.workflow button b,.nutrient strong){color:var(--text)}:root[data-theme=dark] .app :where(.panel p,.settings-content,.settings-content>p,.settings-content>h3,.setting-row,.setting-row p,.feature-row,.feature-row p,.source-panel,.source-panel p,.source-panel dt,.source-panel dd,.recipe-item small,.recipe-meta,.recipe-icon,.recipe-list-title,.editor-tabs button,.editor-toolbar,.editor-footer,.recipe-summary>div>span,.recipe-summary small,.nutrient>span,.nutrient>small,.nutrient strong small,.cost-result>div>span,.cost-result p,.cost-result small,.mill-body p,.connection-body p,.assistant-intro,.assistant-intro p,.assistant-composer>div>span,.assistant-answer p,.model-unavailable,.context-stat,.task-card p,.task-card>small,.task-column-empty,.task-column>header,.task-column>header h3,.task-column>header>span:last-child,.quality-metric>span,.form-grid label,.smart-filter-fields label,.cost-controls label,.milk-quality-filters label,.form-grid small,.form-description,.modal-body,.modal-body p,.animal-header p,.animal-summary span,.animal-facts dt,.animal-link small,.cell-sub,.filter-switch,.source-readiness small,.mcp-intro p,.dropzone b,.dropzone span,.schedule-label,.schedule>small,.attention p,.aside-note,.quick-footer){color:var(--muted)}:root[data-theme=dark] .app :where(.assistant-composer textarea,.smart-search-field input,.select-search input){background:transparent;color:var(--text)}:root[data-theme=dark] .app :where(.editor-tabs button.active,.animal-tabs button.selected,.work-day em,.filter-message,.recipe-add,.text-button:hover){color:var(--accent)}:root[data-theme=dark] .app :where(.empty,.empty p,.stream-empty,.stream-empty p,.animal-empty,.data-state,.data-state.complete,.row-arrow,.module-identity small,.company-switch small,.nav-label,.collapse,.suite-switcher>button,.breadcrumbs,.breadcrumbs strong,.statusbar){color:var(--muted)}:root[data-theme=dark] .app :where(.empty h3,.stream-empty h2){color:var(--text)}:root[data-theme=dark] .app :where(.suite-switcher>button.selected,.segmented>button.selected){border-color:var(--info-border);color:var(--text)}:root[data-theme=dark] .app :where(.suite-switcher>button:hover,.sidebar nav button:hover,.sidebar-scroll-arrow:hover){background:var(--soft);color:var(--text)}:root[data-theme=dark] nav button small{background:var(--soft);color:var(--muted)}:root[data-theme=dark] .sidebar-scroll-arrow{color:var(--muted)}:root[data-theme=dark] .monitor-quadrant{background:var(--surface);border-color:var(--line);color:var(--text)}:root[data-theme=dark] .monitor-quadrant>span,:root[data-theme=dark] .monitor-quadrant>div,:root[data-theme=dark] .monitor-quadrant footer{color:var(--muted)}:root[data-theme=dark] .monitor-quadrant:hover,:root[data-theme=dark] .monitor-quadrant.selected{background:var(--accent-soft);border-color:var(--accent)}:root[data-theme=dark] .monitor-crosshair-handle{fill:var(--surface)}:root[data-theme=dark] .herd-scatter .monitor-plot-badge text{fill:var(--text);stroke:var(--surface)}:root[data-theme=dark] .day-task.completed{background:var(--surface)}:root[data-theme=dark] .work-time-grid th:nth-child(2){background:var(--surface)}:root[data-theme=dark] .switch-track{background:#435164}:root[data-theme=dark] .switch-track.on{background:#278fcb}:root[data-theme=dark] .statusbar{border-color:var(--line)}:root[data-theme=dark] .modal-backdrop{background:#07111cb3}:root[data-theme=dark] .app dt{color:var(--muted)}:root[data-theme=dark] .app dd{color:var(--text)}:root[data-theme=dark] .app input[type=checkbox]:checked,:root[data-theme=dark] .app input[type=checkbox]:indeterminate{border-color:var(--accent);background-color:#179ddd}@media(max-width:950px){.mobile-expanded .sidebar{z-index:80}.mobile-expanded .nav-backdrop{z-index:79}}.saved-feed-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 24px 18px}.saved-feed-filters>.select-control{min-width:240px;max-width:360px;flex:1}.hierarchy-tree{padding:18px 24px 26px}.hierarchy-branch{margin-bottom:8px}.hierarchy-row{display:flex;align-items:center;gap:12px;padding:12px 8px;min-width:0;border-radius:8px;list-style:none}.hierarchy-row::-webkit-details-marker{display:none}.hierarchy-row>svg{flex-shrink:0;color:var(--muted)}.hierarchy-name{flex:1;min-width:0}.hierarchy-name>b,.hierarchy-name>.animal-link{color:var(--text);font-weight:600}.hierarchy-name small{display:block;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}.hierarchy-children{margin-left:18px;padding-left:18px;border-left:1px solid var(--line)}.hierarchy-branch>summary{cursor:pointer}.hierarchy-branch[open]>summary>.tree-chevron{transform:rotate(90deg)}.hierarchy-empty{color:var(--muted);font-size:13px;padding:4px 8px}.location-leaf-actions{padding:8px}.placement-form{padding:24px}.placement-form .search-field{margin-top:18px}.storage-tree-panel .panel-head small{display:block;margin-top:6px;color:var(--muted)}@media(max-width:650px){.hierarchy-tree{padding:14px 12px}.hierarchy-children{margin-left:9px;padding-left:9px}.hierarchy-row{gap:7px;flex-wrap:wrap}.hierarchy-row>.row-actions{margin-left:auto}.hierarchy-name{min-width:120px}.storage-tree-panel .panel-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.saved-feed-filters{padding:0 16px 16px}.placement-form{padding:18px}}.archived-locations{margin-top:18px;padding:18px 24px}.archived-locations>summary{cursor:pointer;color:var(--muted)}.hierarchy-row .animal-link{overflow-wrap:anywhere;white-space:normal}.app .sidebar{border-right:0;box-shadow:none}.app .sidebar:after{content:"";position:absolute;left:100%;top:0;bottom:0;width:20px;background:linear-gradient(to right,var(--menu),transparent);pointer-events:none}@media(max-width:950px){.app .sidebar:after{width:12px}.app.mobile-expanded .sidebar:after{width:24px}}:root .app .topbar{background:linear-gradient(to right,var(--menu),var(--header-surface) 24px)}:root .app .topbar:after{background:linear-gradient(to right,var(--menu),var(--header-surface) 24px);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000000c9 22%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000000c9 22%,transparent 100%)}.app .table-wrap .icon-button{color:var(--muted)}.app .table-wrap .icon-button:hover{background:var(--soft);color:var(--text)}.help-label{display:inline-flex;align-items:center;gap:6px;max-width:100%;vertical-align:middle;line-height:1.45}.help-label>span:first-child{min-width:0}.field-help-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:19px;height:19px;min-height:0;padding:0;border:0;border-radius:5px;background:var(--soft);color:var(--muted);font-family:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer}.field-help-button:hover{color:var(--accent);background:var(--accent-soft)}.field-help-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field-help-button>span{font-family:inherit;font-size:12px;line-height:1;font-weight:600}.field-help-dialog{max-width:480px}.field-help-content{padding:0 26px 28px;color:var(--text);font-size:14px;line-height:1.7}.field-help-content p{margin:0 0 16px;color:var(--text)}.field-help-content h3{font-size:13px;margin:20px 0 8px;color:var(--muted)}.field-help-content .notice{margin:20px 0 0;display:block}:root[data-theme=dark] .field-help-content{color:var(--text)}.company-settings{display:grid;gap:24px}.company-settings .two-col{margin:0}.company-settings h3,.mercury-report h3{display:flex;align-items:center;gap:10px}.company-facts{margin:0;padding:22px 26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 26px}.company-facts>div{min-width:0}.company-facts dt{color:var(--muted);font-size:12px;margin-bottom:7px}.company-facts dd{margin:0;padding:10px 12px;background:var(--soft);border-radius:7px;color:var(--text);font-size:13px;overflow-wrap:anywhere;min-height:38px}.company-settings .settings-content>.company-facts,.mercury-detail>.company-facts{padding:18px 0}.company-settings .labor-toolbar label{min-width:200px}.readiness-list{columns:2;column-gap:36px;padding-left:20px;line-height:1.9;color:var(--muted)}.readiness-list li{break-inside:avoid}.cell-subtitle{display:block;color:var(--muted);font-size:11px;margin-top:6px}.mercury-card .card-footer{gap:8px;flex-wrap:wrap}.exchange-tabs{width:fit-content;margin-bottom:24px}.mercury-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);margin-bottom:18px}.mercury-processes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.mercury-processes p{line-height:1.7;color:var(--muted)}.mercury-code{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:12px;line-height:1.6;background:var(--soft);color:var(--text);padding:18px;border-radius:8px}.mercury-detail details{margin:18px 0}.mercury-detail summary{cursor:pointer;color:var(--text);padding:8px 0}.mercury-report{padding:22px 0 0;margin-top:22px;border-top:1px solid var(--line)}.mercury-report .mono{overflow-wrap:anywhere}.mercury-report>label{display:block;max-width:100%}.mercury-detail .filter-actions{gap:10px;flex-wrap:wrap}.mercury-processes b{color:var(--text)}@media(max-width:900px){.company-facts{grid-template-columns:1fr}.readiness-list{columns:1}.mercury-processes{grid-template-columns:repeat(2,minmax(0,1fr))}.company-settings .panel-head{gap:14px;flex-wrap:wrap}}@media(max-width:540px){.mercury-processes{grid-template-columns:1fr}.company-facts{padding:18px}.company-settings .labor-toolbar{align-items:stretch}.company-settings .labor-toolbar>*{max-width:100%}}.app .brand small{margin-top:1px}.app .icon-button:has(.delete-icon){color:var(--muted);background:transparent;border:0}.app .icon-button:has(.delete-icon):hover{color:#c74747;background:color-mix(in srgb,#c74747 10%,transparent)}.app .delete-icon{width:16px;height:16px;stroke-width:2}.animal-catalog-toolbar{flex-wrap:wrap;gap:12px}.animal-catalog-toolbar>.search-field{flex:1;min-width:240px}.animal-saved-filters{display:flex;gap:9px;align-items:center;flex:1;min-width:260px}.animal-saved-filters>.select-control{flex:1;min-width:150px}.animal-catalog-toolbar+.smart-filter-panel .smart-filter-fields>p{grid-column:1/-1;margin:0 0 8px}.connect-preview{white-space:pre-wrap;font-size:12px;max-width:640px;overflow-wrap:anywhere}.filter-actions label.button input[type=file]{max-width:190px;font-size:12px}.app .mercury-detail .notice ul{margin:10px 0;padding-left:22px}@media(max-width:650px){.app .panel-head{flex-wrap:wrap;gap:12px}.app .panel-head>*{min-width:0}.app .panel-head h3{overflow-wrap:anywhere}.app .metric-strip{grid-template-columns:1fr!important}.app .metric-strip>div{border-right:0;padding:14px 0;border-bottom:1px solid var(--line)}.app .metric-strip>div:last-child{border-bottom:0}}@media(max-width:1250px){.app .mobile-global-search{display:inline-flex}}
