:root {
  --bg: #f0f4f3;
  --bg-accent: #e4eeeb;
  --surface: #ffffff;
  --ink: #13201c;
  --muted: #5a6b65;
  --line: #d5e0db;
  --brand: #0f6b5c;
  --brand-dark: #0a4d42;
  --brand-soft: #d8efe9;
  --warn: #b86a1c;
  --danger: #b42318;
  --ok: #1a7a4c;
  --info: #1d5f8a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 32, 28, 0.06);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --sidebar: 272px;
  --sidebar-ink: #eaf7f3;
  --sidebar-muted: rgba(234, 247, 243, 0.62);
  --topbar-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 100% -10%, #d7ebe4 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
  color: var(--ink);
  min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.app {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(520px 280px at 0% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(420px 260px at 100% 100%, rgba(8, 48, 41, 0.45), transparent 55%),
    linear-gradient(168deg, #0a342e 0%, #0f6b5c 48%, #127a69 100%);
  color: var(--sidebar-ink);
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  position: relative;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.brand-link:hover { color: #fff; }
.brand-text { min-width: 0; flex: 1; }
.sidebar-close,
.menu-toggle {
  display: none;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 18, 0.5);
  backdrop-filter: blur(2px);
  z-index: 40;
  border: 0;
  padding: 0;
  margin: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}
.brand h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand p {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: var(--sidebar-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.55rem 0.7rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.nav::-webkit-scrollbar { width: 6px; }
.nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.nav-scroll {
  flex: 0 0 auto;
  padding: 0.15rem 0.15rem 0.35rem;
}
.nav-group + .nav-group { margin-top: 0.35rem; }
.nav-footer {
  flex: 0 0 auto;
  margin-top: 0.55rem;
  padding: 0.55rem 0.15rem 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-section {
  margin: 0.85rem 0 0.4rem;
  padding: 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sidebar-muted);
}
.nav-group:first-child .nav-section,
.nav-footer .nav-section {
  margin-top: 0.35rem;
}

.nav a,
.nav .logout-form button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  color: var(--sidebar-ink);
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  margin: 0.12rem 0;
  font-size: 0.93rem;
  font-weight: 500;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: inherit;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nav a:hover,
.nav .logout-form button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav a.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-weight: 600;
}
.nav a.active::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: #9fe8d6;
  box-shadow: 0 0 10px rgba(159, 232, 214, 0.55);
}
.nav-label {
  min-width: 0;
  line-height: 1.25;
}
.nav .logout-form { margin: 0.12rem 0; }
.nav .logout-form button { color: #ffd5d0; }
.nav .logout-form button:hover {
  background: rgba(180, 35, 24, 0.22);
  color: #fff;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: var(--topbar-h);
  padding: 0.7rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(213, 224, 219, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.topbar-title {
  min-width: 0;
  border-inline-start: 3px solid var(--brand);
  padding-inline-start: 0.85rem;
}
.topbar-title h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-title .topbar-sub {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.company-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(180deg, #eef8f5, var(--brand-soft));
  color: var(--brand-dark);
  border: 1px solid #b7d9cf;
  border-radius: 999px;
  padding: 0.35rem 0.7rem 0.35rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 240px;
  min-height: 36px;
}
.company-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.18);
  flex-shrink: 0;
}
.company-chip-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-chip-meta {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  padding-inline-start: 0.35rem;
  border-inline-start: 1px solid #b7d9cf;
  white-space: nowrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem 0.2rem 0.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  max-width: 200px;
  min-height: 36px;
}
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.user-chip-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-notif {
  min-width: 1.6rem;
  justify-content: center;
}

.content {
  padding: 1.4rem 1.5rem 2.5rem;
}

.table-wrap {
  width: 100%;
  max-height: min(70vh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table.data thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6faf8;
  box-shadow: 0 1px 0 var(--line);
}
.row-actions {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--muted);
}
.empty p { margin: 0 0 1rem; }
.empty-filtered p { margin-bottom: 0.85rem; }

.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.messages li {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: var(--brand-soft);
  border: 1px solid #b7d9cf;
}
.messages li.error { background: #fdeceb; border-color: #f2c4c0; color: var(--danger); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
  color: var(--ink);
}
.stat:nth-child(2) { animation-delay: 0.05s; }
.stat:nth-child(3) { animation-delay: 0.1s; }
.stat:nth-child(4) { animation-delay: 0.15s; }
.stat .label {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}
.stat .value {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat .hint {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.stat.ok .value { color: var(--ok); }
.stat.warn .value { color: var(--warn); }
.stat.danger .value { color: var(--danger); }
.stat.info .value { color: var(--info); }

.panel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.5s ease both;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.panel-header h3 {
  margin: 0;
  font-size: 1rem;
}
.panel-body { padding: 0.4rem 0; }

table.data {
  width: 100%;
  border-collapse: collapse;
}
table.data th, table.data td {
  padding: 0.75rem 1.1rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
table.data th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #f7fbf9; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge.ok { background: #e4f6ec; color: var(--ok); }
.badge.warn { background: #fff1df; color: var(--warn); }
.badge.danger { background: #fdeceb; color: var(--danger); }
.badge.muted { background: #eef1f0; color: var(--muted); }
.badge.info { background: #e7f2fa; color: var(--info); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 107, 92, 0.25);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.82rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.5rem;
  flex: 1 1 28rem;
  min-width: min(100%, 18rem);
  align-items: stretch;
}
.filters .input,
.filters .select,
.filters .btn {
  width: 100%;
  min-width: 0;
}
.filters .filter-actions {
  display: flex;
  gap: 0.5rem;
  grid-column: 1 / -1;
}
.filters .filter-actions .btn { width: auto; }
.toolbar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.bulk-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-inline-end: 0.25rem;
}
.bulk-bar .select { min-width: 11rem; width: auto; }
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.input, .select, textarea {
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  outline: none;
}
.input:focus, .select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 107, 92, 0.12);
}
/* Keep phone numbers readable in Arabic/Hebrew RTL */
a[href^="tel:"],
.phone-ltr,
input[type="tel"] {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] input[type="tel"],
[dir="rtl"] .input.phone-ltr {
  text-align: right;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.field { margin-bottom: 0.25rem; }

/* —— Auth / login —— */
.auth-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  background: #0b1f1b;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: auth-ken 18s ease-in-out infinite alternate;
}
.auth-visual-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 74, 64, 0.55) 0%, rgba(11, 31, 27, 0.72) 100%),
    linear-gradient(0deg, rgba(11, 31, 27, 0.35), transparent 45%);
}
.auth-visual-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 2rem;
  text-align: center;
  color: #fff;
  animation: auth-in 0.7s ease both;
}
.auth-visual-logo {
  width: 108px;
  height: auto;
  background: #fff;
  border-radius: 22px;
  padding: 0.55rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.auth-visual-copy p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f7f5;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(1rem, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.auth-frame {
  width: min(400px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 22px;
  padding: 1rem 1.2rem 0;
  border: 1px solid #d7e4df;
  box-shadow: 0 18px 40px rgba(19, 32, 28, 0.08);
  overflow: hidden;
  animation: auth-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.auth-lang {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.1rem;
}
.auth-lang-select {
  appearance: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: #f3f7f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b65' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat;
  background-position: left 0.7rem center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 1.7rem;
  cursor: pointer;
  outline: none;
  max-width: 10rem;
}
[dir="ltr"] .auth-lang-select {
  background-position: right 0.7rem center;
  padding: 0.35rem 1.7rem 0.35rem 0.85rem;
}
.auth-lang-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 107, 92, 0.12);
}
.auth-brand {
  text-align: center;
  margin: 0.05rem 0 0.85rem;
}
.auth-logo {
  display: none;
}
.auth-brand h1 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}
.auth-lead {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.auth-error {
  background: #fef3f2;
  color: var(--danger);
  border: 1px solid #f5c4bf;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}
.auth-form .field { margin-bottom: 0.7rem; }
.auth-input {
  width: 100%;
  min-height: 2.7rem;
  font-size: 1rem;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
}
.auth-submit {
  width: 100%;
  min-height: 2.75rem;
  margin: 0.25rem 0 0.85rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 107, 92, 0.28);
}
.auth-support {
  margin: 0 -1.2rem 0;
  padding: 0.8rem 1rem 0.95rem;
  background: linear-gradient(180deg, #f5faf8 0%, #e9f3ef 100%);
  border-top: 1px solid #d7e6e0;
  text-align: center;
}
.auth-support-title {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a7d76;
}
.auth-support-name {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.auth-support-name span {
  font-weight: 600;
  color: #3f534c;
}
.auth-support-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.auth-support-links a {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
}
.auth-support-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.auth-back-home {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
}
.auth-back-home a {
  color: var(--muted);
  font-weight: 600;
}
.auth-back-home a:hover { color: var(--brand); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.error-text { color: var(--danger); font-size: 0.88rem; margin-bottom: 0.75rem; }

@keyframes auth-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
    grid-template-rows: 160px 1fr;
  }
  .auth-visual-copy p { font-size: 1.55rem; }
  .auth-visual-logo { width: 72px; border-radius: 16px; padding: 0.4rem; }
  .auth-main {
    align-items: flex-start;
    padding: 1rem 1rem 1.25rem;
  }
  .auth-logo {
    display: none;
  }
  .auth-frame {
    margin: 0 auto;
    width: min(420px, 100%);
  }
}

.detail-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.detail-hero h2 { margin: 0 0 0.4rem; }
.meta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}
.meta-list div {
  background: #f6faf8;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}
.meta-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body.no-scroll { overflow: hidden; }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: 1fr; }
  .meta-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .app {
    display: block;
    min-width: 0;
  }
  .main {
    width: 100%;
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(19, 32, 28, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .menu-toggle:hover {
    background: var(--brand-soft);
    border-color: #b7d9cf;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .app.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .app.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .app.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-overlay {
    display: none;
  }
  .app.nav-open .sidebar-overlay {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(308px, 88vw);
    height: 100vh;
    height: 100dvh;
    z-index: 50;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.28);
    padding-top: max(0px, env(safe-area-inset-top));
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  [dir="ltr"] .sidebar {
    left: 0;
    right: auto;
    transform: translateX(-105%);
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.28);
  }
  .app.nav-open .sidebar,
  [dir="ltr"] .app.nav-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
  }
  .sidebar-close:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  .topbar {
    padding: 0.7rem 0.9rem;
    padding-top: max(0.7rem, env(safe-area-inset-top));
    min-height: 60px;
  }
  .topbar-title {
    border-inline-start-width: 2px;
    padding-inline-start: 0.65rem;
  }
  .topbar-title h2 { font-size: 1.05rem; }
  .topbar-title .topbar-sub { font-size: 0.76rem; }
  .company-chip { display: none; }
  .user-chip {
    max-width: 42px;
    padding: 0.2rem;
    gap: 0;
  }
  .user-chip-name { display: none; }

  .content {
    padding: 1rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat { padding: 0.9rem; color: var(--ink); }
  .stat .value { font-size: 1.35rem; }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .filters {
    width: 100%;
    grid-template-columns: 1fr;
    flex-basis: auto;
  }
  .toolbar-actions {
    width: 100%;
  }
  .toolbar-actions .btn { flex: 1 1 auto; }
  .toolbar > .btn { width: 100%; }

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

  .detail-hero {
    flex-direction: column;
    padding: 1rem;
  }
  .detail-hero > div:last-child { width: 100%; }
  .detail-hero .btn { width: 100%; }
  .meta-list { grid-template-columns: 1fr; }

  .panel-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  table.data { min-width: 520px; }
  .panel-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .topbar-actions .badge.info { display: none; }
}

/* Check In / Check Out page */
.check-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.check-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.2rem 1.5rem;
}
.check-clock {
  text-align: center;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.check-clock-time {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
}
.check-clock-date {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}
.check-label {
  display: block;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.check-code {
  width: 100%;
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #f7fbf9;
  color: var(--ink);
  outline: none;
}
.check-code:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 107, 92, 0.12);
}
.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 1rem 0;
}
.pin-key {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 0;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease, transform 0.1s ease;
}
.pin-key:active { transform: scale(0.97); background: var(--brand-soft); }
.pin-key-muted { color: var(--muted); background: #f3f6f5; }
.check-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.check-btn {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}
.check-btn-in {
  background: var(--ok);
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 122, 76, 0.22);
}
.check-btn-in:hover { filter: brightness(0.95); color: #fff; }
.check-btn-out {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 107, 92, 0.22);
}
.check-btn-out:hover { background: var(--brand-dark); color: #fff; }
.check-alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.check-alert.ok { background: #e4f6ec; color: var(--ok); border: 1px solid #b7e2c8; }
.check-alert.err { background: #fdeceb; color: var(--danger); border: 1px solid #f2c4c0; }
.check-result {
  text-align: center;
  background: #f6faf8;
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 0.9rem;
}
.check-result-name { font-size: 1.15rem; font-weight: 700; }
.check-result-meta { color: var(--muted); margin-top: 0.25rem; font-size: 0.9rem; }
.check-board .panel-header { flex-wrap: wrap; gap: 0.5rem; }
.check-stats { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.lang-select {
  min-width: 110px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 999px;
  background: #fff;
}
.lang-switch { margin: 0; }

@media (max-width: 960px) {
  .check-layout { grid-template-columns: 1fr; }
  .check-card { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* —— Payroll —— */
.pay-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid #d5e6e1;
  background:
    radial-gradient(900px 220px at 0% 0%, rgba(15, 107, 92, 0.14), transparent 55%),
    linear-gradient(135deg, #f4fbf8 0%, #eef6f3 45%, #f7faf9 100%);
}
.pay-hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.pay-hero-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.pay-hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem 0 1rem;
  color: var(--muted);
}
.pay-hero-meta { font-size: 0.9rem; }
.pay-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
.pay-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #dce8e4;
  overflow: hidden;
}
.pay-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #1a9a7f);
  min-width: 0;
  transition: width 0.35s ease;
}
.pay-progress-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.pay-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}
.pay-generate { width: 100%; min-height: 46px; font-weight: 700; }
.pay-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.pay-quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #d5e6e1;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 600;
}
.pay-quick-link:hover {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand);
}

.pay-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.pay-kpi {
  border: 1px solid #dde8e4;
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.05rem;
  box-shadow: 0 1px 0 rgba(15, 107, 92, 0.04);
}
.pay-kpi-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.pay-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pay-kpi-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.pay-kpi-ok .pay-kpi-value { color: var(--ok); }
.pay-kpi-warn .pay-kpi-value { color: var(--warn); }
.pay-split {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.pay-split > div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.pay-split strong { color: var(--ink); font-weight: 700; }
.pay-pay-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.pay-pay-summary > div {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f6faf8;
  border: 1px solid #dde8e4;
  display: grid;
  gap: 0.2rem;
}
.pay-pay-summary span { font-size: 0.78rem; color: var(--muted); }
.pay-pay-summary strong { font-size: 1.1rem; color: var(--brand-dark); }
@media (max-width: 640px) {
  .pay-pay-summary { grid-template-columns: 1fr; }
}

.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: start;
}
.pay-sheet .panel-body { padding: 0; }
.pay-table-wrap { overflow-x: auto; }
.pay-table { margin: 0; }
.pay-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #f6faf8;
}
.pay-table td { vertical-align: middle; }
.pay-member {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 160px;
}
.pay-member strong { display: block; font-size: 0.95rem; }
.pay-member small { display: block; margin-top: 0.1rem; }
.pay-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  flex-shrink: 0;
  text-transform: uppercase;
}
.pay-stack { display: grid; gap: 0.15rem; }
.pay-stack small { font-size: 0.75rem; }
.pay-net { font-size: 1.02rem; color: var(--brand-dark); }
.pay-mini {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.num-ok { color: var(--ok); font-weight: 600; }
.num-warn { color: var(--warn); font-weight: 600; }
.num-danger { color: var(--danger); font-weight: 600; }

.pay-cards { display: none; gap: 0.75rem; padding: 0.85rem; }
.pay-card {
  border: 1px solid #dde8e4;
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
}
.pay-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pay-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.pay-card-grid > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: #f6faf8;
}
.pay-card-grid span {
  font-size: 0.72rem;
  color: var(--muted);
}
.pay-card-grid strong { font-size: 0.92rem; }

.pay-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
}
.pay-empty-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 800;
}
.pay-empty h4 { margin: 0 0 0.4rem; }
.pay-empty p {
  max-width: 36rem;
  margin: 0 auto 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pay-side { display: grid; gap: 1rem; }
.pay-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.pay-feed li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e8efec;
}
.pay-feed li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pay-feed strong { font-size: 0.92rem; }
.pay-feed small { display: block; margin-top: 0.15rem; }

@media (max-width: 1100px) {
  .pay-layout { grid-template-columns: 1fr; }
  .pay-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .pay-hero { grid-template-columns: 1fr; padding: 1.1rem; }
  .pay-table-wrap { display: none; }
  .pay-cards { display: grid; }
  .pay-kpis { grid-template-columns: 1fr; }
  .pay-card-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Member detail —— */
.member-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.member-kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1rem 1.05rem;
  box-shadow: 0 1px 0 rgba(15, 107, 92, 0.04);
}
.member-kpi-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.member-kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.member-kpi-hint {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.member-today { margin-bottom: 1rem; }
.member-today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}
.member-today-grid > div {
  background: #f6faf8;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
}
.member-today-grid span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.member-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: start;
}
.member-side { display: grid; gap: 1rem; }
.member-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.member-feed li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e8efec;
}
.member-feed li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.member-feed small { display: block; margin-top: 0.15rem; }
.member-id-img {
  max-width: 100%;
  max-height: 280px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

@media (max-width: 1100px) {
  .member-detail-layout { grid-template-columns: 1fr; }
  .member-kpis { grid-template-columns: 1fr 1fr; }
  .member-today-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .member-kpis { grid-template-columns: 1fr; }
  .member-today-grid { grid-template-columns: 1fr; }
}

.panel-spaced { margin-top: 1rem; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}
.pagination-single { justify-content: flex-start; border-top: 0; }
.pagination-info {
  color: var(--muted);
  font-size: 0.85rem;
}
.pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.pagination-ellipsis {
  color: var(--muted);
  padding: 0 0.2rem;
}
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 720px) {
  .pagination { flex-direction: column; align-items: stretch; }
  .pagination-links { justify-content: center; }
}


