/* Farm Management — shared application design system */
:root {
  --farm-green: #245c45;
  --primary-green: #245c45;
  --primary-green-dark: #173d32;
  --primary-green-light: #347352;
  --secondary-green: #3f7356;
  --accent-green: #91ac77;
  --success-green: #397957;
  --bg-light: #f5f6f2;
  --bg-card: #fff;
  --text-dark: #253b32;
  --text-muted: #778078;
  --border-color: #e3e8e0;
  --shadow-sm: 0 2px 5px #243d2c04;
  --shadow-md: 0 5px 20px #243d2c08;
  --sidebar-width: 242px;
  --radius: 14px;
  --bs-body-font-family: "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 14px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--bs-body-font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--farm-green);
  text-decoration: none;
}
a:hover {
  color: #173d32;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #263d31;
  font-weight: 650;
  line-height: 1.3;
  margin: 0 0 0.65rem;
}
h1 {
  font-size: 2.05rem;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 1.22rem;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 1.07rem;
}
p {
  margin-bottom: 1rem;
}
small,
.small {
  font-size: 0.85rem;
}
.text-muted {
  color: #6d786f !important;
}
.text-primary,
.text-success {
  color: var(--farm-green) !important;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--farm-green);
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #70945f;
  outline-offset: 3px;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: #fff;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 30px 19px 20px;
  z-index: 1040;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #193f2d;
  font-weight: 750;
  font-size: 1.07rem;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 43px;
  background: #245c45;
  border-radius: 12px;
  color: #dcebc9;
}
.brand-mark .icon {
  width: 25px;
  height: 25px;
}
.brand-light {
  font-weight: 500;
  display: block;
  font-size: 1rem;
}
.brand small {
  display: block;
  font-size: 0.53rem;
  color: #859080;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-top: 6px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f7f2;
  border: 1px solid #e5eadf;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin: 30px 0 12px;
  color: #52654f;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #709b62;
  border-radius: 50%;
  display: inline-block;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.15px;
  color: #8d958c;
  padding: 17px 12px 6px;
}
.side-nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  color: #718071;
  transition:
    background 0.16s,
    color 0.16s;
}
.side-nav > a:hover {
  background: #f5f7f2;
  color: #245c45;
}
.side-nav > a.is-active {
  background: #eaf0e5;
  color: #305c35;
  font-weight: 650;
}
.side-nav > a.is-active::after {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #5b8250;
  margin-left: auto;
}
.side-nav .icon {
  width: 18px;
  height: 18px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.8rem;
  color: #90998f;
}
.sidebar-note {
  background: #f5f7f0;
  border: 1px solid #e8ecdf;
  border-radius: 12px;
  padding: 16px 14px;
  margin-bottom: 20px;
}
.sidebar-note > .icon {
  width: 24px;
  height: 24px;
  color: #729256;
  margin-bottom: 10px;
}
.sidebar-note strong {
  display: block;
  font-weight: 600;
  color: #4b6443;
  font-size: 0.82rem;
}
.sidebar-note p {
  font-size: 0.73rem;
  line-height: 1.8;
  margin: 5px 0 0;
  color: #889080;
}
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  color: #7a8576;
}
.sidebar-bottom > small {
  display: block;
  padding: 10px;
  font-size: 0.68rem;
}
.app-workspace {
  margin-left: var(--sidebar-width);
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  min-height: 76px;
  padding: 0 36px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffffb8;
  display: flex;
  align-items: center;
  gap: 16px;
}
.breadcrumb-label {
  font-size: 0.85rem;
  color: #889187;
}
.breadcrumb-label span {
  padding: 0 12px;
  color: #c0c6bc;
}
.breadcrumb-label strong {
  color: #4d5d4d;
  font-weight: 500;
}
.topbar-date {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7a8476;
  font-size: 0.77rem;
  text-transform: capitalize;
}
.topbar-date .icon {
  width: 15px;
  height: 15px;
}
.app-content {
  padding: 32px 36px 44px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.app-content:focus {
  outline: none;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 36px;
  border-top: 1px solid var(--border-color);
  font-size: 0.73rem;
  color: #949a8e;
}
.app-footer span:first-child {
  font-weight: 600;
}
.mobile-menu-toggle {
  display: none;
}
.icon-button {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  color: #456245;
}
.sidebar-backdrop {
  display: none;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
}
.page-header h1,
.page-header h2 {
  margin: 0;
}
.page-header h2 {
  font-size: 1.9rem;
  letter-spacing: -0.6px;
}
.eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #81917b;
  margin: 0 0 10px;
}
.page-description {
  font-size: 0.9rem;
  color: #7a8477;
  margin: 10px 0 0;
  max-width: 650px;
}
.btn {
  border-radius: 8px;
  font-size: 0.85rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-weight: 600;
  transition:
    background 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.btn-farm,
.btn-primary {
  background: #285e45;
  border: 1px solid #285e45;
  color: #fff;
}
.btn-farm:hover,
.btn-primary:hover {
  background: #1d4936;
  border-color: #1d4936;
  color: #fff;
}
.btn-farm:focus,
.btn-primary:focus {
  box-shadow: 0 0 0 3px #afc5a8;
}
.btn-outline-farm {
  background: #fff;
  border-color: #c2d2ba;
  color: #386644;
}
.btn-outline-farm:hover {
  background: #ecf2e7;
  border-color: #8baa7c;
  color: #285638;
}
.btn-outline-secondary {
  background: #fff;
  border-color: #dce2d7;
  color: #63705f;
}
.btn-outline-secondary:hover {
  background: #f0f3ec;
  color: #3a5038;
  border-color: #c9d2c1;
}
.btn-danger {
  background: #ad4c43;
  border-color: #ad4c43;
}
.btn-danger:hover {
  background: #913d36;
  border-color: #913d36;
}
.btn-outline-danger {
  border-color: #e8ccc8;
  color: #a3554b;
  background: #fff;
}
.btn-outline-danger:hover {
  background: #faf0ed;
  color: #9d4337;
  border-color: #d4aaa2;
}
.btn-sm {
  font-size: 0.76rem;
  min-height: 32px;
  padding: 5px 10px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.card,
.stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card:hover {
  transform: none;
}
.card-header,
.card-header-farm {
  padding: 19px 24px;
  background: #fff;
  color: #42553e;
  font-weight: 650;
  border-bottom: 1px solid var(--border-color);
}
.card-body {
  padding: 24px;
}
.card-footer {
  background: #fafbf8;
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  padding: 19px 20px;
  color: inherit;
  display: block;
  transition: border-color 0.2s;
}
.stat-card:hover {
  border-color: #afc2a2;
  color: inherit;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: #74816f;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.sage {
  background: #eef2e6;
  color: #6e8651;
}
.sand {
  background: #f7f0df;
  color: #b19858;
}
.mint {
  background: #e7f1e9;
  color: #53876b;
}
.blue {
  background: #eaf0f3;
  color: #77939b;
}
.stat-card > strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 650;
  letter-spacing: -1.1px;
  margin: 14px 0 5px;
  line-height: 1.2;
}
.stat-card > strong > span {
  font-size: 0.83rem;
  color: #8b9486;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 8px;
}
.stat-card > small {
  font-size: 0.7rem;
  color: #8c9585;
  display: block;
  line-height: 1.8;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.today-card,
.week-card {
  padding: 25px 26px;
}
.today-card {
  background: #f0f3e8;
  border-color: #e1e7d5;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.section-heading h2 {
  margin: 0;
}
.date-pill,
.pill {
  font-size: 0.73rem;
  color: #6f7d65;
  border: 1px solid #dee5d6;
  background: #ffffff80;
  border-radius: 7px;
  padding: 5px 9px;
  white-space: nowrap;
}
.today-card > p {
  font-size: 0.87rem;
  max-width: 400px;
}
.progress-heading {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #768569;
  margin-top: 22px;
  margin-bottom: 8px;
}
.progress {
  height: 6px;
  background: #dfe6d5;
  border-radius: 8px;
}
.progress-bar {
  background: #698d51;
  border-radius: 8px;
}
.week-chart {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  height: 172px;
  margin-top: 23px;
}
.week-column {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.week-column > strong {
  font-size: 0.7rem;
  color: #839078;
  font-weight: 500;
}
.week-track {
  height: 112px;
  width: 100%;
  max-width: 29px;
  background: #f4f6ee;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.week-track > span {
  display: block;
  width: 100%;
  background: #c6d3b3;
  border-radius: 6px;
  min-height: 2px;
}
.week-track > span.is-today {
  background: #64864f;
}
.week-column > small {
  font-size: 0.64rem;
  color: #929a8a;
}
.lower-grid {
  grid-template-columns: 1.4fr 1fr;
}
.activity-list {
  padding: 0 24px 8px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0e8;
  padding: 15px 0;
  color: #495b43;
}
.avatar {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  background: #f0f3e9;
  border: 1px solid #e5eadc;
  border-radius: 50%;
  color: #7d9266;
  font-weight: 600;
}
.activity-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}
.activity-item small {
  display: block;
  font-size: 0.68rem;
  color: #939c89;
}
.activity-hours {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}
.activity-item > .icon {
  height: 15px;
  width: 15px;
  color: #a2ad96;
}
.text-link {
  font-size: 0.73rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.getting-started {
  padding: 24px;
}
.getting-started > a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0e7;
}
.step-number {
  font-size: 0.75rem;
  color: #99a68b;
  background: #f5f7ef;
  border: 1px solid #e6ebdc;
  border-radius: 8px;
  padding: 7px 9px;
}
.getting-started > a strong {
  font-size: 0.83rem;
  display: block;
  color: #516749;
}
.getting-started > a small {
  font-size: 0.7rem;
  display: block;
  color: #929b88;
  margin-top: 3px;
}
.getting-started > a > .icon {
  margin-left: auto;
  width: 15px;
  color: #9ba78f;
}
.inline-notice {
  padding: 13px;
  background: #faf5e8;
  color: #8b784d;
  border-radius: 8px;
  font-size: 0.76rem;
  margin-top: 18px;
}
.inline-notice.neutral {
  background: #f3f6ed;
  color: #8c9b7c;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.inline-notice .icon {
  width: 16px;
  height: 16px;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.search-field .icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 17px;
  height: 17px;
  color: #9aa48f;
}
.search-field input {
  padding-left: 38px;
  background: #fafbf7;
}
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toolbar-controls .form-select {
  min-width: 160px;
}
.result-count {
  color: #89947e;
  font-size: 0.76rem;
  white-space: nowrap;
}
.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #fcfdf9;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: #8a957e;
}
.list-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}
.list-pagination .btn {
  min-height: 30px;
  font-size: 0.72rem;
  padding: 4px 10px;
}
.table {
  margin-bottom: 0;
  color: #4c5b45;
  font-size: 0.85rem;
  --bs-table-hover-bg: #f9fbf6;
}
.table > :not(caption) > * > * {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom-color: #eef1e8;
}
.table thead th {
  background: #f9fbf5;
  color: #89957d;
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table tbody tr:hover {
  background: #fafcf7;
}
.table td small {
  font-size: 0.72rem;
}
.table-borderless > :not(caption) > * > * {
  border: 0;
  padding: 11px 0;
}
.badge {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  padding: 6px 9px;
  border-radius: 6px;
  line-height: 1.25;
}
.badge.bg-success,
.badge-farm {
  background: #eaf3e5 !important;
  color: #5e8050 !important;
}
.badge.bg-warning {
  background: #faf1d9 !important;
  color: #a08743 !important;
}
.badge.bg-secondary {
  background: #f0f1ed !important;
  color: #8c9482 !important;
}
.badge.bg-info {
  background: #eaf2f3 !important;
  color: #6d8a8e !important;
}
.badge.bg-danger {
  background: #faeeea !important;
  color: #ad7161 !important;
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e3e9d9;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 0.85rem;
  line-height: 1.8;
}
.alert > svg {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.alert-dismissible {
  padding-right: 48px;
}
.alert-success,
.alert-farm-success {
  background: #eff6eb;
  color: #568045;
  border-color: #dcebd2;
}
.alert-danger,
.alert-farm-error {
  background: #fdf2ee;
  color: #a56552;
  border-color: #f0dcd4;
}
.alert-warning {
  background: #faf6e8;
  color: #927d4c;
  border-color: #eee3c5;
}
.alert-info {
  background: #f0f5f4;
  color: #69847a;
  border-color: #e0eae5;
}
.alert:has(ul),
.alert:has(h4) {
  display: block;
}
.form-container-center {
  max-width: 900px;
  margin: 0 auto;
}
.form-intro {
  max-width: 700px;
  margin-bottom: 24px;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 24px;
  align-items: start;
}
.form-main {
  min-width: 0;
}
.form-aside {
  background: #eef2e7;
  border: 1px solid #e1e7d7;
  border-radius: 12px;
  padding: 22px;
  font-size: 0.82rem;
  color: #829274;
  position: sticky;
  top: 22px;
}
.form-aside h3 {
  font-size: 0.9rem;
  color: #667e54;
}
.form-aside p {
  margin-bottom: 12px;
}
.form-aside ul {
  padding-left: 17px;
  margin-bottom: 0;
}
.form-aside li {
  margin: 9px 0;
}
.form-section {
  padding: 24px;
  border-bottom: 1px solid #edf0e7;
}
.form-section:last-child {
  border-bottom: 0;
}
.form-section-title {
  font-size: 0.94rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title .icon {
  width: 17px;
  height: 17px;
  color: #8ca275;
}
.form-label {
  display: block;
  color: #607153;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 7px;
}
.form-label.is-required::after {
  content: " *";
  color: #b27b65;
}
.form-control,
.form-select {
  border-color: #dfe5d7;
  border-radius: 7px;
  min-height: 42px;
  padding: 9px 12px;
  color: #4d6044;
  font-size: 0.86rem;
  line-height: 1.5;
  background-color: #fff;
}
.form-control::placeholder {
  color: #a9b29e;
}
.form-control:focus,
.form-select:focus {
  border-color: #94af7c;
  box-shadow: 0 0 0 3px #e7efde;
}
.form-select {
  padding-right: 32px;
}
.form-check-input {
  border-color: #b7c6a9;
  min-width: 16px;
  min-height: 16px;
}
.form-check-input:checked {
  background-color: #62844c;
  border-color: #62844c;
}
.input-group-text {
  background: #f7f9f2;
  border-color: #dfe5d7;
  color: #8a977e;
  font-size: 0.75rem;
  padding: 9px 12px;
}
.form-text {
  font-size: 0.74rem;
  color: #939e88;
  margin-top: 7px;
}
.field-validation-error,
.text-danger {
  color: #ad6859 !important;
  font-size: 0.77rem;
}
.input-validation-error {
  border-color: #d5a392 !important;
  background: #fffaf7;
}
.validation-summary-errors {
  color: #a46352;
  background: #fff4ed;
  border: 1px solid #efd7c7;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}
.validation-summary-errors ul {
  padding-left: 16px;
  margin: 0;
}
.field-validation-valid,
.validation-summary-valid {
  display: none;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: #fcfdf9;
}
.save-note {
  font-size: 0.73rem;
  color: #99a18e;
}
.empty-state {
  text-align: center;
  padding: 55px 22px;
  color: #8f9b81;
}
.empty-state .empty-icon {
  width: 38px;
  height: 38px;
  color: #9aad83;
  background: #f0f4e8;
  border-radius: 14px;
  box-sizing: content-box;
  padding: 14px;
  margin-bottom: 18px;
}
.empty-state h3,
.empty-state h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #647951;
}
.empty-state p {
  font-size: 0.82rem;
  margin: 8px auto 18px;
  max-width: 370px;
  line-height: 1.9;
}
.empty-state.compact {
  padding: 28px 20px 34px;
}
.filter-empty {
  text-align: center;
  padding: 32px;
  color: #8d9c7d;
}
.map-picker-container {
  position: relative;
  border: 1px solid #dfe6d6;
  border-radius: 10px;
  overflow: hidden;
}
.map-picker-container #map {
  height: 310px;
  width: 100%;
  z-index: 1;
}
.map-picker-container .bg-light {
  background: #f8faf4 !important;
}
.map-picker-container .input-group {
  max-width: 100% !important;
}
.map-picker-container .form-control {
  min-height: 34px;
}
.map-picker-container small {
  font-size: 0.7rem;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-top,
.leaflet-bottom {
  z-index: 450;
}
#searchResults {
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.definition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.definition-grid dt {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a083;
  margin-bottom: 4px;
}
.definition-grid dd {
  font-size: 0.92rem;
  color: #566c46;
  margin: 0;
}
.detail-map {
  height: 340px;
  border-radius: 0 0 14px 14px;
}
.danger-panel {
  max-width: 660px;
  margin: 0 auto;
  border: 1px solid #e7cfc6;
}
.danger-panel .card-header {
  background: #fbf4ef;
  color: #a46d59;
}
.delete-icon {
  color: #b5836e;
  background: #fbf1e9;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.danger-panel h1 {
  font-size: 1.5rem;
}
.danger-panel .card-body {
  padding: 28px;
}
.calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.calendar-controls .form-select,
.calendar-controls .form-control {
  width: auto;
  min-width: 95px;
}
.calendar-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: #8b987b;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 5px;
}
.legend-full {
  background: #a5c48d;
}
.legend-half {
  background: #e3d49b;
}
.legend-odd {
  background: #acc6c9;
}
.calendar-scroll {
  overflow: auto;
  max-height: 65vh;
  overscroll-behavior: contain;
}
.attendance-calendar {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;
  min-width: 1900px;
}
.attendance-calendar th,
.attendance-calendar td {
  padding: 6px !important;
  min-width: 49px;
  border-right: 1px solid #eff2e8;
  border-bottom: 1px solid #eff2e8;
  text-align: center;
  vertical-align: middle;
}
.attendance-calendar thead {
  position: sticky;
  top: 0;
  z-index: 20;
}
.attendance-calendar thead th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: #f8faf4;
  color: #8c997b;
  height: 60px;
}
.attendance-calendar thead th > small {
  font-size: 0.64rem;
  color: #a0aa92;
}
.attendance-calendar .sticky-col {
  position: sticky;
  left: 0;
  min-width: 180px;
  max-width: 180px;
  text-align: left;
  background: #fff !important;
  padding-left: 16px !important;
  border-right: 1px solid #dfe7d5;
  z-index: 10;
  box-shadow: 3px 0 5px #64725005;
}
.attendance-calendar thead .sticky-col {
  z-index: 30;
  background: #f8faf4 !important;
}
.attendance-calendar .worker-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #5f7750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.attendance-calendar .worker-code {
  font-size: 0.64rem;
  color: #a0aa92;
}
.attendance-calendar .hours-cell {
  width: 38px;
  height: 34px;
  min-height: 34px;
  margin: auto;
  padding: 4px 0;
  border: 1px solid transparent;
  background: transparent;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #657a52;
  appearance: textfield;
  border-radius: 6px;
}
.hours-cell::-webkit-inner-spin-button {
  appearance: none;
}
.attendance-calendar .hours-cell:focus {
  background: #fff;
  border-color: #95b17b;
  box-shadow: 0 0 0 2px #dfead4;
  outline: none;
}
.attendance-calendar .hours-cell:disabled {
  color: #b4bba9;
  background: #f8f9f5;
  cursor: not-allowed;
}
.attendance-calendar .cell-full {
  background: #eaf2e0 !important;
  color: #6a8c4b;
}
.attendance-calendar .cell-half {
  background: #f8f1db !important;
  color: #a29562;
}
.attendance-calendar .cell-odd {
  background: #edf3f3 !important;
  color: #7f9a9a;
}
.attendance-calendar .bg-weekend-cell {
  background: #fafbf7;
}
.attendance-calendar .bg-today {
  background: #eaf1df !important;
  color: #6a884b;
}
.calendar-total {
  background: #fcfdf9;
  min-width: 100px !important;
}
.calendar-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: #fafcf6;
  border-top: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: #869773;
}
.calendar-summary strong {
  font-size: 0.9rem;
  color: #5f794b;
  margin-left: 6px;
}
.save-indicator {
  display: none;
  position: absolute;
  right: 2px;
  bottom: 0;
  font-size: 9px;
  color: #8b9d77;
}
.cell-saving {
  opacity: 0.5;
}
.list-subnav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  background: #ecf0e5;
  border-radius: 9px;
  width: fit-content;
}
.list-subnav a {
  border-radius: 6px;
  color: #879677;
  padding: 7px 12px;
  font-size: 0.77rem;
}
.list-subnav a.active {
  background: #fff;
  color: #657f51;
  box-shadow: var(--shadow-sm);
}
.day-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.day-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}
.day-picker .form-control {
  width: 160px;
}
.day-picker .btn {
  width: 38px;
  padding: 5px;
  min-height: 40px;
}
.attendance-choice-table .form-control {
  width: 100px;
  min-height: 36px;
  padding: 6px 10px;
}
.attendance-choice-table .notes-input {
  width: 100%;
  min-width: 130px;
}
.attendance-choice-table .input-group {
  flex-wrap: nowrap;
}
.batch-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: #fcfdf8;
  border-top: 1px solid var(--border-color);
}
.batch-actions small {
  color: #93a082;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0;
}
.section-header .eyebrow {
  margin: 0;
}
.toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(390px, calc(100vw - 32px));
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.farm-toast {
  background: #2d5840;
  color: #fff;
  box-shadow: 0 8px 30px #173d3225;
  border: 1px solid #3d6a4d;
  border-radius: 9px;
  padding: 14px 18px;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.farm-toast.is-error {
  background: #a66b58;
  border-color: #b47e6c;
}
.farm-toast button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  padding: 0 3px;
}
.keyboard-hint {
  font-size: 0.69rem;
  color: #95a385;
}
.keyboard-hint kbd {
  background: #f1f4eb;
  border: 1px solid #dce5d1;
  color: #8a9d76;
  border-radius: 3px;
  padding: 2px 4px;
}
.bg-success:not(.badge):not(.btn) {
  background: #eaf2e2 !important;
  color: #587740;
}
.bg-warning:not(.badge) {
  background: #faf3dd !important;
  color: #988756;
}
.bg-info:not(.badge) {
  background: #eef4f2 !important;
  color: #779184;
}
.fade-in {
  animation: appear 0.25s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.5;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .app-content {
    padding-top: 40px;
  }
  .stat-card {
    padding: 24px;
  }
  .dashboard-grid {
    gap: 28px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 220px;
  }
  .app-content {
    padding: 26px;
  }
  .app-topbar {
    padding: 0 26px;
  }
  .stat-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-card > strong {
    font-size: 1.9rem;
  }
  .stat-top {
    font-size: 0.75rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 225px;
  }
}
@media (max-width: 991px) {
  :root {
    --sidebar-width: 205px;
  }
  .app-sidebar {
    padding: 24px 12px;
  }
  .app-content {
    padding: 24px;
  }
  .app-topbar {
    padding: 0 24px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-aside {
    position: static;
  }
  .page-header {
    align-items: flex-start;
  }
  .page-header h1 {
    font-size: 1.65rem;
  }
  .topbar-date {
    font-size: 0.68rem;
  }
  .topbar-date .icon {
    display: none;
  }
  .lower-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading .text-link {
    font-size: 0.65rem;
  }
}
@media (max-width: 767px) {
  .app-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
  }
  .app-workspace {
    margin-left: 0;
  }
  .app-topbar {
    min-height: 62px;
    padding: 0 18px;
    gap: 10px;
  }
  .breadcrumb-label {
    font-size: 0.74rem;
  }
  .breadcrumb-label span {
    padding: 0 8px;
  }
  .topbar-date {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    padding: 7px;
  }
  .menu-open .app-sidebar {
    transform: none;
  }
  .menu-open .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #1d382a55;
    backdrop-filter: blur(2px);
    z-index: 1035;
  }
  .app-content {
    padding: 23px 18px 30px;
  }
  .app-footer {
    padding: 16px 18px;
    font-size: 0.65rem;
  }
  .app-footer span:last-child {
    max-width: 180px;
    text-align: right;
  }
  .page-header {
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
  }
  .page-header h1,
  .page-header h2 {
    font-size: 1.65rem;
  }
  .page-header > .btn {
    min-height: 40px;
  }
  .page-description {
    font-size: 0.82rem;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 0.6rem;
  }
  .stat-grid {
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat-card {
    padding: 16px 13px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .stat-icon .icon {
    width: 16px;
    height: 16px;
  }
  .stat-top {
    font-size: 0.7rem;
    gap: 4px;
  }
  .stat-card > strong {
    font-size: 1.8rem;
  }
  .stat-card > strong > span {
    font-size: 0.66rem;
    margin-left: 5px;
  }
  .stat-card > small {
    font-size: 0.63rem;
  }
  .dashboard-grid,
  .lower-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }
  .today-card,
  .week-card,
  .getting-started {
    padding: 22px;
  }
  .section-heading {
    align-items: center;
  }
  .section-heading h2 {
    font-size: 1.12rem;
  }
  .card-body,
  .form-section {
    padding: 20px;
  }
  .card-header {
    padding: 18px 20px;
  }
  .form-actions {
    padding: 18px 20px;
    flex-wrap: wrap;
  }
  .save-note {
    display: none;
  }
  .form-actions > .btn {
    flex: 1;
  }
  .form-aside {
    font-size: 0.78rem;
  }
  .list-toolbar {
    padding: 16px;
    gap: 12px;
  }
  .search-field {
    max-width: none;
    min-width: 100%;
  }
  .toolbar-controls {
    width: 100%;
    justify-content: space-between;
  }
  .toolbar-controls .form-select {
    max-width: 200px;
  }
  .table-responsive-card thead {
    display: none;
  }
  .table-responsive-card,
  .table-responsive-card tbody {
    display: block;
    width: 100%;
  }
  .table-responsive-card tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
  }
  .table-responsive-card tbody td {
    display: block;
    border: 0;
    padding: 4px 0;
    text-align: left;
  }
  .table-responsive-card td::before {
    content: attr(data-label);
    display: block;
    color: #98a48a;
    font-size: 0.65rem;
    font-weight: 400;
    margin-bottom: 4px;
  }
  .table-responsive-card tbody td:first-child {
    grid-column: 1/-1;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .table-responsive-card tbody td:first-child::before {
    display: none;
  }
  .table-responsive-card tbody td:last-child {
    grid-column: 1/-1;
    text-align: right;
    padding-top: 10px;
  }
  .list-footer {
    padding: 12px 16px;
    font-size: 0.67rem;
  }
  .definition-grid {
    gap: 18px;
  }
  .detail-map {
    height: 270px;
  }
  .calendar-controls {
    gap: 6px;
  }
  .calendar-controls .form-select {
    min-width: 80px;
  }
  .calendar-controls .form-control {
    max-width: 88px;
    min-width: 70px;
  }
  .calendar-scroll {
    max-height: 60vh;
  }
  .attendance-calendar .sticky-col {
    min-width: 140px;
    max-width: 140px;
  }
  .attendance-calendar .worker-name {
    max-width: 120px;
  }
  .calendar-legend {
    gap: 10px;
    font-size: 0.65rem;
  }
  .keyboard-hint {
    display: none;
  }
  .calendar-summary {
    padding: 15px;
    font-size: 0.68rem;
    gap: 10px;
  }
  .day-navigation {
    gap: 12px;
  }
  .day-picker {
    gap: 6px;
  }
  .day-picker .form-control {
    width: 145px;
  }
  .list-subnav {
    font-size: 0.7rem;
  }
  .list-subnav a {
    padding: 7px 10px;
  }
  .batch-actions {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .batch-actions small {
    font-size: 0.7rem;
  }
  .attendance-choice-table th,
  .attendance-choice-table td {
    padding: 10px !important;
  }
  .toast-region {
    bottom: 16px;
    right: 16px;
  }
  .danger-panel .card-body {
    padding: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .app-sidebar,
  .app-topbar,
  .app-footer,
  .btn,
  .toast-region,
  .list-toolbar,
  .list-footer {
    display: none !important;
  }
  .app-workspace {
    margin: 0;
  }
  .app-content {
    padding: 0;
  }
  .card {
    box-shadow: none;
    break-inside: avoid;
  }
  .calendar-scroll {
    max-height: none;
    overflow: visible;
  }
  body {
    background: #fff;
  }
}

[hidden] {
  display: none !important;
}
.mobile-menu-close {
  display: none;
}
@media (max-width: 767px) {
  .mobile-menu-close {
    display: block;
    position: absolute;
    right: 12px;
    top: 9px;
    border: 0;
    background: transparent;
    color: #849576;
    font-size: 22px;
  }
}

.attendance-calendar .cell-invalid {
  background: #fbede6 !important;
  color: #b67b65;
}
.row-selected {
  background: #f5f8ef;
}
.bg-light {
  background-color: #f8faf4 !important;
}

/* Readable secondary text at both desktop and mobile sizes. */
html {
  font-size: 15px;
}
.eyebrow {
  font-size: 0.69rem;
  color: #77846b;
}
.page-description {
  color: #6f7d64;
}
.stat-card > small {
  font-size: 0.75rem;
  color: #78866b;
}
.stat-top {
  color: #65765a;
}
.table thead th {
  font-size: 0.72rem;
  color: #6f805f;
}
.result-count,
.list-footer {
  color: #718460;
}
.form-text {
  color: #788a67;
}
.week-column > small {
  font-size: 0.7rem;
  color: #7d8d6d;
}
.form-aside {
  color: #6f845c;
}
.form-label {
  color: #536c44;
}
.nav-section-label {
  color: #7e8c71;
}
.calendar-legend {
  color: #71865d;
}
.keyboard-hint {
  color: #7a8c67;
}
.definition-grid dt {
  color: #788a66;
}
.list-subnav a {
  color: #71845e;
}
.app-footer {
  color: #7e8c72;
}
.getting-started > a small {
  color: #7c8c6d;
}
.activity-item small {
  color: #7d8d6e;
}
@media (max-width: 767px) {
  .stat-card > small {
    font-size: 0.67rem;
  }
  .stat-top {
    font-size: 0.74rem;
  }
  .eyebrow {
    font-size: 0.65rem;
  }
  .page-description {
    font-size: 0.85rem;
  }
  .form-label {
    font-size: 0.83rem;
  }
  .form-control,
  .form-select {
    font-size: 16px;
  }
  .calendar-controls .form-control,
  .calendar-controls .form-select {
    font-size: 0.85rem;
  }
  .search-field .form-control {
    font-size: 0.85rem;
  }
  .hours-cell {
    font-size: 16px !important;
  }
  .calendar-summary {
    font-size: 0.74rem;
  }
  .calendar-legend {
    font-size: 0.7rem;
  }
  .table-responsive-card td::before {
    color: #758964;
    font-size: 0.72rem;
  }
  .table-responsive-card td {
    font-size: 0.86rem;
  }
}

.payroll-total {
  font-size: 1.65rem !important;
}
.payroll-issues {
  list-style: none;
  padding: 0;
  margin: 0;
}
.payroll-issues li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding: 13px 0;
  font-size: 0.83rem;
}
.payroll-issues li > a,
.payroll-issues li > span > a {
  font-size: 0.77rem;
  white-space: nowrap;
}
.payroll-table {
  min-width: 1080px;
}
.payroll-table > tfoot > tr > * {
  background: #f4f7ed;
  font-size: 0.88rem;
  padding: 20px;
}
.payroll-breakdown {
  min-width: 140px;
  font-size: 0.76rem;
}
.payroll-breakdown summary {
  color: #688651;
  cursor: pointer;
  white-space: nowrap;
}
.payroll-breakdown > div {
  padding: 12px;
  margin-top: 12px;
  min-width: 270px;
  max-height: 350px;
  overflow: auto;
  border: 1px solid var(--border-color);
  background: #fafcf5;
  border-radius: 8px;
}
.payroll-breakdown .table {
  font-size: 0.72rem;
}
.payroll-breakdown .table th,
.payroll-breakdown .table td {
  padding: 6px !important;
}
.payroll-rule {
  display: block;
  font-size: 0.8rem;
  line-height: 1.9;
}
.payroll-controls .form-control {
  width: 95px;
}
@media (max-width: 767px) {
  .payroll-issues li {
    flex-direction: column;
    gap: 6px;
  }
  .payroll-total {
    font-size: 1.3rem !important;
  }
  .payroll-actions {
    width: 100%;
  }
  .payroll-stats .stat-card {
    min-width: 0;
  }
  .payroll-stats .stat-card > small {
    line-height: 1.7;
  }
}
@media print {
  .payroll-controls,
  .payroll-actions,
  .payroll-rule,
  .payroll-issues,
  .payroll-breakdown {
    display: none !important;
  }
  .payroll-table {
    min-width: 0;
    font-size: 9px;
  }
  .payroll-table th,
  .payroll-table td {
    padding: 6px !important;
  }
  .payroll-table tr[hidden] {
    display: table-row !important;
  }
  .payroll-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .table-responsive {
    overflow: visible;
  }
}

.app-sidebar {
  overflow: hidden;
}
.side-nav {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  padding-bottom: 12px;
}
.sidebar-bottom {
  flex-shrink: 0;
  margin-top: 12px;
  padding-top: 10px;
}
.payroll-table {
  min-width: 1280px;
}
@media (max-height: 960px) {
  .sidebar-note {
    display: none;
  }
  .sidebar-bottom > small {
    padding: 5px 10px;
  }
  .workspace-label {
    margin-top: 20px;
  }
  .side-nav > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-section-label {
    padding-top: 12px;
  }
}
@media (max-width: 767px) {
  .side-nav > a {
    min-height: 44px;
  }
  .side-nav {
    overscroll-behavior: contain;
  }
}

/* Season notebook and plain-language farmer guidance. */
.crop-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.crop-stat {
  font-size: 1.3rem !important;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.crop-help {
  padding: 20px 24px;
}
.crop-help summary {
  font-weight: 700;
  color: var(--farm-green, #245641);
  cursor: pointer;
}
.crop-help > div {
  margin-top: 18px;
}
.crop-season-grid,
.crop-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.crop-season-card {
  padding: 20px;
  background: #f7f9f3;
  border: 1px solid #e0e7db;
  border-radius: 12px;
}
.crop-season-card h3 {
  font-size: 1.15rem;
  margin: 12px 0;
}
.crop-plan {
  padding: 20px 0;
  border-bottom: 1px solid #e6eadf;
}
.crop-plan:last-child {
  border: 0;
}
.crop-event {
  margin: 0 24px;
  padding: 24px 0 24px 20px;
  border-left: 3px solid #dbe7d3;
  border-bottom: 1px solid #e6eadf;
}
.crop-event header {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.crop-event h3 {
  font-size: 1.1rem;
  margin: 0;
}
.crop-event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.93rem;
}
.crop-photo {
  display: block;
  max-width: 100%;
  width: 280px;
  max-height: 240px;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 14px;
}
.farmer-guide {
  line-height: 1.85;
}

@media print {
  .material-usage-section [data-list-row] {
    display: table-row !important;
  }
  .material-usage-section .list-toolbar,
  .material-usage-section .list-footer,
  .material-usage-section .filter-empty,
  .material-usage-section a {
    display: none !important;
  }
}
.farmer-steps {
  padding-left: 28px;
}
.farmer-steps > li {
  padding: 12px 0 26px 8px;
  border-bottom: 1px solid #e6eadf;
  margin-bottom: 12px;
}
.farmer-steps > li::marker {
  color: #245641;
  font-weight: 800;
  font-size: 1.3rem;
}
.farmer-steps h3 {
  font-size: 1.2rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .crop-season-grid,
  .crop-comparison {
    grid-template-columns: 1fr;
  }
  .crop-event {
    margin: 0 16px;
    padding-left: 12px;
  }
  .farmer-steps {
    padding-left: 20px;
  }
}

/* Account access */
.auth-page { min-height:100vh; display:grid; place-items:center; padding:24px; background:#edf4ef; }
.auth-card { width:100%; max-width:460px; background:#fff; border:1px solid #dce8df; border-radius:20px; padding:32px; box-shadow:0 16px 48px #173d3212; }
.auth-card h1 { font-size:1.9rem; margin-bottom:16px; }
.account-form { max-width:700px; }
.account-menu { display:grid; gap:8px; padding:12px 0; }
.account-menu small { display:block; }
@media (max-width:480px) { .auth-page { padding:12px; } .auth-card { padding:24px 18px; } }
