:root {
  --bg: #f2f5f3;
  --surface: #ffffff;
  --surface-soft: #f7f9f8;
  --ink: #17211b;
  --muted: #6b766f;
  --line: #dde5e0;
  --line-strong: #c6d2cb;
  --green: #17533e;
  --green-deep: #0e3a2b;
  --green-soft: #e5efe9;
  --moss: #6f947b;
  --steel: #496f7d;
  --steel-soft: #e8eff2;
  --amber: #b67a1e;
  --amber-soft: #f7ecd8;
  --danger: #b04a3a;
  --danger-soft: #f8e7e3;
  --shadow: 0 16px 40px rgba(23, 45, 34, 0.1);
  --shadow-sm: 0 6px 16px rgba(23, 45, 34, 0.06);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "HarmonyOS Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(23, 83, 62, 0.3);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(1380px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 324px;
  gap: 18px;
  padding: 18px;
}

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.icon-lg {
  width: 23px;
  height: 23px;
}

.side-nav {
  position: sticky;
  top: 18px;
  align-self: start;
  min-height: calc(100vh - 36px);
  padding: 18px 14px;
  background: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--green-deep);
}

.brand-mark .icon {
  width: 20px;
  height: 20px;
}

.side-links {
  display: grid;
  gap: 4px;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  text-align: left;
  font-weight: 700;
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 0 2px 2px 0;
  background: var(--amber);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-item.active::before {
  transform: translateY(-50%) scaleY(1);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-item.active {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.side-promo {
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  gap: 6px;
}

.promo-label {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--amber);
  color: #281c04;
  font-size: 11px;
  font-weight: 800;
}

.side-promo strong {
  font-size: 16px;
}

.side-promo span:not(.promo-label) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.text-button {
  padding: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  text-align: left;
}

.text-button:hover {
  color: var(--green-deep);
}

.side-promo .text-button {
  color: #fff;
  justify-self: start;
}

.side-help {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.side-help:hover {
  background: rgba(255, 255, 255, 0.14);
}

.side-help .nav-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.side-help strong,
.side-help span {
  display: block;
}

.side-help strong {
  font-size: 13px;
}

.side-help span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.workspace {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  min-height: 70px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 45, 34, 0.06);
}

.topbar-title {
  min-width: 0;
}

.topbar-title h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

#locationLabel {
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

#locationLabel .icon {
  width: 13px;
  height: 13px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 3px var(--green-soft);
}

.view {
  padding-top: 18px;
}

.home-stack,
.services-stack,
.booking-stack,
.orders-stack,
.profile-stack {
  min-width: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.home-stack > *,
.services-stack > *,
.booking-stack > *,
.orders-stack > *,
.profile-stack > * {
  min-width: 0;
  max-width: 100%;
}

.welcome-band {
  min-height: 150px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(10, 43, 31, 0.96) 0%, rgba(12, 48, 35, 0.84) 52%, rgba(14, 58, 43, 0.38) 100%),
    url("assets/overview.jpg") center 36% / cover no-repeat;
  color: #fff;
  box-shadow: 0 18px 42px rgba(16, 48, 35, 0.18);
  position: relative;
  overflow: hidden;
}

.welcome-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 46%), linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.035) 60%, rgba(255, 255, 255, 0.08) 100%);
}

.welcome-band > * {
  position: relative;
  z-index: 1;
}

.welcome-band p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.welcome-band h2 {
  margin: 6px 0 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.welcome-band .primary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.welcome-band .primary-button:hover {
  background: #fff;
}

.welcome-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.welcome-auth-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.welcome-auth-button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.primary-button,
.secondary-button,
.mini-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 83, 62, 0.2);
}

.primary-button:hover {
  background: var(--green-deep);
}

.secondary-button {
  background: var(--surface);
  color: var(--green-deep);
  border: 1px solid var(--line-strong);
}

.secondary-button:hover {
  border-color: var(--green);
  background: var(--surface-soft);
}

