:root {
  --green: #2d6a4f;
  --dark-green: #1b4332;
  --light-green: #d8f3dc;
  --background: #f8f9fa;
  --text: #17211a;
  --muted: #5f6f66;
  --white: #ffffff;
  --border: #dfe7e1;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green);
}

.navbar {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  color: var(--dark-green);
}

.brand-logo-link {
  align-items: center;
  display: inline-flex;
  max-width: min(220px, 56vw);
  padding-bottom: 0.12rem;
  padding-top: 0.12rem;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 42px;
  max-width: 100%;
  object-fit: contain;
}

.account-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--dark-green);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  width: 38px;
}

.account-toggle:hover,
.account-toggle:focus-visible,
.account-toggle[aria-expanded="true"] {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.14);
  color: var(--green);
  outline: none;
}

.account-toggle svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.account-menu {
  border-color: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 190px;
  padding: 0.6rem;
}

.account-menu .btn + .btn {
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .brand-logo {
    max-height: 38px;
  }

  .navbar-toggler {
    padding: 0.2rem 0.45rem;
  }

  .navbar-collapse {
    padding: 0.55rem 0 0.8rem;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar-nav .dropdown {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 0.65rem;
  }

  .account-toggle {
    display: none;
  }

  .account-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    min-width: 0;
    padding: 0;
    position: static;
    transform: none !important;
    width: 100%;
  }

  .account-menu .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 46px;
    width: 100%;
  }

  .account-menu .btn + .btn {
    margin-top: 0;
  }
}

.auth-page-wide {
  align-items: start;
  grid-template-columns: minmax(280px, 440px) minmax(280px, 440px);
  justify-content: center;
}

.auth-intro {
  color: var(--muted);
}

.auth-divider {
  border-color: var(--border);
  margin: 1.5rem 0;
}

