/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.table{display:table}.rounded{border-radius:.25rem}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--paper:#fff;--canvas:#f5f7f4;--ink:#17201a;--muted:#69736c;--line:#e4e9e4;--green:#397442;--green-dark:#25572e;--green-soft:#edf5ed;--gold:#cda53a;--gold-soft:#fbf5df;--blue:#4c5585;--blue-soft:#eef0f8;--shadow:0 12px 32px #17201a0f}.login-shell{background:radial-gradient(circle at 15% 15%,#39744224,#0000 34%),radial-gradient(circle at 85% 85%,#d5aa3724,#0000 32%),#f5f7f4;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--line);border-top:4px solid var(--green);background:#fffffff5;border-radius:24px;width:min(100%,430px);padding:34px;box-shadow:0 28px 70px #1d3d2321}.login-card>img{margin-bottom:18px;display:block}.login-card h1{margin:4px 0 24px;font-size:36px}.login-form{gap:16px;display:grid}.login-intro{background:var(--green-soft);color:var(--green-dark);border-radius:14px;align-items:center;gap:12px;padding:13px 14px;display:flex}.login-intro div{gap:2px;display:grid}.login-intro span,.login-form>small{color:var(--muted);font-size:11px;line-height:1.45}.login-form label{color:var(--ink);gap:7px;font-size:12px;font-weight:750;display:grid}.login-form input{border:1px solid var(--line);min-height:50px;color:var(--ink);font:inherit;background:#fff;border-radius:12px;padding:0 14px;font-size:16px}.login-form input:focus{border-color:var(--green);outline:3px solid #3974421f}.login-submit{justify-content:center;min-height:50px}.login-error{color:#9a3f2b;background:#fff1ec;border-radius:10px;margin:-3px 0 0;padding:10px 12px;font-size:12px;font-weight:700}.login-checking{min-height:58px;color:var(--muted);align-items:center;gap:11px;display:flex}.login-spinner{border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite login-spin}@keyframes login-spin{to{transform:rotate(360deg)}}.sidebar-footer .logout-button{color:#7f463a}@media (width<=520px){.login-shell{padding:14px}.login-card{border-radius:20px;padding:25px 20px}.login-card h1{font-size:32px}}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:30;background:var(--paper);border-right:1px solid var(--line);flex-direction:column;width:252px;padding:22px 16px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;padding:0 8px 24px;display:flex}.brand img{object-fit:contain;width:54px;height:54px}.brand div{flex-direction:column;gap:3px;display:flex}.brand strong{letter-spacing:-.02em;font-size:17px}.brand span{color:var(--muted);font-size:12px}.close-menu{color:var(--ink);background:0 0;border:0;margin-left:auto;display:none}.sidebar nav{flex-direction:column;gap:5px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.sidebar nav button,.sidebar-footer>button{color:#59635c;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 13px;font-size:14px;font-weight:600;transition:all .16s;display:flex}.sidebar nav button:hover,.sidebar-footer>button:hover{color:var(--ink);background:#f5f7f4}.sidebar nav button.active{background:var(--green-soft);color:var(--green-dark);box-shadow:inset 3px 0 var(--green)}.nav-group{gap:3px;display:grid}.sidebar nav .nav-group-toggle{min-height:42px;color:var(--ink);font-size:13px;font-weight:800}.nav-group.current>.nav-group-toggle{color:var(--green-dark)}.nav-group-toggle .nav-chevron{margin-left:auto;transition:transform .16s}.nav-group-toggle[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}.nav-subitems{border-left:1px solid var(--line);gap:2px;margin:0 0 5px 13px;padding-left:9px;display:grid}.sidebar nav .nav-subitems button{min-height:38px;padding-left:10px;font-size:12px}.sidebar-footer{border-top:1px solid var(--line);margin-top:auto;padding-top:10px}.connection{color:var(--muted);align-items:center;gap:8px;margin:11px 8px 0;font-size:11px;display:flex}.connection.online svg{color:var(--green)}.connection.offline svg{color:var(--gold)}.content-shell{flex:1;min-width:0;margin-left:252px}.topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);background:#ffffffeb;justify-content:space-between;align-items:center;height:74px;padding:0 32px;display:flex;position:sticky;top:0}.menu-button,.mobile-brand{display:none}.farm-selector{align-items:center;gap:12px;display:flex}.farm-selector>span{color:var(--muted);font-size:12px}.farm-selector button{color:var(--ink);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;font-weight:700;display:flex}.topbar-actions{align-items:center;gap:14px;display:flex}.connection.compact{border:1px solid var(--line);background:#fafbf9;border-radius:999px;margin:0;padding:7px 10px}.avatar{border:1px solid var(--line);width:38px;height:38px;color:var(--green-dark);background:#fff;border-radius:50%;place-items:center;display:grid}.page-content{max-width:1460px;margin:0 auto;padding:34px 32px 70px}.page-intro{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.eyebrow{color:var(--green);letter-spacing:.12em;text-transform:uppercase;margin:0 0 7px;font-size:11px;font-weight:800}h1{letter-spacing:-.035em;margin:0;font-size:clamp(28px,3vw,40px);line-height:1.05}.intro-copy{color:var(--muted);margin:9px 0 0;font-size:14px}.primary-button{background:var(--green-dark);color:#fff;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 17px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 8px 20px #25572e2e}.backup-schedule{justify-content:space-between;align-items:center;gap:18px;margin-top:12px;display:flex}.backup-schedule div{gap:4px;display:grid}.backup-schedule small,.report-card small{color:var(--muted)}.backup-schedule select{border:1px solid var(--line);min-height:44px;font:inherit;background:#fff;border-radius:11px;padding:0 12px}@media (width<=560px){.backup-schedule{flex-direction:column;align-items:stretch}.backup-schedule select{width:100%}}.metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.metric-card{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;min-width:0;padding:17px 16px 15px;display:flex;position:relative;box-shadow:0 2px 10px #17201a06}.metric-card>span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:16px;font-size:11px;font-weight:700;overflow:hidden}.metric-card>strong{letter-spacing:-.04em;margin-top:5px;font-size:clamp(21px,2vw,28px)}.metric-card>small{color:#8a938c;margin-top:3px;font-size:10px}.metric-icon{border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.metric-icon.green{background:var(--green-soft);color:var(--green)}.metric-icon.gold{background:var(--gold-soft);color:#a37b17}.metric-icon.blue{background:var(--blue-soft);color:var(--blue)}.metric-icon.ink{color:var(--ink);background:#f0f2f0}.insight-strip{background:linear-gradient(90deg,#f2f7f1,#fff);border:1px solid #dce8dc;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:16px 0;padding:13px 16px;display:grid}.insight-icon{width:38px;height:38px;color:var(--green);background:#fff;border:1px solid #dce8dc;border-radius:11px;place-items:center;display:grid}.insight-strip strong{font-size:12px;display:block}.insight-strip p{color:var(--muted);margin:4px 0 0;font-size:12px}.insight-strip button{color:var(--green-dark);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:800}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,.9fr);gap:14px;display:grid}.ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.ranking-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.ranking-list li{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;padding:7px 4px;display:grid}.ranking-list li:last-child{border-bottom:0}.ranking-position{background:var(--canvas);width:28px;height:28px;color:var(--muted);border-radius:9px;place-items:center;font-size:12px;font-weight:900;display:grid}.ranking-position.position-1{background:var(--gold-soft);color:#806617}.ranking-position.position-2{color:#53605a;background:#eef1f0}.ranking-position.position-3{color:#865b3c;background:#f5ebe3}.ranking-list li div{gap:3px;min-width:0;display:grid}.ranking-list li small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ranking-list li b{color:var(--green-dark);font-size:14px}.ranking-empty{min-height:110px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:8px;font-size:13px;display:grid}.ranking-controls{grid-template-columns:minmax(240px,1fr) minmax(180px,260px) minmax(180px,260px);align-items:end;gap:16px;margin-bottom:14px;display:grid}.ranking-controls>div:first-child{gap:5px;display:grid}.ranking-controls>div:first-child small{color:var(--muted);line-height:1.4}.ranking-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.decision-ranking.positive .panel-heading>svg{color:var(--green)}.decision-ranking.attention .panel-heading>svg{color:var(--gold)}.decision-ranking-head{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;padding:0 4px 8px;font-size:10px;font-weight:800;display:flex}.ranking-list.extended{max-height:540px;padding-right:4px;overflow:auto}.ranking-table-panel{gap:16px;display:grid}.ranking-tabs-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ranking-tabs-row .period-tabs{display:flex}.ranking-tabs-row .period-tabs button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.ranking-table-heading{margin:0}.ranking-full-table{max-height:640px;overflow:auto}.ranking-full-table thead{z-index:1;background:var(--surface);position:sticky;top:0}.ranking-full-table .ranking-position{margin:0}.ranking-footnote{background:var(--gold-soft);color:#6f5b1d;border-radius:10px;margin:0;padding:10px 12px;font-size:12px;line-height:1.45}.quick-weigh-layout{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;gap:16px;display:grid}.quick-weigh-card{gap:18px;display:grid}.quick-weigh-head{justify-content:space-between;align-items:end;gap:18px;display:flex}.quick-weigh-head h2{margin:3px 0 5px;font-size:25px}.quick-weigh-head span{color:var(--muted);font-size:12px}.quick-session-date{gap:6px;min-width:175px;display:grid}.quick-session-date label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800}.quick-session-date input{min-height:46px}.quick-session-date input:disabled{color:var(--muted);cursor:not-allowed;background:#f2f5f2}.text-button{color:var(--green-dark);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;font-weight:800;text-decoration:underline}.quick-weigh-form{grid-template-columns:minmax(140px,.8fr) minmax(150px,1fr) minmax(170px,1fr) auto;align-items:end;gap:12px;display:grid}.quick-weigh-form input,.quick-weigh-form select{border-radius:14px;min-height:58px;font-size:19px;font-weight:750}.quick-weigh-form select{font-size:15px}.quick-operation-form{grid-template-columns:repeat(4,minmax(135px,1fr))}.quick-operation-form .quick-save{grid-column:1/-1}.quick-save{white-space:nowrap;min-height:58px}.quick-animal-match{background:var(--green-soft);color:var(--green-dark);border:1px solid #cfe2d4;border-radius:13px;flex-wrap:wrap;align-items:center;gap:12px;padding:13px 15px;font-size:13px;display:flex}.quick-animal-match strong{font-size:18px}.quick-feedback{border-radius:12px;align-items:center;gap:8px;margin:0;padding:12px 14px;font-size:13px;font-weight:750;display:flex}.quick-feedback.success{background:var(--green-soft);color:var(--green-dark)}.quick-feedback.error{color:#9a3f2b;background:#fff1ec}.quick-weight-preview{color:var(--muted);background:#f7f9f7;border-radius:11px;margin:0;padding:10px 12px;font-size:12px;font-weight:700}.quick-weight-preview.warning{color:#735a17;background:#fffbec;border:1px solid #eadba7}.individual-weigh-review{background:var(--green-soft);border:1px solid #cfe0d1;border-radius:12px;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:11px;display:grid}.individual-weigh-review>div{gap:3px;min-width:0;display:grid}.individual-weigh-review strong{font-size:13px}.individual-weigh-review span{color:var(--muted);font-size:10px;line-height:1.4}.individual-weigh-review .warning{color:#8a6815}.quick-session-list ol{gap:0;max-height:520px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.quick-session-list li{border-bottom:1px solid var(--line);grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 2px;display:grid}.quick-session-list li>span{background:var(--green-soft);width:25px;height:25px;color:var(--green-dark);border-radius:50%;place-items:center;font-size:10px;font-weight:850;display:grid}.quick-session-list li div{gap:3px;min-width:0;display:grid}.quick-session-list li small{color:var(--muted)}.quick-session-list li b{color:var(--green-dark);font-size:12px}@media (width<=1100px){.quick-weigh-layout{grid-template-columns:1fr}.quick-weigh-form{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-save{grid-column:1/-1}.quick-operation-form{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.ranking-controls{grid-template-columns:1fr 1fr}.ranking-controls>div:first-child{grid-column:1/-1}.ranking-page-grid{grid-template-columns:1fr}}@media (width<=560px){.ranking-controls{grid-template-columns:1fr}.ranking-controls>div:first-child{grid-column:auto}.ranking-tabs-row{align-items:stretch}.ranking-tabs-row .period-tabs{width:100%}.ranking-tabs-row .period-tabs button{flex:1}.quick-weigh-layout{gap:10px}.quick-weigh-card{gap:14px;padding:14px}.quick-weigh-head{flex-direction:column;align-items:stretch;gap:12px}.quick-session-date{min-width:0}.quick-weigh-form{grid-template-columns:1fr 1fr;gap:10px}.quick-weigh-form>label:first-child{grid-column:1/-1}.quick-weigh-form input,.quick-weigh-form select{min-height:60px;font-size:20px}.quick-weigh-form select{font-size:16px}.quick-save{grid-column:1/-1;min-height:60px;font-size:16px}.quick-operation-form{grid-template-columns:1fr 1fr}.quick-operation-form>label:first-child{grid-column:auto}.quick-animal-match{gap:8px 11px}.quick-session-list{padding:14px}.individual-weigh-review{grid-template-columns:1fr}}@media (width<=1180px){.ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=840px){.ranking-grid{grid-template-columns:1fr}}.panel{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:20px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.panel-heading h3{letter-spacing:-.01em;margin:0;font-size:15px}.panel-heading p{color:var(--muted);margin:5px 0 0;font-size:11px}.period-button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:9px;align-items:center;gap:4px;padding:7px 8px;font-size:10px;display:flex}.chart-empty{color:#9fb6a2;height:208px;margin-top:12px;position:relative;overflow:hidden}.chart-grid{background:repeating-linear-gradient(#0000 0 39px,#edf0ed 40px);position:absolute;inset:0}.chart-empty svg{opacity:.85;width:calc(100% - 8px);height:calc(100% - 28px);position:absolute;inset:20px 4px 0}.empty-message{color:#808b83;justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex;position:absolute;inset:auto 0 15px}.ghost-bars{justify-content:space-around;align-items:end;gap:18px;display:flex;position:absolute;inset:20px 25px 31px}.ghost-bars i{background:#e4eee4;border-radius:6px 6px 1px 1px;width:11%;height:20%}.ghost-bars i:nth-child(2),.ghost-bars i:nth-child(5){height:34%}.ghost-bars i:nth-child(3){height:25%}.ghost-bars i:nth-child(4){height:45%}.quality-track{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:26px;display:grid}.quality-segment{border-radius:12px;flex-direction:column;justify-content:space-between;min-height:82px;padding:12px;display:flex}.quality-segment span{text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800}.quality-segment.fundo{color:#705f43;background:#f4f1eb}.quality-segment.meio{background:var(--green-soft);color:var(--green-dark)}.quality-segment.cabeca,.quality-segment.cabeceira{background:var(--gold-soft);color:#8c6b19}.status-chip{border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800}.status-chip.neutral{color:var(--muted);background:#f1f3f1}.quality-stats{border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px;padding-top:17px;display:grid}.quality-stats div{flex-direction:column;display:flex}.quality-stats span{color:var(--muted);font-size:9px}.quality-stats strong{margin-top:4px;font-size:18px}.quality-stats small{color:#8a938c;margin-top:3px;font-size:8px}.quality-members{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px;display:grid}.quality-members>div{border:1px solid var(--line);border-radius:10px;min-width:0;padding:10px}.quality-members>div>strong{font-size:10px}.quality-members ul{max-height:130px;margin:8px 0 0;padding:0;list-style:none;overflow-y:auto}.quality-members li{border-top:1px solid #f0f2f0;justify-content:space-between;gap:8px;padding:6px 0;display:flex}.quality-members li span{color:var(--ink);font-size:9px;font-weight:800}.quality-members li small,.quality-members>div>small{color:var(--muted);text-align:right;font-size:8px}.market-panel{min-height:282px}.market-empty{height:210px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.market-empty svg{color:var(--gold)}.market-empty strong{color:var(--ink);margin-top:10px;font-size:13px}.market-empty span{max-width:220px;margin-top:5px;font-size:10px;line-height:1.5}.market-empty button{border:1px solid var(--line);color:var(--green-dark);background:#fff;border-radius:9px;margin-top:13px;padding:8px 11px;font-size:10px;font-weight:800}.placeholder-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:70vh;display:flex}.placeholder-icon{background:var(--green-soft);width:58px;height:58px;color:var(--green);border-radius:18px;place-items:center;margin-bottom:20px;font-size:22px;font-weight:900;display:grid}.placeholder-page h1{font-size:35px}.placeholder-page>p:last-child{color:var(--muted);font-size:13px}.sidebar-scrim,.mobile-nav{display:none}.spark{width:100%;height:205px;margin-top:12px;overflow:visible}.spark line{stroke:#edf0ed;stroke-width:.6px}.chart-caption{color:var(--muted);margin-top:-5px;font-size:11px}.bar-list{flex-direction:column;justify-content:center;gap:12px;min-height:205px;padding-top:18px;display:flex}.bar-list>div{grid-template-columns:105px 1fr 90px;align-items:center;gap:9px;font-size:10px;display:grid}.bar-list i{background:var(--green);border-radius:6px;min-width:3px;height:9px;display:block}.bar-list strong{text-align:right;font-size:10px}.empty-copy{color:var(--muted);text-align:center;font-size:11px}.modal-wrap{z-index:80;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-scrim{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121b147a;border:0;position:absolute;inset:0}.modal{background:#fff;border-radius:20px;width:min(560px,100%);max-height:90vh;padding:22px;position:relative;overflow:auto;box-shadow:0 30px 80px #0003}.modal-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal-head h2{margin:0;font-size:20px}.modal-head button{background:0 0;border:0;place-items:center;display:grid}.quick-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.quick-launch{border:1px solid var(--line);min-height:72px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:13px;align-items:center;gap:12px;padding:14px;font-weight:750;display:flex}.quick-launch svg{color:var(--green);flex:none}.quick-launch:hover{background:var(--green-soft);border-color:#bfd0c2}.quick-launch:disabled{opacity:.42;cursor:not-allowed}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.field{color:var(--muted);flex-direction:column;gap:7px;font-size:11px;font-weight:700;display:flex}.field input,.field select{border:1px solid var(--line);width:100%;min-height:43px;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:0 12px}.field input:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.field small{min-height:14px;font-size:9px;font-weight:600}.field-hint{color:var(--green)}.purchase-calculation{border:1px solid var(--line);background:#f7f9f7;border-radius:10px;gap:3px;margin-top:2px;padding:9px 11px;display:grid}.purchase-calculation.arroba{background:var(--green-soft);border-color:#cfe0d1}.purchase-calculation strong{color:var(--ink);font-size:14px}.purchase-calculation span{color:var(--muted);font-size:11px;font-weight:600;line-height:1.45}.field-error{color:#b33b32}.form-submit:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.form-submit{grid-column:1/-1;margin-top:7px}.section-action{border:1px solid var(--line);min-height:42px;color:var(--green-dark);background:#fff;border-radius:11px;align-items:center;gap:8px;margin-bottom:14px;padding:0 14px;font-size:12px;font-weight:800;display:inline-flex}.section-actions-row{flex-wrap:wrap;gap:10px;display:flex}.section-action:disabled{opacity:.45}.table-panel{padding:0;overflow:hidden}.table-panel .panel-heading{padding:20px}.herd-order-control{min-width:min(310px,100%);color:var(--muted);letter-spacing:.03em;text-transform:uppercase;gap:5px;font-size:10px;font-weight:800;display:grid}.herd-order-control select{border:1px solid var(--line);min-height:42px;color:var(--ink);font:inherit;letter-spacing:normal;text-transform:none;background:#fff;border-radius:11px;padding:0 12px;font-size:12px;font-weight:750}.herd-order-control select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft);outline:none}.herd-filter-panel{border-top:1px solid var(--line);background:#fafcfa;gap:12px;padding:16px 20px 18px;display:grid}.herd-filter-heading{color:var(--green-dark);align-items:center;gap:9px;display:flex}.herd-filter-heading>div{gap:2px;display:grid}.herd-filter-heading strong{font-size:13px}.herd-filter-heading small{color:var(--muted);font-size:11px}.herd-filter-grid{grid-template-columns:repeat(3,minmax(145px,1fr)) minmax(245px,1.3fr) auto;align-items:end;gap:10px;display:grid}.herd-filter-field,.herd-weight-filter{min-width:0;color:var(--muted);letter-spacing:.03em;text-transform:uppercase;border:0;gap:5px;margin:0;padding:0;font-size:10px;font-weight:800;display:grid}.herd-weight-filter legend{margin-bottom:5px;padding:0}.herd-weight-filter>div{grid-template-columns:minmax(82px,1fr) auto minmax(82px,1fr);align-items:center;gap:7px;display:grid}.herd-weight-filter>div>span{text-transform:lowercase;font-size:10px}.herd-filter-field select,.herd-weight-filter input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);font:inherit;letter-spacing:normal;text-transform:none;background:#fff;border-radius:10px;outline:none;padding:0 10px;font-size:12px;font-weight:700}.herd-filter-field select:focus,.herd-weight-filter input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.herd-clear-filters{border:1px solid var(--line);min-height:42px;color:var(--green-dark);font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:800;display:inline-flex}.herd-clear-filters:disabled{cursor:not-allowed;opacity:.45}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{color:var(--muted);letter-spacing:.03em;text-align:left;text-transform:uppercase;background:#f7f9f7;font-size:10px}th,td{border-top:1px solid var(--line);white-space:nowrap;padding:13px 18px}tbody tr:hover{background:#fafcfa}.delete-button{color:#a23b32;cursor:pointer;background:#fff8f7;border:1px solid #ecd8d5;border-radius:8px;align-items:center;gap:6px;padding:6px 9px;font-size:10px;font-weight:800;display:inline-flex}.delete-button:hover{background:#fbecea}.empty-state{min-height:220px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:25px;display:flex}.empty-state svg{color:#9cb29f}.empty-state h3{color:var(--ink);margin:12px 0 4px;font-size:14px}.empty-state p{max-width:350px;margin:8px 0;font-size:11px;line-height:1.5}.lot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.lot-analysis-toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.lot-analysis-toolbar>div:first-child{gap:4px;display:grid}.lot-analysis-toolbar h3{margin:0}.lot-analysis-toolbar small{color:var(--muted);font-size:11px}.lot-analysis-toolbar .period-tabs{flex:none}.lot-analysis-toolbar .period-tabs button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.lot-card{border-top:4px solid var(--green)}.lot-card-heading{min-width:0}.lot-card-label{color:var(--green-dark);letter-spacing:.07em;text-transform:uppercase;align-items:center;gap:6px;font-size:10px;font-weight:850;display:flex}.lot-card-heading h2{color:var(--ink);overflow-wrap:anywhere;margin:5px 0 13px;font-size:25px;line-height:1.1}.lot-card-heading h3{margin-top:0}.summary-row{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px;display:grid}.summary-card{border:1px solid var(--line);background:#fff;border-radius:15px;flex-direction:column;gap:7px;padding:18px;display:flex}.summary-card span{color:var(--muted);font-size:10px;font-weight:700}.summary-card strong{letter-spacing:-.03em;font-size:22px}.summary-card small{color:var(--muted);font-size:10px;line-height:1.4}.summary-card.positive-value strong{color:var(--green-dark)}.summary-card.negative-value strong{color:#a5362f}.report-card{align-items:center;gap:15px;display:flex}.report-card>svg{color:var(--green)}.report-card div{flex:1}.report-card h3,.settings-card h3{margin:0;font-size:15px}.report-card p,.settings-card p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.5}.settings-card{gap:18px;max-width:620px;display:grid}.settings-section{border-bottom:1px solid var(--line);grid-column:1/-1;margin-bottom:4px;padding-bottom:22px}.settings-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.monthly-costs{border-top:1px solid var(--line);grid-column:1/-1;margin-top:20px;padding-top:20px}.monthly-cost-form{align-items:end}.monthly-cost-form .primary-button{min-height:46px}.inheritance-alert{color:#735d1d;margin:12px 0 0;font-size:12px;font-weight:700}.cost-history{gap:8px;margin-top:18px;display:grid}.cost-history>div{border:1px solid var(--line);border-radius:12px;grid-template-columns:100px 1fr 1fr 1fr auto;align-items:center;gap:12px;min-height:44px;padding:8px 10px;font-size:13px;display:grid}@media (width<=700px){.cost-history>div{grid-template-columns:1fr auto}.cost-history>div span:nth-child(2),.cost-history>div span:nth-child(3),.cost-history>div span:nth-child(4){grid-column:1}.cost-history>div .delete-button{grid-area:1/2/5}}.assumption-note{background:var(--gold-soft);color:#735d1d;border-radius:12px;margin:14px 0 0;padding:12px 14px;font-size:12px;line-height:1.5}.result-positive{color:var(--green-dark);font-weight:800}.result-negative{color:#b23b32;font-weight:800}@media (width<=820px){.settings-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.formula-note{background:var(--gold-soft);border-color:#eadca8;margin-bottom:14px}.formula-note strong{font-size:12px}.formula-note p{color:#6f623e;margin:6px 0 0;font-size:11px;line-height:1.55}.ai-hero{background:linear-gradient(135deg,#eef6ee,#fff);align-items:center;gap:18px;display:flex}.ai-icon{background:var(--green-dark);color:#fff;border-radius:16px;flex:none;place-items:center;width:52px;height:52px;display:grid}.ai-hero h2{margin:0;font-size:21px}.ai-hero p:last-child{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.5}.coverage-chip{border:1px solid var(--line);color:var(--green-dark);white-space:nowrap;background:#fff;border-radius:999px;margin-left:auto;padding:8px 11px;font-size:10px;font-weight:800}.analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.analysis-card{border:1px solid var(--line);background:#fff;border-left-width:4px;border-radius:15px;padding:18px}.analysis-card.good{border-left-color:var(--green)}.analysis-card.warn{border-left-color:var(--gold)}.analysis-card.bad{border-left-color:#b94c43}.analysis-card>span{color:var(--muted);text-transform:uppercase;background:#f1f3f1;border-radius:999px;margin-bottom:10px;padding:5px 8px;font-size:9px;font-weight:800;display:inline-block}.analysis-card h3{margin:0;font-size:14px}.analysis-card p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.55}.analysis-card p strong{color:var(--ink)}.consultant-verdict{background:linear-gradient(135deg,#f0f7f0,#fff);border-color:#d7e5d8;margin-top:14px}.consultant-verdict h3{margin:3px 0 7px;font-size:18px}.consultant-verdict p:last-child{max-width:900px;color:var(--muted);margin:0;font-size:11px;line-height:1.6}.action-plan{margin-top:14px}.action-plan ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.action-plan li{border:1px solid var(--line);background:#fafcf9;border-radius:12px;align-items:flex-start;gap:10px;padding:13px;display:flex}.action-plan li>span{background:var(--green-dark);color:#fff;border-radius:8px;flex:none;place-items:center;width:24px;height:24px;font-size:10px;font-weight:900;display:grid}.action-plan li p{color:var(--muted);margin:2px 0 0;font-size:10px;line-height:1.5}.methodology-note{background:#fafaf7;margin-top:14px}.methodology-note strong{font-size:12px}.methodology-note p{color:var(--muted);margin:6px 0 10px;font-size:10px;line-height:1.5}.methodology-note div{flex-wrap:wrap;gap:8px;display:flex}.methodology-note a{background:var(--green-soft);color:var(--green-dark);border-radius:9px;padding:7px 9px;font-size:9px;font-weight:800}.period-controls{border:1px solid var(--line);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:8px;display:flex}.dashboard-period{flex-wrap:wrap;padding:12px}.dashboard-period>div:first-child{flex:1;min-width:240px}.dashboard-period>div:first-child>strong{margin-top:2px;font-size:16px;display:block}.dashboard-period>div:first-child>small{color:var(--muted);margin-top:4px;font-size:9px;line-height:1.4;display:block}.period-tabs{gap:5px;display:flex}.period-tabs button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 13px;font-size:11px;font-weight:800}.period-tabs button.active{background:var(--green-soft);color:var(--green-dark)}.period-controls select{border:1px solid var(--line);min-height:36px;color:var(--ink);background:#fff;border-radius:9px;padding:0 10px;font-size:11px;font-weight:700}.period-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.period-summary .summary-card{padding:14px}.market-heading{margin-bottom:12px}.market-actions,.market-region-switch{align-items:center;gap:8px;display:flex}.market-actions .section-action{text-decoration:none}.market-region-switch{margin-bottom:12px}.market-region-switch button{border:1px solid var(--line);background:var(--card);min-height:40px;color:var(--muted);cursor:pointer;border-radius:12px;padding:9px 16px;font-weight:700}.market-region-switch button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.market-status-note{color:#8a6414;margin:-4px 0 18px;font-size:.86rem}.female-market-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.female-market-grid .summary-card small{color:var(--muted);font-size:10px}.market-reference-weight{color:var(--green);margin-top:4px;font-size:.78rem;line-height:1.35;display:block}.female-market-note{margin-bottom:14px;padding:16px}.female-market-note strong{font-size:13px}.female-market-note p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.5}.ranking-head{grid-template-columns:1.5fr 1fr 1fr;gap:12px;margin-bottom:14px;display:grid}.ranking-lead{background:linear-gradient(135deg, var(--gold-soft), white);align-items:center;gap:14px;display:flex}.ranking-lead>svg{color:#a77f19}.ranking-lead div{flex-direction:column;gap:4px;display:flex}.ranking-lead span,.ranking-lead small{color:var(--muted);font-size:9px}.ranking-lead strong{font-size:22px}.rank-badge{background:#f1f3f1;border-radius:8px;place-items:center;min-width:34px;height:25px;font-size:10px;font-weight:900;display:inline-grid}.rank-1{color:#795a09;background:#f7e7a8}.rank-2{color:#56605a;background:#e8ece9}.rank-3{color:#815337;background:#f0d9c9}.top-rank{background:#fffdf7}.weight-chip{background:#f1f3f1;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800;display:inline-block}.weight-chip.fundo{color:#705f43;background:#f4f1eb}.weight-chip.meio{color:var(--green-dark);background:var(--green-soft)}.weight-chip.cabeceira{color:#8c6b19;background:var(--gold-soft)}.monthly-focus{background:linear-gradient(110deg,#eef6ee,#fff);border:1px solid #d6e4d7;border-radius:17px;grid-template-columns:1.5fr repeat(3,1fr);align-items:center;gap:12px;margin-top:14px;padding:17px;display:grid}.monthly-focus h2{margin:0;font-size:19px}.monthly-focus>div{flex-direction:column;gap:5px;display:flex}.monthly-focus>div>span,.monthly-focus small{color:var(--muted);font-size:9px}.monthly-focus>div>strong{font-size:19px}.monthly-result{border-left:3px solid var(--green);padding-left:13px}.monthly-result strong{color:var(--green-dark)}.trend-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.dual-chart{border-bottom:1px solid var(--line);grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;height:190px;padding:22px 8px 0;display:grid}.dual-column{flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;height:100%;display:flex}.dual-column>span{color:var(--muted);font-size:9px}.dual-bars{justify-content:center;align-items:end;gap:3px;width:100%;height:150px;display:flex}.dual-bars i{border-radius:5px 5px 1px 1px;width:30%;min-height:2px}.cost-bar{background:#c8ced0}.production-bar{background:var(--green)}.chart-legend{color:var(--muted);gap:15px;margin-top:10px;font-size:9px;display:flex}.chart-legend span{align-items:center;gap:5px;display:flex}.chart-legend i{border-radius:50%;width:7px;height:7px}.cost-dot{background:#c8ced0}.production-dot{background:var(--green)}.gmd-list{flex-direction:column;justify-content:center;gap:15px;min-height:220px;padding-top:15px;display:flex}.gmd-list>div{grid-template-columns:24px 1fr 145px;align-items:center;gap:9px;display:grid}.gmd-list span,.gmd-list strong{font-size:9px}.gmd-list strong{text-align:right}.gmd-list>div>i{background:#edf0ed;border-radius:8px;height:8px;overflow:hidden}.gmd-list b{border-radius:inherit;background:var(--gold);height:100%;display:block}@media (width<=1180px){.metric-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.herd-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){body{padding-bottom:72px}.sidebar{width:min(86vw,310px);transition:transform .22s;transform:translate(-105%);box-shadow:16px 0 45px #17201a26}.sidebar.open{transform:translate(0)}.table-panel .panel-heading:has(.herd-order-control){flex-direction:column;align-items:stretch}.herd-order-control{width:100%}.herd-filter-panel{padding:14px}.herd-filter-grid{grid-template-columns:1fr}.herd-clear-filters{width:100%}.close-menu{place-items:center;display:grid}.sidebar-scrim{z-index:29;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#151c1759;border:0;display:block;position:fixed;inset:0}.content-shell{margin-left:0}.topbar{height:62px;padding:0 16px;overflow:hidden}.menu-button{background:0 0;border:0;place-items:center;width:36px;height:36px;display:grid}.mobile-brand{align-items:center;gap:7px;min-width:0;display:flex}.mobile-brand img{object-fit:contain;flex:0 0 36px;width:36px;max-width:36px;height:36px;max-height:36px;display:block}.mobile-brand strong{font-size:14px}.farm-selector,.topbar-actions .connection{display:none}.avatar{width:35px;height:35px}.page-content{padding:24px 15px 32px}.page-intro{align-items:flex-start}.page-intro .intro-copy{max-width:260px}.page-intro .primary-button{width:42px;min-width:42px;padding:0}.page-intro .primary-button:not(:focus){gap:0;font-size:0}h1{font-size:29px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:9px}.metric-card{border-radius:15px;padding:14px 13px}.metric-card>span{margin-top:13px;font-size:10px}.metric-card>strong{font-size:23px}.insight-strip{grid-template-columns:auto 1fr}.insight-strip button{display:none}.panel{border-radius:16px;padding:16px}.quality-stats small{display:none}.quality-members{grid-template-columns:1fr}.mobile-nav{z-index:25;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);height:68px;padding-bottom:env(safe-area-inset-bottom);background:#fffffff5;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-nav button{color:#7b857e;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:9px;font-weight:700;display:flex}.mobile-nav button.active{color:var(--green-dark)}.form-grid,.lot-grid,.summary-row,.analysis-grid,.action-plan ol{grid-template-columns:1fr}.period-summary{grid-template-columns:repeat(2,1fr)}.female-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-heading{align-items:flex-start}.market-heading .section-action{padding:9px 10px}.market-heading,.market-actions{width:100%}.market-actions .section-action{flex:1;justify-content:center}.ranking-head,.monthly-focus{grid-template-columns:1fr 1fr}.monthly-focus>div:first-child{grid-column:1/-1}.trend-grid{grid-template-columns:1fr}.ranking-lead{grid-column:1/-1}.period-controls{flex-direction:column;align-items:stretch}.period-tabs{grid-template-columns:repeat(3,1fr);display:grid}.ai-hero{flex-wrap:wrap;align-items:flex-start}.coverage-chip{margin-left:70px}.report-card{flex-wrap:wrap;align-items:flex-start}.report-card .primary-button{width:100%}.bar-list>div{grid-template-columns:82px 1fr 76px}}@media (width<=380px){.metric-grid,.quality-track{grid-template-columns:1fr}.quality-segment{flex-direction:row;align-items:center;min-height:62px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.simulator-form,.closure-head{margin-bottom:14px}.simulator-form .form-grid,.pasture-form{margin-top:20px}.decision-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.decision-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.simulator-reference{color:var(--muted);flex-wrap:wrap;gap:8px 18px;margin-top:16px;font-size:12px;display:flex}.simulator-reference strong{color:var(--ink)}.simulator-details,.method-note{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.simulator-details summary,.method-note summary{cursor:pointer;color:var(--green-dark);font-size:12px;font-weight:800}.simulator-details .form-grid{margin-top:14px}.cost-warning{color:#765617;background:#fff3dc;border-radius:11px;margin:14px 0 0;padding:11px 13px;font-size:12px;font-weight:700}.cost-trace{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:14px;padding:18px 20px;display:grid}.cost-trace>div{border-right:1px solid var(--line);gap:4px;padding:0 18px;display:grid}.cost-trace>div:first-child{padding-left:0}.cost-trace>div:last-child{border-right:0;padding-right:0}.cost-trace span,.decision-section-title span{color:var(--muted);font-size:11px}.cost-trace small{color:var(--muted);font-size:10px}.decision-section-title{align-items:baseline;gap:10px;margin:18px 2px 10px;display:flex}.method-note{margin-top:16px}.method-note p{color:var(--muted);margin:9px 0 0;font-size:12px;line-height:1.55}.method-note a{color:var(--green-dark);margin-top:8px;font-size:11px;font-weight:800;display:inline-block}.decision-verdict.positive{background:var(--green-soft);border-color:#b8d8bd}.decision-verdict.negative{background:#fff4f1;border-color:#ebc7be}.decision-verdict small{color:var(--muted);font-size:9px;line-height:1.45}.check-field{color:var(--muted);align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.closure-head{justify-content:space-between;align-items:center;gap:18px;display:flex}.closure-head h2{margin:0;font-size:24px}.closure-head p:last-child{color:var(--muted);margin:6px 0 0;font-size:11px}.closure-head input{border:1px solid var(--line);border-radius:11px;min-height:42px;padding:0 12px}.status-chip.closed{background:var(--green-soft);color:var(--green-dark)}.reopen-box,.sync-box{align-items:center;gap:14px;margin:14px 0;display:flex}.reopen-box>div,.sync-box>div{flex:1}.reopen-box p,.sync-box small{color:var(--muted);margin:4px 0 0;font-size:10px;display:block}.reopen-box input{border:1px solid var(--line);border-radius:10px;min-height:40px;padding:0 11px}.section-action.danger{color:#9c3326;border-color:#ecc8c2}.operation-simulator{grid-template-columns:minmax(360px,.82fr) minmax(540px,1.18fr);align-items:start;gap:18px;display:grid}.operation-inputs{position:sticky;top:96px}.operation-inputs .form-grid{margin-top:20px}.operation-reset{margin-top:18px}.operation-results{min-width:0}.operation-profit{background:linear-gradient(135deg, var(--green-dark), var(--green));color:#fff;border-color:#b8d8bd;justify-content:center;min-height:138px;margin-bottom:12px}.operation-profit.negative-value{background:linear-gradient(135deg,#74372f,#a34d40);border-color:#d9a69b}.operation-profit span,.operation-profit small{color:#ffffffc2}.operation-profit.positive-value strong,.operation-profit.negative-value strong{color:#fff;letter-spacing:-.04em;margin:10px 0 7px;font-size:clamp(29px,4vw,44px)}.operation-primary{margin-bottom:4px}.operation-memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px;display:grid}.operation-memory-grid span{background:var(--green-soft);color:var(--muted);border-radius:10px;gap:5px;padding:11px;font-size:10px;display:grid}.operation-memory-grid strong{color:var(--ink);font-size:12px}@media (width<=760px){.operation-simulator{grid-template-columns:1fr}.operation-inputs{position:static}.operation-memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.decision-grid{grid-template-columns:1fr 1fr}.cost-trace{grid-template-columns:1fr}.cost-trace>div,.cost-trace>div:first-child,.cost-trace>div:last-child{border-right:0;border-bottom:1px solid var(--line);padding:10px 0}.cost-trace>div:last-child{border-bottom:0}.closure-head,.reopen-box,.sync-box{flex-direction:column;align-items:stretch}}@media (width<=420px){.decision-grid,.decision-grid.compact{grid-template-columns:1fr}.decision-section-title{flex-direction:column;align-items:flex-start;gap:3px}}.market-card-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.market-direction,.market-table-movement{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;width:fit-content;padding:7px 10px;font-size:11px;font-weight:850;display:inline-flex}.market-direction.compact{padding:4px 7px;font-size:9px}.market-direction.alta,.market-table-movement.alta,.market-trend-stats strong.alta,.market-history-strip small.alta{color:#286f3b;background:#e8f5eb}.market-direction.baixa,.market-table-movement.baixa,.market-trend-stats strong.baixa,.market-history-strip small.baixa{color:#a34432;background:#fff0ec}.market-direction.estavel,.market-table-movement.estavel,.market-trend-stats strong.estavel,.market-history-strip small.estavel{color:#886711;background:#fff7dc}.market-direction.insuficiente{color:var(--muted);background:#f0f2f0}.market-viability-panel{background:linear-gradient(145deg,#fbfdfb,#f3f8f4);border-color:#c8d8cb;margin:14px 0}.market-viability-heading{align-items:flex-start}.market-viability-heading h3{margin:4px 0 5px;font-size:21px}.market-viability-heading>svg{background:var(--green-soft);box-sizing:content-box;color:var(--green-dark);border-radius:12px;flex:none;padding:9px}.market-scenario-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px;display:grid}.market-scenario-tabs button{border:1px solid var(--line);min-width:0;color:var(--ink);cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px;display:flex}.market-scenario-tabs button.active{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:var(--green-soft);color:var(--green-dark)}.market-scenario-tabs button span{color:var(--muted);font-size:8px}.market-adjusted-scenario{color:#806116;background:#fff6da;border-radius:999px;grid-column:1/-1;width:fit-content;padding:5px 8px;font-size:8px;font-weight:800}.market-viability-controls{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:17px;padding:13px;display:grid}.market-viability-controls label{min-width:0}.market-viability-controls input{width:100%}.market-viability-missing{color:#805f12;background:#fffaf0;border:1px dashed #cfb86f;border-radius:13px;align-items:center;gap:11px;margin-top:14px;padding:16px;display:flex}.market-viability-missing p{color:var(--muted);margin:4px 0 0;font-size:10px}.market-viability-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px;display:grid}.market-viability-summary>div{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:5px;min-width:0;padding:13px;display:flex}.market-viability-summary span,.market-viability-summary small{color:var(--muted);font-size:9px}.market-viability-summary strong{font-size:13px;line-height:1.25}.market-operation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.market-operation-card{border:1px solid var(--line);background:#fff;border-top-width:4px;border-radius:14px;min-width:0;padding:14px}.market-operation-card.segura{border-top-color:#3b8a4d}.market-operation-card.moderada{border-top-color:#c59425}.market-operation-card.arriscada{border-top-color:#bf5c45}.market-operation-card.incompleta{border-top-color:#9ba49d}.market-operation-title{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.market-operation-title>div{min-width:0}.market-operation-title span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:8px;font-weight:800}.market-operation-title h4{margin:4px 0 0;font-size:14px;line-height:1.25}.market-risk-badge,.market-operation-badges span{white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;padding:5px 7px;font-size:8px;font-weight:850;display:inline-flex}.market-risk-badge.segura,.market-operation-badges .lucrativa,.market-operation-badges .compensa{color:#286f3b;background:#e8f5eb}.market-risk-badge.moderada,.market-operation-badges .apertada{color:#806116;background:#fff6da}.market-risk-badge.arriscada,.market-operation-badges .inviavel,.market-operation-badges .nao_compensa{color:#a34432;background:#fff0ec}.market-operation-detail{min-height:31px;color:var(--muted);margin:8px 0;font-size:9px;line-height:1.45}.market-final-weight{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:8px 0;font-size:9px;font-weight:750;display:flex}.market-final-weight span{align-items:center;gap:4px;display:flex}.market-final-weight input{border:1px solid var(--line);border-radius:8px;width:66px;min-height:31px;padding:4px 6px;font-weight:800}.market-operation-badges{flex-wrap:wrap;gap:5px;margin-top:10px;display:flex}.market-operation-numbers{grid-template-columns:1fr 1fr;gap:6px;margin-top:9px;display:grid}.market-operation-numbers>div{background:#f7f9f7;border-radius:9px;flex-direction:column;gap:3px;min-width:0;padding:8px;display:flex}.market-operation-numbers span,.market-operation-numbers small{color:var(--muted);font-size:7px;line-height:1.3}.market-operation-numbers strong{font-size:11px;line-height:1.25}.positive-text{color:#286f3b}.negative-text{color:#a34432}.market-intensity-note{background:#fffaf0;border-left:3px solid #c59425;border-radius:7px;flex-direction:column;gap:4px;margin-top:9px;padding:8px 9px;display:flex}.market-intensity-note.compensa{background:#f1f8f2;border-left-color:#3b8a4d}.market-intensity-note.nao_compensa{background:#fff5f2;border-left-color:#bf5c45}.market-intensity-note span{color:var(--muted);font-size:8px;line-height:1.45}.market-operation-empty{color:var(--muted);background:#f3f5f3;border-radius:10px;flex-direction:column;gap:5px;margin-top:10px;padding:13px;font-size:9px;display:flex}.market-viability-method{color:var(--muted);margin:13px 0 0;font-size:9px;line-height:1.55}.market-viability-method a{color:var(--green-dark);font-weight:750}.market-trend-panel{margin:14px 0}.market-trend-heading{align-items:center}.market-trend-heading h3{margin-top:4px;font-size:19px}.market-category-tabs{gap:7px;margin-top:18px;padding-bottom:3px;display:flex;overflow-x:auto}.market-category-tabs button{border:1px solid var(--line);min-height:37px;color:var(--muted);cursor:pointer;background:#fff;border-radius:10px;flex:none;padding:8px 12px;font-size:10px;font-weight:800}.market-category-tabs button.active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.market-trend-layout{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:22px;margin-top:14px;display:grid}.market-trend-chart{border:1px solid var(--line);border-radius:14px;min-width:0;padding:10px 13px 8px}.market-trend-chart .spark{height:150px;margin:0}.market-chart-axis{color:var(--muted);justify-content:space-between;font-size:9px;display:flex}.market-trend-stats{grid-template-columns:1fr 1fr;gap:8px;display:grid}.market-trend-stats>div{border:1px solid var(--line);border-radius:12px;flex-direction:column;min-width:0;padding:12px;display:flex}.market-trend-stats span{color:var(--muted);font-size:9px}.market-trend-stats strong{border-radius:7px;width:fit-content;margin-top:5px;font-size:15px}.market-trend-stats small{color:var(--muted);margin-top:4px;font-size:8px}.market-trend-empty{color:var(--green-dark);border:1px dashed #cad3cb;border-radius:14px;align-items:center;gap:13px;margin-top:14px;padding:20px;display:flex}.market-trend-empty p{color:var(--muted);margin:4px 0 0;font-size:11px}.market-history-strip{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:7px;margin-top:13px;display:grid}.market-history-strip>div{border-left:3px solid var(--line);flex-direction:column;gap:4px;padding:6px 8px;display:flex}.market-history-strip span,.market-history-strip small{color:var(--muted);font-size:8px}.market-history-strip small{border-radius:5px;width:fit-content;padding:2px 4px}.market-trend-method{color:var(--muted);margin:13px 0 0;font-size:9px;line-height:1.5}.market-table-movement{padding:4px 7px;font-size:9px}.market-movement-empty{color:var(--muted);font-size:9px}@media (width<=840px){.market-scenario-tabs,.market-viability-controls,.market-operation-grid{grid-template-columns:1fr 1fr}.market-trend-layout{grid-template-columns:1fr}}@media (width<=520px){.market-viability-heading{align-items:flex-start}.market-viability-controls,.market-viability-summary,.market-operation-grid,.market-scenario-tabs{grid-template-columns:1fr}.market-operation-detail{min-height:0}.market-trend-heading{flex-direction:column;align-items:flex-start}.market-trend-stats,.market-history-strip{grid-template-columns:repeat(2,1fr)}}body{font-size:15px;line-height:1.45}.login-card{width:min(100%,450px);padding:34px}.login-intro strong{font-size:14px}.login-intro span,.login-form>small{font-size:12px;line-height:1.5}.login-form label{font-size:13px}.login-error{font-size:12px}.page-content{max-width:1540px;padding-top:34px}.brand strong{font-size:18px}.brand span,.farm-selector>span,.connection{font-size:13px}.sidebar nav button,.sidebar-footer>button{min-height:45px;font-size:14px}.sidebar nav .nav-group-toggle{min-height:43px;font-size:14px}.sidebar nav .nav-subitems button{min-height:40px;font-size:13px}.eyebrow{font-size:12px}h1{font-size:clamp(31px,3vw,42px)}.intro-copy{font-size:15px;line-height:1.5}.primary-button{min-height:45px;padding-inline:18px;font-size:14px}.section-action{min-height:43px;font-size:13px}.panel{padding:22px}.panel-heading h3,.report-card h3,.settings-card h3,.analysis-card h3{font-size:16px}.panel-heading p,.report-card p,.settings-card p,.analysis-card p,.formula-note p,.ai-hero p:last-child,.consultant-verdict p:last-child,.female-market-note p,.closure-head p:last-child,.methodology-note p,.method-note p{font-size:12px;line-height:1.55}.metric-grid{gap:14px}.metric-card{padding:18px 17px 16px}.metric-card>span{margin-top:16px;font-size:12px}.metric-card>strong{font-size:clamp(23px,2vw,29px)}.metric-card>small{font-size:11px}.metric-icon{width:36px;height:36px}.insight-strip{padding:14px 17px}.insight-strip strong,.insight-strip p,.insight-strip button{font-size:13px}.field{gap:8px;font-size:12px}.field input,.field select,.backup-schedule select,.period-controls select{min-height:45px;font-size:15px}.field small{min-height:17px;font-size:12px;line-height:1.4}table{font-size:13px}th{font-size:11px}th,td{padding:14px 17px}.delete-button{min-height:38px;font-size:12px}.empty-state h3{font-size:16px}.empty-state p,.empty-copy,.market-empty span{font-size:12px}.market-empty strong{font-size:15px}.market-empty button,.decision-ranking-head,.quick-session-date label{font-size:12px}.ranking-position,.quick-session-list li b,.ranking-footnote{font-size:13px}.ranking-list li small,.ranking-controls small,.quick-session-list li small,.quick-session-list li>span{font-size:12px}.period-button,.period-tabs button,.simulator-details summary,.method-note summary{font-size:13px}.dashboard-period>div:first-child>small,.simulator-reference,.cost-warning,.inheritance-alert,.assumption-note,.quality-segment span,.lot-card-label{font-size:12px}.quality-segment strong{font-size:26px}.status-chip,.rank-badge,.weight-chip{font-size:11px}.quality-stats span,.quality-stats small{font-size:12px}.quality-stats strong{font-size:20px}.quality-members>div>strong,.quality-members li span,.quality-members li small,.quality-members>div>small{font-size:12px}.lot-card-heading h2{font-size:27px}.summary-card span,.summary-card small,.female-market-grid .summary-card small{font-size:12px}.summary-card strong{font-size:23px}.period-summary .summary-card strong{font-size:18px}.formula-note strong,.methodology-note strong{font-size:13px}.coverage-chip,.analysis-card>span,.action-plan li>span,.action-plan li p,.methodology-note a{font-size:12px}.ai-hero h2{font-size:22px}.consultant-verdict h3{font-size:19px}.ranking-lead span,.ranking-lead small,.monthly-focus>div>span,.monthly-focus small,.dual-column>span,.chart-legend,.gmd-list span,.gmd-list strong,.bar-list>div,.bar-list strong,.chart-caption,.empty-message{font-size:11px}.ranking-lead strong,.monthly-focus>div>strong{font-size:21px}.cost-trace span,.decision-section-title span,.cost-trace small,.decision-verdict small,.check-field,.reopen-box p,.sync-box small{font-size:12px}.cost-trace strong{font-size:20px}.decision-section-title strong{font-size:16px}.operation-memory-grid span{font-size:12px}.operation-memory-grid strong{font-size:14px}.market-direction,.market-table-movement,.market-direction.compact{font-size:12px}.market-scenario-tabs button{min-height:58px;padding:12px}.market-scenario-tabs button strong{font-size:13px}.market-scenario-tabs button span,.market-adjusted-scenario{font-size:11px}.market-viability-controls{padding:14px}.market-viability-missing p{font-size:12px}.market-viability-summary>div{padding:14px}.market-viability-summary span,.market-viability-summary small{font-size:12px}.market-viability-summary strong{font-size:15px}.market-operation-card{padding:16px}.market-operation-title span{font-size:11px}.market-operation-title h4{font-size:16px}.market-risk-badge,.market-operation-badges span{padding:5px 8px;font-size:11px}.market-operation-detail{min-height:37px;font-size:12px;line-height:1.5}.market-final-weight{padding-block:9px;font-size:12px}.market-final-weight input{width:78px;min-height:36px;font-size:14px}.market-operation-numbers{gap:9px}.market-operation-numbers>div{gap:5px;padding:12px}.market-operation-numbers span,.market-operation-numbers small{font-size:11px;line-height:1.4}.market-operation-numbers strong{font-size:15px}.market-intensity-note{padding:9px 10px}.market-intensity-note strong{font-size:12px}.market-intensity-note span,.market-operation-empty,.market-viability-method,.market-trend-method{font-size:11px}.market-category-tabs button{min-height:42px;font-size:12px}.market-chart-axis,.market-trend-stats span,.market-trend-stats small,.market-history-strip span,.market-history-strip small,.market-movement-empty{font-size:12px}.market-trend-stats strong{font-size:16px}.market-trend-empty p{font-size:12px}.market-history-strip strong{font-size:14px}@media (width>=761px){.sidebar{width:268px;padding-inline:17px}.content-shell{margin-left:268px}}@media (width<=1380px) and (width>=761px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lot-grid{grid-template-columns:1fr}}@media (width<=760px){body{font-size:15px}.page-content{padding:24px 15px 34px}h1{font-size:31px}.intro-copy{max-width:none;font-size:15px}.panel{padding:17px}.lot-analysis-toolbar{flex-direction:column;align-items:stretch}.lot-analysis-toolbar .period-tabs{width:100%}.lot-analysis-toolbar .period-tabs button{flex:1}.metric-card>span{font-size:12px}.metric-card>strong{font-size:23px}.mobile-brand strong{font-size:15px}.mobile-nav button{min-height:46px;font-size:11px}.market-operation-card{padding:15px}}.import-panel,.herd-correction-panel{gap:18px;display:grid}.import-heading{align-items:center}.import-heading p:not(.eyebrow){max-width:760px}.file-button{cursor:pointer;flex:none}.primary-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.import-empty{min-height:180px;color:var(--muted);text-align:center;background:#fafcfa;border:1px dashed #cbd7cc;border-radius:15px;align-content:center;place-items:center;gap:7px;display:grid}.import-empty svg{color:var(--green)}.import-empty strong{color:var(--ink)}.import-empty span{font-size:12px}.import-file-meta{background:var(--green-soft);color:var(--green-dark);border-radius:11px;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:11px 13px;font-size:12px;font-weight:700;display:flex}.import-file-meta span{align-items:center;gap:7px;display:inline-flex}.import-errors{color:#8e3c2c;background:#fff5f2;border:1px solid #efcec5;border-radius:13px;align-items:flex-start;gap:11px;padding:13px 14px;display:flex}.import-errors>div{gap:3px;display:grid}.import-errors strong{margin-bottom:3px}.import-errors span{font-size:12px}.missing-identifier-alert{color:#8e2f1d;background:#fff1ed;border:2px solid #d95f42;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid;box-shadow:0 5px 18px #8e2f1d14}.missing-identifier-alert>svg{flex:none}.missing-identifier-alert>div:not(.missing-identifier-actions){gap:3px;display:grid}.missing-identifier-alert strong{font-size:14px}.missing-identifier-alert span{font-size:12px;line-height:1.45}.missing-identifier-actions{align-items:center;gap:8px;display:flex}.import-summary{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;display:grid}.import-summary>div{border:1px solid var(--line);background:#fafcfa;border-radius:12px;gap:2px;padding:12px 13px;display:grid}.import-summary strong{font-size:21px}.import-summary span{color:var(--muted);font-size:11px}.batch-animal-profile{background:#fbfdfb;border:1px solid #cfe0d1;border-radius:15px;gap:14px;padding:15px;display:grid}.batch-profile-heading{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.batch-profile-heading h4{margin:3px 0 0;font-size:16px}.batch-profile-heading>span{max-width:430px;color:var(--muted);text-align:right;font-size:11px;line-height:1.45}.batch-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.batch-profile-grid .field{min-width:0}.batch-purchase-summary{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;display:flex}.batch-purchase-summary.arroba{background:var(--green-soft);border-color:#cfe0d1}.batch-purchase-summary>div{gap:2px;display:grid}.batch-purchase-summary span,.batch-purchase-summary small{color:var(--muted);font-size:11px}.batch-purchase-summary strong{font-size:18px}.batch-purchase-summary small{text-align:right;max-width:520px;line-height:1.45}.batch-profile-apply{background:#fffbec;border:1px solid #e3d6ab;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 13px;display:flex}.batch-profile-apply.applied{background:var(--green-soft);border-color:#bad3be}.batch-profile-apply>div{gap:3px;min-width:0;display:grid}.batch-profile-apply strong{font-size:13px}.batch-profile-apply small{color:var(--muted);font-size:11px;line-height:1.45}.batch-profile-apply .primary-button{flex:none}.batch-correction-bar{border:1px solid var(--line);background:#f8faf8;border-radius:13px;flex-wrap:wrap;align-items:center;gap:9px;padding:11px;display:flex}.batch-correction-bar strong{margin-right:3px;font-size:12px}.batch-correction-bar input,.batch-correction-bar select,.table-search input,.import-preview-table input,.import-preview-table select,.correction-measurement-row input{border:1px solid var(--line);min-height:39px;color:var(--ink);background:#fff;border-radius:9px;outline:none;padding:0 10px}.batch-correction-bar input:focus,.batch-correction-bar select:focus,.table-search input:focus,.import-preview-table input:focus,.import-preview-table select:focus,.correction-measurement-row input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.import-preview-table{border:1px solid var(--line);border-radius:13px;max-height:520px}.import-preview-table thead{z-index:2;position:sticky;top:0}.import-preview-table th,.import-preview-table td{padding:8px 10px}.import-preview-table td>input:not([type=checkbox]),.import-preview-table td>select{min-width:118px}.import-preview-table td input[type=datetime-local]{min-width:190px}.individual-profile-button{background:var(--green-soft);min-width:245px;color:var(--green-dark);cursor:pointer;text-align:left;border:1px solid #cfe0d1;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;display:flex}.individual-profile-button>span{gap:2px;display:grid}.individual-profile-button strong{font-size:11px}.individual-profile-button small{color:var(--muted);font-size:10px}.profile-not-applied{min-width:150px;color:var(--muted);font-size:11px;display:inline-block}.individual-profile-note{background:var(--green-soft);color:var(--green-dark);border-radius:11px;grid-column:1/-1;margin:0;padding:11px 12px;font-size:12px;line-height:1.5}.import-row-error{background:#fff8f6}.import-row-skip{background:#fafafa}.import-row-missing-identifier{background:#ffede8;box-shadow:inset 5px 0 #cf462a}.import-row-missing-identifier:hover{background:#ffe3dc}.missing-row-number{color:#fff;background:#a93520;border-radius:999px;justify-content:center;min-width:31px;padding:5px 8px;font-weight:900;display:inline-flex}.import-preview-table .missing-identifier-input{color:#8e2f1d;background:#fff8f6;border:2px solid #cf462a;min-width:170px;font-weight:850}.import-preview-table .missing-identifier-input::placeholder{color:#a93520;opacity:1}.delete-preview-row{color:#9a3f2b;min-height:36px;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e0b8ad;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:11px;font-weight:800;display:inline-flex}.delete-preview-row:hover{background:#fff3f0;border-color:#bd4e34}.delete-preview-row.urgent{color:#fff;background:#a93520;border-color:#a93520}.delete-preview-row.urgent:hover{background:#842817}.import-status{border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.import-status.new{background:var(--green-soft);color:var(--green-dark)}.import-status.create{background:var(--gold-soft);color:#7d6218}.import-status.skip{color:var(--muted);background:#f0f2f0}.import-status.error{color:#9a3f2b;background:#fff0ec}.missing-animal-option{color:#735a17;cursor:pointer;background:#fffbec;border:1px solid #eadba7;border-radius:13px;grid-template-columns:auto auto 1fr;align-items:center;gap:11px;padding:13px 14px;display:grid}.missing-animal-option.enabled{background:var(--green-soft);color:var(--green-dark);border-color:#a9c6ad}.missing-animal-option input{width:18px;height:18px}.missing-animal-option span{gap:2px;display:grid}.missing-animal-option small{color:var(--muted);font-size:11px;line-height:1.45}.weighing-profile-lock{background:var(--green-soft);color:var(--green-dark);border:1px solid #cfe0d1;border-radius:13px;align-items:flex-start;gap:11px;padding:13px 14px;display:flex}.weighing-profile-lock>svg{flex:none}.weighing-profile-lock span{gap:2px;display:grid}.weighing-profile-lock small{color:var(--muted);font-size:11px;line-height:1.45}.weighing-row-warning{background:#fffaf0}.weighing-change{color:var(--ink);white-space:nowrap;gap:2px;font-size:12px;font-weight:800;display:grid}.weighing-change small{color:var(--muted);font-size:9px;font-weight:650}.weighing-change.warning,.weighing-change.warning small{color:#8a6815}.weighing-action-bar{flex-wrap:wrap;gap:9px;margin-bottom:14px;display:flex}.weighing-action-bar .primary-button,.weighing-action-bar .section-action{margin:0}.import-commit-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.import-commit-row span{color:var(--muted);font-size:12px}.table-search{color:var(--muted);align-items:center;gap:7px;display:flex}.table-search input{min-width:220px}.compact-action{min-height:36px;margin:0}.table-wrap td .compact-action+.delete-button{margin-left:7px}.weighing-correction-note{color:var(--muted);background:#f7f9f7;border-radius:10px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:12px;line-height:1.5}.correction-guide{align-items:center;gap:13px;display:flex}.correction-guide>svg{color:var(--green);flex:none}.correction-guide>div{flex:1;gap:3px;display:grid}.correction-guide span{color:var(--muted);font-size:12px}.animal-correction-form{gap:18px;display:grid}.animal-correction-form .form-submit{width:100%}.correction-measurements{border-top:1px solid var(--line);gap:9px;padding-top:15px;display:grid}.correction-measurements>div:first-child{justify-content:space-between;gap:12px;display:flex}.correction-measurements>div:first-child span{color:var(--muted);font-size:11px}.correction-measurement-row{grid-template-columns:86px minmax(190px,1fr) 110px auto;align-items:center;gap:8px;display:grid}.modal:has(.animal-correction-form){width:min(760px,100%)}@media (width<=760px){.import-heading,.import-commit-row,.herd-correction-panel .panel-heading{flex-direction:column;align-items:stretch}.file-button,.import-commit-row .primary-button,.table-search input{width:100%}.weighing-action-bar{grid-template-columns:1fr;display:grid}.weighing-action-bar button{width:100%}.import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-profile-heading,.batch-purchase-summary,.batch-profile-apply{flex-direction:column;align-items:stretch}.batch-profile-heading>span,.batch-purchase-summary small{text-align:left;max-width:none}.batch-profile-grid{grid-template-columns:1fr}.batch-profile-apply .primary-button{width:100%}.missing-animal-option{grid-template-columns:auto 1fr}.missing-animal-option>svg{display:none}.missing-identifier-alert{grid-template-columns:auto 1fr;align-items:start}.missing-identifier-actions{grid-column:1/-1;grid-template-columns:1fr;display:grid}.missing-identifier-actions button,.batch-correction-bar>input,.batch-correction-bar>select,.batch-correction-bar>button{width:100%}.correction-measurements>div:first-child{flex-direction:column}.correction-measurement-row{grid-template-columns:1fr 70px}.correction-measurement-row b,.correction-measurement-row input[type=datetime-local]{grid-column:1/-1}.correction-guide{flex-direction:column;align-items:stretch}.correction-guide .section-action{width:100%}}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #39744233}.farm-context{gap:2px;display:grid}.farm-context span{color:var(--muted);font-size:11px;font-weight:700}.farm-context strong{letter-spacing:-.01em;font-size:14px}.sync-status{border:1px solid var(--line);min-height:40px;color:var(--muted);cursor:pointer;background:#fafbf9;border-radius:999px;align-items:center;gap:8px;padding:0 12px;font-size:12px;font-weight:750;display:inline-flex}.sync-status.online svg{color:var(--green)}.sync-status.offline svg{color:#a37b17}.sync-status:disabled{cursor:wait}.sync-spinning{animation:.8s linear infinite login-spin}.home-operations{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:14px;margin-bottom:16px;display:grid}@media (width>=1181px){.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid .metric-card:last-child{grid-column:span 2}}.routine-card,.attention-card,.onboarding-card{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:20px}.onboarding-card{background:linear-gradient(100deg,#f2f8f2,#fff 62%);border-color:#cfe0d1;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;display:grid}.onboarding-icon{width:52px;height:52px;color:var(--green-dark);background:#fff;border-radius:15px;place-items:center;display:grid;box-shadow:0 6px 18px #25572e17}.onboarding-card h2,.home-section-heading h2{letter-spacing:-.02em;margin:0;font-size:18px}.onboarding-card p:not(.eyebrow){max-width:680px;color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.5}.onboarding-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.onboarding-actions .section-action{margin:0}.home-section-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.home-section-heading>span{color:var(--muted);white-space:nowrap;background:#f1f3f1;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.routine-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;display:grid}.routine-action{border:1px solid var(--line);min-height:75px;color:var(--ink);cursor:pointer;text-align:left;background:#fafbf9;border-radius:13px;grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:2px 10px;padding:11px 12px;transition:border-color .16s,background .16s,transform .16s;display:grid}.routine-action:hover{background:var(--green-soft);border-color:#bfd3c2;transform:translateY(-1px)}.routine-action>span{width:38px;height:38px;color:var(--green-dark);border:1px solid var(--line);background:#fff;border-radius:11px;grid-row:1/3;place-items:center;display:grid}.routine-action.featured{background:var(--green-soft);border-color:#b8d1bc}.routine-action strong{font-size:13px}.routine-action small{color:var(--muted);font-size:11px}.attention-list{gap:7px;margin-top:16px;display:grid}.attention-list>button{color:#735a17;cursor:pointer;text-align:left;background:#fffbec;border:1px solid #eadba7;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 10px;display:grid}.attention-list>button span{gap:2px;min-width:0;display:grid}.attention-list>button strong{font-size:12px;line-height:1.35}.attention-list>button small{color:#817146;font-size:10px;line-height:1.35}.attention-empty,.attention-offline{background:var(--green-soft);min-height:56px;color:var(--green-dark);border-radius:12px;align-items:center;gap:9px;padding:10px 12px;font-size:12px;font-weight:750;display:flex}.attention-offline{color:#705f43;background:#f4f1eb}.attention-count.warning{background:var(--gold-soft);color:#806216}@media (width<=1080px){.home-operations{grid-template-columns:1fr}}@media (width<=760px){.farm-context{display:none}.sync-status{justify-content:center;width:38px;min-width:38px;padding:0}.sync-status span{display:none}.page-intro{flex-direction:column;align-items:stretch;margin-bottom:18px}.page-intro .primary-button{width:100%;min-width:0;padding:0 16px}.page-intro .primary-button:not(:focus){gap:9px;font-size:14px}.routine-card,.attention-card,.onboarding-card{padding:16px}.onboarding-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.onboarding-actions{grid-column:1/-1;grid-template-columns:1fr;display:grid}.onboarding-actions button{width:100%}.routine-actions{gap:8px}.routine-action{grid-template-columns:34px minmax(0,1fr);min-height:92px;padding:10px}.routine-action>span{width:34px;height:34px}.routine-action strong{font-size:12px;line-height:1.25}.routine-action small{font-size:10px}}@media (width<=390px){.routine-actions{grid-template-columns:1fr}.routine-action{min-height:70px}}:where(button,input,select,summary,a,[tabindex]):focus-visible{outline-offset:3px;outline:3px solid #146d43}.data-review-panel,.compact-empty,.archive-panel{background:#fff;border:1px solid #c9d9ce;border-radius:12px;margin:12px 0;padding:18px}.data-review-panel p{margin:8px 0;line-height:1.6}.data-review-panel button,.compact-empty button,.archive-panel button{color:#195736;padding:5px 8px;text-decoration:underline}.metric-card strong{overflow-wrap:anywhere;font-size:clamp(1.1rem,2vw,1.8rem)}.weight-warning{color:#8c380c;white-space:normal;font-size:12px;line-height:1.35;display:block}.scroll-hint{color:#425d4d;padding:0 20px;font-size:14px}.animal-actions button{color:#234b35;background:#fff;border:1px solid #bdcec3;border-radius:6px;padding:8px 12px}.herd-scroll{scrollbar-width:auto;scrollbar-color:#5d806b #e8eee9;max-height:65vh;overflow:auto}.herd-scroll table{border-collapse:separate;border-spacing:0}.herd-scroll th{z-index:3;background:#edf3ee;position:sticky;top:0}.herd-scroll :is(th,td):nth-child(-n+4){z-index:2;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;background:#fff;position:sticky}.herd-scroll th:nth-child(-n+4){z-index:4;background:#edf3ee}.herd-scroll :is(th,td):first-child{width:78px;min-width:78px;max-width:78px;left:0}.herd-scroll :is(th,td):nth-child(2){width:100px;min-width:100px;max-width:100px;left:78px}.herd-scroll :is(th,td):nth-child(3){width:90px;min-width:90px;max-width:90px;left:178px}.herd-scroll :is(th,td):nth-child(4){width:164px;min-width:164px;max-width:164px;left:268px;box-shadow:3px 0 3px #0001}.animal-actions{min-width:150px}.animal-actions summary{cursor:pointer;padding:8px}.animal-actions small{display:block}.area-settings,.weight-settings{border:1px solid #c9d9ce;border-radius:12px;margin:16px 0;padding:18px}.range-row{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.range-row label{gap:4px;display:grid}.range-row input{max-width:130px}@media (width<=600px){.herd-scroll{max-height:none;overflow:visible}.herd-scroll table,.herd-scroll tbody{width:100%;min-width:0;display:block}.herd-scroll thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.herd-scroll tr{border:1px solid #c9d9ce;border-radius:10px;grid-template-columns:1fr 1fr;margin:12px;padding:8px;display:grid}.herd-scroll td,.herd-scroll td:nth-child(-n+4){width:auto;min-width:0;max-width:none;box-shadow:none;white-space:normal;padding:8px;display:block;position:static}.herd-scroll td:before{content:attr(data-label);color:#536a5c;margin-bottom:4px;font-size:12px;display:block}.herd-scroll td:nth-child(n+5){border-top:1px solid #edf1ee}.herd-scroll td:last-child{grid-column:1/-1}.herd-panel .scroll-hint{display:none}}.home-operations .attention-card{order:-1}.dashboard-grid .chart-panel:has(.compact-empty){min-height:0}.weight-warning button{color:inherit;text-decoration:underline}.herd-scroll .herd-gmd{background:#f0f6f2;font-weight:700}.weighing-change>strong{font-size:1.05em}.pregnant-animal-name{color:#7c3aed;background:#f3e8ff;border-radius:6px;padding:3px 7px;font-weight:800;display:inline-block}.pregnancy-badge{color:#6d28d9;margin-top:4px;font-size:11px;font-weight:650;display:block}.pregnancy-panel form{margin-bottom:24px}.pregnancy-panel td select{background:#fff;border:1px solid #d8dfda;border-radius:8px;max-width:190px;padding:8px}.pregnancy-panel td small{display:block}.herd-analysis-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0;display:grid}.herd-analysis-card{text-align:left;cursor:pointer;font:inherit;border:1px solid #d8dfda}.herd-analysis-card.selected{background:#eff8f1;border:2px solid #276b43}.herd-analysis-card:focus-visible{outline-offset:2px;outline:3px solid #7c3aed}.herd-analysis-summary{border-top:1px solid #e1e7e2;padding-top:18px}@media (width<=600px){.herd-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herd-analysis-card{padding:13px}}.animal-history-link{color:#276b43;font:inherit;cursor:pointer;background:0 0;border:0;padding:5px 0;font-weight:750;text-decoration:none}.animal-history-link:focus-visible{outline-offset:3px;outline:2px solid #7c3aed}.animal-history-summary{flex-wrap:wrap;justify-content:space-between;gap:12px;margin:12px 0 20px;display:flex}.animal-history-table{max-height:65vh;overflow:auto}.animal-history-table table{min-width:730px}.animal-history-table th{z-index:1;background:#f0f4f1;position:sticky;top:0}.modal.animal-history-modal{width:min(1120px,100%)}.animal-history-modal .animal-history-table table{width:100%;min-width:900px}.animal-history-modal .animal-history-table th{white-space:normal}.animal-history-modal .animal-history-table th,.animal-history-modal .animal-history-table td{padding:14px 12px}.weighing-table-controls{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}@media (width<=600px){.weighing-table-controls,.weighing-table-controls>label,.weighing-table-controls select{width:100%}}.animal-history-row{cursor:pointer}.animal-history-row:hover td,li.animal-history-row:hover{background:#f0f7f2}.animal-history-row:focus-visible{outline-offset:-2px;outline:2px solid #276b43}.herd-analysis-panel .herd-analysis-summary{border:0;grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0 12px;padding:0}.herd-analysis-summary .summary-card{background:#eff6f1;border-color:#cddfd2;padding:20px}.herd-analysis-summary .summary-card strong{color:var(--green-dark);font-size:30px}.herd-analysis-panel .herd-analysis-secondary{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 24px}.herd-analysis-secondary .summary-card{background:#f7f9f7;padding:14px 16px}.herd-analysis-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px 24px;display:grid}.herd-analysis-group{border-top:1px solid var(--line);min-width:0;padding-top:14px}.herd-analysis-group h4{color:var(--green-dark);margin:0 0 10px;font-size:14px}.herd-analysis-group .herd-analysis-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.herd-analysis-group .herd-analysis-card{border-width:2px;border-radius:12px;gap:8px;padding:14px}.herd-analysis-card span{line-height:1.4}.herd-analysis-group-desempenho .herd-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herd-analysis-group-conferencia{grid-column:1/-1}.herd-analysis-group-conferencia .herd-analysis-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=900px){.herd-analysis-groups{grid-template-columns:1fr;gap:20px}}@media (width<=600px){.herd-analysis-summary .summary-card{padding:14px}.herd-analysis-summary .summary-card strong{font-size:23px}.herd-analysis-panel .herd-analysis-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.herd-analysis-secondary .summary-card:last-child{grid-column:1/-1}.herd-analysis-group .herd-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herd-analysis-group .herd-analysis-card{padding:12px}}
