/* src/index.css */
:root {
  --color-text: #11130f;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f5f2;
  --color-surface-soft-strong: #e6e9e4;
  --color-surface-soft-stronger: #dde1da;
  --color-accent: #9fe870;
  --color-accent-soft: #dff5be;
  --color-accent-dark: #18350a;
  --color-muted: #565b53;
  --color-border: rgba(17, 19, 15, 0.1);
  --color-neutral-warm: #454745;
  --color-positive: #054d28;
  --color-danger: #d03238;
  --color-warning: #ffd11a;
  --color-background-accent: rgba(56, 200, 255, 0.1);
  --color-bright-orange: #ffc091;
  --color-interactive-contrast-hover: #cdffad;
  --color-sentiment-positive-primary: #054d28;
  --color-interactive-negative-hover: #d03238;
  --color-sentiment-warning-hover: #ffd11a;
  --shadow-soft: none;
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 26px;
  --radius-sm: 20px;
  --radius-pill: 9999px;
  --font-display:
    "Avenir Next",
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  --font-body:
    "Avenir Next",
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  font-synthesis: none;
  font-feature-settings: "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-text);
  background: var(--color-surface);
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  font-feature-settings: "calt" 1;
}
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-feature-settings: "calt" 1;
  scroll-behavior: smooth;
}
body,
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: rgba(159, 232, 112, 0.42);
  color: var(--color-text);
}
#root {
  min-height: 100vh;
}
code,
pre,
kbd,
samp {
  font-feature-settings: "calt" 1;
}

/* src/App.css */
#root {
  --layout-max-width: 1440px;
  --nav-sidebar-width: 280px;
  --workspace-content-width: 888px;
  --workspace-padding-inline-max: 44px;
  --workspace-padding-inline-min: 16px;
  --workspace-padding-inline: clamp( var(--workspace-padding-inline-min), calc((100vw - var(--nav-sidebar-width) - var(--workspace-content-width)) / 2), var(--workspace-padding-inline-max) );
  --workspace-margin-inline-max: 92px;
  --workspace-margin-collapse-width: calc( var(--nav-sidebar-width) + var(--workspace-content-width) + (var(--workspace-padding-inline) * 2) );
  width: 100%;
  min-height: 100vh;
}
.app-shell {
  width: min(var(--layout-max-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
}
.column-layout {
  display: grid;
  grid-template-columns: var(--nav-sidebar-width) minmax(0, 1fr);
  grid-template-areas: "nav-sidebar site-workspace";
  align-items: start;
}
.nav-sidebar {
  grid-area: nav-sidebar;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.nav-sidebar-backdrop {
  display: none;
}
.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 136px;
  padding: 0;
  background: var(--color-surface);
}
.site-topbar__back-slot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  flex: none;
}
.site-workspace {
  grid-area: site-workspace;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-inline: clamp(0px, calc((100vw - var(--workspace-margin-collapse-width)) / 2), var(--workspace-margin-inline-max));
  padding-inline: var(--workspace-padding-inline);
}
.site-brand {
  display: grid;
  align-items: center;
  justify-content: center;
  width: var(--nav-sidebar-width);
  height: 136px;
  background: var(--color-surface);
  line-height: 0;
}
.site-brand__logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  opacity: 0.92;
  transform-origin: left center;
}
.site-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 58px;
}
.site-topbar__back-button,
.site-topbar__menu-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.site-topbar__menu-button {
  display: none;
}
.site-topbar__back-button:hover,
.site-topbar__menu-button:hover {
  background: var(--color-surface-soft-stronger);
}
.site-topbar__back-button:focus-visible,
.site-topbar__menu-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.site-topbar__back-icon,
.site-topbar__menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.site-topbar__back-icon svg,
.site-topbar__menu-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.profile-chip {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 58px;
  color: var(--color-text);
}
.profile-chip__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 5px 16px 5px 5px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease;
}
.profile-chip__trigger:hover,
.profile-chip__trigger:focus-visible,
.profile-chip.is-open .profile-chip__trigger {
  background: var(--color-surface-soft-strong);
}
.profile-chip__trigger:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.profile-chip__meta {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.profile-chip__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 560;
  letter-spacing: -0.06em;
}
.profile-chip__id {
  display: block;
  min-width: 0;
  max-width: 170px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-chip__organization {
  display: block;
  min-width: 0;
  max-width: 170px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-chip__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
  color: currentColor;
  transform: translateY(-0.5px);
}
.profile-chip__chevron svg {
  display: block;
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}
.profile-chip.is-open .profile-chip__chevron svg {
  transform: rotate(180deg);
}
.profile-chip__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 208px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.profile-chip__menu-item {
  appearance: none;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}
.profile-chip__menu-item:hover:not(:disabled) {
  background: var(--color-surface-soft);
}
.profile-chip__menu-item:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.profile-chip__menu-item--logout {
  color: var(--color-text);
}
.profile-chip__menu-divider {
  height: 1px;
  margin: 6px 4px;
  background: var(--color-border);
}
.site-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: calc(100vh - 136px);
  padding: 0 24px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}
.site-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav-list li {
  display: block;
  list-style: none;
  border-radius: 28px;
}
.site-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-nav-group__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 232px;
  height: 48px;
  border-radius: 24px;
  transition: background-color 180ms ease;
}
.site-nav-group.is-active .site-nav-group__row {
  background: var(--color-surface-soft-strong);
  box-shadow: none;
}
.site-nav-button--group {
  flex: none;
}
.site-nav-group.is-active .site-nav-button--group.active {
  background: transparent;
  box-shadow: none;
  color: var(--color-accent-dark);
}
.site-nav-group.is-active .site-nav-button--group.active .site-nav-button__label {
  font-weight: 560;
}
.site-nav-group__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  flex: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.site-nav-group.is-active .site-nav-group__toggle {
  color: var(--color-accent-dark);
  background: transparent;
}
.site-nav-group__toggle:hover {
  color: var(--color-accent-dark);
}
.site-nav-group__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}
.site-nav-group.is-open .site-nav-group__toggle-icon {
  transform: rotate(180deg);
}
.site-subnav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 200px;
  margin: 0 0 0 16px;
  padding: 0;
  list-style: none;
}
.site-subnav-button {
  appearance: none;
  width: var(--sidebar-subnav-button-width, 200px);
  min-width: var(--sidebar-subnav-button-width, 200px);
  height: var(--sidebar-subnav-button-height, 48px);
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  text-align: left;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}
.site-subnav-button:hover {
  background: transparent;
  color: var(--color-accent-dark);
  opacity: 1;
}
.site-subnav-button.active {
  color: var(--color-accent-dark);
  background: transparent;
}
.site-subnav-button__label {
  display: flex;
  align-items: center;
  height: 20px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.site-subnav-button:hover .site-subnav-button__label,
.site-subnav-button.active .site-subnav-button__label {
  font-weight: 560;
}
.site-nav-button {
  appearance: none;
  width: var(--sidebar-nav-button-width, 232px);
  min-width: var(--sidebar-nav-button-width, 232px);
  height: var(--sidebar-nav-button-height, 48px);
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  text-align: left;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}
.site-nav-button:hover {
  background: transparent;
  color: var(--color-accent-dark);
  opacity: 1;
}
.site-nav-button.active {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
  box-shadow: none;
}
.site-nav-button__label {
  display: flex;
  align-items: center;
  height: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.site-nav-button:hover .site-nav-button__label,
.site-nav-button.active .site-nav-button__label {
  font-weight: 560;
}
.site-nav-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  color: currentColor;
  opacity: 0.9;
}
.site-nav-button__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.site-nav-button:hover .site-nav-button__icon,
.site-nav-button.active .site-nav-button__icon {
  opacity: 1;
}
.site-main {
  min-width: 0;
  padding: 0 0 12px;
}
.farm-info-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.farm-info-draft {
  min-width: 0;
  font-size: 0.92rem;
}
.farm-info-draft .panel,
.farm-info-draft .button--secondary,
.farm-info-draft .section-chip,
.farm-info-draft .farm-picker,
.farm-info-draft .farm-empty-state {
  box-shadow: none;
  background-image: none;
}
.farm-info-draft .panel {
  background: transparent;
  border: 0;
}
.farm-info-draft .panel-head {
  height: 34px;
  align-items: center;
}
.farm-info-draft .title {
  font-size: clamp(2.15rem, 3vw, 3.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.farm-info-draft .section-chip {
  min-height: 34px;
  padding: 0 12px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 400;
}
.farm-info-page__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 888px);
}
.farm-info-page__hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}
.farm-info-page__hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  margin-left: auto;
}
.farm-info-draft .farm-info-page__title {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: clamp(1.92rem, 2.4vw, 2.9rem);
  line-height: 1;
}
.farm-info-section-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 888px);
}
.farm-info-section-card {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-info-section-card:hover,
.farm-info-section-card:focus-visible {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.farm-info-section-card.is-active {
  color: var(--color-accent-dark);
}
.farm-info-section-card:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-info-section-card__content {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.farm-info-section-card__icon {
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--color-surface-soft-stronger);
  border-radius: 50%;
  background: var(--color-surface);
  color: currentColor;
  line-height: 0;
}
.farm-info-section-card__icon svg {
  display: block;
  width: 32px;
  height: 32px;
  margin: auto;
}
.farm-info-section-card__label {
  min-width: 0;
  color: currentColor;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.03em;
}
.farm-info-section-card__copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.farm-info-section-card__meta {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.farm-info-section-card__chevron,
.farm-info-house-row__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  color: currentColor;
}
.farm-info-section-card__chevron svg,
.farm-info-house-row__chevron svg {
  display: block;
  width: 20px;
  height: 20px;
}
.text-input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  border-style: solid;
  border-width: 1px;
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
  outline: none;
  transition:
    border-color 180ms ease,
    border-width 180ms ease,
    color 180ms ease,
    font-weight 180ms ease,
    background-color 180ms ease;
}
.text-input::placeholder {
  color: var(--color-muted);
  font-weight: 400;
  opacity: 1;
}
.text-input:hover {
  border-color: rgba(69, 71, 69, 0.32);
}
.text-input:focus,
.text-input:focus-visible {
  border-color: var(--color-neutral-warm);
  border-width: 2px;
  box-shadow: none;
  color: var(--color-text);
  font-weight: 500;
}
.text-input:disabled {
  cursor: wait;
  opacity: 0.7;
}
.text-input--field {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 16px;
  border-color: rgba(17, 19, 15, 0.18);
  background: var(--color-surface);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.text-input--search {
  width: min(100%, 280px);
  min-width: 220px;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 16px;
  border-color: rgba(17, 19, 15, 0.18);
  background: var(--color-surface);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.text-input--textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.45;
}
.text-input--field:hover,
.text-input--search:hover {
  border-color: var(--color-neutral-warm);
}
.text-input--field:focus,
.text-input--field:focus-visible,
.text-input--search:focus,
.text-input--search:focus-visible {
  border-color: var(--color-neutral-warm);
  border-width: 1px;
  box-shadow: none;
  color: var(--color-text);
  font-weight: 500;
}
.farm-info-house-form__input.is-invalid,
.farm-info-house-form__input.is-invalid:hover,
.farm-info-house-form__input.is-invalid:focus,
.farm-info-house-form__input.is-invalid:focus-visible {
  border-color: var(--color-danger);
  border-width: 1px;
  background: rgba(208, 50, 56, 0.04);
  box-shadow: none;
}
.text-input--auth {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 18px;
}
.farm-info-draft__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}
.button.button--secondary.icon-action-button {
  height: 36px;
  min-height: 36px;
  padding: 5px 12px 5px 8px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}
.button.button--secondary.icon-action-button:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.button.button--secondary.icon-action-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.icon-action-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
}
.icon-action-button__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.icon-action-button__label {
  line-height: 1;
}
.farm-create-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: min(100%, 888px);
}
.two-panel-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: min(100%, calc(var(--two-panel-left-width) + var(--two-panel-right-width) + var(--two-panel-gap)));
}
.page-title.page-title--compact {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: clamp(1.92rem, 2.4vw, 2.9rem);
  line-height: 1;
}
.two-panel-page__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 4px 2px;
}
.two-panel-page__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
}
.two-panel-page__layout {
  display: grid;
  grid-template-columns: var(--two-panel-left-width) var(--two-panel-right-width);
  gap: var(--two-panel-gap);
  align-items: start;
  width: 100%;
}
.feed-input-page .feed-input-page__layout--record-mode {
  grid-template-columns: minmax(0, 0px) minmax(0, 1fr);
  column-gap: 0;
}
.feed-input-page .feed-input-page__layout--single {
  grid-template-columns: minmax(0, 1fr);
}
.feed-input-page .feed-input-page__layout--single .feed-input-panel--right {
  grid-column: 1;
}
.feed-input-page .two-panel-page__layout,
.feed-query-page .two-panel-page__layout,
.feed-culling-page .two-panel-page__layout {
  align-items: stretch;
}
.feed-input-page .feed-input-selection-flow,
.feed-culling-page .feed-input-selection-flow,
.feed-query-page .feed-input-selection-flow {
  background: transparent;
}
.feed-input-page .feed-input-page__layout--record-mode .feed-input-selection-flow {
  pointer-events: none;
  opacity: 0;
  transform: translateX(-18px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 360ms;
}
.feed-input-page .feed-input-page__layout--record-mode .feed-input-panel--right {
  grid-column: auto;
}
.feed-query-page,
.feed-culling-page {
  --feed-workspace-width: 888px;
  --feed-management-width: 588px;
  --feed-create-width: 288px;
  --feed-panel-gap: 12px;
  width: min(100%, var(--feed-workspace-width));
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.feed-culling-page.feed-culling-page--add-mode {
  width: min(100%, calc(var(--feed-management-width) + var(--feed-panel-gap) + var(--feed-create-width)));
}
.feed-culling-page.feed-culling-page--detail-mode:not(.feed-culling-page--add-mode) {
  width: min(100%, var(--feed-workspace-width));
}
.feed-query-page .feed-query-page__layout--panel-flow,
.feed-culling-page .feed-culling-page__layout--panel-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  column-gap: var(--feed-panel-gap);
  width: 100%;
  min-width: 0;
}
.feed-culling-page.feed-culling-page--add-mode .feed-culling-page__layout--panel-flow {
  grid-template-columns: minmax(0, var(--feed-management-width)) minmax(0, var(--feed-create-width));
}
.feed-query-management-column,
.feed-culling-management-column,
.feed-culling-create-column {
  display: flex;
  min-height: 100%;
  min-width: 0;
}
.feed-query-management-column > *,
.feed-culling-management-column > *,
.feed-culling-create-column > * {
  width: 100%;
  min-height: 100%;
}
.feed-culling-create-column {
  display: none;
}
.feed-culling-page.feed-culling-page--add-mode .feed-culling-create-column {
  display: flex;
}
.feed-house-card-selector {
  min-width: 0;
  width: 100%;
}
.feed-house-card-selector__list.farm-info-section-list {
  width: 100%;
  padding-top: 0;
}
.feed-house-card.farm-info-section-card {
  background: transparent;
}
.feed-house-card.farm-info-section-card:hover,
.feed-house-card.farm-info-section-card:focus-visible {
  background: var(--color-surface-soft);
}
.feed-house-card-selector__empty.farm-empty-state {
  min-height: 180px;
}
.feed-input-page .feed-input-panel--right,
.feed-query-page .feed-input-panel--right {
  display: flex;
  min-height: 100%;
}
.feed-input-page .feed-input-panel--right > *,
.feed-query-page .feed-input-panel--right > * {
  width: 100%;
  min-height: 100%;
}
.farm-create-page__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.farm-create-page__title {
  text-align: left;
}
.farm-create-page__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.farm-create-page__alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(208, 50, 56, 0.08);
  border: 1px solid rgba(208, 50, 56, 0.18);
  color: var(--color-danger);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}
