:root {
  --bg: #f8f7f4;
  --ink: #1a1a1a;
  --muted: #6b6560;
  --line: #e8e5e0;
  --green: #1b6b4a;
  --green-dark: #145238;
  --mint: #e8f5ee;
  --mint-strong: #cce8da;
  --gold: #b8860b;
  --yellow: #f0bd4f;
  --red: #cf5656;
  --blue: #386cb8;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --shadow: 0 18px 44px rgba(31, 42, 35, 0.14);
  --soft-shadow: 0 10px 24px rgba(31, 42, 35, 0.09);
  --emboss: 10px 10px 22px rgba(31, 42, 35, 0.14), -9px -9px 20px rgba(255, 255, 255, 0.94);
  --emboss-soft: 6px 6px 16px rgba(31, 42, 35, 0.12), -6px -6px 15px rgba(255, 255, 255, 0.9);
  --inset-emboss: inset 4px 4px 10px rgba(31, 42, 35, 0.11), inset -4px -4px 10px rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 14%, rgba(184, 134, 11, 0.15), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(29, 113, 88, 0.18), transparent 28%),
    linear-gradient(135deg, #fffefa 0%, var(--bg) 48%, #ece8df 100%);
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 390px) minmax(260px, 420px);
  gap: 36px;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.phone {
  position: relative;
  width: 390px;
  height: 820px;
  overflow: hidden;
  border: 9px solid #101715;
  border-radius: 36px;
  background: linear-gradient(180deg, #fbfdfb 0%, #f2f6f4 100%);
  box-shadow: 0 30px 86px rgba(16, 28, 24, 0.28);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #101715;
  z-index: 4;
}

.status-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  position: relative;
  z-index: 5;
}

.app-screen {
  display: none;
  height: calc(100% - 34px);
  padding: 24px 22px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(228, 245, 238, 0.48), transparent 190px),
    transparent;
}

.app-screen::-webkit-scrollbar {
  width: 0;
}

.app-screen.active {
  display: block;
}

.app-screen.with-nav {
  padding-bottom: 96px;
}

.brand-block {
  padding-top: 68px;
  text-align: center;
}

.brand-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 77, 60, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 32px;
  letter-spacing: 0;
}

h2 {
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  font-size: 17px;
}

p {
  color: var(--muted);
  line-height: 1.45;
}

.brand-block p {
  max-width: 280px;
  margin: 8px auto 0;
}

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

.form-card,
.form-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.form-card {
  padding: 16px;
  border: 1px solid rgba(223, 231, 226, 0.82);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(191, 231, 216, 0.88);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--green-dark);
  background: linear-gradient(180deg, #f5fcf8, var(--mint));
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
  box-shadow: none;
}

.photo-rule {
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 10px 12px;
  color: #655126;
  background: #fff7df;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(29, 113, 88, 0.1);
}

.primary,
.secondary,
.ghost,
.small-pill,
.icon-btn {
  border: 0;
  border-radius: 12px;
}

.primary {
  min-height: 48px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(15, 77, 60, 0.22);
}

.primary:hover {
  transform: translateY(-1px);
}

.primary.compact {
  min-height: 40px;
}

.primary.full {
  width: 100%;
  margin: 18px 0 14px;
}

.secondary.full {
  width: 100%;
  margin-top: 10px;
}

.secondary {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #edf4f0;
  font-weight: 800;
}

.ghost {
  min-height: 44px;
  color: var(--green-dark);
  background: linear-gradient(180deg, #f0fbf6, var(--mint));
  font-weight: 800;
  border: 1px solid rgba(191, 231, 216, 0.72);
}

.text-demo {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 800;
}

.split-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.screen-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 26px;
  box-shadow: var(--soft-shadow);
}

.bottom-action {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
}

.bottom-stack {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  display: grid;
  gap: 10px;
}

.success-box,
.center-state {
  display: grid;
  place-items: center;
  text-align: center;
}

.success-box {
  gap: 12px;
  margin-top: 96px;
  padding: 28px;
  border: 1px solid rgba(223, 231, 226, 0.86);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.success-box strong {
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--mint), #fff6df);
  font-size: 28px;
  letter-spacing: 0;
}

