:root{font-family:Inter,Noto Sans SC,system-ui,sans-serif;color:#202833;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100vh;display:flex}.sidebar{width:245px;background:#fff;border-right:1px solid #e8ebf0;padding:25px 15px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:11px;padding:0 12px 29px}.logo>span{width:39px;height:39px;border-radius:12px;background:#6052cc;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:800;box-shadow:0 8px 15px #dedafb}.logo b{display:block;font-size:17px}.logo small{font-size:9px;color:#abb2bd;letter-spacing:1px}.farm{padding:12px 10px;border:1px solid #eef0f3;border-radius:12px;background:#f8f9fb;display:flex;gap:9px;align-items:center}.farm small{display:block;color:#9ca5af;font-size:10px}.farm b{font-size:11px}.farm>span:last-child{margin-left:auto;color:#aab2bc}.online{width:8px;height:8px;background:#45b984;border-radius:50%;box-shadow:0 0 0 4px #def4e8}.sidebar nav{margin-top:22px}.sidebar nav p{margin:20px 12px 8px;color:#a3abb7;font-size:10px;letter-spacing:1px}.sidebar nav a{display:block;text-decoration:none;color:#76818e;border-radius:9px;padding:11px 12px;margin:3px 0;font-size:13px}.sidebar nav a.active{color:#6052cc;background:#f0efff;font-weight:700}.sidebar nav i{float:right;font-style:normal;background:#e8e5ff;padding:2px 6px;border-radius:8px;font-size:10px}.sidebar-foot{margin-top:auto;border-top:1px solid #edf0f4;padding:18px 12px;color:#aaaeba;font-size:9px;line-height:1.8;letter-spacing:1px}.sidebar-foot b{font-size:11px;color:#737d8a;letter-spacing:0}.main{flex:1;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e8ebf0;padding:0 42px;display:flex;align-items:center;justify-content:space-between;color:#a0a9b4;font-size:12px}.topbar b{font-weight:400;color:#d5d9df;margin:0 12px}.topbar strong{color:#424d5a}.top-right{display:flex;align-items:center;gap:8px;font-size:11px}.api-dot{width:7px;height:7px;border-radius:50%;background:#40b27e}.avatar{margin-left:16px;background:#e9e2dc;color:#8a6c5d;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-weight:700}.content{padding:34px 42px;max-width:1360px}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.kicker{font-size:10px;color:#8175d2;font-weight:800;letter-spacing:1.1px;margin:0 0 8px}.heading h1{font-size:28px;margin:0 0 8px;letter-spacing:-.7px}.heading p:not(.kicker){font-size:12px;color:#8f99a5;margin:0}.primary,.outline{border-radius:8px;padding:10px 15px;font-size:12px;cursor:pointer}.primary{background:#6052cc;color:#fff;border:1px solid #6052cc;box-shadow:0 8px 18px #dcd8fb}.outline{background:#fff;color:#65707e;border:1px solid #e2e6ed}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stats>div{background:#fff;border:1px solid #e7eaf0;border-radius:12px;padding:18px 20px;box-shadow:0 8px 22px #1f304508}.stats span,.stats small{display:block;color:#9ca5b0;font-size:11px}.stats strong{display:block;font-size:27px;margin:8px 0 5px}.toolbar{display:flex;gap:10px;margin-bottom:17px}.search{flex:1;max-width:350px;background:#fff;border:1px solid #e2e6ed;border-radius:8px;display:flex;align-items:center;padding:0 12px;color:#a4acb6}.search input{border:0;outline:0;padding:10px;background:transparent;width:100%;font-size:12px}.toolbar select{border:1px solid #e2e6ed;border-radius:8px;background:#fff;padding:0 12px;color:#687381;font-size:12px}.panel{background:#fff;border:1px solid #e7eaf0;border-radius:13px;min-height:365px;box-shadow:0 8px 22px #1f304508}.panel-head{padding:21px 22px;display:flex;justify-content:space-between;border-bottom:1px solid #eef0f3}.panel-head h2{font-size:15px;margin:0 0 6px}.panel-head p{font-size:10px;color:#a0a9b4;margin:0}.table-note{font-size:10px;color:#a6aeb8}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#a0a9b4;font-weight:500;font-size:10px;padding:14px 22px;border-bottom:1px solid #eef0f3}td{padding:16px 22px;border-bottom:1px solid #f1f3f6;color:#66717e}td b{color:#394552}.tag{font-style:normal;color:#329773;background:#e7f7ef;border-radius:5px;padding:4px 8px;font-size:10px}.link{border:0;background:none;color:#6052cc;font-size:11px}.empty{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:285px;text-align:center}.empty-icon{width:48px;height:48px;background:#f0efff;color:#6052cc;border-radius:15px;display:grid;place-items:center;font-size:24px}.empty h3{font-size:15px;margin:14px 0 6px}.empty p{color:#9ba4af;font-size:11px;margin:0 0 18px}.next-step{display:flex;align-items:center;gap:13px;background:#fbfaff;border:1px solid #e6e2fc;border-radius:12px;padding:16px 18px;margin-top:18px}.next-icon{width:35px;height:35px;border-radius:10px;background:#eae7ff;color:#6052cc;display:grid;place-items:center}.next-step b{font-size:12px}.next-step p{margin:5px 0 0;color:#8e98a5;font-size:11px}.next-step span{margin-left:auto;color:#9b92db;font-size:10px;font-weight:700}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a233044;display:grid;place-items:center}.modal{width:430px;background:#fff;border-radius:16px;padding:28px;box-shadow:0 20px 60px #1a233044;position:relative}.close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#adb5be;font-size:23px;cursor:pointer}.modal h2{margin:0 0 8px;font-size:20px}.modal-sub{color:#98a1ad;font-size:11px;margin:0 0 20px}.modal label{display:block;color:#67727e;font-size:11px;margin:12px 0}.modal input,.modal select{display:block;width:100%;margin-top:6px;border:1px solid #e2e6ed;border-radius:7px;padding:10px;font:inherit;font-size:12px;background:#fff}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}@media(max-width:850px){.sidebar{width:70px;padding:22px 8px}.logo div,.farm div,.farm>span:last-child,.sidebar nav p,.sidebar nav a:not(.active){display:none}.logo{padding:0 6px 28px}.farm{padding:12px 13px}.sidebar nav a.active{font-size:0;text-align:center}.content{padding:25px 17px}.topbar{padding:0 17px}.stats{grid-template-columns:repeat(2,1fr)}.heading{align-items:flex-start;gap:16px;flex-direction:column}.toolbar{flex-wrap:wrap}.search{max-width:none;min-width:100%}}@media(max-width:500px){.table-note{display:none}.panel{overflow:auto}.empty{min-width:500px}}@media(max-width:500px){.topbar{height:60px}.top-right{font-size:0}.top-right .avatar{font-size:12px;margin-left:4px}.content{padding:20px 12px}.heading h1{font-size:23px}.stats{gap:9px}.stats>div{padding:13px}.stats strong{font-size:21px}.two{grid-template-columns:1fr}.modal{width:calc(100vw - 24px);padding:20px}.toolbar{align-items:stretch}.toolbar label{width:100%}.toolbar label input{width:100%;padding:10px;border:1px solid #e2e6ed;border-radius:8px}.sidebar-logout{display:none}}.sales-page{display:grid;gap:24px}.sales-page .heading{margin-bottom:0}.sales-form{padding:24px;overflow:visible}.sales-count{display:flex;align-items:baseline;gap:6px;padding:10px 18px;border-radius:16px;background:linear-gradient(135deg,#f1efff,#f8f7ff);color:#5542cc}.sales-count b{font-size:28px}.sales-count em{font-style:normal}.sales-animal-picker{margin:20px 0;padding:18px;border:1px solid #e5e7f2;border-radius:18px;background:#fafbff}.sales-picker-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:14px;align-items:end;margin-bottom:16px}.sales-animal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;max-height:320px;overflow:auto;padding:2px}.sales-animal-card{display:flex!important;flex-direction:row!important;align-items:center;gap:11px;padding:13px 14px;border:1px solid #dfe3ef;border-radius:14px;background:#fff;cursor:pointer;transition:.18s ease}.sales-animal-card:hover{border-color:#8a79ee;transform:translateY(-1px)}.sales-animal-card.selected{border-color:#6752dc;background:#f3f0ff;box-shadow:0 6px 18px #5b46c81a}.sales-animal-card input{width:18px;height:18px;margin:0}.sales-animal-card span{display:grid;gap:3px}.sales-animal-card small{color:#7a8499}.sales-list{overflow:hidden}.sales-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:180px}.sales-tags span{padding:4px 9px;border-radius:999px;background:#f0edff;color:#5542cc;font-size:13px;font-weight:700}@media(max-width:760px){.sales-form{padding:16px}.sales-picker-toolbar{grid-template-columns:1fr}.sales-animal-grid{grid-template-columns:1fr 1fr}.sales-count{padding:8px 12px}.sales-count b{font-size:23px}}@media(max-width:460px){.sales-animal-grid{grid-template-columns:1fr}}.animal-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.animal-detail-actions .danger{color:#c44751;border-color:#efb5ba}.animal-detail-actions .danger:hover{background:#fff5f5}.ration-row{display:grid;grid-template-columns:1.05fr 1.35fr .8fr .75fr .75fr 1fr auto;gap:10px;align-items:end;margin:16px 0}.ration-row label{min-width:0}.feed-processing-log .table-scroll{overflow-x:auto}.feed-processing-log table{min-width:860px}.feed-log-note{padding:0 20px 18px;color:#8d96a4;font-size:11px}@media(max-width:900px){.ration-row{grid-template-columns:1fr 1fr}.ration-row .danger{grid-column:1/-1;justify-self:start}}.processing-log-selectors{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;padding:18px 20px;border-bottom:1px solid #eef0f3}.feed-log-empty{margin:0;padding:36px 20px;text-align:center;color:#929baa;font-size:12px}@media(max-width:700px){.processing-log-selectors{grid-template-columns:1fr}.processing-log-selectors .primary{width:100%}}.processing-log-title{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 8px}.processing-log-title h3{margin:0;font-size:18px}.processing-log-title time{margin-left:auto;color:#586575;font-size:13px}.logo-home{cursor:pointer}.logo-home:focus-visible{outline:2px solid #6b5bd2;outline-offset:4px;border-radius:8px}.feeding-plan-used{opacity:.5;background:#f7f8fa}.feeding-plan-used td{color:#8b95a2}.feeding-plan-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.feeding-plan-table tbody tr{display:grid;grid-template-columns:1.2fr .7fr 1.4fr 1fr;grid-column:span 1;background:#fff;border:1px solid #edf0f4;border-radius:10px;overflow:hidden}.feeding-plan-table tbody tr td{border:0;border-right:1px solid #edf0f4;padding:13px 12px}.feeding-plan-table tbody tr td:last-child{border-right:0;display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}@media(max-width:700px){.feeding-plan-table tbody{grid-template-columns:1fr}}@media(max-width:850px){.app-shell{display:block}.sidebar{width:100%;padding:12px 14px;border-right:0;border-bottom:1px solid #e8ebf0;display:block}.sidebar .logo{padding:0 4px 12px}.sidebar .logo div{display:block}.sidebar .farm{display:none}.sidebar nav{margin-top:0;display:flex;gap:5px;overflow-x:auto;padding-bottom:2px}.sidebar nav a,.sidebar nav a:not(.active){display:block;white-space:nowrap;margin:0;padding:9px 11px;font-size:12px}.sidebar nav a.active{font-size:12px;text-align:left}.sidebar-foot{display:none}.sidebar-logout{position:absolute;right:14px;top:13px;padding:7px 10px}}.sidebar nav a{font-size:14px;transition:box-shadow .18s ease,background .18s ease,transform .18s ease}.sidebar nav a:hover{background:#f0f2f4;color:#76818e;transform:none;box-shadow:none;font-size:14px;font-weight:400}.sidebar nav a.active{box-shadow:0 5px 14px #6052cc18}.farm{position:relative}.farm-select{width:112px;border:0;background:transparent;color:#424d5a;font-size:11px;font-weight:700;outline:0;cursor:pointer}.sidebar-logout{margin-left:auto;padding:5px 8px;font-size:10px;border-radius:6px}.top-user{color:#424d5a;font-size:12px}.top-logout{padding:6px 10px;font-size:11px;border-radius:6px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;padding:20px;overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;background:#1a233044}.backdrop>.modal{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;margin:auto 0}.grading-stats{display:grid;grid-template-columns:1.4fr repeat(5,1fr);gap:16px;margin-bottom:20px}.grading-stats>div,.grading-stats>button{min-height:116px;border:1px solid #e7eaf0;border-radius:14px;background:#fff;padding:20px;text-align:left;box-shadow:0 8px 22px #1f304508}.grading-stats>div span,.grading-stats>button span{display:block;color:#7f8996;font-size:14px}.grading-stats strong{display:inline-block;margin-top:12px;font-size:30px;color:#20b968}.grading-stats small{margin-left:8px;color:#aab2bc;font-size:13px}.grading-stats button{cursor:pointer;font:inherit}.grade-A strong,.grade-text.grade-A{color:#ef4444}.grade-B strong,.grade-text.grade-B{color:#f59e0b}.grade-C strong,.grade-text.grade-C{color:#3b82f6}.grade-D strong,.grade-text.grade-D{color:#94a3b8}.grade-unrated strong,.grade-text.grade-unrated{color:#cbd5e1}.grading-filters{display:flex;gap:8px}.grading-filters select{border:1px solid #e2e6ed;border-radius:8px;background:#fff;padding:8px;color:#687381}.compact{padding:7px 10px;font-size:11px}.grading-score-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.grading-modal{width:min(620px,calc(100vw - 24px))}@media(max-width:850px){.grading-stats{grid-template-columns:repeat(3,1fr)}.grading-stats>div{grid-column:span 3}.grading-filters{flex-wrap:wrap}.grading-filters select{min-width:150px}}@media(max-width:500px){.grading-stats{grid-template-columns:repeat(2,1fr);gap:9px}.grading-stats>div{grid-column:span 2}.grading-stats>div,.grading-stats>button{padding:13px;min-height:95px}.grading-stats strong{font-size:23px}.grading-score-grid{grid-template-columns:1fr}}.housing-editor{position:relative;z-index:2001;width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto}.logo b{font-size:17px}.advanced-profile{min-height:0;margin-top:24px}.advanced-profile summary{cursor:pointer;padding:18px 22px;color:#8d96a2;font-size:12px}.advanced-profile-body{padding:0 22px 22px;max-width:620px}.advanced-profile-body p{color:#8f99a5;font-size:12px;line-height:1.7}.advanced-profile-body label{display:block;color:#67727e;font-size:11px}.advanced-profile-body select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #e2e6ed;border-radius:8px;background:#fff}.form-section-title{margin:22px 0 8px;padding-top:14px;border-top:1px solid #eef0f3;color:#4c5865;font-size:13px}.panel>form{padding:0 22px 22px}.measurement-summary{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) 1.5fr;gap:12px;margin:10px 0 16px;padding:14px;border:1px solid #edf0f4;border-radius:10px;background:#fafbfe}.measurement-summary>div:not(.measurement-bars) span,.measurement-summary>div:not(.measurement-bars) b,.measurement-summary>div:not(.measurement-bars) small{display:block}.measurement-summary span{color:#9aa3ae;font-size:10px}.measurement-summary b{margin:7px 0 3px;color:#35404c;font-size:18px}.measurement-summary small{color:#8f99a5;font-size:10px}.measurement-bars{display:flex;align-items:end;justify-content:flex-end;gap:7px;min-height:76px;padding:0 8px;border-bottom:1px solid #e7eaf0}.measurement-bars i{display:block;width:13px;border-radius:5px 5px 0 0;background:linear-gradient(#8175d2,#c9c3fb)}.plan-panel{margin:0 0 20px;background:#fbfaff;border:1px solid #e3defc;border-radius:13px;overflow:hidden}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.plan-card{display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid #ebe7ff;border-radius:10px;background:#fff}.plan-card b{color:#4b429b;font-size:13px}.plan-card span,.plan-card small{color:#8f99a5;font-size:11px;line-height:1.5}.plan-card small{margin-top:3px;color:#a39ccf}@media(max-width:650px){.measurement-summary{grid-template-columns:1fr 1fr}.measurement-bars{grid-column:1 / -1;justify-content:center}}@media(max-width:700px){.plan-grid{grid-template-columns:1fr}}.environment-tabs{width:fit-content;margin-bottom:18px}.environment-table{min-height:0;margin-bottom:16px;overflow:hidden}.environment-form{width:100%;margin-top:24px}.panel-empty{margin:0;padding:24px;color:#8f99a5}.table-scroll{width:100%;overflow-x:auto}.personnel-entry{display:grid;gap:18px}.personnel-form,.personnel-list{min-height:0}.personnel-form form{padding:22px}.personnel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.personnel-grid label{display:grid;gap:7px;color:#67727e;font-size:12px}.personnel-grid input,.personnel-grid select,.personnel-pagination select{width:100%;min-height:42px;border:1px solid #e2e6ed;border-radius:8px;padding:9px 11px;background:#fff;color:#394552;font:inherit}.personnel-grid .span-2{grid-column:1 / -1}.personnel-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:16px 22px}.personnel-pagination span{margin-right:auto;color:#8f99a5;font-size:12px}.personnel-pagination select{width:auto}@media(max-width:700px){.environment-tabs{position:sticky;top:0;z-index:80;width:calc(100% + 24px);margin-right:-12px;margin-left:-12px;padding:7px 12px;border-radius:0;box-shadow:0 10px 24px #1f30451f}.environment-tabs button{flex:1}.personnel-grid{grid-template-columns:1fr}.personnel-grid .span-2{grid-column:auto}.personnel-form form{padding:15px}.personnel-form form>.primary{width:100%}.personnel-pagination{flex-wrap:wrap;justify-content:stretch;padding:14px}.personnel-pagination span{width:100%}.personnel-pagination button,.personnel-pagination select{flex:1}}.panel-filter{display:flex;align-items:center;gap:8px;margin:0;color:#8f99a5;font-size:11px;white-space:nowrap}.panel-filter select{border:1px solid #e2e6ed;border-radius:7px;background:#fff;padding:9px 28px 9px 10px;color:#5f6b78;font-size:12px}.housing-tree{padding-bottom:18px}.feed-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 20px;padding-bottom:3px}.feed-tabs button{flex:0 0 auto;border:1px solid #e2e6ed;background:#fff;color:#6e7885;border-radius:9px;padding:11px 18px;cursor:pointer;font-size:12px}.feed-tabs button.active{color:#6052cc;background:#f0efff;border-color:#d9d4ff;font-weight:700}.feed-quick,.feed-form,.feed-formula>.panel,.feed-stock-forms{margin-bottom:20px}.feed-form>.panel-head>span{display:none}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px}.quick-grid button,.recipe-card{text-align:left;border:1px solid #e8ebf0;background:#fbfcfe;border-radius:10px;padding:16px;color:#35404c}.quick-grid button{cursor:pointer}.quick-grid button:hover{border-color:#bbb4f0;background:#f8f7ff}.quick-grid b,.quick-grid span,.recipe-card b,.recipe-card span{display:block}.quick-grid span,.recipe-card span{margin-top:7px;color:#98a1ad;font-size:11px}.feed-form{padding:20px}.feed-form .panel-head{margin:-20px -20px 12px}.feed-formulas{margin-top:20px;padding:20px}.feed-formulas>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;color:#35404c}.feed-formulas>summary span{color:#98a1ad;font-size:12px;font-weight:400}.formula-content{margin-top:18px}.feed-formula>.panel:nth-child(2){display:none}.feed-formulas>.panel-head{margin:-20px -20px 18px}.feed-formulas form{min-width:0}.formula-list{display:grid;gap:10px;margin-top:14px}.recipe-card small{display:block;margin-top:9px;color:#687585;line-height:1.6}.recipe-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.recipe-card .danger{color:#b24f4f}.muted{color:#98a1ad}.fcr-result{margin-top:18px;padding:18px;border-radius:10px;background:#f7f6ff;color:#7469c8}.fcr-result span,.fcr-result strong,.fcr-result small{display:block}.fcr-result strong{font-size:34px;margin:5px 0}@media(max-width:650px){.quick-grid{grid-template-columns:1fr;padding:12px}.feed-tabs button{padding:10px 14px}.feed-formulas{padding:14px}.feed-formulas>.panel-head{margin:-14px -14px 14px}}.barn-node{margin:16px 22px 0;border:1px solid #edf0f4;border-radius:10px;overflow:hidden}.barn-title,.pen-node{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px}.barn-title{background:#f7f8fc;color:#3f4b58}.barn-title span,.pen-node span{color:#9aa3ae;font-size:11px;margin-left:10px}.pen-node{border-top:1px solid #f0f2f5;padding-left:30px}.pen-node>div:last-child{white-space:nowrap}@media(max-width:650px){.barn-title,.pen-node{align-items:flex-start;flex-direction:column}}.backdrop>.modal[role=dialog]{max-height:min(760px,calc(100vh - 40px))!important;overflow-y:auto!important;overscroll-behavior:contain;padding:24px}.backdrop>.modal[role=dialog]>.close{position:sticky;float:right;top:-10px;z-index:5;width:34px;height:34px;border-radius:8px;background:#fff;box-shadow:0 2px 8px #1a23301c}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-right:38px}.detail-header h2{margin-bottom:4px}.detail-card{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#f8f9fc;border:1px solid #edf0f4;border-radius:10px;padding:14px;margin:12px 0 18px}.detail-card div{min-width:0}.detail-card span,.detail-card b{display:block}.detail-card span{color:#9aa3ae;font-size:10px;margin-bottom:5px}.detail-card b{color:#35404c;font-size:12px;overflow-wrap:anywhere}@media(max-width:650px){.detail-card{grid-template-columns:repeat(2,1fr)}}.health-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0}.health-metric{background:#fff;border:1px solid #e4e8f0;border-radius:16px;padding:18px 20px;box-shadow:0 8px 22px #2434540a}.health-metric span,.health-metric small{display:block;color:#7890aa}.health-metric b{display:block;font-size:30px;color:#182d48;margin:8px 0}.health-tabs{margin-bottom:18px}.tab-row{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e7ebf2;padding-bottom:14px}.tab-row button{border:1px solid #dce3ed;background:#fff;color:#52708e;border-radius:10px;padding:10px 16px;cursor:pointer}.tab-row button.active{background:#5d50d7;color:#fff;border-color:#5d50d7}.health-filters{display:flex;align-items:center;gap:10px;padding-top:14px;flex-wrap:wrap}.health-filters input{min-width:150px}.health-modal{max-width:760px;max-height:calc(100vh - 48px);overflow:auto;position:relative}.modal-close{position:sticky;float:right;top:0;right:0;border:0;background:#f0f3f8;color:#53677d;border-radius:50%;font-size:24px;width:34px;height:34px;cursor:pointer;z-index:2}@media(max-width:900px){.health-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.health-filters input{flex:1;min-width:120px}}@media(max-width:560px){.health-overview{grid-template-columns:1fr}.health-modal{width:calc(100vw - 24px)!important;margin:12px!important;padding:18px!important}.health-filters{align-items:stretch}.health-filters button{flex:1}}.health-actionbar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #e4e8f0;border-radius:16px;padding:20px;margin:18px 0}.health-actionbar h2{margin:0 0 6px}.health-actionbar p{margin:0;color:#7890aa}.health-board{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.health-board>div{background:#fff;border:1px solid #e4e8f0;border-radius:16px;padding:18px}.health-board h2{margin:0 0 12px;font-size:18px}.health-board p{border-top:1px solid #edf0f5;padding:12px 0;margin:0}.health-board small{display:block;color:#8a9caf;margin-top:4px}.health-metric.red b{color:#ef5350}.health-metric.blue b{color:#367ff0}.health-metric.orange b{color:#f0a000}.health-metric.green b{color:#20b66b}.health-metric.purple b{color:#8057e8}.health-records{margin-top:18px}@media(max-width:700px){.health-board{grid-template-columns:1fr}.health-actionbar{align-items:flex-start;flex-direction:column}.health-actionbar button{width:100%}}.health-tabs{min-height:0!important;margin:0 0 12px;padding:0;box-shadow:none}.health-tabs .tab-row{padding:0;border-bottom:0;gap:4px}.health-tabs .tab-row button{border:0;border-radius:0;padding:13px 18px;background:transparent;color:#4f5c6c;font-size:13px}.health-tabs .tab-row button.active{background:transparent;color:#17ad67;border-bottom:2px solid #17ad67}.health-overview{margin:0 0 14px;gap:12px}.health-metric{border-radius:14px;padding:14px 18px}.health-metric b{margin:5px 0;font-size:28px}.health-board{margin:14px 0;gap:12px}.health-records{margin-top:14px}.heading{margin-bottom:18px}.breeding-tabs{display:flex;gap:4px;overflow-x:auto;background:#fff;border:1px solid #e7eaf0;border-radius:13px;padding:0 10px;margin-bottom:14px}.breeding-tabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;padding:14px 16px;color:#617184;cursor:pointer}.breeding-tabs button.active{color:#17ad67;border-bottom-color:#17ad67;font-weight:700}.breeding-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px}.breeding-overview>div{background:#fff;border:1px solid #e7eaf0;border-radius:13px;padding:16px 18px}.breeding-overview span,.breeding-overview b{display:block}.breeding-overview span{color:#7f8fa3;font-size:12px}.breeding-overview b{font-size:27px;color:#243b55;margin-top:8px}.breeding-overview.secondary b{color:#5e52c8}.breeding-query{margin:0 0 14px}.breeding-list{min-height:0}.breeding-modal{width:min(720px,calc(100vw - 24px))!important;max-height:calc(100vh - 40px);overflow-y:auto}.breeding-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.offspring-editor{padding:14px;border:1px solid #e8ebf2;border-radius:10px;background:#fafbfe}.offspring-editor>b{display:block;margin-bottom:10px}.three{display:grid;grid-template-columns:1fr .7fr 1fr;gap:8px;margin-bottom:8px}.three input,.three select{width:100%;border:1px solid #e2e6ed;border-radius:7px;padding:10px}.animal-checks{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-height:180px;overflow:auto;padding:10px;border:1px solid #e5e9f0;border-radius:8px}.animal-checks span{display:flex;gap:6px;align-items:center}@media(max-width:900px){.breeding-overview,.animal-checks{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.breeding-overview,.breeding-counts,.three{grid-template-columns:1fr 1fr}.three input:last-child{grid-column:1/-1}.breeding-query{align-items:stretch}}.breeding-modal select[multiple]{min-height:110px;padding:6px}.breeding-modal select[multiple] option{padding:7px 8px}.breeding-modal .form-hint{display:block;margin-top:6px;color:#8d9aac;font-size:11px}.offspring-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.offspring-title b,.offspring-title small{display:block}.offspring-title small{color:#8794a4;margin-top:4px}.offspring-row{display:grid;grid-template-columns:1.15fr 1.15fr .7fr .8fr auto;gap:8px;align-items:center;margin-bottom:8px}.offspring-row input,.offspring-row select{margin:0!important}.offspring-row .link{white-space:nowrap}@media(max-width:760px){.offspring-title{align-items:flex-start;flex-direction:column}.offspring-title .outline{width:100%}.offspring-row{grid-template-columns:1fr 1fr}.offspring-row .link{grid-column:1/-1;justify-self:end}}.animal-detail-page{min-height:0;width:100%;max-width:100%;box-sizing:border-box;background:#f3f5f9;color:#17283c;overflow:hidden}.animal-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px max(28px,calc((100vw - 1280px)/2 + 28px));background:linear-gradient(135deg,#fff,#f3f1ff);border-bottom:1px solid #e2e6ef}.animal-page-header h1{margin:4px 0;font-size:34px}.animal-page-header p{margin:5px 0 0;color:#718096}.animal-page-header code{color:#6557c9;overflow-wrap:anywhere}.animal-page-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.animal-page-summary span{padding:7px 12px;border:1px solid #dcd8f6;border-radius:999px;background:#fff;color:#5b50a8;font-size:12px}.animal-page-tabs{position:sticky;top:0;z-index:20;display:flex;gap:4px;overflow-x:auto;padding:0 max(28px,calc((100vw - 1280px)/2 + 28px));border-bottom:1px solid #e2e6ef;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.animal-page-tabs button{flex:0 0 auto;padding:15px 20px;border:0;border-bottom:3px solid transparent;background:transparent;color:#657386;cursor:pointer}.animal-page-tabs button.active{color:#5f50d0;border-bottom-color:#5f50d0;font-weight:700}.animal-page-content{width:min(1280px,100%);box-sizing:border-box;margin:22px auto;padding:0}.animal-section{padding:22px;border:1px solid #e2e6ef;border-radius:16px;background:#fff;box-shadow:0 8px 28px #28344c0d}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.section-title h2{margin:3px 0}.section-title p{margin:4px 0;color:#8190a2}.animal-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.animal-info-grid>div{min-width:0;padding:15px;border:1px solid #e8ebf1;border-radius:11px;background:#fafbfc}.animal-info-grid>div.wide{grid-column:span 2}.animal-info-grid span,.animal-info-grid b{display:block}.animal-info-grid span{margin-bottom:7px;color:#8a96a5;font-size:11px}.animal-info-grid b{overflow-wrap:anywhere;font-size:13px}.animal-attachments{margin-top:20px;padding-top:18px;border-top:1px solid #edf0f5}.animal-attachments h3{margin:3px 0;font-size:17px}.animal-attachments>p{margin:0;color:#8a96a5;font-size:13px}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.attachment-grid article{min-width:0;overflow:hidden;border:1px solid #e5e9f0;border-radius:10px;background:#fafbfc}.attachment-grid img,.attachment-file{display:block;width:100%;height:118px;object-fit:cover;background:#eef1f6}.attachment-file{display:grid;place-items:center;color:#718094;font-size:13px}.attachment-grid a,.attachment-grid small{display:block;padding:7px 9px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-grid a{color:#5146b8;font-size:12px;text-decoration:none}.attachment-grid small{padding-top:3px;padding-bottom:8px;color:#8a96a5;font-size:10px}.pedigree-visual{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;overflow-x:auto;padding-bottom:8px}.pedigree-level{display:flex;flex-direction:column;justify-content:space-around;gap:8px;min-width:160px}.pedigree-level h3{position:sticky;top:0;margin:0 0 4px;color:#8290a2;font-size:11px;text-align:center}.pedigree-card{display:block;padding:10px 12px;border:1px solid #dedaf8;border-radius:9px;background:#f8f7ff;color:#28374b;text-decoration:none;transition:border-color .15s,background .15s}.pedigree-card:hover{border-color:#7669d8;background:#efedff}.pedigree-card.female{border-left:4px solid #dc63a3}.pedigree-card.male{border-left:4px solid #5b83df}.pedigree-card small,.pedigree-card b,.pedigree-card span{display:block}.pedigree-card small,.pedigree-card span{color:#8390a2;font-size:10px}.pedigree-card b{margin:3px 0}.pedigree-card.empty{border-style:dashed;background:#fafbfc;color:#a0a8b3}.growth-stage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.growth-stage-grid article{padding:16px;border:1px solid #e5e9f0;border-radius:12px;background:linear-gradient(145deg,#fff,#f7f8fc)}.growth-stage-grid h3{margin:0 0 9px;color:#6458bc}.growth-stage-grid strong{font-size:22px}.growth-stage-grid p{margin:7px 0;color:#718094;font-size:12px}.growth-stage-grid small{color:#9aa4b1}.animal-table{overflow-x:auto}.animal-table table{width:100%}.full-timeline{position:relative;padding:4px 0}.full-timeline:before{content:"";position:absolute;top:8px;bottom:8px;left:126px;width:1px;background:#dfe4ed}.full-timeline article{position:relative;display:grid;grid-template-columns:110px 16px 1fr;gap:14px;align-items:start;padding:10px 0}.full-timeline time{color:#77869a;font-size:12px;text-align:right}.full-timeline i{z-index:1;width:11px;height:11px;margin-top:3px;border:3px solid #fff;border-radius:50%;background:#6758ce;box-shadow:0 0 0 1px #b9b2ed}.full-timeline small{color:#7667ce}.full-timeline h3{margin:3px 0;font-size:14px}.full-timeline p{margin:4px 0;color:#758397}.animal-page-state{width:min(620px,calc(100vw - 32px));margin:18vh auto;padding:28px;border:1px solid #e2e6ef;border-radius:16px;background:#fff;text-align:center}@media(max-width:800px){.animal-page-header{align-items:flex-start;flex-direction:column;padding:18px}.animal-page-summary{justify-content:flex-start}.animal-page-tabs{padding:0 10px}.animal-page-tabs button{padding:13px 14px}.animal-page-content{width:100%;margin:12px auto;padding:0 10px}.animal-section{padding:14px;border-radius:12px}.attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-grid img,.attachment-file{height:92px}.animal-info-grid,.growth-stage-grid{grid-template-columns:1fr 1fr}.animal-info-grid>div.wide{grid-column:1 / -1}.full-timeline:before{left:7px}.full-timeline article{grid-template-columns:16px 1fr}.full-timeline time{grid-column:2;text-align:left}.full-timeline i{grid-row:1 / span 2}.full-timeline article>div{grid-column:2}}@media(max-width:480px){.animal-info-grid,.growth-stage-grid{grid-template-columns:1fr}}.offspring-manager{margin:16px 0;padding:14px;border:1px solid #dfe4ee;border-radius:12px;background:#f8fafc}.offspring-existing{padding-bottom:8px;border-bottom:1px solid #e5e9f0}.offspring-new{padding:10px;border:1px dashed #bfc8d8;border-radius:9px;background:#fff}.offspring-actions{display:flex;align-items:center;gap:6px}.offspring-add-save{margin-top:4px}.success-note{margin:8px 0;color:#138a53;font-size:13px}@media(max-width:760px){.offspring-actions{grid-column:1/-1;justify-content:flex-end}.offspring-row .offspring-actions .link{grid-column:auto}.offspring-add-save{width:100%}}.modal-error{position:sticky;top:0;z-index:4;display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:11px 13px;border:1px solid #f3b8b8;border-radius:9px;background:#fff1f1;color:#a52222;box-shadow:0 4px 12px #9b1f1f14}.modal-error b{white-space:nowrap}.modal-error span{line-height:1.45}.modal-success{margin:0 0 14px;padding:11px 13px;border:1px solid #a9dfc3;border-radius:9px;background:#effbf4;color:#147a49}.locked-note{padding:9px 11px;border-radius:8px;background:#eef1f5;color:#687585}.transfer-card{margin-top:14px;padding:14px;border:1px solid #cfc8ff;border-radius:11px;background:#fff}.transfer-preview{padding:10px;border-radius:8px;background:#eff9f3;color:#236743}.locked-label{display:inline-block;margin-left:8px;color:#8a95a3;font-size:13px}.pedigree-head{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.pedigree-head h3{margin:0}.pedigree-correction{margin-top:14px;padding:16px;border:1px solid #dedaf8;border-radius:12px;background:#faf9ff}.pedigree-correction h4{margin:0 0 6px}.pedigree-correction>p{color:#758397;font-size:12px}.pedigree-correction select,.pedigree-correction textarea{display:block;width:100%;margin-top:6px;border:1px solid #dfe4ec;border-radius:8px;padding:10px;background:#fff}.correction-impact{display:flex;flex-direction:column;gap:5px;padding:12px;margin:10px 0;background:#f0f8f4;border:1px solid #d8eee2;border-radius:9px}.correction-impact span{color:#607468;font-size:11px}.cn-date{position:relative;width:100%}.cn-date-trigger{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid #dce2eb;border-radius:9px;background:#fff;color:#17283c;font:inherit;text-align:left;cursor:pointer}.cn-date-trigger:hover,.cn-date-trigger:focus{border-color:#7367db;box-shadow:0 0 0 3px #6452d21a;outline:0}.cn-date-trigger .placeholder{color:#9aa5b3}.cn-time-only .cn-time-trigger{min-height:42px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:5px 9px;border:1px solid #dfe4ec;border-radius:9px;background:#fff}.cn-time-only .cn-time-trigger select{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#253247;text-align:center}.cn-date-popover{position:absolute;z-index:80;top:calc(100% + 6px);left:0;width:min(308px,calc(100vw - 34px));padding:8px;border:1px solid #dfe4ec;border-radius:10px;background:#fff;box-shadow:0 14px 40px #202d412e}.cn-date-popover.align-right{right:0;left:auto}.sidebar nav a{display:flex;align-items:center;justify-content:space-between}.menu-badge{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#e53935;color:#fff;font-size:11px;line-height:1}.breeding-calendar{margin-top:14px;overflow:hidden}.calendar-head,.calendar-nav,.calendar-legend{display:flex;align-items:center}.calendar-nav{gap:10px}.calendar-nav button{width:34px;padding:6px}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week{padding:8px 16px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;color:#7b8795;text-align:center;font-size:12px}.calendar-grid{padding:0 16px 12px}.calendar-day{min-height:104px;padding:7px;border-right:1px solid #edf0f4;border-bottom:1px solid #edf0f4;background:#fff}.calendar-day:nth-child(7n+1){border-left:1px solid #edf0f4}.calendar-day.empty{background:#fafbfc}.calendar-number{display:block;margin-bottom:5px;color:#637083;font-size:12px}.calendar-event{display:block;width:100%;margin:3px 0;padding:4px 6px;overflow:hidden;border:0;border-radius:5px;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font-size:10px}.calendar-event.expected_estrus,.calendar-legend i.expected_estrus{background:#fff0f6;color:#d63384}.calendar-event.pregnancy_check,.calendar-legend i.pregnancy_check{background:#eef4ff;color:#2f6edb}.calendar-event.expected_birth,.calendar-legend i.expected_birth{background:#fff6e6;color:#c77800}.calendar-event.expected_weaning,.calendar-legend i.expected_weaning{background:#edf9f2;color:#168651}.calendar-legend{gap:16px;flex-wrap:wrap;padding:0 18px 14px;color:#748194;font-size:11px}.calendar-legend span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:9px;height:9px;border-radius:50%}.calendar-detail,.reminder-detail{width:min(560px,calc(100vw - 24px))}.reminder-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 16px}.reminder-metric{padding:18px 20px;border:1px solid #e4e8f0;border-radius:14px;background:#fff}.reminder-metric span,.reminder-metric b{display:block}.reminder-metric span{color:#7d8998}.reminder-metric b{margin-top:10px;font-size:30px}.reminder-metric.blue b{color:#3478e5}.reminder-metric.red b{color:#df3038}.reminder-metric.green b{color:#299108}.reminder-metric.orange b{color:#e59a00}.reminder-list{overflow-x:auto}.reminder-list .panel-head select{min-width:150px}.reminder-type{display:inline-block;padding:5px 8px;border-radius:6px;background:#f1f3f6;white-space:nowrap;font-size:11px}.reminder-type.breeding{background:#fff0f6;color:#c22c78}.reminder-type.health{background:#edf9f2;color:#168651}.reminder-type.feed{background:#fff6e6;color:#b66c00}.reminder-type.ai{background:#fff0f0;color:#cf3636}.reminder-list .overdue{color:#d62f38;font-weight:700}.reminder-sort{border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.reminder-sort span{color:#6052cc;font-weight:800}.reminder-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.reminder-actions .confirm{color:#169b62}.reminder-settings-panel{min-height:0;margin-bottom:24px}.reminder-setting-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 22px 24px}.reminder-setting-group{border:1px solid #edf0f4;border-radius:11px;padding:14px}.reminder-setting-group h3{margin:0 0 10px;color:#4c5664;font-size:13px}.reminder-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #f1f3f6;cursor:pointer}.reminder-setting-row span{min-width:0}.reminder-setting-row b,.reminder-setting-row small{display:block}.reminder-setting-row b{color:#394552;font-size:12px}.reminder-setting-row small{margin-top:3px;color:#9aa4b0;font-size:10px;line-height:1.45}.reminder-setting-row input{flex:0 0 auto;width:18px;height:18px;accent-color:#6052cc}@media(max-width:900px){.reminder-setting-groups{grid-template-columns:1fr}.reminder-settings-panel .panel-head{align-items:flex-start;gap:12px;flex-direction:column}.reminder-settings-panel .panel-head .primary{width:100%}}.empty-state{padding:28px;text-align:center;color:#929dad}.reminder-create{margin-top:16px;padding:0 20px 20px}@media(max-width:760px){.reminder-stats{grid-template-columns:1fr 1fr;gap:8px}.reminder-metric{padding:12px 14px}.calendar-day{min-height:58px;padding:4px}.calendar-event{padding:3px;font-size:0}.calendar-event:after{content:"";display:block;width:7px;height:7px;margin:auto;border-radius:50%;background:currentColor}.calendar-grid,.calendar-week{padding-left:6px;padding-right:6px}.calendar-head{align-items:flex-start;flex-direction:column}}.cn-date-nav{display:grid;grid-template-columns:30px 30px 1fr 30px 30px;align-items:center;gap:3px}.cn-date-nav button,.cn-date-footer button{border:0;background:transparent;color:#5e6875;cursor:pointer;font-size:16px;padding:5px}.cn-date-nav b{text-align:center;font-size:13px}.cn-date-week,.cn-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px}.cn-date-week{padding:7px 0 3px;color:#667282;text-align:center;font-size:11px}.cn-date-grid button{height:32px;border:0;border-radius:6px;background:transparent;cursor:pointer;font-size:12px;color:#243142}.cn-date-grid button:hover{background:#f0eefc}.cn-date-grid .outside{color:#bdc3cc}.cn-date-grid .today{box-shadow:inset 0 0 0 1px #6b5bd2}.cn-date-grid .selected{background:#6252cf;color:#fff;font-weight:700}.cn-time{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px;padding-top:7px;border-top:1px solid #edf0f4}.cn-time label{display:flex;align-items:center;gap:7px;color:#667282}.cn-time select{margin:0;min-height:34px;padding:5px 8px}.cn-date-footer{display:flex;justify-content:space-between;align-items:center;margin-top:5px;border-top:1px solid #edf0f4;padding-top:4px}.cn-date-footer button{font-size:12px;color:#6252cf}.cn-date-footer .confirm{padding:6px 12px;border-radius:7px;background:#6252cf;color:#fff}@media(max-width:560px){.cn-date-popover{position:fixed;left:20px;right:20px;top:auto;bottom:12px;width:auto;border-radius:14px;padding:12px;z-index:120}.cn-date-popover.align-right{right:20px;left:20px}.cn-date-grid button{min-height:36px;aspect-ratio:auto}.cn-date-popover:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#141e2d59;z-index:-1}}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:18px 20px;border-top:1px solid #edf0f6;color:#637087}.pagination-pages{display:flex;align-items:center;gap:8px}.pagination-pages button{width:36px;height:36px;padding:0;border:1px solid #dfe4ee;border-radius:10px;background:#fff;color:#5546d9;font-size:22px}.pagination-pages button:disabled{color:#bdc4d1;background:#f7f8fb}.pagination-pages b{min-width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#6653dc;color:#fff}.pagination-size{display:flex;align-items:center;gap:8px;margin:0}.pagination-size select{width:auto;min-width:92px;height:38px;padding:0 30px 0 12px}@media(max-width:640px){.pagination{justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 10px}.pagination-total{width:100%;text-align:right}}.feed-workspace{--feed-accent: #6252cf;--feed-border: #e5e8f0;--feed-muted: #7d8898;width:100%;min-width:0}.feed-workspace .feed-heading{padding:2px 2px 0}.feed-workspace .feed-message{margin:0 0 16px;padding:12px 15px;border:1px solid #f0caca;border-radius:10px;background:#fff6f6}.feed-workspace .feed-message.success{color:#24775b;border-color:#c8eadc;background:#f1fbf7}.feed-workspace .feed-tabs{gap:6px;padding:5px;border:1px solid var(--feed-border);border-radius:13px;background:#fff;box-shadow:0 8px 24px #1f30450a}.feed-workspace .feed-tabs button{flex:1 0 auto;min-height:42px;border:0;border-radius:9px;padding:10px 17px;font-size:13px;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.feed-workspace .feed-tabs button.active{color:#fff;background:linear-gradient(135deg,#6655d6,#5747bd);box-shadow:0 7px 16px #6052cc3b}.feed-workspace .panel{min-width:0;min-height:0;margin-bottom:18px;border-color:var(--feed-border);border-radius:14px;box-shadow:0 8px 26px #1f30450b;overflow-x:auto}.feed-workspace .panel-head{min-width:0;padding:20px 22px;align-items:center;gap:18px}.feed-workspace .panel-head>div{min-width:0}.feed-workspace .panel-head h2{color:#273347;font-size:17px;line-height:1.35}.feed-workspace .panel-head h3{margin:0 0 5px;color:#334056;font-size:14px}.feed-workspace .panel-head p{max-width:760px;color:var(--feed-muted);font-size:12px;line-height:1.65}.feed-workspace .feed-form{padding:22px}.feed-workspace .feed-form>label,.feed-workspace .feed-form .two>label,.feed-workspace .panel-head>label{display:flex;min-width:0;flex-direction:column;gap:7px;margin:13px 0;color:#536075;font-size:12px;font-weight:600}.feed-workspace input,.feed-workspace select,.feed-workspace textarea{width:100%;max-width:100%;min-height:43px;border:1px solid #dce1ea;border-radius:9px;background:#fff;color:#273347;padding:9px 11px;font:inherit;font-size:13px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.feed-workspace textarea{min-height:88px;resize:vertical}.feed-workspace input:focus,.feed-workspace select:focus,.feed-workspace textarea:focus{border-color:#8b7ce1;box-shadow:0 0 0 3px #6252cf1c}.feed-workspace input[readonly],.feed-workspace input:disabled,.feed-workspace select:disabled{color:#667286;background:#f4f6fa}.feed-workspace .two{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.feed-workspace .feed-form>.panel{margin:18px 0;border-style:dashed;background:#fafbfe;box-shadow:none}.feed-workspace .feed-form>.panel .panel-head{margin:0;padding:17px 18px}.feed-workspace .feed-form>.panel>.two{margin:0 18px 14px;padding:14px;border:1px solid #e7eaf2;border-radius:11px;background:#fff}.feed-workspace .primary,.feed-workspace .outline{min-height:41px;white-space:nowrap}.feed-workspace .feed-form>.primary{display:block;min-width:150px;margin:20px 0 0 auto}.feed-workspace table{min-width:680px}.feed-workspace th{padding:13px 17px;background:#fafbfc;color:#758095;font-size:11px;white-space:nowrap}.feed-workspace td{padding:14px 17px;color:#4e5b70;line-height:1.55;vertical-align:top}.feed-workspace tbody tr:hover{background:#fbfbff}.feed-workspace details.panel{padding:0;overflow:hidden}.feed-workspace details.panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;cursor:pointer;color:#344157;list-style-position:inside}.feed-workspace details.panel>summary span{color:var(--feed-muted);font-size:12px;font-weight:400}.feed-workspace details.panel[open]>summary{border-bottom:1px solid var(--feed-border)}.feed-workspace details.panel>.panel,.feed-workspace details.panel>form.panel{margin:16px}.feed-workspace .fcr-result{margin:18px 22px 22px}.feed-workspace .feed-formula>.panel>form{padding:4px 22px 22px}.feed-workspace .stats>div{border-color:var(--feed-border);border-radius:14px}@media(max-width:760px){.feed-workspace .feed-heading{margin-bottom:18px}.feed-workspace .feed-heading .outline{align-self:stretch}.feed-workspace .feed-tabs{position:sticky;top:60px;z-index:12;margin-right:-12px;margin-left:-12px;padding:7px 12px;border-right:0;border-left:0;border-radius:0;scroll-snap-type:x proximity}.feed-workspace .feed-tabs button{flex:0 0 auto;min-height:40px;padding:9px 14px;scroll-snap-align:start}.feed-workspace .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-workspace .panel-head{align-items:flex-start;flex-direction:column;padding:17px 16px}.feed-workspace .panel-head>.outline,.feed-workspace .panel-head>label,.feed-workspace .panel-head>select{width:100%}.feed-workspace .feed-form{padding:16px}.feed-workspace .feed-form .panel-head{margin:-16px -16px 12px}.feed-workspace .two{grid-template-columns:1fr;gap:0}.feed-workspace .feed-form>.panel>.two{margin:0 10px 12px;padding:12px}.feed-workspace .feed-form>.panel>.two .danger{justify-self:start;padding:10px 0}.feed-workspace .feed-form>.primary{width:100%;margin-top:17px}.feed-workspace table{min-width:650px}.feed-workspace th,.feed-workspace td{padding:12px 14px}.feed-workspace details.panel>summary{align-items:flex-start;flex-direction:column;padding:16px}.feed-workspace details.panel>.panel,.feed-workspace details.panel>form.panel{margin:10px}}@media(max-width:420px){.feed-workspace .stats{grid-template-columns:1fr 1fr;gap:8px}.feed-workspace .stats>div{padding:13px 12px}.feed-workspace .stats strong{font-size:20px}.feed-workspace .panel{border-radius:12px}}.feed-workspace .feed-tabs{display:block;overflow:visible}.feed-workspace .feed-tab-row{display:flex;gap:6px;min-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.feed-workspace .feed-tab-row::-webkit-scrollbar,.health-workspace .health-tabs .tab-row::-webkit-scrollbar{display:none}.health-workspace .health-tabs{overflow:visible}.health-workspace .health-tabs .tab-row{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}@media(max-width:700px){.feed-workspace .feed-tabs,.health-workspace .health-tabs{position:sticky;top:0;z-index:80;overflow:visible;box-shadow:0 10px 24px #1f30451f}.feed-workspace .feed-tab-row,.health-workspace .health-tabs .tab-row{width:100%;max-width:100vw;overflow-x:auto;overscroll-behavior-x:contain}}.health-workspace{--health-accent: #17a96b;--health-border: #e4e9ef;width:100%;min-width:0}.health-workspace .panel{min-width:0;min-height:0;border-color:var(--health-border);border-radius:14px;box-shadow:0 8px 25px #1f30450b}.health-workspace .health-heading{padding:2px 2px 0}.health-workspace>.error,.health-workspace>[role=status]{margin:0 0 15px;padding:12px 15px;border-radius:10px}.health-workspace>[role=status]{color:#24775b;border:1px solid #c8eadc;background:#f1fbf7}.health-workspace .health-tabs{padding:5px;border:1px solid var(--health-border);background:#fff;box-shadow:0 8px 24px #1f30450a;overflow-x:auto}.health-workspace .health-tabs .tab-row{flex-wrap:nowrap;gap:5px;width:max-content;min-width:100%}.health-workspace .health-tabs .tab-row button{flex:1 0 auto;min-height:42px;border-radius:9px;padding:10px 16px;white-space:nowrap;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.health-workspace .health-tabs .tab-row button.active{color:#fff;border-bottom:0;background:linear-gradient(135deg,#20b875,#13945c);box-shadow:0 7px 16px #17a96b38}.health-workspace .health-overview{grid-template-columns:repeat(5,minmax(125px,1fr));gap:12px;margin-top:16px}.health-workspace .health-metric{min-width:0;border-color:var(--health-border);box-shadow:0 7px 20px #1f30450a}.health-workspace .health-board>div,.health-workspace .health-actionbar{border-color:var(--health-border);box-shadow:0 7px 20px #1f304509}.health-workspace .health-actionbar h2,.health-workspace .health-board h2{color:#29364a}.health-workspace .health-filters{margin:0 0 15px;padding:14px;border:1px solid var(--health-border);border-radius:12px;background:#fff}.health-workspace input,.health-workspace select,.health-workspace textarea{width:100%;max-width:100%;min-height:42px;border:1px solid #dce2e9;border-radius:9px;background:#fff;color:#29364a;padding:9px 11px;font:inherit;font-size:13px;outline:none}.health-workspace input:focus,.health-workspace select:focus,.health-workspace textarea:focus{border-color:#54bd8b;box-shadow:0 0 0 3px #17a96b1a}.health-workspace textarea{min-height:82px;resize:vertical}.health-workspace form label{display:flex;min-width:0;flex-direction:column;gap:7px;margin:12px 0;color:#536275;font-size:12px;font-weight:600}.health-workspace form .two{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.health-workspace .health-records,.health-workspace .bulk-health{overflow-x:auto}.health-workspace .health-records table{min-width:720px}.health-workspace th{padding:13px 17px;background:#fafcfc;color:#748295;font-size:11px;white-space:nowrap}.health-workspace td{padding:14px 17px;line-height:1.55;vertical-align:top}.health-workspace tbody tr:hover{background:#f9fdfb}.health-workspace .health-plans{margin-top:16px;overflow:hidden}.health-workspace .health-plan-actions{display:flex;align-items:center;gap:8px}.health-workspace .health-plans .plan-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.health-workspace .health-plans .plan-card{min-width:0;min-height:125px;justify-content:center;border-color:#dcefe6;background:linear-gradient(145deg,#fff,#f7fcf9)}.health-workspace .health-plans .plan-card b{color:#17734e;font-size:14px}.health-workspace .health-plans .plan-card span{color:#5f7f70}.health-workspace .health-plans .plan-card small{color:#84968d}.health-workspace .bulk-health{margin:14px 0}.health-workspace .bulk-health>form{padding:18px 22px 22px}.health-workspace .bulk-selection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;padding:10px 12px;border-radius:9px;background:#f5faf7;color:#627368}.health-workspace .bulk-selection-head label{flex-direction:row;align-items:center;margin:0}.health-workspace .bulk-selection-head input,.health-workspace .bulk-animal-list input{width:17px;min-height:17px;accent-color:var(--health-accent)}.health-workspace .bulk-animal-list{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;max-height:300px;overflow-y:auto;padding:4px 2px 10px}.health-workspace .bulk-animal-list label{display:grid;grid-template-columns:18px 1fr;grid-template-rows:auto auto;align-items:center;gap:2px 8px;margin:0;padding:10px;border:1px solid #e2e8e5;border-radius:9px;background:#fff;cursor:pointer}.health-workspace .bulk-animal-list label:has(input:checked){border-color:#65c796;background:#f0fbf5}.health-workspace .bulk-animal-list input{grid-row:1 / 3}.health-workspace .bulk-animal-list b{color:#354357;font-size:12px}.health-workspace .bulk-animal-list small{color:#89968f;font-size:10px}.health-workspace .bulk-health form>.primary,.health-workspace .health-modal>.primary,.health-workspace .health-plan-modal>.primary{display:block;min-width:160px;margin:20px 0 0 auto}@media(max-width:900px){.health-workspace .health-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.health-workspace .health-plans .plan-list{grid-template-columns:repeat(2,minmax(0,1fr))}.health-workspace .bulk-animal-list{grid-template-columns:repeat(3,minmax(110px,1fr))}}@media(max-width:700px){.health-workspace .health-heading .primary{width:100%}.health-workspace .health-tabs{position:sticky;top:60px;z-index:12;margin-right:-12px;margin-left:-12px;padding:7px 12px;border-right:0;border-left:0;border-radius:0;scroll-snap-type:x proximity}.health-workspace .health-tabs .tab-row button{min-height:40px;padding:9px 14px;scroll-snap-align:start}.health-workspace .health-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.health-workspace .health-metric{padding:13px}.health-workspace .health-metric b{font-size:23px}.health-workspace .health-board{grid-template-columns:1fr}.health-workspace .health-actionbar,.health-workspace .panel-head{align-items:flex-start;flex-direction:column;gap:12px}.health-workspace .health-actionbar button,.health-workspace .panel-head>.outline{width:100%}.health-workspace .health-filters{display:grid;grid-template-columns:1fr 1fr;gap:9px}.health-workspace .health-filters input:first-child,.health-workspace .health-filters span{grid-column:1 / -1}.health-workspace .health-filters span{display:none}.health-workspace form .two{grid-template-columns:1fr}.health-workspace .health-plan-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.health-workspace .health-plan-actions button:last-child{grid-column:1 / -1}.health-workspace .health-plans .plan-list{grid-template-columns:1fr;padding:12px}.health-workspace .health-plans .plan-card{min-height:0}.health-workspace .bulk-health>form{padding:14px}.health-workspace .bulk-animal-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}.health-workspace .bulk-health form>.primary,.health-workspace .health-modal>.primary,.health-workspace .health-plan-modal>.primary{width:100%}}@media(max-width:420px){.health-workspace .health-filters{grid-template-columns:1fr}.health-workspace .health-filters input,.health-workspace .health-filters button{grid-column:1;width:100%}.health-workspace .bulk-animal-list{grid-template-columns:1fr}}@media(max-width:700px){.feed-workspace .feed-tabs,.health-workspace .health-tabs{position:sticky;top:0;z-index:80;overflow:visible;box-shadow:0 10px 24px #1f30451f}.health-workspace .health-tabs .tab-row,.feed-workspace .feed-tab-row{width:100%;max-width:100vw;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}}@media(min-width:851px){.sidebar{width:200px;padding-right:10px;padding-left:10px}.topbar{padding-right:28px;padding-left:28px}.content{padding-right:28px;padding-left:28px;max-width:100%}}.sidebar nav a{justify-content:flex-start}.sidebar nav a>span{display:inline-flex;align-items:center;gap:7px;transform:translate(4px)}.sidebar nav a>span .menu-badge{margin-left:2px}.settings-tabs{display:flex;gap:8px;margin:-8px 0 20px;padding:6px;background:#fff;border:1px solid #e7eaf0;border-radius:14px;width:max-content;max-width:100%;overflow-x:auto}.settings-tabs button{white-space:nowrap;border:0;background:transparent;color:#6d7785;border-radius:9px;padding:11px 18px;font:inherit;cursor:pointer}.settings-tabs button.active{background:#6052cc;color:#fff;box-shadow:0 7px 16px #dcd8fb}.settings-section{display:grid;gap:18px}.settings-users-panel{min-height:0}.table-scroll{overflow-x:auto}.row-actions{display:flex;gap:6px;white-space:nowrap}.role-select{min-width:112px;border:1px solid #dde2ea;border-radius:8px;padding:7px 9px;background:#fff;color:#46515e}.account-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:11px;background:#e8f7ef;color:#25865f}.account-status.disabled{background:#f0f1f4;color:#818996}.settings-create-user,.settings-compact-form,.species-settings-form{min-height:0}.settings-form-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px;padding:22px}.settings-form-grid label,.settings-form-body label,.species-settings-form label{display:block;color:#67727e;font-size:12px}.settings-form-grid input,.settings-form-grid select,.settings-form-body input,.settings-form-body select,.species-settings-form input,.species-settings-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #dfe4eb;border-radius:9px;padding:11px;background:#fff;font:inherit}.settings-form-actions{display:flex;justify-content:flex-end;padding:0 22px 22px}.role-cards,.security-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:22px}.role-cards article,.security-cards article{border:1px solid #e5e8ee;border-radius:13px;padding:18px;background:#fafbfc}.role-cards article.current{border-color:#8175e3;background:#f7f5ff}.role-cards article>div{display:flex;justify-content:space-between;gap:10px}.role-cards article span{font-size:10px;color:#6052cc;background:#ebe8ff;border-radius:99px;padding:4px 8px}.role-cards p,.security-cards p{color:#8b95a2;font-size:11px;line-height:1.7}.role-cards ul{margin:12px 0 0;padding-left:18px;color:#56616e;font-size:11px;line-height:1.8}.security-indicator{float:right;border-radius:99px;padding:4px 8px;font-size:10px;background:#e7f7ef;color:#25865f}.security-indicator.warning{background:#fff1dc;color:#aa6b06}.security-warning{display:flex;gap:14px;margin:0 22px 22px;padding:15px;border-radius:10px;background:#fff8e9;color:#8f6519;font-size:12px}.settings-catalog-grid{align-items:start}.settings-compact-form{margin-bottom:16px}.settings-form-body{padding:20px}.settings-form-body label{margin-bottom:14px}.species-settings-form{width:100%;padding:24px}.species-settings-form .two{margin-bottom:12px}.settings-security,.settings-permissions{min-height:0}@media(max-width:900px){.settings-form-grid,.role-cards,.security-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.settings-heading{margin-bottom:20px}.settings-tabs{width:100%}.settings-tabs button{flex:1;padding:10px 13px}.settings-form-grid,.role-cards,.security-cards,.settings-catalog-grid{grid-template-columns:1fr}.settings-form-grid,.role-cards,.security-cards{padding:14px}.settings-form-actions{padding:0 14px 16px}.settings-form-actions .primary{width:100%}.settings-users-panel table{min-width:690px}.security-warning{margin:0 14px 14px;flex-direction:column;gap:5px}.species-settings-form{padding:18px}}.audit-workspace{display:grid;gap:16px}.audit-intro{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-radius:14px;background:linear-gradient(135deg,#f7f5ff,#fff);border:1px solid #e3dfff}.audit-intro h2{margin:0 0 6px;font-size:18px}.audit-intro p{margin:0;color:#7e8998;font-size:12px}.audit-intro>span{white-space:nowrap;color:#5546c8;background:#ece9ff;border-radius:999px;padding:7px 12px;font-size:11px}.audit-list-panel{min-height:0}.audit-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(150px,1fr) minmax(145px,.8fr) minmax(145px,.8fr) auto;gap:12px;align-items:end;padding:20px 22px;border-bottom:1px solid #edf0f5}.audit-filters label{margin:0;color:#697586;font-size:11px}.audit-filters label>span{display:block;margin-bottom:7px}.audit-filters input{width:100%;height:40px;border:1px solid #dfe4ec;border-radius:9px;padding:0 11px;background:#fff}.audit-filters .cn-date-picker{width:100%}.audit-filters .primary{height:40px}.audit-total{font-size:12px;color:#6759cf}.audit-table{min-width:920px}.audit-table td:nth-child(1){white-space:nowrap}.audit-table td:nth-child(2){min-width:150px}.audit-table td:nth-child(2)>b,.audit-category{display:block}.audit-category{width:max-content;margin-bottom:6px;border-radius:99px;padding:3px 7px;background:#f0efff;color:#6354cf;font-size:9px}.audit-critical td:first-child{box-shadow:inset 3px 0 #e65656}.audit-important td:first-child{box-shadow:inset 3px 0 #e9a33c}.audit-result{display:inline-flex;border-radius:99px;padding:5px 9px;font-size:10px}.audit-result.success{background:#e5f7ed;color:#25865f}.audit-result.failed{background:#ffebeb;color:#c23d3d}.audit-empty{padding:44px;text-align:center;color:#98a1ae}.audit-detail-page{display:grid;gap:18px}.audit-detail-page>.heading{margin-bottom:4px}.audit-detail-hero{min-height:0;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fff,#f8f7ff)}.audit-detail-hero h2{margin:12px 0 6px;font-size:22px}.audit-detail-hero p{margin:0;color:#7e8998}.audit-business-detail,.audit-system{min-height:0}.audit-change-focus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin:22px;padding:20px;border-radius:14px;background:#f8f9fc}.audit-change-focus>div{display:grid;gap:7px}.audit-change-focus span,.audit-fact span{color:#8a95a4;font-size:11px}.audit-change-focus b{font-size:20px;color:#283548}.audit-change-focus i{color:#6654d7;font-size:25px;font-style:normal}.audit-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:22px}.audit-fact{min-width:0;padding:15px;border:1px solid #e7eaf0;border-radius:11px;background:#fafbfc}.audit-fact span,.audit-fact b{display:block}.audit-fact b{margin-top:7px;color:#344153;overflow-wrap:anywhere}.audit-diff-list{display:grid;padding:10px 22px 22px}.audit-diff-list>div{display:grid;grid-template-columns:minmax(120px,.7fr) 1fr auto 1fr;gap:15px;align-items:center;padding:14px 4px;border-bottom:1px solid #edf0f4}.audit-diff-list span{color:#8a94a2}.audit-diff-list i{font-style:normal;color:#6654d7}.audit-diff-list strong{color:#263548}@media(max-width:1050px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters .audit-search{grid-column:1/-1}.audit-filters .primary{width:100%}.audit-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.audit-intro,.audit-detail-hero{align-items:flex-start;flex-direction:column}.audit-filters{grid-template-columns:1fr;padding:14px}.audit-filters .audit-search{grid-column:auto}.audit-table{min-width:820px}.audit-fact-grid{grid-template-columns:1fr;padding:14px}.audit-change-focus{margin:14px;grid-template-columns:1fr}.audit-change-focus i{transform:rotate(90deg);justify-self:start}.audit-diff-list{padding:4px 14px 14px}.audit-diff-list>div{grid-template-columns:1fr}.audit-diff-list i{transform:rotate(90deg);width:max-content}.audit-detail-page>.heading .outline{width:100%}}.report-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding:16px 18px;background:#fff;border:1px solid #e7eaf0;border-radius:14px}.report-date-range{display:flex;align-items:flex-end;gap:12px;margin-left:auto;white-space:nowrap}.report-date-range>label{display:grid;gap:6px;color:#687384;font-size:11px}.report-filter .cn-date-picker{min-width:150px}.report-presets{display:flex;align-items:center;gap:5px}.report-presets button{border:1px solid #e0e4ec;background:#fff;color:#687384;border-radius:8px;padding:9px 13px;cursor:pointer}.report-presets button.active,.report-presets button:hover{color:#5f50cc;border-color:#a49bea;background:#f3f1ff}.report-presets span{margin-left:8px;color:#9aa3af;font-size:11px}.report-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.report-metric{padding:18px 16px;background:#fff;border:1px solid #e7eaf0;border-radius:13px;box-shadow:0 8px 22px #1f304508}.report-metric span,.report-metric small{display:block;color:#8c97a5;font-size:11px}.report-metric strong{display:block;margin:10px 0 6px;color:#263548;font-size:25px}.report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.report-chart,.report-output{min-height:0;margin-bottom:16px}.trend-list,.growth-list{padding:20px}.trend-row{display:flex;align-items:center;gap:14px;margin-bottom:17px}.trend-row>b{width:42px;color:#687384}.trend-bar{position:relative;flex:1;height:30px;border-radius:8px;background:#f0f2f7;overflow:hidden}.trend-bar i{display:block;height:100%;background:linear-gradient(90deg,#8173df,#b9b1f2);border-radius:8px}.trend-bar span{position:absolute;left:10px;top:7px;color:#4b5665;font-size:10px}.growth-list>div{position:relative;display:flex;align-items:center;gap:12px;height:42px;border-bottom:1px solid #eef0f4}.growth-list span{width:52px;color:#687384;font-size:11px}.growth-list b{width:66px;color:#344153;font-size:12px}.growth-list em{height:8px;border-radius:99px;background:#6c5bd1;opacity:.8}.output-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px}.output-grid div{padding:15px;border-radius:11px;background:#fafbfc}.output-grid span,.output-grid b{display:block}.output-grid span{color:#8b95a3;font-size:11px}.output-grid b{margin-top:8px;color:#324052;font-size:18px}.report-danger{color:#d84c4c;font-weight:700}.report-empty{padding:32px;text-align:center;color:#98a1ae}.reports-heading{margin-bottom:20px}@media(max-width:1050px){.report-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.report-filter{align-items:stretch;flex-direction:column;gap:14px;padding:14px}.report-presets{margin:0;overflow-x:auto;max-width:100%}.report-date-range{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-left:0;white-space:normal;width:100%;min-width:0}.report-date-range>label{min-width:0;width:100%;overflow:hidden}.report-date-range .cn-date-picker,.report-date-range .cn-date-trigger{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.report-date-range .report-query-button{width:100%;min-height:44px}.report-metrics{grid-template-columns:repeat(2,1fr);gap:9px}.report-metric{padding:14px 12px}.report-metric strong{font-size:20px}.report-two-col{grid-template-columns:1fr}.output-grid{grid-template-columns:repeat(2,1fr);padding:14px}.trend-list,.growth-list{padding:14px}}.report-custom-label{align-self:center;color:#5f50cc;font-size:12px;font-weight:700;white-space:nowrap}.cn-date-popover{background:#fff;color:#253247;z-index:1000}@media(max-width:700px){.cn-date-popover:before{display:none}}@media(max-width:700px){.cn-date-trigger,.cn-time-trigger{box-sizing:border-box;min-height:40px;height:40px;padding:0 10px;font-size:13px}.cn-date{min-width:0;max-width:100%}.cn-date-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.content-error-boundary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:22px}.content-error-boundary>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff0f0;color:#d64141;font-size:22px;font-weight:800}.content-error-boundary h2{margin:0 0 5px;font-size:17px}.content-error-boundary p{margin:0;color:#778292}.content-error-boundary details{margin-top:10px;color:#8a94a1;font-size:11px}.content-error-boundary code{display:block;margin-top:6px;white-space:normal}@media(max-width:600px){.content-error-boundary{grid-template-columns:auto 1fr;padding:16px}.content-error-boundary>button{grid-column:1/-1;width:100%}}.metric-growth{display:grid!important;gap:4px;margin:0!important;color:#344153!important;font-size:12px!important;line-height:1.25}.metric-growth i{font-style:normal;white-space:nowrap}.pedigree-sides{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.pedigree-side{padding:16px;border:1px solid #e7eaf0;border-radius:14px;background:#fbfcfe}.pedigree-side>h3{margin:0 0 14px;color:#334154;font-size:15px}.pedigree-level{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pedigree-level h4{width:100%;margin:0;color:#8a95a4;font-size:11px;font-weight:500}.current-level{margin-top:0}.pedigree-side .pedigree-card{min-width:120px;flex:1 1 120px}.pedigree-descendants .pedigree-card{border-color:#dfe1fa}.pedigree-ancestors .pedigree-card{border-color:#e3e8ef}@media(max-width:700px){.pedigree-sides{grid-template-columns:1fr}.pedigree-side{padding:12px}.pedigree-side .pedigree-card{min-width:110px}}.pedigree-map-scroll{overflow:auto;padding:6px 0 12px}.pedigree-family-map{display:grid;grid-template-columns:minmax(360px,1fr) 154px minmax(500px,1.35fr);align-items:center;min-width:1080px;padding:24px 18px;border:1px solid #e4e8f0;border-radius:16px;background:linear-gradient(180deg,#fbfcff,#f7f8fc)}.pedigree-map-side{position:relative}.pedigree-map-side>h3{text-align:center;margin:0 0 18px;color:#6d7888;font-size:13px}.pedigree-map-side ul{position:relative;display:flex;flex-direction:column;justify-content:center;gap:9px;margin:0;padding:0;list-style:none}.pedigree-map-side li{position:relative;display:flex;align-items:center;gap:24px}.pedigree-map-side li>ul{margin:4px 0}.pedigree-map-side li>ul:before{content:"";position:absolute;top:18px;bottom:18px;width:1px;background:#c9cfdb}.pedigree-map-side li>ul>li:before{content:"";position:absolute;top:50%;width:24px;height:1px;background:#c9cfdb}.pedigree-map-ancestors li>ul:before{left:-12px}.pedigree-map-ancestors li>ul>li:before{left:-24px}.pedigree-map-descendants li{flex-direction:row-reverse}.pedigree-map-descendants li>ul:before{right:-12px}.pedigree-map-descendants li>ul>li:before{right:-24px}.pedigree-map-side .pedigree-card{position:relative;z-index:1;flex:0 0 126px;min-width:126px;background:#fff}.pedigree-map-center{position:relative;z-index:2;display:flex;justify-content:center}.pedigree-map-center:before,.pedigree-map-center:after{content:"";position:absolute;top:50%;width:42px;height:2px;background:#8e84dc}.pedigree-map-center:before{right:100%}.pedigree-map-center:after{left:100%}.pedigree-map-center .pedigree-card{width:154px;min-height:88px;justify-content:center;border:2px solid #6958d1;background:#f1efff;box-shadow:0 9px 22px #6758c82b}.pedigree-map-center .pedigree-card b{font-size:20px}.pedigree-no-relatives{display:flex;align-items:center;justify-content:center;min-height:86px;border:1px dashed #d2d7e1;border-radius:11px;color:#929baa;background:#fff}@media(max-width:700px){.pedigree-map-scroll{margin:0 -14px;padding:6px 14px 12px}.pedigree-family-map{min-width:980px;grid-template-columns:320px 140px 470px;padding:18px 12px}.pedigree-map-center .pedigree-card{width:140px}.pedigree-map-side .pedigree-card{flex-basis:116px;min-width:116px}}.pedigree-map-scroll{max-width:100%;overscroll-behavior-inline:contain;scrollbar-width:thin}.pedigree-family-map{grid-template-columns:minmax(260px,.9fr) 118px minmax(360px,1.15fr);min-width:820px;padding:18px 12px}.pedigree-map-side>h3{margin-bottom:12px;font-size:12px}.pedigree-map-side ul{gap:6px}.pedigree-map-side li{gap:14px}.pedigree-map-side li>ul>li:before{width:14px}.pedigree-map-ancestors li>ul:before{left:-7px}.pedigree-map-ancestors li>ul>li:before{left:-14px}.pedigree-map-descendants li>ul:before{right:-7px}.pedigree-map-descendants li>ul>li:before{right:-14px}.pedigree-map-side .pedigree-card{flex-basis:98px;min-width:98px;padding:7px 9px;border-radius:8px}.pedigree-map-side .pedigree-card b{margin:2px 0;font-size:12px}.pedigree-map-side .pedigree-card small,.pedigree-map-side .pedigree-card span{font-size:9px}.pedigree-map-center:before,.pedigree-map-center:after{width:26px}.pedigree-map-center .pedigree-card{width:118px;min-height:70px;padding:9px 10px}.pedigree-map-center .pedigree-card b{font-size:16px}.pedigree-no-relatives{min-height:68px}.pedigree-correction{display:grid;gap:16px;margin-top:16px;padding:22px;border-color:#ddd8fa;border-radius:16px;background:linear-gradient(145deg,#fbfaff,#fff);box-shadow:0 12px 32px #3d31840f}.pedigree-correction-head{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #ece9fa}.pedigree-correction-head>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#6656d5;color:#fff;font-size:20px;box-shadow:0 7px 16px #6656d53d}.pedigree-correction-head h4{margin:0;color:#253349;font-size:17px}.pedigree-correction-head p{margin:4px 0 0;color:#7c8796;font-size:11px;line-height:1.55}.pedigree-correction-fields,.pedigree-correction-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pedigree-correction label{min-width:0;color:#5f6c7c;font-size:12px;font-weight:600}.pedigree-correction select,.pedigree-correction textarea{margin-top:8px;border-color:#dfe3ed;border-radius:10px;padding:11px 12px;font-weight:400;transition:border-color .15s,box-shadow .15s}.pedigree-correction select:focus,.pedigree-correction textarea:focus{border-color:#7769dc;box-shadow:0 0 0 3px #6757d21a;outline:0}.pedigree-correction textarea{min-height:88px;resize:vertical;line-height:1.55}.pedigree-correction .correction-impact{margin:0;padding:13px 15px;border-radius:11px;background:#eef8f3;color:#376a51;font-weight:600}.pedigree-correction .historical-link-notice{margin:0}.pedigree-correction .modal-actions{justify-content:flex-end;margin-top:0;padding-top:2px}@media(max-width:700px){.pedigree-family-map{grid-template-columns:230px 104px 330px;min-width:700px;padding:14px 9px}.pedigree-map-side .pedigree-card{flex-basis:90px;min-width:90px}.pedigree-map-center .pedigree-card{width:104px}.pedigree-correction{padding:16px}.pedigree-correction-fields,.pedigree-correction-notes{grid-template-columns:1fr}.pedigree-correction .modal-actions{display:grid;grid-template-columns:1fr}.pedigree-correction .modal-actions button{width:100%}}.cn-date-popover{max-width:calc(100vw - 16px);contain:layout paint}.modal-form-error{display:grid;gap:4px;margin:12px 0 16px;padding:13px 15px;border:1px solid #f2b8b8;border-radius:11px;background:#fff2f2;color:#b52f2f;line-height:1.5}.modal-form-error b{font-size:13px}.modal-form-error span{font-size:12px;font-weight:400;overflow-wrap:anywhere}.report-tabs{display:flex;gap:8px;margin:-8px 0 18px;padding:6px;background:#fff;border:1px solid #e7eaf0;border-radius:13px;width:max-content}.report-tabs button{border:0;background:transparent;color:#6b7685;border-radius:8px;padding:10px 17px;cursor:pointer}.report-tabs button.active{background:#6052cc;color:#fff;box-shadow:0 7px 16px #dcd8fb}.report-special-grid{display:grid;gap:16px}.funnel-panel{min-height:0}.funnel{display:flex;flex-direction:column;align-items:center;gap:7px;padding:24px}.funnel>div{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-radius:9px;background:linear-gradient(90deg,#ece9ff,#faf9ff);color:#5246ba}.funnel strong{font-size:20px}.loss-list{display:grid;gap:15px;padding:22px}.loss-list>div{display:grid;grid-template-columns:90px 1fr 35px;align-items:center;gap:10px}.loss-list span,.loss-list b{font-size:12px;color:#596576}.loss-list i{height:10px;border-radius:99px;background:linear-gradient(90deg,#8779e0,#c5bef7)}.performance-panel{min-height:0}.report-special-grid>.report-metrics{margin-bottom:0}@media(max-width:700px){.report-tabs{width:100%;overflow-x:auto}.report-tabs button{flex:1;white-space:nowrap;padding:10px 12px}.loss-list>div{grid-template-columns:78px 1fr 28px}}.special-workspace{display:grid;gap:18px}.special-heading{margin-bottom:0}.special-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.special-stats>div{padding:18px 20px;background:#fff;border:1px solid #e7eaf0;border-radius:13px;box-shadow:0 8px 22px #1f304508}.special-stats span,.special-stats small{display:block;color:#8d97a5;font-size:11px}.special-stats strong{display:block;margin:9px 0 5px;color:#263548;font-size:24px}.special-stats em{font-style:normal;color:#8994a3;font-size:13px;font-weight:600}.special-form-panel,.special-history-panel{min-height:0}.special-form-panel .panel-head{align-items:center}.special-form-badge{padding:6px 10px;border-radius:99px;color:#6654d1;background:#eeecff;font-size:10px;white-space:nowrap}.special-form{padding:0 24px 24px}.special-form-note{display:flex;align-items:center;gap:12px;margin:18px 0 4px;padding:11px 13px;border:1px solid #e6e1fb;border-radius:10px;background:#faf9ff;color:#6555c9;font-size:12px}.special-form-note span{font-weight:700}.special-form-note small{margin-left:auto;color:#9299aa;font-size:10px}.special-form .form-section-title{display:flex;align-items:center;gap:10px;margin:23px 0 12px;color:#38465a;font-size:14px}.special-form .form-section-title:before{display:none}.special-form .form-section-title>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eeeaff;color:#6654d1;font-size:10px;font-weight:800}.special-form .form-section-title>div{display:grid;gap:3px}.special-form .form-section-title h3{margin:0;font-size:14px}.special-form .form-section-title small{color:#929baa;font-size:10px;font-weight:400}.special-form>label,.special-form>.two{margin-bottom:12px}.special-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid #edf0f4}.special-form-actions>span{color:#929baa;font-size:10px}.special-form-actions .primary{min-width:130px}.special-history-tools{display:flex;align-items:center;gap:12px}.special-history-tools input{width:190px;border:1px solid #dfe4ec;border-radius:8px;padding:9px 11px;font:inherit;font-size:12px}.special-history-tools span{color:#8b95a3;font-size:11px}.special-history-panel table{min-width:760px}.special-view-button{padding:4px 7px;border-radius:6px}.special-view-button:hover{background:#f0edff}.special-empty{padding:36px;text-align:center;color:#9aa3af}.special-form{padding:6px 28px 30px}.special-form .form-section-title{margin:28px 0 16px}.special-form .two{gap:20px;margin-bottom:18px}.special-form label{display:grid;gap:9px;min-width:0;color:#596576;font-size:13px;font-weight:600}.special-form input,.special-form select{box-sizing:border-box;width:100%;height:48px;border:1px solid #dce2eb;border-radius:11px;background:#fff;padding:0 14px;color:#273446;font:inherit;font-size:14px;outline:none}.special-form input:focus,.special-form select:focus{border-color:#7465dc;box-shadow:0 0 0 3px #6752d31a}.special-form input::placeholder{color:#a7afbb}.special-date-field .cn-date{width:100%;max-width:none}.special-date-field .cn-date-trigger{box-sizing:border-box;width:100%;min-height:48px;border-radius:11px;padding:0 14px;font-size:14px}.special-form-actions{justify-content:flex-end;margin-top:24px;padding-top:20px}.special-form-actions .primary{min-width:160px;min-height:46px;font-size:13px}@media(max-width:700px){.special-stats{grid-template-columns:repeat(2,1fr);gap:9px}.special-stats>div{padding:14px 12px}.special-stats strong{font-size:20px}.special-form{padding:0 14px 18px}.special-form .two{grid-template-columns:1fr}.special-history-panel .panel-head{align-items:flex-start;gap:12px;flex-direction:column}.special-history-tools{width:100%;align-items:stretch;flex-direction:column;gap:7px}.special-history-tools input{width:100%}.special-form-badge{display:none}}.special-table-wrap{overflow-x:auto;border:1px solid #edf0f5;border-radius:12px}.special-row{cursor:pointer}.special-history-panel tbody tr:hover{background:#fbfaff}.special-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:14px 2px 2px;color:#8b95a3;font-size:12px}.special-pagination label{display:flex;align-items:center;gap:4px}.special-pagination select,.special-pagination button{border:1px solid #dfe4ec;background:#fff;border-radius:7px;padding:6px 9px;color:#586476}.special-pagination button{cursor:pointer}.special-pagination button:disabled{cursor:not-allowed;opacity:.45}.special-pagination b{color:#5f51c9;font-weight:600;padding:0 5px}.special-detail-modal{position:relative;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;padding:30px}.special-detail-modal h2{margin:4px 0 22px;color:#263548}.special-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.special-detail-grid>div{display:flex;flex-direction:column;gap:6px;padding:13px 15px;background:#f7f8fb;border-radius:10px}.special-detail-grid span,.special-detail-notes span{font-size:11px;color:#8b95a3}.special-detail-grid b{color:#2f3d51;font-size:14px}.special-detail-notes{margin-top:12px;padding:14px 15px;background:#f7f8fb;border-radius:10px}.special-detail-notes p{margin:8px 0 0;color:#536174;line-height:1.6}@media(max-width:700px){.special-pagination{justify-content:center;flex-wrap:wrap;gap:6px}.special-pagination>span{width:100%;text-align:center}.special-detail-modal{padding:22px 16px}.special-detail-grid{grid-template-columns:1fr}.special-history-panel table{min-width:620px}}@media(max-width:700px){.special-form-note{align-items:flex-start;flex-wrap:wrap;gap:6px 10px}.special-form-note small{width:100%;margin-left:0}.special-form-actions{align-items:stretch;flex-direction:column-reverse}.special-form-actions .primary{width:100%}.special-history-panel table{min-width:760px}}@media(max-width:700px){.special-form-panel .panel-head{padding:18px 16px}.special-form{padding:4px 16px 22px}.special-form .form-section-title{margin:25px 0 15px}.special-form .form-section-title>span{width:30px;height:30px;font-size:11px}.special-form .form-section-title h3{font-size:15px}.special-form .form-section-title small{font-size:11px;line-height:1.45}.special-form .two{gap:16px;margin-bottom:16px}.special-form label{gap:9px;font-size:14px}.special-form input,.special-form select,.special-date-field .cn-date-trigger{height:52px;min-height:52px;padding:0 14px;font-size:16px}.special-form-actions{margin-top:26px;padding-top:18px}.special-form-actions .primary{min-height:50px;font-size:15px}}.historical-link-notice{display:grid;gap:10px;margin:4px 0 16px;padding:15px 16px;border:1px solid #cfc9f5;border-radius:12px;background:#f7f5ff;color:#4b427f}.historical-link-notice.pending{border-color:#e0e4eb;background:#f8f9fb;color:#596576}.historical-link-notice>b{font-size:13px}.historical-link-notice>span{font-size:12px;line-height:1.6}.historical-link-notice select{width:100%}.historical-sync-check{display:flex!important;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:9px;background:#fff;color:#39465a!important}.historical-sync-check input{width:17px!important;height:17px;margin:2px 0 0;flex:0 0 auto}.historical-sync-check span{font-size:12px;line-height:1.55}.historical-sync-check.warning{border:1px solid #f1cf91;background:#fffaf0;color:#8a5d16!important}.breeding-query .health-filters{flex-wrap:nowrap;align-items:flex-end}.date-filter{display:flex;flex-direction:column;gap:5px;color:#7f8fa3;font-size:11px;white-space:nowrap}.date-filter input{min-width:145px}.breeding-list .link{padding:2px 0}.breeding-detail-modal{max-width:620px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.detail-grid div{padding:12px;border:1px solid #e7eaf0;border-radius:9px;background:#fafbfe}.detail-grid span,.detail-grid b{display:block}.detail-grid span{color:#8a98a8;font-size:11px;margin-bottom:5px}.detail-grid b{color:#334254;font-size:13px}.breeding-detail-modal textarea{min-height:80px;resize:vertical}@media(max-width:760px){.breeding-query .health-filters{flex-wrap:wrap}.date-filter{flex:1}.date-filter input{min-width:0;width:100%}}.readonly-field{display:grid;gap:5px;padding:14px 16px;margin-bottom:14px;border:1px solid #dbe2ec;border-radius:12px;background:#f4f6f9}.readonly-field span{color:#66758a;font-size:14px}.readonly-field b{color:#17243a;font-size:16px}.readonly-field small,.form-hint{color:#8995a6}.danger{color:#c33c3c!important}.audit-summary{padding:22px;line-height:1.9;color:#64748b}.audit-summary p{margin:8px 0}.audit-summary b{color:#17243a}.audit-system{margin-top:16px;min-height:auto}.breeding-edit-modal .breeding-reason-field{width:100%}.breeding-edit-modal .breeding-reason-field textarea{display:block;width:100%;min-height:92px;margin-top:6px;padding:12px 14px;border:1px solid #dce3ed;border-radius:10px;resize:vertical;font:inherit;font-size:13px;line-height:1.6;background:#fff}.dashboard-home{display:grid;gap:16px}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px}.dashboard-welcome h1{margin:0;color:#1f293b;font-size:28px}.dashboard-welcome p{margin:7px 0 0;color:#8c95a6}.dashboard-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.dashboard-metrics button{padding:14px 15px;border:1px solid #e4e7ee;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.dashboard-metrics button:hover{border-color:#c9c0f6;box-shadow:0 7px 20px #483a9014}.dashboard-metrics span,.dashboard-metrics small{display:block;color:#8c94a4}.dashboard-metrics span{font-size:12px}.dashboard-metrics b{display:block;margin:5px 0 3px;color:#273044;font-size:24px}.dashboard-metrics small{font-size:10px}.dashboard-metrics .attention{border-color:#f0c9b8;background:#fff9f5}.dashboard-metrics .attention b{color:#c75d34}.dashboard-main-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:14px}.dashboard-home .panel{padding:0}.dashboard-home .panel-head .link{white-space:nowrap}.dashboard-reminders,.dashboard-activity-list{display:grid;padding:0 18px 15px}.dashboard-reminders>button{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:11px;padding:11px 0;border:0;border-bottom:1px solid #eef0f4;background:none;text-align:left;cursor:pointer}.dashboard-reminders i{width:7px;height:7px;border-radius:50%;background:#7b68dc}.dashboard-reminders i.overdue{background:#e05b54}.dashboard-reminders span{display:grid;gap:3px;min-width:0}.dashboard-reminders b,.dashboard-reminders small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-reminders small,.dashboard-reminders time{color:#9299a7;font-size:10px}.dashboard-activity-list>div{display:grid;grid-template-columns:80px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #eef0f4}.dashboard-activity-list span{color:#6753cf;font-size:11px}.dashboard-activity-list small{color:#949baa}.dashboard-empty{padding:28px;text-align:center;color:#9aa1ae}.dashboard-lower-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px}.dashboard-pen-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 18px 18px}.dashboard-pen-grid button{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:11px;border:1px solid #e8eaf0;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.dashboard-pen-grid span{display:flex;justify-content:space-between;grid-column:1/-1}.dashboard-pen-grid small,.dashboard-pen-grid em{color:#9098a8;font-size:10px;font-style:normal}.dashboard-pen-grid div{height:6px;border-radius:999px;background:#eef0f4;overflow:hidden}.dashboard-pen-grid i{display:block;height:100%;border-radius:inherit;background:#7661dc}.dashboard-quick>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px 18px}.dashboard-quick>div>button{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e7e9ef;border-radius:9px;background:#fff;color:#4a5263;cursor:pointer}.dashboard-quick i{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f0edff;color:#614ed0;font-style:normal}@media(max-width:1100px){.dashboard-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.dashboard-welcome{align-items:flex-start}.dashboard-welcome h1{font-size:23px}.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-main-grid,.dashboard-lower-grid{grid-template-columns:1fr}.dashboard-reminders>button{grid-template-columns:8px 1fr}.dashboard-reminders time{grid-column:2}.dashboard-activity-list>div{grid-template-columns:70px 1fr}.dashboard-activity-list small{grid-column:2}.dashboard-pen-grid{grid-template-columns:1fr}}.dashboard-quick-wide{padding-bottom:18px}.dashboard-quick-wide .panel-head{padding:0 18px}.quick-actions{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:0 18px}.quick-actions button{display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 12px;border:1px solid #e6e8ef;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.quick-actions button:hover{border-color:#b9adf1;transform:translateY(-1px)}.quick-actions .primary-quick{background:#f7f5ff;border-color:#cfc6fb}.quick-actions i{font-style:normal;font-size:22px}.quick-actions span{display:grid;gap:3px}.quick-actions small{color:#949baa;font-size:10px}.dashboard-monitor .panel-head{padding:0 18px}.monitor-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 18px 18px}.monitor-list button{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:12px;border:1px solid #e8eaf0;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.monitor-list strong{color:#2db66d;font-size:20px}.monitor-list .danger-text{color:#d9524f}.monitor-list small{grid-column:1/-1;color:#939aaa;font-size:10px}.production-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:0 18px 18px}.production-stats div{display:grid;gap:4px;border-right:1px solid #eef0f4;padding:8px 12px}.production-stats div:last-child{border:0}.production-stats b{font-size:24px;color:#33276e}.production-stats span{color:#8d96a7;font-size:12px}.work-progress{display:grid;gap:14px;padding:0 18px 18px}.progress-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:8px;font-size:12px}.progress-row>div{height:7px;background:#edf0f4;border-radius:99px;overflow:hidden}.progress-row i{display:block;height:100%;background:#6c58d7;border-radius:inherit}.progress-row b{font-size:11px;color:#687185}.stock-warning,.stock-normal{padding:10px 12px;border-radius:9px;font-size:12px}.stock-warning{background:#fff6e5;color:#c77716}.stock-normal{background:#effaf3;color:#248c53}@media(max-width:900px){.quick-actions{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.quick-actions{grid-template-columns:1fr 1fr}.monitor-list{grid-template-columns:1fr}.production-stats{grid-template-columns:1fr 1fr}.production-stats div:nth-child(2){border:0}}.dashboard-ai-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid #f0aaa6;border-radius:12px;background:#fff2f1;color:#8d2925}.dashboard-ai-alert div{display:flex;align-items:center;gap:16px;min-width:0}.dashboard-ai-alert b{white-space:nowrap}.dashboard-ai-alert span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-ai-alert button{padding:8px 12px;border:1px solid #e28d88;border-radius:8px;background:#fff;color:#9b302b;cursor:pointer;white-space:nowrap}.progress-row{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}.progress-row:hover{background:#faf9ff}.progress-row>div{width:100%}@media(max-width:600px){.dashboard-ai-alert{align-items:flex-start;flex-direction:column}.dashboard-ai-alert div{align-items:flex-start;flex-direction:column;gap:4px}.dashboard-ai-alert span{white-space:normal}.progress-row{padding-left:0;padding-right:0}}.quick-actions .primary-quick{min-height:74px}.dashboard-ai-actions{display:flex;gap:8px}.dashboard-ai-actions button+button{background:#9b302b;color:#fff}.dashboard-ai-actions button+button:hover{background:#7e2421}.progress-row{grid-template-columns:58px 1fr auto auto}.progress-row small{grid-column:2/-1;color:#8b95a2;font-size:10px;margin-top:-5px}.production-stats{grid-template-columns:repeat(5,1fr)}.quick-actions i{white-space:nowrap;min-width:30px;display:inline-block;text-align:center;flex:0 0 auto}