.farm-create-panel {
  min-height: 100%;
}
.farm-create-page .farm-create-panel--form {
  gap: 18px;
  width: min(100%, 888px);
  margin: 0 auto;
  padding: 18px;
  background: transparent;
}
.farm-edit-page .farm-create-page__layout {
  align-items: stretch;
}
.farm-edit-panel.panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 888px);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}
.farm-edit-panel.panel.farm-edit-panel--empty {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 400;
}
.farm-edit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 18px;
  border: 0;
  border-radius: 20px;
  background: var(--color-surface-soft);
}
.farm-edit-row.is-editing {
  align-items: center;
  background: var(--color-surface-soft);
}
.farm-edit-row__content {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.farm-edit-row.is-editing .farm-edit-row__content {
  align-items: center;
}
.farm-edit-row__label {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.farm-edit-row__value {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.farm-edit-row__value.is-empty {
  color: var(--color-muted);
  font-weight: 400;
}
.farm-edit-row__editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.farm-edit-row__editor .text-input--field {
  max-width: 400px;
}
.farm-edit-dropdown {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-width: 86px;
}
.farm-edit-dropdown__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  white-space: nowrap;
  transition: color 180ms ease;
}
.farm-edit-dropdown__trigger:hover:not(:disabled),
.farm-edit-dropdown.is-open .farm-edit-dropdown__trigger {
  color: var(--color-accent-dark);
}
.farm-edit-dropdown__trigger:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 3px;
}
.farm-edit-dropdown__trigger:disabled {
  cursor: default;
  opacity: 0.65;
}
.farm-edit-dropdown__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.farm-edit-dropdown__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
  color: currentColor;
  transform: translateY(0.5px);
}
.farm-edit-dropdown__chevron svg {
  display: block;
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}
.farm-edit-dropdown.is-open .farm-edit-dropdown__chevron svg {
  transform: rotate(180deg);
}
.farm-edit-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 128px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.farm-edit-dropdown__option {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-edit-dropdown__option:hover,
.farm-edit-dropdown__option.is-selected {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.farm-edit-row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 124px;
  flex: none;
}
.farm-edit-row__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-edit-row__button:hover:not(:disabled) {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.farm-edit-row__button--save {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.farm-edit-row__button--save:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.farm-edit-row__button--icon {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
}
.farm-edit-row__button--icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.farm-edit-row__button:disabled {
  cursor: default;
  opacity: 0.65;
}
.farm-edit-row__error {
  color: var(--color-danger);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.farm-create-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.farm-create-page .farm-create-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.farm-create-page .text-input--field {
  height: 40px;
  min-height: 40px;
}
.farm-create-page__submit.button.button--secondary {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 2px;
  padding: 0 18px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.farm-create-page__submit.button.button--secondary:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.farm-create-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.farm-create-field__label,
.farm-create-choice-label {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.farm-create-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.farm-create-section--cert {
  padding-top: 0;
  border-top: 0;
}
.farm-create-choice-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.farm-create-choice-grid {
  display: grid;
  gap: 8px;
}
.farm-create-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.farm-create-choice-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.farm-create-choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.farm-create-choice {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-create-choice:hover {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.farm-create-choice.is-active {
  background: var(--color-surface-soft-stronger);
  color: var(--color-accent-dark);
}
.farm-create-choice:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 3px;
}
.farm-selection-panel {
  min-height: 100%;
}
.feed-input-page .feed-input-panel,
.feed-query-page .feed-input-panel,
.feed-culling-page .feed-input-panel {
  min-height: 220px;
}
.feed-input-record-panel {
  min-height: 100%;
}
.feed-input-week-panel {
  min-height: 100%;
}
.feed-input-panel--base {
  width: 100%;
}
.feed-input-panel--preview {
  width: 100%;
}
.feed-input-panel--empty {
  width: 100%;
  min-height: 100%;
  background: transparent;
}
.feed-culling-page .feed-input-panel--right {
  display: flex;
  min-height: 100%;
}
.feed-culling-page .feed-input-panel--right > * {
  width: 100%;
  min-height: 100%;
}
.feed-culling-page .feed-input-panel--right .panel-head {
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  align-items: center;
  flex: none;
}
.feed-culling-page .feed-input-panel--right .panel-title-group {
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  justify-content: center;
  gap: 0;
}
.feed-culling-page .feed-input-panel--right .panel-title {
  display: flex;
  align-items: center;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  line-height: 34px;
}
.feed-culling-page .feed-input-panel--right .feed-input-flock-panel__head {
  height: auto;
  min-height: 42px;
  max-height: none;
  align-items: flex-start;
}
.feed-culling-page .feed-input-panel--right .feed-input-flock-panel__title-group {
  height: auto;
  min-height: 34px;
  max-height: none;
  justify-content: center;
  gap: 3px;
}
.feed-culling-page .feed-input-panel--right .feed-input-flock-panel__title-group .panel-title {
  height: auto;
  min-height: 0;
  max-height: none;
  line-height: 1;
}
.feed-input-flock-panel__title-group .panel-copy {
  max-width: min(46ch, 100%);
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 480;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-back-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-accent-dark);
  box-shadow: none;
  flex: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.panel-back-button:hover {
  background: var(--color-surface-soft-stronger);
}
.panel-back-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.panel-back-button svg {
  display: block;
  width: 16px;
  height: 16px;
}
.feed-input-record-panel .panel-head {
  height: 34px;
  align-items: center;
}
.feed-input-record-panel .panel-title {
  height: 34px;
  display: flex;
  align-items: center;
}
.feed-input-record-panel .panel-title-group {
  gap: 0;
}
.feed-input-record-panel .section-chip {
  min-height: 34px;
  padding: 0 12px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 400;
}
.feed-input-record-panel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.feed-input-record-panel__empty-state {
  flex-direction: column;
  gap: 12px;
}
.feed-input-record-panel__empty-message {
  margin: 0;
}
.feed-input-record-panel__empty-action {
  flex: none;
}
.feed-input-record-panel__summary-card {
  margin: 0;
}
.feed-input-week-panel__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 0;
}
.feed-input-week-panel__empty-state {
  flex-direction: column;
  gap: 12px;
}
.feed-input-week-panel__empty-message {
  margin: 0;
}
.feed-input-week-panel__empty-action {
  flex: none;
}
.feed-input-week-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}
.feed-input-week-panel__summary div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.feed-input-week-panel__summary strong {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.2;
}
.feed-input-week-panel__summary span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}
.feed-input-week-panel__summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(159, 232, 112, 0.2);
  color: var(--color-accent-dark);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.feed-input-week-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.feed-input-week-calendar__day:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.week-range-selector {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 430px);
  min-width: 0;
  margin: 0 auto;
}
.week-range-selector__period-control {
  position: relative;
  min-width: 0;
}
.week-range-selector__picker-button,
.week-range-selector__nav-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}
.week-range-selector__picker-button {
  flex-direction: row;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 13px;
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.week-range-selector__picker-button span {
  order: 0;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.week-range-selector__nav-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 13px;
  color: var(--color-muted);
}
.week-range-selector__picker-button:hover,
.week-range-selector__nav-button:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.week-range-selector__picker-button:focus-visible,
.week-range-selector__nav-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.week-range-selector__picker-button:disabled,
.week-range-selector__nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.week-range-selector__picker-button svg,
.week-range-selector__nav-button svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}
.week-range-selector__picker-button svg {
  order: 1;
}
.week-range-selector__picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 24;
  width: min(268px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}
.week-range-selector__picker-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.week-range-selector__picker-head strong {
  justify-self: center;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
}
.week-range-selector__picker-nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.week-range-selector__picker-nav:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.week-range-selector__picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.week-range-selector__picker-list button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.week-range-selector__picker-list button:hover,
.week-range-selector__picker-list button.is-selected {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.week-range-selector__picker-list strong {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.week-range-selector__picker-list span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.feed-input-week-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.feed-input-week-calendar__day {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 124px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.feed-input-week-calendar__day:hover:not(:disabled) {
  border-color: rgba(38, 77, 31, 0.24);
  background: var(--color-surface-soft);
}
.feed-input-week-calendar__day.is-selected {
  border-color: rgba(38, 77, 31, 0.32);
  background: rgba(159, 232, 112, 0.22);
}
.feed-input-week-calendar__day.is-today {
  border-color: rgba(38, 77, 31, 0.28);
}
.feed-input-week-calendar__day.has-record {
  background: rgba(159, 232, 112, 0.12);
}
.feed-input-week-calendar__day:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.feed-input-week-calendar__weekday {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
}
.feed-input-week-calendar__day.is-weekend .feed-input-week-calendar__weekday {
  color: var(--color-accent-dark);
}
.feed-input-week-calendar__date {
  margin-top: 12px;
  color: var(--color-text);
  font-size: 1.62rem;
  font-weight: 560;
  line-height: 1;
}
.feed-input-week-calendar__status {
  margin-top: auto;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 450;
  line-height: 1;
}
.feed-input-week-calendar__day.has-record .feed-input-week-calendar__status {
  color: var(--color-accent-dark);
}
.feed-today-record-panel {
  min-height: 100%;
}
.feed-today-record-panel__chip {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(159, 232, 112, 0.2);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 500;
}
.feed-today-record-panel__head--titleless {
  justify-content: flex-end;
}
.feed-today-record-panel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.feed-today-record-panel__summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}
.feed-today-record-panel__summary strong {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.2;
}
.feed-today-record-panel__summary span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}
.feed-today-record-date-picker {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.feed-today-record-date-picker__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-today-record-date-picker__trigger:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.feed-today-record-date-picker__trigger:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.feed-today-record-date-picker__trigger svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}
.feed-today-record-date-picker__calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 14;
  width: 292px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: none;
}
.feed-today-record-date-picker__calendar-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.feed-today-record-date-picker__calendar-head strong {
  justify-self: center;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
}
.feed-today-record-date-picker__nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-today-record-date-picker__nav:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.feed-today-record-date-picker__weekdays,
.feed-today-record-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.feed-today-record-date-picker__weekdays {
  margin-bottom: 4px;
}
.feed-today-record-date-picker__weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}
.feed-today-record-date-picker__day {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 520;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-today-record-date-picker__day:hover,
.feed-today-record-date-picker__day.is-selected {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.feed-today-record-date-picker__day.is-today:not(.is-selected) {
  color: var(--color-accent-dark);
}
.feed-today-record-date-picker__day.is-outside {
  color: var(--color-muted);
  opacity: 0.58;
}
.feed-today-record-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.feed-input-page--single .feed-today-record-list {
  display: flex;
  flex-direction: column;
}
.feed-today-record-row {
  appearance: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-today-record-row:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.feed-today-record-row:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.feed-today-record-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.feed-today-record-row:hover .feed-today-record-row__icon {
  background: var(--color-surface-soft-strong);
}
.feed-today-record-row__icon svg {
  display: block;
  width: 32px;
  height: 32px;
}
.feed-today-record-row__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.feed-today-record-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.feed-today-record-row__house {
  min-width: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.2;
  white-space: nowrap;
}
.feed-today-record-row__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1;
  white-space: nowrap;
}
.feed-today-record-row__status.is-complete {
  background: rgba(159, 232, 112, 0.24);
  color: var(--color-accent-dark);
}
.feed-today-record-row__status.is-pending {
  background: rgba(241, 181, 92, 0.16);
  color: #8a551f;
}
.feed-today-record-row__status.is-empty {
  background: var(--color-surface-soft);
  color: var(--color-muted);
}
.feed-today-record-row__progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.feed-today-record-row__progress-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 520;
  line-height: 1;
  white-space: nowrap;
}
.feed-today-record-row__dot {
  color: var(--color-muted);
  font-size: 0.62rem;
  line-height: 1;
}
.feed-today-record-row__dot.is-complete {
  color: var(--color-accent-dark);
}
.feed-today-record-row__action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 520;
  line-height: 1.2;
  white-space: nowrap;
}
.feed-today-record-row:hover .feed-today-record-row__action {
  color: var(--color-accent-dark);
}
.feed-today-record-row__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
}
.feed-today-record-row__chevron svg {
  display: block;
  width: 16px;
  height: 16px;
}
.feed-excel-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 19, 15, 0.24);
}
.feed-excel-modal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.feed-excel-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.feed-excel-modal__head h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 620;
  letter-spacing: -0.052em;
  line-height: 1;
}
.feed-excel-modal__close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 180ms ease;
}
.feed-excel-modal__close:hover:not(:disabled) {
  color: var(--color-text);
}
.feed-excel-modal__close:disabled {
  cursor: wait;
  opacity: 0.55;
}
.feed-excel-modal__actions,
.feed-excel-modal__bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.feed-excel-modal__button.button,
.feed-excel-modal__plain-button.button,
.feed-excel-modal__save-button.button {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.86rem;
}
.feed-excel-modal__button--primary.button.button--secondary,
.feed-excel-modal__save-button.button.button--secondary {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.feed-excel-modal__file {
  display: none;
}
.feed-excel-modal__guide {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}
.feed-excel-modal__paste {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.feed-excel-modal__paste > span {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.2;
}
.feed-excel-modal__paste .text-input {
  min-height: 176px;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  resize: vertical;
}
.feed-excel-modal__plain-button.button {
  background: var(--color-surface-soft);
  color: var(--color-text);
}
.feed-excel-modal__plain-button.button:hover:not(:disabled) {
  background: var(--color-surface-soft-strong);
}
.feed-excel-modal__file-name {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-excel-modal__message,
.feed-excel-modal__errors {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}
.feed-excel-modal__message {
  background: rgba(159, 232, 112, 0.16);
  color: var(--color-accent-dark);
}
.feed-excel-modal__message--error,
.feed-excel-modal__errors {
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
}
.feed-excel-modal__errors {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feed-excel-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.feed-excel-preview__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.2;
}
.feed-excel-preview__summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-surface-soft);
}
.feed-excel-preview__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feed-excel-preview-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.85fr) minmax(130px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}
.feed-excel-preview-row--ready {
  border-color: rgba(38, 77, 31, 0.14);
}
.feed-excel-preview-row--error {
  border-color: rgba(208, 50, 56, 0.22);
}
.feed-excel-preview-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.feed-excel-preview-row strong,
.feed-excel-preview-row b {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.2;
}
.feed-excel-preview-row span {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-excel-preview-row--ready b {
  color: var(--color-accent-dark);
}
.feed-excel-preview-row--error b {
  color: var(--color-danger);
}
.feed-excel-preview-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-danger);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
}
.feed-excel-preview__more {
  padding: 10px 12px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 400;
  text-align: center;
}
.feed-weekly-report-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 888px);
  min-width: 0;
}
.feed-weekly-report-page__hero {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 6px 4px 0;
}
.feed-weekly-report-page__sub-menu {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding: 0 4px;
}
.feed-weekly-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 4px;
}
.feed-weekly-report-standard-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-height: 36px;
  min-width: 0;
}
.feed-weekly-report-standard-filter span {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.feed-weekly-report-standard-filter button {
  appearance: none;
  max-width: 260px;
  min-width: 148px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 450;
  outline: none;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.feed-weekly-report-standard-filter button:hover {
  border-color: rgba(94, 133, 63, 0.28);
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.feed-weekly-report-standard-filter button:focus-visible {
  border-color: rgba(94, 133, 63, 0.38);
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.feed-weekly-report-standard-filter button.is-empty {
  color: var(--color-muted);
}
.weekly-report-laying-compare {
  --weekly-report-laying-actual: #9fe870;
  --weekly-report-laying-actual-strong: #67b832;
  --weekly-report-laying-standard: #8b99a3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: weekly-report-chart-shell-in 360ms ease-out both;
}
.weekly-report-laying-compare__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.weekly-report-laying-compare__head div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.weekly-report-laying-compare__head span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
}
.weekly-report-laying-compare__head strong {
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 720;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.weekly-report-laying-compare__metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.weekly-report-laying-compare__metric-tabs button {
  appearance: none;
  min-width: 72px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(124, 129, 120, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}
.weekly-report-laying-compare__metric-tabs button:hover {
  border-color: rgba(94, 133, 63, 0.3);
  color: var(--color-accent-dark);
  transform: translateY(-1px);
}
.weekly-report-laying-compare__metric-tabs button:focus-visible {
  outline: 2px solid rgba(94, 133, 63, 0.34);
  outline-offset: 2px;
}
.weekly-report-laying-compare__metric-tabs button.is-active {
  border-color: rgba(94, 133, 63, 0.36);
  background: rgba(159, 232, 112, 0.22);
  color: var(--color-accent-dark);
}
.weekly-report-laying-compare__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 520;
  line-height: 1;
}
.weekly-report-laying-compare__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.weekly-report-laying-compare__legend span.is-muted {
  opacity: 0.58;
}
.weekly-report-laying-compare__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.weekly-report-laying-compare__legend-dot--actual {
  background: var(--weekly-report-laying-actual);
}
.weekly-report-laying-compare__legend-dot--standard {
  background: var(--weekly-report-laying-standard);
}
.weekly-report-laying-compare__legend-dot--muted {
  background: rgba(124, 129, 120, 0.32);
}
.weekly-report-laying-compare__chart {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(124, 129, 120, 0.1);
  border-radius: 14px;
  background: #fbfcf9;
  animation: weekly-report-chart-panel-in 460ms ease-out 70ms both;
}
.weekly-report-laying-compare__scroller {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(124, 129, 120, 0.34) transparent;
  scrollbar-width: thin;
}
.weekly-report-laying-compare__scroller::-webkit-scrollbar {
  height: 6px;
}
.weekly-report-laying-compare__scroller::-webkit-scrollbar-track {
  background: transparent;
}
.weekly-report-laying-compare__scroller::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(124, 129, 120, 0.34);
}
.weekly-report-laying-compare__scroller::-webkit-scrollbar-thumb:hover {
  background: rgba(94, 133, 63, 0.42);
}
.weekly-report-laying-compare__svg {
  display: block;
  min-height: 240px;
}
.weekly-report-laying-compare__grid-line {
  stroke: rgba(124, 129, 120, 0.12);
  stroke-width: 1;
}
.weekly-report-laying-compare__axis-label,
.weekly-report-laying-compare__week-label {
  fill: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 500;
}
.weekly-report-laying-compare__line {
  opacity: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  transform: translateY(6px);
  transform-box: fill-box;
  transform-origin: center;
}
.weekly-report-laying-compare__line--actual {
  animation: weekly-report-actual-line-draw 860ms cubic-bezier(0.22, 1, 0.36, 1) var(--weekly-report-line-delay, 0ms) both;
  stroke: var(--weekly-report-laying-actual-strong);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.weekly-report-laying-compare__line--standard {
  animation: weekly-report-standard-line-in 720ms ease-out var(--weekly-report-line-delay, 0ms) both;
  stroke: var(--weekly-report-laying-standard);
  stroke-dasharray: 7 6;
  stroke-dashoffset: 26;
}
.weekly-report-laying-compare__point {
  opacity: 0;
  stroke: #fbfcf9;
  stroke-width: 2.4;
  transform: scale(0.62) translateY(4px);
  transform-box: fill-box;
  transform-origin: center;
  animation: weekly-report-point-in 420ms cubic-bezier(0.2, 1.7, 0.42, 1) var(--weekly-report-point-delay, 280ms) both;
}
.weekly-report-laying-compare__point--actual {
  fill: var(--weekly-report-laying-actual);
}
.weekly-report-laying-compare__point--standard {
  fill: var(--weekly-report-laying-standard);
}
.weekly-report-laying-compare__point--hovered {
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 2px 4px rgba(54, 65, 46, 0.18));
  stroke-width: 2.8;
  transform: none;
}
.weekly-report-laying-compare__hover-zone {
  fill: transparent;
  cursor: crosshair;
  pointer-events: all;
}
.weekly-report-laying-compare__tooltip-layer {
  pointer-events: none;
}
.weekly-report-laying-compare__hover-line {
  stroke: rgba(54, 65, 46, 0.22);
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  stroke-width: 1.2;
}
.weekly-report-laying-compare__tooltip-box {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(124, 129, 120, 0.14);
  stroke-width: 1;
  filter: drop-shadow(0 10px 20px rgba(54, 65, 46, 0.14));
}
.weekly-report-laying-compare__tooltip-title {
  fill: var(--color-text);
  font-size: 0.76rem;
  font-weight: 720;
}
.weekly-report-laying-compare__tooltip-date {
  fill: var(--color-muted);
  font-size: 0.62rem;
  font-weight: 520;
}
.weekly-report-laying-compare__tooltip-row text {
  fill: var(--color-text);
  font-size: 0.68rem;
  font-weight: 620;
}
.weekly-report-laying-compare__tooltip-label {
  fill: var(--color-muted);
  font-weight: 560;
}
.weekly-report-laying-compare__tooltip-value {
  fill: var(--color-text);
  font-weight: 720;
}
.weekly-report-laying-compare__tooltip-dot--actual {
  fill: var(--weekly-report-laying-actual);
}
.weekly-report-laying-compare__tooltip-dot--standard {
  fill: var(--weekly-report-laying-standard);
}
.weekly-report-laying-compare__tooltip-dot--positive {
  fill: #5e853f;
}
.weekly-report-laying-compare__tooltip-dot--danger {
  fill: #c44b3d;
}
.weekly-report-laying-compare__tooltip-dot--muted {
  fill: rgba(124, 129, 120, 0.38);
}
.weekly-report-laying-compare__empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 430;
  line-height: 1.45;
  text-align: center;
}
.weekly-report-laying-compare__summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  animation: weekly-report-chart-summary-in 420ms ease-out 220ms both;
}
.weekly-report-laying-compare__summary p {
  margin: 8px 0 10px;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 580;
  line-height: 1.5;
}
.weekly-report-laying-compare__summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(124, 129, 120, 0.1);
  border-radius: 14px;
  background: #fbfcf9;
}
.weekly-report-laying-compare__summary dl div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-right: 1px solid rgba(124, 129, 120, 0.1);
}
.weekly-report-laying-compare__summary dl div:last-child {
  border-right: 0;
}
.weekly-report-laying-compare__summary dt,
.weekly-report-laying-compare__summary dd {
  margin: 0;
}
.weekly-report-laying-compare__summary dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}
.weekly-report-laying-compare__summary dd {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 660;
  line-height: 1.2;
}
.weekly-report-current-analysis {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 2px 0 0;
}
.weekly-report-current-analysis__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.weekly-report-current-analysis__head div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.weekly-report-current-analysis__head span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1;
}
.weekly-report-current-analysis__head strong {
  color: var(--color-text);
  font-size: 1.02rem;
  font-weight: 680;
  line-height: 1.2;
}
.weekly-report-analysis-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-analysis-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 116px;
  padding: 13px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
}
.weekly-report-analysis-metric--positive {
  border-color: rgba(94, 133, 63, 0.22);
}
.weekly-report-analysis-metric--danger {
  border-color: rgba(208, 50, 56, 0.16);
}
.weekly-report-analysis-metric--neutral {
  border-color: rgba(175, 122, 41, 0.18);
}
.weekly-report-analysis-metric--muted {
  background: var(--color-surface-soft);
}
.weekly-report-analysis-metric span {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 520;
  line-height: 1.15;
}
.weekly-report-analysis-metric strong {
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}
.weekly-report-analysis-metric p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 430;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.weekly-report-current-analysis__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-current-analysis__lists section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(124, 129, 120, 0.1);
  border-radius: 16px;
  background: var(--color-surface);
}
.weekly-report-current-analysis__lists h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 660;
  line-height: 1.2;
}
.weekly-report-current-analysis__lists ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.weekly-report-current-analysis__lists li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 8px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.42;
}
.weekly-report-current-analysis__lists li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.weekly-report-current-analysis__lists li strong,
.weekly-report-current-analysis__lists li span {
  grid-column: 2;
}
.weekly-report-current-analysis__lists li strong {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 640;
  line-height: 1.25;
}
.weekly-report-current-analysis__lists p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.45;
}
@keyframes weekly-report-chart-shell-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes weekly-report-chart-panel-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes weekly-report-actual-line-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translateY(6px);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translateY(0);
  }
}
@keyframes weekly-report-standard-line-in {
  from {
    opacity: 0;
    stroke-dashoffset: 26;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translateY(0);
  }
}
@keyframes weekly-report-point-in {
  from {
    opacity: 0;
    transform: scale(0.62) translateY(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes weekly-report-chart-summary-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .weekly-report-laying-compare,
  .weekly-report-laying-compare__chart,
  .weekly-report-laying-compare__line,
  .weekly-report-laying-compare__point,
  .weekly-report-laying-compare__summary {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .weekly-report-laying-compare__line--actual {
    stroke-dashoffset: 0;
  }
  .weekly-report-laying-compare__line--standard {
    stroke-dashoffset: 0;
  }
}
.feed-weekly-report-view-actions {
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 42px;
  padding: 0 2px;
}
.feed-weekly-report-view-actions .panel-head__lead {
  gap: 8px;
}
.feed-weekly-report-view-actions .feed-weekly-report-standard-filter {
  margin-left: auto;
}
.feed-weekly-report-view-actions .feed-weekly-report-standard-filter button {
  max-width: 220px;
}
.feed-weekly-report-view-actions__title-group {
  min-height: 34px;
  justify-content: center;
  gap: 3px;
}
.feed-weekly-report-view-actions__title-group .panel-title {
  line-height: 1;
}
.weekly-report-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.weekly-report-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-surface);
}
.weekly-report-metric span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.2;
}
.weekly-report-metric strong {
  color: var(--color-text);
  font-size: clamp(1.28rem, 2.4vw, 1.82rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.weekly-report-metric--accent {
  background: var(--color-accent-soft);
  border-color: transparent;
}
.weekly-report-metric--accent span,
.weekly-report-metric--accent strong {
  color: var(--color-accent-dark);
}
.weekly-report-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 12px;
  min-width: 0;
}
.weekly-report-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  background: var(--color-surface);
}
.weekly-report-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}
.weekly-report-card__head h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.weekly-report-bar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.weekly-report-bar-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.weekly-report-bar-row__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.weekly-report-bar-row__label strong {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.15;
}
.weekly-report-bar-row__label span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}
.weekly-report-bar-row__track {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-bar-row__track span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-bar-row__value {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
.weekly-report-trend {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  min-height: 184px;
}
.weekly-report-trend__day {
  display: grid;
  grid-template-rows: minmax(96px, 1fr) auto auto;
  gap: 7px;
  align-items: end;
  min-width: 0;
}
.weekly-report-trend__bar {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-trend__bar span {
  position: absolute;
  inset: auto 0 0;
  min-height: 6px;
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-trend__day strong {
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.weekly-report-trend__day span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 450;
  line-height: 1;
  text-align: center;
}
.weekly-report-trend-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.weekly-report-trend-summary div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: var(--color-surface-soft);
}
.weekly-report-trend-summary span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.15;
}
.weekly-report-trend-summary strong {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.15;
}
.weekly-report-card--table {
  gap: 14px;
}
.weekly-report-table-wrap {
  min-width: 0;
  overflow-x: auto;
}
.weekly-report-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 824px;
}
.weekly-report-table__row {
  display: grid;
  grid-template-columns: 58px repeat(7, minmax(76px, 1fr)) 96px;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}
.weekly-report-table__row--head span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 12px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
}
.weekly-report-table__row > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 560;
}
.weekly-report-table__cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  min-width: 0;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}
.weekly-report-table__cell.has-record {
  border-color: rgba(159, 232, 112, 0.56);
  background: rgba(159, 232, 112, 0.16);
  color: var(--color-accent-dark);
}
.weekly-report-table__cell--total {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 520;
}
.weekly-report-document {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.weekly-report-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.weekly-report-section__head {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.weekly-report-section__head h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.08rem;
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.weekly-report-subsection {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.weekly-report-subsection h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
.weekly-report-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  min-width: 0;
}
.weekly-report-insight-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: 22px;
  background: var(--color-surface-soft);
}
.weekly-report-insight-box h4 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.25;
}
.weekly-report-insight-box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.weekly-report-insight-box li {
  position: relative;
  padding-left: 12px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}