.share-card,
.message-preview,
.stepper-card,
.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.share-card {
  text-align: center;
}

.share-card span,
.stepper-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.share-card strong {
  color: var(--green-dark);
  font-size: 34px;
  letter-spacing: 0;
}

.message-preview {
  border-left: 4px solid var(--green);
  box-shadow: var(--soft-shadow);
}

.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  align-items: center;
}

.stepper button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-size: 22px;
  font-weight: 800;
}

.stepper strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 24px;
}

.contact-card {
  justify-items: center;
  text-align: center;
}

.pricing-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.pricing-card,
.invoice-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.pricing-card.featured {
  border-color: rgba(197, 155, 69, 0.42);
  background: linear-gradient(180deg, #fffdf6, #ffffff);
  box-shadow: var(--shadow);
}

.pricing-card span {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  color: #6b4f13;
  background: #fff3cc;
  font-size: 11px;
  font-weight: 800;
}

.pricing-card strong {
  color: var(--green-dark);
  font-size: 21px;
}

.pricing-card s {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.invoice-card {
  margin-top: 22px;
}

.invoice-head,
.invoice-line,
.invoice-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.invoice-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.invoice-line {
  color: var(--muted);
}

.discount-line {
  color: #7a5a12;
}

.invoice-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--green-dark);
  font-size: 20px;
}

.center-state {
  height: 100%;
  align-content: center;
  gap: 14px;
}

.large-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  font-size: 34px;
  box-shadow: var(--soft-shadow);
}

.top-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 2px;
}

.top-appbar h2,
.screen-head h2 {
  color: var(--green-dark);
}

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

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-dark);
  text-transform: uppercase;
}

.small-pill {
  min-height: 36px;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--mint);
  font-weight: 800;
  border: 1px solid rgba(191, 231, 216, 0.88);
}

.round-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #a93d3d);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.summary-card {
  min-height: 104px;
  text-align: left;
  border: 1px solid rgba(223, 231, 226, 0.8);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,253,251,0.92));
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
}

.summary-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(197, 155, 69, 0.12);
}

.summary-card span {
  display: block;
  font-size: 29px;
  font-weight: 800;
  color: var(--green-dark);
}

.summary-card:hover,
.quick-actions button:hover,
.settings-list button:hover,
.list-item:hover {
  transform: translateY(-1px);
}

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

.quick-actions button {
  min-height: 42px;
  border: 1px solid rgba(223, 231, 226, 0.9);
  border-radius: 12px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(24, 42, 35, 0.06);
}

