:root{color-scheme:light;--color-background: #f5f0e3;--color-surface: #fffdf8;--color-surface-strong: #ffffff;--color-primary: #1f6325;--color-primary-dark: #164a1c;--color-secondary: #a97b3f;--color-text: #203126;--color-text-soft: #6d786f;--color-border: #dfd4bc;--color-danger: #b54534;--shadow-card: 0 12px 30px rgba(52, 71, 43, .08);--radius-lg: 18px;--radius-md: 12px;--radius-sm: 10px;--font-display: "Trebuchet MS", "Segoe UI", sans-serif;--font-body: "Verdana", "Segoe UI", sans-serif}*{box-sizing:border-box}html{font-size:18px}body{margin:0;min-width:320px;min-height:100vh;font-family:var(--font-body);color:var(--color-text);background:radial-gradient(circle at top left,rgba(170,138,73,.12),transparent 24%),linear-gradient(180deg,#f8f3e8,#f4efdf)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}#root{min-height:100vh}.app-shell{display:grid;grid-template-columns:172px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:.7rem;padding:.7rem .4rem;background:linear-gradient(180deg,#1f6325,#1b5a20);color:#f8f6ef;overflow:hidden}.sidebar__brand{display:grid;justify-items:center;gap:.35rem;padding:.7rem .55rem .65rem;border-radius:12px;background:transparent;border:0}.sidebar__brand-mark{display:grid;place-items:center}.sidebar__brand-svg{width:92px;height:auto;display:block;filter:brightness(0) invert(1)}.sidebar__brand h1{margin:0;font-family:var(--font-display);width:100%;text-align:center;font-size:.95rem;line-height:1.15}.sidebar__brand p{margin:0;width:100%;text-align:center;color:#f8f6efe0;font-size:.71rem}.sidebar__nav{display:grid;gap:.38rem;padding:0 .15rem}.nav-link{display:flex;align-items:center;gap:.55rem;width:100%;min-height:38px;padding:.72rem .8rem;border-radius:8px;border:1px solid transparent;font-weight:700;font-size:.72rem;background:transparent;transition:transform .12s ease,background .12s ease,color .12s ease}.nav-link:hover,.nav-link:focus-visible{transform:translateY(-1px);background:#ffffff0f}.nav-link.active{background:#fffdf7;color:#15451a;border-color:#14451a14}.nav-link--placeholder{opacity:.98}.nav-link__icon{display:inline-grid;place-items:center;width:18px;height:18px;flex:0 0 auto}.nav-link__svg{width:18px;height:18px}.sidebar__menu-divider{height:1px;margin:.18rem .8rem .12rem;background:#ffffff29}.sidebar__footer-line{margin-top:auto;height:1px;margin-inline:.8rem;background:#ffffff29}.sidebar__signout{margin-top:.7rem;align-self:flex-start;min-height:36px;justify-content:center;margin-left:.45rem;padding-inline:1rem!important;border-radius:999px!important;color:#1f4b21!important;background:#ffffffeb!important;font-size:.76rem!important}.main-content{padding:.35rem 1rem 1.5rem}.topbar{display:flex;align-items:center;justify-content:flex-start;gap:1rem;padding:0 0 .2rem;margin-bottom:.1rem;border:0;background:transparent;box-shadow:none}.topbar__main{display:grid;gap:.25rem}.topbar__back{display:flex;align-items:center}.topbar__title{margin:0;font-family:var(--font-display);font-size:clamp(1.45rem,2vw,2rem)}.topbar__subtitle{margin:.35rem 0 0;color:var(--color-text-soft)}.topbar__actions{display:flex;align-items:center;gap:.9rem}.topbar__user{display:grid;justify-items:end;gap:.45rem}.topbar__user-email{margin:0;color:var(--color-text-soft);font-size:.9rem}.screen-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.2rem 0 .15rem}.screen-header__main,.screen-header__actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.print-mount{position:absolute;top:0;left:-100000px;width:210mm;pointer-events:none;opacity:0}.print-report{display:grid;gap:1rem;padding:10mm;color:#203126;background:#fff}.print-report__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:.8rem;border-bottom:2px solid #dfd4bc}.print-report__eyebrow{margin:0 0 .35rem;color:#2b6a30;font-size:.85rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.print-report__title{margin:0;font-family:var(--font-display);font-size:1.9rem}.print-report__subtitle{margin:.35rem 0 0;color:#5d6a61}.print-report__meta{display:grid;gap:.2rem;text-align:right}.print-report__meta span{color:#5d6a61;font-size:.88rem}.print-report__section{display:grid;gap:.7rem}.print-report__section-title{margin:0;font-family:var(--font-display);font-size:1.15rem}.print-report__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.print-report__stat{display:grid;gap:.3rem;padding:.85rem;border:1px solid #dfd4bc;border-radius:14px;background:#fcfaf4}.print-report__stat span{color:#5d6a61;font-size:.85rem;font-weight:700}.print-report__stat strong{font-family:var(--font-display);font-size:1.35rem}.print-report__table{width:100%;border-collapse:collapse;table-layout:fixed}.print-report__table th,.print-report__table td{padding:.65rem .55rem;border:1px solid #dfd4bc;text-align:left;vertical-align:top;word-break:break-word}.print-report__table th{background:#f4efe2;font-size:.88rem}.page{display:grid;gap:.8rem;padding-bottom:3rem}.page-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.page-grid--stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.page-grid--overview{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.page-section{display:grid;gap:1rem}.page-section__header{display:flex;align-items:end;justify-content:space-between;gap:1rem}.page-section__actions{display:flex;gap:.75rem}.owners-form{display:grid;gap:1rem;margin-top:1rem}.form-mode-switch{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.owners-form__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.owners-form__actions{display:flex;flex-wrap:wrap;gap:.75rem}.card{padding:1.1rem;border:1px solid var(--color-border);border-radius:16px;background:#fffdf8f7;box-shadow:var(--shadow-card)}.card--hero{background:linear-gradient(135deg,#2f6b3b1f,#a97b3f24),#fffdf8f5}.card__title{margin:0 0 .5rem;font-family:var(--font-display);font-size:1.15rem}.card__text{margin:0;line-height:1.6;color:var(--color-text-soft)}.stat-card{display:grid;gap:.55rem}.stat-card__label{margin:0;color:var(--color-text-soft);font-weight:700}.stat-card__value{font-family:var(--font-display);font-size:clamp(1.55rem,3vw,2rem)}.stat-card__helper{margin:0;color:var(--color-text-soft);line-height:1.5}.owners-list,.owner-card{display:grid;gap:1rem}.owner-card__header{display:flex;align-items:start;justify-content:space-between;gap:1rem}.owner-card__name{margin:0 0 .35rem;font-family:var(--font-display);font-size:1.2rem}.owner-card__meta{margin:0;color:var(--color-text-soft)}.owner-card__actions{display:flex;flex-wrap:wrap;gap:.75rem}.owner-card__notes{margin:0;color:var(--color-text);line-height:1.6}.field-card{display:grid;gap:1rem}.field-card__summary{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.field-card__map-status{color:var(--color-text-soft);font-weight:700}.animal-card{display:grid;gap:1rem}.animal-card__details{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.transaction-card{display:grid;gap:1rem}.quantity-page{gap:.45rem}.quantity-screen-tag{display:inline-flex;align-items:center;width:fit-content;padding:.4rem .7rem;border:1px solid #9dc399;border-radius:8px;color:#2b6a30;background:#f3faef;font-size:.92rem;font-weight:700;margin-top:0}.quantity-panel{display:grid;gap:1rem;padding:1.2rem;border:1px solid var(--color-border);border-radius:18px;background:#fffdf9;box-shadow:var(--shadow-card)}.quantity-panel__header{display:flex;align-items:start;justify-content:space-between;gap:1rem}.quantity-panel__title{margin:0;font-family:var(--font-display);font-size:2rem}.quantity-panel__subtitle{margin:.35rem 0 0;color:var(--color-text-soft)}.quantity-date-box{display:grid;gap:.25rem;min-width:140px;padding:.8rem .9rem;border:1px solid var(--color-border);border-radius:14px;background:#fff;text-align:left}.quantity-date-box strong{font-size:1.15rem}.quantity-date-box span{color:var(--color-text-soft);font-size:.92rem}.quantity-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.quantity-stat{padding:1rem;border:1px solid var(--color-border);border-radius:16px;background:#fff}.quantity-stat__label{margin:0 0 .75rem;font-size:.95rem;font-weight:700}.quantity-stat__main{display:flex;align-items:center;justify-content:space-between;gap:1rem}.quantity-stat__value{font-size:3rem;line-height:1;font-family:var(--font-display)}.quantity-stat__emoji{font-size:2.4rem;line-height:1}.quantity-stat__emoji--blue{color:#2f84e1}.quantity-stat__emoji--pink{color:#ef5d98}.quantity-stat__emoji--orange{color:#d9952e}.quantity-table-card__title{margin:0 0 .7rem;font-family:var(--font-display);font-size:1.5rem}.quantity-table-card,.quantity-actions-section{display:grid;gap:.75rem}.quantity-table-wrap{display:grid;gap:.85rem}.quantity-view-switch{display:flex;flex-wrap:wrap;gap:.6rem}.quantity-view-switch__button{min-height:40px;padding:.6rem 1rem;border:1px solid #d8dccf;border-radius:999px;color:#35593a;background:#f5f8f1;font-weight:700}.quantity-view-switch__button--active{border-color:#2f6b3b40;background:linear-gradient(180deg,#eef8ef,#e1f0e2);color:#174d1d}.quantity-table{display:grid;gap:0;border:1px solid var(--color-border);border-radius:16px;overflow:hidden;background:#fff}.quantity-table__head,.quantity-table__row{display:grid;grid-template-columns:1.1fr 1fr 1fr .9fr;align-items:center}.quantity-table__head{padding:.9rem 1rem;color:#576258;font-size:.9rem;font-weight:700;background:#f8f3e8;text-align:center}.quantity-table__row{min-height:72px;padding:.7rem 1rem;border-top:1px solid #eee3ca;background:#fff}.quantity-table__head>span,.quantity-table__row>div{min-height:100%}.quantity-table__head>span:not(:first-child),.quantity-table__row>div:not(:first-child){border-left:1px solid #eee3ca}.quantity-table__row--total{background:#fbf8ef;font-weight:700}.quantity-table__age{font-weight:700;display:flex;align-items:center}.quantity-table__control{display:flex;align-items:center;justify-content:center;gap:.85rem;padding:0 1rem}.quantity-table__number,.quantity-table__total{font-size:1.05rem;font-weight:700;text-align:center}.quantity-table__total{display:flex;align-items:center;justify-content:center}.quantity-table__action{min-width:36px!important;min-height:32px!important;padding:.2rem .4rem!important;border-radius:6px!important;font-size:1rem}.quantity-table__action--plus{background:linear-gradient(180deg,#2fa22f,#238622)!important}.quantity-table__action--minus{background:linear-gradient(180deg,#ff6b6b,#eb4d4d)!important}.quantity-table--fields{min-width:980px}.quantity-table__head--fields,.quantity-table__row--fields{grid-template-columns:1.25fr repeat(4,minmax(140px,1fr)) .9fr}.quantity-table__control--compact{gap:.55rem;padding:0 .4rem}.quantity-table__control--compact .quantity-table__number{min-width:2ch}.quantity-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.85rem}.quantity-action-card{display:grid;justify-items:center;gap:.75rem;min-height:106px;padding:1rem .8rem;border:0;border-radius:12px;color:#fff;font-weight:700;box-shadow:0 10px 24px #22362124}.quantity-action-card__icon{font-size:2rem;line-height:1}.quantity-action-card__label{font-size:.95rem;text-align:center}.quantity-action-card--green{background:linear-gradient(180deg,#79b64c,#5d9d39)}.quantity-action-card--orange{background:linear-gradient(180deg,#f07f46,#db5b2f)}.quantity-action-card--yellow{background:linear-gradient(180deg,#ffb01f,#ee9704)}.quantity-action-card--purple{background:linear-gradient(180deg,#6e5bc5,#5242ae)}.quantity-action-card--blue{background:linear-gradient(180deg,#3185d7,#1f6cb7)}.quantity-action-card--teal{background:linear-gradient(180deg,#2a9aa3,#1d7d85)}.stock-page{gap:.45rem}.stock-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-actions{display:flex;flex-wrap:wrap;gap:.75rem}.stock-actions__use{color:#fff!important;background:linear-gradient(180deg,#ff991e,#f07f00)!important}.stock-table__head,.stock-table__row{grid-template-columns:1fr 1.6fr .9fr 1.5fr}.stock-table__sort-button{border:0;padding:0;color:inherit;background:transparent;font:inherit;font-weight:700}.stock-table__type,.stock-table__name,.stock-table__quantity{display:flex;align-items:center;padding:0 .85rem}.stock-table__quantity{justify-content:center;font-weight:700}.stock-table__quantity--zero{color:#df4040}.stock-table__quantity--ok{color:#22702e}.stock-table__actions{display:flex;flex-wrap:wrap;gap:.5rem;padding:.65rem .85rem;justify-content:center}.stock-table__button{min-height:34px!important;padding:.45rem .75rem!important;border-radius:8px!important;font-size:.82rem!important}.stock-table__button--entry{background:linear-gradient(180deg,#2fa22f,#238622)!important}.stock-table__button--use{background:linear-gradient(180deg,#ff991e,#f07f00)!important}.stock-table__button:disabled,.stock-actions .button:disabled{opacity:.55;cursor:not-allowed}.stock-table__button--edit{color:#fff!important;background:linear-gradient(180deg,#3d86db,#2d6fb9)!important}.stock-adjust-summary>div{display:grid;gap:.2rem;min-width:120px}.stock-adjust-summary strong{font-size:.82rem;color:#4d6b50}.stock-adjust-summary span{font-weight:700}.monthly-activity-page__header{align-items:start}.monthly-activity-page__filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}.purchases-page__filters>.form-field{min-width:180px;flex:1 1 180px}.purchases-page__filters>.form-field:first-child{flex-basis:240px}.purchases-table{display:grid}.purchases-table__head,.purchases-table__row{display:grid;grid-template-columns:1.05fr 1.15fr 1.2fr 1fr .9fr 1fr 1fr 1.25fr;align-items:center}.purchases-table__head{padding:0 .35rem .7rem;color:#496056;font-size:.82rem;font-weight:700}.purchases-table__row{min-height:78px;border-top:1px solid #eee3ca}.purchases-table__row>div{padding:.85rem}.purchases-table__date{display:grid;gap:.12rem}.purchases-table__date strong{font-size:.95rem}.purchases-table__date span{color:var(--color-text-soft);font-size:.76rem}.purchases-table__actions{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-start}.help-page__topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.help-page__hero{display:flex;align-items:center;gap:1rem}.help-page__hero-icon,.help-page__content-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:999px;border:1px solid #b7d3b4;background:linear-gradient(180deg,#f5fbf2,#ebf6e7);color:#1f6325;font-size:2.1rem;font-weight:700;flex-shrink:0}.help-page__chooser{display:grid;gap:.75rem}.help-page__chooser-label{margin:0;font-size:1.05rem;font-weight:700}.help-page__section-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.help-page__section-button{display:flex;align-items:center;gap:.75rem;min-height:64px;padding:.9rem 1rem;border:1px solid var(--color-border);border-radius:14px;color:#1f4f24;background:#fff;font-weight:700;text-align:left}.help-page__section-button--active{border-color:#79b583;background:linear-gradient(180deg,#f4fbf1,#edf8ea);box-shadow:0 0 0 1px #2f6b3b14}.help-page__section-icon{display:inline-grid;place-items:center;width:24px;font-size:1.35rem;flex-shrink:0}.help-page__content{display:grid;gap:1rem;padding:1.2rem;border:1px solid var(--color-border);border-radius:18px;background:#fffefb}.help-page__content-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.help-page__content-title{display:flex;align-items:center;gap:1rem}.help-page__content-title h3,.help-page__topic-panel h4{margin:0;font-family:var(--font-display)}.help-page__content-title p{margin:.35rem 0 0;color:var(--color-text-soft)}.help-page__article{display:grid;grid-template-columns:310px minmax(0,1fr);gap:1rem}.help-page__topics{display:grid;gap:.6rem}.help-page__topic-button{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:54px;padding:.9rem 1rem;border:1px solid var(--color-border);border-radius:12px;color:#1d2f24;background:#fff;font-weight:700;text-align:left}.help-page__topic-button--active{border-color:#79b583;background:linear-gradient(180deg,#f4fbf1,#edf8ea)}.help-page__topic-panel{display:grid;gap:.8rem;padding:1rem 1.1rem;border:1px solid var(--color-border);border-radius:16px;background:#fff}.help-page__topic-panel p{margin:0;color:#43544b;line-height:1.7}.help-page__tip-card{display:flex;align-items:flex-start;gap:.9rem;margin-top:.3rem;padding:1rem 1.1rem;border:1px solid #b7d3b4;border-radius:14px;background:linear-gradient(180deg,#f8fcf6,#f0f8ed)}.help-page__tip-icon{font-size:1.6rem;line-height:1}.help-page__tip-card strong{display:block;margin-bottom:.25rem;color:#1f6325}.help-page__support-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border:1px solid #e0c88f;border-radius:16px;background:linear-gradient(180deg,#fffdf6,#fff9ea)}.help-page__support-card strong,.help-page__support-card p{margin:0}.help-page__support-card p{margin-top:.3rem;color:var(--color-text-soft)}.monthly-activity-page__toggle{display:inline-flex;align-items:center;gap:.6rem;min-height:48px;padding:.7rem .95rem;border:1px solid var(--color-border);border-radius:14px;background:#fff;font-weight:700}.monthly-activity-page__toggle input{width:18px;height:18px;margin:0;accent-color:#2f6b3b}.monthly-activity-page__mini-select{min-width:120px}.monthly-activity-page__mini-select.form-field{gap:.35rem}.monthly-activity-page__mini-select .form-field__label{font-size:.8rem}.monthly-activity-page__mini-select.form-field__select,.monthly-activity-page__mini-select .form-field__select{min-height:48px}.monthly-activity-overview{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:1rem}.monthly-activity-overview__field,.monthly-activity-overview__stat{padding:1rem;border:1px solid var(--color-border);border-radius:16px;background:#fff}.monthly-activity-overview__stat{display:flex;align-items:center;gap:.9rem}.monthly-activity-overview__stat-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eef6ea;font-size:1.45rem}.monthly-activity-overview__stat strong,.monthly-activity-overview__stat p{margin:0}.monthly-activity-overview__stat p{margin-top:.2rem;color:var(--color-text-soft)}.monthly-activity-card{gap:1rem}.monthly-activity-card__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.monthly-activity-list{display:grid;gap:.8rem}.monthly-activity-list__head,.monthly-activity-list__row{display:grid;grid-template-columns:1.05fr 1.2fr .9fr .7fr 1.15fr .9fr;gap:.75rem}.monthly-activity-list__head{padding:0 .6rem;color:#556158;font-size:.82rem;font-weight:700}.monthly-activity-list__row{align-items:center;padding:.8rem .9rem;border:1px solid #eee3ca;border-radius:16px;background:#fff}.monthly-activity-list__date,.monthly-activity-list__type{display:flex;align-items:center;gap:.75rem}.monthly-activity-list__date-icon,.monthly-activity-list__type-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eef6ea;font-size:1.1rem}.monthly-activity-list__type-icon{background:#edf4ff}.monthly-activity-list__date strong,.monthly-activity-list__type strong{display:block}.monthly-activity-list__date span,.monthly-activity-list__type span,.monthly-activity-list__product,.monthly-activity-list__quantity,.monthly-activity-list__notes{color:var(--color-text-soft);font-size:.9rem}.monthly-activity-list__quantity,.monthly-activity-list__actions{text-align:center}.monthly-activity-list__actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.monthly-activity-card__footer{padding:.95rem 1rem;border:1px solid #dce9d7;border-radius:14px;color:#31533a;background:#f4f9f1}.fields-page{gap:.45rem}.fields-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.fields-page__actions{display:flex;flex-wrap:wrap;gap:.75rem}.fields-top-stat__value{font-size:1.6rem}.fields-top-stat__helper{margin-top:.5rem}.fields-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:1rem;align-items:end}.fields-toolbar__sort.form-field{gap:.35rem}.fields-table{display:grid;gap:0;border:1px solid var(--color-border);border-radius:16px;overflow:hidden;background:#fff}.fields-table__head,.fields-table__row{display:grid;grid-template-columns:1.25fr 1fr .65fr .55fr .55fr .55fr .95fr 1.45fr;align-items:center}.fields-table__head{padding:.9rem 1rem;color:#576258;font-size:.84rem;font-weight:700;background:#f8f3e8;text-align:center}.fields-table__row{min-height:88px;padding:.85rem 1rem;border-top:1px solid #eee3ca;background:#fff}.fields-table__head>span:not(:first-child),.fields-table__row>div:not(:first-child){border-left:1px solid #eee3ca}.fields-table__field{display:flex;align-items:center;gap:.75rem;padding-right:.75rem}.fields-table__field-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eef6ea;font-size:1.4rem;flex:0 0 auto}.fields-table__field strong,.fields-table__activity strong{display:block}.fields-table__field span,.fields-table__activity span{color:var(--color-text-soft);font-size:.8rem}.fields-table__cell,.fields-table__activity{display:flex;align-items:center;justify-content:center;padding:0 .65rem;text-align:center}.fields-table__activity{flex-direction:column;gap:.2rem}.fields-table__activity strong{color:#2f6b3b}.fields-table__activity span{max-width:120px;line-height:1.35;color:#3f7b46}.fields-table__cell--strong{font-weight:700}.fields-table__cell--blue{font-weight:700;color:#2f84e1}.fields-table__cell--red{font-weight:700;color:#cf3f4d}.fields-table__actions{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center;padding-left:.8rem}.fields-map-modal{display:grid;grid-template-columns:minmax(0,1.45fr) 320px;gap:1rem}.fields-map-modal__map .map-canvas--viewer{min-height:720px}.fields-map-modal__sidebar,.fields-map-modal__sidebar-actions{display:grid;gap:.85rem}.fields-map-modal__sidebar-card{display:grid;gap:.45rem;padding:1rem;border:1px solid var(--color-border);border-radius:16px;background:#fff}.fields-map-modal__sidebar-card h3,.fields-map-modal__sidebar-card p,.fields-map-modal__sidebar-card strong{margin:0}.fields-map-modal__sidebar-card p{color:var(--color-text-soft);font-size:.86rem}.fields-map-modal__animals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding-top:.35rem;border-top:1px solid #eee3ca}.fields-map-modal__animals span{display:grid;gap:.3rem;color:var(--color-text-soft);font-size:.86rem}.fields-map-modal__animals strong{font-size:1.1rem;color:var(--color-text)}.fields-map-modal__activity-note{display:grid;gap:.3rem;padding-top:.45rem;border-top:1px solid #eee3ca}.fields-general-map-modal{display:grid;grid-template-columns:250px minmax(0,1fr) 260px;gap:2rem;align-items:start}.fields-general-map-modal__list,.fields-general-map-modal__detail{display:grid;gap:.85rem;min-width:0}.fields-general-map-modal__list-main{display:flex;align-items:center;min-width:0}.fields-general-map-modal__list-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.95rem 1rem;border:1px solid #dfd5bc;border-radius:18px;color:var(--color-text);background:linear-gradient(180deg,#fff,#fdfcf9);text-align:left;box-shadow:0 12px 30px #2f6b3b0d;position:relative;z-index:2}.fields-general-map-modal__list-item strong,.fields-general-map-modal__list-item span{display:block}.fields-general-map-modal__list-item>div span{color:var(--color-text-soft);font-size:.8rem}.fields-general-map-modal__list-item>span:last-child{width:5rem;text-align:right;font-weight:700;color:#274a30}.fields-general-map-modal__list-item--active{border-color:#2f6b3b47;background:linear-gradient(180deg,#f3fbf0,#ecf7e9)}.fields-general-map-modal__summary{display:grid;gap:.22rem;padding:1.15rem;border:1px solid #dfd5bc;border-radius:18px;background:linear-gradient(180deg,#f7fbf4,#f1f7ee);box-shadow:0 12px 30px #2f6b3b0d}.fields-general-map-modal__summary-icon{display:block;font-size:2rem;line-height:1;margin-bottom:.25rem}.fields-general-map-modal__map{min-width:0;width:100%;margin-left:1rem;border-radius:20px;overflow:hidden;box-shadow:0 18px 40px #17381f1f;position:relative;z-index:1}.fields-overview-map{display:grid;gap:.75rem;min-width:0;width:100%}.fields-general-map-modal__map .map-canvas--viewer,.fields-overview-map .map-canvas--viewer{min-height:720px;width:100%}.fields-general-map-modal__detail .fields-map-modal__sidebar-card{padding:1.2rem;border-radius:18px;box-shadow:0 12px 30px #2f6b3b0d}.fields-general-map-modal__detail-title{display:flex;align-items:center;margin-bottom:.35rem}.fields-general-map-modal__activity-label{white-space:pre-line;line-height:1.35}.field-type-icon{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem}.field-type-icon svg{width:100%;height:100%;display:block}.field-type-icon--small{width:1.6rem;height:1.6rem}.simple-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:1rem}.simple-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1b231c80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.simple-modal__panel{position:relative;z-index:1;width:min(100%,820px);max-height:min(90vh,920px);overflow:auto;padding:1.35rem;border-radius:22px;background:#fffdf8;box-shadow:0 28px 80px #111d1238}.simple-modal__panel--compact{width:min(100%,760px)}.simple-modal__panel--confirm{width:min(100%,520px)}.simple-modal__panel--map{width:min(100%,1280px)}.simple-modal__panel--map-wide{width:min(100%,1680px)}.simple-modal__header{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.simple-modal__title{margin:0 0 .35rem;font-family:var(--font-display);font-size:1.6rem}.simple-modal__description{margin:0;color:var(--color-text-soft);line-height:1.5}.simple-modal__description strong{color:var(--color-text)}.simple-modal__close{min-width:44px;min-height:44px;border:0;border-radius:999px;color:var(--color-primary-dark);background:#edf2eb;font-size:1.15rem;font-weight:700}.simple-modal__content,.quantity-modal{display:grid;gap:1rem}.simple-modal--animal-add .simple-modal__title{color:#13702b}.simple-modal--animal-remove .simple-modal__title{color:#c61d1d}.quantity-modal__summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.85rem;padding:1rem;border:1px solid #d6e7d6;border-radius:var(--radius-md);background:#f1f8ef}.simple-modal--animal-remove .quantity-modal__summary{border-color:#f2c7c7;background:#fff3f3}.quantity-modal__summary-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid #b8d7b9;border-radius:999px;background:#f6fcf4;font-size:1.6rem}.simple-modal--animal-remove .quantity-modal__summary-icon{border-color:#f0b1b1;background:#fff8f8}.quantity-modal__summary-copy{display:grid;gap:.3rem}.quantity-modal__summary-copy p{margin:0;line-height:1.45}.quantity-modal__summary-copy strong{color:#0e6a27}.simple-modal--animal-remove .quantity-modal__summary-copy strong{color:#c61d1d}.quantity-modal__group{display:grid;gap:.75rem}.quantity-modal__option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.quantity-modal__option-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.quantity-chip{min-height:58px;padding:.9rem;border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:#fff;font-weight:700}.quantity-chip--active{border-color:#2f6b3b73;background:linear-gradient(180deg,#eef8ef,#e4f1e6);color:var(--color-primary-dark)}.simple-modal--animal-remove .quantity-chip--active{border-color:#c61d1d59;background:linear-gradient(180deg,#fff1f1,#ffe2e2);color:#b71d1d}.quantity-stepper{display:grid;grid-template-columns:72px minmax(0,1fr) 72px;gap:.75rem;align-items:center}.quantity-stepper__input{width:100%;min-height:58px;padding:.9rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);text-align:center;font-size:1.3rem;font-weight:700;background:#fff}.simple-modal--animal-add .quantity-stepper .button{border-color:#d6e7d6}.simple-modal--animal-remove .quantity-stepper .button:first-child{color:#fff!important;background:linear-gradient(180deg,#ff6b6b,#e24343)!important}.simple-modal--animal-remove .quantity-stepper .button:last-child{color:#fff!important;background:linear-gradient(180deg,#ffb0b0,#f28a8a)!important}.simple-modal--animal-remove .quantity-stepper__input{border-color:#f2c7c7;color:#b71d1d}.quantity-modal__actions{justify-content:flex-start}.quantity-modal__cancel-button{min-width:132px;color:#145324!important;background:#e7efe7!important}.simple-modal--animal-remove .quantity-modal__cancel-button{color:#b71d1d!important;background:#fde7e3!important}.quantity-modal__confirm-button{min-width:260px}.quantity-modal__confirm-button--remove{background:linear-gradient(180deg,#de9f96,#d48d83)!important}.animal-transfer-modal{display:grid;gap:1rem}.animal-transfer-modal__summary,.animal-transfer-modal__sex-switch{display:flex;flex-wrap:wrap;gap:.75rem}.animal-transfer-modal__sex-button{min-height:44px;padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:999px;color:#35593a;background:#f5f8f1;font-weight:700}.animal-transfer-modal__sex-button--active{border-color:#2f6b3b40;background:linear-gradient(180deg,#eef8ef,#e1f0e2);color:#174d1d}.animal-transfer-modal__table{display:grid;border:1px solid var(--color-border);border-radius:16px;overflow:hidden;background:#fff}.animal-transfer-modal__head,.animal-transfer-modal__row{display:grid;grid-template-columns:1.2fr .8fr 1fr;align-items:center}.animal-transfer-modal__head{padding:.9rem 1rem;background:#f8f3e8;color:#576258;font-size:.84rem;font-weight:700;text-align:center}.animal-transfer-modal__row{min-height:72px;padding:.8rem 1rem;border-top:1px solid #eee3ca}.animal-transfer-modal__head>span:not(:first-child),.animal-transfer-modal__row>div:not(:first-child){border-left:1px solid #eee3ca}.animal-transfer-modal__band{font-weight:700}.animal-transfer-modal__available{text-align:center;font-weight:700}.animal-transfer-modal__input{display:flex;justify-content:center;padding:0 1rem}.animal-transfer-modal__input input{width:100%;max-width:160px;min-height:46px;padding:.75rem .9rem;border:1px solid var(--color-border);border-radius:12px;text-align:center;font-weight:700}.map-editor{display:grid;gap:1rem;margin-top:1rem}.map-editor__instructions{display:grid;gap:.5rem}.map-editor__summary{display:flex;flex-wrap:wrap;gap:.75rem}.map-canvas{width:100%;min-height:420px;border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden;background:#d8e6d4}.map-canvas--viewer{min-height:320px}.map-viewer-section{display:grid;gap:1rem;margin-top:1.5rem}.map-usage-notice{display:grid;gap:.75rem;padding:1rem;border:1px solid #f0d39f;border-radius:var(--radius-md);background:#fff6e7}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:.85rem 1.1rem;border:0;border-radius:999px;font-weight:700;transition:transform .12s ease,opacity .12s ease,background .12s ease}.button:hover,.button:focus-visible{transform:translateY(-1px)}.button--primary{color:#f7f3ea;background:linear-gradient(180deg,#3c844b,#2f6b3b)}.button--secondary{color:var(--color-primary-dark);background:#e7efe7}.button--danger{color:#fff7f5;background:#b54534}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.form-field{display:grid;gap:.45rem}.form-field__label{font-weight:700}.form-field__input,.form-field__textarea,.form-field__select{width:100%;min-height:54px;padding:.9rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-strong)}.form-field__textarea{min-height:120px;resize:vertical}.form-field__input[aria-invalid=true],.form-field__textarea[aria-invalid=true],.form-field__select[aria-invalid=true]{border-color:#d66d5b;background:#fff8f6}.form-field__hint,.form-field__error{font-size:.85rem;line-height:1.45}.form-field__hint{color:var(--color-text-soft)}.form-field__error{color:#9b2d1f;font-weight:700}.section-title{margin:0 0 .6rem;font-family:var(--font-display);font-size:1.35rem}.section-text{margin:0;color:var(--color-text-soft);line-height:1.6}.placeholder-list{display:grid;gap:.85rem;margin-top:1rem}.placeholder-item{padding:1rem;border:1px dashed var(--color-border);border-radius:var(--radius-md);background:#fff9}.status-chip{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .7rem;border-radius:999px;font-size:.85rem;font-weight:700;line-height:1.25;text-align:center;color:var(--color-primary-dark);background:#ddefd9}.status-chip--success{color:#1f5b2a;background:#ddefd9}.status-chip--warning{color:#7a4b15;background:#f8e7c8}.status-chip--neutral{color:#4e5a50;background:#e6e8e5}.form-message{margin:0;padding:.9rem 1rem;border-radius:var(--radius-md);font-weight:700}.form-message--error{color:#7f2418;background:#fde7e3;border:1px solid #f0b8ae}.form-message--success{color:#1f5b2a;background:#e3f3e4;border:1px solid #b4d7b8}.text-link{font-weight:700;color:var(--color-primary)}.text-link:hover,.text-link:focus-visible{text-decoration:underline}.empty-state,.loading-state{padding:2rem;text-align:center;border:1px dashed var(--color-border);border-radius:var(--radius-lg);background:#fffdf8cc}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:1.5rem}.auth-card{width:min(100%,560px)}.mobile-nav,.reports-print-header{display:none}.reports-page{gap:1rem}.reports-page__panel,.owners-page__panel,.reports-step{display:grid;gap:1rem}.reports-step__header h2{margin:0;color:#1e7434;font-size:1.55rem}.reports-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.95rem}.reports-type-card{display:flex;align-items:center;gap:1rem;width:100%;padding:1.2rem 1.15rem;border:1px solid #e2d2b8;border-radius:22px;background:#fff;color:inherit;text-align:left;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.reports-type-card:hover,.reports-type-card:focus-visible{border-color:#94bf8d;box-shadow:0 18px 30px #2f492714}.reports-type-card.active{border-color:#80b17b;background:linear-gradient(180deg,#fcfffb,#f0f8ec);box-shadow:0 18px 32px #2f49271a}.reports-type-card__icon{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:999px;background:linear-gradient(180deg,#fbfdf8,#edf6e9);color:#196c31;font-size:1.9rem;font-weight:800}.reports-type-card__content{display:grid;gap:.35rem}.reports-type-card__content strong{font-size:1.38rem}.reports-type-card__content span{color:var(--color-text-soft);line-height:1.55}.reports-period-panel{display:grid;gap:1rem}.reports-period-panel__label{font-weight:700;color:#2a3f30}.reports-period-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1rem;align-items:end}.reports-quick-list{display:flex;flex-wrap:wrap;gap:.75rem}.reports-quick-button{min-height:52px;padding:.9rem 1.15rem;border:1px solid #dcc9a6;border-radius:16px;background:#fff;font-size:.98rem;font-weight:700;color:#233126;transition:border-color .2s ease,background .2s ease,color .2s ease}.reports-quick-button.active{border-color:#2f7d37;background:linear-gradient(180deg,#2f8a42,#256c31);color:#fff}.reports-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.reports-generate-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.3rem;border:1px solid #d6e6d0;border-radius:20px;background:linear-gradient(180deg,#fbfdf9,#eff7ea)}.reports-generate-panel__info{display:flex;align-items:center;gap:1rem}.reports-generate-panel__info p{margin:0;line-height:1.55}.reports-generate-panel__badge{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:linear-gradient(180deg,#2fa856,#228442);color:#fff;font-size:1.4rem;font-weight:800}.reports-generate-button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-width:240px;min-height:62px;padding:1rem 1.5rem;border:0;border-radius:18px;background:linear-gradient(180deg,#27843e,#1f6c31);color:#fff;font-size:1.15rem;font-weight:800;box-shadow:0 20px 34px #24603333}.reports-result{display:grid;gap:1rem}.reports-result__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.reports-result__header h2{margin:0;font-size:1.9rem}.reports-result__header p{margin:.35rem 0 0;color:var(--color-text-soft)}.reports-preview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.reports-preview-stat{display:grid;gap:.45rem;padding:1rem 1.05rem;border:1px solid #e0cfb0;border-radius:18px;background:linear-gradient(180deg,#fff,#f9f5ec)}.reports-preview-stat span{color:var(--color-text-soft);font-weight:700}.reports-preview-stat strong{font-size:1.75rem}.reports-preview-table-wrapper{overflow-x:auto;border:1px solid #e0cfb0;border-radius:18px}.reports-preview-table{width:100%;border-collapse:collapse;background:#fff}.reports-preview-table th,.reports-preview-table td{padding:1rem 1.15rem;border-bottom:1px solid #efe2c9;text-align:left}.reports-preview-table th{background:#f8f3e8;color:#4a5c4f;font-size:.98rem}.reports-preview-table td{font-weight:600}.reports-preview-table tbody tr:last-child td{border-bottom:0}.reports-preview-placeholder{padding:1.5rem;border:1px solid #d7e6d0;border-radius:20px;background:linear-gradient(180deg,#fbfdf9,#eff7ea)}.reports-preview-placeholder h3{margin:0 0 .65rem}.reports-preview-placeholder p{margin:0;color:var(--color-text-soft);line-height:1.6}.owners-page{gap:1rem}.owners-page__new-button{min-height:70px;padding:.95rem 1.65rem;border:0;border-radius:18px;background:linear-gradient(180deg,#27843e,#1f6c31);color:#fff;font-size:1.15rem;font-weight:800;box-shadow:0 20px 34px #24603333}.owners-page__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:hidden}.owners-page__summary-card{display:flex;align-items:center;gap:1rem;padding:1.35rem 1.5rem}.owners-page__summary-card--bordered{border-left:1px solid #ead9b9}.owners-page__summary-icon{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:999px;background:linear-gradient(180deg,#fbfdf8,#edf6e9);color:#196c31;font-size:1.7rem}.owners-page__summary-label{display:block;color:#203126;font-weight:700}.owners-page__summary-value{display:block;margin-top:.45rem;font-size:2rem}.owners-page__table-card{display:grid;gap:1rem}.owners-page__filters{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:1rem;align-items:center}.owners-page__search{display:flex;align-items:center;gap:.75rem;min-height:60px;padding:0 1rem;border:1px solid #dfcfb1;border-radius:18px;background:#fff}.owners-page__search-icon{color:#6e7b71;font-size:1.2rem;font-weight:700}.owners-page__search input{width:100%;border:0;outline:0;background:transparent;font-size:1rem;color:#203126}.owners-page__sort{display:grid;gap:.45rem}.owners-page__sort span{font-weight:700;color:#203126}.owners-page__sort select{min-height:60px;padding:0 1rem;border:1px solid #dfcfb1;border-radius:18px;background:#fff;font-size:1rem;color:#203126}.owners-page__table-wrapper{overflow-x:auto;border:1px solid #dfcfb1;border-radius:22px}.owners-page__table{width:100%;border-collapse:collapse;background:#fff}.owners-page__table th,.owners-page__table td{padding:1.2rem 1.15rem;border-bottom:1px solid #efe2c9;text-align:left;vertical-align:middle}.owners-page__table th{background:#f8f3e8;color:#203126;font-weight:800}.owners-page__table tbody tr:last-child td{border-bottom:0}.owners-page__name-cell{display:flex;align-items:center;gap:1rem}.owners-page__initials{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border-radius:999px;background:linear-gradient(180deg,#f6fbf3,#e7f1df);color:#2a7a39;font-weight:800}.owners-page__actions{display:flex;justify-content:flex-end;gap:.75rem}.pastures-page{gap:1rem}.pastures-page__panel{display:grid;gap:1rem}.pastures-page__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:hidden}.pastures-page__summary-card{display:flex;align-items:center;gap:1rem;padding:1.35rem 1.5rem}.pastures-page__summary-card--bordered{border-left:1px solid #ead9b9}.pastures-page__summary-icon{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:999px;background:linear-gradient(180deg,#fbfdf8,#edf6e9);color:#196c31;font-size:1.7rem}.pastures-page__summary-label{display:block;color:#203126;font-weight:700}.pastures-page__summary-value{display:block;margin-top:.45rem;font-size:2rem}.pastures-page__table-card{display:grid;gap:1rem}.pastures-page__filters{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:1rem;align-items:center}.pastures-page__search{display:flex;align-items:center;gap:.75rem;min-height:60px;padding:0 1rem;border:1px solid #dfcfb1;border-radius:18px;background:#fff}.pastures-page__search-icon{color:#6e7b71;font-size:1.2rem;font-weight:700}.pastures-page__search input{width:100%;border:0;outline:0;background:transparent;font-size:1rem;color:#203126}.pastures-page__sort{display:grid;gap:.45rem}.pastures-page__sort span{font-weight:700;color:#203126}.pastures-page__sort select{min-height:60px;padding:0 1rem;border:1px solid #dfcfb1;border-radius:18px;background:#fff;font-size:1rem;color:#203126}.pastures-page__table-wrapper{overflow-x:auto;border:1px solid #dfcfb1;border-radius:22px}.pastures-page__table{width:100%;border-collapse:collapse;background:#fff}.pastures-page__table th,.pastures-page__table td{padding:1.2rem 1.15rem;border-bottom:1px solid #efe2c9;text-align:left;vertical-align:middle}.pastures-page__table th{background:#f8f3e8;color:#203126;font-weight:800}.pastures-page__table tbody tr:last-child td{border-bottom:0}.pastures-page__name-cell{display:flex;align-items:center;gap:.9rem}.pastures-page__name-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:999px;background:linear-gradient(180deg,#f6fbf3,#e7f1df);color:#2a7a39;font-size:1.2rem}.pastures-page__actions{display:flex;justify-content:flex-end;gap:.75rem}.animals-page{gap:1rem}.animals-page__panel{display:grid;gap:1rem}.animals-page__stats{grid-template-columns:repeat(5,minmax(0,1fr))}.animals-page__age-value{font-size:1.7rem!important;line-height:1.2}.animals-page__table-card{display:grid;gap:1rem}.animals-page__filters{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,.7fr)) auto;gap:.85rem;align-items:end}.animals-page__filter-actions{display:flex;gap:.75rem;align-items:center}.animals-page__table-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.animals-page__table-head h3{margin:0;font-size:1.45rem}.animals-page__sort{display:flex;align-items:center;gap:.75rem}.animals-page__sort span{font-weight:700}.animals-page__sort select{min-height:46px;padding:0 .9rem;border:1px solid #dfcfb1;border-radius:14px;background:#fff;font-size:.98rem;color:#203126}.animals-page__table-wrapper{overflow-x:auto;border:1px solid #dfcfb1;border-radius:22px}.animals-page__table{width:100%;border-collapse:collapse;background:#fff}.animals-page__table th,.animals-page__table td{padding:1rem .9rem;border-bottom:1px solid #efe2c9;text-align:left;vertical-align:middle}.animals-page__table th{background:#f8f3e8;color:#203126;font-weight:800;font-size:.9rem}.animals-page__table tbody tr:last-child td{border-bottom:0}.animals-page__tag-pill{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:34px;padding:.3rem .7rem;border-radius:999px;background:linear-gradient(180deg,#f6fbf3,#e7f1df);color:#2a7a39;font-size:.88rem;font-weight:800}.animals-page__actions{display:flex;justify-content:flex-end;gap:.75rem}.animals-page__pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem}.animals-page__pagination-actions{display:flex;align-items:center;gap:.75rem}.animals-page__pagination-current{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;color:#fff;background:linear-gradient(180deg,#27843e,#1f6c31);font-weight:800}.animals-page__mode-switch{display:flex;gap:.75rem;margin-bottom:1rem}@media (max-width: 960px){.app-shell{grid-template-columns:1fr}.sidebar{gap:.85rem;padding:1rem}.sidebar__nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar__footer-line{display:none}.main-content{padding:1rem}.quantity-stats,.quantity-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-stats,.fields-stats,.fields-toolbar,.monthly-activity-overview,.monthly-activity-list__head,.monthly-activity-list__row{grid-template-columns:1fr}.fields-table__head{display:none}.fields-table__row{grid-template-columns:1fr;gap:.7rem}.fields-table__row>div:not(:first-child){border-left:0}.fields-table__cell,.fields-table__activity,.fields-table__actions{justify-content:flex-start;text-align:left;padding-left:0}.fields-map-modal,.fields-general-map-modal,.fields-map-modal__animals{grid-template-columns:1fr}.reports-type-grid,.reports-preview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-period-grid,.owners-page__summary,.owners-page__filters,.pastures-page__summary,.pastures-page__filters,.animals-page__filters,.animals-page__stats{grid-template-columns:1fr}.owners-page__summary-card--bordered,.pastures-page__summary-card--bordered{border-top:1px solid #ead9b9;border-left:0}}@media (max-width: 640px){html{font-size:17px}.topbar,.page-section__header{flex-direction:column;align-items:flex-start}.owner-card__header{flex-direction:column}.topbar__actions,.topbar__user{width:100%}.topbar__user{justify-items:start}.screen-header{align-items:flex-start;flex-direction:column}.sidebar__nav{display:none}.quantity-panel__header{grid-template-columns:1fr;display:grid}.help-page__topbar,.help-page__hero,.help-page__content-header,.help-page__support-card{align-items:flex-start;flex-direction:column}.help-page__section-grid,.help-page__article{grid-template-columns:1fr}.reports-generate-panel,.reports-generate-panel__info,.reports-result__header,.quantity-panel__header{align-items:flex-start;flex-direction:column}.reports-type-grid,.reports-preview-stats,.reports-dates{grid-template-columns:1fr}.reports-generate-button{width:100%;min-width:0}.owners-page__new-button{width:100%}.owners-page__actions,.pastures-page__actions,.animals-page__actions,.animals-page__filter-actions,.animals-page__pagination,.animals-page__pagination-actions,.animals-page__mode-switch,.animals-page__table-head,.animals-page__sort{justify-content:flex-start;flex-wrap:wrap}.quantity-stats,.quantity-actions{grid-template-columns:1fr}.quantity-table__head{display:none}.quantity-table__row{grid-template-columns:1fr;gap:.7rem}.quantity-table__control,.quantity-table__total{justify-items:start;text-align:left}.quantity-table__control{justify-content:space-between}.quantity-modal__option-grid--two,.quantity-stepper{grid-template-columns:1fr}.mobile-nav{position:fixed;right:0;bottom:0;left:0;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;padding:.85rem .75rem calc(.85rem + env(safe-area-inset-bottom,0));border-top:1px solid var(--color-border);background:#fffdf8fa;box-shadow:0 -10px 24px #23312714;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-nav__link{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:.75rem .35rem;border:1px solid var(--color-border);border-radius:999px;background:#fff;font-size:.82rem;font-weight:700;text-align:center}.mobile-nav__link.active{color:#f7f3ea;background:linear-gradient(180deg,#3c844b,#2f6b3b);border-color:transparent}}@media print{@page{size:A4 portrait;margin:10mm}:root{background:#fff}html,body,#root{width:100%;min-height:auto;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body{background:#fff;font-size:12pt}.sidebar,.mobile-nav,.topbar,.print-hidden,.page-section__actions,.screen-header__actions,.quantity-modal,.simple-modal,.form-message{display:none!important}.app-shell{display:block;min-height:auto}.main-content{padding:0}.page{gap:.75rem;padding-bottom:0}.screen-header{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;margin-bottom:.25rem}.quantity-screen-tag{border-color:#9dc399!important;background:#f3faef!important;color:#2b6a30!important}.quantity-panel{display:block;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;break-inside:auto}.quantity-panel>*+*{margin-top:.9rem}.quantity-panel__header{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:start}.quantity-panel__title{font-size:2rem}.quantity-date-box,.quantity-stat,.quantity-table-card,.quantity-action-card,.card,.empty-state,.loading-state{background:#fff!important;box-shadow:none!important;break-inside:avoid}.quantity-date-box,.quantity-stat,.quantity-table-card,.card{border-color:var(--color-border)!important}.quantity-stats{gap:.65rem}.quantity-stat,.quantity-table-card{padding:.9rem}.quantity-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.quantity-action-card{min-height:100px;color:#203126!important;border:1px solid var(--color-border)!important;background:#fff!important}.quantity-action-card__icon,.quantity-action-card__label{color:inherit!important}.quantity-table,.purchases-table,.fields-table,.stock-table{break-inside:auto}.quantity-table__row,.purchases-table__row,.fields-table__row,.stock-table__row{break-inside:avoid}.page-section,.card,.stat-card{break-inside:avoid;box-shadow:none;background:#fff}.card,.topbar,.empty-state,.loading-state{border-color:#cfcfcf}.reports-print-header{display:block;margin-bottom:1.5rem}.reports-print-header h1,.reports-print-header p{margin:0}.reports-print-header p{margin-top:.35rem;color:#333}}