.weekly-report-insight-box li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}
.weekly-report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-kpi-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}
.weekly-report-kpi-grid article > span {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 450;
  line-height: 1.2;
}
.weekly-report-kpi-grid article > strong {
  color: var(--color-text);
  font-size: 1.24rem;
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1;
}
.weekly-report-data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 15, 0.18);
  border-radius: 0;
  background: var(--color-surface);
}
.weekly-report-data-table th,
.weekly-report-data-table td {
  min-height: 40px;
  padding: 10px 9px;
  border: 1px solid rgba(17, 19, 15, 0.18);
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: 430;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}
.weekly-report-data-table thead th {
  background: rgba(230, 233, 228, 0.72);
  color: var(--color-text);
  font-weight: 620;
}
.weekly-report-data-table tbody th {
  background: rgba(244, 245, 242, 0.72);
  font-weight: 600;
}
.weekly-report-data-table--notes {
  min-width: 720px;
}
.weekly-report-data-table--notes td:last-child,
.weekly-report-data-table--notes td:nth-child(3) {
  text-align: left;
}
.weekly-report-tone {
  font-weight: 620;
  white-space: nowrap;
}
.weekly-report-tone--positive {
  color: #1b45c8;
}
.weekly-report-tone--danger {
  color: var(--color-danger);
}
.weekly-report-tone--neutral {
  color: #8a551f;
}
.weekly-report-tone--muted {
  color: var(--color-muted);
  font-weight: 500;
}
.weekly-report-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
}
.weekly-report-status--positive {
  background: rgba(159, 232, 112, 0.22);
  color: var(--color-accent-dark);
}
.weekly-report-status--danger {
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
}
.weekly-report-status--neutral {
  background: rgba(255, 209, 26, 0.16);
  color: #8a551f;
}
.weekly-report-status--muted {
  background: var(--color-surface-soft-strong);
  color: var(--color-muted);
}
.weekly-report-laying-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  background: var(--color-surface-soft);
}
.weekly-report-laying-chart__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.weekly-report-laying-chart__row span,
.weekly-report-laying-chart__row strong {
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.weekly-report-laying-chart__row strong {
  text-align: right;
}
.weekly-report-laying-chart__row div {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-stronger);
}
.weekly-report-laying-chart__row i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-target-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}
.weekly-report-target-card div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.weekly-report-target-card strong {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.1;
}
.weekly-report-target-card span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.35;
}
.weekly-report-target-card b {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 660;
  line-height: 1;
}
.weekly-report-target-card__bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-target-card__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  max-width: 100%;
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-document--visual {
  gap: 14px;
}
.weekly-report-visual-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 12px;
  min-width: 0;
}
.weekly-report-brief-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}
.weekly-report-brief-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.weekly-report-brief-card header > span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.weekly-report-brief-card > strong {
  color: var(--color-accent-dark);
  font-size: 1.14rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.weekly-report-brief-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.weekly-report-brief-card li {
  color: rgba(24, 53, 10, 0.82);
  font-size: 0.8rem;
  font-weight: 430;
  line-height: 1.45;
}
.weekly-report-visual-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-visual-metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
}
.weekly-report-visual-metric > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.weekly-report-visual-metric span {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
}
.weekly-report-visual-metric strong {
  color: var(--color-text);
  font-size: 1.38rem;
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.weekly-report-visual-metric p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
}
.weekly-report-visual-metric--compact {
  gap: 8px;
  min-height: 122px;
  padding: 12px;
  border-radius: 18px;
}
.weekly-report-visual-metric--compact strong {
  font-size: 1.04rem;
  letter-spacing: -0.04em;
}
.weekly-report-visual-metric--compact p {
  font-size: 0.7rem;
}
.weekly-report-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--weekly-report-progress, 0%);
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-visual-metric--danger .weekly-report-progress i,
.weekly-report-product-card__bars div:nth-child(2) i {
  background: #f1b55c;
}
.weekly-report-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.weekly-report-comparison-card,
.weekly-report-quality-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
}
.weekly-report-comparison-card header,
.weekly-report-quality-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.weekly-report-comparison-card header span,
.weekly-report-quality-card header span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
}
.weekly-report-comparison-card header strong,
.weekly-report-quality-card header strong {
  color: var(--color-text);
  font-size: 1.02rem;
  font-weight: 660;
  line-height: 1;
  white-space: nowrap;
}
.weekly-report-comparison-card__meter {
  position: relative;
  height: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-comparison-card__meter i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-comparison-card__meter b,
.weekly-report-comparison-card__meter em {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  transform: translateX(-50%);
}
.weekly-report-comparison-card__meter b {
  background: var(--color-text);
}
.weekly-report-comparison-card__meter em {
  background: rgba(208, 50, 56, 0.62);
}
.weekly-report-comparison-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 430;
  line-height: 1.2;
}
.weekly-report-quality-card {
  align-items: center;
}
.weekly-report-quality-card header {
  width: 100%;
}
.weekly-report-quality-card__donut {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      var(--color-surface) 0 54%,
      transparent 55%),
    conic-gradient(#f1b55c 0 var(--weekly-report-abnormal-rate), var(--color-accent) var(--weekly-report-abnormal-rate) 100%);
}
.weekly-report-quality-card__donut span {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1;
}
.weekly-report-quality-card__legend {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 450;
}
.weekly-report-house-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.weekly-report-house-grid--single,
.weekly-report-productivity-grid--single,
.weekly-report-action-grid--single {
  grid-template-columns: 1fr;
}
.weekly-report-house-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}
.weekly-report-house-timeline__head,
.weekly-report-house-timeline__row {
  display: grid;
  grid-template-columns: 118px repeat(7, minmax(86px, 1fr));
  gap: 8px;
  min-width: 820px;
}
.weekly-report-house-timeline__head span {
  display: flex;
  align-items: center;
  min-height: 28px;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 560;
  line-height: 1;
}
.weekly-report-house-timeline__head span:not(:first-child) {
  justify-content: center;
}
.weekly-report-house-timeline__house,
.weekly-report-house-timeline__day {
  min-width: 0;
  min-height: 74px;
  border-radius: 18px;
}
.weekly-report-house-timeline__house {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.weekly-report-house-timeline__house strong {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1;
}
.weekly-report-house-timeline__day {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid transparent;
  background: var(--color-surface-soft);
  text-align: center;
}
.weekly-report-house-timeline__day strong {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1;
}
.weekly-report-house-timeline__day span,
.weekly-report-house-timeline__day em {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 430;
  line-height: 1.25;
}
.weekly-report-house-timeline__day--positive {
  background: var(--color-accent-soft);
}
.weekly-report-house-timeline__day--neutral {
  background: rgba(241, 181, 92, 0.14);
  border-color: rgba(241, 181, 92, 0.2);
}
.weekly-report-house-timeline__day--danger {
  background: rgba(208, 50, 56, 0.08);
  border-color: rgba(208, 50, 56, 0.14);
}
.weekly-report-house-timeline__day--empty {
  background: transparent;
  border-color: var(--color-border);
}
.weekly-report-house-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-surface);
}
.weekly-report-house-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.weekly-report-house-card header div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.weekly-report-house-card header span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 430;
  line-height: 1;
}
.weekly-report-house-card header strong {
  color: var(--color-text);
  font-size: 1.16rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}