.quick-actions button:nth-child(4) {
  color: #6b4f13;
  background: linear-gradient(180deg, #fff9e9, #fff3cc);
  border-color: rgba(197, 155, 69, 0.28);
}

.trial-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 14px;
  border: 1px solid rgba(197, 155, 69, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
  color: #6b4f13;
  background: linear-gradient(180deg, #fff9e9, #fff3cc);
  font-size: 12px;
  font-weight: 800;
}

.trial-strip button {
  border: 0;
  color: var(--green-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.search-box {
  margin: 12px 0;
}

.search-box input {
  min-height: 44px;
  border-radius: 999px;
  padding-left: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,252,250,0.94));
  box-shadow: var(--soft-shadow);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 10px;
}

.section-title h3 {
  color: #26332f;
}

.section-title button {
  border: 0;
  color: var(--green-dark);
  background: transparent;
  font-weight: 800;
}

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

.list-item,
.request-card,
.agenda-card {
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(24, 42, 35, 0.06);
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  border-color: #aac8bb;
}

.list-item strong,
.request-card strong,
.agenda-card strong {
  display: block;
  margin-bottom: 4px;
}

.badge {
  align-self: flex-start;
  min-width: 64px;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.badge.yellow {
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: #382608;
}

.badge.red {
  background: linear-gradient(135deg, var(--red), #a93d3d);
}

.badge.green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.request-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.member-row,
.device-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(24, 42, 35, 0.06);
}

.member-row {
  grid-template-columns: 44px 1fr auto;
}

.device-row {
  grid-template-columns: 1fr auto;
}

.notice-row,
.profile-card {
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.notice-row {
  display: grid;
  gap: 6px;
}

.profile-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 22px;
  text-align: center;
}

.compact-profile {
  grid-template-columns: 72px 1fr;
  justify-items: start;
  text-align: left;
}

.avatar.large {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

.kpi-row {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(24, 42, 35, 0.06);
}

.kpi-row span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  color: var(--green-dark);
  background: var(--mint);
  font-weight: 800;
}

.paper-preview {
  display: grid;
  gap: 12px;
  margin: 18px 0 14px;
  padding: 22px 18px;
  border: 1px solid rgba(223, 231, 226, 0.9);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: var(--shadow);
  color: #2d332f;
}

.paper-head {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2d332f;
  text-align: center;
}

.paper-head span,
.paper-preview p {
  color: #4e5a55;
  font-size: 12px;
}

.paper-preview h3 {
  text-align: center;
  text-decoration: underline;
}

.paper-table {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f2e8;
  font-size: 12px;
}

.paper-table span {
  color: #64706b;
}

.signature-box {
  display: grid;
  justify-items: center;
  gap: 44px;
  margin-top: 10px;
  margin-left: auto;
  width: 160px;
  font-size: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(15, 77, 60, 0.18);
}

.row-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.activity-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 18px 0 12px;
}

.tabs button,
.activity-filter button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.tabs .active,
.activity-filter .active {
  color: var(--white);
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.agenda-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
}

.agenda-card time {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-radius: 14px;
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--mint), #fff7e3);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.settings-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.settings-list button {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24, 42, 35, 0.06);
}

.settings-list span {
  color: var(--muted);
  font-size: 13px;
}

.plan-card {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,252,249,0.95));
  box-shadow: var(--shadow);
}

.plan-card h3 {
  font-size: 24px;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edea;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.detail-box {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.detail-box .badge {
  justify-self: start;
}

.requirement-chip {
  justify-self: start;
  border-radius: 999px;
  padding: 8px 10px;
  color: #6b4f13;
  background: linear-gradient(180deg, #fff9e9, #fff3cc);
  font-size: 12px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timeline article {
  padding: 14px;
  border-left: 4px solid var(--green);
  border-radius: 14px;
  background: linear-gradient(180deg, #f2fbf7, #edf7f2);
}

.activity-timeline article:nth-child(2) {
  border-left-color: var(--gold);
}

.activity-timeline article:nth-child(3) {
  border-left-color: var(--blue);
}

.activity-timeline article:nth-child(4) {
  border-left-color: var(--red);
}

.photo-preview {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
}

.photo-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  align-content: space-between;
  justify-items: center;
  border-radius: 14px;
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(29, 113, 88, 0.18), rgba(197, 155, 69, 0.18)),
    #f7fbf8;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
}

.photo-thumb span {
  padding-top: 10px;
}

.photo-thumb small {
  width: 100%;
  padding: 3px;
  color: var(--white);
  background: rgba(15, 77, 60, 0.82);
  font-size: 7px;
  line-height: 1.15;
  text-align: center;
}

.upload-box {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 1px dashed rgba(29, 113, 88, 0.38);
  border-radius: 16px;
  padding: 14px;
  color: var(--green-dark);
  background: linear-gradient(180deg, #fbfefc, #eef9f4);
  text-align: center;
}

.upload-box span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-size: 22px;
  font-weight: 800;
}

.upload-box p {
  color: var(--green-dark);
  font-weight: 800;
}

.upload-box small {
  color: var(--muted);
  font-weight: 700;
}

.upload-box.has-photo {
  grid-template-columns: 58px 1fr;
  justify-items: start;
  text-align: left;
  border-style: solid;
}

.mini-photo {
  width: 58px;
  height: 58px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(29, 113, 88, 0.2), rgba(197, 155, 69, 0.2)),
    #e5f0ea;
}

.mini-photo small {
  width: 100%;
  padding: 3px;
  color: var(--white);
  background: rgba(15, 77, 60, 0.84);
  font-size: 7px;
  line-height: 1.15;
  text-align: center;
}

.camera-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(223, 231, 226, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.camera-preview {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #dbeae5;
}

.camera-preview.evidence {
  height: 390px;
}

.camera-sky {
  position: absolute;
  inset: 0 0 42%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), transparent),
    linear-gradient(135deg, #b9d4e5, #e8f3ec);
}

.camera-ground {
  position: absolute;
  inset: 45% 0 0;
  background:
    linear-gradient(90deg, rgba(15, 77, 60, 0.22) 0 22%, transparent 22% 30%, rgba(197,155,69,0.24) 30% 56%, transparent 56% 64%, rgba(15,77,60,0.2) 64%),
    linear-gradient(180deg, #b9d8c4, #7aa887);
}

.watermark-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 77, 60, 0.92), rgba(24, 42, 35, 0.76));
  font-size: 11px;
}

