@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --bg: #f7f8fa;
  --white: #fff;
  --ink: #21262d;
  --muted: #717f90;
  --line: #e9ebed;
  --accent: #273e5b;
  --accent-soft: #eef0f3;
  --chart-0: #3f5672;
  --chart-1: #91a0b2;
  --chart-2: #d5b87b;
  --chart-3: #dfe2e5;
  --sidebar: 246px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
input,
select,
textarea {
  border: 1px solid #dfe2e5;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #abb5c1;
  border-color: #6b7c90;
}
select {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: "Manrope", "DM Sans", sans-serif;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 700;
}
p {
  line-height: 1.7;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 31px 18px 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 34px;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -1.9px;
  line-height: 1;
}
.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 34px;
  height: 40px;
}
.brand-dot {
  color: #5e728a;
}
.brand small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 6.1px;
  letter-spacing: 1.25px;
  margin-top: 8px;
  font-weight: 650;
  color: #6e7c8d;
}
.farm-select {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  width: 100%;
  padding: 12px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  margin-bottom: 32px;
}
.farm-icon {
  width: 31px;
  height: 33px;
  display: grid;
  place-items: center;
  background: #eceef1;
  color: #586371;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
}
.farm-select strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
}
.farm-select small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.farm-select > svg {
  margin-left: auto;
  color: var(--muted);
}
.nav-caption {
  font-size: 9px;
  color: #8b96a3;
  font-weight: 650;
  letter-spacing: 1.3px;
  margin: 0 13px 12px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 6px;
  color: #667281;
  font-weight: 500;
  font-size: 12px;
  text-align: left;
}
.sidebar nav button.active,
.utility.active {
  background: #ebeef1;
  color: var(--accent);
  font-weight: 650;
}
.sidebar nav button.active {
  box-shadow: inset 3px 0 0 #3d5471;
}
.sidebar nav button:hover,
.utility:hover {
  background: #f2f4f6;
}
.nav-count {
  margin-left: auto;
  padding: 1px 6px;
  border: 1px solid #dce0e4;
  border-radius: 4px;
  font-size: 10px;
  color: #657281;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 55px;
}
.connection {
  margin: 10px 7px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #505a66;
  background: #f3f5f8;
  border: 1px solid #e4e8ec;
  border-radius: 7px;
  padding: 13px 10px;
}
.connection small {
  display: block;
  font-size: 8px;
  color: #8b96a4;
  margin-top: 4px;
}
.connection > svg {
  margin-left: auto;
  color: #818d9c;
}
.live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d8097;
}
.utility {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #727f90;
  font-size: 11px;
  border-radius: 6px;
}
.utility > svg:last-child:not(:first-child) {
  margin-left: auto;
}
.profile {
  margin: 17px -18px 0;
  padding: 19px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ebebe2;
  color: #63707f;
  font-size: 11px;
  font-weight: 650;
}
.profile strong {
  font-size: 10px;
  display: block;
}
.profile small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.profile button {
  margin-left: auto;
  color: #84909e;
}
.workspace {
  margin-left: var(--sidebar);
  width: calc(100% - var(--sidebar));
}
.topbar {
  height: 73px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  position: relative;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.topbar strong {
  font-size: 11px;
  font-weight: 550;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8a95a3;
  font-size: 11px;
}
.top-right {
  color: #7c8998;
  font-size: 10px;
}
.top-date {
  display: flex;
  align-items: center;
  gap: 9px;
}
.top-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 6px;
}
.notification-button {
  position: relative;
  padding: 6px;
  color: #677483;
}
.notification-button i {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b59759;
  border: 1px solid white;
}
.notification-pop {
  position: absolute !important;
  right: 30px;
  top: 60px;
  width: 300px;
  display: block !important;
  background: white;
  box-shadow: 0 8px 40px #172f2520;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  z-index: 40;
}
.notification-pop p {
  font-size: 12px;
  margin: 12px 0;
  color: var(--muted);
}
.main {
  max-width: 1640px;
  margin: 0 auto;
  padding: 35px 35px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #768393;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 11px;
  color: #818d9c;
  margin-top: 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 550;
  background: white;
  border: 1px solid #dfe2e6;
  border-radius: 6px;
  white-space: nowrap;
  min-height: 37px;
  box-shadow: 0 1px 2px #233e2804;
}
.button:hover {
  background: #f3f5f7;
}
.button.primary {
  background: #2a3e56;
  color: white;
  border-color: #2a3e56;
  box-shadow: 0 2px 3px #1e56331a;
}
.button.primary:hover {
  background: #203044;
}
.full {
  width: 100%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px 20px 16px;
  box-shadow: 0 2px 3px #263a3002;
  min-height: 147px;
}
.stat-card.green {
  background: #f1f3f5;
  border-color: #dde2e7;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #748191;
  font-size: 11px;
  font-weight: 500;
}
.stat-top svg {
  color: #85919f;
}
.stat-card.green .stat-top,
.stat-card.green .stat-top svg {
  color: #5a6a7e;
}
.stat-value {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 35px;
  letter-spacing: -1.6px;
  font-weight: 650;
  margin-top: 10px;
  line-height: 1.1;
}
.stat-card.green .stat-value {
  color: #31465f;
}
.stat-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #8995a3;
  margin-top: 13px;
}
.mini-dot {
  height: 4px;
  width: 4px;
  background: #a0a9b4;
  border-radius: 50%;
}
.green .mini-dot {
  background: #728397;
}
.amber .stat-footer {
  color: #ad9465;
}
.amber .mini-dot {
  background: #c0a16a;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 23px;
  align-items: start;
}
.main-column,
.side-column {
  min-width: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 4px #24372c02;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 23px 20px;
}
.panel-heading p {
  font-size: 10px;
  color: #8c97a4;
  margin-top: 6px;
}
.panel-heading > svg {
  color: #9ea7b3;
}
.count-badge {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0;
  margin-left: 6px;
  background: #f1f2f4;
  color: #748191;
  padding: 3px 6px;
  border: 1px solid #e6e9ec;
  border-radius: 4px;
  font-weight: 500;
  vertical-align: middle;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #64707f;
  white-space: nowrap;
  padding: 3px 0;
}
.text-button:hover {
  color: #293c54;
  text-decoration: underline;
}
.task-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 22px 16px;
}
.task-tabs button {
  padding: 8px 10px;
  border: 1px solid transparent;
  font-size: 10px;
  color: #7d8a99;
  border-radius: 5px;
  white-space: nowrap;
}
.task-tabs button.selected {
  background: #f1f3f5;
  border-color: #e4e7ea;
  color: #465465;
  font-weight: 550;
}
.task-tabs span {
  font-size: 8px;
  background: #e1e5e9;
  border-radius: 3px;
  margin-left: 6px;
  padding: 1px 4px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #f9fafb;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #919ba8;
  padding: 12px 20px;
  border-top: 1px solid #edeff1;
  border-bottom: 1px solid #edeff1;
}
td {
  padding: 17px 20px;
  font-size: 11px;
  border-bottom: 1px solid #eef0f2;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafbfd;
}
.cow-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 11px;
  padding: 0;
}
.cow-mark {
  width: 28px;
  height: 29px;
  border: 1px solid #e2e5e8;
  border-radius: 5px;
  color: #828e9c;
  background: #f0f2f5;
  font-size: 9px;
  display: inline-grid;
  place-items: center;
  font-weight: 500;
}
.task-table th {
  padding: 11px 17px;
}
.task-table td {
  padding: 16px 17px;
}
.task-table th:first-child,
.task-table td:first-child {
  padding-left: 23px;
}
.task-table th:last-child,
.task-table td:last-child {
  padding-right: 23px;
}
.task-icon {
  display: inline-flex;
  vertical-align: top;
  margin: 3px 7px 0 0;
  color: #6d7b8c;
}
.task-icon.treatment {
  color: #a78e60;
}
.task-icon.dry {
  color: #778595;
}
.task-name {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
}
.task-name small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  color: #919ba8;
  margin-top: 5px;
}
.due {
  font-size: 9px;
  color: #758292;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.due.overdue {
  color: #b08e57;
  background: #fbf6e9;
  border: 1px solid #f0e7d0;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 8px;
}
.right {
  text-align: right;
}
.row-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e6e9;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 9px;
  background: #fff;
  color: #6a7888;
}
.row-action:hover {
  background: #eef1f4;
  border-color: #cacfd6;
}
.panel-footer {
  padding: 15px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 8px;
  color: #97a1ae;
  background: #fff;
}
.panel-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.panel-footer .live-dot {
  height: 4px;
  width: 4px;
}
.panel-footer .text-button {
  font-size: 9px;
}
.herd-panel .panel-heading {
  padding-bottom: 10px;
}
.donut {
  width: 152px;
  height: 152px;
  margin: 12px auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-90deg);
}
.donut > div {
  background: white;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
.donut strong {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  letter-spacing: -1.2px;
  font-weight: 650;
}
.donut span {
  font-size: 9px;
  color: #8e99a7;
  margin-top: 3px;
}
.chart-legend {
  padding: 0 22px 18px;
}
.chart-legend > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 10px;
}
.chart-legend > div > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #778494;
}
.chart-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.chart-legend strong {
  font-size: 10px;
  font-weight: 550;
}
.chart-legend small {
  color: #97a1ad;
  display: inline-block;
  min-width: 38px;
  text-align: right;
  font-weight: 400;
  font-size: 9px;
}
.activity-panel {
  margin-top: 22px;
}
.activity-panel .panel-heading {
  padding-bottom: 22px;
}
.timeline {
  padding: 0 23px;
}
.timeline-item {
  display: flex;
  gap: 13px;
  position: relative;
  padding-bottom: 23px;
}
.timeline-item:not(:last-child):before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  height: 100%;
  width: 1px;
  background: #eaecef;
}
.timeline-dot {
  width: 7px;
  height: 7px;
  border: 1px solid #c8cdd3;
  background: #e3e7ec;
  border-radius: 50%;
  margin-top: 4px;
  z-index: 1;
  flex-shrink: 0;
}
.timeline-dot.first {
  background: #6c7b8d;
  border-color: #6c7b8d;
}
.timeline-item strong {
  font-size: 9px;
  font-weight: 550;
}
.timeline-item strong span {
  font-weight: 400;
  color: #8894a2;
}
.timeline-item p {
  font-size: 9px;
  color: #99a3af;
  margin-top: 4px;
}
.timeline-item small {
  font-size: 8px;
  color: #a6afb9;
  display: block;
  margin-top: 4px;
}
.activity-foot {
  border-top: 1px solid var(--line);
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #909ba8;
  font-size: 8px;
}
.insight-banner {
  margin-top: 22px;
  border: 1px solid #e0e4e8;
  background: linear-gradient(115deg, #eef1f4, #f2f4f7);
  border-radius: 8px;
  padding: 24px 21px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.insight-icon {
  height: 46px;
  width: 46px;
  background: #e0e5ec;
  border: 1px solid #d6dde5;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #6c798a;
  flex-shrink: 0;
}
.insight-banner .eyebrow {
  font-size: 7px;
  margin-bottom: 5px;
  color: #7f8c9b;
}
.insight-banner h3 {
  font-size: 15px;
  letter-spacing: -0.4px;
  color: #414d5c;
}
.insight-banner p {
  font-size: 9px;
  color: #8b96a4;
  margin-top: 5px;
  max-width: 280px;
}
.insight-banner .button {
  margin-left: auto;
  font-size: 9px;
  padding: 9px 11px;
  background: #f5f7fa;
  border-color: #d7dce3;
  color: #677483;
  min-height: 32px;
}
.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0 22px;
  margin-top: 10px;
  font-size: 8px;
  color: #a1aab5;
  letter-spacing: 0.2px;
}
.main-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
}
.main-footer .live-dot {
  width: 4px;
  height: 4px;
  background: #8894a2;
}
.footer-divider {
  margin: 0 8px;
  color: #c4cad1;
}
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 16px;
}
.list-tools .task-tabs {
  padding: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e0e3e6;
  background: white;
  border-radius: 6px;
  padding: 0 11px;
  color: #84909e;
}
.search input {
  border: 0;
  background: none;
  padding: 10px 0;
  font-size: 11px;
  outline: 0;
  width: 200px;
}
.cow-tools {
  border-top: 1px solid var(--line);
  padding: 17px 23px;
}
.cow-tools .search input {
  width: 280px;
}
.cow-tools select,
.inline select {
  padding: 9px 11px;
  font-size: 11px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  background: #eeeff1;
  border: 1px solid #e2e5e8;
  border-radius: 4px;
  padding: 4px 7px;
  color: #7a8796;
}
.status:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status.PREGNANT {
  color: #5e6d80;
  background: #f0f2f5;
  border-color: #e0e5eb;
}
.status.INSEMINATED {
  color: #808d9c;
  background: #f2f4f6;
  border-color: #e3e7eb;
}
.status.OPEN {
  color: #b09765;
  background: #faf6ed;
  border-color: #eee6d5;
}
.status.DRY {
  color: #8e99a6;
  background: #f0f2f4;
  border-color: #e1e5ea;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.pagination button {
  height: 26px;
  width: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.loading,
.empty {
  padding: 40px 20px;
  text-align: center;
  color: #8a95a3;
  font-size: 12px;
}
.empty > svg {
  color: #9fa9b5;
  margin-bottom: 10px;
}
.empty h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.empty p {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.reproduction-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}
.milestones {
  padding: 0 24px;
}
.milestones > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.milestone-index {
  font-size: 12px;
  color: #a1aab5;
}
.milestones strong {
  font-size: 12px;
}
.milestones small {
  display: block;
  font-size: 10px;
  color: #97a1ad;
  margin-top: 5px;
}
.milestones b {
  margin-left: auto;
  color: #657385;
  font-size: 12px;
  font-weight: 500;
}
.panel-note {
  font-size: 10px;
  color: #8c97a4;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.protocol-intro {
  display: flex;
  align-items: center;
  gap: 19px;
  border: 1px solid #dce1e8;
  border-radius: 9px;
  background: #ebeff4;
  padding: 26px;
  margin-bottom: 24px;
}
.protocol-intro h2 {
  font-size: 18px;
  color: #445467;
}
.protocol-intro p {
  font-size: 11px;
  color: #909aa7;
  margin-top: 7px;
}
.protocol-intro .button {
  margin-left: auto;
}
.protocol-large {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  background: #dbe2ea;
  color: #697b91;
  border-radius: 10px;
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.protocol-steps {
  padding: 0 24px;
}
.protocol-steps > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.protocol-steps > div > span {
  width: 29px;
  height: 29px;
  border: 1px solid #d9dfe7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #697b92;
  background: #f0f4f8;
  font-size: 11px;
}
.protocol-steps small {
  display: block;
  font-size: 9px;
  color: #9aa4b0;
  margin-bottom: 5px;
}
.protocol-steps strong {
  font-size: 12px;
  font-weight: 500;
}
.protocol-steps > div > svg {
  margin-left: auto;
  flex-shrink: 0;
  color: #97a3b1;
}
.protocol-steps > div > span { flex-shrink: 0; }
.protocol-steps > div > div { flex: 1; min-width: 0; }
.protocol-steps strong { display: block; line-height: 1.5; }
.protocol-steps .protocol-time {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: #eef4fa;
  line-height: 1.3;
  white-space: nowrap;
}
.protocol-steps .protocol-time svg {
  margin: 0;
  flex-shrink: 0;
  color: #6887a3;
}
.settings-panel {
  max-width: 800px;
}
.settings-panel .form {
  padding: 0 24px 24px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #697685;
}
label input,
label select,
label textarea {
  width: 100%;
  font-size: 12px;
  font-weight: 400;
}
textarea {
  resize: vertical;
}
.input-suffix {
  position: relative;
}
.input-suffix input {
  padding-right: 60px;
}
.input-suffix span {
  position: absolute;
  right: 12px;
  top: 13px;
  color: #97a1ae;
  font-size: 10px;
}
.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  background: #f3f5f7;
  border: 1px solid #e0e6ec;
  border-radius: 6px;
  color: #7e8b9a;
  font-size: 10px;
}
.notice > svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.notice p {
  line-height: 1.7;
}
.error {
  padding: 11px 13px;
  background: #fff4ef;
  border: 1px solid #f1d7cc;
  border-radius: 6px;
  color: #b0765d;
  font-size: 11px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 80px);
  transform: translateX(-50%);
  background: #293646;
  color: #f3f6f9;
  padding: 15px 19px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #213e372a;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  z-index: 100;
  max-width: 90vw;
}
.toast button {
  color: #a3adb9;
  padding: 0;
  margin-left: 12px;
  display: flex;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  padding: 5px;
  color: #8f9aa7;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #142a2459;
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  width: 570px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: white;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  box-shadow: 0 20px 100px #0e2a2738;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
}
.modal-header p {
  font-size: 11px;
  color: #8b96a4;
  margin-top: 9px;
}
.modal > .form {
  padding: 27px;
}
.form-note {
  font-size: 10px;
  color: #919ca9;
  display: flex;
  align-items: center;
  gap: 7px;
}
.selected-cow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #f5f7fa;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
}
.selected-cow strong {
  font-size: 12px;
}
.selected-cow button {
  margin-left: auto;
}
.selected-cow .status {
  margin-left: auto;
}
.search-results {
  border: 1px solid var(--line);
  border-radius: 7px;
  max-height: 180px;
  overflow: auto;
}
.search-results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.search-results button:hover {
  background: #eef2f6;
}
.cow-detail {
  padding: 25px 28px;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.detail-metrics > div {
  border-right: 1px solid var(--line);
  padding-left: 18px;
}
.detail-metrics > div:first-child {
  padding-left: 0;
}
.detail-metrics > div:last-child {
  border: 0;
}
.detail-metrics span {
  font-size: 9px;
  color: #959fac;
}
.detail-metrics strong {
  display: block;
  font-family: "Manrope";
  font-size: 25px;
  font-weight: 600;
  margin-top: 7px;
}
.detail-dates {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 11px;
  color: #96a0ad;
}
.detail-dates > span {
  display: flex;
  justify-content: space-between;
}
.detail-dates b {
  font-weight: 500;
  color: #6b7989;
}
.detail-actions {
  margin: 24px 0;
}
.history-heading {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  margin: 26px 0 20px;
}
.history-heading span {
  font-size: 9px;
  font-weight: 400;
}
.history > div {
  display: flex;
  gap: 13px;
  padding: 0 0 21px;
}
.history-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9eadc0;
  margin-top: 4px;
  flex-shrink: 0;
}
.history > div > div {
  flex: 1;
}
.history strong {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  font-weight: 550;
}
.history time {
  font-size: 9px;
  color: #939eab;
  font-weight: 400;
}
.history p {
  font-size: 10px;
  color: #8a95a3;
  margin-top: 5px;
}
.history small {
  font-size: 9px;
  color: #a1aab5;
  display: block;
  margin-top: 6px;
}
.help-text {
  padding: 25px 28px;
  color: #7f8b9a;
  font-size: 12px;
}
.help-text h3 {
  font-size: 13px;
  color: #546170;
  margin: 22px 0 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef1f5;
  border: 1px solid #dce2e9;
  color: #76879b;
  font-size: 9px;
  padding: 6px 9px;
  border-radius: 5px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-story {
  background: #212e3e;
  color: #e8ecf1;
  padding: 50px 55px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-story .brand {
  margin: 0;
  z-index: 1;
  color: #ecf1f6;
}
.login-story .brand-symbol {
  color: #9ca8b6;
}
.login-story .brand small {
  color: #959fac;
}
.login-story > div:not(.orbit) {
  z-index: 1;
}
.login-story .eyebrow {
  color: #9fabb9;
  font-size: 9px;
}
.login-story h1 {
  font-size: clamp(32px, 3.2vw, 53px);
  line-height: 1.3;
  letter-spacing: -1.8px;
  margin: 22px 0;
}
.login-story h1 em {
  font-style: normal;
  color: #a2b0c2;
}
.login-story p {
  color: #9da6b2;
  font-size: 13px;
  line-height: 1.9;
}
.login-foot {
  font-size: 10px;
  color: #8792a0;
  z-index: 1;
}
.orbit {
  position: absolute;
  border: 1px solid #52735a55;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  right: -260px;
  bottom: -110px;
}
.orbit.o2 {
  width: 700px;
  height: 700px;
  right: -335px;
  bottom: -185px;
}
.login-form {
  max-width: 410px;
  width: 100%;
  margin: auto;
  padding: 50px 20px;
}
.login-form > .pill {
  margin-bottom: 30px;
}
.login-form h2 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
}
.login-form > p {
  font-size: 12px;
  color: #8e99a7;
  margin: 13px 0 30px;
}
.login-form form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.login-form label {
  font-size: 11px;
}
.login-form input {
  padding: 13px 12px;
}
.login-form .button {
  min-height: 43px;
  font-size: 12px;
}
.demo-box {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 25px;
}
.demo-box strong {
  font-size: 12px;
}
.demo-box p {
  font-size: 10px;
  color: #919ba8;
  margin: 8px 0 15px;
}
.login-form > small {
  display: block;
  text-align: center;
  font-size: 9px;
  margin-top: 30px;
  color: #a1aab5;
}
.mobile-toggle {
  display: none;
}
@media (min-width: 1450px) {
  .main {
    padding: 40px 44px 0;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .stat-card {
    min-height: 160px;
    padding: 22px 24px;
  }
  .stat-value {
    font-size: 39px;
  }
  .task-table td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .page-heading {
    margin-bottom: 32px;
  }
  .topbar {
    padding: 0 44px;
  }
  .task-name {
    font-size: 11px;
  }
  .task-name small {
    font-size: 9px;
  }
  .herd-panel .panel-heading {
    padding-top: 24px;
  }
  .donut {
    margin-top: 20px;
    margin-bottom: 24px;
  }
  .chart-legend > div {
    padding: 9px 0;
  }
  .activity-panel .timeline-item {
    padding-bottom: 25px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 220px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .profile {
    margin-left: -13px;
    margin-right: -13px;
  }
  .main {
    padding: 28px 24px 0;
  }
  h1 {
    font-size: 24px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 17px;
  }
  .panel-heading {
    padding: 19px 18px;
    gap: 8px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .task-table th,
  .task-table td {
    padding: 14px 12px;
  }
  .task-table th:first-child,
  .task-table td:first-child {
    padding-left: 18px;
  }
  .task-table th:last-child,
  .task-table td:last-child {
    padding-right: 18px;
  }
  .task-tabs {
    padding-left: 15px;
    padding-right: 15px;
    gap: 1px;
  }
  .task-tabs button {
    padding: 7px;
    font-size: 9px;
  }
  .panel-footer {
    padding: 13px 18px;
  }
  .panel-footer > span {
    max-width: 180px;
    font-size: 7px;
  }
  .insight-banner {
    padding: 20px 15px;
    gap: 12px;
  }
  .insight-banner .button {
    padding: 8px;
    font-size: 8px;
  }
  .insight-icon {
    height: 36px;
    width: 36px;
  }
  .insight-banner p {
    max-width: 210px;
    font-size: 8px;
  }
  .stat-card {
    padding: 17px 16px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-footer {
    font-size: 8px;
  }
  .stat-top svg {
    width: 16px;
  }
  .stats-grid {
    gap: 13px;
  }
  .task-icon {
    display: none;
  }
  .task-name {
    font-size: 9px;
  }
  .task-name small {
    font-size: 8px;
  }
  .cow-mark {
    width: 25px;
  }
  .panel-heading .text-button {
    font-size: 8px;
  }
  .list-tools {
    flex-wrap: wrap;
  }
  .topbar {
    padding: 0 24px;
  }
}
@media (max-width: 1020px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .activity-panel {
    margin-top: 0;
  }
  .task-icon {
    display: inline-flex;
  }
  .task-name {
    font-size: 11px;
  }
  .task-name small {
    font-size: 9px;
  }
  .task-table td {
    padding-top: 19px;
    padding-bottom: 19px;
  }
  .task-tabs button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 10px;
  }
  .page-heading h1 {
    max-width: 420px;
    font-size: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reproduction-grid {
    grid-template-columns: 1fr;
  }
  .protocol-grid {
    grid-template-columns: 1fr;
  }
  .protocol-intro {
    flex-wrap: wrap;
  }
  .protocol-intro .button {
    margin-left: 72px;
  }
  .main-footer {
    font-size: 7px;
  }
  .login-story {
    padding: 40px 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 246px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 10px 0 40px #16352433;
  }
  .workspace {
    width: 100%;
    margin: 0;
  }
  .mobile-toggle {
    display: inline-grid;
  }
  .topbar {
    height: 62px;
    padding: 0 19px;
  }
  .main {
    padding: 24px 18px 0;
  }
  .top-date {
    font-size: 9px;
  }
  .crumb {
    display: none;
  }
  .page-heading {
    flex-direction: column;
    gap: 17px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
    max-width: none;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .button {
    min-height: 36px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    min-height: 135px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-value {
    font-size: 32px;
  }
  .stat-footer {
    font-size: 8px;
    line-height: 1.5;
  }
  .dashboard-columns {
    gap: 18px;
  }
  .side-column {
    gap: 15px;
  }
  .panel-heading {
    padding: 19px 17px;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .panel-heading .text-button {
    font-size: 8px;
    gap: 3px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .task-table {
    min-width: 530px;
  }
  .task-table .task-icon {
    display: none;
  }
  .task-table th,
  .task-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
  .task-tabs {
    overflow: auto;
    padding-bottom: 12px;
  }
  .task-tabs button {
    font-size: 9px;
    flex-shrink: 0;
  }
  .task-table td {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .task-name {
    font-size: 10px;
  }
  .task-name small {
    font-size: 8px;
  }
  .panel-footer {
    gap: 8px;
    padding: 13px 15px;
  }
  .panel-footer > span {
    font-size: 7px;
  }
  .panel-footer .text-button {
    font-size: 8px;
  }
  .insight-banner {
    flex-wrap: wrap;
    padding: 21px 18px;
  }
  .insight-banner p {
    max-width: none;
    font-size: 9px;
  }
  .insight-banner .button {
    margin-left: 48px;
    font-size: 9px;
  }
  .insight-banner h3 {
    font-size: 15px;
  }
  .insight-banner > div {
    flex: 1;
    min-width: 200px;
  }
  .chart-legend {
    padding: 0 16px 15px;
  }
  .herd-panel .panel-heading h2 {
    font-size: 11px;
  }
  .donut {
    width: 130px;
    height: 130px;
  }
  .donut > div {
    width: 102px;
    height: 102px;
  }
  .donut strong {
    font-size: 26px;
  }
  .chart-legend > div {
    font-size: 9px;
  }
  .chart-legend strong {
    font-size: 9px;
  }
  .chart-legend small {
    min-width: 29px;
    font-size: 8px;
  }
  .activity-panel .panel-heading h2 {
    font-size: 11px;
  }
  .timeline {
    padding: 0 16px;
  }
  .timeline-item {
    gap: 9px;
    padding-bottom: 20px;
  }
  .timeline-item strong {
    font-size: 9px;
  }
  .timeline-item strong span {
    display: block;
    margin-top: 4px;
  }
  .timeline-item p {
    font-size: 8px;
  }
  .activity-foot {
    padding: 13px;
    font-size: 7px;
  }
  .activity-foot svg {
    width: 12px;
  }
  .main-footer > span:first-child {
    font-size: 6px;
  }
  .main-footer > span:last-child {
    font-size: 7px;
  }
  .footer-divider {
    margin: 0 4px;
  }
  .toast {
    left: 50%;
    min-width: 280px;
    font-size: 11px;
  }
  .modal-backdrop {
    padding: 13px;
  }
  .modal {
    max-height: 94vh;
  }
  .modal-header {
    padding: 24px;
  }
  .modal > .form {
    padding: 23px;
  }
  .form-grid {
    gap: 16px;
  }
  .cow-tools .search {
    width: 100%;
  }
  .cow-tools .search input {
    width: 100%;
  }
  .list-tools {
    padding-left: 17px;
    padding-right: 17px;
  }
  .inline {
    gap: 8px;
  }
  .inline select {
    font-size: 10px;
  }
  .reproduction-grid {
    gap: 18px;
  }
  .protocol-intro {
    padding: 20px;
    gap: 13px;
  }
  .protocol-intro h2 {
    font-size: 17px;
  }
  .protocol-intro p {
    font-size: 10px;
  }
  .protocol-large {
    width: 42px;
    height: 42px;
  }
  .protocol-intro > div {
    flex: 1;
  }
  .protocol-intro .button {
    margin-left: 55px;
  }
  .detail-metrics > div {
    padding-left: 12px;
  }
  .history-heading span {
    font-size: 8px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: 290px;
    padding: 30px;
  }
  .login-story .brand {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .login-story .brand small {
    font-size: 5px;
  }
  .login-story h1 {
    font-size: 29px;
    margin: 12px 0 8px;
  }
  .login-story p,
  .login-foot {
    display: none;
  }
  .login-story .eyebrow {
    font-size: 7px;
  }
  .login-form {
    padding: 35px 28px;
    max-width: 440px;
  }
  .login-form > .pill {
    margin-bottom: 20px;
  }
  .login-form h2 {
    font-size: 26px;
  }
  .login-form > p {
    margin-bottom: 22px;
  }
}
.farm-switch {
  position: relative;
}
.farm-menu {
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 5px 20px #1b362319;
  z-index: 20;
  padding: 5px;
}
.farm-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  font-size: 11px;
  border-radius: 4px;
}
.farm-menu button:hover {
  background: #eef1f4;
}
.members-panel {
  max-width: 800px;
  margin-top: 24px;
}

/* Origin enterprise palette */
:root {
  --bg: #f3f5f8;
  --ink: #132b44;
  --muted: #66768a;
  --line: #e1e7ee;
  --accent: #123d68;
  --accent-soft: #eaf0f7;
  --chart-0: #164c7a;
  --chart-1: #76a2c7;
  --chart-2: #9ba9ba;
  --chart-3: #dbe2eb;
}
.button.primary {
  background: #123d68;
  border-color: #123d68;
  box-shadow: 0 2px 4px #0e2d4c16;
}
.button.primary:hover {
  background: #0b2c4c;
}
.sidebar nav button.active {
  box-shadow: inset 3px 0 0 #1a66a0;
  color: #123d68;
  background: #eaf0f7;
}
.stat-card.green {
  background: #edf3f9;
  border-color: #d6e2ed;
}
.stat-card.green .stat-value {
  color: #123d68;
}
.stat-card.green .stat-top,
.stat-card.green .stat-top svg {
  color: #55799a;
}
.stat-footer,
.page-heading p {
  color: #758398;
}
.insight-banner {
  background: #edf2f7;
  border-color: #dbe3ed;
}
.insight-banner h3 {
  color: #254a6b;
}
.insight-banner p {
  color: #718399;
}
.panel {
  box-shadow: 0 2px 7px #102b4504;
}
.brand {
  color: #082c4c;
}
.brand-symbol {
  color: #1878b3;
}
.topbar {
  background: #fff;
}
.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.empty-herd {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin-bottom: 24px;
  background: #edf3fa;
  border: 1px solid #d8e3ef;
  border-radius: 9px;
}
.empty-herd p {
  font-size: 12px;
  color: #667c93;
  margin-top: 6px;
}
.empty-herd .button {
  margin-left: auto;
}
.empty .button {
  margin-top: 16px;
}
.sort-heading {
  padding: 0;
  color: inherit;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: inherit;
}
.sort-heading.active {
  color: #145c95;
  font-weight: 650;
}
.cow-tools {
  flex-wrap: wrap;
}
.herd-sort {
  max-width: 210px;
}
.registration-kind {
  padding: 14px;
  background: #f1f5fa;
  border: 1px solid #dce5ef;
  border-radius: 7px;
}
.registration-kind small {
  font-weight: 400;
  font-size: 10px;
  line-height: 1.7;
  color: #718397;
}
@media (max-width: 760px) {
  .empty-herd {
    align-items: flex-start;
    flex-direction: column;
  }
  .empty-herd .button {
    margin-left: 0;
  }
  .page-actions {
    width: 100%;
  }
  .cow-tools .inline {
    flex-wrap: wrap;
  }
  .herd-sort {
    width: 100%;
    max-width: none;
  }
}

.brand-image {
  margin: 0 0 24px;
  justify-content: center;
  min-height: 125px;
}
.brand-image img {
  display: block;
  width: 100%;
  max-height: 165px;
  object-fit: contain;
}
.branding-panel {
  margin-bottom: 24px;
}
.branding-panel .form {
  padding: 0 24px 24px;
}

/* Compact operational worklists */
.task-table {
  font-variant-numeric: tabular-nums;
}
.task-table th {
  background: #e5ebf2;
  color: #30465f;
  font-size: 11px;
  font-weight: 650;
  border-bottom: 2px solid #b7c7d8;
  letter-spacing: 0.2px;
}
.task-table td {
  padding: 9px 16px;
  font-size: 12px;
  border-bottom: 1px solid #e1e7ee;
}
.task-table tbody tr:nth-child(even) {
  background: #f2f5f8;
}
.task-table tbody tr:hover {
  background: #e8f0f8;
}
.task-table .numeric {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  min-width: 56px;
  color: #17324f;
}
.task-table .cow-mark,
.task-table .task-icon {
  display: none;
}
.task-table .cow-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  color: #123d68;
}
.task-table .task-name {
  font-size: 12px;
}
.task-table .task-name small {
  font-size: 10px;
  color: #6b7c90;
}
.task-table .due {
  font-size: 11px;
}
.task-table .row-action {
  font-size: 11px;
  border-color: #cbd7e4;
  color: #18466f;
}
.task-table .due.overdue {
  font-size: 10px;
}
.task-table th.numeric {
  font-family: inherit;
}
.task-tabs button {
  color: #5b6e85;
  font-size: 11px;
}
.task-tabs button.selected {
  background: #dfeaf6;
  color: #123d68;
  border-color: #bdcfe2;
}
.task-tabs span {
  background: #cadcf0;
  color: #19476e;
}
@media (max-width: 760px) {
  .task-table {
    min-width: 660px;
  }
}

.herd-scroll {
  height: min(72vh, 900px);
  min-height: 280px;
  overflow: auto;
  position: relative;
  overflow-anchor: none;
}
.herd-table {
  table-layout: fixed;
  min-width: 760px;
}
.herd-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #e5ebf2;
  height: 38px;
  padding: 10px 16px;
  color: #30465f;
  font-size: 11px;
  box-shadow: 0 1px 0 #cbd7e4;
}
.herd-table td {
  height: 54px;
  padding: 0 16px;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.herd-table th:first-child {
  width: 17%;
}
.herd-table th:nth-child(2) {
  width: 21%;
}
.herd-table th:nth-child(3) {
  width: 18%;
}
.herd-table th:nth-child(4) {
  width: 10%;
}
.herd-table th:nth-child(5),
.herd-table th:nth-child(6) {
  width: 8%;
}
.herd-table th:last-child {
  width: 18%;
}
.youngstock-table { min-width: 1000px; }
.youngstock-table th:first-child { width: 14%; }
.youngstock-table th:nth-child(2) { width: 18%; }
.youngstock-table th:nth-child(3) { width: 14%; }
.youngstock-table th:nth-child(4),
.youngstock-table th:nth-child(5) { width: 17%; }
.youngstock-table th:nth-child(6) { width: 7%; }
.youngstock-table th:last-child { width: 13%; }
.herd-table tbody tr:nth-child(even) {
  background: #f2f5f8;
}
.herd-table tbody tr:hover {
  background: #e9f0f8;
}
.herd-sentinel {
  height: 1px;
}
.herd-load {
  display: flex;
  margin: 14px auto;
}
.farm-icon svg {
  color: #315879;
}
.sidebar-bottom {
  padding-top: 25px;
}
.cow-head-icon {
  color: #4c5968;
  flex-shrink: 0;
}
.ki-report {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.report-toolbar {
  flex-wrap: wrap;
}
.report-controls {
  flex-wrap: wrap;
  align-items: flex-end;
}
.report-controls label {
  font-size: 10px;
  gap: 5px;
}
.report-controls input {
  width: 90px;
}
.report-controls input,
.report-controls select {
  padding: 8px;
  font-size: 11px;
}
.report-definition {
  background: #edf2f7;
  border-top: 1px solid #dbe4ed;
  padding: 16px 23px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #344f6b;
}
.report-definition span {
  color: #6f8297;
  font-size: 10px;
  line-height: 1.7;
}
.cohort-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cohort-metrics section {
  padding: 20px;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 7px;
}
.cohort-metrics section:nth-child(3) {
  background: #edf3f9;
  border-color: #ccdcec;
}
.cohort-metrics span {
  font-size: 11px;
  color: #6b7e93;
  display: block;
}
.cohort-metrics strong {
  font-family: Manrope, Arial, sans-serif;
  font-size: 30px;
  color: #163f66;
  display: block;
  margin: 9px 0;
}
.cohort-metrics small {
  font-size: 10px;
  color: #8190a2;
}
.cohort-table {
  font-variant-numeric: tabular-nums;
}
.cohort-table th {
  font-size: 10px;
  background: #e7edf4;
  border-bottom: 2px solid #bacbdd;
  color: #34516f;
  padding: 12px 14px;
}
.cohort-table td {
  font-size: 11px;
  padding: 11px 14px;
  border-bottom: 1px solid #e0e7ef;
}
.cohort-table tbody tr:nth-child(even) {
  background: #f3f6f9;
}
.cohort-table tbody tr:hover {
  background: #eaf1f8;
}
.cohort-table td:not(:first-child) {
  font-variant-numeric: tabular-nums;
}
.week-link {
  font-size: 11px;
  font-weight: 650;
  color: #15588c;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rate-cell {
  font-weight: 650;
  color: #174c7a;
}
.rate-cell small {
  font-weight: 400;
  color: #8a98a7;
  font-size: 9px;
}
.validation-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
  background: #e9f0f8;
  color: #416587;
  border: 1px solid #d5e0ec;
  white-space: nowrap;
}
.validation-badge.pending {
  background: #f4f2ed;
  border-color: #e8e0d1;
  color: #9a8254;
}
.cohort-outcomes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 23px;
  background: #f2f5f9;
  border-top: 1px solid #e0e6ee;
  font-size: 11px;
  color: #738398;
}
.cohort-outcomes b {
  color: #274f74;
  margin-left: 6px;
}
.cohort-outcome {
  padding: 4px 7px;
  border-radius: 3px;
  font-size: 10px;
  background: #edf1f6;
  color: #5d7490;
}
.cohort-outcome.PREGNANT {
  background: #e5eff9;
  color: #245982;
}
.cohort-outcome.PENDING {
  background: #f2f1ed;
  color: #99825a;
}
.week-detail-title {
  margin-top: 8px;
}
.report-footnote {
  font-size: 10px;
  color: #8291a3;
  line-height: 1.8;
  padding: 0 4px;
}
.protocol-date-picker {
  padding: 15px;
  background: #edf3f9;
  border: 1px solid #d9e4f0;
  border-radius: 7px;
  margin-top: 20px;
}
.protocol-date-picker input {
  max-width: 230px;
}
.protocol-date-picker p {
  font-size: 10px;
  color: #71859c;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .cohort-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cohort-metrics section {
    padding: 15px;
  }
  .cohort-metrics strong {
    font-size: 26px;
  }
  .report-controls {
    gap: 10px;
    width: 100%;
  }
  .report-controls label {
    flex: 1;
    min-width: 90px;
  }
  .report-controls input,
  .report-controls select {
    width: 100%;
  }
  .report-controls .button {
    width: 100%;
  }
  .report-definition {
    padding: 15px 18px;
  }
  .cohort-outcomes {
    gap: 13px;
    padding: 14px 18px;
  }
}

.pregnancy-confirmation {
  padding: 24px 28px;
}
.pregnancy-confirmation > p {
  font-size: 12px;
  line-height: 1.8;
  color: #718297;
}
.confirmation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.confirmation-actions .button {
  min-width: 100px;
}
.nav-parent {
  display: flex;
  gap: 0;
}
.sidebar nav .nav-parent .nav-primary {
  flex: 1;
  min-width: 0;
  border-radius: 6px 0 0 6px;
}
.sidebar nav .nav-parent .nav-expand {
  padding: 0 8px;
  justify-content: center;
  border-radius: 0 6px 6px 0;
  box-shadow: none;
}
.nav-expand svg {
  transition: transform 0.15s;
}
.nav-expand svg.expanded {
  transform: rotate(180deg);
}
.nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 5px 0 8px 17px;
  padding-left: 12px;
  border-left: 1px solid #d9e2ec;
}
.sidebar nav .nav-submenu button {
  font-size: 11px;
  padding: 10px;
  gap: 9px;
}
.sidebar nav .nav-submenu button.active {
  box-shadow: none;
}
.reproduction-placeholders {
  display: grid;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 22px;
}
.reserved-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  background: #fafbfd;
}
.reserved-panel span {
  font-size: 12px;
  color: #a5b0be;
  letter-spacing: 0.2px;
}
.protocol-edit-step {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) 120px;
  gap: 12px;
}
.checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: #174b77;
}
.dry-management {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dry-weekbar {
  padding: 16px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #eef3f9;
  border-top: 1px solid #dce5ef;
  border-bottom: 1px solid #dce5ef;
}
.dry-weekbar strong {
  font-size: 12px;
  color: #345b7f;
}
.dry-weekbar input {
  padding: 8px 10px;
  font-size: 11px;
}
.dry-explanation {
  padding: 14px 23px;
  color: #7d8da1;
  font-size: 11px;
  line-height: 1.8;
  border-bottom: 1px solid #e4eaf1;
}
.dry-list-tools {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.dry-tabs {
  padding: 0;
  flex-wrap: wrap;
}
.dry-tabs button {
  padding: 8px;
}
.dry-tabs button span {
  font-size: 9px;
}
.dry-list-tools .search input {
  width: 180px;
}
.dry-scroll {
  max-height: 680px;
  overflow: auto;
}
.dry-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.dry-table td {
  height: 48px;
}
.dry-group {
  display: inline-flex;
  padding: 4px 7px;
  border: 1px solid #dce4ee;
  border-radius: 4px;
  font-size: 10px;
  color: #64809a;
  background: #eff3f8;
}
.dry-group.CLOSE_UP {
  background: #dfebf7;
  border-color: #c4d7e9;
  color: #244f77;
}
.dry-group.UNASSIGNED {
  background: #f3f4f5;
  border-color: #e2e5e9;
  color: #8a929c;
}
.closeup-advice {
  font-size: 10px;
  color: #245c8d;
}
.dry-overdue {
  font-size: 10px;
  color: #ad7c55;
}
.dry-message {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  background: #eaf1f8;
  color: #3b658a;
  padding: 12px 20px;
}
.row-actions {
  gap: 6px;
}
.row-actions .row-action {
  font-size: 9px;
}
@media (max-width: 760px) {
  .dry-heading,
  .dry-weekbar {
    flex-wrap: wrap;
  }
  .dry-weekbar {
    padding: 15px 17px;
  }
  .dry-weekbar > .inline {
    flex-wrap: wrap;
  }
  .dry-explanation {
    padding: 14px 17px;
    font-size: 10px;
  }
  .dry-list-tools {
    padding: 15px;
  }
  .dry-tabs {
    overflow: visible;
  }
  .dry-list-tools .search {
    width: 100%;
  }
  .dry-list-tools .search input {
    width: 100%;
  }
  .protocol-edit-step {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .protocol-edit-step label:last-child {
    grid-column: 2;
  }
  .reproduction-placeholders {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 160px);
  }
  .reserved-panel {
    min-height: 150px;
  }
}
.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.language-switch {
  position: relative;
  display: flex;
  align-items: center;
}
.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 5px;
  color: #718399;
}
.language-trigger:hover {
  background: #edf2f7;
}
.language-trigger svg:first-child {
  display: block;
  border: 1px solid #cbd4df;
  border-radius: 2px;
  overflow: hidden;
}
.language-menu {
  position: absolute;
  right: 0;
  top: 34px;
  width: 165px;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  box-shadow: 0 7px 25px #152d4620;
  padding: 5px;
  z-index: 60;
}
.language-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 10px 8px;
  font-size: 11px;
  border-radius: 4px;
  color: #405b77;
  text-align: left;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: #edf3f9;
}
.language-menu button[aria-checked="true"] {
  background: #e6eff8;
}
.language-menu button > svg:last-child:not(:first-child) {
  margin-left: auto;
}
.language-menu button > svg:first-child {
  border: 1px solid #d6dde6;
  border-radius: 2px;
}
.form label small {
  font-size: 10px;
  color: #8492a2;
  font-weight: 400;
  line-height: 1.7;
}
.nav-group-label{font-size:9px;font-weight:600;letter-spacing:.8px;color:#8996a7;padding:8px 10px 4px;text-transform:uppercase}.herd-groups-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;margin-bottom:20px}.herd-groups-bar h2{font-size:13px}.herd-group-options{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.herd-group-options button{display:flex;align-items:center;gap:9px;padding:9px 13px;border-radius:5px;border:1px solid #e0e7ef;font-size:11px;color:#6b7f96;background:#fafbfd}.herd-group-options button.selected{color:#164a75;border-color:#b9cee4;background:#e5eff9;font-weight:600}.herd-group-options button span{font-size:9px;color:#758ba2;background:#edf1f6;padding:2px 5px;border-radius:3px}.herd-group-options button.selected span{background:#cbdff2;color:#345d85}.kpi-panel{margin-top:22px}.kpi-list{margin:0;padding:0 22px}.kpi-list>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e3eaf2;padding:20px 0 16px;gap:12px}.kpi-list dt{font-size:12px;font-weight:650;letter-spacing:.6px;color:#55718f}.kpi-list dd{margin:0;font-family:Manrope,Arial,sans-serif;font-size:31px;font-weight:650;color:#163d64;letter-spacing:-1px}.kpi-list dd small{font-family:'DM Sans',Arial,sans-serif;font-size:10px;font-weight:400;margin-left:7px;letter-spacing:0;color:#8898ab}.kpi-description{padding:0 22px 22px;color:#8999ad;font-size:10px;line-height:1.8}@media(max-width:760px){.herd-groups-bar{padding:15px;align-items:flex-start;flex-direction:column;gap:12px}.herd-group-options{gap:6px}.herd-group-options button{font-size:10px;padding:8px 10px}.kpi-list{padding:0 16px}.kpi-description{padding:0 16px 18px}.kpi-list dd{font-size:26px}}

.pdf-download{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.pdf-download .error{font-size:11px;max-width:250px}.clock-control input{border:0;background:transparent;color:#496580;font:inherit;width:132px;cursor:pointer;padding:3px}.simulation-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 22px;margin-bottom:24px;border:1px solid #b8cee5;border-left:4px solid #285f92;border-radius:6px;background:#eaf2fa;color:#214d75}.simulation-banner strong{font-size:12px;letter-spacing:.7px}.simulation-banner p{max-width:760px;font-size:11px;line-height:1.7;margin:6px 0 0}.animal-context{display:flex;align-items:center;gap:20px;padding:13px 16px;background:#edf3f9;border:1px solid #d4e0ed;border-radius:5px;color:#234d76;font-size:13px}.open-decision{border:1px solid #cbdbea;border-radius:6px;padding:17px;display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f6f9fc}.open-decision legend{padding:0 7px;font-size:12px;font-weight:600;color:#204b74}.open-decision p{grid-column:1/-1;font-size:11px;color:#6b8198;line-height:1.7}.embryo-management{display:grid;gap:22px}.embryo-management .form-grid{align-items:start}.embryo-management .list-tools{gap:12px}.embryo-management .list-tools input{min-width:220px}.embryo-management table{min-width:900px}.embryo-management .empty{padding:30px}.settings-panel select{margin-bottom:7px}.history-heading{display:flex;gap:15px;align-items:center;flex-wrap:wrap}@media(max-width:900px){.simulation-banner{align-items:flex-start;flex-direction:column;gap:12px}.open-decision{grid-template-columns:1fr}.top-right{flex-wrap:wrap;gap:8px}.clock-control input{width:120px}.pdf-download .button{font-size:10px}}

/* Compact embryo registration and right-aligned worklist export. */
.embryo-management .embryo-start-form{padding:4px 24px 24px;gap:20px}.embryo-management .embryo-form-grid{grid-template-columns:minmax(200px,1.1fr) minmax(170px,1fr) minmax(160px,.8fr) minmax(180px,1.1fr);gap:18px}.embryo-form-actions{display:flex;justify-content:flex-end;padding-top:16px;border-top:1px solid #e1e8f0}.embryo-form-actions .button{width:auto;min-width:205px;flex:none}.worklist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px 16px}.worklist-toolbar .task-tabs{padding:0;margin:0;flex-wrap:wrap}.worklist-toolbar>.pdf-download{margin-left:auto;flex-shrink:0}.top-date{white-space:nowrap}@media(max-width:1300px){.embryo-management .embryo-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.embryo-management .embryo-start-form{padding:0 16px 20px}.embryo-management .embryo-form-grid{grid-template-columns:1fr}.worklist-toolbar{padding:0 16px 16px;align-items:flex-end;flex-wrap:wrap}.embryo-form-actions{justify-content:flex-start}.embryo-form-actions .button{min-width:0}.worklist-toolbar>.pdf-download{margin-left:auto}}

.account-page{min-height:100dvh;display:grid;place-items:center;position:relative;padding:30px;background:#c3c3b7;overflow:hidden}.account-glass{z-index:1;width:min(365px,100%);padding:30px;border:1px solid rgba(255,255,255,.68);border-radius:12px;background:rgba(240,247,252,.19);backdrop-filter:blur(4px);box-shadow:0 8px 30px rgba(20,35,49,.08);color:#062a48}.account-wordmark{font-size:30px;line-height:1;font-weight:750;letter-spacing:-1px;margin-bottom:30px}.account-wordmark small{display:block;font-size:7px;letter-spacing:1.35px;margin-top:8px;line-height:1.4}.account-glass h1{font-size:24px;letter-spacing:-.7px;margin:0 0 24px}.account-glass form{display:flex;flex-direction:column;gap:16px}.account-glass label{color:#0d2b44;font-size:12px}.account-glass input{background:rgba(255,255,255,.18);border:1px solid rgba(35,65,86,.5);color:#082a43;height:39px}.account-glass input::placeholder{color:#40596a}.account-glass .button.primary{width:100%;font-size:12px;margin-top:4px;background:#0b3457}.account-link{color:#0c3456;font-size:11px;text-decoration:underline;text-align:center}.forgot-link{text-align:right;margin-top:-6px}.secondary-login{font-size:10px;opacity:.8}.password-input{position:relative;display:block}.password-input input{width:100%;padding-right:38px}.password-input button{position:absolute;right:11px;top:10px;color:#234660}.account-security{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:23px;font-size:9px}.account-error{padding:10px;background:rgba(255,240,240,.9);color:#7c2525;font-size:11px}.account-glass label small,.account-glass p{font-size:10px;line-height:1.7}.people-management{display:grid;gap:22px;margin-bottom:24px}.managed-form{padding:0 24px 24px}.managed-form>.button{align-self:flex-start}.settings-panel{margin-bottom:24px}.insight-entry{padding:26px;text-align:left;position:relative;display:flex;flex-direction:column;gap:10px;min-height:180px;color:#193a57}.insight-entry h2{font-size:20px}.insight-entry p{font-size:12px;color:#72869c;line-height:1.6}.insight-entry>svg{position:absolute;right:24px;bottom:24px;color:#235985}.insight-entry:hover{border-color:#93b8d8;background:#f7fafd}.kpi-open{display:flex;align-items:center;gap:10px;font-size:15px!important;font-weight:650;color:#183d60}.insight-controls{padding:12px 24px 22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.insight-controls .task-tabs{padding:0;margin-right:auto}.insight-controls label{min-width:150px}.insight-metrics{padding:0 24px 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.insight-metrics>div{padding:16px;background:#f6f9fc;border:1px solid #e0e7ef;border-radius:6px}.insight-metrics dt{font-size:11px;color:#6e8298;line-height:1.5}.insight-metrics dd{margin:10px 0 0;font-size:21px;color:#153e64;font-weight:650}.insight-explanation{font-size:11px;line-height:1.8;color:#788ca1;padding:0 24px 20px}.insights-panel .panel-heading{gap:20px}@media(max-width:1000px){.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.account-page{padding:18px}.account-glass{padding:24px;background:rgba(244,248,251,.35)}.insight-metrics{grid-template-columns:1fr}.insight-controls{align-items:stretch}.managed-form{padding:0 16px 18px}}
.account-page::before{content:"";position:absolute;inset:0;background:rgba(11,29,48,.18);z-index:1;pointer-events:none}.account-glass{z-index:2;background:rgba(241,246,250,.31);backdrop-filter:blur(4px);box-shadow:0 7px 22px rgba(10,27,44,.1)}
.account-neutral{background:linear-gradient(140deg,#8eabba 0%,#bccbd3 45%,#7691a5 100%)}
/* Selected login direction: generous photo with a narrow, quiet white form. */
.account-page{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(350px,1fr);padding:0;background:#fff;overflow:auto;place-items:stretch}.account-page::before{display:none}.account-glass{align-self:center;justify-self:center;width:min(100%,430px);padding:42px 35px;background:#fff;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;color:#0b2d4b}.account-wordmark{font-size:38px;margin-bottom:46px}.account-wordmark small{font-size:8px;letter-spacing:1.4px}.account-glass h1{font-size:28px;margin-bottom:28px}.account-glass form{gap:20px}.account-glass input{height:45px;background:#fff;border:1px solid #cdd5df}.account-glass .button.primary{height:45px;margin-top:10px}.account-security{color:#718091;margin-top:34px}@media(max-width:780px){.account-page{grid-template-columns:1fr}.account-glass{padding:28px 25px}.account-wordmark{font-size:30px;margin-bottom:27px}.account-glass h1{font-size:25px}}
.settings-sections{display:flex;gap:6px;flex-wrap:wrap;padding:6px;background:#eaf0f6;border:1px solid #dbe5ef;border-radius:8px;width:fit-content;margin-bottom:26px}.settings-sections button{font-size:12px;color:#60758c;padding:11px 18px;border-radius:5px;white-space:nowrap}.settings-sections button.selected{background:#fff;color:#123e66;box-shadow:0 1px 4px rgba(22,47,74,.08);font-weight:600}.settings-content{max-width:1040px}.settings-content .settings-panel,.settings-content .branding-panel{max-width:none}.kpi-section-heading{padding:3px 24px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.kpi-section-heading h3{font-size:14px;color:#173f63;margin:0 0 5px}.kpi-section-heading p,.kpi-section-heading>span{font-size:10px;color:#8293a5;margin:0}.period-metrics>div{border-top:2px solid #9bbad7;background:#f8fafd}.insight-metrics small{display:block;font-size:9px;color:#8a99aa;margin-top:7px}.dim-distribution{border-top:1px solid #e3eaf2;padding-top:20px;margin-bottom:24px}.dim-bars{padding:0 24px}.dim-bars>div{display:grid;grid-template-columns:140px minmax(60px,1fr) 65px 40px;align-items:center;gap:16px;padding:10px 0;font-size:11px;color:#586f86}.dim-track{height:9px;border-radius:3px;background:#e8eff6;overflow:hidden}.dim-track i{display:block;height:100%;background:#547fa6;border-radius:3px}.dim-bars strong{text-align:right;font-weight:600;color:#244e74}.dim-bars small{text-align:right;color:#8697a8}.dim-subgroup{border-top:1px dashed #dce5ee;margin-top:5px}.dim-subgroup .dim-track i{background:#a0b5c9}.empty-insights{padding:18px 24px 24px;color:#8294a7;font-size:12px;line-height:1.7}.account-glass .button.primary:focus-visible,.account-glass .account-link:focus-visible{outline:3px solid #90b6d6;outline-offset:4px}@media(max-width:600px){.settings-sections{width:100%}.settings-sections button{flex:1;font-size:10px;padding:10px}.dim-bars>div{grid-template-columns:110px minmax(40px,1fr) 48px 24px;gap:9px}.kpi-section-heading{align-items:flex-start}.kpi-section-heading>span{display:none}}

/* Fill the login photo panel proportionally, with a centred crop. */
.account-photo-panel{margin:0;min-width:0;position:relative;overflow:hidden;background:#edf1f4;align-self:stretch}
.account-background{display:block;position:absolute;inset:0;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center;image-orientation:from-image;transform:none}
@media(max-width:780px){.account-photo-panel{height:clamp(220px,35dvh,380px);align-self:stretch}}

/* Focusable KPI explanations, shared by milk and youngstock reports. */
.metric-help{position:relative;display:inline-block;max-width:100%}.metric-help>button{font:inherit;color:inherit;text-align:left;display:inline-flex;align-items:center;gap:6px;cursor:help}.metric-help>button:focus-visible{outline:2px solid #547fa6;outline-offset:4px;border-radius:2px}.metric-info{font-size:9px;line-height:13px;width:13px;text-align:center;border:1px solid #a5b4c4;border-radius:50%;flex-shrink:0}.metric-tooltip{position:absolute;z-index:20;left:0;bottom:calc(100% + 10px);width:280px;max-width:65vw;background:#15334e;color:#fff;padding:12px 14px;border-radius:7px;box-shadow:0 5px 18px #15334e25;font-size:12px;line-height:1.6;font-weight:400}.cohort-status{display:flex;gap:12px;flex-wrap:wrap}.dim-bars>div{grid-template-columns:140px minmax(60px,1fr) 110px}@media(max-width:600px){.dim-bars>div{grid-template-columns:90px minmax(25px,1fr) 95px;gap:9px}.kpi-section-heading>.cohort-status{display:flex}}

/* Origin platform administration stays separate from customer workspaces. */
.admin-shell{min-height:100dvh;background:#f2f5f8;color:#17334e}.admin-topbar{padding:22px 4vw;background:#fff;border-bottom:1px solid #dce5ee;display:flex;justify-content:space-between;align-items:center;gap:22px}.admin-wordmark{font-size:28px;font-weight:800;letter-spacing:-1px;color:#0d3455}.admin-wordmark small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1.7px;margin-top:4px;color:#6b8096}.admin-header-right{display:flex;align-items:center;gap:22px}.admin-header-right>span{display:flex;align-items:center;gap:7px;font-size:12px}.admin-main{max-width:1600px;padding:42px 4vw 60px;margin:auto}.admin-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.admin-title h1{font-size:30px;letter-spacing:-1px;margin:12px 0}.admin-title p{font-size:13px;color:#71859a}.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.admin-stats>div{padding:20px 22px;background:#fff;border:1px solid #dce5ee;border-radius:8px}.admin-stats dt{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#72859a}.admin-stats dd{font-size:31px;font-weight:650;margin:14px 0 0;font-variant-numeric:tabular-nums}.admin-stats>div:nth-child(4),.admin-stats>div:nth-child(5){background:#eaf2fa;border-color:#ccdeee}.admin-exports{display:flex;gap:8px;flex-wrap:wrap}.admin-search{padding:0 24px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-search>label{display:flex;flex-direction:row;align-items:center;gap:9px;border:1px solid #d7e1eb;border-radius:6px;padding:0 12px;width:min(360px,100%);height:40px;color:#7b8fa3}.admin-search>label>svg{flex-shrink:0}.admin-search input{border:0;min-width:0;width:0;flex:1;height:38px;padding:0;font-size:12px;background:transparent}.admin-search>label:focus-within{border-color:#7b9fbf;box-shadow:0 0 0 2px #dfeaf4}.admin-search input:focus{outline:0;box-shadow:none}.admin-search>span{font-size:11px;color:#7d8da0}.admin-table{min-width:1050px}.admin-table td{font-size:12px;vertical-align:middle}.admin-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.admin-table td.admin-owner-cell{max-width:250px;white-space:normal;overflow-wrap:anywhere;color:#6b8096;font-size:11px;line-height:1.65}.admin-loading{opacity:.55}.admin-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid #e0e7ef;padding:16px 22px}.admin-pagination>span{font-size:11px;color:#71859a;margin-right:auto}.admin-count-note{font-size:11px;color:#73869a;line-height:1.8;margin-top:18px;max-width:1000px}.admin-workspace-badge{display:inline-flex;align-items:center;gap:5px;margin-right:15px;color:#315f86;background:#e8f1fa;padding:6px 9px;border:1px solid #cddfeb;border-radius:4px;font-size:10px}@media(max-width:700px){.admin-topbar{padding:18px}.admin-header-right{gap:10px}.admin-header-right>span{display:none}.admin-main{padding:26px 16px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-stats>div{padding:16px}.admin-stats dt{font-size:10px}.admin-title h1{font-size:24px}.admin-search{padding:0 16px 16px}.admin-panel .panel-heading{flex-wrap:wrap}.admin-workspace-badge{display:none}}

.login-admin-link{position:absolute;right:30px;top:22px;z-index:4;font-size:11px;color:#60778d;text-decoration:none;padding:8px 10px;border:1px solid #dce5ed;border-radius:5px;background:#fff}.login-admin-link:hover{color:#153e64;border-color:#9db6cb}.admin-rate-panel{padding:22px 24px;margin-top:24px}.admin-rate-panel form{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}.admin-rate-panel form>div:first-child{margin-right:auto}.admin-rate-panel h2{font-size:15px;margin:0 0 7px}.admin-rate-panel p{font-size:11px;color:#788ca0}.admin-rate-panel label{font-size:11px;color:#60788f;display:grid;gap:8px}.rate-input{display:flex;align-items:center;border:1px solid #cfdeea;border-radius:5px;overflow:hidden;background:#fff}.rate-input>span{padding-left:12px;color:#60788f}.rate-input input{border:0;width:120px;height:41px;min-width:0;font-size:14px}.admin-rate-panel .rate-notice{color:#275a83;margin-top:14px}.admin-row-actions{display:flex;gap:8px;align-items:center}.danger-text{color:#9c4141}.button.danger{background:#963b3b;color:#fff;border-color:#963b3b}.admin-table tfoot{position:sticky;bottom:0;background:#e2ecf6;border-top:2px solid #adc3d8;color:#163d61}.admin-table tfoot th,.admin-table tfoot td{font-size:12px;font-weight:650;padding:19px 14px}.admin-amount{font-weight:650;color:#184b75;white-space:nowrap}.admin-confirm-actions{display:flex;justify-content:flex-end;gap:12px}.delete-account-panel .panel-heading{flex-wrap:wrap}.admin-table{min-width:1100px}.admin-table tbody tr:nth-child(even){background:#f4f7fa}@media(max-width:700px){.login-admin-link{right:15px;top:15px;font-size:10px}.account-photo-panel{min-height:220px}.admin-rate-panel{padding:18px}.admin-rate-panel form>div:first-child{width:100%}.rate-input input{width:105px}}

.login-top-actions{position:absolute;right:30px;top:22px;z-index:5;display:flex;align-items:center;gap:12px}.login-top-actions .login-admin-link{position:static;right:auto;top:auto;white-space:nowrap}.login-top-actions .language-switch{background:#fff;border:1px solid #dce5ed;border-radius:5px;padding:4px}.install-app{margin-top:20px}.install-app-actions{display:flex;flex-direction:column;gap:11px;align-items:center}.install-app-actions button{display:inline-flex;align-items:center;gap:7px}.install-app>p{color:#71869a;font-size:11px;line-height:1.7}.account-glass{padding-top:70px}@media(max-width:780px){.login-top-actions{top:15px;right:15px;gap:8px}.login-top-actions .login-admin-link{font-size:10px;padding:7px}.account-glass{padding-top:28px}}

.approval-page{min-height:100dvh;padding:28px max(20px,5vw);background:#f2f5f8;color:#173650}.approval-page>header{display:flex;align-items:center;justify-content:space-between;max-width:900px;margin:0 auto 50px}.approval-page>header>strong{font-size:30px;letter-spacing:-1px}.approval-status{max-width:900px;margin:0 auto;padding:36px}.approval-status h1{font-size:27px;margin:14px 0 26px;letter-spacing:-.6px}.approval-status h2{font-size:17px}.approval-status p{font-size:13px;line-height:1.8;color:#708499;margin-top:12px}.approval-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.approval-note{background:#eaf2f8;border-left:3px solid #7099bb;padding:14px}.approval-delete{max-width:900px;margin:24px auto 0}.field-help{font-size:10px;line-height:1.7;color:#73899d;margin-top:5px}

.backup-summary{padding:0 24px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.backup-summary dt{font-size:11px;color:#71859a}.backup-summary dd{margin:10px 0 0;color:#173f62;font-size:15px;font-weight:600}.backup-panel>.error,.backup-panel>.notice{margin:0 24px 20px}.backup-recovery{padding:24px;border-top:1px solid #dce5ee}.backup-recovery h3{font-size:15px;margin-bottom:10px}.backup-recovery>p{font-size:12px;color:#71859a;line-height:1.8;max-width:750px;margin-bottom:18px}.backup-recovery form{max-width:400px;padding:20px 0 0}.backup-error{display:block;color:#a04b4b;font-size:10px;margin-top:5px}@media(max-width:700px){.backup-summary{grid-template-columns:1fr}.backup-panel .panel-heading{flex-wrap:wrap}}
.backup-companies{padding:0 24px 24px}.backup-companies h3{font-size:15px;margin-bottom:10px}.backup-companies>p{font-size:12px;color:#72879c;line-height:1.7;margin-bottom:18px}.backup-companies>label{display:grid;gap:8px;font-size:11px;color:#688198;max-width:360px;margin-bottom:22px}.backup-companies select{border:1px solid #d4e0ec;border-radius:5px;padding:11px;background:#fff}.backup-system>summary{cursor:pointer;color:#254e72;font-size:13px;font-weight:600;padding:20px 24px;border-top:1px solid #dce5ee}
.protocol-remove-step{grid-column:1/-1;justify-self:end}.protocol-edit-step label:nth-of-type(3){min-width:0}@media(max-width:600px){.protocol-edit-step label:nth-of-type(3){grid-column:2}}

/* Mobile drawer controls stay reachable while scrolling the navigation. */
.mobile-sidebar-toolbar,.mobile-menu-backdrop{display:none}
.form-field{display:grid;gap:8px}.form-field>small{font-size:11px;color:#73899d;line-height:1.6}
@media(max-width:760px){
  .mobile-menu-backdrop{display:block;position:fixed;inset:0;z-index:29;border:0;background:rgba(12,35,57,.32);cursor:pointer}
  .mobile-sidebar-toolbar{display:flex;justify-content:flex-end;position:sticky;top:-31px;background:#fff;z-index:2;margin:-16px -4px 14px;padding:4px 0}
  .mobile-sidebar-close{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid #dce5ee;border-radius:8px;background:#f5f8fb;color:#173f62;font-size:12px;font-weight:600;cursor:pointer}
  .mobile-sidebar-close:focus-visible{outline:2px solid #226fba;outline-offset:2px}
  .mobile-toggle{min-width:44px;min-height:44px}
}

.protocol-time{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:12px;font-weight:600;color:#315d85;font-variant-numeric:tabular-nums}.task-time{display:block;margin-top:6px;color:#315d85;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.protocol-step-times{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}

.movement-selection{display:grid;gap:10px}.movement-selection>.button{justify-self:start}.group-delete-confirm{display:grid;gap:10px}.group-delete-confirm p{margin:0}.herd-group-options{flex-wrap:wrap}.movement-selection .selected-cow{padding:10px 12px;margin:0}.movement-selection .selected-cow small{color:#688198;font-size:11px}

.overview-cow-search{position:relative;width:330px;max-width:100%;align-self:center}.overview-cow-search .search{height:40px;width:100%;box-sizing:border-box}.overview-cow-search input{width:100%;min-width:0;height:38px;padding:0}.overview-cow-search .search>svg{flex-shrink:0}.quick-cow-results{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:40;background:#fff;border:1px solid #dce5ee;border-radius:8px;box-shadow:0 12px 28px #17334e18;max-height:340px;overflow-y:auto}.quick-cow-results button{display:grid;grid-template-columns:1fr auto;width:100%;gap:5px;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:#17334e;cursor:pointer}.quick-cow-results button:hover,.quick-cow-results button:focus-visible{background:#edf4fa}.quick-cow-results button span{grid-column:1;font-size:10px;color:#74879a}.quick-cow-results button small{grid-column:2;grid-row:1/3;align-self:center;color:#74879a}.quick-cow-results p{padding:14px;font-size:12px;color:#74879a}.movement-selection .selected-cow{flex-wrap:wrap}.page-actions{align-items:center;justify-content:flex-end}@media(max-width:1100px){.overview-cow-search{flex-basis:100%;width:100%}}@media(max-width:760px){.page-actions>.button{flex:1;white-space:nowrap}}

.dim-bars>div{grid-template-columns:140px minmax(60px,1fr) auto}.dim-bars strong{white-space:nowrap}@media(max-width:600px){.dim-bars>div{grid-template-columns:100px minmax(35px,1fr) auto;gap:9px}}

.button.access-restore{background:#fff0dc;border-color:#edbf83;color:#824007;font-weight:600}.button.access-restore:hover:not(:disabled){background:#ffe1b8;border-color:#dca45e}.button.access-restore:focus-visible{outline:2px solid #b9691c;outline-offset:3px}
.pending-request-count{display:inline-flex;align-items:center;justify-content:center;background:#dc2626;color:#fff;border-radius:999px;min-width:22px;height:22px;padding:0 6px;font-weight:700;font-size:12px;margin-left:6px;line-height:1}
.notification-pop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.notification-pop-heading .icon-button{display:inline-flex;background:transparent;border:0;cursor:pointer;padding:6px;color:inherit}.notification-pop .push-controls{border-bottom:1px solid #e1e8ef;padding-bottom:16px;margin-bottom:16px}.notification-pop .push-controls p{font-size:12px;line-height:1.6}.notification-pop{max-height:calc(100dvh - 100px);overflow:auto;max-width:calc(100vw - 32px)}
/* Registration consent: a single, compact decision rather than a settings panel inside a dialog. */
.push-consent-dialog{width:440px;border-radius:16px;color:#123651}
.push-consent-dialog .modal-header{padding:28px 28px 0;border-bottom:0;gap:12px}
.push-consent-dialog .modal-header .eyebrow{display:none}
.push-consent-dialog .modal-header h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0}
.push-consent-dialog .modal-header p{font-size:13px;line-height:1.5;color:#708296;margin-top:8px}
.push-consent-dialog .modal-header .icon-button{flex-shrink:0;padding:4px;margin:-3px -5px 0 0}
.push-consent-content{padding:24px 28px 26px}
.push-consent-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;background:#eaf2fa;color:#174c78;border-radius:15px;margin-bottom:18px}
.push-consent-content .push-consent-description{font-size:14px;line-height:1.7;color:#4d647a;margin:0}
.push-consent-info{font-size:12px;line-height:1.65;background:#f3f7fb;color:#4d647a;padding:12px 14px;border:1px solid #e1eaf3;border-radius:8px;margin:16px 0 0}
.push-consent-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}
.push-consent-actions .button{width:100%;min-height:46px;justify-content:center;border-radius:8px;font-size:13px;margin:0}
.push-consent-actions .secondary{background:#fff;border:1px solid #d9e3ed;color:#50677e;box-shadow:none}
.push-consent-content .push-consent-footnote{font-size:11px;line-height:1.6;color:#7a8c9e;text-align:center;margin:18px 0 0}
.push-consent-content .error{font-size:12px;line-height:1.6;margin-top:16px}
@media(max-width:480px){.push-consent-dialog .modal-header{padding:24px 22px 0}.push-consent-content{padding:22px}.push-consent-dialog .modal-header h2{font-size:21px}}
/* Account notification preferences use the same spacing and hierarchy as the account cards. */
.settings-content .push-preferences{padding:26px 24px}
.push-preferences-main{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:18px}
.push-preferences-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:#edf4fa;border:1px solid #e0eaf3;border-radius:10px;color:#315d85}
.push-preferences-copy h2{font-size:16px;line-height:1.4;font-weight:650;margin:0 0 7px;color:#173650}
.push-preferences-copy p{max-width:580px;font-size:12px;line-height:1.75;margin:0;color:#788ba0}
.push-preferences-main>.button{min-height:40px;margin:0;align-self:center}
.push-preferences .push-preferences-help{font-size:12px;line-height:1.7;margin:18px 0 0 64px;padding:12px 14px;background:#f3f7fb;border-radius:7px;color:#5f7690}
.push-preferences .error.push-preferences-help{background:#fff3f3;color:#a43737}
@media(max-width:700px){.settings-content .push-preferences{padding:22px}.push-preferences-main{grid-template-columns:40px minmax(0,1fr);gap:14px}.push-preferences-icon{width:40px;height:40px}.push-preferences-main>.button{grid-column:1/-1;justify-self:stretch;margin-top:4px;min-height:44px;white-space:normal;text-align:center}.push-preferences .push-preferences-help{margin:16px 0 0}.push-preferences-copy p{font-size:12px}.push-preferences-copy h2{font-size:15px}}
.auto-ovsynch-settings .auto-ovsynch-toggle{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:16px;background:#f4f8fc;border:1px solid #e0e9f2;border-radius:8px;font-weight:600;line-height:1.6}
.auto-ovsynch-toggle input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:1px 0 0;flex-shrink:0;accent-color:#174b79}
.auto-ovsynch-explanation{display:flex;gap:12px;align-items:flex-start;background:#f7f9fc;padding:16px;border-radius:8px;color:#71869a}.auto-ovsynch-explanation>svg{flex-shrink:0;margin-top:2px}.auto-ovsynch-explanation p{font-size:11px;line-height:1.8;margin:0 0 8px}.auto-ovsynch-explanation p:last-child{margin:0}.auto-ovsynch-loading,.auto-ovsynch-error{margin:0 24px 24px;font-size:12px}.auto-ovsynch-settings .form>.button{align-self:flex-start}
.task-table .ovsynch-task-checkbox{display:inline-block;width:22px;height:22px;min-height:22px;vertical-align:middle;margin:0;accent-color:#174b79;cursor:pointer;border-radius:4px;box-shadow:none}
.task-table .ovsynch-task-checkbox:focus-visible{outline:3px solid #8db4d5;outline-offset:4px}.task-table .ovsynch-task-checkbox:disabled{cursor:default}
.task-table tbody tr.ovsynch-task-checked,.task-table tbody tr.ovsynch-task-checked:hover{background:#eaf3fc}
.ovsynch-checklist-footer{border-top:1px solid #dce6f0;background:#f8fafd;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-radius:0 0 9px 9px}
.ovsynch-checklist-summary strong{font-size:13px;color:#173f63}.ovsynch-checklist-summary p{font-size:11px;line-height:1.7;color:#788da1;margin:7px 0 0}.ovsynch-checklist-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ovsynch-checklist-actions .button{min-height:42px}.ovsynch-checklist-error,.ovsynch-checklist-notice{width:100%;margin:0;font-size:12px;line-height:1.6}
@media(max-width:700px){.ovsynch-checklist-footer{padding:20px}.ovsynch-checklist-actions{width:100%;display:grid;grid-template-columns:1fr}.ovsynch-checklist-actions .primary{grid-row:1}.ovsynch-checklist-actions .button{width:100%;white-space:normal;min-height:44px}}
.task-cohorts{display:grid;gap:22px;padding:0 20px 20px}.ovsynch-cohort{border:1px solid #dce6ef;border-radius:9px;overflow:hidden;background:#fff}.ovsynch-cohort-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#f0f5fb;border-bottom:1px solid #dce6ef}.ovsynch-cohort-heading strong{display:block;font-size:14px;color:#163e64}.ovsynch-cohort-heading>div>span{display:block;font-size:12px;line-height:1.6;color:#627d96;margin-top:6px}.ovsynch-cohort-schedule{text-align:right;flex-shrink:0;font-size:12px;color:#52728f}.ovsynch-cohort-schedule>span{display:flex!important;align-items:center;justify-content:flex-end;gap:6px;color:#204d76!important;font-weight:600;font-variant-numeric:tabular-nums}.task-table .task-pen{font-size:12px;color:#52708b;min-width:90px}
@media(max-width:700px){.task-cohorts{padding:0 12px 12px;gap:16px}.ovsynch-cohort-heading{align-items:flex-start;padding:16px;gap:12px}.ovsynch-cohort-heading strong{font-size:13px}.ovsynch-cohort-schedule{max-width:115px}.task-table .task-pen{font-size:11px}}

/* Keep the mobile viewport stable and controls reachable without disabling pinch zoom. */
@media(max-width:780px){
 input,select,textarea{font-size:16px!important}
 .workspace,.main,.dashboard-columns,.side-column,.main-column,.settings-content,.panel{min-width:0;max-width:100%}
 .dashboard-columns{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .dashboard-columns .side-column{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px}
 .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:10px;padding:12px 16px;min-height:66px}
 .topbar>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
 .topbar>div:first-child>strong{font-size:12px;line-height:1.4;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .topbar .crumb{display:none}
 .topbar .top-right{display:flex;flex-wrap:nowrap!important;align-items:center;gap:10px;min-width:0}
 .topbar .top-date{display:inline-flex!important;flex:0 0 20px;font-size:0;gap:0;margin:0}
 .topbar .top-date svg{width:18px;height:18px}
 .topbar .top-divider{display:none}
 .topbar .notification-button{display:flex;align-items:center;justify-content:center;width:32px;height:36px;padding:0;flex-shrink:0}
 .topbar .language-trigger{min-height:36px;padding:5px;gap:4px}
 .topbar .admin-workspace-badge{font-size:0;padding:5px}
 .topbar .admin-workspace-badge svg{width:15px;height:15px}
 .kpi-panel .panel-heading,.insights-panel .panel-heading{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
 .pdf-download{display:inline-flex;max-width:100%;min-width:0}
 .pdf-download>.button{white-space:normal;min-height:42px;line-height:1.4;justify-content:center;max-width:100%}
 .kpi-panel .kpi-list>div{display:flex;align-items:center;gap:16px;justify-content:space-between}
 .kpi-panel .kpi-list dt{white-space:nowrap;font-size:12px}
 .kpi-panel .kpi-list dd{font-size:30px;display:flex;align-items:baseline;gap:8px;min-width:0;line-height:1.2}
 .kpi-panel .kpi-list dd small{font-size:12px;white-space:nowrap}
 .worklist .panel-footer{flex-wrap:wrap;gap:14px}
 .insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:16px;padding-right:16px}
 .insight-controls{padding-left:16px;padding-right:16px}
 .input-suffix{min-width:0}.input-suffix input{min-width:0}.input-suffix>span{white-space:nowrap}
}
@media(max-width:600px){.form-grid{grid-template-columns:minmax(0,1fr)!important}.insight-metrics{grid-template-columns:minmax(0,1fr)!important}.topbar .top-right{gap:6px}.timezone-settings .form>.button{align-self:flex-start}}
.remember-device{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;font-size:12px!important;line-height:1.5}.remember-device input[type=checkbox]{height:18px!important;width:18px!important;min-height:18px;flex:0 0 18px;margin:0;accent-color:#174b79}
.restricted-ovsynch{background:#f2f5f8;min-height:100dvh;color:#163a57}.restricted-ovsynch>header{display:flex;align-items:center;gap:18px;padding:20px 5%;background:#fff;border-bottom:1px solid #dce6ef}.restricted-ovsynch>header>strong{margin-right:auto;font-size:26px}.restricted-ovsynch>main{max-width:1280px;margin:auto;padding:32px 20px}.restricted-ovsynch .cow-number:disabled{opacity:1;color:inherit;cursor:default}

.device-list{list-style:none;margin:16px 0;padding:0}.device-list li{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #e1e8ef}.device-list li>div{flex:1;min-width:0}.device-list p{font-size:12px;margin:6px 0;color:#71849b}.device-list .badge{margin-left:10px}.device-list .button{flex-shrink:0}@media(max-width:600px){.device-list li{flex-wrap:wrap}.device-list li>.button{margin-left:34px}}
/* Each action list owns its horizontal scrolling area, including mixed cohorts. */
.task-cohorts{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
.task-list,.ovsynch-cohort{min-width:0;max-width:100%;width:100%}
.task-list>.table-scroll{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
@media(max-width:780px){.task-list .task-table{min-width:720px}.task-list .table-scroll{border-radius:0}}

@media(max-width:600px){
 .insights-panel .insight-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:stretch}
 .insights-panel .insight-controls .task-tabs{margin:0;max-width:100%;min-width:0;flex-wrap:wrap}
 .insights-panel .insight-controls label{display:grid;gap:8px;width:100%;min-width:0;max-width:100%}
 .insights-panel .insight-controls input[type=date]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;text-align:left}
 .insights-panel .insight-controls input[type=date]::-webkit-date-and-time-value{text-align:left}
}

.scan-management{padding:22px;border-bottom:1px solid #dce5ee}.scan-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:18px 0}.scan-tools .task-tabs{padding:0;margin-right:auto}.scan-tools label{min-width:180px}.scan-management .table-scroll{max-width:100%;overflow:auto}.scan-management table{min-width:850px}.scan-management td{font-size:12px}.selected-animals{display:flex;flex-wrap:wrap;gap:8px}.auto-program-tools{padding:0 24px 20px}.admin-amount small{display:block;font-size:10px;color:#778ba1;margin-top:7px}.admin-amount>.text-button{margin:8px 0 0 auto;font-size:11px}@media(max-width:600px){.scan-tools{display:grid;grid-template-columns:minmax(0,1fr)}.scan-tools .task-tabs{flex-wrap:wrap}.scan-tools label{min-width:0}.scan-management{padding:18px}}

.customer-filters{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:0 24px 24px}.customer-filters>.search{flex:1;min-width:230px}.customer-filters label{min-width:160px}.customer-map{position:relative;margin:0 24px 24px;border:1px solid #dce6ee;border-radius:10px;overflow:hidden;background:#edf5fb}.map-scroll{max-height:480px;overflow:auto}.customer-map .map-scroll>svg{display:block;aspect-ratio:2;min-height:180px}.customer-map>p{padding:10px 14px;background:white;margin:0;font-size:11px;color:#74889c}.map-zoom{position:absolute;top:12px;left:12px;z-index:1;display:flex;gap:6px}.map-zoom .button{background:white}.customer-table{min-width:1400px}.customer-table td{font-size:12px;white-space:normal;overflow-wrap:anywhere;max-width:240px}@media(max-width:700px){.customer-filters{display:grid;grid-template-columns:minmax(0,1fr);padding:0 16px 20px}.customer-filters label,.customer-filters>.search{min-width:0}.customer-map{margin:0 16px 20px}}

.young-attention{display:block;margin-top:6px;font-size:10px;color:#985a18;font-weight:600;white-space:normal}

.push-test-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 0 64px}.push-test-row p{font-size:12px;color:#456d88}@media(max-width:700px){.push-test-row{margin-left:0}}

/* Account devices use the same inner margins as the other settings cards. */
.device-settings-body{padding:0 24px 24px}
.device-settings .device-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.device-settings .device-list li{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f0;border-radius:8px;min-width:0;background:#fafcfe}
.device-row-icon{width:38px;height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#456786;background:#edf3f9}
.device-row-title{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.device-row-title strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.device-settings .device-list p{font-size:11px;line-height:1.6;margin:6px 0 0;color:#76899b;overflow-wrap:anywhere}
.device-current-label,.device-session-count{display:inline-flex;align-items:center;font-size:10px;line-height:1.5;border-radius:4px;padding:3px 7px;background:#e6f0fa;color:#285c87;white-space:nowrap}
.device-settings .device-list .device-row-action{margin:0;min-height:36px;padding:8px 12px;font-size:11px;white-space:nowrap;justify-self:end}
.device-settings-footer{display:flex;justify-content:flex-end;margin-top:18px}.device-settings-footer .button{font-size:12px;min-height:38px}
.admin-company-price{display:grid;justify-items:end;gap:9px;padding:3px 0;min-width:150px}.admin-company-price>strong{font-size:13px}.admin-amount .admin-company-price>.text-button{display:inline-flex;margin:0;font-size:11px;line-height:1.5}.admin-amount .admin-company-price>small{margin:0;font-size:10px;color:#7c8fa3;font-weight:400}
.customer-filters>label.search{display:flex;flex-direction:row;align-items:center;gap:10px;flex:0 1 380px;width:380px;max-width:100%;min-width:240px;height:42px;padding:0 12px;border:1px solid #d7e1eb;border-radius:6px}
.customer-filters>label.search>svg{width:16px;height:16px;min-height:0;flex-shrink:0;color:#8094a8}.customer-filters>label.search>input{border:0;box-shadow:none;background:transparent;min-width:0;width:0;flex:1;height:40px;padding:0;font-size:12px}
.customer-filters>label:not(.search){min-width:150px}.customer-filters select{height:42px;padding-top:0;padding-bottom:0;font-size:12px}
.customer-map .map-zoom{display:flex;align-items:flex-start;gap:6px;height:auto}.customer-map .map-zoom>.button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;gap:0;border-radius:6px}.customer-map .map-zoom svg{display:block;width:16px;height:16px;min-height:0;aspect-ratio:auto;flex:none}
@media(max-width:600px){.device-settings-body{padding:0 16px 18px}.device-settings .device-list li{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:13px}.device-row-icon{width:32px;height:32px}.device-settings .device-list .device-row-action{grid-column:2;margin:2px 0 0;justify-self:start}.device-settings-footer .button{width:100%;white-space:normal}.customer-filters>label.search{width:100%;min-width:0;flex:auto}}