.weekly-report-house-card__metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.weekly-report-house-card__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.weekly-report-house-card__score strong {
  color: var(--color-text);
  font-size: 2.4rem;
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.weekly-report-house-card__score span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 450;
}
.weekly-report-house-card__bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.weekly-report-house-card__bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 450;
}
.weekly-report-house-card__bar div strong {
  color: var(--color-text);
  font-weight: 660;
}
.weekly-report-house-card__bar > i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--color-accent);
}
.weekly-report-house-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.weekly-report-house-card__metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
  background: var(--color-surface-soft);
}
.weekly-report-house-card__metrics dt,
.weekly-report-house-card__metrics dd {
  margin: 0;
}
.weekly-report-house-card__metrics dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 430;
}
.weekly-report-house-card__metrics dd {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.2;
}
.weekly-report-house-card__coverage {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-house-card__coverage i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--weekly-report-progress, 0%);
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-house-card > p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.45;
}
.weekly-report-productivity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.weekly-report-product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-surface);
}
.weekly-report-product-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.weekly-report-product-card header strong {
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 660;
}
.weekly-report-product-card__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.weekly-report-product-card__bars div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 430;
}
.weekly-report-product-card__bars b {
  color: var(--color-text);
  font-size: 0.74rem;
  font-weight: 660;
  text-align: right;
}
.weekly-report-product-card__bars i {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface-soft-strong);
}
.weekly-report-product-card__bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--weekly-report-progress, 0%);
  border-radius: inherit;
  background: var(--color-accent);
}
.weekly-report-product-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.weekly-report-product-card dl div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 16px;
  background: var(--color-surface-soft);
}
.weekly-report-product-card dt,
.weekly-report-product-card dd {
  margin: 0;
}
.weekly-report-product-card dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 430;
}
.weekly-report-product-card dd {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 620;
}
.weekly-report-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.weekly-report-action-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.weekly-report-action-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 660;
  line-height: 1.2;
}
.weekly-report-action-card div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.weekly-report-action-card span {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1.35;
}
.weekly-report-action-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.45;
}
.standard-rate-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 888px);
  min-width: 0;
}
.standard-rate-page__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 6px 4px 2px;
}
.standard-rate-page__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.standard-rate-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.standard-rate-set-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.standard-rate-set-card:hover,
.standard-rate-set-card:focus-visible {
  border-color: rgba(94, 133, 63, 0.3);
  background: var(--color-surface-soft);
  box-shadow: 0 12px 28px rgba(33, 40, 29, 0.08);
  outline: none;
  transform: translateY(-1px);
}
.standard-rate-set-card.is-selected {
  border-color: rgba(94, 133, 63, 0.44);
  background: var(--color-surface-soft);
  box-shadow: inset 0 0 0 2px rgba(94, 133, 63, 0.16);
}
.standard-rate-set-card.is-applied {
  border-color: rgba(94, 133, 63, 0.5);
}
.standard-rate-set-card__eyebrow {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(159, 232, 112, 0.2);
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1;
}
.standard-rate-set-card strong {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.standard-rate-set-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.standard-rate-set-card dl div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.standard-rate-set-card dt {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}
.standard-rate-set-card dd {
  margin: 0;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 560;
  line-height: 1.25;
}
.standard-rate-set-card em {
  margin-top: auto;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 430;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.standard-rate-set-card__active {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(94, 133, 63, 0.1);
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1;
}
.standard-rate-set-card--add {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(94, 133, 63, 0.34);
  background: rgba(159, 232, 112, 0.08);
  text-align: center;
}
.standard-rate-set-card--add:hover,
.standard-rate-set-card--add:focus-visible {
  background: rgba(159, 232, 112, 0.16);
}
.standard-rate-set-card__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(94, 133, 63, 0.28);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-accent-dark);
  font-size: 1.65rem;
  font-weight: 360;
  line-height: 1;
}
.standard-rate-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.standard-rate-selected-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}
.standard-rate-selected-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.standard-rate-selected-panel__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.standard-rate-selected-panel__copy,
.standard-rate-detail-summary > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.standard-rate-selected-panel__copy span,
.standard-rate-detail-summary span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(159, 232, 112, 0.22);
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1;
}
.standard-rate-selected-panel__copy strong,
.standard-rate-detail-summary strong {
  color: var(--color-text);
  font-size: 1.02rem;
  font-weight: 680;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.standard-rate-selected-panel__copy em,
.standard-rate-detail-summary em {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 430;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.standard-rate-selected-panel dl,
.standard-rate-detail-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  min-width: 0;
}
.standard-rate-selected-panel dl div,
.standard-rate-detail-summary dl div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--color-surface-soft);
}
.standard-rate-selected-panel dt,
.standard-rate-detail-summary dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}
.standard-rate-selected-panel dd,
.standard-rate-detail-summary dd {
  margin: 0;
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 620;
  line-height: 1.25;
}
.standard-rate-selected-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.standard-rate-selected-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.standard-rate-selected-preview__head strong {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 660;
  line-height: 1.25;
}
.standard-rate-selected-preview__head span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 430;
  line-height: 1.25;
  white-space: nowrap;
}
.standard-rate-selected-preview__table-wrap {
  min-width: 0;
  max-height: 320px;
  overflow: auto;
}
.standard-rate-selected-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}
.standard-rate-selected-table th,
.standard-rate-selected-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(124, 129, 120, 0.14);
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 440;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}
.standard-rate-selected-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 560;
}
.standard-rate-selected-table tbody th {
  font-weight: 660;
}
.standard-rate-detail-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(94, 133, 63, 0.16);
  border-radius: 14px;
  background: var(--color-surface-soft);
}
.standard-rate-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  min-width: 0;
}
.standard-rate-preset {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.standard-rate-preset:hover,
.standard-rate-preset.is-previewed,
.standard-rate-preset.is-selected {
  border-color: rgba(94, 133, 63, 0.34);
  background: var(--color-surface-soft);
}
.standard-rate-preset.is-selected {
  box-shadow: inset 0 0 0 1px rgba(94, 133, 63, 0.18);
}
.standard-rate-preset.is-previewed {
  box-shadow: inset 0 0 0 1px rgba(94, 133, 63, 0.12);
}
.standard-rate-preset.is-previewed.is-selected {
  border-color: rgba(94, 133, 63, 0.44);
  box-shadow: inset 0 0 0 2px rgba(94, 133, 63, 0.2);
}
.standard-rate-preset span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(159, 232, 112, 0.22);
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 620;
  line-height: 1;
}
.standard-rate-preset strong {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.25;
}
.standard-rate-preset em {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 420;
  line-height: 1.35;
}
.standard-rate-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(94, 133, 63, 0.16);
  border-radius: 8px;
  background: var(--color-surface-soft);
}
.standard-rate-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.standard-rate-preview__head div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.standard-rate-preview__head span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(159, 232, 112, 0.24);
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1;
}
.standard-rate-preview__head strong {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 660;
  line-height: 1.25;
}
.standard-rate-preview__head em {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 430;
  line-height: 1.35;
}
.standard-rate-preview__empty {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 430;
  line-height: 1.5;
}
.standard-rate-preview-table-wrap {
  min-width: 0;
  max-height: 280px;
  overflow: auto;
}
.standard-rate-preview-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
}
.standard-rate-preview-table th,
.standard-rate-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(124, 129, 120, 0.14);
  background: var(--color-surface);
  text-align: left;
  white-space: nowrap;
}
.standard-rate-preview-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1;
}
.standard-rate-preview-table tbody th {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 660;
}
.standard-rate-preview-table tbody td {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 440;
}
.standard-rate-filter,
.standard-rate-create-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.standard-rate-create-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 88px;
  align-items: end;
  padding: 14px;
  border-radius: 8px;
  background: var(--color-surface-soft);
}
.standard-rate-add-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.standard-rate-add-form__group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(124, 129, 120, 0.16);
}
.standard-rate-add-form__group--identity {
  grid-template-columns: minmax(128px, 0.45fr) minmax(0, 1fr);
}
.standard-rate-add-form__group--source {
  padding-bottom: 0;
  border-bottom: 0;
}
.standard-rate-add-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.standard-rate-add-form span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
}
.standard-rate-add-form__actions {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
.standard-rate-filter label,
.standard-rate-create-row label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.standard-rate-filter span,
.standard-rate-create-row span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
}
.standard-rate-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.standard-rate-file-input {
  display: none;
}
.standard-rate-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 520;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.standard-rate-button:hover {
  background: var(--color-surface-soft-strong);
  border-color: rgba(94, 133, 63, 0.24);
  color: var(--color-accent-dark);
}
.standard-rate-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}
.standard-rate-button--primary {
  border-color: transparent;
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.standard-rate-empty {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 430;
  line-height: 1.5;
}
.standard-rate-table-wrap {
  min-width: 0;
  overflow-x: auto;
}
.standard-rate-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.standard-rate-table th,
.standard-rate-table td {
  padding: 12px;
  background: var(--color-surface-soft);
  text-align: left;
  vertical-align: middle;
}
.standard-rate-table thead th {
  background: transparent;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1;
}
.standard-rate-table tbody th {
  width: 92px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 660;
}
.standard-rate-table tbody td:last-child {
  width: 158px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.standard-rate-table__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.feed-input-record-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.feed-input-record-form__alert {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}
.feed-input-record-form__alert--error {
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
}
.feed-input-record-form__alert--success {
  background: rgba(159, 232, 112, 0.16);
  color: var(--color-accent-dark);
}
.feed-input-record-form__section {
  gap: 12px;
}
.feed-input-record-form__step-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.feed-input-flock-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.feed-input-flock-selector button {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.feed-input-flock-selector button:hover:not(:disabled) {
  border-color: rgba(38, 77, 31, 0.24);
  background: var(--color-surface-soft);
}
.feed-input-flock-selector button.is-selected {
  border-color: transparent;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}
.feed-input-flock-selector button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}
.feed-input-flock-selector strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-input-flock-selector span {
  min-width: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 430;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-input-flock-selector button.is-selected span {
  color: rgba(24, 53, 10, 0.76);
}
.feed-input-record-form__progress {
  --record-step-percent: calc(var(--record-step-index, 0) / 2 * 100%);
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-border);
}
.feed-input-record-form__progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  width: var(--record-step-percent);
  background: var(--color-accent-dark);
  transition: width 220ms ease;
}
.feed-input-record-form__progress-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 420;
  line-height: 1.2;
}
.feed-input-record-form__progress-labels span {
  min-width: 0;
  color: var(--color-muted);
  white-space: nowrap;
  transition: color 180ms ease, font-weight 180ms ease;
}
.feed-input-record-form__progress-labels span:nth-child(2) {
  text-align: center;
}
.feed-input-record-form__progress-labels span:nth-child(3) {
  text-align: right;
}
.feed-input-record-form__progress-labels span.is-complete {
  color: rgba(38, 77, 31, 0.72);
  font-weight: 500;
}
.feed-input-record-form__progress-labels span.is-active {
  color: var(--color-accent-dark);
  font-weight: 620;
}
.feed-input-record-form__grid {
  gap: 12px;
}
.feed-input-record-form__field {
  min-width: 0;
}
.feed-input-record-form__field--full {
  grid-column: 1 / -1;
}
.feed-input-record-form__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.feed-input-record-form__submit.button.button--secondary.icon-action-button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 5px 12px 5px 8px;
}
.feed-input-record-form__nav-button.button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.86rem;
}
.feed-input-record-form__nav-button.button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}
.feed-input-flock-panel {
  min-height: 100%;
}
.feed-culling-create-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feed-culling-create-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.feed-culling-create-form__grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
.feed-culling-create-form__field--full {
  grid-column: 1 / -1;
}
.feed-culling-create-form__actions {
  display: flex;
  justify-content: flex-end;
}
.feed-culling-create-form__actions .button.button--secondary.icon-action-button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 5px 12px 5px 8px;
}
.feed-input-flock-panel .panel-head {
  align-items: center;
}
.feed-input-flock-panel .section-chip {
  min-height: 34px;
  padding: 0 12px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 400;
}
.feed-input-flock-panel--heatmap {
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.feed-input-flock-panel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.feed-input-flock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.feed-input-flock-calendar {
  --flock-calendar-close-color: #705b2f;
  --flock-calendar-close-fill: #f2eadc;
  --flock-calendar-close-line: #a08a5a;
  --flock-calendar-placement-fill: #e5f6d8;
  --flock-calendar-placement-line: #91c96c;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.flock-calendar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.flock-calendar__toolbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}
.flock-calendar__center-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.flock-calendar__period-control {
  position: relative;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.flock-calendar__month-control,
.flock-calendar__week-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.flock-calendar__period-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 13px;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.flock-calendar__month-button,
.flock-calendar__week-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 5px;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__month-button:hover,
.flock-calendar__week-button:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.flock-calendar__month-button:focus-visible,
.flock-calendar__week-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.flock-calendar__month-button svg,
.flock-calendar__week-button svg {
  order: 1;
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}
.flock-calendar__month-button span,
.flock-calendar__week-button span {
  order: 0;
  white-space: nowrap;
}
.flock-calendar__period-nav-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__period-nav-button:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.flock-calendar__period-nav-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.flock-calendar__period-nav-button svg {
  display: block;
  width: 16px;
  height: 16px;
}
.flock-calendar__month-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 12;
  width: 232px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}
.flock-calendar__week-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 12;
  width: 268px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: none;
  transform: translateX(-50%);
}
.flock-calendar__month-picker-head,
.flock-calendar__week-picker-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.flock-calendar__month-picker-head strong,
.flock-calendar__week-picker-head strong {
  justify-self: center;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
}
.flock-calendar__month-picker-nav,
.flock-calendar__week-picker-nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__month-picker-nav:hover,
.flock-calendar__week-picker-nav:hover {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.flock-calendar__month-picker-grid,
.flock-calendar__year-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.flock-calendar__month-picker-option,
.flock-calendar__year-picker-option {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__month-picker-option:hover,
.flock-calendar__month-picker-option.is-selected,
.flock-calendar__year-picker-option:hover,
.flock-calendar__year-picker-option.is-selected {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.flock-calendar__week-picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flock-calendar__week-picker-option {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__week-picker-option strong {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.flock-calendar__week-picker-option span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.flock-calendar__week-picker-option:hover,
.flock-calendar__week-picker-option.is-selected {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.flock-calendar__today-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__today-button {
  grid-column: 1;
  justify-self: end;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border-radius: 13px;
  background: var(--color-surface-soft-strong);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.flock-calendar__view-toggle {
  display: inline-flex;
  grid-column: 3;
  justify-self: start;
  gap: 4px;
  min-width: 0;
  padding: 3px;
  border-radius: 14px;
  background: var(--color-surface-soft);
}
.flock-calendar__view-toggle button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__view-toggle button:hover,
.flock-calendar__view-toggle button.is-active {
  background: var(--color-surface);
  color: var(--color-accent-dark);
}
.flock-calendar__today-button:hover {
  background: var(--color-surface-soft-stronger);
  color: var(--color-accent-dark);
}
.flock-calendar__today-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: 2px;
}
.flock-calendar__weekdays,
.flock-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}
.flock-calendar__weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}
.flock-calendar__weekday.is-sunday {
  color: var(--color-danger);
}
.flock-calendar__weekday.is-saturday {
  color: #2563b8;
}
.flock-calendar__day {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  color: var(--color-text);
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  overflow: visible;
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}
.feed-culling-page .flock-calendar__day {
  min-height: 92px;
}
.flock-calendar__day:hover {
  background: var(--color-surface-soft);
  border-color: var(--color-surface-soft-stronger);
}
.flock-calendar__day.is-outside {
  background: transparent;
  color: var(--color-muted);
}
.flock-calendar__day.is-outside .flock-calendar__day-number {
  opacity: 0.58;
}
.flock-calendar__day.is-today .flock-calendar__day-number {
  color: var(--color-accent-dark);
}
.flock-calendar__day.is-sunday .flock-calendar__day-number {
  color: var(--color-danger);
}
.flock-calendar__day.is-saturday .flock-calendar__day-number {
  color: #2563b8;
}
.flock-calendar__day.is-selected {
  border-color: var(--color-accent-dark);
  background: var(--color-surface-soft-strong);
}
.flock-calendar__day.has-events {
  border-color: rgba(21, 63, 12, 0.18);
}
.flock-calendar__day-number {
  position: relative;
  z-index: 2;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 540;
  line-height: 1;
}
.flock-calendar__day-events {
  position: absolute;
  top: 28px;
  right: 8px;
  left: 8px;
  z-index: 2;
  display: block;
  height: 54px;
  min-width: 0;
  pointer-events: none;
}
.flock-calendar__range-layer {
  position: absolute;
  top: 28px;
  right: -7px;
  left: -7px;
  z-index: 1;
  height: 54px;
  pointer-events: none;
}
.flock-calendar__range-segment {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--range-index) * 18px + 7px);
  height: 2px;
  border-radius: 0;
  background: var(--flock-calendar-placement-line);
}
.flock-calendar__range-segment--closed {
  background: var(--flock-calendar-close-line);
}
.flock-calendar__range-segment.is-start {
  left: 44px;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}
.flock-calendar__range-segment.is-end {
  right: calc(100% - 44px);
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}
.flock-calendar__day-event {
  position: absolute;
  top: calc(var(--event-index) * 18px);
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 44px;
  max-width: 100%;
  height: 16px;
  min-height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.58rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flock-calendar__day-event--placement {
  background: rgba(159, 232, 112, 0.38);
  background: var(--flock-calendar-placement-fill);
  color: var(--color-accent-dark);
}
.flock-calendar__day-event--close {
  background: var(--flock-calendar-close-fill);
  color: var(--flock-calendar-close-color);
}
.flock-calendar__day-event--more {
  background: var(--color-surface-soft-stronger);
  color: var(--color-muted);
}
.flock-calendar__week-table-wrap {
  min-width: 0;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}
.flock-calendar__week-table {
  width: max(100%, calc(96px + (var(--week-table-column-count) * 168px)));
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.flock-calendar__week-table th,
.flock-calendar__week-table td {
  min-width: 0;
  border-right: 1px solid rgba(124, 129, 120, 0.12);
  border-bottom: 1px solid rgba(124, 129, 120, 0.12);
  vertical-align: top;
}
.flock-calendar__week-table th:last-child,
.flock-calendar__week-table td:last-child {
  border-right: 0;
}
.flock-calendar__week-table-corner,
.flock-calendar__week-table-house {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 96px;
  background: var(--color-surface);
}
.flock-calendar__week-table-corner {
  padding: 12px 10px;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 560;
  line-height: 1;
  text-align: left;
}
.flock-calendar__week-table-house {
  padding: 14px 10px;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
.flock-calendar__week-table-head {
  padding: 0;
}
.flock-calendar__week-table-head-button {
  appearance: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  width: 100%;
  min-height: 92px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}
.flock-calendar__week-table-head-button:hover,
.flock-calendar__week-table-head-button.is-selected {
  background: var(--color-surface-soft);
}
.flock-calendar__week-table-head-button.is-today strong {
  color: var(--color-accent-dark);
}
.flock-calendar__week-table-head-button:focus-visible,
.flock-calendar__week-table-cell-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.72);
  outline-offset: -2px;
}
.flock-calendar__week-table-head-button strong,
.flock-calendar__week-table-head-button > span {
  grid-column: 1 / -1;
}
.flock-calendar__week-table-head-button strong {
  color: inherit;
  font-size: 0.94rem;
  font-weight: 640;
  line-height: 1.1;
  white-space: nowrap;
}
.flock-calendar__week-table-head-button > span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 460;
  line-height: 1.2;
  white-space: nowrap;
}
.flock-calendar__week-table-head-button em {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 480;
  line-height: 1;
  white-space: nowrap;
}
.flock-calendar__week-table-head-button b {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 640;
  line-height: 1;
}
.flock-calendar__week-table-cell {
  height: 86px;
  padding: 0;
}
.flock-calendar__week-table-cell.is-selected {
  background: rgba(230, 233, 228, 0.38);
}
.flock-calendar__week-table-cell-button {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 86px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.flock-calendar__week-table-cell-button:hover {
  background: var(--color-surface-soft);
}
.flock-calendar__week-table-events {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-content: stretch;
  gap: 6px;
  min-width: 0;
}
.flock-calendar__week-event {
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--color-accent-dark);
  font-size: 0.68rem;
  font-weight: 540;
  line-height: 1;
}
.flock-calendar__week-event b {
  color: inherit;
  font-size: 0.64rem;
  font-weight: 620;
  white-space: nowrap;
}
.flock-calendar__week-event span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flock-calendar__week-event .flock-calendar__week-event-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: inherit;
  min-width: 0;
}
.flock-calendar__week-event-count svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flock-calendar__week-event .flock-calendar__week-event-count span {
  color: inherit;
  font-size: 0.64rem;
  font-weight: 620;
  min-width: 0;
}
.flock-calendar__week-event--placement {
  background: var(--flock-calendar-placement-fill);
}
.flock-calendar__week-event--close {
  background: var(--flock-calendar-close-fill);
  color: var(--flock-calendar-close-color);
}
.flock-calendar__week-event--more {
  display: inline-flex;
  align-self: flex-start;
  min-height: 22px;
  background: var(--color-surface-soft-stronger);
  color: var(--color-muted);
}
.flock-calendar__week-table-empty,
.flock-calendar__week-table-empty-state {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 430;
  line-height: 1.3;
}
.flock-calendar__week-table-empty-state {
  padding: 24px 0;
  text-align: center;
}
.flock-year-heatmap {
  --heatmap-cell-size: 24px;
  --heatmap-gap: 8px;
  --heatmap-active-strong-color: color-mix(in srgb, var(--color-positive) 30%, var(--color-accent) 70%);
  --heatmap-close-color: color-mix(in srgb, var(--color-danger) 66%, var(--color-surface) 34%);
  --heatmap-placement-color: color-mix(in srgb, var(--color-positive) 42%, var(--color-accent) 58%);
  width: 100%;
  min-width: 0;
  padding: 10px 0 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable;
}
.flock-year-heatmap__scroller {
  width: max-content;
  min-width: 100%;
}
.flock-year-heatmap__months {
  display: grid;
  grid-template-columns: repeat(var(--heatmap-week-count), var(--heatmap-cell-size));
  gap: var(--heatmap-gap);
  margin-left: 44px;
  align-items: end;
  margin-bottom: 10px;
}
.flock-year-heatmap__months span {
  min-width: 0;
  color: var(--color-muted);
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.flock-year-heatmap__body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.flock-year-heatmap__weekday-labels {
  position: sticky;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(7, var(--heatmap-cell-size));
  gap: var(--heatmap-gap);
  flex: none;
  width: 38px;
  background: var(--color-surface);
}
.flock-year-heatmap__weekday-labels span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 520;
  line-height: 1;
}
.flock-year-heatmap__weeks {
  display: grid;
  grid-template-columns: repeat(var(--heatmap-week-count), var(--heatmap-cell-size));
  gap: var(--heatmap-gap);
  min-width: 0;
}
.flock-year-heatmap__week {
  display: grid;
  grid-template-rows: repeat(7, var(--heatmap-cell-size));
  gap: var(--heatmap-gap);
}
.flock-year-heatmap__day {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--heatmap-cell-size);
  height: var(--heatmap-cell-size);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--color-surface-soft-strong);
  cursor: pointer;
  transition:
    background-color 140ms ease,
    outline-color 140ms ease,
    transform 140ms ease;
}
.flock-year-heatmap__day:hover:not(:disabled) {
  outline: 2px solid var(--color-muted);
  outline-offset: 1px;
}
.flock-year-heatmap__day:focus-visible {
  outline: 2px solid var(--color-muted);
  outline-offset: 1px;
}
.flock-year-heatmap__day.is-outside {
  visibility: hidden;
  pointer-events: none;
}
.flock-year-heatmap__day.is-today {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.flock-year-heatmap__day.has-activity.is-level-1 {
  background: var(--color-accent-soft);
}
.flock-year-heatmap__day.has-activity.is-level-2 {
  background: var(--color-interactive-contrast-hover);
}
.flock-year-heatmap__day.has-activity.is-level-3 {
  background: var(--color-accent);
}
.flock-year-heatmap__day.has-activity.is-level-4 {
  background: var(--heatmap-active-strong-color);
}
.flock-year-heatmap__day.has-activity.has-placement,
.flock-year-heatmap__day.has-placement {
  background: var(--heatmap-placement-color);
}
.flock-year-heatmap__day.has-activity.has-close,
.flock-year-heatmap__day.has-close {
  background: var(--heatmap-close-color);
}
.flock-year-heatmap__day.has-activity.has-placement.has-close,
.flock-year-heatmap__day.has-placement.has-close {
  background:
    linear-gradient(
      135deg,
      var(--heatmap-close-color) 0 50%,
      var(--heatmap-placement-color) 50% 100%);
}
.flock-year-heatmap__day.is-selected {
  outline: 2px solid var(--color-muted);
  outline-offset: 1px;
}
.flock-calendar__year-picker {
  width: 268px;
}
.feed-input-flock-calendar--heatmap {
  gap: 16px;
}
.feed-input-flock-calendar--heatmap .flock-calendar__month-button {
  min-height: 42px;
  padding: 0 12px 0 14px;
  font-size: 1.34rem;
  font-weight: 650;
}
.feed-input-flock-calendar--heatmap .flock-calendar__month-button svg {
  width: 18px;
  height: 18px;
}
.feed-input-flock-calendar--heatmap .flock-calendar {
  gap: 14px;
}
.flock-calendar-detail--heatmap {
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.flock-calendar-detail--heatmap .flock-calendar-detail__head {
  min-height: 34px;
}
.flock-calendar-detail--heatmap .flock-calendar-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flock-calendar-focused {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 498px;
}
.flock-calendar-focused__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.flock-calendar-focused__title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
}
.flock-calendar-focused__title-group strong {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flock-calendar-focused__title-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}
.flock-calendar-focused__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--color-border);
}
.flock-calendar-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.feed-input-flock-panel-split {
  display: grid;
  grid-template-columns: minmax(0, var(--feed-management-width, 588px)) minmax(0, var(--feed-create-width, 288px));
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.feed-input-flock-panel-split > .feed-input-flock-panel,
.feed-input-flock-panel-split > .flock-calendar-side-panel {
  min-height: 100%;
}
.flock-calendar-side-panel.flock-calendar-detail {
  padding: 18px;
  border-radius: 32px;
  background: transparent;
}
.flock-calendar-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.flock-calendar-detail__head strong {
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.flock-calendar-detail__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}
.flock-calendar-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--color-border);
}
.flock-calendar-detail__empty {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: keep-all;
  white-space: normal;
}
.flock-calendar-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}
.flock-calendar-event__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.flock-calendar-event__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.flock-calendar-event__date {
  flex: none;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.flock-calendar-event__tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
.flock-calendar-event__record-tag.farm-cert-tag,
.flock-calendar-event__status.farm-cert-tag {
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 0.66rem;
  font-weight: 560;
  line-height: 1;
}
.flock-calendar-event__record-tag.farm-cert-tag {
  background: rgba(159, 232, 112, 0.34);
  color: var(--color-accent-dark);
}
.flock-calendar-event__record-tag--close.farm-cert-tag {
  background: var(--flock-calendar-close-fill);
  color: var(--flock-calendar-close-color);
}
.flock-calendar-event__title {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.flock-calendar-event__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.flock-calendar-event__metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.flock-calendar-event__metric span {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.3;
}
.flock-calendar-event__metric strong {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.flock-calendar-event__bird-split {
  display: flex;
  flex-flow: row wrap;
  gap: 5px 8px;
  min-width: 0;
}
.flock-calendar-event__bird-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--color-text);
}
.flock-calendar-event__bird-item svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flock-calendar-event__bird-item--hen {
  color: var(--color-accent-dark);
}
.flock-calendar-event__bird-item--cock {
  color: #705b2f;
}
.flock-calendar-event__bird-item b {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 540;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flock-calendar-event__memo {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
}
.flock-calendar-event__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-self: flex-start;
  width: 216px;
  min-width: 0;
}
.flock-calendar-event__action-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.flock-calendar-event__action-placeholder {
  display: block;
  min-width: 0;
  height: 32px;
  visibility: hidden;
}
.flock-calendar-event__cull-button {
  background: var(--color-accent);
  color: var(--color-text);
}
.flock-calendar-event__delete-button {
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
}
.flock-calendar-event__edit-button {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-text);
}
.flock-calendar-event__cull-button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-accent) 82%, var(--color-accent-dark) 18%);
}
.flock-calendar-event__delete-button:hover:not(:disabled) {
  background: rgba(208, 50, 56, 0.14);
}
.flock-calendar-event__edit-button:hover:not(:disabled) {
  border-color: var(--color-muted);
  background: var(--color-surface-soft);
}
.flock-calendar-event__action-button:focus-visible {
  outline: 2px solid rgba(124, 129, 120, 0.38);
  outline-offset: 2px;
}
.flock-calendar-event__action-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.feed-input-flock-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 24px;
  background: var(--color-surface);
  box-shadow: none;
}
.feed-input-flock-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.feed-input-flock-card__head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.feed-input-flock-card__status.farm-cert-tag {
  min-height: 28px;
  padding: 0 10px;
  flex: none;
  font-size: 0.68rem;
}
.feed-input-flock-card__date {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.feed-input-flock-card__context {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.feed-input-flock-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  min-width: 0;
}
.feed-input-flock-card__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.feed-input-flock-card__metric span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.feed-input-flock-card__metric strong {
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.feed-input-flock-card__memo {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.feed-input-flock-card__actions {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
.feed-input-flock-card__cull-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--flock-calendar-close-fill, rgba(161, 128, 65, 0.14));
  color: var(--flock-calendar-close-color, #705b2f);
  box-shadow: none;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-input-flock-card__cull-button:hover:not(:disabled) {
  background: rgba(161, 128, 65, 0.22);
}
.feed-input-flock-card__cull-button:focus-visible {
  outline: 2px solid rgba(134, 111, 61, 0.42);
  outline-offset: 2px;
}
.feed-input-flock-card__cull-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.farm-selection-flow-panel {
  min-width: 0;
  overflow: hidden;
}
.farm-selection-flow-panel__viewport {
  overflow: hidden;
}
.farm-selection-flow-panel__track {
  display: flex;
  width: 200%;
  transition: transform 240ms ease;
  will-change: transform;
}
.farm-selection-flow-panel__track.is-farm-step {
  transform: translateX(0);
}
.farm-selection-flow-panel__track.is-house-step {
  transform: translateX(-50%);
}
.farm-selection-flow-panel__slide {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
}
.farm-selection-flow-panel__slide > .farm-selection-panel,
.farm-selection-flow-panel__slide > .farm-house-selection-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  min-width: 0;
  width: 100%;
}
.farm-selection-panel .panel-head,
.farm-house-selection-panel .panel-head {
  height: 34px;
  align-items: center;
}
.farm-house-selection-panel .panel-head {
  justify-content: flex-start;
  gap: 12px;
}
.farm-selection-panel .section-chip,
.farm-house-selection-panel .section-chip {
  min-height: 34px;
  padding: 0 12px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 400;
}
.farm-house-selection-panel__title-slot {
  min-width: 0;
  flex: 1 1 auto;
}
.farm-house-selection-panel__chip {
  margin-left: auto;
}
.farm-house-selection-panel__header-below {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.farm-house-selection-panel__action-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
  cursor: pointer;
  margin-left: auto;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-house-selection-panel__action-button:hover {
  background: var(--color-surface-soft-strong);
}
.farm-house-selection-panel__action-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-house-selection-panel__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.farm-house-selection-panel__action-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.farm-house-selection-panel__back-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-house-selection-panel__back-button:hover {
  background: var(--color-surface-soft-strong);
}
.farm-house-selection-panel__back-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-house-selection-panel__back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.farm-house-selection-panel__back-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.farm-info-draft .button.button--secondary.farm-info-draft__refresh {
  height: 36px;
  min-height: 36px;
  padding: 5px 12px 5px 8px;
}
.farm-info-draft .button--secondary.farm-info-draft__refresh {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.farm-info-draft__refresh:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.farm-info-draft__refresh:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.farm-info-draft__refresh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
}
.farm-info-draft__refresh-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.farm-info-draft__grid {
  display: grid;
  grid-template-columns: 288px 588px;
  gap: 12px;
  width: min(100%, 888px);
  padding-inline: 0;
  align-items: start;
  justify-content: start;
  align-self: flex-start;
}
.farm-info-profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 888px);
}
.farm-info-basic-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 888px);
  background: var(--color-surface-soft);
}
.farm-info-basic-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
}
.farm-info-profile-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(100%, 588px);
  min-height: 260px;
  justify-content: center;
  background: var(--color-surface-soft);
  color: var(--color-text);
}
.farm-info-profile-empty__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.55rem);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 1;
}
.farm-info-profile-empty__copy {
  max-width: 34rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.farm-info-profile-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  background: var(--color-surface-soft);
}
.farm-info-profile-hero__copy {
  min-width: 0;
}
.farm-info-profile-hero__title {
  margin: 12px 0 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 560;
  letter-spacing: -0.08em;
  line-height: 0.9;
}
.farm-info-profile-hero__address {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.farm-info-profile-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft-strong);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-info-profile-edit-button:hover {
  background: var(--color-surface-soft-stronger);
  color: var(--color-accent-dark);
}
.farm-info-profile-edit-button:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-info-profile-edit-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.farm-info-profile-edit-button__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.farm-info-profile-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.farm-info-profile-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 18px;
  border-radius: 28px;
  background: var(--color-surface-soft);
  color: var(--color-text);
}
.farm-info-profile-metric__label {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.farm-info-profile-metric__value {
  color: var(--color-text);
  font-size: clamp(1.04rem, 1.5vw, 1.34rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.055em;
  word-break: break-word;
}
.farm-info-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
  align-items: start;
}
.farm-info-profile-card {
  min-width: 0;
  background: var(--color-surface-soft);
}
.farm-info-profile-card--houses {
  gap: 14px;
}
.farm-info-profile-card__head {
  height: auto;
  min-height: 40px;
  align-items: flex-start;
}
.farm-info-profile-card__head .panel-copy {
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.35;
}
.farm-info-profile-house-toggle.button.button--secondary {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-dark);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.farm-info-profile-house-toggle.button.button--secondary:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.farm-info-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  min-width: 0;
}
.farm-info-profile-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  min-height: 58px;
  align-items: center;
  border-top: 1px solid var(--color-border);
}
.farm-info-profile-row:first-child,
.farm-info-profile-row:nth-child(2) {
  border-top: 0;
}
.farm-info-profile-row__label {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.farm-info-profile-row__value {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.45;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.farm-info-house-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.farm-info-house-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 148px;
  padding: 16px;
  border-radius: 24px;
  background: var(--color-surface);
  color: var(--color-text);
}
.farm-info-house-card__head,
.farm-info-house-card__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.farm-info-house-card__title {
  display: block;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.9;
}
.farm-info-house-card__copy {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.farm-info-house-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft-strong);
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.farm-info-house-card__status.is-active {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.farm-info-house-card__foot {
  align-items: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}
.farm-info-house-card__edit {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  text-underline-offset: 4px;
}
.farm-info-house-card__edit:hover {
  color: var(--color-accent-dark);
}
.farm-info-panel {
  min-height: 100%;
}
.farm-info-list {
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  height: 666px;
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.farm-info-house-create {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.farm-info-house-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 888px);
}
.farm-info-house-section-list {
  width: 100%;
}
.farm-info-house-section-card {
  width: 100%;
  cursor: default;
}
.farm-info-house-section-card:hover,
.farm-info-house-section-card:focus-visible {
  background: transparent;
  color: var(--color-text);
}
.farm-info-house-section-card__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: none;
}
.farm-info-house-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}
.farm-info-house-action:hover:not(:disabled),
.farm-info-house-action:focus-visible {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.farm-info-house-action:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-info-house-action:disabled {
  cursor: wait;
  opacity: 0.5;
}
.farm-info-house-action svg {
  display: block;
  width: 20px;
  height: 20px;
}
.farm-info-house-list-error {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}
.farm-info-house-manager {
  width: min(100%, 888px);
  background: transparent;
}
.farm-info-house-manager__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.farm-info-house-manager__setup {
  align-self: flex-start;
}
.farm-info-house-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: var(--color-surface);
}
.farm-info-house-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 19, 15, 0.24);
}
.farm-info-house-modal {
  width: min(520px, 100%);
  padding: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.farm-info-house-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.farm-info-house-modal__close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 180ms ease;
}
.farm-info-house-modal__close:hover:not(:disabled) {
  color: var(--color-text);
}
.farm-info-house-modal__close svg {
  display: block;
  width: 20px;
  height: 20px;
}
.farm-info-house-modal__close:disabled {
  cursor: wait;
  opacity: 0.55;
}
.farm-info-house-editor__title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.04em;
}
.farm-info-house-editor__error {
  color: var(--color-danger);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
}
.farm-info-house-editor__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.farm-info-house-editor__cancel.button.button--secondary {
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  background: var(--color-surface-soft);
}
.farm-info-house-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.farm-info-house-row {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-info-house-row:hover,
.farm-info-house-row:focus-visible {
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.farm-info-house-row:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-info-house-row__copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.farm-info-house-row__title {
  color: currentColor;
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.04em;
}
.farm-info-house-row__meta {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.farm-info-house-create .panel-head {
  height: 34px;
  align-items: center;
}
.farm-info-house-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.farm-info-house-form.is-open {
  padding-top: 12px;
}
.farm-info-house-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.farm-info-house-form__label {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.farm-info-house-form__input {
  width: 100%;
}
.farm-info-house-form__field-error {
  color: var(--color-danger);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.farm-info-house-form__form-error {
  padding-top: 2px;
  color: var(--color-danger);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.farm-info-house-form__actions {
  display: flex;
  justify-content: flex-end;
}
.farm-info-house-form__submit.button.button--secondary.icon-action-button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 5px 12px 5px 8px;
}
.farm-info-house-form__divider {
  width: 100%;
  height: 0;
  border-top: 1px solid var(--color-border);
}
.farm-info-panel--detail {
  gap: 10px;
}
.farm-info-detail-edit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
  flex: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.farm-info-detail-edit:hover {
  background: var(--color-surface-soft-stronger);
}
.farm-info-detail-edit:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.farm-info-detail-edit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.farm-info-detail-edit__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.farm-info-detail-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.farm-info-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  color: var(--color-text);
}
.farm-info-detail-row + .farm-info-detail-row {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid var(--color-border);
}
.farm-info-detail-row__label {
  flex: none;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.farm-info-detail-row__value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
}
.farm-info-detail-row__value--chips {
  align-items: center;
}
.connection-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  font-size: 0.92rem;
}
.connection-page .panel,
.connection-page .button,
.connection-page .section-chip,
.connection-card,
.connection-empty-state {
  box-shadow: none;
  background-image: none;
}
.connection-page__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 4px 2px;
}
.connection-page__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.connection-page__title {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: clamp(1.92rem, 2.4vw, 2.9rem);
  line-height: 1;
}
.connection-page__refresh.button.button--secondary.icon-action-button {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.connection-page__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.connection-page__layout--single {
  grid-template-columns: minmax(0, 920px);
}
.connection-page__column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.connection-panel {
  background: transparent;
  border: 0;
}
.connection-alert {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(208, 50, 56, 0.08);
  border: 1px solid rgba(208, 50, 56, 0.18);
  color: var(--color-danger);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.5;
}
.connection-alert--neutral {
  background: var(--color-surface-soft);
  border-color: var(--color-border);
  color: var(--color-text);
}
.connection-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.connection-search-form__input.text-input--search {
  width: 100%;
  min-width: 0;
}
.connection-search-form__button {
  min-height: 36px;
  height: 36px;
  padding-inline: 16px;
}
.connection-message-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connection-message-field__label {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.08em;
}
.invitation-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 180px) auto;
  gap: 10px;
  align-items: end;
}
.invitation-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.invitation-select {
  appearance: none;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--color-text);
  border-radius: 16px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 540;
  line-height: 1;
}
.invitation-select:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.invitation-code-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--color-surface-soft);
}
.invitation-code-box__label {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.invitation-code-box__value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 540;
  line-height: 1.4;
}
.connection-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.connection-card,
.connection-empty-state {
  border-radius: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.connection-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}