.ghost-button {
  background: transparent;
  color: var(--green);
  padding: 0 8px;
}

.danger-button {
  background: var(--danger-soft);
  color: var(--danger);
}

.mini-button {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.mini-button:hover {
  background: var(--green-deep);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.section-head .text-button {
  flex: 0 0 auto;
}

.category-grid {
  width: auto;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-item {
  min-width: 0;
  min-height: 92px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 26px rgba(23, 45, 34, 0.1);
  transform: translateY(-2px);
}

.category-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.category-item:hover::before {
  opacity: 1;
}

.category-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
}

.category-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.category-item span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.home-entry-card {
  min-width: 0;
  min-height: 64px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.home-entry-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 26px rgba(23, 45, 34, 0.09);
  transform: translateY(-2px);
}

.home-entry-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
}

.home-entry-card strong,
.home-entry-card > span:last-child span {
  display: block;
}

.home-entry-card strong {
  font-size: 13px;
}

.home-entry-card > span:last-child span {
  color: var(--muted);
  font-size: 11px;
}

.home-task-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-task-section {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(14, 58, 43, 0.97), rgba(14, 58, 43, 0.82)),
    url("assets/overview.jpg") center 30% / cover no-repeat;
  box-shadow: 0 16px 38px rgba(16, 48, 35, 0.14);
}

.home-task-section .section-head h3 {
  color: #fff;
}

.home-task-section .section-head .text-button {
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--amber);
  color: #281c04;
  font-size: 12px;
}

.home-task-card {
  min-width: 0;
  min-height: 92px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.home-task-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 26px rgba(23, 45, 34, 0.09);
  transform: translateY(-2px);
}

.home-task-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-task-card-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.home-task-card > span:not(.home-task-card-head):not(.home-task-tags) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.home-task-card .tag {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.media-band {
  position: relative;
  min-height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 45, 34, 0.08);
}

.media-band img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.media-band-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 36, 27, 0.12), rgba(11, 36, 27, 0.9));
}

.media-band-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.media-band-copy p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.service-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 45, 34, 0.06);
}

.service-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.16s ease;
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row:hover {
  background: var(--surface-soft);
}

.service-row:hover .service-image {
  border-color: var(--line-strong);
}

.service-image {
  width: 132px;
  height: 104px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: filter 0.18s ease, border-color 0.18s ease;
}

.service-row:hover .service-image {
  filter: saturate(0.98) contrast(1.03);
}

.service-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-copy h4 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--amber);
  font-weight: 800;
}

.rating .icon {
  width: 13px;
  height: 13px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-line strong {
  color: var(--green);
  font-size: 19px;
}

.price-line span {
  color: var(--muted);
  font-size: 11px;
}

.service-action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.service-action .mini-button {
  flex: 0 0 auto;
}

.gardener-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gardener-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 45, 34, 0.05);
}

.gardener-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gardener-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.gardener-card h4 {
  margin: 0;
  font-size: 14px;
}

.gardener-card span {
  color: var(--muted);
  font-size: 11px;
}

.gardener-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.gardener-avatar-photo {
  object-fit: cover;
}

.gardeners-stack {
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.gardeners-stack > * {
  min-width: 0;
  max-width: 100%;
}

.gardener-intro {
  min-height: 132px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(10, 43, 31, 0.96), rgba(14, 58, 43, 0.78)),
    url("assets/overview.jpg") center 40% / cover no-repeat;
  box-shadow: 0 16px 38px rgba(16, 48, 35, 0.16);
}

.gardener-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.gardener-intro h3 {
  margin: 4px 0 6px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.gardener-intro span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.gardener-intro .primary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
}

