@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@600;700&display=swap');

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-soft: #fbfcfd;
  --ink: #101828;
  --muted: #475467;
  --line: #dfe5ea;
  --line-strong: #c9d4da;
  --primary: #008080;
  --primary-strong: #006666;
  --accent: #f2994a;
  --danger: #b42318;
  --ok-bg: #eef8f7;
  --ok-line: #c9e4df;
  --ok-ink: #00716b;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.page-auth {
  background: var(--bg);
}

.page-dashboard {
  background: var(--bg);
}

a {
  color: var(--primary);
}

.site-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
}

.page-auth .site-header {
  position: static;
  box-shadow: none;
  border-radius: 12px;
  margin-bottom: 14px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-auth .site-header nav {
  margin-left: auto;
}

.site-header nav a,
.site-header nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  background: #fff;
  border: 1px solid transparent;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.site-header nav a:hover,
.site-header nav button:hover {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.site-header nav a.active {
  border-color: #bfdedb;
  background: #edf8f7;
  color: var(--primary-strong);
}

main {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.hero>div,
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

.hero h1 {
  margin: 8px 0 10px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4.5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.hero-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: 'Outfit', sans-serif;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.hero-card li {
  margin: 0 0 8px;
  color: #344054;
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.role-card {
  display: grid;
  gap: 10px;
}

.role-card h2,
h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.role-card p {
  margin: 0;
  color: var(--muted);
}

.page-landing {
  background:
    radial-gradient(1200px 540px at 10% -8%, #d9f1ee 0%, transparent 55%),
    radial-gradient(1000px 480px at 92% 0%, #f8eddc 0%, transparent 58%),
    #eef2f5;
}

.landing-main {
  display: grid;
  gap: 16px;
}

.landing-main .card {
  border-radius: 20px;
  border-color: #d6e0e7;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 14px;
}

.landing-hero-content {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #f4faf9 100%);
}

.landing-hero-content::after {
  content: '';
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0, 128, 128, 0.16), rgba(0, 128, 128, 0));
  pointer-events: none;
}

.landing-hero-content h1 {
  margin: 10px 0 12px;
  max-width: 16ch;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.landing-hero-content .muted {
  max-width: 68ch;
  font-size: 18px;
  color: #344054;
}

.landing-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-metrics article {
  border: 1px solid #d6e5ea;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.landing-metrics strong {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.landing-metrics span {
  font-size: 13px;
  color: #475467;
}

.landing-hero-side {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.landing-hero-side h3 {
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.landing-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.landing-checklist li {
  position: relative;
  padding-left: 26px;
  color: #344054;
}

.landing-checklist li::before {
  content: '●';
  position: absolute;
  left: 8px;
  top: 1px;
  color: var(--primary);
  font-size: 12px;
}

.landing-highlight {
  border: 1px dashed #b7d7d3;
  border-radius: 14px;
  background: #ecf8f6;
  padding: 12px;
}

.landing-highlight p {
  margin: 0;
  color: #0f513f;
}

.landing-section {
  display: grid;
  gap: 12px;
}

.section-head {
  display: grid;
  gap: 6px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.step-card {
  display: grid;
  gap: 8px;
  min-height: 176px;
  background: linear-gradient(145deg, #ffffff, #f6fafb);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e7f5f2;
  color: #075f5b;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.step-card h3,
.security-card h3,
.landing-roles h3,
.faq-grid h3 {
  margin: 0;
  font-size: 21px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
}

.step-card p,
.security-card p,
.landing-roles p,
.faq-grid p {
  margin: 0;
  color: #475467;
}

.landing-security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.security-card {
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.landing-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-roles .role-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.role-customer {
  background: linear-gradient(180deg, #ffffff, #eef8f7);
}

.role-freelancer {
  background: linear-gradient(180deg, #ffffff, #f4f7fe);
}

.role-admin {
  background: linear-gradient(180deg, #ffffff, #fff5ec);
}

.landing-faq {
  padding: 22px;
  display: grid;
  gap: 12px;
  background: linear-gradient(165deg, #ffffff, #f8fafc);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-grid article {
  background: #fff;
  border: 1px solid #dce5eb;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 7px;
}

.landing-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(130deg, #0b3f3e, #11635f);
  color: #f2fffd;
}

.landing-final-cta .eyebrow {
  color: #88f3d8;
}

.landing-final-cta h2 {
  margin: 0;
  max-width: 22ch;
  color: #f2fffd;
  font-size: clamp(23px, 3vw, 36px);
}

.landing-final-cta .btn-row {
  justify-content: flex-end;
}

.landing-final-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.landing-final-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.38);
}

h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 14px;
}

.app-shell .site-header {
  margin: 0;
  min-height: calc(100vh - 36px);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 16px;
  gap: 14px;
}

.app-shell .site-header .brand {
  margin-bottom: 6px;
}

.app-shell .site-header nav {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.app-shell .site-header nav a,
.app-shell .site-header nav button {
  width: 100%;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}

.app-shell .site-header nav a.active {
  background: #edf8f7;
  border-color: #bfdedb;
  color: var(--primary-strong);
}

.app-shell .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-grid .card {
  grid-column: span 6;
}

.dashboard-grid .card.wide {
  grid-column: span 12;
}

.stack-form {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.stack-form.two-col {
  grid-template-columns: 1fr 1fr;
}

.stack-form .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea,
button,
a.btn-primary,
a.btn-ghost,
.btn-danger {
  font-family: inherit;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 128, 128, 0.14);
  border-color: #7fc4bf;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-primary,
.btn-ghost,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  padding: 10px 13px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #0a8f8a 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.22);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface-soft);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--line-strong);
  color: var(--ink);
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.inline-inputs {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.inline-inputs.triple {
  grid-template-columns: 1fr 1fr auto;
}

.list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.list .item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 10px;
  font-size: 13px;
  color: #1f2937;
}

.list .item.urgent {
  border-color: #f7c5c1;
  background: #fff6f6;
}

.chat-box {
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  margin-top: 10px;
}

.chat-box--threaded {
  display: grid;
  gap: 10px;
  max-height: 360px;
  background: linear-gradient(180deg, #fbfcfd 0%, #ffffff 100%);
}

.thread-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.thread-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.thread-item.active {
  border-color: #a8d8d4;
  background: #eff9f8;
}

.thread-item p,
.thread-item small {
  margin: 0;
  color: var(--muted);
}

.thread-item p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink);
}

.thread-item small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.thread-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.thread-badge {
  display: inline-flex;
  align-items: center;
  min-width: 24px;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf8f7;
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 800;
}

.chat-pane {
  display: grid;
  gap: 10px;
}

.chat-pane-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.chat-pane-head h2 {
  margin-top: 2px;
}

.chat-bubble {
  display: grid;
  gap: 4px;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.chat-bubble strong {
  font-size: 12px;
}

.chat-bubble p {
  margin: 0;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message-content {
  display: grid;
  gap: 8px;
}

.chat-message-text {
  margin: 0;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-map-preview {
  border: 1px solid #d9e3ea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.chat-map-preview iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
}

.chat-map-link {
  display: block;
  text-align: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #087f7a;
  text-decoration: none;
  border-top: 1px solid #e5edf2;
}

.chat-bubble small {
  font-size: 11px;
  color: var(--muted);
}

.chat-bubble.me {
  justify-self: end;
  background: #edf8f7;
  border-color: #cbe5e1;
}

.chat-bubble.them {
  justify-self: start;
  background: #fff;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-compose input[type='text'] {
  min-width: 0;
}

.chat-compose button {
  min-width: 92px;
}

.page-freelancer-chat-room .chat-main-full,
.page-customer-chat-room .chat-main-full {
  padding: 0;
  display: grid;
  grid-template-rows: 1fr;
}

.page-freelancer-chat-room .mobile-app-shell,
.page-customer-chat-room .mobile-app-shell {
  min-height: 100dvh;
  grid-template-rows: auto 1fr;
}

.page-freelancer-chat-room .chat-pane-full,
.page-customer-chat-room .chat-pane-full {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  min-height: calc(100dvh - 72px);
  padding: 10px 12px 12px;
}

.page-freelancer-chat-room .chat-box,
.page-customer-chat-room .chat-box {
  min-height: 0;
  height: 100%;
  max-height: none;
}

.page-freelancer-chat-room .chat-box--threaded,
.page-customer-chat-room .chat-box--threaded {
  max-height: none;
}

.page-freelancer-chat-room .chat-compose,
.page-customer-chat-room .chat-compose {
  position: sticky;
  bottom: 0;
  padding: 6px 0 calc(4px + env(safe-area-inset-bottom, 0px));
  background: #f3f6fb;
}

.chat-otp-panel {
  background: #f0f9f9;
  border: 1px solid #d1e3df;
  border-radius: 12px;
  padding: 10px;
  margin: 0;
  text-align: center;
}

.chat-otp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.chat-otp-head p {
  margin: 0;
  color: #666;
  font-size: 12px;
  text-align: left;
}

.chat-otp-panel small {
  color: #7b8794;
  display: block;
  margin-top: 6px;
}

.chat-otp-value {
  font-size: 24px;
  font-weight: 800;
  color: #087f7a;
  margin: 0;
  letter-spacing: 2px;
  font-family: monospace;
}

.chat-otp-value.masked {
  letter-spacing: 4px;
  -webkit-text-security: disc;
}

.page-freelancer-chat-room .mobile-bottom-nav,
.page-customer-chat-room .mobile-bottom-nav {
  display: none;
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 150px);
}

.page-auth .auth-wrap {
  min-height: calc(100vh - 110px);
}

.auth-card {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.page-auth .auth-card {
  max-width: 430px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
}

.auth-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.status-line {
  display: none !important;
}

.page-auth .status-line {
  display: block !important;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.page-auth .status-line.is-loading,
.page-auth .status-line.is-info {
  border-color: #cfe1e6;
  background: #f2f8fa;
  color: #37596b;
}

.page-auth .status-line.is-success {
  border-color: #b8e2ce;
  background: #effbf4;
  color: #1f6f46;
}

.page-auth .status-line.is-error {
  border-color: #efc7c2;
  background: #fff3f2;
  color: #9d2417;
}

.stack-form .btn-primary.is-loading {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

.auth-step {
  margin-bottom: 20px;
}

.form-section {
  margin-bottom: 24px;
  padding: 16px;
  background: #f5f7fa;
  border-radius: 12px;
}

.form-section h3 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-section p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #666;
}

.form-section>small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

.btn-link {
  background: none;
  border: none;
  color: #2980b9;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 0;
  text-decoration: underline;
  font-weight: 500;
}

.btn-link:hover {
  color: #1a5490;
}

.page-customer-mobile {
  background: #ffffff;
}

.mobile-app-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.mobile-app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--primary);
  color: #fff;
}

.mobile-app-header h1 {
  margin: 2px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.mobile-app-header .btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
}

.mobile-app-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-app-header .header-profile-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
}

.mobile-app-header .header-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-app-header .header-profile-initial {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.mobile-eyebrow {
  margin: 0;
  font-size: 11px;
  opacity: 0.86;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-app-main {
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

body.page-customer-post .mobile-app-main {
  padding-top: 16px;
}

body.page-customer-post .post-menu-shell {
  position: relative;
  z-index: 1;
}

body.page-customer-post .map-shell {
  margin-top: 4px;
}

.mobile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.06);
}

.post-menu-shell {
  padding: 10px;
}

.post-menu-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.post-menu-tab {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.post-menu-tab.active {
  background: #edf8f7;
  color: var(--primary-strong);
  border-color: #bfdedb;
}

.post-pane {
  display: grid;
  gap: 12px;
}

.inner-card {
  box-shadow: none;
  border-radius: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.post-pane[hidden] {
  display: none !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stats-grid article {
  border: 1px solid #d7ece9;
  border-radius: 10px;
  padding: 10px;
  background: #f5fbfa;
}

.stats-grid p {
  margin: 0;
  font-size: 12px;
  color: #406a67;
}

.stats-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: #0c5a57;
}

.mobile-card .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mobile-bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 10px 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  color: #667085;
  padding: 9px 6px;
  border-radius: 10px;
}

.mobile-bottom-nav .nav-icon {
  width: 18px;
  height: 18px;
  color: #8b95a5;
  display: inline-flex;
}

.mobile-bottom-nav .nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-bottom-nav .nav-label {
  font-size: 11px;
}

.mobile-bottom-nav a.active {
  background: #edf8f7;
  color: var(--primary-strong);
}

.mobile-bottom-nav a.active .nav-icon {
  color: var(--primary-strong);
}

.app-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(10, 143, 138, 0.12);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.app-progress.is-visible {
  opacity: 1;
}

.app-progress .app-progress-bar {
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, #008080, #23b6b0);
  box-shadow: 0 0 12px rgba(0, 128, 128, 0.4);
  animation: app-progress-slide 1s ease-in-out infinite;
}

@keyframes app-progress-slide {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(140%);
  }

  100% {
    transform: translateX(280%);
  }
}

.mobile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-action {
  display: grid;
  gap: 6px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.quick-action strong {
  font-size: 15px;
}

.quick-action span {
  font-size: 12px;
  color: var(--muted);
}

.mobile-note {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

.skeleton-list {
  display: grid;
  gap: 10px;
}

.skeleton-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.skeleton-card.compact {
  border-radius: 12px;
  padding: 10px;
  gap: 6px;
}

.skeleton-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8eef3 0%, #f4f8fb 48%, #e8eef3 100%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.1s ease-in-out infinite;
}

.skeleton-line.w-70 {
  width: 70%;
}

.skeleton-line.w-45 {
  width: 45%;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -20% 0;
  }
}

.page-customer-home .home-main {
  gap: 10px;
  padding-top: 10px;
}

.home-hero,
.home-actions,
.home-promos,
.home-tasks {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 30, 66, 0.07);
  padding: 12px;
}

.home-hero {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2) 0 18%, transparent 19%),
    linear-gradient(145deg, #0a8f8a 0%, #007272 100%);
}

.home-hero h2 {
  margin: 2px 0 4px;
  font-size: 21px;
  color: #fff;
}

.home-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.page-customer-home .home-hero .mobile-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.page-customer-home .home-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.home-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: -6px;
}

.home-stats-strip article {
  border: 1px solid #e3eaef;
  border-radius: 14px;
  padding: 11px 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  text-align: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.home-stats-strip p {
  margin: 0;
  color: #4a6577;
  font-size: 11px;
}

.home-stats-strip strong {
  display: block;
  margin-top: 2px;
  color: #055f59;
  font-size: 20px;
  line-height: 1.1;
}

.home-action-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.home-action-chip {
  display: grid;
  gap: 2px;
  text-decoration: none;
  border: 1px solid #e3eaef;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  padding: 10px;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-action-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(9, 30, 66, 0.09);
}

.home-action-chip strong {
  font-size: 14px;
}

.home-action-chip span {
  color: var(--muted);
  font-size: 12px;
}

.home-link-more {
  border: 0;
  background: transparent;
  color: #0a7a73;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.home-promo-track {
  margin-top: 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}

.home-promo-track::-webkit-scrollbar {
  height: 5px;
}

.home-promo-track::-webkit-scrollbar-thumb {
  background: #d8e4e3;
  border-radius: 999px;
}

.home-promo-card {
  scroll-snap-align: start;
  position: relative;
  min-height: 124px;
  border-radius: 16px;
  padding: 12px;
  color: #fff;
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: hidden;
  text-decoration: none;
}

.home-promo-card::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  right: -16px;
  top: -16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.home-promo-card strong {
  position: relative;
  z-index: 1;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-promo-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.home-promo-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 800;
}

.home-promo-card.teal {
  background: linear-gradient(140deg, #0a8f8a 0%, #006f6b 100%);
}

.home-promo-card.blue {
  background: linear-gradient(140deg, #1d7da6 0%, #175f8f 100%);
}

.home-promo-card.mint {
  background: linear-gradient(140deg, #0d988f 0%, #04796f 100%);
}

.home-promo-card.aqua {
  background: linear-gradient(140deg, #1a8b90 0%, #136c78 100%);
}

.promo-page .promo-list-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.info-detail {
  margin-top: 8px;
}

.info-detail-header {
  background: linear-gradient(140deg, #0a8f8a 0%, #006f6b 100%);
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  margin-bottom: 16px;
}

.info-detail-header .home-promo-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-detail-header strong {
  font-size: 20px;
  line-height: 1.2;
  display: block;
  margin: 8px 0;
  letter-spacing: -0.01em;
}

.info-detail-header p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.info-detail-content {
  background: #fff;
  border: 1px solid #e3eaef;
  border-radius: 14px;
  padding: 16px;
}

.info-detail-content h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #0a8f8a;
}

.info-detail-content p {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475467;
}

.info-detail-content p:last-child {
  margin-bottom: 0;
}

.info-detail-content strong {
  color: #101828;
  font-weight: 600;
}

.home-task-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.home-task-row {
  border: 1px solid #e3eaef;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  padding: 10px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.home-task-row.empty {
  color: var(--muted);
  font-size: 13px;
}

.home-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-task-head strong {
  font-size: 14px;
  line-height: 1.3;
}

.home-task-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-task-status {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-task-status.open {
  color: #055f59;
  background: #eaf8f6;
}

.home-task-status.assigned {
  color: #a95b15;
  background: #fff4e6;
}

.home-task-status.done {
  color: #245f35;
  background: #e8f8ea;
}

.home-task-urgent {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #b42318;
  background: #fef3f2;
}

.compact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #344054;
  font-weight: 700;
}

.btn-small {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.bidder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.bidder-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bidder-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.bidder-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf8f7;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf8f7;
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 800;
}

.bidder-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.bid-note {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #475467;
}

.bid-note.info {
  color: #475467;
}

.bid-note.success {
  color: #0a7a73;
}

.bid-note.error {
  color: #b42318;
}

.location-panel {
  display: grid;
  gap: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface-soft);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8f7;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
}

.location-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.location-preview small {
  color: var(--muted);
  display: block;
}

.location-preview strong {
  display: block;
  margin-top: 2px;
}

.location-actions {
  display: grid;
  gap: 8px;
}

.map-shell {
  display: grid;
  gap: 6px;
}

.map-canvas {
  width: 100%;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.map-shell small {
  color: var(--muted);
  font-size: 12px;
}

.report-filter {
  display: grid;
  gap: 8px;
}

.report-item {
  border-left: 4px solid var(--accent);
}

.settings-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #fff;
}

.settings-avatar-fallback {
  display: grid;
  place-items: center;
  background: #edf8f7;
  color: var(--primary-strong);
  font-size: 26px;
  font-weight: 800;
}

.settings-avatar-actions {
  display: grid;
  gap: 6px;
}

.settings-avatar-actions small {
  color: var(--muted);
  font-size: 12px;
}

.manage-post-item {
  display: grid;
  gap: 8px;
}

.manage-post-item.locked {
  opacity: 0.9;
}

.manage-post-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.manage-post-head strong {
  display: block;
  font-size: 15px;
}

.manage-post-head p,
.manage-post-desc {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.manage-post-desc {
  color: #1f2937;
}

.post-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.post-status.open {
  background: #edf8f7;
  color: var(--primary-strong);
}

.post-status.assigned {
  background: #fff4e6;
  color: #b05a18;
}

.post-status.done {
  background: #eef4ff;
  color: #3952a3;
}

.post-status.cancelled {
  background: #fef3f2;
  color: #b42318;
}

.manage-post-item .btn-row .btn-small:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.topup-preset-head {
  display: grid;
  gap: 2px;
}

.topup-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.topup-preset-btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  text-align: left;
  display: grid;
  gap: 2px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}

.topup-preset-btn strong {
  font-size: 15px;
}

.topup-preset-btn span {
  font-size: 12px;
  color: var(--muted);
}

.topup-preset-btn.active {
  border-color: #7fc4bf;
  background: #edf8f7;
  box-shadow: 0 2px 10px rgba(0, 128, 128, 0.1);
}

.topup-selected-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.topup-selected-pill strong {
  font-size: 14px;
}

.topup-selected-pill span {
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-customer-mobile {
    background: #eef3f6;
  }

  .page-customer-mobile .mobile-app-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    grid-template-rows: auto 1fr auto;
  }

  .page-customer-mobile .mobile-app-header {
    padding: 16px 18px;
  }

  .page-customer-mobile .mobile-app-main {
    padding: 16px;
    gap: 12px;
  }

  .page-customer-mobile .mobile-card {
    border-radius: 16px;
  }
}

@media (min-width: 1024px) {
  .page-customer-mobile .mobile-app-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-template-rows: auto 1fr;
  }

  .page-customer-mobile .mobile-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    flex-wrap: nowrap;
  }

  .page-customer-mobile .mobile-app-main {
    padding: 18px 20px 24px;
  }

  .page-customer-mobile .mobile-bottom-nav {
    display: none;
  }

  .page-customer-mobile .desktop-top-nav-wrap {
    min-width: 0;
  }

  .page-customer-mobile .desktop-top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    overflow: visible;
    scrollbar-width: none;
  }

  .page-customer-mobile .desktop-top-nav::-webkit-scrollbar {
    display: none;
  }

  .page-customer-mobile .desktop-top-nav-link,
  .page-customer-mobile .desktop-top-nav-dropdown>summary {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
    cursor: pointer;
    list-style: none;
  }

  .page-customer-mobile .desktop-top-nav-link:hover,
  .page-customer-mobile .desktop-top-nav-dropdown>summary:hover {
    opacity: 1;
  }

  .page-customer-mobile .desktop-top-nav-link.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .page-customer-mobile .desktop-top-nav-dropdown {
    position: relative;
  }

  .page-customer-mobile .desktop-top-nav-dropdown>summary::-webkit-details-marker {
    display: none;
  }

  .page-customer-mobile .desktop-top-nav-dropdown>summary::after {
    content: ' ▾';
    font-size: 12px;
  }

  .page-customer-mobile .desktop-top-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 180px;
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 28px rgba(4, 30, 30, 0.25);
    z-index: 30;
  }

  .page-customer-mobile .desktop-top-nav-dropdown:not([open]) .desktop-top-nav-dropdown-menu {
    display: none;
  }

  .page-customer-mobile .desktop-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .page-customer-mobile .desktop-top-nav-wrap {
    min-width: 0;
  }

  .page-customer-mobile .desktop-extra-action {
    white-space: nowrap;
  }

  .page-customer-mobile .desktop-profile-link {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-decoration: none;
  }

  .page-customer-mobile .desktop-logout-btn.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
    box-shadow: none;
  }

  .page-customer-mobile .desktop-logout-btn.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell .site-header {
    min-height: auto;
    position: sticky;
    top: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .app-shell .site-header nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .app-shell .site-header nav a,
  .app-shell .site-header nav button {
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-steps,
  .landing-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-roles {
    grid-template-columns: 1fr;
  }

  .landing-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-final-cta .btn-row {
    justify-content: flex-start;
  }

  .dashboard-grid .card,
  .dashboard-grid .card.wide {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 10px;
  }

  .site-header {
    padding: 10px;
    top: 8px;
  }

  .page-landing .site-header,
  .page-auth .site-header {
    flex-direction: row;
    align-items: center;
  }

  .page-landing .site-header nav,
  .page-auth .site-header nav {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
  }

  .page-landing .site-header nav a,
  .page-auth .site-header nav a,
  .page-auth .site-header nav button {
    width: auto;
    justify-content: center;
    padding: 8px 10px;
    font-size: 13px;
  }

  .page-dashboard .site-header,
  .app-shell .site-header {
    position: sticky;
    top: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .page-dashboard .site-header nav,
  .app-shell .site-header nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .page-dashboard .site-header nav a,
  .page-dashboard .site-header nav button,
  .app-shell .site-header nav a,
  .app-shell .site-header nav button {
    width: 100%;
    justify-content: center;
  }

  .page-auth .brand,
  .page-landing .brand {
    font-size: 22px;
  }

  .page-auth .auth-card {
    border-radius: 14px;
    padding: 18px;
  }

  .page-auth .auth-card h1 {
    font-size: 30px;
  }

  .landing-main {
    gap: 12px;
  }

  .landing-hero-content,
  .landing-hero-side,
  .landing-faq,
  .landing-final-cta {
    padding: 16px;
    border-radius: 16px;
  }

  .landing-hero-content h1 {
    font-size: clamp(31px, 11vw, 42px);
    max-width: 100%;
  }

  .landing-hero-content .muted {
    font-size: 15px;
  }

  .landing-metrics {
    grid-template-columns: 1fr;
  }

  .landing-steps,
  .landing-security-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .section-head h2 {
    font-size: clamp(24px, 8vw, 31px);
  }

  .stack-form.two-col,
  .inline-inputs,
  .inline-inputs.triple {
    grid-template-columns: 1fr;
  }

  .location-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .location-actions {
    grid-template-columns: 1fr 1fr;
  }

  .topup-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-customer-mobile .mobile-app-main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
  }

  .page-customer-home .mobile-app-main.home-main,
  .page-freelancer-home .mobile-app-main.home-main {
    display: grid;
    gap: 14px;
    align-content: start;
    grid-template-columns: 1fr;
  }

  .page-customer-home .home-action-chips,
  .page-freelancer-home .home-action-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-customer-home .home-task-list,
  .page-freelancer-home .home-task-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-customer-home .home-task-row.empty,
  .page-freelancer-home .home-task-row.empty {
    grid-column: 1 / -1;
  }

  .page-customer-home .home-promo-track {
    grid-auto-columns: minmax(320px, 45%);
  }

  .page-freelancer-home .home-stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
  }
}

.page-admin-modern {
  background: linear-gradient(180deg, #f5f8fa 0%, #eef4f7 100%);
}

.page-admin-modern .status-line {
  display: block !important;
  margin: 10px 0 0;
  color: #395b67;
  font-size: 12px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
}

.admin-sidebar {
  background: linear-gradient(180deg, #0a8f8a 0%, #087774 58%, #066563 100%);
  color: #fff;
  padding: 18px 14px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-brand {
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.admin-sidebar-note {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a,
.admin-nav-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  display: block;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}

.admin-nav a:hover,
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.admin-nav a.active,
.admin-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
}

.admin-sidebar-foot {
  margin-top: auto;
}

.admin-sidebar-foot .btn-ghost {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.admin-main {
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-topbar {
  background: #fff;
  border: 1px solid #d9e4ea;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(8, 40, 60, 0.07);
}

.admin-eyebrow {
  margin: 0;
  color: #0a7a73;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
  font-weight: 800;
}

.admin-topbar h1 {
  margin: 2px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.admin-topbar-actions {
  display: flex;
  gap: 8px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.admin-metric-card {
  grid-column: span 3;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dbe5ec;
  box-shadow: 0 6px 14px rgba(7, 40, 56, 0.06);
  display: grid;
  gap: 6px;
}

.admin-metric-card.wide {
  grid-column: span 12;
}

.admin-metric-card p {
  margin: 0;
  font-size: 12px;
  color: #4f6572;
}

.admin-metric-card strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f1720;
}

.admin-metric-card small {
  font-size: 12px;
  color: #6a7f8c;
}

.admin-metric-card.teal {
  border-color: #c8e8e3;
  background: linear-gradient(180deg, #ffffff 0%, #f2fbfa 100%);
}

.admin-metric-card.mint {
  border-color: #d5ece8;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.admin-metric-card.sun {
  border-color: #f0dfbc;
  background: linear-gradient(180deg, #fffdfa 0%, #fff8ec 100%);
}

.admin-metric-card.amber {
  border-color: #efdbc8;
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
}

.admin-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-panel {
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(7, 40, 56, 0.06);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 22px;
}

.admin-panel-head p {
  margin: 4px 0 0;
  color: #617888;
  font-size: 12px;
}

.admin-inline-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-inline-form input {
  width: 140px;
}

.admin-table-wrap {
  border: 1px solid #e2eaf0;
  border-radius: 12px;
  overflow: auto;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
  vertical-align: top;
}

.admin-table th {
  color: #5a7484;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f8fbfd;
}

.admin-table td strong {
  font-size: 13px;
}

.admin-table td small {
  color: #708692;
}

.admin-empty-cell {
  text-align: center !important;
  color: #708692;
  font-size: 12px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-muted {
  color: #708692;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 10px;
  }

  .admin-sidebar-foot {
    margin-top: 0;
  }

  .admin-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-nav a,
  .admin-nav-link {
    text-align: center;
  }

  .admin-metric-card {
    grid-column: span 6;
  }

  .admin-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-main {
    padding: 12px;
  }

  .admin-topbar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-topbar-actions {
    justify-content: flex-end;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-metric-card,
  .admin-metric-card.wide {
    grid-column: span 12;
  }

  .admin-inline-form {
    width: 100%;
  }

  .admin-inline-form input {
    width: 100%;
  }
}