.connection-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.connection-card__title-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.connection-card__title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.connection-card__copy,
.connection-card__message,
.connection-card__note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.45;
}
.connection-card__message,
.connection-card__note {
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--color-surface-soft);
  color: var(--color-text);
}
.connection-card__meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.connection-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.connection-meta__label {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 560;
  letter-spacing: 0.08em;
}
.connection-meta__value {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 540;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connection-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  flex: none;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.connection-status-chip--active,
.connection-status-chip--approved {
  background: var(--color-accent-soft);
  color: var(--color-positive);
}
.connection-status-chip--pending {
  background: rgba(255, 209, 26, 0.24);
  color: var(--color-text);
}
.connection-status-chip--rejected {
  background: rgba(208, 50, 56, 0.08);
  color: var(--color-danger);
}
.connection-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.connection-action-button {
  min-height: 36px;
  height: 36px;
  padding-inline: 14px;
  font-size: 0.86rem;
}
.connection-action-button--plain {
  border: 1px solid rgba(69, 71, 69, 0.18);
  background: var(--color-surface);
  color: var(--color-text);
}
.connection-action-button--plain:hover:not(:disabled) {
  background: var(--color-surface-soft-strong);
}
.connection-review-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connection-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  border-style: dashed;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 450;
  line-height: 1.55;
  text-align: center;
}
.home-page,
.document-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.home-page .panel,
.document-page .panel,
.home-action-card,
.home-metric-card,
.document-card {
  box-shadow: none;
  background-image: none;
}
.home-page__hero,
.document-page__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 4px 2px;
}
.home-page__hero-copy,
.document-page__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.home-page__title,
.document-page__title {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: clamp(1.92rem, 2.4vw, 2.9rem);
  line-height: 1;
}
.home-overview-panel,
.document-panel {
  background: transparent;
  border: 0;
}
.home-setup-callout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 888px);
  min-height: 280px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 34px;
  background: var(--color-surface-soft);
  color: var(--color-text);
}
.home-setup-callout__copy {
  min-width: 0;
}
.home-setup-callout__title {
  max-width: 11ch;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.8vw, 5.4rem);
  font-weight: 560;
  letter-spacing: -0.08em;
  line-height: 0.9;
}
.home-setup-callout__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-dark);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease;
}
.home-setup-callout__action:hover {
  background: var(--color-interactive-contrast-hover);
}
.home-setup-callout__action:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.home-metric-grid,
.home-action-grid,
.document-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-metric-card,
.home-action-card,
.document-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 156px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-surface);
  color: var(--color-text);
}
.home-action-card {
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
.home-action-card:hover {
  border-color: rgba(69, 71, 69, 0.28);
  background: var(--color-surface-soft-strong);
  transform: translateY(-1px);
}
.home-metric-card__label,
.home-action-card__label,
.document-card__status {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}
.home-metric-card__value {
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 620;
  letter-spacing: -0.08em;
  line-height: 0.95;
}
.home-metric-card__copy,
.home-action-card__copy,
.document-card__copy {
  margin: auto 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.5;
}
.home-action-card__title,
.document-card__title {
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.document-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.document-card__title {
  margin: 0;
}
.document-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  white-space: nowrap;
}
.document-card__button {
  min-height: 36px;
  height: 36px;
  margin-top: auto;
  border: 1px solid rgba(69, 71, 69, 0.18);
  background: var(--color-surface);
  color: var(--color-muted);
}
.feed-input-preview-panel {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.feed-input-preview-panel .panel-head {
  height: 34px;
  align-items: center;
  flex: none;
}
.feed-input-preview-panel .panel-title {
  height: 34px;
  display: flex;
  align-items: center;
}
.feed-input-preview-panel .panel-title-group {
  gap: 0;
}
.feed-input-preview-panel .farm-info-detail-list {
  flex: 1;
}
.feed-query-flock-panel,
.feed-query-record-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feed-query-flock-panel .panel-head,
.feed-query-record-panel .panel-head {
  height: 34px;
  align-items: center;
  flex: none;
}
.feed-query-flock-panel__body,
.feed-query-record-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.feed-query-flock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.feed-query-flock-option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}
.feed-query-flock-option:hover {
  background: var(--color-surface-soft-strong);
}
.feed-query-flock-option.is-selected {
  background: var(--color-surface-soft-stronger);
}
.feed-query-flock-option__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.feed-query-flock-option__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.feed-query-flock-option__head strong {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.feed-query-flock-option__status.farm-cert-tag {
  min-height: 26px;
  padding: 0 9px;
  flex: none;
  font-size: 0.66rem;
}
.feed-query-flock-option__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.feed-query-flock-option__meta > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.feed-query-flock-option__meta span span {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.25;
}
.feed-query-flock-option__meta strong {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.feed-query-flock-option__context {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.3;
}
.feed-query-flock-option__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--color-muted);
}
.feed-query-flock-option:hover .feed-query-flock-option__chevron,
.feed-query-flock-option.is-selected .feed-query-flock-option__chevron {
  color: var(--color-accent-dark);
}
.feed-query-week-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feed-query-week-panel .panel-head {
  height: 34px;
  align-items: center;
  flex: none;
}
.feed-query-week-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.feed-query-week-panel__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
}
.feed-query-week-panel__summary > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.feed-query-week-panel__summary strong {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.2;
}
.feed-query-week-panel__summary span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}
.feed-query-week-panel__summary dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, auto));
  justify-content: end;
  gap: 10px;
  margin: 0;
}
.feed-query-week-panel__summary dl div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 10px;
}
.feed-query-week-panel__summary dt,
.feed-query-week-panel__summary dd {
  margin: 0;
  line-height: 1.2;
}
.feed-query-week-panel__summary dt {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 450;
}
.feed-query-week-panel__summary dd {
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 560;
  white-space: nowrap;
}
.feed-query-week-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.feed-query-week-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.feed-query-week-calendar__day {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 248px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
}
.feed-query-week-calendar__day.is-weekend header span {
  color: var(--color-accent-dark);
}
.feed-query-week-calendar__day.is-today {
  border-color: rgba(38, 77, 31, 0.28);
}
.feed-query-week-calendar__day.has-record {
  background: rgba(159, 232, 112, 0.09);
}
.feed-query-week-calendar__day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.feed-query-week-calendar__day header span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
}
.feed-query-week-calendar__day header strong {
  color: var(--color-text);
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1;
}
.feed-query-week-calendar__metric-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.feed-query-week-calendar__metric {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 8px 9px;
  border: 1px solid rgba(69, 71, 69, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.feed-query-week-calendar__metric:hover,
.feed-query-week-calendar__metric:focus-visible,
.feed-query-week-calendar__metric.is-selected {
  border-color: rgba(94, 133, 63, 0.26);
  background: var(--color-surface);
  color: var(--color-accent-dark);
  outline: none;
}
.feed-query-week-calendar__metric span {
  color: inherit;
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-query-week-calendar__metric strong {
  color: var(--color-text);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1.15;
  white-space: nowrap;
}
.feed-query-week-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: transparent;
}
.feed-query-week-detail-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.feed-query-week-detail-panel header strong {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 580;
  line-height: 1.25;
}
.feed-query-week-detail-panel header button {
  appearance: none;
  flex: none;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 520;
}
.feed-query-week-detail-panel header button:hover,
.feed-query-week-detail-panel header button:focus-visible {
  color: var(--color-accent-dark);
  outline: none;
}
.feed-query-week-detail-panel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.feed-query-week-detail-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(69, 71, 69, 0.11);
  border-radius: 14px;
  background: var(--color-surface-soft);
}
.feed-query-week-detail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.feed-query-week-detail-card__head strong {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 560;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-query-week-detail-card__head span {
  flex: none;
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 450;
  line-height: 1.2;
}
.feed-query-week-detail-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}
.feed-query-week-detail-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.feed-query-week-detail-card dt,
.feed-query-week-detail-card dd {
  margin: 0;
  line-height: 1.2;
}
.feed-query-week-detail-card dt {
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 420;
}
.feed-query-week-detail-card dd {
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 530;
  white-space: nowrap;
}
.feed-query-week-calendar__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin-top: auto;
  border-radius: 14px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 450;
}
.farm-cert-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.farm-cert-tag.is-active {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.farm-cert-tag.is-inactive {
  background: var(--color-surface-soft);
  border-color: var(--color-border);
  color: var(--color-muted);
}
.toast-region {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 140;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
  transform: translateX(-50%);
}
.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(24, 53, 10, 0.12);
  border-radius: 18px;
  background: rgba(229, 246, 216, 0.94);
  color: var(--color-accent-dark);
  box-shadow: none;
  animation: toast-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.toast--error {
  background: #fce9e9;
  border-color: rgba(208, 50, 56, 0.14);
  color: var(--color-danger);
}
.toast__message {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.2vw, 4.9rem);
  font-weight: 560;
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-wrap: balance;
}
@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.page-title {
  font-weight: 620;
}
.title.page-title--compact {
  font-size: clamp(1.6rem, 2.05vw, 2.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
  transform-origin: center;
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: scale(0.98);
}
.button--primary {
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.button--primary:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.button--primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.button--secondary {
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
}
.button:focus-visible,
.site-nav-button:focus-visible,
.farm-picker:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 3px;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border-radius: 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.panel-head__lead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.panel-head__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 34px;
  flex: none;
}
.panel-title-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.panel-title-group--compact {
  gap: 0;
}
.panel-title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.052em;
}
.panel-title-group--compact .panel-title {
  font-size: 1.22rem;
  line-height: 1;
}
.panel-copy {
  margin: 0;
  max-width: 52ch;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}