.watermark-band strong {
  font-size: 13px;
}

.location-status {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2ca66f;
  box-shadow: 0 0 0 5px rgba(44, 166, 111, 0.13);
}

.form-list.tight {
  margin-top: 14px;
}

.toast {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 78px;
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: rgba(21, 82, 63, 0.96);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  z-index: 5;
}

.toast.show {
  display: flex;
}

.sticky-row {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 86px;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(223, 231, 226, 0.86);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 24px rgba(24, 42, 35, 0.08);
  backdrop-filter: blur(16px);
}

.phone.show-admin-nav .admin-nav,
.phone.show-member-nav .member-nav {
  display: grid;
}

.member-nav {
  grid-template-columns: repeat(4, 1fr);
}

.bottom-nav button {
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  border-radius: 14px;
  margin: 6px 4px;
}

.bottom-nav button:hover {
  color: var(--green-dark);
  background: rgba(228, 245, 238, 0.72);
}

.phone.show-admin-nav .admin-nav button:first-child,
.phone.show-member-nav .member-nav button:first-child {
  color: var(--green-dark);
  background: linear-gradient(145deg, #ffffff, var(--mint));
  box-shadow:
    inset 3px 3px 8px rgba(31, 42, 35, 0.08),
    inset -3px -3px 8px rgba(255, 255, 255, 0.88);
}

.notes {
  max-width: 420px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.notes h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.notes p,
.notes li {
  color: #44504b;
  line-height: 1.6;
}

.notes ul {
  padding-left: 20px;
}

@media (max-width: 880px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .phone {
    width: min(100%, 390px);
    height: 780px;
    margin: 0 auto;
  }

  .notes {
    margin: 0 auto;
  }
}

/* Premium embossed layer */
.phone {
  box-shadow: 0 30px 86px rgba(16, 28, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.form-card,
.success-box,
.share-card,
.message-preview,
.stepper-card,
.contact-card,
.plan-card,
.camera-card,
.paper-preview,
.pricing-card.featured,
.notes {
  box-shadow: var(--emboss);
}

.summary-card,
.quick-actions button,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.notice-row,
.profile-card,
.kpi-row,
.pricing-card,
.invoice-card,
.settings-list button,
.detail-box,
.upload-box,
.secondary,
.ghost,
.icon-btn,
.small-pill,
.round-btn {
  box-shadow: var(--emboss-soft);
}

input,
select,
.search-box input,
.meter,
.kpi-row span {
  box-shadow: var(--inset-emboss);
}

.primary,
.avatar,
.large-icon,
.brand-mark {
  box-shadow:
    0 12px 22px rgba(15, 77, 60, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 6px rgba(0, 0, 0, 0.12);
}

.bottom-nav {
  box-shadow:
    0 -10px 24px rgba(24, 42, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.summary-card,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.settings-list button,
.detail-box,
.plan-card,
.pricing-card,
.invoice-card {
  border-color: rgba(255, 255, 255, 0.72);
}

/* Full-app embossed finish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 35%),
    linear-gradient(315deg, rgba(15, 77, 60, 0.08), transparent 42%);
}

.page-shell {
  position: relative;
}

.phone {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(231,240,235,0.96)),
    #f4f8f5;
}

.app-screen {
  box-shadow:
    inset 7px 7px 18px rgba(24, 42, 35, 0.045),
    inset -7px -7px 18px rgba(255, 255, 255, 0.78);
}

.status-bar {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

h1,
h2,
h3,
strong {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-mark,
.large-icon,
.avatar,
.round-btn,
.primary {
  transform: translateZ(0);
}

.summary-card,
.quick-actions button,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.notice-row,
.profile-card,
.kpi-row,
.pricing-card,
.invoice-card,
.settings-list button,
.detail-box,
.plan-card,
.paper-preview,
.camera-card,
.share-card,
.message-preview,
.stepper-card,
.contact-card,
.form-card,
.success-box {
  position: relative;
}

.summary-card::before,
.list-item::before,
.request-card::before,
.agenda-card::before,
.member-row::before,
.device-row::before,
.notice-row::before,
.profile-card::before,
.kpi-row::before,
.pricing-card::before,
.invoice-card::before,
.settings-list button::before,
.detail-box::before,
.plan-card::before,
.paper-preview::before,
.camera-card::before,
.share-card::before,
.message-preview::before,
.stepper-card::before,
.contact-card::before,
.form-card::before,
.success-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.52), transparent 42%);
}

.bottom-nav button {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tabs button,
.activity-filter button,
.trial-strip,
.photo-rule,
.requirement-chip {
  box-shadow: var(--emboss-soft);
}

/* Stronger visible emboss pass */
.phone {
  background:
    linear-gradient(145deg, #ffffff, #e2ece6 72%),
    #edf4f0;
}

.app-screen {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(226,236,230,0.34) 210px),
    #f0f6f2;
}

.summary-card,
.quick-actions button,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.notice-row,
.profile-card,
.kpi-row,
.pricing-card,
.invoice-card,
.settings-list button,
.detail-box,
.plan-card,
.paper-preview,
.camera-card,
.share-card,
.message-preview,
.stepper-card,
.contact-card,
.form-card,
.success-box,
.upload-box {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.99), rgba(242,239,232,0.94));
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow:
    11px 11px 24px rgba(24, 42, 35, 0.16),
    -9px -9px 20px rgba(255, 255, 255, 0.95),
    inset 1px 1px 0 rgba(255,255,255,0.92),
    inset -1px -1px 0 rgba(24,42,35,0.04);
}

.summary-card span,
.plan-card h3,
.pricing-card strong {
  letter-spacing: 0;
}

.section-title {
  padding-top: 2px;
}

.eyebrow,
.badge,
.pricing-card span,
.trial-strip,
.requirement-chip {
  letter-spacing: 0;
}

.primary {
  border: 1px solid rgba(255,255,255,0.18);
}

.secondary,
.ghost {
  border: 1px solid rgba(255,255,255,0.72);
}

.list-item strong,
.request-card strong,
.agenda-card strong,
.member-row strong,
.device-row strong {
  color: #222621;
}

.primary,
.secondary,
.ghost,
.icon-btn,
.small-pill,
.round-btn,
.tabs button,
.activity-filter button,
.stepper button {
  box-shadow:
    7px 7px 15px rgba(24, 42, 35, 0.16),
    -6px -6px 14px rgba(255, 255, 255, 0.9),
    inset 1px 1px 0 rgba(255,255,255,0.34);
}

input,
select,
.search-box input,
.meter,
.kpi-row span,
.success-box strong,
.agenda-card time,
.requirement-chip {
  background: linear-gradient(145deg, #e2ece6, #ffffff);
  box-shadow:
    inset 6px 6px 12px rgba(24, 42, 35, 0.13),
    inset -6px -6px 12px rgba(255, 255, 255, 0.96);
}

.bottom-nav {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(229,239,233,0.96));
  box-shadow:
    0 -12px 26px rgba(24, 42, 35, 0.13),
    inset 0 1px 0 rgba(255,255,255,0.98);
}

.bottom-nav button:hover,
.quick-actions button:hover,
.settings-list button:hover,
.list-item:hover,
.summary-card:hover {
  box-shadow:
    5px 5px 12px rgba(24, 42, 35, 0.18),
    -4px -4px 10px rgba(255,255,255,0.95),
    inset 2px 2px 5px rgba(24,42,35,0.06),
    inset -2px -2px 5px rgba(255,255,255,0.75);
}

/* Z.ai second pass: clearer, moderate premium emboss */
.summary-card,
.quick-actions button,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.notice-row,
.profile-card,
.kpi-row,
.pricing-card,
.invoice-card,
.settings-list button,
.detail-box,
.plan-card,
.paper-preview,
.camera-card,
.share-card,
.message-preview,
.stepper-card,
.contact-card,
.form-card,
.success-box {
  background: #f8f7f4;
  box-shadow:
    8px 8px 16px rgba(107, 101, 96, 0.20),
    -6px -6px 14px rgba(255, 255, 255, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.summary-card:active,
.quick-actions button:active,
.list-item:active,
.settings-list button:active,
.pricing-card:active {
  transform: translateY(1px);
  box-shadow:
    inset 4px 4px 10px rgba(107, 101, 96, 0.18),
    inset -4px -4px 10px rgba(255, 255, 255, 0.76);
}

.bottom-nav {
  background: #f8f7f4;
  box-shadow:
    inset 0 6px 12px rgba(107, 101, 96, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(107, 101, 96, 0.08);
}

.bottom-nav button {
  position: relative;
}

.phone.show-admin-nav .admin-nav button:first-child,
.phone.show-member-nav .member-nav button:first-child {
  box-shadow:
    inset 3px 3px 7px rgba(107, 101, 96, 0.22),
    inset -3px -3px 7px rgba(255, 255, 255, 0.82);
  border-radius: 12px;
}

.phone.show-admin-nav .admin-nav button:first-child::after,
.phone.show-member-nav .member-nav button:first-child::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #b8860b;
  box-shadow: 0 0 8px rgba(184, 134, 11, 0.7);
}

input,
select,
.search-box input {
  background: #f4f2ed;
  box-shadow:
    inset 5px 5px 11px rgba(107, 101, 96, 0.15),
    inset -5px -5px 11px rgba(255, 255, 255, 0.82);
  border-color: rgba(107, 101, 96, 0.08);
}

.primary {
  box-shadow:
    0 12px 18px rgba(20, 82, 56, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.phone {
  box-shadow:
    0 34px 90px rgba(16, 28, 24, 0.32),
    10px 10px 28px rgba(107, 101, 96, 0.16),
    -8px -8px 22px rgba(255, 255, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Final premium pass: stronger elegant emboss for village-office use */
:root {
  --premium-surface: #f7f5ef;
  --premium-raised:
    11px 12px 22px rgba(64, 58, 48, 0.20),
    -8px -8px 18px rgba(255, 255, 255, 0.94),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  --premium-soft:
    7px 8px 16px rgba(64, 58, 48, 0.16),
    -6px -6px 14px rgba(255, 255, 255, 0.90),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --premium-inset:
    inset 6px 7px 13px rgba(64, 58, 48, 0.18),
    inset -6px -6px 12px rgba(255, 255, 255, 0.86);
  --premium-pressed:
    inset 5px 6px 11px rgba(64, 58, 48, 0.20),
    inset -5px -5px 10px rgba(255, 255, 255, 0.78);
}

.phone {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(155deg, #fbfaf6 0%, #f0eee7 58%, #e5e1d8 100%);
  box-shadow:
    0 38px 94px rgba(15, 28, 23, 0.34),
    14px 16px 34px rgba(64, 58, 48, 0.20),
    -10px -10px 28px rgba(255, 255, 255, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.app-screen {
  background:
    linear-gradient(180deg, rgba(232, 245, 238, 0.56), transparent 184px),
    radial-gradient(circle at 18% 8%, rgba(184, 134, 11, 0.08), transparent 24%),
    transparent;
}

.summary-card,
.quick-actions button,
.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.notice-row,
.profile-card,
.kpi-row,
.pricing-card,
.invoice-card,
.settings-list button,
.detail-box,
.plan-card,
.paper-preview,
.camera-card,
.share-card,
.message-preview,
.stepper-card,
.contact-card,
.form-card,
.success-box,
.upload-box {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 236, 227, 0.96));
  box-shadow: var(--premium-raised);
}

.summary-card::before,
.list-item::before,
.request-card::before,
.agenda-card::before,
.member-row::before,
.device-row::before,
.notice-row::before,
.profile-card::before,
.kpi-row::before,
.pricing-card::before,
.invoice-card::before,
.settings-list button::before,
.detail-box::before,
.plan-card::before,
.paper-preview::before,
.camera-card::before,
.share-card::before,
.message-preview::before,
.stepper-card::before,
.contact-card::before,
.form-card::before,
.success-box::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 44%);
  opacity: 0.92;
}

.quick-actions button,
.settings-list button,
.member-row,
.device-row,
.notice-row,
.detail-box,
.upload-box,
.secondary,
.ghost,
.icon-btn,
.small-pill,
.round-btn,
.tabs button,
.activity-filter button,
.stepper button,
.trial-strip,
.photo-rule,
.requirement-chip {
  box-shadow: var(--premium-soft);
}

input,
select,
textarea,
.search-box input,
.meter,
.kpi-row span,
.success-box strong,
.agenda-card time,
.requirement-chip {
  background: linear-gradient(145deg, #e6e1d8, #fffdfa);
  border-color: rgba(98, 90, 78, 0.12);
  box-shadow: var(--premium-inset);
}

.primary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #227d59 0%, var(--green) 48%, var(--green-dark) 100%);
  box-shadow:
    0 13px 19px rgba(20, 82, 56, 0.28),
    0 4px 0 rgba(12, 63, 42, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.primary:active {
  transform: translateY(2px);
  box-shadow:
    0 7px 12px rgba(20, 82, 56, 0.22),
    0 1px 0 rgba(12, 63, 42, 0.78),
    inset 3px 4px 9px rgba(10, 51, 34, 0.32);
}

.pricing-card.featured {
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow:
    0 0 0 1px rgba(184, 134, 11, 0.18),
    13px 14px 24px rgba(64, 58, 48, 0.20),
    -8px -8px 18px rgba(255, 255, 255, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.list-item,
.request-card,
.agenda-card,
.member-row,
.device-row,
.settings-list button {
  overflow: hidden;
}

.list-item::after,
.request-card::after,
.agenda-card::after,
.member-row::after,
.device-row::after,
.settings-list button::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(184, 134, 11, 0);
  transition: background 0.18s ease;
}

.list-item:hover::after,
.request-card:hover::after,
.agenda-card:hover::after,
.member-row:hover::after,
.device-row:hover::after,
.settings-list button:hover::after {
  background: rgba(184, 134, 11, 0.72);
}

.summary-card:hover,
.quick-actions button:hover,
.settings-list button:hover,
.list-item:hover,
.request-card:hover,
.agenda-card:hover {
  transform: translateY(-1px);
  box-shadow:
    12px 13px 24px rgba(64, 58, 48, 0.22),
    -8px -8px 18px rgba(255, 255, 255, 0.96),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.summary-card:active,
.quick-actions button:active,
.list-item:active,
.settings-list button:active,
.pricing-card:active,
.request-card:active,
.agenda-card:active {
  transform: translateY(1px);
  box-shadow: var(--premium-pressed);
}

.bottom-nav {
  padding: 9px 12px 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 232, 222, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    0 -13px 28px rgba(41, 53, 46, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.bottom-nav button {
  min-height: 56px;
  border-radius: 14px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.phone.show-admin-nav .admin-nav button:first-child,
.phone.show-member-nav .member-nav button:first-child {
  box-shadow: none;
}

.phone.show-admin-nav .admin-nav button:first-child::after,
.phone.show-member-nav .member-nav button:first-child::after {
  content: none;
}

.bottom-nav button.active-nav {
  color: var(--green-dark);
  background: linear-gradient(145deg, #e3ddd2, #ffffff);
  box-shadow: var(--premium-inset);
}

.bottom-nav button.active-nav::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.13), 0 0 12px rgba(184, 134, 11, 0.54);
}

@media (max-width: 880px) {
  :root {
    --premium-raised:
      8px 9px 17px rgba(64, 58, 48, 0.18),
      -6px -6px 13px rgba(255, 255, 255, 0.92),
      inset 0 1px 0 rgba(255, 255, 255, 0.68);
    --premium-soft:
      6px 7px 13px rgba(64, 58, 48, 0.15),
      -5px -5px 11px rgba(255, 255, 255, 0.90),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }
}