.gardener-section-note {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.gardener-section-note strong {
  color: var(--green-deep);
  font-size: 15px;
}

.gardener-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gardener-profile-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(23, 45, 34, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gardener-profile-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(23, 45, 34, 0.09);
  transform: translateY(-2px);
}

.gardener-profile-card.is-busy {
  opacity: 0.72;
}

.gardener-profile-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gardener-profile-photo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.gardener-profile-head h4 {
  margin: 0;
  font-size: 15px;
}

.gardener-profile-head > div > span:not(.gardener-status) {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.gardener-status {
  width: fit-content;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.gardener-status.available {
  background: var(--green-soft);
  color: var(--green-deep);
}

.gardener-status.busy {
  background: var(--steel-soft);
  color: var(--steel);
}

.gardener-bio {
  min-height: 36px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.gardener-profile-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.gardener-profile-card .mini-button {
  width: 100%;
  margin-top: auto;
}

.gardener-profile-card .mini-button:disabled {
  background: #c9d3cd;
  cursor: not-allowed;
  box-shadow: none;
}

.gardener-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.gardener-profile-actions .ghost-button,
.gardener-profile-actions .mini-button {
  width: 100%;
  min-height: 34px;
}

.gardener-detail-stack,
.tasks-stack,
.articles-stack {
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.gardener-detail-stack > *,
.tasks-stack > *,
.articles-stack > * {
  min-width: 0;
  max-width: 100%;
}

.detail-back-row {
  display: flex;
}

.gardener-detail-hero {
  min-height: 132px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(10, 43, 31, 0.96), rgba(14, 58, 43, 0.78)),
    url("assets/overview.jpg") center 40% / cover no-repeat;
  box-shadow: 0 16px 38px rgba(16, 48, 35, 0.16);
}

.gardener-detail-photo {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.gardener-detail-title {
  min-width: 0;
}

.gardener-detail-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.gardener-detail-title h3 {
  margin: 4px 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.gardener-detail-title .tag {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gardener-detail-hero .primary-button {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
}

.gardener-detail-hero .primary-button:disabled {
  background: rgba(255, 255, 255, 0.48);
  cursor: not-allowed;
}

.gardener-work-band {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 45, 34, 0.08);
}

.gardener-work-band img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gardener-work-band > div {
  position: absolute;
  inset: auto 0 0;
  padding: 15px 17px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 36, 27, 0.12), rgba(11, 36, 27, 0.9));
}

.gardener-work-band span,
.gardener-work-band strong {
  display: block;
}

.gardener-work-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.gardener-work-band strong {
  margin-top: 2px;
  font-size: 16px;
}

.gardener-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gardener-detail-grid .booking-section:first-child {
  grid-column: 1 / -1;
}

.detail-intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.gardener-work-photo {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gardener-work-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.gardener-work-photo span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(10, 43, 31, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.gardener-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.gardener-detail-stats > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.gardener-detail-stats strong,
.gardener-detail-stats span {
  display: block;
}

.gardener-detail-stats strong {
  color: var(--green-deep);
  font-size: 18px;
}

.gardener-detail-stats span {
  color: var(--muted);
  font-size: 11px;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-item {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-head strong {
  font-size: 14px;
}

.review-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.task-intro,
.article-intro {
  min-height: 118px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(10, 43, 31, 0.96), rgba(14, 58, 43, 0.78)),
    url("assets/overview.jpg") center 40% / cover no-repeat;
}

.task-intro p,
.article-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.task-intro h3,
.article-intro h3 {
  margin: 4px 0 6px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
}

.task-intro span,
.article-intro span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.task-intro .primary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
}

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

.task-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 8px 22px rgba(23, 45, 34, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.task-card-image {
  width: 100%;
  height: 138px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.task-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(23, 45, 34, 0.09);
  transform: translateY(-2px);
}

.task-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.task-card h4 {
  margin: 0;
  font-size: 15px;
}

.task-card > p {
  min-height: 38px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.task-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.task-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.task-card-bottom > strong {
  color: var(--green);
  font-size: 18px;
}

.task-card-bottom > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.task-card-bottom .ghost-button,
.task-card-bottom .mini-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.task-card-bottom .mini-button:disabled {
  background: var(--steel-soft);
  color: var(--steel);
  cursor: not-allowed;
}

.task-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.task-detail-image {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.task-detail-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.task-detail-title {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

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

.featured-article-card {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 45, 34, 0.08);
}

.featured-article-card > img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.featured-article-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 36, 27, 0.12), rgba(11, 36, 27, 0.92));
}

.featured-article-copy .article-card-head {
  color: rgba(255, 255, 255, 0.78);
}

.featured-article-copy .tag {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.featured-article-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.featured-article-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(23, 45, 34, 0.06);
}

.article-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease;
}

.article-row:last-child {
  border-bottom: 0;
}

.article-row:hover {
  background: var(--surface-soft);
}

.article-row > img {
  width: 150px;
  height: 104px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.article-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.article-row-body h4 {
  margin: 0;
  font-size: 15px;
}

.article-row-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.article-side-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.hot-article-list {
  display: grid;
  gap: 0;
}

.hot-article-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.hot-article-row:last-child {
  border-bottom: 0;
}

.hot-article-row span {
  color: var(--amber);
  font-weight: 800;
  font-size: 13px;
}

.hot-article-row strong {
  font-size: 12px;
  line-height: 1.5;
}

.article-side-filters {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
}

.article-detail-page {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.article-detail-main {
  min-width: 0;
}

.article-detail-title {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0;
}

.article-detail-lead {
  margin: 0;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

.article-detail-cover {
  display: block;
  width: min(560px, 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 14px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.article-detail-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.article-detail-body h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.article-detail-body img,
.article-detail-body figure img {
  max-width: 100%;
  border-radius: var(--radius);
}

.article-detail-body figure {
  margin: 14px auto;
  text-align: center;
}

.article-detail-body figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.article-publish-page {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.article-publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.article-publish-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.wp-content-editor {
  width: 100%;
  min-height: 320px;
  padding: 14px;
  border: 0;
  line-height: 1.8;
  outline: none;
}

.wp-content-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.wp-editor-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.wp-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.wp-editor-toolbar button,
.wp-editor-upload {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.wp-editor-toolbar button:hover,
.wp-editor-upload:hover {
  border-color: var(--line-strong);
  color: var(--green-deep);
}

.wp-editor-figure {
  margin: 14px auto;
  text-align: center;
}

.wp-editor-figure img {
  max-width: 100%;
  border-radius: var(--radius);
}

.wp-editor-figure figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.wp-excerpt-editor {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  resize: vertical;
}

.article-publish-side {
  display: grid;
  gap: 12px;
}

.publish-submit-button {
  width: 100%;
  margin-top: 10px;
}

.post-image-preview {
  width: 100%;
  height: 140px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.post-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.post-upload-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-upload-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.post-upload-item button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  line-height: 1;
}

.article-inline-images {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.article-inline-image {
  width: min(560px, 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.article-intro .primary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
}

.admin-stack {
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.admin-stack > * {
  min-width: 0;
  max-width: 100%;
}

.admin-intro {
  min-height: 118px;
  padding: 20px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(10, 43, 31, 0.96), rgba(14, 58, 43, 0.78)),
    url("assets/overview.jpg") center 40% / cover no-repeat;
}

.admin-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.admin-intro h3 {
  margin: 4px 0 6px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
}

.admin-intro span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-row img {
  width: 72px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.admin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.admin-row-copy strong,
.admin-row-copy span {
  display: block;
}

.admin-row-copy strong {
  font-size: 14px;
}

.admin-row-copy span {
  color: var(--muted);
  font-size: 12px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-row-actions .mini-button,
.admin-row-actions .danger-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.article-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(23, 45, 34, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.article-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(23, 45, 34, 0.09);
  transform: translateY(-2px);
}

.article-card > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.article-card-body {
  min-width: 0;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.article-card-body h4 {
  margin: 0;
  font-size: 15px;
}

.article-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.article-card-body .text-button {
  margin-top: auto;
}

.article-detail-image {
  margin: -4px -4px 14px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-detail-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.comment-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.comment-section h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.comment-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.comment-item strong {
  font-size: 13px;
}

.comment-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.comment-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.comment-input-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.comment-input-row textarea {
  width: 100%;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  resize: vertical;
}

.comment-input-row .primary-button {
  width: 100%;
}

.auth-stack {
  min-width: 0;
  display: grid;
  justify-items: center;
}

.auth-card {
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(23, 45, 34, 0.08);
  display: grid;
  gap: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-brand {
  text-align: center;
}

.auth-brand .brand-mark {
  margin: 0 auto 10px;
}

.auth-brand h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.auth-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-switch {
  justify-self: center;
}

.auth-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-role {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.auth-role input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-role.selected {
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 83, 62, 0.22);
}

.auth-role-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
}

.auth-role.selected .auth-role-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.auth-role-copy strong,
.auth-role-copy small {
  display: block;
}

.auth-role-copy strong {
  color: var(--green-deep);
  font-size: 13px;
}

.auth-role-copy small {
  margin-top: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.auth-role.selected .auth-role-copy strong {
  color: #fff;
}

.auth-role.selected .auth-role-copy small {
  color: rgba(255, 255, 255, 0.82);
}

.wechat-login-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 8px;
  padding: 12px;
  text-align: left;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.wechat-login-box img {
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wechat-login-box strong,
.wechat-login-box span {
  display: block;
}

.wechat-login-box > div {
  flex: 0 0 auto;
  min-width: 0;
  text-align: left;
}

.wechat-login-box strong {
  font-size: 14px;
}

.wechat-login-box span {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 11px;
}

.wechat-login-box .mini-button {
  margin: 0;
}

.upcoming-order-band {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.upcoming-order-band .service-image {
  width: 96px;
  height: 76px;
}

.upcoming-order-copy {
  min-width: 0;
  flex: 1;
}

.upcoming-order-copy h4 {
  margin: 0;
  font-size: 15px;
}

.upcoming-order-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.tasks-stack .filter-row,
.gardeners-stack .filter-row {
  flex-wrap: wrap;
  overflow-x: visible;
  padding-bottom: 0;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--green-deep);
}

.filter-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field .icon {
  position: absolute;
  left: 13px;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-field input:focus {
  border-color: var(--green);
}

.search-field input::placeholder {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.step-item {
  position: relative;
  min-width: 0;
  padding: 9px 8px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.step-item.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
}

.step-item span {
  display: block;
  font-size: 11px;
}

.step-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.booking-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.booking-side {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-self: start;
}

.booking-side .booking-summary {
  position: static;
}

.booking-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.booking-section h3 {
  margin: 0 0 11px;
  font-size: 16px;
  letter-spacing: 0;
}

.option-grid {
  display: grid;
  gap: 7px;
}

.option-row,
.address-row,
.gardener-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: left;
}

.option-row:hover,
.address-row:hover,
.gardener-row:hover {
  border-color: var(--line-strong);
}

.option-row.selected,
.address-row.selected,
.gardener-row.selected {
  border-color: var(--green);
  background: var(--green-soft);
}

.option-row strong,
.address-row strong,
.gardener-row strong {
  display: block;
  font-size: 13px;
}

.option-row span,
.address-row span,
.gardener-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.address-main {
  min-width: 0;
  flex: 1;
}

.address-main strong,
.address-main span {
  display: block;
}

.address-main strong {
  font-size: 13px;
}

.address-main span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.address-row .ghost-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 7px;
  font-size: 12px;
}

.option-radio {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
}

.selected .option-radio {
  border: 5px solid var(--green);
}

.option-price {
  margin-left: auto;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.date-option,
.time-option {
  min-height: 50px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.date-option:hover,
.time-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.date-option.active,
.time-option.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
}

.date-option strong,
.time-option strong {
  display: block;
  font-size: 13px;
}

.date-option span,
.time-option span {
  font-size: 11px;
}

.address-list,
.gardener-list {
  display: grid;
  gap: 7px;
}

.address-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.gardener-avatar-lg {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.gardener-meta {
  margin-left: auto;
  text-align: right;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.textarea-field {
  width: 100%;
  min-height: 84px;
  padding: 11px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.textarea-field:focus {
  border-color: var(--green);
}

.booking-summary {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 248, 0.98)),
    var(--surface);
  display: grid;
  gap: 11px;
  box-shadow: 0 14px 34px rgba(23, 45, 34, 0.08);
}

.booking-summary h3 {
  margin: 0;
  font-size: 16px;
}

.summary-service {
  display: flex;
  gap: 10px;
  align-items: center;
}

.summary-service img {
  width: 64px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.summary-service strong,
.summary-service span {
  display: block;
}

.summary-service span {
  color: var(--muted);
  font-size: 11px;
}

.summary-lines {
  display: grid;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.summary-line strong {
  color: var(--ink);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary-total strong {
  color: var(--green);
  font-size: 23px;
}

.booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booking-actions .primary-button {
  flex: 1;
}

.orders-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.order-tab {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.order-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.order-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(23, 45, 34, 0.07);
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-id {
  color: var(--muted);
  font-size: 11px;
}

.status-chip {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
}

.status-chip.done {
  background: var(--steel-soft);
  color: var(--steel);
}

.status-chip.cancelled {
  background: var(--danger-soft);
  color: var(--danger);
}

.order-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  margin-top: 11px;
}

.order-body img {
  width: 96px;
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.order-copy h4 {
  margin: 0;
  font-size: 15px;
}

.order-copy p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.order-copy strong {
  color: var(--green);
  font-size: 15px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.order-actions .secondary-button,
.order-actions .ghost-button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--green-soft);
}

.profile-card h3 {
  margin: 0;
  font-size: 17px;
}

.profile-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.profile-stat {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-stat strong,
.profile-stat span {
  display: block;
}

.profile-stat strong {
  font-size: 19px;
  color: var(--green-deep);
}

.profile-stat span {
  color: var(--muted);
  font-size: 11px;
}

.profile-stat-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.profile-stat-button:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 20px rgba(23, 45, 34, 0.07);
}

.menu-list {
  display: grid;
  gap: 7px;
}

.menu-row {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.menu-row:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.menu-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.menu-row strong {
  flex: 1;
  font-size: 14px;
}

.menu-row > span:not(.menu-icon) {
  color: var(--muted);
  font-size: 11px;
}

.menu-row .icon {
  color: var(--muted);
}

.preference-list {
  display: grid;
  gap: 7px;
}

.preference-row {
  min-height: 56px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.preference-row strong,
.preference-row span {
  display: block;
}

.preference-row strong {
  font-size: 14px;
}

.preference-row span {
  color: var(--muted);
  font-size: 11px;
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9d3cd;
  transition: background 0.18s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.switch input:checked + .switch-track {
  background: var(--green);
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.right-rail {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.rail-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.rail-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rail-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
}

.auth-rail-card {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(14, 58, 43, 0.97), rgba(14, 58, 43, 0.82)),
    url("assets/overview.jpg") center 30% / cover no-repeat;
}

.auth-rail-card .rail-icon {
  background: var(--amber);
  color: #281c04;
}

.auth-rail-title {
  display: block;
  margin-top: 8px;
  font-size: 17px;
}

.auth-rail-card p {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.auth-rail-card .mini-button {
  background: var(--amber);
  color: #281c04;
}

.auth-rail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-rail-actions .auth-logout-button {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.auth-rail-actions .auth-logout-button[hidden] {
  display: none;
}

.auth-rail-actions .quick-rail-button {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
}

.weather-card .rail-icon {
  background: var(--steel-soft);
  color: var(--steel);
}

.weather-main {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

.weather-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.next-rail-card p {
  margin: 11px 0;
  color: var(--muted);
  font-size: 12px;
}

.coupon-rail-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(115deg, rgba(14, 58, 43, 0.96), rgba(14, 58, 43, 0.82)),
    url("assets/overview.jpg") center 30% / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: hidden;
}

.coupon-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  border-right: 1px dashed rgba(255, 255, 255, 0.32);
}

.coupon-amount strong {
  font-size: 30px;
}

.coupon-amount span {
  font-size: 12px;
}

.coupon-copy strong,
.coupon-copy span {
  display: block;
}

.coupon-copy strong {
  font-size: 14px;
}

.coupon-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.coupon-rail-card .mini-button {
  background: var(--amber);
  color: #281c04;
}

.mobile-nav {
  display: none;
}

.mobile-only {
  display: none !important;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(9, 27, 20, 0.5);
}

.modal-root.open {
  display: flex;
}

.modal-root.open .modal-card {
  animation: modal-in 0.22s ease both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-card {
  width: min(520px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.modal-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
}

.modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.modal-actions .primary-button,
.modal-actions .secondary-button {
  flex: 1;
}

.success-card {
  text-align: center;
  padding: 24px 12px;
}

.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.success-icon .icon {
  width: 34px;
  height: 34px;
}

.success-card h2 {
  margin: 0;
  font-size: 21px;
}

.success-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 15px;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  padding: 24px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .right-rail {
    display: none;
  }

  .gardener-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gardener-grid,
  .task-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .article-publish-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .gardener-detail-grid {
    grid-template-columns: 1fr;
  }

  .gardener-detail-grid .booking-section:first-child {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 14px;
  }

  .app-shell {
    display: block;
    width: 100%;
    padding: 0 0 84px;
  }

  .side-nav,
  .right-rail {
    display: none;
  }

  .topbar {
    top: 0;
    min-height: 60px;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
  }

  .topbar-title h1 {
    font-size: 19px;
  }

  .topbar-actions .icon-button:nth-child(2) {
    display: none;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .view {
    padding: 14px 14px 0;
  }

  .welcome-band {
    min-height: 128px;
    padding: 17px;
    align-items: center;
  }

  .welcome-band h2 {
    font-size: 21px;
  }

  .welcome-band .primary-button {
    min-height: 38px;
    padding: 0 13px;
  }

  .category-grid {
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    grid-template-columns: none;
    justify-content: start;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-item {
    min-width: 104px;
    width: 104px;
    min-height: 90px;
    padding: 10px;
  }

  .media-band,
  .media-band img {
    min-height: 176px;
    height: 176px;
  }

  .service-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 8px;
  }

  .service-image {
    width: 108px;
    height: 92px;
  }

  .service-copy h4 {
    font-size: 14px;
  }

  .service-meta {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .gardener-strip {
    grid-template-columns: 1fr;
  }

  .gardener-grid,
  .task-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 8px;
  }

  .article-row > img {
    width: 96px;
    height: 84px;
  }

  .article-detail-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .admin-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-row img {
    width: 64px;
    height: 54px;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
  }

  .gardener-detail-hero,
  .task-intro,
  .article-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .gardener-detail-hero .primary-button,
  .task-intro .primary-button {
    width: 100%;
    margin-left: 0;
  }

  .gardener-detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .date-grid,
  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-body {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .order-body img {
    width: 82px;
    height: 68px;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    min-height: 70px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 8px 8px max(12px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .mobile-nav-item {
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    position: relative;
  }

  .mobile-nav-item.active {
    color: var(--green);
    background: var(--green-soft);
  }

  .mobile-nav-item.active::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transform: translateX(-50%);
  }

  .toast {
    bottom: 88px;
  }
}

@media (max-width: 480px) {
  .welcome-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .welcome-band h2 {
    font-size: 19px;
  }

  .welcome-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .welcome-actions button {
    width: 100%;
  }

  .category-item {
    min-width: 98px;
    width: 98px;
  }

  .category-grid {
    grid-auto-columns: 98px;
  }

  .service-action {
    flex-wrap: wrap;
  }

  .price-line strong {
    font-size: 17px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .date-grid,
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }

  .home-entry-grid {
    grid-template-columns: 1fr;
  }

  .home-task-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