/* —— Icon system —— */
.ico { width: 1.35em; height: 1.35em; display: block; flex-shrink: 0; }
.nav-ico {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #d7f3ec;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-ico .ico { width: 1.15rem; height: 1.15rem; }
.nav a:hover .nav-ico,
.nav .logout-form button:hover .nav-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.nav a.active .nav-ico {
  background: rgba(159, 232, 214, 0.22);
  color: #9fe8d6;
}

.topbar-help {
  gap: 0.35rem;
  padding-inline: 0.75rem;
  min-height: 36px;
  border-radius: 999px;
}
.topbar-help .ico { width: 1.1rem; height: 1.1rem; color: var(--brand); }
@media (max-width: 720px) {
  .topbar-help-label { display: none; }
  .topbar-help { padding-inline: 0.55rem; }
}

/* —— Home hub (icon-first) —— */
.hub-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 220px at 100% 0%, #cfe8e1 0%, transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f3faf7 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hub-kicker {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
}
.hub-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.hub-lead {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}
.hub-pulse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  align-content: center;
}
.hub-pulse-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}
.hub-pulse-num { font-size: 1.45rem; font-weight: 700; line-height: 1; }
.hub-pulse-ico { color: var(--brand); }
.hub-pulse-ico .ico { width: 1.5rem; height: 1.5rem; margin: 0 auto; }
.hub-pulse-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.hub-pulse-item.tone-ok .hub-pulse-num,
.hub-pulse-item.tone-ok .hub-pulse-ico { color: var(--ok); }
.hub-pulse-item.tone-warn .hub-pulse-num,
.hub-pulse-item.tone-warn .hub-pulse-ico { color: var(--warn); }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.hub-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  min-height: 148px;
  padding: 1.1rem 0.75rem 0.95rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}