.auth-card-secondary h2 {
  color: var(--dark-green);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.login-code-input {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-align: center;
}

.profile-card {
  max-width: 560px;
}

.btn-success {
  background: var(--green);
  border-color: var(--green);
}

.btn-success:hover,
.btn-success:focus {
  background: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-outline-success {
  border-color: var(--green);
  color: var(--green);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background: var(--green);
  border-color: var(--green);
}

.hero-section {
  color: var(--white);
  overflow: hidden;
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-section::before {
  background: linear-gradient(90deg, rgba(27, 67, 50, 0.88), rgba(45, 106, 79, 0.42));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-bg-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.catalog-header {
  background: linear-gradient(180deg, #eef7f0, var(--background));
  padding: 4rem 0 2rem;
}

.wizard-header {
  background: linear-gradient(180deg, #eef7f0, var(--background));
  padding: 4rem 0 2rem;
}

.tool-header {
  background: linear-gradient(180deg, #eef7f0, var(--background));
  padding: 4rem 0 2rem;
}

.catalog-header h1,
.wizard-header h1,
.tool-header h1 {
  color: var(--dark-green);
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 820;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.wizard-header p,
.tool-header p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 720px;
}

.catalog-search {
  max-width: none;
}

.home-search-section {
  background: var(--background);
  padding: 0 0 1rem;
}

.home-search-box {
  margin: -2rem auto 0;
  max-width: 980px;
  position: relative;
  z-index: 3;
}

.catalog-count {
  color: var(--muted);
  font-weight: 650;
}

.catalog-pagination {
  margin-top: 3rem;
}

.catalog-pagination-top {
  margin-top: 0;
}

.pagination {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-link {
  border-color: var(--border);
  border-radius: 8px;
  color: var(--green);
}

.page-item.active .page-link {
  background: var(--green);
  border-color: var(--green);
}

.hero-section h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  max-width: 620px;
}

.section-label {
  color: #95d5b2;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.section-title {
  color: var(--dark-green);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 780;
  margin: 0;
}

.search-box,
.plant-card,
.auth-card,
.admin-table,
.form-shell,
.preview-card,
.care-box,
.wizard-shell,
.calculator-card,
.calculator-form,
.calculator-result,
.empty-state {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.plant-card-shell {
  position: relative;
}

.favorite-form {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 8;
}

.favorite-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(27, 67, 50, 0.14);
  color: #83928a;
  display: inline-flex;
  font-size: 1.25rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  width: 44px;
}

.favorite-button:hover,
.favorite-button:focus-visible {
  background: var(--white);
  color: #d6336c;
  outline: none;
  transform: scale(1.06);
}

.favorite-button.is-saved {
  background: #fff0f4;
  border-color: rgba(214, 51, 108, 0.28);
  color: #d6336c;
}

.favorite-login {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 8;
}

.detail-title-row {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.detail-title-row .detail-title {
  margin-bottom: 0;
}

.detail-favorite-form,
.detail-favorite-login {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 8;
}

.detail-favorite {
  flex: 0 0 auto;
  height: 50px;
  width: 50px;
}

.detail-print-button {
  height: 50px;
  position: absolute;
  right: 0.85rem;
  top: 4.5rem;
  width: 50px;
  z-index: 8;
}

.account-hero-text {
  color: var(--muted);
  max-width: 620px;
}

.search-box {
  padding: 1.4rem;
}

.calculator-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-card {
  color: var(--text);
  display: block;
  min-height: 260px;
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.calculator-card:hover,
.calculator-card:focus-visible {
  color: var(--text);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.12);
  transform: translateY(-3px);
}

.calculator-card h2 {
  color: var(--dark-green);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.calculator-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.calculator-icon {
  background: var(--light-green);
  border-radius: 50%;
  display: inline-block;
  height: 42px;
  margin-bottom: 1rem;
  position: relative;
  width: 42px;
}

.calculator-icon::before {
  border: 3px solid var(--green);
  border-radius: 0 0 18px 18px;
  bottom: 8px;
  content: "";
  height: 18px;
  left: 9px;
  position: absolute;
  width: 24px;
}

.calculator-icon::after {
  background: var(--green);
  border-radius: 80% 0 80% 0;
  content: "";
  height: 16px;
  left: 14px;
  position: absolute;
  top: 7px;
  transform: rotate(-20deg);
  width: 16px;
}

.calculator-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.light-meter-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.calculator-form,
.calculator-result,
.light-meter-panel,
.light-meter-result {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.calculator-form {
  display: grid;
  gap: 1rem;
}

.result-main {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.result-main strong {
  color: var(--dark-green);
  display: block;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1;
}

.result-main span,
.result-grid span {
  color: var(--muted);
  font-weight: 650;
}

.light-meter-panel,
.light-meter-result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.plant-search-field {
  position: relative;
}

.plant-search-results {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(27, 67, 50, 0.14);
  display: none;
  left: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% - 0.2rem);
  z-index: 20;
}

.plant-search-results.is-open {
  display: grid;
  gap: 0.25rem;
}

.plant-search-option {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  display: grid;
  padding: 0.75rem 0.85rem;
  text-align: left;
  width: 100%;
}

.plant-search-option:hover,
.plant-search-option:focus-visible,
.plant-search-option.is-active {
  background: #eef7f0;
  outline: none;
}

.plant-search-option strong {
  color: var(--dark-green);
  font-weight: 780;
}

.catalog-search-option {
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: 46px minmax(0, 1fr);
  text-decoration: none;
}

.catalog-search-option img {
  aspect-ratio: 1;
  border-radius: 8px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.catalog-search-option small,
.plant-search-empty {
  color: var(--muted);
}

.catalog-search-option small {
  display: block;
  font-size: 0.86rem;
  margin-top: 0.1rem;
}

.plant-search-empty {
  padding: 0.75rem 0.85rem;
}

.plant-search-option span,
.plant-search-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.plant-search-empty {
  padding: 0.75rem 0.85rem;
}

.selected-plant-chip {
  align-items: center;
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
}

.selected-plant-chip[hidden] {
  display: none;
}

.selected-plant-chip span {
  display: grid;
  gap: 0.15rem;
}

.selected-plant-chip strong {
  color: var(--dark-green);
  font-weight: 780;
}

.selected-plant-chip small {
  color: var(--muted);
}

.selected-plant-chip .btn {
  flex: 0 0 auto;
}

.phone-measure-card {
  align-items: center;
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1rem;
  padding: 1rem;
}

.phone-measure-card h2 {
  color: var(--dark-green);
  font-size: 1.25rem;
  font-weight: 820;
  margin-bottom: 0.45rem;
}

.phone-measure-card p {
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.phone-measure-mobile-copy {
  display: none;
}

.phone-measure-link {
  font-weight: 750;
  text-decoration: none;
}

.phone-measure-link:hover {
  color: var(--dark-green);
  text-decoration: underline;
}

.phone-qr {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 132px;
  padding: 0.35rem;
  width: 132px;
}

.remote-measure-status {
  background: var(--white);
  border: 1px dashed rgba(45, 106, 79, 0.35);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
}

.camera-frame {
  background:
    linear-gradient(135deg, rgba(27, 67, 50, 0.12), rgba(216, 243, 220, 0.42)),
    #eef7f0;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.local-camera-frame,
.local-camera-actions {
  display: none;
}

.camera-frame video {
  aspect-ratio: 16 / 10;
  background: #10221a;
  display: block;
  object-fit: cover;
  width: 100%;
}

.camera-placeholder {
  color: var(--dark-green);
  display: grid;
  inset: 0;
  min-height: 340px;
  padding: 2rem;
  place-items: center;
  position: absolute;
  text-align: center;
}

.camera-placeholder strong {
  display: block;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 820;
  line-height: 1.1;
}

.camera-placeholder span {
  color: var(--muted);
  display: block;
  margin-top: 0.75rem;
  max-width: 420px;
}

.light-meter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.light-meter-actions .btn {
  min-height: 52px;
}

.camera-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 0;
}

.lux-display {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.lux-display strong {
  color: var(--dark-green);
  display: block;
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 850;
  line-height: 1;
}

.lux-display span {
  color: var(--muted);
  font-weight: 700;
}

.light-meter-result h2 {
  color: var(--dark-green);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 820;
  margin-bottom: 0.75rem;
}

.light-meter-result p {
  color: var(--muted);
}

.selected-plant-light {
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
}

.selected-plant-light:empty {
  display: none;
}

.selected-plant-light strong {
  color: var(--dark-green);
}

.selected-plant-light span,
.selected-plant-light small {
  color: var(--muted);
}

.remote-measure-photo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 1rem 0;
  padding: 1rem;
}

.remote-measure-photo strong {
  color: var(--dark-green);
  display: block;
  font-size: 1.15rem;
  font-weight: 820;
  margin-bottom: 0.75rem;
}

.remote-measure-photo img {
  border-radius: 12px;
  display: block;
  max-height: 560px;
  object-fit: cover;
  width: 100%;
}

.remote-measure-photo figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.mobile-meter-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 4vw, 1.35rem);
}

.mobile-camera-frame {
  background:
    linear-gradient(135deg, rgba(27, 67, 50, 0.12), rgba(216, 243, 220, 0.42)),
    #eef7f0;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: min(66vh, 540px);
  overflow: hidden;
  position: relative;
}

.mobile-camera-frame video {
  aspect-ratio: 3 / 4;
  background: #10221a;
  display: none;
  min-height: min(66vh, 540px);
  object-fit: cover;
  width: 100%;
}

.mobile-camera-placeholder {
  color: var(--dark-green);
  display: grid;
  inset: 0;
  min-height: min(66vh, 540px);
  padding: 2rem;
  place-items: center;
  position: absolute;
  text-align: center;
}

.mobile-camera-placeholder strong {
  display: block;
  font-size: clamp(1.35rem, 8vw, 2.2rem);
  font-weight: 820;
  line-height: 1.1;
}

.mobile-camera-placeholder span {
  color: var(--muted);
  display: block;
  margin-top: 0.75rem;
}

.mobile-meter-actions {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  box-shadow: 0 14px 34px rgba(27, 67, 50, 0.18);
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.65rem;
  position: sticky;
  z-index: 30;
}

.mobile-meter-actions .btn {
  min-height: 56px;
}

.mobile-meter-result {
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
}

.mobile-meter-result strong {
  color: var(--dark-green);
  font-size: clamp(1.8rem, 9vw, 2.7rem);
  font-weight: 850;
  line-height: 1;
}

.mobile-meter-result span {
  color: var(--muted);
}

.light-meter-icon::before {
  border: 3px solid var(--green);
  border-radius: 50%;
  height: 18px;
  left: 12px;
  top: 12px;
  width: 18px;
}

.light-meter-icon::after {
  background: var(--green);
  border-radius: 999px;
  box-shadow:
    0 -12px 0 var(--green),
    0 12px 0 var(--green),
    -12px 0 0 var(--green),
    12px 0 0 var(--green);
  height: 4px;
  left: 19px;
  top: 19px;
  transform: none;
  width: 4px;
}

.fertilizer-icon::before {
  border: 3px solid var(--green);
  border-radius: 8px 8px 12px 12px;
  bottom: 7px;
  height: 24px;
  left: 12px;
  width: 18px;
}

.fertilizer-icon::after {
  background: var(--green);
  border-radius: 55% 55% 55% 0;
  height: 13px;
  left: 15px;
  top: 7px;
  transform: rotate(-45deg);
  width: 13px;
}

.result-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-grid div {
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem;
}

.result-grid strong {
  color: var(--dark-green);
  display: block;
  font-size: 1.35rem;
  margin-top: 0.25rem;
}

.result-note,
.result-placeholder {
  color: var(--muted);
  margin: 1rem 0 0;
}

.wizard-shell {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.wizard-question {
  border: 0;
  margin: 0;
  padding: 0;
}

.wizard-question legend {
  color: var(--dark-green);
  float: none;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.wizard-options {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wizard-option {
  cursor: pointer;
  display: block;
}

.wizard-option input {
  position: absolute;
  opacity: 0;
}

.wizard-option span {
  align-items: center;
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  display: flex;
  font-weight: 750;
  min-height: 56px;
  padding: 0.8rem 1rem;
}

.wizard-option input:checked + span {
  background: var(--light-green);
  border-color: var(--green);
  color: var(--dark-green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.wizard-option input:focus-visible + span {
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.18);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wizard-results {
  margin-top: 3rem;
}

.match-reasons {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0 0;
  padding: 0.85rem 0 0 1.1rem;
}

.match-reasons li + li {
  margin-top: 0.25rem;
}

.form-label {
  color: var(--dark-green);
  font-weight: 700;
}

.form-control,
.form-select {
  border-color: var(--border);
  border-radius: 10px;
  min-height: 46px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.18);
}

.plant-card {
  color: var(--text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plant-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.plant-card-link:hover,
.plant-card-link:focus {
  color: inherit;
}

.plant-card-link:hover .plant-card,
.plant-card-link:focus-visible .plant-card {
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.12);
  transform: scale(1.025);
}

.plant-card::after {
  display: none;
}

.plant-media {
  aspect-ratio: 10 / 7;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
}

.plant-media::after {
  background: linear-gradient(90deg, rgba(27, 67, 50, 0.22), transparent 22%, transparent 78%, rgba(27, 67, 50, 0.22));
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.plant-card-link:hover .plant-media::after,
.plant-card-link:focus-visible .plant-media::after {
  opacity: 1;
}

.plant-card .card-img-top {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  width: 100%;
}

.plant-card-link:hover .card-img-top,
.plant-card-link:focus-visible .card-img-top {
  transform: scale(1.035);
}

.plant-card .card-body {
  padding: 1.2rem;
  position: relative;
  z-index: 2;
}

.plant-category {
  background: var(--light-green);
  border-radius: 999px;
  color: var(--dark-green);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  padding: 0.34rem 0.68rem;
}

.card-title {
  color: var(--dark-green);
  font-size: 1.22rem;
  font-weight: 780;
  margin-bottom: 0.15rem;
}

.scientific-name,
.card-text,
.detail-subtitle,
.detail-description,
.auth-note,
.preview-card p,
.empty-state p {
  color: var(--muted);
}

.scientific-name,
.detail-subtitle {
  font-style: italic;
}

.detail-media {
  display: flex;
}

.detail-image-wrap {
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 640px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.detail-image {
  aspect-ratio: 9 / 7;
  display: block;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  width: 100%;
}

.detail-title {
  color: var(--dark-green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 820;
  line-height: 1.05;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin: 0.4rem 0 0.85rem;
}

.print-pass-button {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(27, 67, 50, 0.12);
  color: var(--dark-green);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 46px;
}

.print-pass-button:hover,
.print-pass-button:focus {
  background: var(--dark-green);
  border-color: var(--dark-green);
  box-shadow: 0 16px 32px rgba(27, 67, 50, 0.18);
  color: var(--white);
  transform: translateY(-1px);
}

.print-pass-button span {
  display: none;
}

.print-pass-button svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.detail-description {
  font-size: 1.08rem;
}

.plain-text p {
  margin-bottom: 0.8rem;
}

.plain-text p:last-child {
  margin-bottom: 0;
}

.card-text p {
  margin-bottom: 0.55rem;
}

.care-box {
  height: 100%;
  padding: 1rem;
}

.care-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-box h3 {
  color: var(--dark-green);
  font-size: 0.98rem;
  font-weight: 780;
}

.care-box p,
.care-text p {
  color: var(--muted);
  font-size: 0.92rem;
}

.care-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 0.7rem;
  position: relative;
  width: 38px;
}

.water-icon {
  background: #dbeafe;
}

.water-icon::before {
  background: #2563eb;
  border-radius: 55% 55% 55% 0;
  content: "";
  height: 20px;
  transform: rotate(-45deg);
  width: 20px;
}

.leaf-icon {
  background: var(--light-green);
}

.leaf-icon::before {
  background: var(--green);
  border-radius: 80% 0 80% 0;
  content: "";
  height: 24px;
  transform: rotate(-18deg);
  width: 24px;
}

.safety-icon {
  background: #fff3cd;
}

.safety-icon::before {
  border: 3px solid #b7791f;
  border-radius: 50% 50% 45% 45%;
  content: "";
  height: 25px;
  width: 23px;
}

.safety-icon::after {
  background: #b7791f;
  border-radius: 0 0 9px 9px;
  content: "";
  height: 10px;
  position: absolute;
  top: 24px;
  width: 16px;
}

.light-icon {
  background: #fef3c7;
}

.light-icon::before {
  border-radius: 50%;
  content: "";
  height: 24px;
  width: 24px;
}

.light-light::before {
  background: #f59e0b;
  box-shadow:
    0 -12px 0 -7px #f59e0b,
    0 12px 0 -7px #f59e0b,
    12px 0 0 -7px #f59e0b,
    -12px 0 0 -7px #f59e0b,
    8px 8px 0 -7px #f59e0b,
    -8px -8px 0 -7px #f59e0b,
    8px -8px 0 -7px #f59e0b,
    -8px 8px 0 -7px #f59e0b;
}

.light-shade {
  background: #e5e7eb;
}

.light-shade::before {
  background: var(--dark-green);
}

.light-partial::before {
  background: linear-gradient(90deg, #f59e0b 0 50%, var(--dark-green) 50% 100%);
}

.difficulty-icon {
  background: var(--light-green);
}

.difficulty-icon::before,
.difficulty-icon::after {
  background: var(--green);
  border-radius: 2px;
  bottom: 10px;
  content: "";
  position: absolute;
  width: 5px;
}

.difficulty-icon::before {
  height: 12px;
  left: 11px;
}

.difficulty-icon::after {
  height: 20px;
  right: 11px;
}

.soil-icon {
  background: #ede9fe;
}

.soil-icon::before {
  background: #6d4c41;
  border-radius: 0 0 16px 16px;
  bottom: 9px;
  content: "";
  height: 12px;
  position: absolute;
  width: 24px;
}

.soil-icon::after {
  background: var(--green);
  border-radius: 80% 0 80% 0;
  content: "";
  height: 16px;
  position: absolute;
  top: 8px;
  transform: rotate(-20deg);
  width: 16px;
}

.humidity-icon {
  background: #e0f2fe;
}

.humidity-icon::before {
  background: #0ea5e9;
  border-radius: 55% 55% 55% 0;
  content: "";
  height: 19px;
  transform: rotate(-45deg);
  width: 19px;
}

.safe-check {
  background: var(--light-green);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem 0.9rem 0.72rem 2.5rem;
  width: 100%;
}

.full-article,
.faq-section,
.related-section {
  margin-top: 4rem;
}

.print-pass-section {
  display: none;
}

.print-card {
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.28);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
  max-width: 560px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.print-card-label {
  color: var(--green);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.print-card h2 {
  color: var(--dark-green);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 850;
  line-height: 1.05;
  margin: 0;
}

.print-scientific {
  color: var(--muted);
  font-style: italic;
  margin: 0.25rem 0 0;
}

.print-category {
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dark-green);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 750;
  margin: 0.85rem 0 1rem;
  padding: 0.28rem 0.65rem;
}

.print-care-list {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
}

.print-care-list h3 {
  color: var(--dark-green);
  font-size: 0.96rem;
  font-weight: 820;
  margin-bottom: 0.25rem;
}

.print-care-list p {
  color: var(--text);
  margin: 0;
}

.full-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.full-article .section-label {
  color: var(--dark-green);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-transform: none;
}

.full-article p {
  color: #314038;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

.faq-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.faq-section .section-title {
  margin-bottom: 1.4rem;
}

.faq-accordion {
  display: grid;
  gap: 0.75rem;
}

.faq-accordion .accordion-item {
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: #fff;
  color: var(--dark-green);
  font-weight: 780;
  line-height: 1.35;
  padding: 1rem 1.15rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #eef7f0;
  box-shadow: inset 0 -1px 0 rgba(45, 106, 79, 0.18);
  color: var(--dark-green);
}

.faq-accordion .accordion-button:focus {
  border-color: rgba(45, 106, 79, 0.32);
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.14);
}

.faq-accordion .accordion-button::after {
  filter: hue-rotate(78deg) saturate(0.85);
}

.faq-accordion .accordion-body {
  color: #314038;
  font-size: 1.02rem;
  line-height: 1.75;
  padding: 1rem 1.15rem 1.15rem;
}

.faq-accordion .accordion-body p {
  margin-bottom: 0.85rem;
}

.faq-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.related-card .card-title {
  font-size: 1.05rem;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--dark-green);
  text-decoration: underline;
}

.back-link {
  color: var(--green);
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--dark-green);
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 160px);
  padding: 4rem 1rem;
  place-items: center;
}

.auth-card {
  max-width: 440px;
  padding: 2rem;
  width: 100%;
}

.auth-card h1,
.form-shell h1 {
  color: var(--dark-green);
  font-size: 2rem;
  font-weight: 780;
  margin-bottom: 1.5rem;
}

.auth-note {
  margin: 1rem 0 0;
  text-align: center;
}

.auth-divider {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  gap: 0.75rem;
  margin: 1.15rem 0;
}

.auth-divider::before,
.auth-divider::after {
  background: var(--border);
  content: "";
  flex: 1;
  height: 1px;
}

.google-signin-shell {
  display: grid;
  gap: 0.6rem;
}

.google-render-button {
  min-height: 44px;
  width: 100%;
}

.google-signin-shell.has-google-rendered .google-fallback-button {
  display: none;
}

.google-fallback-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: #25332b;
  display: inline-flex;
  font-weight: 750;
  gap: 0.65rem;
  justify-content: center;
  min-height: 46px;
}

.google-fallback-button:hover,
.google-fallback-button:focus-visible {
  background: #f8fbf8;
  border-color: rgba(45, 106, 79, 0.32);
  color: var(--dark-green);
}

.google-fallback-button svg {
  height: 20px;
  width: 20px;
}

.google-auth-message {
  color: #a33a3a;
  font-size: 0.92rem;
  margin: 0;
  text-align: center;
}

.admin-table {
  overflow: hidden;
}

.admin-table th {
  color: var(--dark-green);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-thumb {
  border-radius: 10px;
  height: 64px;
  object-fit: cover;
  width: 82px;
}

.form-shell {
  padding: 1.5rem;
}

.settings-panel {
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.settings-panel h2 {
  color: var(--dark-green);
  font-size: 1.15rem;
  font-weight: 820;
  margin-bottom: 1rem;
}

.preview-card {
  padding: 1rem;
}

.preview-card img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: cover;
  width: 100%;
}

.faq-admin-panel {
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.faq-admin-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.faq-admin-head p {
  color: var(--muted);
  margin: 0;
}

.faq-admin-list {
  display: grid;
  gap: 0.85rem;
}

.faq-admin-item {
  background: var(--white);
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 10px;
  padding: 1rem;
}

.faq-remove-button {
  margin-top: 0.25rem;
  padding-left: 0;
  padding-right: 0;
}

.empty-state {
  padding: 3rem;
  text-align: center;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 160px);
  padding: 5rem 1rem;
  place-items: center;
}

.footer {
  background: var(--dark-green);
  color: rgba(255, 255, 255, 0.86);
  padding: 1.5rem 0;
}

.footer-grid {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
}

.footer-grid p {
  margin: 0.25rem 0 0;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: block;
  height: auto;
  max-height: 46px;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 360px;
}

.footer-grid > span {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.hidden-counters {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.hidden-counters img {
  height: 1px;
  max-width: none;
  width: 1px;
}

.settings-logo-preview {
  align-items: center;
  background: #eef7f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem;
}

.settings-logo-preview img {
  background: var(--white);
  border-radius: 8px;
  display: block;
  max-height: 64px;
  max-width: 180px;
  object-fit: contain;
  padding: 0.4rem;
}

.settings-logo-preview span {
  color: var(--muted);
  font-weight: 700;
}

.content-page {
  max-width: 920px;
}

.content-page h1 {
  color: var(--dark-green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 820;
  margin-bottom: 1.5rem;
}

.rich-content {
  color: #314038;
  font-size: 1.08rem;
  line-height: 1.8;
}

.rich-content h2,
.rich-content h3 {
  color: var(--dark-green);
  font-weight: 780;
  margin-top: 1.6rem;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
  margin-bottom: 1.2rem;
}

.rich-content p:last-child,
.rich-content ul:last-child,
.rich-content ol:last-child,
.rich-content blockquote:last-child {
  margin-bottom: 0;
}

.rich-content blockquote {
  border-left: 4px solid var(--green);
  color: var(--muted);
  padding-left: 1rem;
}

.rich-content figure,
.rich-editor-area figure {
  margin: 1.6rem 0;
}

.rich-content figure img,
.rich-editor-area figure img {
  border-radius: 12px;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.rich-content figcaption,
.rich-editor-area figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

.rich-editor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.rich-editor-toolbar {
  background: #f3f7f4;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.55rem;
}

.editor-button {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--dark-green);
  font-weight: 800;
  min-width: 38px;
  padding: 0.35rem 0.55rem;
}

.editor-button:hover {
  border-color: var(--green);
}

.rich-editor-area {
  min-height: 300px;
  outline: none;
  padding: 1rem;
}

.rich-editor-area:focus {
  box-shadow: inset 0 0 0 0.2rem rgba(45, 106, 79, 0.14);
}

.media-modal {
  align-items: center;
  background: rgba(23, 33, 26, 0.48);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 2000;
}

.media-modal.is-visible {
  display: flex;
}

.media-modal-panel {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  max-height: min(840px, calc(100vh - 2rem));
  max-width: 1040px;
  overflow: auto;
  padding: 1rem;
  width: 100%;
}

.media-modal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.media-dropzone {
  align-items: center;
  background: #f3f7f4;
  border: 2px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.35rem;
  text-align: center;
}

.media-dropzone.is-dragging,
.media-dropzone:hover,
.media-dropzone:focus {
  border-color: var(--green);
  outline: none;
}

.media-dropzone span,
.media-status,
.media-empty {
  color: var(--muted);
}

.media-input {
  display: none;
}

.media-status {
  min-height: 1.5rem;
  padding: 0.75rem 0 0.5rem;
}

.plant-status-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}

.plant-status-badge__dot {
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 0.5rem;
  width: 0.5rem;
}

.plant-status-badge--published {
  background: #eaf7ef;
  border-color: #bfdcc8;
  color: #1f6a44;
}

.plant-status-badge--published .plant-status-badge__dot {
  background: #238b57;
  box-shadow: 0 0 0 0.18rem rgba(35, 139, 87, 0.14);
}

.plant-status-badge--draft {
  background: #fff6e6;
  border-color: #efd39d;
  color: #9b6502;
}

.plant-status-badge--draft .plant-status-badge__dot {
  background: #d78b00;
  box-shadow: 0 0 0 0.18rem rgba(215, 139, 0, 0.16);
}

.media-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.media-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.media-item:hover,
.media-item:focus {
  border-color: var(--green);
  outline: none;
}

.media-item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.media-item span {
  display: block;
  font-size: 0.82rem;
  overflow: hidden;
  padding: 0.55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cookie-banner {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  bottom: 1rem;
  box-shadow: 0 10px 28px rgba(27, 67, 50, 0.12);
  display: none;
  gap: 0.75rem;
  left: 50%;
  max-width: 560px;
  padding: 0.72rem 0.85rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 1050;
}

.cookie-banner strong {
  color: var(--dark-green);
  display: block;
  font-size: 0.92rem;
  line-height: 1.1;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0.12rem 0 0;
}

.cookie-banner a {
  font-weight: 750;
  white-space: nowrap;
}

.cookie-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.cookie-actions .btn {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 750;
  min-width: 84px;
  padding: 0.32rem 0.75rem;
}

.cookie-banner.is-visible {
  display: flex;
}

@media print {
  @page {
    margin: 1cm;
    size: auto;
  }

  html,
  body {
    background: #fff !important;
    color: #111 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav,
  footer,
  .navbar,
  .footer,
  .breadcrumbs,
  .back-link,
  .btn,
  .alert,
  .cookie-banner,
  .detail-actions,
  .detail-media,
  .care-grid,
  .full-article,
  .faq-section,
  .related-section,
  .plant-category,
  .detail-title,
  .detail-subtitle,
  .detail-description {
    display: none !important;
  }

  body * {
    box-shadow: none !important;
    text-shadow: none !important;
    visibility: hidden !important;
  }

  .print-card,
  .print-card * {
    visibility: visible !important;
  }

  main,
  article,
  .plant-profile,
  .plant-hero-row,
  .print-pass-section {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .print-pass-section {
    left: 50% !important;
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 10cm !important;
  }

  .print-card {
    background: #fff !important;
    border: 1.5pt solid #1b4332 !important;
    border-radius: 14pt !important;
    box-shadow: none !important;
    color: #111 !important;
    display: block !important;
    min-height: 15cm !important;
    max-width: none !important;
    padding: 0.65cm !important;
    page-break-inside: avoid !important;
    text-align: center !important;
    width: 10cm !important;
  }

  .print-card-label {
    color: #1b4332 !important;
    display: block !important;
    font-size: 8.5pt !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.25cm !important;
    text-transform: uppercase !important;
  }

  .print-card h2 {
    color: #111 !important;
    font-size: 22pt !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    margin: 0 !important;
  }

  .print-scientific {
    color: #333 !important;
    font-size: 11pt !important;
    font-style: italic !important;
    margin: 0.16cm 0 0 !important;
  }

  .print-category {
    background: #fff !important;
    border: 1pt solid #1b4332 !important;
    border-radius: 999px !important;
    color: #111 !important;
    display: inline-block !important;
    font-size: 9.5pt !important;
    font-weight: 700 !important;
    margin: 0.34cm 0 0.42cm !important;
    padding: 0.08cm 0.28cm !important;
  }

  .print-care-list {
    border-top: 1pt solid #1b4332 !important;
    display: grid !important;
    gap: 0.35cm !important;
    padding-top: 0.45cm !important;
    text-align: left !important;
  }

  .print-care-list h3 {
    color: #1b4332 !important;
    font-size: 10.5pt !important;
    font-weight: 800 !important;
    margin: 0 0 0.08cm !important;
  }

  .print-care-list p {
    color: #111 !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 4rem 0 3.25rem;
  }

  .hero-section .btn {
    margin-bottom: 0.75rem;
  }

  .home-search-section {
    padding-top: 1rem;
  }

  .home-search-box {
    margin-top: 0;
  }

  .calculator-grid,
  .calculator-layout,
  .auth-page-wide,
  .light-meter-layout,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .light-meter-panel {
    padding-bottom: 1rem;
  }

  .plant-search-results {
    max-height: min(46vh, 360px);
  }

  .selected-plant-chip {
    align-items: stretch;
    flex-direction: column;
  }

  .selected-plant-chip .btn {
    width: 100%;
  }

  .phone-measure-card {
    grid-template-columns: 1fr;
  }

  .phone-measure-desktop-copy,
  .phone-qr {
    display: none;
  }

  .phone-measure-mobile-copy {
    display: block;
  }

  .camera-frame,
  .camera-placeholder {
    min-height: min(64vh, 500px);
  }

  .local-camera-frame {
    display: block;
  }

  .local-camera-actions {
    display: flex;
  }

  .camera-frame video {
    aspect-ratio: 3 / 4;
    min-height: min(64vh, 500px);
  }

  .light-meter-actions {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 14px;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    box-shadow: 0 14px 34px rgba(27, 67, 50, 0.18);
    padding: 0.65rem;
    position: sticky;
    z-index: 30;
  }

  .light-meter-actions .btn {
    flex: 1 1 100%;
    min-height: 54px;
  }

  .light-meter-camera-active .light-meter-actions {
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .cookie-banner {
    align-items: flex-start;
    bottom: 0.75rem;
    gap: 0.6rem;
    max-width: calc(100% - 1rem);
    padding: 0.6rem 0.65rem;
    width: calc(100% - 1rem);
  }

  .cookie-banner p {
    font-size: 0.78rem;
  }

  .cookie-actions {
    width: auto;
  }

  .cookie-actions .btn {
    align-self: center;
    flex: 0 0 auto;
    min-width: 62px;
    padding: 0.3rem 0.65rem;
  }

  .admin-table {
    border-radius: 0;
  }

  .care-grid {
    grid-template-columns: 1fr;
  }

  .detail-image {
    min-height: 0;
  }

  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-grid > span {
    text-align: left;
  }
}