.panel-title-group--compact .panel-copy {
  font-size: 0.84rem;
  line-height: 1.5;
}
.section-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.farm-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.farm-picker {
  appearance: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--color-surface-soft);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
  border: 0;
}
.farm-picker:hover {
  background: var(--color-surface-soft-strong);
}
.farm-picker.is-selected {
  background: var(--color-surface-soft-stronger);
}
.farm-picker.is-selected .farm-picker__name {
  color: var(--color-accent-dark);
}
.farm-picker__name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: left;
  word-break: break-word;
}
.farm-picker__icon,
.farm-picker__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--color-muted);
}
.farm-picker__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.farm-picker__chevron {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--color-muted);
}
.farm-picker__chevron svg {
  display: block;
  width: 16px;
  height: 16px;
}
.farm-picker:hover .farm-picker__icon,
.farm-picker:hover .farm-picker__chevron,
.farm-picker.is-selected .farm-picker__icon,
.farm-picker.is-selected .farm-picker__chevron {
  color: var(--color-accent-dark);
}
.farm-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px;
  border-radius: 24px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  color: var(--color-muted);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}
.auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3.2vw, 40px);
  overflow: hidden;
  background: var(--color-surface);
}
.auth-shell__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: clamp(18px, 3vw, 32px);
}
.auth-shell__brand {
  display: inline-flex;
  align-items: flex-start;
}
.auth-shell__logo {
  display: block;
  height: 54px;
  width: auto;
  opacity: 0.92;
}
.auth-shell__content {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(12px, 2vw, 24px);
}
.auth-landing-shell {
  min-height: 100dvh;
  padding: clamp(20px, 3.2vw, 40px);
  overflow-y: auto;
  background: var(--color-surface);
  color: var(--color-text);
}
.auth-landing-header {
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 0;
}
.auth-landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--color-text);
}
.auth-landing-brand__logo {
  display: block;
  width: auto;
  height: 54px;
  opacity: 0.92;
}
.auth-landing-menu {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
}
.auth-landing-menu span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.auth-landing-menu:hover {
  background: var(--color-surface-soft-strong);
  color: var(--color-text);
}
.auth-landing {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(820px, 100%);
  margin: 0 auto;
}
.auth-landing__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(760px, calc(100dvh - 118px));
  padding: 0 0 clamp(26px, 4vh, 58px);
  background: transparent;
  text-align: center;
}
.auth-landing__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10.4vw, 9rem);
  font-weight: 560;
  letter-spacing: -0.085em;
  line-height: 0.86;
}
.auth-landing__typing {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: min(86vw, 7.8ch);
}
.auth-landing__typing-text {
  display: inline-block;
}
.auth-landing__typing-caret {
  display: inline-block;
  width: 0.075em;
  height: 0.76em;
  margin-left: 0.09em;
  background: currentColor;
  transform: translateY(0.07em);
  animation: auth-landing-caret-blink 880ms steps(2, end) infinite;
}
@keyframes auth-landing-caret-blink {
  0%, 46% {
    opacity: 1;
  }
  47%, 100% {
    opacity: 0;
  }
}
.auth-landing__copy {
  max-width: min(92vw, 760px);
  margin: clamp(28px, 4vh, 44px) 0 0;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.55vw, 1.32rem);
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 1.38;
  white-space: nowrap;
  word-break: keep-all;
}
.auth-landing__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(26px, 4vh, 44px);
}
.auth-landing__login-button {
  min-width: 168px;
  height: 52px;
  min-height: 52px;
  padding: 0 36px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-dark);
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
}
.auth-landing__login-button:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.auth-landing__signup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 480;
  line-height: 1.3;
}
.auth-landing__signup-link:hover {
  color: var(--color-text);
}
.auth-landing__signup-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.auth-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(486px, 100%);
  padding: 32px;
  background: var(--color-surface-soft);
}
.auth-card--signup {
  width: min(520px, 100%);
}
.auth-card--account {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.auth-card__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.06em;
}
.signup-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signup-flow {
  gap: 14px;
}
.signup-step {
  animation: signup-step-enter 180ms ease both;
}
.signup-account-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 18px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1;
}
.signup-account-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
}
.signup-section-note {
  padding: 14px 16px;
  border: 1px solid rgba(159, 232, 112, 0.44);
  border-radius: 20px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.45;
}
.signup-step-hint {
  margin: -2px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.signup-step-hint--danger {
  color: var(--color-danger);
}
.signup-next-button {
  margin-top: 0;
}
.auth-choice-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-choice-grid--stackable .auth-choice {
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
}
.auth-choice {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(69, 71, 69, 0.22);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.auth-choice:hover:not(:disabled) {
  border-color: rgba(69, 71, 69, 0.42);
}
.auth-choice.is-active {
  border-color: transparent;
  background: var(--color-accent);
  color: var(--color-accent-dark);
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-field__label {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.auth-field-error {
  color: var(--color-danger);
  font-size: 0.86rem;
  font-weight: 540;
  line-height: 1.45;
}
.auth-submit {
  margin-top: 4px;
  height: 48px;
  min-height: 48px;
  background: var(--color-accent);
  color: var(--color-accent-dark);
  box-shadow: none;
}
.auth-submit:hover:not(:disabled) {
  background: var(--color-interactive-contrast-hover);
}
.auth-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(69, 71, 69, 0.22);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.auth-secondary-action:hover {
  border-color: rgba(69, 71, 69, 0.42);
  background: var(--color-surface-soft-strong);
  color: var(--color-accent-dark);
}
.auth-secondary-action:focus-visible {
  outline: 2px solid rgba(159, 232, 112, 0.7);
  outline-offset: 2px;
}
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 19, 15, 0.24);
}
.auth-modal {
  width: min(440px, 100%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.auth-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.auth-modal__close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(69, 71, 69, 0.18);
  border-radius: 9999px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1;
}
.auth-modal__close:hover:not(:disabled) {
  background: var(--color-surface-soft-strong);
  color: var(--color-text);
}
.auth-modal__close:disabled {
  cursor: wait;
  opacity: 0.55;
}
@keyframes signup-step-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-alert {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(208, 50, 56, 0.08);
  border: 1px solid rgba(208, 50, 56, 0.18);
  color: var(--color-danger);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.5;
}
.session-loading-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: var(--color-surface);
}
.session-loading-screen__panel {
  position: relative;
  display: grid;
  place-items: center;
  width: auto;
}
.session-loading-screen__word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 9vw, 4.8rem);
  font-weight: 720;
  line-height: 0.95;
  letter-spacing: -0.1em;
}
.session-loading-screen__word span {
  display: inline-block;
  transform-origin: center bottom;
  animation: eggpass-letter-rise 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
  animation-delay: calc(var(--letter-index) * 64ms);
}
.session-loading-screen__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes eggpass-letter-rise {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  24%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
@media (max-width: 990px) {
  .column-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "site-workspace";
  }
  .nav-sidebar {
    position: fixed;
    inset-block: 0;
    left: 0;
    z-index: 80;
    box-sizing: border-box;
    width: var(--nav-sidebar-width);
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-surface);
    transform: translateX(-100%);
    transition: transform 220ms ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .app-shell.is-sidebar-open .nav-sidebar {
    transform: translateX(0);
  }
  .nav-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(14, 15, 12, 0.22);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 180ms ease;
  }
  .app-shell.is-sidebar-open .nav-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .site-sidebar {
    position: static;
    min-height: auto;
  }
  .nav-sidebar .site-brand {
    height: 72px;
    margin-block: 8px;
  }
  .site-workspace {
    margin-inline: 0;
    width: 100%;
  }
  .site-topbar__menu-button {
    display: inline-flex;
  }
  .connection-page__layout {
    grid-template-columns: 1fr;
  }
  .home-metric-grid,
  .home-action-grid,
  .document-card-grid {
    grid-template-columns: 1fr;
  }
  .weekly-report-metric-grid,
  .weekly-report-main-grid {
    grid-template-columns: 1fr 1fr;
  }
  .weekly-report-visual-summary,
  .weekly-report-comparison-grid,
  .weekly-report-house-grid,
  .weekly-report-productivity-grid,
  .weekly-report-action-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  #root {
    width: 100%;
  }
  .site-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    min-height: calc(env(safe-area-inset-top, 0px) + 88px);
    padding-block: calc(env(safe-area-inset-top, 0px) + 8px) 8px;
  }
  .site-topbar__actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }
  .site-topbar__back-slot {
    width: auto;
    min-width: 0;
  }
  .site-sidebar {
    padding: 0 20px;
  }
  .farm-info-page {
    width: 100%;
  }
  .farm-info-page__hero {
    flex-direction: column;
  }
  .farm-info-page__hero-copy {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .farm-info-profile-empty,
  .farm-info-profile {
    width: 100%;
  }
  .farm-info-profile-hero {
    flex-direction: column;
    min-height: 0;
  }
  .farm-info-profile-edit-button {
    width: 40px;
  }
  .farm-info-basic-card {
    width: 100%;
  }
  .farm-info-page__hero-actions {
    align-self: flex-start;
  }
  .farm-info-profile-metrics,
  .farm-info-profile-layout,
  .farm-info-profile-list,
  .farm-info-house-card-grid {
    grid-template-columns: 1fr;
  }
  .farm-info-profile-row:nth-child(2) {
    border-top: 1px solid var(--color-border);
  }
  .farm-info-profile-card__head,
  .farm-info-house-card__head,
  .farm-info-house-card__foot {
    align-items: stretch;
    flex-direction: column;
  }
  .farm-info-profile-house-toggle.button.button--secondary {
    width: 100%;
  }
  .connection-page {
    width: 100%;
  }
  .connection-page__hero {
    flex-direction: column;
  }
  .connection-page__refresh.button.button--secondary.icon-action-button {
    width: 100%;
  }
  .connection-search-form {
    grid-template-columns: 1fr;
  }
  .invitation-create-form {
    grid-template-columns: 1fr;
  }
  .connection-card__head,
  .connection-card__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .connection-card__meta-grid {
    grid-template-columns: 1fr;
  }
  .feed-weekly-report-page {
    width: 100%;
  }
  .feed-weekly-report-page__hero {
    align-items: stretch;
    flex-direction: column;
  }
  .feed-weekly-report-page__sub-menu {
    width: 100%;
    padding: 0;
  }
  .feed-weekly-report-toolbar {
    padding: 0;
    justify-content: center;
    width: 100%;
  }
  .feed-weekly-report-standard-filter {
    width: 100%;
  }
  .feed-weekly-report-standard-filter button {
    width: 100%;
    max-width: none;
  }
  .feed-weekly-report-view-actions .feed-weekly-report-standard-filter {
    width: auto;
    margin-left: auto;
  }
  .feed-weekly-report-view-actions .feed-weekly-report-standard-filter button {
    width: auto;
    max-width: 170px;
  }
  .weekly-report-laying-compare__head {
    align-items: stretch;
    flex-direction: column;
  }
  .weekly-report-laying-compare__summary dl {
    grid-template-columns: 1fr;
  }
  .weekly-report-laying-compare__summary dl div {
    border-right: 0;
    border-bottom: 1px solid rgba(124, 129, 120, 0.1);
  }
  .weekly-report-laying-compare__summary dl div:last-child {
    border-bottom: 0;
  }
  .weekly-report-current-analysis__head {
    align-items: stretch;
    flex-direction: column;
  }
  .weekly-report-current-analysis__lists {
    grid-template-columns: 1fr;
  }
  .feed-weekly-report-view-actions {
    align-items: center;
    flex-direction: row;
  }
  .feed-weekly-report-toolbar .week-range-selector {
    width: 100%;
  }
  .feed-weekly-report-toolbar .week-range-selector__picker-button {
    font-size: 0.84rem;
  }
  .weekly-report-metric-grid,
  .weekly-report-main-grid {
    grid-template-columns: 1fr;
  }
  .weekly-report-metric {
    min-height: 94px;
  }
  .weekly-report-bar-row {
    grid-template-columns: 76px minmax(0, 1fr) 64px;
  }
  .weekly-report-trend {
    min-height: 164px;
  }
  .weekly-report-visual-metrics,
  .weekly-report-house-card__metric-grid,
  .weekly-report-kpi-grid,
  .weekly-report-target-grid,
  .weekly-report-product-card dl,
  .weekly-report-house-card__metrics {
    grid-template-columns: 1fr;
  }
  .weekly-report-section {
    padding: 0;
    border-radius: 0;
  }
  .weekly-report-product-card__bars div {
    grid-template-columns: 68px minmax(0, 1fr) 48px;
  }
  .standard-rate-page {
    width: 100%;
  }
  .standard-rate-page__hero {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-page__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-page__actions .standard-rate-button {
    width: 100%;
  }
  .standard-rate-card-grid,
  .standard-rate-set-card dl,
  .standard-rate-selected-panel dl,
  .standard-rate-detail-summary dl {
    grid-template-columns: 1fr;
  }
  .standard-rate-set-card {
    min-height: 0;
  }
  .standard-rate-selected-panel__head,
  .standard-rate-selected-preview__head {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-selected-panel__head .standard-rate-button,
  .standard-rate-selected-panel__actions {
    width: 100%;
  }
  .standard-rate-selected-panel__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-filter,
  .standard-rate-create-row,
  .standard-rate-add-form__group,
  .standard-rate-add-form__group--identity {
    grid-template-columns: 1fr;
  }
  .standard-rate-add-form__actions .standard-rate-button {
    width: 100%;
  }
  .standard-rate-preview__head {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-preview__head .standard-rate-button {
    width: 100%;
  }
  .standard-rate-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .standard-rate-toolbar .standard-rate-button {
    width: 100%;
  }
  .connection-action-button,
  .connection-search-form__button {
    width: 100%;
  }
  .home-page,
  .document-page {
    width: 100%;
  }
  .home-page__hero,
  .document-page__hero {
    flex-direction: column;
  }
  .home-setup-callout {
    flex-direction: column;
    min-height: 0;
  }
  .home-setup-callout__title {
    max-width: 100%;
  }
  .home-setup-callout__action {
    width: 100%;
  }
  .text-input--search {
    width: 100%;
    min-width: 0;
  }
  .farm-info-draft__refresh {
    width: 100%;
  }
  .farm-info-draft__grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding-inline: 0;
  }
  .farm-create-page {
    width: 100%;
  }
  .farm-create-page__hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .farm-create-page__layout {
    grid-template-columns: 1fr;
  }
  .farm-edit-panel.panel {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .farm-edit-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
  }
  .farm-edit-row__content {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
  }
  .farm-edit-row__editor .text-input--field {
    max-width: none;
  }
  .farm-edit-row__actions {
    justify-content: flex-end;
    align-self: center;
  }
  .farm-edit-row__button:not(.farm-edit-row__button--icon) {
    min-width: 52px;
    padding-inline: 10px;
    flex: none;
  }
  .farm-edit-row__button--icon {
    width: 36px;
    min-width: 36px;
    flex: none;
  }
  .farm-edit-row.is-editing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .farm-edit-row.is-editing .farm-edit-row__content {
    display: contents;
  }
  .farm-edit-row.is-editing .farm-edit-row__label {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .farm-edit-row.is-editing .farm-edit-row__editor {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 4px;
  }
  .farm-edit-row.is-editing .farm-edit-row__actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .two-panel-page {
    width: 100%;
  }
  .two-panel-page__layout {
    grid-template-columns: 1fr;
  }
  .feed-query-page,
  .feed-culling-page {
    width: 100%;
  }
  .feed-query-page .feed-query-page__layout--panel-flow,
  .feed-culling-page .feed-culling-page__layout--panel-flow,
  .feed-culling-page.feed-culling-page--add-mode .feed-culling-page__layout--panel-flow,
  .feed-culling-page.feed-culling-page--detail-mode:not(.feed-culling-page--add-mode) .feed-culling-page__layout--panel-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .farm-create-field-grid {
    grid-template-columns: 1fr;
  }
  .farm-create-choice-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .farm-create-choice-grid--three {
    grid-template-columns: 1fr;
  }
  .farm-create-choice-grid--two {
    grid-template-columns: 1fr;
  }
  .farm-create-choice {
    min-height: 44px;
    height: 44px;
  }
  .title {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }
  .panel {
    padding: 16px;
    border-radius: 28px;
  }
  .flock-calendar-detail {
    padding: 12px;
    border-radius: 22px;
  }
  .feed-input-flock-panel-split {
    grid-template-columns: 1fr;
  }
  .feed-input-week-panel__toolbar {
    width: 100%;
  }
  .feed-query-week-panel__summary {
    grid-template-columns: 1fr;
  }
  .feed-query-week-panel__summary dl {
    grid-template-columns: 1fr;
  }
  .feed-query-week-panel__summary dl div {
    padding: 0;
  }
  .feed-query-week-panel__toolbar {
    width: 100%;
  }
  .feed-input-week-panel__toolbar .week-range-selector,
  .feed-query-week-panel__toolbar .week-range-selector {
    width: 100%;
  }
  .week-range-selector__picker-button {
    padding-inline: 8px;
    font-size: 0.84rem;
  }
  .feed-input-week-calendar {
    grid-template-columns: 1fr;
  }
  .feed-query-week-calendar {
    grid-template-columns: 1fr;
  }
  .feed-query-week-detail-panel__list {
    grid-template-columns: 1fr;
  }
  .feed-input-flock-selector {
    grid-template-columns: 1fr;
  }
  .feed-today-record-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 78px;
    padding: 10px 12px;
  }
  .feed-today-record-row__icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }
  .feed-today-record-row__icon svg {
    width: 28px;
    height: 28px;
  }
  .feed-today-record-row__content {
    gap: 7px;
  }
  .feed-today-record-row__head {
    gap: 6px;
  }
  .feed-today-record-row__progress {
    gap: 5px;
  }
  .feed-today-record-row__progress-item {
    min-height: 24px;
    padding-inline: 8px;
  }
  .feed-today-record-row__action span:first-child {
    display: none;
  }
  .feed-input-week-calendar__day {
    min-height: 74px;
    border-radius: 16px;
  }
  .feed-query-week-calendar__day {
    min-height: 0;
    border-radius: 16px;
  }
  .feed-input-week-calendar__date {
    margin-top: 8px;
    font-size: 1.28rem;
  }
  .flock-calendar-side-panel.flock-calendar-detail {
    min-height: 0;
    padding: 12px;
    border-radius: 22px;
  }
  .flock-calendar {
    padding: 0;
    border-radius: 0;
  }
  .flock-calendar__center-controls {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .flock-calendar__today-button,
  .flock-calendar__period-control,
  .flock-calendar__view-toggle {
    grid-column: auto;
    justify-self: center;
  }
  .flock-calendar__period-label {
    font-size: 0.86rem;
  }
  .flock-calendar__month-button,
  .flock-calendar__week-button {
    padding-inline: 8px;
    font-size: 1rem;
  }
  .flock-calendar__month-picker,
  .flock-calendar__week-picker {
    width: min(268px, calc(100vw - 56px));
  }
  .flock-calendar__weekdays,
  .flock-calendar__grid {
    gap: 4px;
  }
  .flock-calendar__week-table {
    width: max(100%, calc(78px + (var(--week-table-column-count) * 156px)));
  }
  .flock-calendar__week-table-corner,
  .flock-calendar__week-table-house {
    width: 78px;
  }
  .flock-calendar__week-table-corner,
  .flock-calendar__week-table-house,
  .flock-calendar__week-table-head-button,
  .flock-calendar__week-table-cell-button {
    padding-inline: 8px;
  }
  .flock-calendar__week-table-cell,
  .flock-calendar__week-table-cell-button {
    min-height: 82px;
  }
  .flock-year-heatmap {
    --heatmap-cell-size: 16px;
    --heatmap-gap: 5px;
  }
  .flock-year-heatmap__months {
    margin-left: 36px;
  }
  .flock-year-heatmap__body {
    gap: 8px;
  }
  .flock-year-heatmap__weekday-labels {
    width: 32px;
  }
  .flock-year-heatmap__weekday-labels span {
    font-size: 0.8rem;
  }
  .flock-calendar__day {
    min-height: 66px;
    padding: 6px;
    border-radius: 13px;
  }
  .flock-calendar__range-layer {
    inset-inline: -5px;
    top: 21px;
    height: 34px;
  }
  .flock-calendar__range-segment {
    top: calc(var(--range-index) * 7px + 8px);
    height: 2px;
  }
  .flock-calendar__range-segment.is-start {
    left: 18px;
  }
  .flock-calendar__range-segment.is-end {
    right: calc(100% - 18px);
  }
  .flock-calendar__day-events {
    position: relative;
    inset: auto;
    display: flex;
    flex-flow: row wrap;
    gap: 4px;
    height: auto;
  }
  .flock-calendar__day-event {
    position: static;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }
  .flock-calendar-focused {
    min-height: 0;
  }
  .flock-calendar-focused__head {
    align-items: flex-start;
  }
  .flock-calendar-focused__title-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .flock-calendar-detail__head {
    align-items: stretch;
    flex-direction: column;
  }
  .flock-calendar-event__meta {
    grid-template-columns: 1fr;
  }
  .flock-calendar-event {
    grid-template-columns: 1fr;
  }
  .flock-calendar-event__actions {
    width: 100%;
  }
  .panel-title {
    font-size: 1.55rem;
  }
  .auth-shell__header {
    margin-bottom: 18px;
  }
  .auth-shell__logo {
    height: 50px;
  }
  .auth-card {
    padding: 22px;
    border-radius: 28px;
  }
  .auth-card__title {
    font-size: 1.6rem;
  }
  .auth-landing {
    align-items: stretch;
    padding-top: 10px;
    padding-bottom: 24px;
  }
  .auth-landing__panel {
    min-height: calc(100dvh - 150px);
    padding: 0 0 28px;
  }
  .auth-landing__title {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }
  .auth-landing__copy {
    max-width: 94vw;
    font-size: clamp(0.86rem, 3.45vw, 1.04rem);
    margin-top: 24px;
  }
  .auth-landing__actions {
    margin-top: 44px;
  }
  .auth-landing__actions,
  .auth-landing__login-button,
  .auth-landing__signup-link {
    width: auto;
  }
  .auth-modal-backdrop {
    align-items: end;
    padding: 12px;
  }
  .auth-modal {
    border-radius: 28px;
  }
  .farm-info-house-modal-backdrop {
    align-items: end;
    padding: 12px;
  }
  .farm-info-house-modal {
    width: 100%;
    border-radius: 28px;
  }
  .auth-choice-grid--stackable {
    grid-template-columns: 1fr;
  }
  .farm-picker,
  .item {
    border-radius: 22px;
  }
}
/*# sourceMappingURL=app.css.map */