.hub-tile:hover,
.hub-tile:focus-visible {
  transform: translateY(-3px);
  border-color: #b7d9cf;
  box-shadow: 0 14px 28px rgba(15, 107, 92, 0.12);
  color: var(--ink);
  outline: none;
}
.hub-tile.is-primary {
  grid-column: span 2;
  min-height: 168px;
  background: linear-gradient(160deg, #0f6b5c 0%, #148272 100%);
  color: #fff;
  border-color: transparent;
}
.hub-tile.is-primary:hover { color: #fff; }
.hub-tile.is-primary .hub-tile-hint { color: rgba(255,255,255,0.82); }
.hub-tile-ico {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.hub-tile.is-primary .hub-tile-ico {
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.hub-tile-ico .ico { width: 34px; height: 34px; }
.hub-tile.is-primary .hub-tile-ico .ico { width: 40px; height: 40px; }
.hub-tile.tone-info .hub-tile-ico { background: #e7f2fa; color: var(--info); }
.hub-tile.tone-ok .hub-tile-ico { background: #e4f6ec; color: var(--ok); }
.hub-tile.tone-warn .hub-tile-ico { background: #fff1df; color: var(--warn); }
.hub-tile.tone-danger .hub-tile-ico { background: #fdeceb; color: var(--danger); }
.hub-tile.tone-muted .hub-tile-ico { background: #eef1f0; color: var(--muted); }
.hub-tile.tone-help .hub-tile-ico { background: #efe8ff; color: #5b3db8; }
.hub-tile-title {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
}
.hub-tile-hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.hub-tile-badge {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.hub-tile.is-primary .hub-tile-badge {
  background: #fff;
  color: var(--brand-dark);
}

.hub-help-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed #b7d9cf;
}
.hub-help-banner p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.hub-help-banner > div:nth-child(2) { flex: 1; min-width: 180px; }
.hub-help-visual {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.hub-help-visual .ico { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .hub-hero { grid-template-columns: 1fr; }
  .hub-tile.is-primary { grid-column: span 2; }
}
@media (max-width: 520px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .hub-tile { min-height: 132px; padding: 0.9rem 0.5rem; }
  .hub-tile-ico { width: 54px; height: 54px; }
  .hub-pulse { grid-template-columns: repeat(3, 1fr); }
  .hub-help-banner .btn { width: 100%; }
}

/* —— Help / guide —— */
.guide-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  margin-bottom: 1.35rem;
  align-items: stretch;
}
.guide-hero-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.guide-hero-copy h3 { margin: 0 0 0.45rem; font-size: 1.45rem; }
.guide-hero-copy > p { margin: 0 0 1rem; color: var(--muted); line-height: 1.55; }
.guide-hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e8f3ef;
}
.guide-hero-media img,
.guide-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.guide-toc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7fbf9;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}
.guide-toc-chip .ico { width: 1rem; height: 1rem; color: var(--brand); }
.guide-toc-chip:hover { border-color: var(--brand); color: var(--brand-dark); }

.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
  overflow: hidden;
  scroll-margin-top: 5rem;
}
.guide-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.guide-card-head > div { flex: 1; min-width: 200px; }
.guide-card-head h3 { margin: 0 0 0.25rem; }
.guide-card-head p { margin: 0; color: var(--muted); }
.guide-card-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.guide-card-ico.tone-info { background: #e7f2fa; color: var(--info); }
.guide-card-ico.tone-ok { background: #e4f6ec; color: var(--ok); }
.guide-card-ico.tone-warn { background: #fff1df; color: var(--warn); }
.guide-card-ico.tone-danger { background: #fdeceb; color: var(--danger); }
.guide-card-ico.tone-help { background: #efe8ff; color: #5b3db8; }
.guide-card-ico .ico { width: 28px; height: 28px; }

.guide-card-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}
.guide-shot {
  margin: 0;
  background: #eef6f3;
  border-inline-end: 1px solid var(--line);
  min-height: 240px;
}
.guide-side { padding: 1rem 1.15rem 1.2rem; display: grid; gap: 1rem; }

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.guide-steps li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.45;
}
.guide-step-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.guide-demo {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0d3f37;
}
.guide-demo-screen {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.guide-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: #12352f;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.guide-demo-bar .btn { color: #e8f6f2; border-color: rgba(255,255,255,0.2); }
.guide-demo-bar .ico { width: 1rem; height: 1rem; }
.guide-demo-progress {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  max-width: 140px;
}
.guide-demo-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: #7dffc8;
  border-radius: inherit;
  transition: width 0.35s linear;
}

.demo-scene {
  position: absolute;
  inset: 0;
  padding: 1rem;
  color: #fff;
}
.demo-caption {
  position: absolute;
  bottom: 0.75rem;
  inset-inline: 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  backdrop-filter: blur(4px);
}
.demo-caption::after { content: attr(data-cap-1); }

/* Check-in demo animation */
.demo-checkin .demo-pad {
  width: min(180px, 46%);
  margin: 0.4rem auto 0;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.65rem;
}
.demo-code { display: flex; gap: 0.35rem; justify-content: center; margin-bottom: 0.55rem; }
.demo-code span {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
}
.demo-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; }
.demo-keys i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
}
.demo-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.demo-btn {
  flex: 1; height: 28px; border: 0; border-radius: 8px; opacity: 0.55;
}
.demo-btn.ok { background: #2fbf71; }
.demo-btn.warn { background: #e29a3b; }
.demo-person {
  position: absolute;
  top: 18%;
  inset-inline-end: 12%;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d8efe9, #7eb9ab);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  opacity: 0.35;
}
.guide-demo[data-step="1"] .demo-code span:nth-child(-n+2),
.guide-demo[data-step="2"] .demo-code span,
.guide-demo[data-step="3"] .demo-code span { background: #7dffc8; border-color: #7dffc8; }
.guide-demo[data-step="2"] .demo-btn.ok,
.guide-demo[data-step="3"] .demo-btn.ok { opacity: 1; transform: scale(1.04); }
.guide-demo[data-step="3"] .demo-person { opacity: 1; }
.guide-demo[data-step="2"] .demo-caption::after { content: attr(data-cap-2); }
.guide-demo[data-step="3"] .demo-caption::after { content: attr(data-cap-3); }

.demo-members .demo-card-stack { display: grid; gap: 0.45rem; width: 70%; margin: 0.5rem auto; }
.demo-mcard {
  height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  transform: scale(0.96); opacity: 0.5;
}
.demo-mcard.is-new { outline: 2px dashed rgba(125,255,200,0.5); }
.demo-plus {
  position: absolute; top: 16%; inset-inline-end: 14%;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #2fbf71; font-size: 1.5rem; font-weight: 700;
  opacity: 0.4;
}
.guide-demo[data-step="1"] .demo-mcard:nth-child(1),
.guide-demo[data-step="2"] .demo-mcard:nth-child(-n+2),
.guide-demo[data-step="3"] .demo-mcard { opacity: 1; transform: none; }
.guide-demo[data-step="2"] .demo-plus,
.guide-demo[data-step="3"] .demo-plus { opacity: 1; }
.guide-demo[data-step="3"] .demo-mcard.is-new { background: rgba(125,255,200,0.28); outline-color: #7dffc8; }

.demo-payroll .demo-coins {
  display: flex; gap: 0.4rem; justify-content: center; margin-top: 1.2rem;
}
.demo-coins i {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe7a3, #d4a017);
  opacity: 0.35;
}
.demo-bar {
  width: 70%; height: 10px; margin: 1.2rem auto;
  background: rgba(255,255,255,0.12); border-radius: 99px; overflow: hidden;
}
.demo-bar span { display: block; height: 100%; width: 12%; background: #7dffc8; transition: width 0.4s ease; }
.demo-pay-btn {
  width: 88px; height: 34px; margin: 0 auto;
  border-radius: 10px; background: #2fbf71; opacity: 0.35;
}
.guide-demo[data-step="1"] .demo-coins i:nth-child(1),
.guide-demo[data-step="2"] .demo-coins i:nth-child(-n+2),
.guide-demo[data-step="3"] .demo-coins i { opacity: 1; }
.guide-demo[data-step="2"] .demo-bar span { width: 55%; }
.guide-demo[data-step="3"] .demo-bar span { width: 100%; }
.guide-demo[data-step="3"] .demo-pay-btn { opacity: 1; }

.demo-expenses .demo-receipt {
  width: 42%; height: 58%; margin: 0.8rem auto 0;
  background: #f7faf8; border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  opacity: 0.4;
}
.demo-camera {
  position: absolute; top: 22%; inset-inline-end: 16%;
  width: 48px; height: 36px; border-radius: 8px;
  background: #333; opacity: 0.35;
}
.demo-camera::after {
  content: ""; position: absolute; inset: 8px 14px;
  border-radius: 50%; border: 2px solid #7dffc8;
}
.guide-demo[data-step="1"] .demo-receipt { opacity: 0.7; }
.guide-demo[data-step="2"] .demo-receipt { opacity: 1; }
.guide-demo[data-step="2"] .demo-camera,
.guide-demo[data-step="3"] .demo-camera { opacity: 1; }
.guide-demo[data-step="3"] .demo-receipt {
  outline: 3px solid #7dffc8;
}

.demo-projects .demo-site {
  width: 55%; height: 48%; margin: 1rem auto 0;
  background: linear-gradient(180deg, #8ec6ba, #2f6f63);
  clip-path: polygon(10% 100%, 10% 45%, 30% 45%, 30% 25%, 70% 25%, 70% 45%, 90% 45%, 90% 100%);
  opacity: 0.45;
}
.demo-link {
  width: 70%; height: 8px; margin: 1rem auto;
  border-radius: 99px; background: rgba(255,255,255,0.2);
  position: relative;
}
.demo-link::before, .demo-link::after {
  content: ""; position: absolute; top: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #7dffc8; opacity: 0.35;
}
.demo-link::before { inset-inline-start: 0; }
.demo-link::after { inset-inline-end: 0; }
.guide-demo[data-step="1"] .demo-link::before { opacity: 1; }
.guide-demo[data-step="2"] .demo-site { opacity: 1; }
.guide-demo[data-step="2"] .demo-link::after { opacity: 1; }
.guide-demo[data-step="3"] .demo-link { background: #7dffc8; }
.guide-demo[data-step="3"] .demo-link::before,
.guide-demo[data-step="3"] .demo-link::after { opacity: 1; }

.demo-welcome .demo-tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem;
  width: 70%; margin: 1.2rem auto 0;
}
.demo-tiles i {
  aspect-ratio: 1.15; border-radius: 12px;
  background: rgba(255,255,255,0.12); opacity: 0.35;
}
.demo-tiles .t1 { background: #2fbf71; }
.demo-tiles .t2 { background: #3d8fd1; }
.demo-tiles .t3 { background: #e29a3b; }
.demo-tiles .t4 { background: #c44b3f; }
.guide-demo[data-step="1"] .demo-tiles .t1 { opacity: 1; }
.guide-demo[data-step="2"] .demo-tiles .t1,
.guide-demo[data-step="2"] .demo-tiles .t2 { opacity: 1; transform: scale(1.04); }
.guide-demo[data-step="3"] .demo-tiles i { opacity: 1; }

@media (max-width: 900px) {
  .guide-hero,
  .guide-card-body { grid-template-columns: 1fr; }
  .guide-shot { border-inline-end: 0; border-bottom: 1px solid var(--line); max-height: 280px; }
}

/* —— Landing —— */
.btn-lg {
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.landing {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0b1f1b;
  color: #eef8f5;
}
.landing-nav {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  animation: landing-rise 0.6s ease both;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.landing-nav.is-scrolled {
  position: fixed;
  background: rgba(8, 28, 24, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  padding-block: 0.7rem;
}
.landing-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}
.landing-nav-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}
.landing-nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.landing-nav-brand:hover img {
  transform: rotate(-6deg) scale(1.05);
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.landing-lang .select {
  min-width: 7rem;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.landing-nav .btn-ghost {
  color: #eef8f5;
  border-color: rgba(255,255,255,0.28);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.landing-nav .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-1px);
}
.landing-nav .btn-primary {
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.landing-nav .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 107, 92, 0.35);
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.landing-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.landing-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: landing-ken 18s ease-in-out infinite alternate;
}
.landing-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.55) 0%, rgba(8, 28, 24, 0.35) 38%, rgba(8, 28, 24, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 40, 34, 0.75) 0%, transparent 55%);
  pointer-events: none;
}
.landing-hero-veil::after {
  content: "";
  position: absolute;
  inset-inline-start: -10%;
  bottom: 18%;
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 255, 200, 0.18) 0%, transparent 70%);
  animation: landing-orb 10s ease-in-out infinite;
  pointer-events: none;
}
.landing-hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: clamp(6.5rem, 14vh, 8rem) clamp(1.25rem, 5vw, 3rem) clamp(2.5rem, 6vh, 4rem);
}
.landing-hero-copy .landing-brand,
.landing-hero-copy h1,
.landing-hero-copy .landing-lead,
.landing-hero-copy .landing-cta {
  animation: landing-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-hero-copy .landing-brand { animation-delay: 0.05s; }
.landing-hero-copy h1 { animation-delay: 0.18s; }
.landing-hero-copy .landing-lead { animation-delay: 0.32s; }
.landing-hero-copy .landing-cta { animation-delay: 0.46s; }
.landing-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.landing-brand-sm {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.55rem;
}
.landing-hero-copy h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: #f3fbf8;
}
.landing-lead {
  margin: 0 0 1.6rem;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(238, 248, 245, 0.82);
}
.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.landing-cta .btn-primary {
  animation: landing-cta-glow 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}
.landing-cta .btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.landing-cta .btn:hover {
  transform: translateY(-2px);
}
.landing-cta-secondary {
  color: #eef8f5;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}
.landing-cta-secondary:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.landing-section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(800px 320px at 100% 0%, rgba(20, 130, 114, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #0f2a24 0%, #0b1f1b 100%);
}
.landing-section-features {
  background:
    radial-gradient(700px 280px at 0% 20%, rgba(45, 150, 130, 0.14) 0%, transparent 50%),
    #102e28;
}
.landing-section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.landing-section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.landing-section-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(238, 248, 245, 0.72);
}

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
  max-width: 980px;
}
.landing-benefit {
  padding-block: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.15rem;
}
.landing-benefit-num {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #7dffc8;
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.landing-benefit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: #fff;
}
.landing-benefit p {
  margin: 0;
  color: rgba(238, 248, 245, 0.72);
  line-height: 1.55;
  font-size: 0.98rem;
}

.landing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.landing-features li {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.landing-features li:nth-child(even) {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.landing-features li:nth-child(even) img { order: 2; }
.landing-features li:nth-child(even) > div { order: 1; }
.landing-features img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.landing-features li.is-inview img:hover,
.landing-features li:hover img {
  transform: scale(1.025);
  box-shadow: 0 28px 70px rgba(0,0,0,0.34);
}
.landing-features h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: #fff;
}
.landing-features p {
  margin: 0;
  color: rgba(238, 248, 245, 0.72);
  line-height: 1.55;
}

.landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: land-step;
  max-width: 980px;
}
.landing-steps li {
  counter-increment: land-step;
  display: grid;
  gap: 0.45rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.landing-steps li::before {
  content: counter(land-step, decimal-leading-zero);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #7dffc8;
  font-weight: 600;
}
.landing-steps strong {
  color: #fff;
  font-size: 1.1rem;
}
.landing-steps span {
  color: rgba(238, 248, 245, 0.72);
  line-height: 1.5;
  font-size: 0.95rem;
}

.landing-final {
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(125, 255, 200, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0f2a24 0%, #071613 100%);
  text-align: center;
}
.landing-final-inner {
  max-width: 36rem;
  margin: 0 auto;
}
.landing-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
}
.landing-final-lead {
  margin: 0 0 1.4rem;
  color: rgba(238, 248, 245, 0.78);
  line-height: 1.55;
}
.landing-support {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.landing-support p {
  margin: 0 0 0.35rem;
  color: rgba(238, 248, 245, 0.65);
  font-size: 0.9rem;
}
.landing-support-name {
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem !important;
}
.landing-support a {
  color: #7dffc8;
  font-weight: 500;
  transition: color 0.2s ease;
}
.landing-support a:hover { color: #b8ffe0; }

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(238, 248, 245, 0.55);
  font-size: 0.88rem;
  background: #071613;
}
.landing-footer a { color: rgba(238, 248, 245, 0.8); }
.landing-footer a:hover { color: #fff; }

@keyframes landing-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes landing-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landing-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(18px, -22px, 0) scale(1.12); opacity: 1; }
}
@keyframes landing-cta-glow {
  0%, 100% { box-shadow: 0 8px 22px rgba(15, 107, 92, 0.28); }
  50% { box-shadow: 0 12px 32px rgba(125, 255, 200, 0.28); }
}

/* Scroll-reveal system */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
  filter: blur(2px);
}
[data-reveal="left"] { transform: translate3d(-40px, 18px, 0); }
[data-reveal="right"] { transform: translate3d(40px, 18px, 0); }
[dir="rtl"] [data-reveal="left"] { transform: translate3d(40px, 18px, 0); }
[dir="rtl"] [data-reveal="right"] { transform: translate3d(-40px, 18px, 0); }
[data-reveal="up"] { transform: translate3d(0, 36px, 0); }
[data-reveal="zoom"] { transform: translate3d(0, 24px, 0) scale(0.92); }
[data-reveal="fade"] { transform: none; filter: blur(4px); }
[data-reveal].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.landing-anim-section {
  position: relative;
}
.landing-anim-section::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7dffc8, transparent);
  opacity: 0;
  transition: width 1s ease, opacity 0.6s ease;
  pointer-events: none;
}
.landing-anim-section.is-active::before {
  width: 100%;
  opacity: 0.55;
}

.landing-section-head h2 {
  position: relative;
  display: inline-block;
}
.landing-section-head h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: #7dffc8;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.landing-section-head.is-inview h2::after {
  width: 3.2rem;
}

.landing-hero-media img,
.landing-story-media img,
.landing-day-media img,
.landing-benefit-row img {
  --parallax-y: 0px;
}
.landing-story-media img,
.landing-day-media img,
.landing-benefit-row img {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  transition: transform 0.2s linear;
}
.landing-hero-media img {
  animation: landing-ken 18s ease-in-out infinite alternate;
}

.landing-story.is-active .landing-story-media.is-inview img {
  animation: landing-float-soft 7s ease-in-out infinite;
}
.landing-bullets li {
  transition: transform 0.35s ease, color 0.35s ease;
}
.landing-bullets li.is-inview::before {
  box-shadow: 0 0 0 5px rgba(125, 255, 200, 0.16);
  transform: scale(1.2);
  animation: landing-dot-pulse 2.4s ease-in-out infinite;
  animation-delay: calc(var(--reveal-delay, 0ms) + 0.5s);
}

.landing-benefit-row.is-inview figure img {
  animation: landing-img-settle 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-benefit-row.is-inview > div h3 {
  animation: landing-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}
.landing-benefit-row.is-inview > div p {
  animation: landing-slide-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-benefit-row.is-inview > div p:nth-of-type(1) { animation-delay: 0.18s; }
.landing-benefit-row.is-inview > div p:nth-of-type(2) { animation-delay: 0.28s; }
.landing-benefit-num {
  display: inline-block;
  transition: letter-spacing 0.45s ease, color 0.45s ease, transform 0.45s ease;
}
.landing-benefit-row.is-inview .landing-benefit-num {
  letter-spacing: 0.2em;
  transform: translateY(-2px);
  animation: landing-num-glow 2.8s ease-in-out infinite;
  animation-delay: 0.6s;
}

.landing-audience-grid article.is-inview::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, #7dffc8, transparent);
  transition: width 0.7s ease 0.15s;
}
.landing-anim-section.is-active .landing-audience-grid article.is-inview::after {
  width: 40%;
}

.landing-features li.is-inview img {
  animation: landing-img-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-features li.is-inview > div h3 {
  animation: landing-slide-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}
.landing-features li.is-inview > div p {
  animation: landing-slide-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-features li.is-inview > div p:nth-of-type(1) { animation-delay: 0.18s; }
.landing-features li.is-inview > div p:nth-of-type(2) { animation-delay: 0.28s; }

.landing-anim-section.is-active .landing-gallery figure.is-inview img {
  animation: landing-gallery-breathe 5.5s ease-in-out infinite;
}
.landing-gallery figure:nth-child(2n) img { animation-delay: 0.4s; }
.landing-gallery figure:nth-child(3n) img { animation-delay: 0.8s; }
.landing-gallery figure.is-inview figcaption {
  animation: landing-rise 0.5s ease both;
  animation-delay: 0.15s;
}

.landing-day-list li.is-inview strong {
  animation: landing-flash-text 0.8s ease both;
}
.landing-day-list li.is-inview span {
  animation: landing-slide-in 0.6s ease both;
  animation-delay: 0.12s;
}
.landing-anim-section.is-active .landing-day-media.is-inview img {
  animation: landing-float-soft 8s ease-in-out infinite;
}

.landing-steps li.is-inview::before {
  animation: landing-step-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-steps li.is-inview {
  border-top-color: rgba(125, 255, 200, 0.35);
  transition: border-color 0.5s ease;
}
.landing-steps li.is-inview strong {
  animation: landing-slide-in 0.55s ease both;
  animation-delay: 0.08s;
}
.landing-steps li.is-inview span {
  animation: landing-slide-in 0.55s ease both;
  animation-delay: 0.16s;
}

.landing-howto-photos img.is-inview {
  animation: landing-img-settle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-anim-section.is-active .landing-howto-photos img.is-inview {
  animation: landing-img-settle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both,
             landing-float-soft 6.5s ease-in-out 0.9s infinite;
}

.landing-include-list li.is-inview::before {
  animation: landing-dot-pulse 2.2s ease-in-out infinite;
  animation-delay: calc(var(--reveal-delay, 0ms) + 0.4s);
}

.landing-final.is-active {
  animation: landing-final-wash 8s ease-in-out infinite;
}
.landing-final .btn-primary {
  animation: landing-cta-glow 2.4s ease-in-out infinite;
}
.landing-final.is-active .landing-brand-sm {
  animation: landing-brand-shimmer 3.2s ease-in-out infinite;
}

@keyframes landing-img-settle {
  from { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08); filter: saturate(0.8) brightness(0.92); }
  to { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02); filter: saturate(1) brightness(1); }
}
@keyframes landing-float-soft {
  0%, 100% { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02); }
  50% { transform: translate3d(0, calc(var(--parallax-y, 0px) - 8px), 0) scale(1.035); }
}
@keyframes landing-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 255, 200, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(125, 255, 200, 0.08); }
}
@keyframes landing-num-glow {
  0%, 100% { color: #7dffc8; text-shadow: none; }
  50% { color: #b8ffe0; text-shadow: 0 0 18px rgba(125, 255, 200, 0.35); }
}
@keyframes landing-slide-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes landing-gallery-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
@keyframes landing-flash-text {
  from { opacity: 0.35; letter-spacing: 0.12em; }
  to { opacity: 1; letter-spacing: 0.04em; }
}
@keyframes landing-step-pop {
  from { transform: scale(0.7); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes landing-final-wash {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.08); }
}
@keyframes landing-brand-shimmer {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 transparent; }
  50% { opacity: 1; text-shadow: 0 0 28px rgba(125, 255, 200, 0.35); }
}

@media (max-width: 860px) {
  .landing-benefits,
  .landing-steps { grid-template-columns: 1fr; }
  .landing-features li,
  .landing-features li:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .landing-features li:nth-child(even) img,
  .landing-features li:nth-child(even) > div { order: initial; }
  .landing-nav-login { display: none; }
  .landing-hero-copy h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero-media img,
  .landing-nav,
  .landing-hero-copy .landing-brand,
  .landing-hero-copy h1,
  .landing-hero-copy .landing-lead,
  .landing-hero-copy .landing-cta,
  .landing-cta .btn-primary,
  .landing-hero-veil::after,
  .landing-benefit-row.is-inview figure img,
  .landing-anim-section.is-active .landing-story-media.is-inview img,
  .landing-anim-section.is-active .landing-day-media.is-inview img,
  .landing-anim-section.is-active .landing-gallery figure.is-inview img,
  .landing-anim-section.is-active .landing-howto-photos img.is-inview,
  .landing-final.is-active,
  .landing-final .btn-primary,
  .landing-final.is-active .landing-brand-sm,
  .landing-benefit-row.is-inview .landing-benefit-num,
  .landing-bullets li.is-inview::before,
  .landing-include-list li.is-inview::before {
    animation: none !important;
  }
  .landing-hero-media img,
  .landing-story-media img,
  .landing-day-media img,
  .landing-benefit-row img {
    transform: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .landing-anim-section::before,
  .landing-section-head h2::after {
    display: none !important;
  }
}

.landing-nav-links {
  display: none;
  gap: 1rem;
  align-items: center;
}
.landing-nav-links a {
  color: rgba(238, 248, 245, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}
.landing-nav-links a:hover { color: #fff; }
@media (min-width: 1100px) {
  .landing-nav-links { display: flex; }
}

.landing-story-grid,
.landing-day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
}
.landing-story-media,
.landing-day-media {
  margin: 0;
  overflow: hidden;
}
.landing-story-media img,
.landing-day-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-story-media:hover img,
.landing-day-media:hover img {
  transform: scale(1.04);
}
.landing-day-media img { aspect-ratio: 16 / 10; }
.landing-bullets {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.landing-bullets li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: rgba(238, 248, 245, 0.8);
  line-height: 1.55;
}
.landing-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7dffc8;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.landing-bullets li.is-inview::before {
  box-shadow: 0 0 0 4px rgba(125, 255, 200, 0.15);
  transform: scale(1.15);
}

.landing-benefit-rows {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  max-width: 1100px;
}
.landing-benefit-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.landing-benefit-row.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.landing-benefit-row.reverse figure { order: 2; }
.landing-benefit-row.reverse > div { order: 1; }
.landing-benefit-row figure { margin: 0; overflow: hidden; }
.landing-benefit-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 50px rgba(0,0,0,0.26);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-benefit-row:hover img {
  transform: scale(1.03);
}
.landing-benefit-row h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: #fff;
}
.landing-benefit-row > div > p {
  margin: 0 0 0.75rem;
  color: rgba(238, 248, 245, 0.78);
  line-height: 1.6;
}
.landing-extra {
  color: rgba(238, 248, 245, 0.62) !important;
  font-size: 0.95rem;
}

.landing-audience {
  background:
    radial-gradient(700px 260px at 80% 0%, rgba(125, 255, 200, 0.08) 0%, transparent 55%),
    #0d2621;
}
.landing-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 1100px;
}
.landing-audience-grid article {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.landing-audience-grid h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.15rem;
}
.landing-audience-grid p {
  margin: 0;
  color: rgba(238, 248, 245, 0.72);
  line-height: 1.55;
  font-size: 0.98rem;
}

.landing-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
}
.landing-gallery figure {
  margin: 0;
}
.landing-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.landing-gallery figure:hover img {
  transform: scale(1.035);
  box-shadow: 0 22px 48px rgba(0,0,0,0.3);
}
.landing-gallery figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(238, 248, 245, 0.75);
  transition: color 0.25s ease, transform 0.25s ease;
}
.landing-gallery figure:hover figcaption {
  color: #7dffc8;
  transform: translateY(2px);
}

.landing-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.landing-day-list li {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.landing-day-list strong {
  color: #7dffc8;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.landing-day-list span {
  color: rgba(238, 248, 245, 0.78);
  line-height: 1.55;
}

.landing-howto-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 1100px;
}
.landing-howto-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.landing-howto-photos img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 44px rgba(0,0,0,0.3);
}

.landing-audience-grid article {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.landing-audience-grid article.is-inview:hover {
  border-top-color: rgba(125, 255, 200, 0.55);
  transform: translateY(-3px);
}
.landing-include-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 0.75rem;
}
.landing-include-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: rgba(238, 248, 245, 0.8);
  line-height: 1.5;
}
.landing-include-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7dffc8;
}

@media (max-width: 860px) {
  .landing-story-grid,
  .landing-day-grid,
  .landing-benefit-row,
  .landing-benefit-row.reverse,
  .landing-audience-grid,
  .landing-gallery,
  .landing-howto-photos {
    grid-template-columns: 1fr;
  }
  .landing-benefit-row.reverse figure,
  .landing-benefit-row.reverse > div { order: initial; }
  .landing-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact & support page */
.contact-hero-body {
  padding: 1.25rem 0.25rem 0.5rem;
}
.contact-hero-body h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.35rem;
}
.contact-details {
  padding: 0.75rem 0.25rem 1rem;
}
.contact-person {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.contact-person strong {
  font-size: 1.15rem;
  color: var(--ink);
}
.contact-name-ar {
  color: var(--muted);
  font-weight: 600;
}
.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.contact-links li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 4%, transparent);
}
.contact-label {
  min-width: 5.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-links a {
  color: var(--brand);
  font-weight: 700;
}
.contact-links a:hover {
  text-decoration: underline;
}
.contact-notes {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f4f7f6;
  color: var(--ink);
  line-height: 1.5;
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}
