:root {
  color-scheme: light;
  --ink: #151827;
  --muted: #6f7688;
  --line: #e7e9f2;
  --panel: #ffffff;
  --page: #f4f6fb;
  --header: #ffffff;
  --accent: #4f46f6;
  --accent-dark: #3830d8;
  --accent-2: #ffb020;
  --blue: #4f46f6;
  --yellow: #ffb020;
  --nav-height: 74px;
  --admin-topbar-height: 78px;
  --admin-rail-width: 74px;
  --admin-menu-width: 270px;
  --shadow: 0 16px 36px rgba(30, 37, 64, 0.09);
}

* {
  box-sizing: border-box;
}

.fa-solid,
.fa-regular,
.fa-brands {
  line-height: 1;
  pointer-events: none;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
  background: var(--page);
}

.app-shell.logged-out {
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.app-shell.role-customer {
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  color: var(--ink);
  background: var(--header);
  box-shadow: 0 10px 24px rgba(30, 37, 64, 0.08);
}

.app-shell.service-detail-open .app-header {
  display: none;
}

.app-shell.service-request-open .app-header {
  display: none;
}

.app-shell.service-request-open .visitor-bottom-nav {
  display: none !important;
}

.app-shell.service-request-open {
  padding-bottom: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.menu-toggle i {
  display: grid;
  gap: 4px;
  font-style: normal;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: #1f2433;
  border-radius: 999px;
}


.app-shell.role-master .menu-toggle {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #3b35d9);
  border-radius: 15px;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand span,
.daily-fee span {
  color: var(--muted);
  font-size: 12px;
}

.daily-fee {
  min-width: 96px;
  display: grid;
  gap: 1px;
  padding: 8px 10px;
  text-align: right;
  color: var(--ink);
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.daily-fee strong {
  font-size: 20px;
  line-height: 1.05;
}

.session-chip {
  display: none;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--ink);
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: right;
}

.login-toggle {
  width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--accent);
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
}

.login-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell.logged-in .login-toggle {
  display: none;
}

.session-chip span,
.session-chip strong {
  display: block;
}

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

.session-chip strong {
  font-size: 13px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(20, 33, 43, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  width: min(92vw, 390px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  color: var(--ink);
  background: #fff;
  box-shadow: 20px 0 50px rgba(20, 33, 43, 0.22);
  transform: translateX(-105%);
  transition: 0.24s ease;
}

.app-shell.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.app-shell.drawer-open .side-drawer {
  transform: translateX(0);
}

.drawer-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid #f0f1f6;
}

.drawer-head strong,
.drawer-head span {
  display: block;
}

.drawer-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  color: #7c8497;
  background: #f7f8fc;
  border-radius: 14px;
  font-weight: 900;
}

.drawer-search {
  position: relative;
  padding: 12px 14px 8px;
  background: #fff;
}

.drawer-search::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 29px;
  width: 13px;
  height: 13px;
  border: 2px solid #8b93a5;
  border-radius: 999px;
  pointer-events: none;
}

.drawer-search::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 43px;
  width: 8px;
  height: 2px;
  background: #8b93a5;
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.drawer-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e5e8f1;
  border-radius: 14px;
  outline: 0;
  box-shadow: 0 8px 20px rgba(30, 37, 64, 0.05);
}

.drawer-list {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 0 14px 18px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 70, 246, 0.12) transparent;
}

.drawer-list::-webkit-scrollbar {
  width: 3px;
}

.drawer-list::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-list::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 246, 0.12);
  border-radius: 999px;
}

.drawer-list::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 70, 246, 0.2);
}

.drawer-list button {
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef0f5;
  border-radius: 0;
  text-align: left;
  font-weight: 800;
}

.drawer-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #f7f8fc;
  border-radius: 14px;
  font-weight: 900;
}

.drawer-copy {
  display: grid;
  gap: 5px;
}

.drawer-copy strong {
  font-size: 15px;
  line-height: 1.15;
}

.drawer-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.drawer-arrow {
  color: #9aa2b3;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}

.drawer-list svg,
.service-card svg,
.drawer-list .fa-solid,
.service-card .fa-solid {
  width: 24px;
  height: 24px;
  display: block;
  line-height: 24px;
  text-align: center;
}

.drawer-list svg,
.service-card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-list button.selected {
  color: var(--accent);
  background: #fafbff;
}

.nav-tabs {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 233, 242, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30, 37, 64, 0.14);
  backdrop-filter: blur(12px);
}

.app-shell.logged-out .daily-fee,
.app-shell.logged-out .session-chip {
  display: none;
}

.app-shell.logged-out #masterView,
.app-shell.logged-out #adminView {
  display: none;
}

.app-shell.role-admin {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding-bottom: 0;
  overflow: visible;
  background: #f4f7fb;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-shell.role-admin .app-header,
.app-shell.role-admin .topbar,
.app-shell.role-admin .status-strip,
.app-shell.role-admin .visitor-bottom-nav {
  display: none;
}

.app-shell.role-admin .main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.app-shell.role-admin #adminView.active {
  display: block;
  min-height: 100dvh;
}

.app-shell.logged-out #customerView {
  display: grid;
}

.app-shell.logged-out .nav-tab:not([data-view="customer"]) {
  display: none;
}

.app-shell.logged-out .nav-tabs {
  display: none;
}

.app-shell.role-customer .nav-tabs {
  display: none;
}

.app-shell.role-customer .daily-fee {
  display: none;
}

.app-shell.logged-in .session-chip {
  display: grid;
}

.app-shell.role-customer .admin-status {
  display: none;
}

.app-shell.logged-out .admin-status {
  display: none;
}

.app-shell.role-customer .nav-tab:not([data-view="customer"]),
.app-shell.role-master .nav-tab:not([data-view="master"]) {
  display: none;
}

.app-shell.role-master .nav-tabs {
  grid-template-columns: 1fr;
}

.nav-tab {
  min-width: 0;
  min-height: 56px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 4px 6px;
  color: #7b8192;
  background: transparent;
  border-radius: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  box-shadow: 0 10px 22px rgba(79, 70, 246, 0.26);
}

.visitor-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  height: var(--nav-height);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 8px calc(7px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px rgba(30, 37, 64, 0.1);
}

.app-shell.logged-out .visitor-bottom-nav,
.app-shell.role-customer .visitor-bottom-nav {
  display: grid;
}

.visitor-bottom-nav button {
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 0;
  color: #7b8192;
  background: transparent;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 800;
}

.visitor-bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.visitor-bottom-nav button.active {
  color: var(--accent);
}

.visitor-bottom-nav button.active svg {
  fill: rgba(79, 70, 246, 0.12);
}

.customer-addon-page {
  min-height: calc(100vh - var(--nav-height));
  padding: 12px 14px calc(var(--nav-height) + 18px + env(safe-area-inset-bottom));
  background: #f7f9ff;
}

.customer-addon-top {
  min-height: 46px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin-bottom: 12px;
}

.customer-addon-top strong {
  text-align: center;
  color: #151827;
  font-size: 15px;
  font-weight: 900;
}

.customer-addon-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(30, 37, 64, 0.08);
}

.customer-addon-card h2 {
  margin: 0;
  color: #151827;
  font-size: 20px;
}

.customer-addon-card p {
  margin: 0;
  color: #727a8e;
  font-size: 13px;
  line-height: 1.45;
}

.customer-message-list,
.customer-favorite-list {
  display: grid;
  gap: 10px;
}

.customer-message-item,
.customer-favorite-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fbfcff;
  border: 1px solid #edf0f6;
  border-radius: 15px;
}

.customer-message-item > span,
.customer-favorite-item > span,
.customer-profile-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #4f46f6, #1664f5);
  border-radius: 50%;
  font-weight: 900;
}

.customer-message-item strong,
.customer-favorite-item strong {
  display: block;
  color: #171b2d;
  font-size: 13px;
}

.customer-message-item small,
.customer-favorite-item small,
.customer-message-item p {
  display: block;
  margin-top: 2px;
  color: #71798c;
  font-size: 11px;
}

.customer-message-item em,
.customer-favorite-item em {
  color: #4f46f6;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.customer-favorite-item em.pending {
  color: #9aa3b5;
}

.customer-favorite-item button {
  min-height: 34px;
  padding: 0 13px;
  color: #fff;
  background: #4f46f6;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
}

.customer-empty-state {
  display: grid;
  gap: 4px;
  padding: 20px;
  color: #7a8397;
  text-align: center;
  background: #f7f8fc;
  border: 1px dashed #dce2ee;
  border-radius: 15px;
}

.customer-empty-state strong {
  color: #23283a;
}

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

.customer-profile-card div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 0;
  border-top: 1px solid #edf0f6;
}

.customer-profile-card strong,
.customer-profile-card em {
  font-size: 13px;
  font-style: normal;
}

.active-card-actions,
.profile-action-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9px;
}

.active-card-actions .secondary,
.profile-action-row .secondary {
  min-height: 48px;
  color: #4f46f6;
  background: #f2f4ff;
  border: 1px solid #dfe3ff;
  border-radius: 13px;
  font-weight: 900;
}

.master-profile-icon.favorite.active {
  color: #fff;
  background: #4f46f6;
}

.icon {
  width: 20px;
  height: 18px;
  display: grid;
  place-items: center;
  color: currentColor;
  font-size: 15px;
}

.main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.app-shell.logged-out .global-topbar,
.app-shell.role-customer .global-topbar {
  display: none;
}

.customer-call-card {
  position: relative;
  z-index: 12;
  order: 1;
  margin: 0;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 38px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.customer-call-card::before {
  display: none;
}

.customer-call-card h1 {
  color: var(--text);
  max-width: 330px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.customer-call-card p {
  max-width: 34rem;
  color: #49615d;
  font-size: 14px;
  line-height: 1.45;
}

.home-search-fake {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -25px;
  z-index: 18;
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 6px 7px 6px 14px;
  color: #8a91a3;
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(30, 37, 64, 0.08);
}

.rotating-home-message {
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  color: var(--accent);
  background: #f1f3ff;
  border: 1px solid rgba(79, 70, 246, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rotating-home-message:empty {
  display: none;
}

.home-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.home-login-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #3730a3;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(79, 70, 246, 0.16);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 37, 64, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.home-login-links a:last-child {
  color: #075985;
  border-color: rgba(14, 116, 144, 0.16);
}

.home-filter-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: min(304px, calc(100vw - 48px));
  display: grid;
  gap: 7px;
  padding: 12px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 70, 246, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(30, 37, 64, 0.16);
  backdrop-filter: blur(12px);
}

.filter-popup-head {
  display: grid;
  gap: 2px;
  padding: 2px 4px 6px;
}

.filter-popup-head strong {
  font-size: 15px;
}

.filter-popup-head span {
  color: var(--muted);
  font-size: 11px;
}

.home-filter-popup label {
  min-height: 42px;
  display: grid;
  grid-template-columns: 18px 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: rgba(248, 249, 253, 0.86);
  border: 1px solid rgba(238, 240, 247, 0.95);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}

.home-filter-popup input {
  accent-color: var(--accent);
}

.home-filter-popup i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 10px;
  font-style: normal;
  font-weight: 900;
}

.home-filter-popup select {
  min-height: 30px;
  padding: 0 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
}

.home-search-fake::before {
  content: "";
  width: 16px;
  height: 16px;
  grid-column: 1;
  grid-row: 1;
  border: 2px solid #8a91a3;
  border-radius: 999px;
}

.home-search-fake::after {
  content: "";
  width: 7px;
  height: 2px;
  grid-column: 1;
  grid-row: 1;
  margin-left: 13px;
  margin-top: 13px;
  background: #8a91a3;
  border-radius: 99px;
  transform: rotate(45deg);
}

.home-search-fake input {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  padding-left: 28px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.home-search-fake input::placeholder {
  color: #8a91a3;
}

.home-search-fake button {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}

.home-search-fake svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--accent);
  background: #f2f3ff;
  border-radius: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.call-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 5px 9px;
  color: #4338e8;
  background: rgba(79, 70, 246, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.call-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.call-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 6px 9px;
  color: #415a55;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(79, 70, 246, 0.13);
  border-radius: 999px;
  font-size: 11px;
}

.call-meta strong {
  color: var(--accent);
}

.call-action {
  display: none;
}

.call-action svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.login-view {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 52;
  width: min(92vw, 410px);
  display: grid;
  align-items: start;
  padding: calc(18px + env(safe-area-inset-top)) 14px 16px;
  background:
    radial-gradient(circle at 85% 8%, rgba(79, 70, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f9ff, #eef3fb);
  box-shadow: -20px 0 50px rgba(20, 33, 43, 0.22);
  transform: translateX(105%);
  transition: 0.24s ease;
  overflow: auto;
}

.app-shell.login-open .login-view {
  transform: translateX(0);
}

.app-shell.login-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.app-shell.logged-in .login-view,
.app-shell.logged-in .login-toggle {
  display: none;
}

.login-card {
  position: relative;
  width: 100%;
  display: grid;
  gap: 15px;
  padding: 24px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: #475569;
  background: #f3f6fb;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.login-brand {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(79, 70, 246, 0.28);
  font-weight: 900;
}

.login-brand i {
  font-size: 24px;
}

.login-copy {
  display: grid;
  gap: 5px;
}

.login-copy span {
  color: #4f46f6;
  font-size: 12px;
  font-weight: 950;
}

.login-copy h1 {
  font-size: 28px;
  color: #111827;
}

.login-card p {
  color: var(--muted);
  line-height: 1.4;
}

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

.role-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}

.role-card.active {
  border-color: rgba(13, 139, 118, 0.65);
  background: #f2faf8;
  box-shadow: 0 8px 18px rgba(13, 139, 118, 0.12);
}

.role-card span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 14px;
  font-weight: 900;
}

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

.role-card small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-role span {
  background: var(--blue);
}

.login-form {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.admin-form {
  border-bottom: 1px solid var(--line);
}

.check-row {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: var(--text);
  font-weight: 800;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.login-mode {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  background: #edf2f5;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.login-mode button {
  min-height: 40px;
  color: var(--muted);
  background: transparent;
  border-radius: 10px;
  font-weight: 800;
}

.login-mode button.active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(13, 139, 118, 0.18);
}

.login-hint {
  color: var(--muted);
  line-height: 1.45;
}

.login-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 2px 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e5ebf4;
}

.login-divider span {
  position: relative;
  padding: 0 12px;
  background: #fff;
}

.google-login-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #182235;
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 15px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.google-login-btn i {
  color: #ea4335;
  font-size: 18px;
}

.login-register-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.login-register-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #1f2a44;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.login-register-actions button:last-child {
  color: #0f4f94;
  background: #eff6ff;
  border-color: #bfdbfe;
}

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

h1 {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 17px;
}

h3 {
  font-size: 14px;
}

.topbar p,
.panel-subtitle {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.topbar.customer-call-card p {
  color: #49615d;
  font-size: 14px;
  line-height: 1.45;
}

.topbar.customer-call-card {
  margin-bottom: 0;
}

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

.status-strip div,
.metric {
  min-width: 0;
  padding: 11px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.status-strip strong,
.status-strip span,
.metric strong,
.metric span {
  display: block;
}

.status-strip strong,
.metric strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.status-strip span,
.metric span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.view {
  display: none;
}

.view.active {
  display: grid;
  gap: 14px;
}

.customer-home {
  display: grid;
  gap: 14px;
}

.visitor-slider {
  position: relative;
  overflow: hidden;
  width: calc(100% + 32px);
  order: 2;
  min-height: 300px;
  margin: 0 -16px -44px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 20px 44px rgba(30, 37, 64, 0.12);
}

.slider-track {
  display: flex;
  transition: transform 0.32s ease;
}

.slide {
  position: relative;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  min-height: 300px;
  align-content: end;
  align-items: end;
  padding: 18px 18px 70px;
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 62%, rgba(79, 70, 246, 0.18) 0 28px, transparent 29px),
    linear-gradient(90deg, rgba(184, 199, 222, 0.28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 199, 222, 0.24) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.slide::before,
.slide::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px 999px 999px 8px;
  transform: rotate(-45deg);
  box-shadow: 0 10px 18px rgba(79, 70, 246, 0.22);
}

.slide::before {
  right: 40px;
  top: 82px;
  width: 32px;
  height: 32px;
  background: #4f46f6;
}

.slide::after {
  left: 54px;
  bottom: 98px;
  width: 28px;
  height: 28px;
  background: #5b5cff;
}

.slide-content {
  position: relative;
  z-index: 1;
  display: none;
  gap: 12px;
  min-width: 0;
}

.slide-visual {
  position: relative;
  z-index: 1;
  position: absolute;
  right: 26px;
  top: 84px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #4f46f6;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(79, 70, 246, 0.14);
  border-radius: 999px 999px 999px 8px;
  transform: rotate(-45deg);
  box-shadow: 0 18px 32px rgba(30, 37, 64, 0.12);
  overflow: hidden;
}

.slide-visual::after {
  content: "";
  position: absolute;
  right: -32px;
  top: 72px;
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 50% 38%, #d7dbe5 0 8px, transparent 9px),
    radial-gradient(circle at 50% 50%, #ffffff 0 19px, transparent 20px),
    linear-gradient(135deg, #ffffff, #f2f4fa);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(30, 37, 64, 0.16);
  transform: rotate(45deg);
}

.slide-visual svg {
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-child(2n) {
  background:
    radial-gradient(circle at 44% 60%, rgba(79, 70, 246, 0.16) 0 30px, transparent 31px),
    linear-gradient(90deg, rgba(184, 199, 222, 0.28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 199, 222, 0.24) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.slide h2 {
  max-width: 340px;
  font-size: 25px;
  line-height: 1.08;
}

.slide p {
  max-width: 360px;
  color: #555f73;
  line-height: 1.42;
}

.slide button {
  width: max-content;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  border-radius: 14px;
  font-weight: 900;
}

@media (max-width: 420px) {
  .slide {
    grid-template-columns: 1fr;
  }

  .slide-visual {
    width: 72px;
    height: 72px;
  }
}

.slider-dots {
  position: absolute;
  right: 18px;
  bottom: 58px;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(79, 70, 246, 0.22);
  border-radius: 999px;
}

.slider-dots button.active {
  width: 22px;
  background: var(--accent);
}

.hidden {
  display: none !important;
}

.service-request-page {
  display: grid;
  gap: 14px;
}

.service-detail-page {
  display: grid;
  gap: 14px;
}

.service-page-top {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 74px;
  padding: 8px 12px 8px 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 250, 247, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(223, 81, 55, 0.16), transparent 38%);
  border: 1px solid rgba(13, 139, 118, 0.18);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.service-page-top::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #df5137, #0d8b76);
}

.promo-strip {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 3px 0;
  overflow: hidden;
}

.promo-strip strong,
.promo-strip small,
.promo-badge {
  position: relative;
  z-index: 1;
}

.promo-badge {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  color: #a93521;
  background: rgba(223, 81, 55, 0.1);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-strip strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.15;
}

.promo-strip small {
  color: #58706c;
  font-size: 11px;
  line-height: 1.25;
}

.service-detail-hero {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 81, 55, 0.32), transparent 28%),
    linear-gradient(145deg, #0a6f5e 0%, #14212b 72%);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto -20px -50px 44%;
  height: 150px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotate(-8deg);
}

.live-map-marker {
  position: relative;
  z-index: 1;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #dff3ef;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.live-map-marker span {
  width: 10px;
  height: 10px;
  background: #df5137;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(223, 81, 55, 0.22);
}

.service-detail-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}

.service-detail-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail-hero h2,
.service-detail-hero p,
.service-detail-hero .hero-cta {
  position: relative;
  z-index: 1;
}

.service-detail-hero h2 {
  font-size: 28px;
  line-height: 1.08;
}

.service-detail-hero p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.scope-list,
.service-assurance {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.scope-list div,
.service-assurance div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scope-list strong,
.service-assurance strong {
  display: block;
}

.scope-list span,
.service-assurance span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.request-topbar {
  padding: 8px 12px 8px 8px;
}

.page-back-btn {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 54px;
  padding: 0;
  color: #0f7668;
  background: rgba(13, 139, 118, 0.08);
  border: 1px solid rgba(13, 139, 118, 0.12);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.page-back-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.page-back-btn:hover {
  background: rgba(13, 139, 118, 0.13);
}

.page-back-btn:active {
  transform: translateY(1px);
}

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

.stepper span {
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.stepper span.active,
.stepper span.done {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.hero-banner {
  min-height: 430px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(184, 199, 222, 0.28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 199, 222, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  background-size: 32px 32px, 32px 32px, auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(30, 37, 64, 0.1);
  overflow: hidden;
}

.customer-home > .hero-banner,
.customer-home > .trust-row {
  display: none;
}

.service-panel {
  position: relative;
  z-index: 3;
  order: 3;
  margin-top: 0;
  border-radius: 28px 28px 24px 24px;
  box-shadow: 0 -8px 34px rgba(30, 37, 64, 0.12);
}

.customer-home > .panel:not(.service-panel) {
  order: 4;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: #4338e8;
  background: rgba(79, 70, 246, 0.1);
  border: 1px solid rgba(79, 70, 246, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-banner h2 {
  max-width: 380px;
  font-size: 29px;
  line-height: 1.08;
}

.hero-banner p {
  max-width: 360px;
  margin-top: 10px;
  color: #555f73;
  line-height: 1.45;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.hero-stats span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px 8px;
  color: #697084;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(79, 70, 246, 0.1);
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.25;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 15px;
}

.turkey-map-card {
  position: relative;
  min-height: 172px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(79, 70, 246, 0.12);
  border-radius: 22px;
  overflow: hidden;
}

.turkey-map-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  background:
    linear-gradient(90deg, rgba(122, 134, 168, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(122, 134, 168, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.85;
}

.turkey-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 142px;
  display: block;
}

.map-shape {
  fill: rgba(223, 243, 239, 0.92);
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 3;
}

.map-line {
  fill: none;
  stroke: rgba(79, 70, 246, 0.25);
  stroke-width: 5;
  stroke-linecap: round;
}

.map-dot {
  fill: #4f46f6;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 5px 8px rgba(79, 70, 246, 0.28));
  transform-origin: center;
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.map-dot:nth-of-type(2n) {
  fill: #ffb020;
}

.dot-2,
.dot-5,
.dot-8 {
  animation-delay: 0.35s;
}

.dot-3,
.dot-6,
.dot-9 {
  animation-delay: 0.7s;
}

.map-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 233, 242, 0.95);
  border-radius: 18px;
}

.map-badge strong,
.map-badge span {
  display: block;
}

.map-badge span {
  color: var(--muted);
  font-size: 12px;
}

@keyframes pulse-dot {
  0%,
  100% {
    r: 5;
    opacity: 0.9;
  }

  50% {
    r: 7;
    opacity: 1;
  }
}

.hero-cta {
  width: 100%;
}

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

.trust-row div {
  min-width: 0;
  padding: 12px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

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

.trust-row strong {
  font-size: 13px;
}

.trust-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

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

.popular-services {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.top-rated-masters {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
}

.service-panel > .panel-head,
.service-panel > .service-grid {
  display: none;
}

.popular-services {
  border-radius: 28px 28px 0 0;
}

.section-mini-head h3 {
  font-size: 17px;
}

.section-mini-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.popular-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.popular-service-chip {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 74px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #eceef7;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(30, 37, 64, 0.06);
  text-align: left;
}

.popular-service-chip strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.popular-service-chip span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 13px;
}

.popular-service-chip svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.featured-master-list {
  display: grid;
  gap: 9px;
}

.featured-master-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  background: #fff;
  border: 1px solid #eceef7;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(30, 37, 64, 0.07);
}

.rating-badge {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  min-height: 60px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.22), transparent 27%),
    linear-gradient(135deg, #5b5cff, #4338e8);
  border-radius: 18px;
  box-shadow: 0 12px 20px rgba(79, 70, 246, 0.22);
}

.rating-badge strong {
  font-size: 20px;
  line-height: 1;
}

.featured-master-card span,
.featured-master-card small {
  color: var(--muted);
  font-size: 11px;
}

.rating-badge span {
  color: #ffd166;
  font-size: 14px;
  line-height: 1;
}

.rating-badge small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 900;
}

.featured-master-copy {
  display: grid;
  gap: 3px;
}

.featured-master-copy strong {
  color: var(--text);
}

.featured-rating-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.featured-rating-line b {
  color: #ffb020;
  font-size: 12px;
}

.featured-rating-line em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.featured-master-card button {
  grid-column: 2;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.service-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 13px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: left;
}

.service-card span,
.steps-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  font-weight: 900;
}

.service-card small,
.steps-list small {
  color: var(--muted);
  line-height: 1.35;
}

.service-card.selected {
  border-color: rgba(13, 139, 118, 0.75);
  background: #f2faf8;
  box-shadow: 0 10px 20px rgba(13, 139, 118, 0.14);
}

.service-card.selected span {
  background: var(--accent-dark);
}

.steps-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.steps-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.steps-list span {
  grid-row: span 2;
}

.faq-panel details {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.faq-panel summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-panel p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.workspace,
.customer-layout,
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.panel {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.form-grid,
.master-switcher {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.master-onboarding {
  display: grid;
  gap: 5px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--header));
  border-radius: 14px;
}

.master-onboarding strong,
.master-onboarding span {
  display: block;
}

.master-onboarding span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.4;
}

.app-shell.role-master .app-header,
.app-shell.role-master .global-topbar,
.app-shell.role-master .master-management-panel {
  display: none;
}

.app-shell.role-master {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  overflow: visible;
  background: #f5f7ff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-shell.role-master .main {
  max-width: none;
  padding: 0;
}

.app-shell.role-master #masterView {
  gap: 0;
}

.app-shell.role-master .master-mobile-home {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding-inline: clamp(10px, 3vw, 32px);
}

.app-shell.role-master .master-app-hero {
  margin-inline: calc(clamp(10px, 3vw, 32px) * -1);
  padding-inline: clamp(16px, 4vw, 44px);
}

.app-shell.role-master .master-bottom-nav {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  transform: none;
}

.master-mobile-home {
  position: relative;
  min-height: 100vh;
  padding: 0 10px calc(78px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: #f5f7ff;
}

.master-app-hero {
  position: relative;
  min-height: 82px;
  margin: 0 -10px 10px;
  padding: 16px 16px 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(83, 53, 255, 0.98) 0%, rgba(37, 99, 235, 0.98) 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

.master-mobile-home:not(.show-home) .master-app-hero {
  display: none;
}

.master-quick-menu {
  position: absolute;
  left: 14px;
  top: 54px;
  z-index: 8;
  width: 178px;
  display: grid;
  gap: 2px;
  padding: 8px;
  color: #172033;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
}

.master-quick-menu button {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #27324a;
  background: transparent;
  border-radius: 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
}

.master-quick-menu button:hover {
  background: #f1f5f9;
}

.master-status-row {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 10px;
}

.master-status-row button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
}

.master-status-row button:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding-left: 0;
}

.master-status-row button:first-child span {
  width: 15px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
}

.master-status-row button:first-child span:nth-child(2) {
  width: 12px;
}

.master-status-row svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.16));
}

.master-status-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 15px;
}

.master-status-row i {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 999px 999px 999px 6px;
  transform: rotate(-45deg);
}

.master-today-card,
.master-requests-card {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #edf0f7;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 37, 64, 0.08);
}

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

.master-card-head h2 {
  color: #1f2433;
  font-size: 14px;
}

.master-card-head p,
.master-account-select span {
  color: #7a8498;
  font-size: 11px;
}

.master-account-select {
  min-width: 142px;
  display: grid;
  gap: 4px;
  text-align: right;
  font-size: 10px;
}

.master-account-select strong {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #1f2433;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
  font-size: 11px;
  white-space: nowrap;
}

.master-account-select em {
  width: fit-content;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.master-account-select em::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 999px;
}

.master-account-select em.active {
  color: #15803d;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.master-account-select em.waiting {
  color: #a16207;
  background: #fef3c7;
  border-color: #fde68a;
}

.master-account-select select[hidden] {
  display: none;
}

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

.master-summary-grid div {
  min-height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(30, 37, 64, 0.04);
}

.master-summary-grid strong {
  color: #172033;
  font-size: 20px;
}

.master-summary-grid span {
  color: #697386;
  font-size: 9px;
  font-weight: 800;
}

.master-requests-card {
  padding-bottom: 10px;
}

.master-document-warning {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: -26px 10px 12px;
  padding: 12px;
  background: #fff8ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.08);
  position: relative;
  z-index: 3;
}

.master-document-warning.hidden {
  display: none;
}

.master-document-warning strong,
.master-document-warning span {
  display: block;
}

.master-document-warning strong {
  color: #92400e;
  font-size: 13px;
}

.master-document-warning span {
  margin-top: 4px;
  color: #78716c;
  font-size: 11px;
  line-height: 1.35;
}

.master-document-warning button {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.master-card-head button {
  color: #4036e8;
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.master-request-list {
  display: grid;
  gap: 9px;
}

.master-request-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px;
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 12px;
}

.master-request-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #3f46f2;
  background: #eef2ff;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 900;
}

.master-request-icon svg,
.master-request-icon .fa-solid,
.master-request-icon .fa-regular {
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
}

.master-request-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.master-request-icon.green {
  color: #16a34a;
  background: #ecfdf3;
}

.master-request-icon.purple {
  color: #5145f5;
  background: #eef2ff;
}

.master-request-icon.yellow {
  color: #f59e0b;
  background: #fff7ed;
}

.master-request-icon.dark {
  color: #334155;
  background: #f1f5f9;
}

.master-request-item strong {
  display: flex;
  gap: 8px;
  color: #1f2433;
  font-size: 12px;
}

.master-request-item strong span {
  font-weight: 900;
}

.master-request-item small {
  display: block;
  margin-top: 3px;
  color: #697386;
  font-size: 10px;
}

.master-request-item em {
  padding: 5px 8px;
  color: #fff;
  background: #4f46e5;
  border-radius: 8px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.master-request-item em.approved {
  color: #15803d;
  background: #dcfce7;
}

.master-availability-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
}

.master-availability-card.waiting {
  color: #854d0e;
  background: #fef3c7;
  border-color: #fde68a;
}

.master-availability-card.needs-payment {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
  box-shadow: none;
}

.master-availability-card strong,
.master-availability-card span {
  display: block;
}

.master-availability-card strong {
  font-size: 12px;
}

.master-availability-card span {
  margin-top: 3px;
  font-size: 10px;
}

.master-availability-card button {
  min-height: 30px;
  padding: 0 10px;
  color: #166534;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 101, 52, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.master-availability-card.waiting button {
  color: #854d0e;
  border-color: rgba(133, 77, 14, 0.18);
}

.master-availability-card.needs-payment button {
  color: #1f2937;
  background: #fff;
  border-color: #d5dbe7;
}

.master-availability-card button:disabled {
  color: #64748b;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(100, 116, 139, 0.18);
  cursor: default;
}

.master-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: min(100%, 480px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #edf0f6;
  transform: translateX(-50%);
}

.master-bottom-nav button {
  min-height: 44px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #687386;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.master-bottom-nav span {
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

.master-bottom-nav button.active {
  color: #5145f5;
}

.master-tab-panel {
  display: none;
}

.master-tab-panel.active {
  display: block;
}

.master-demand-page {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: 8px;
}

.master-demand-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.master-demand-tabs button {
  min-height: 34px;
  color: #5f6b80;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(30, 37, 64, 0.04);
  font-size: 11px;
  font-weight: 900;
}

.master-demand-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-color: transparent;
}

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

.master-demand-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(30, 37, 64, 0.07);
}

.master-demand-main {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.master-demand-main strong,
.master-demand-main span,
.master-demand-main small {
  display: block;
}

.master-demand-main strong {
  color: #1f2433;
  font-size: 13px;
}

.master-demand-main span {
  margin-top: 2px;
  color: #697386;
  font-size: 11px;
}

.master-demand-main small {
  margin-top: 9px;
  color: #27324a;
  font-size: 11px;
}

.master-demand-main b {
  color: #1f2433;
  font-size: 14px;
}

.master-demand-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #5f6b80;
  font-size: 11px;
}

.master-demand-meta em {
  padding: 5px 8px;
  color: #15803d;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.master-demand-meta em.completed {
  color: #475569;
  background: #f1f5f9;
}

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

.master-demand-actions.single {
  grid-template-columns: 1fr;
}

.master-demand-actions button {
  min-height: 38px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.master-demand-actions .reject {
  color: #ef4444;
  background: #fff;
  border: 1px solid #fecaca;
}

.master-demand-actions .accept {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  box-shadow: 0 10px 20px rgba(79, 70, 246, 0.22);
}

.master-demand-actions .detail {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  box-shadow: 0 10px 20px rgba(79, 70, 246, 0.18);
}

.master-request-detail {
  position: relative;
  z-index: 4;
  min-height: calc(100vh - 88px);
  margin: -8px -10px 0;
  padding: 0 10px 88px;
  background: #fff;
}

.master-detail-top {
  height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eef0f6;
}

.master-detail-top button {
  width: 34px;
  height: 34px;
  color: #172033;
  background: transparent;
  font-size: 28px;
}

.master-detail-top strong {
  text-align: center;
  color: #172033;
  font-size: 14px;
}

.master-detail-top span {
  color: #7a8498;
  font-size: 11px;
  font-weight: 900;
}

.master-detail-body {
  display: grid;
  gap: 16px;
  padding: 14px 0 0;
}

.request-detail-heading,
.request-detail-title,
.request-detail-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.request-detail-heading span {
  padding: 5px 8px;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
}

.request-detail-heading b {
  color: #7a8498;
  font-size: 11px;
}

.request-detail-title h2 {
  color: #172033;
  font-size: 17px;
}

.request-detail-title strong {
  color: #172033;
  font-size: 20px;
}

.request-detail-facts {
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #536075;
  font-size: 12px;
  border-bottom: 1px solid #eef0f6;
  padding-bottom: 14px;
}

.request-detail-facts em {
  margin-left: auto;
  font-style: normal;
}

.request-detail-section {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f6;
}

.request-detail-section h3 {
  color: #172033;
  font-size: 13px;
}

.request-detail-section p {
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

.request-customer-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.request-customer-row > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #334155);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.request-customer-row strong,
.request-customer-row small {
  display: block;
}

.request-customer-row small {
  margin-top: 3px;
  color: #697386;
}

.request-customer-row button {
  width: 38px;
  height: 38px;
  color: #5145f5;
  background: #eef2ff;
  border-radius: 999px;
}

.request-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.request-photo-row span {
  min-height: 70px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.08)),
    linear-gradient(90deg, #cbd5e1, #94a3b8);
  border-radius: 10px;
  font-weight: 900;
}

.request-detail-actions {
  position: sticky;
  bottom: calc(58px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 8px;
  background: #fff;
}

.request-detail-actions button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 900;
}

.request-detail-actions .reject {
  color: #ef4444;
  background: #fff;
  border: 1px solid #fecaca;
}

.request-detail-actions .accept {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.master-calendar-page {
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.master-section-top {
  height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  margin: 0 -10px 12px;
  padding: 0 10px;
  background: #fff;
  border-bottom: 1px solid #edf0f6;
}

.master-section-top button {
  width: 34px;
  height: 34px;
  color: #172033;
  background: transparent;
  font-size: 28px;
}

.master-section-top strong {
  text-align: center;
  color: #172033;
  font-size: 14px;
}

.master-calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  margin-bottom: 10px;
  padding: 2px 0 12px;
  border-bottom: 1px solid #e9edf5;
}

.master-calendar-head strong {
  text-align: center;
  color: #1f2433;
  font-size: 13px;
}

.master-calendar-head button {
  width: 34px;
  height: 34px;
  color: #64748b;
  background: transparent;
  font-size: 24px;
}

.master-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 14px;
}

.master-calendar-days div {
  min-height: 48px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #64748b;
  border-radius: 999px;
}

.master-calendar-days span {
  font-size: 10px;
  font-weight: 800;
}

.master-calendar-days strong {
  font-size: 13px;
}

.master-calendar-days .active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  box-shadow: 0 10px 18px rgba(79, 70, 246, 0.22);
}

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

.master-calendar-item {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(30, 37, 64, 0.06);
}

.master-calendar-item time {
  color: #27324a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.master-calendar-item strong,
.master-calendar-item span {
  display: block;
}

.master-calendar-item strong {
  color: #1f2433;
  font-size: 12px;
}

.master-calendar-item span {
  margin-top: 3px;
  color: #697386;
  font-size: 10px;
}

.master-calendar-item em {
  padding: 5px 8px;
  color: #15803d;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.master-add-availability {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(79, 70, 246, 0.2);
  font-weight: 900;
}

.earnings-period-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 8px;
}

.earnings-period-tabs button {
  min-height: 34px;
  color: #475569;
  background: transparent;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.earnings-period-tabs .active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.earnings-chart-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 8px 14px;
  background: #fff;
}

.earnings-chart-card h2 {
  color: #172033;
  font-size: 25px;
}

.earnings-chart-card p {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.earnings-chart {
  width: 100%;
  height: 150px;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: end;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5eaf4;
  background:
    linear-gradient(#e7ebf4 1px, transparent 1px) 0 25% / 100% 25%,
    linear-gradient(#e7ebf4 1px, transparent 1px) 0 50% / 100% 25%,
    linear-gradient(#e7ebf4 1px, transparent 1px) 0 75% / 100% 25%;
}

.earnings-chart.short {
  grid-template-columns: repeat(8, minmax(10px, 1fr));
}

.earnings-chart span {
  height: var(--h);
  min-height: 4px;
  background: linear-gradient(180deg, #5145f5, #7c6dff);
  border-radius: 999px 999px 0 0;
}

.earnings-days {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.earnings-summary {
  display: grid;
  gap: 0;
  margin: 12px 0 18px;
  background: #fff;
  border-top: 1px solid #edf0f6;
  border-bottom: 1px solid #edf0f6;
}

.earnings-summary div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f6;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.earnings-summary div:last-child {
  border-bottom: 0;
}

.earnings-summary strong {
  color: #172033;
}

.earnings-summary .loss {
  color: #ef4444;
}

.earnings-recent {
  display: grid;
  gap: 8px;
}

.earnings-recent article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}

.earnings-recent article > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #5145f5;
  background: #eef2ff;
  border-radius: 999px;
}

.earnings-recent strong,
.earnings-recent small,
.earnings-recent b,
.earnings-recent em {
  display: block;
}

.earnings-recent strong {
  color: #172033;
  font-size: 12px;
}

.earnings-recent small,
.earnings-recent em {
  color: #64748b;
  font-size: 10px;
  font-style: normal;
}

.earnings-recent b {
  text-align: right;
  color: #172033;
  font-size: 12px;
}

.master-profile-page {
  background: #fff;
  min-height: calc(100vh - 78px);
}

.master-profile-subpage {
  display: none;
  padding-bottom: 88px;
}

.master-profile-subpage.active {
  display: block;
}

.profile-header-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0 14px;
  border-bottom: 1px solid #edf0f6;
}

.profile-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: visible;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #64748b);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.profile-avatar input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
}

.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 1;
}

.profile-avatar .avatar-initials {
  position: relative;
  z-index: 2;
  font-size: 18px;
}

.profile-avatar.has-photo .avatar-initials {
  opacity: 0;
}

.avatar-upload-hint {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 3px 7px;
  color: #4f46e5;
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(30, 37, 64, 0.12);
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

#profileStatusBadge {
  position: absolute;
  right: -3px;
  bottom: 5px;
  z-index: 5;
  padding: 3px 6px;
  background: #22c55e;
  border-radius: 999px;
  font-size: 8px;
}

.profile-avatar.offline #profileStatusBadge {
  background: #94a3b8;
}

.profile-header-card h2 {
  color: #172033;
  font-size: 17px;
}

.profile-header-card h2 b {
  color: #2563eb;
  font-size: 14px;
}

.profile-header-card p,
.profile-header-card small em {
  color: #64748b;
  font-style: normal;
}

.profile-header-card small {
  display: block;
  margin-top: 7px;
  color: #f59e0b;
  font-weight: 900;
}

.profile-about {
  padding: 12px 0;
  border-bottom: 1px solid #edf0f6;
}

.profile-about h3,
.settings-title {
  margin: 10px 0;
  color: #172033;
  font-size: 13px;
}

.profile-about p {
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.profile-menu-list {
  display: grid;
}

.profile-menu-list button {
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 8px;
  color: #27324a;
  background: #fff;
  border-bottom: 1px solid #edf0f6;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.profile-menu-list span {
  color: #5145f5;
  font-weight: 900;
}

.profile-menu-list i {
  color: #94a3b8;
  font-style: normal;
  font-size: 20px;
}

.profile-menu-list .danger {
  color: #ef4444;
}

.region-manager-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #f8fbff, #eef2ff);
  border: 1px solid #e3e8ff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.07);
}

.service-manager-card {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.region-manager-card h3 {
  color: #172033;
  font-size: 15px;
}

.service-manager-card h3 {
  color: #172033;
  font-size: 15px;
}

.region-manager-card p {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.service-manager-card p {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.region-primary-select {
  display: grid;
  gap: 7px;
}

.region-primary-select span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.region-primary-select select {
  min-height: 42px;
  width: 100%;
  padding: 0 12px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  font-weight: 800;
}

.region-primary-select small,
.locked-category-box small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.region-primary-select select:disabled {
  color: #94a3b8;
  background: #f8fafc;
}

.locked-category-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
}

.locked-category-box span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.locked-category-box strong {
  color: #172033;
  font-size: 14px;
}

.second-category-field {
  padding: 12px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 12px;
}

.region-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 82px;
  gap: 8px;
  margin: 12px 0;
}

.region-quick-actions button {
  min-height: 36px;
  color: #5145f5;
  background: #f4f6ff;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.region-quick-actions button:last-child {
  color: #ef4444;
  background: #fff7f7;
  border-color: #fecaca;
}

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

.region-check {
  min-height: 58px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(30, 37, 64, 0.04);
}

.region-check input {
  width: 16px;
  height: 16px;
  accent-color: #5145f5;
}

.region-check span,
.region-check small {
  display: block;
}

.region-check span {
  color: #172033;
  font-size: 12px;
  font-weight: 900;
}

.region-check small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}

.region-check.selected {
  border-color: #c7d2fe;
  background: #f7f8ff;
}

.region-check.selected small {
  color: #5145f5;
}

.region-save-btn {
  position: sticky;
  bottom: calc(62px + env(safe-area-inset-bottom));
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 11px;
  box-shadow: 0 14px 26px rgba(79, 70, 246, 0.22);
  font-weight: 900;
}

.service-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-edit-grid label,
.service-note-field {
  display: grid;
  gap: 7px;
}

.service-edit-grid span,
.service-note-field span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.service-edit-grid input,
.service-note-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  font-weight: 800;
}

.service-note-field textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.4;
}

.service-toggle-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #27324a;
  background: #f8fbff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.service-toggle-row input {
  width: 17px;
  height: 17px;
  accent-color: #5145f5;
}

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

.service-chip-check {
  min-height: 42px;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 10px;
}

.service-chip-check input {
  width: 15px;
  height: 15px;
  accent-color: #5145f5;
}

.service-chip-check span {
  color: #27324a;
  font-size: 11px;
  font-weight: 900;
}

.service-chip-check.selected {
  border-color: #c7d2fe;
  background: #f7f8ff;
}

.service-photo-manager {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e8edf6;
  border-radius: 14px;
}

.service-photo-manager h4 {
  color: #172033;
  font-size: 13px;
}

.service-photo-manager p {
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
}

.service-photo-upload {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px dashed #a5b4fc;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.service-photo-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

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

.service-photo-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 12px;
}

.service-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo-grid button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 24px;
  height: 24px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
}

.empty-service-photos {
  grid-column: 1 / -1;
  padding: 10px;
  color: #94a3b8;
  background: #fff;
  border: 1px dashed #dbe3ef;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.document-info-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: linear-gradient(135deg, #f8fbff, #eef2ff);
  border: 1px solid #e0e7ff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.document-info-card h3 {
  color: #172033;
  font-size: 15px;
}

.document-info-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.document-upload-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.document-upload-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(30, 37, 64, 0.05);
}

.document-upload-item.uploaded {
  border-color: #bbf7d0;
  background: #fbfffd;
}

.document-upload-item strong,
.document-upload-item span,
.document-upload-item small {
  display: block;
}

.document-upload-item strong {
  color: #172033;
  font-size: 13px;
}

.document-upload-item div > span {
  margin-top: 3px;
  color: #5145f5;
  font-size: 10px;
  font-weight: 900;
}

.document-upload-item small {
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
}

.document-upload-item label {
  min-width: 76px;
  min-height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.document-upload-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-info-card,
.payment-method-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.payment-info-card {
  background: linear-gradient(135deg, #f8fbff, #eef2ff);
  border-color: #e0e7ff;
}

.payment-info-card h3,
.payment-method-head strong {
  color: #172033;
  font-size: 15px;
}

.payment-info-card p,
.payment-card-preview p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

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

.payment-method-head span {
  padding: 5px 9px;
  color: #5145f5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.payment-iban-box {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.payment-iban-box small,
.payment-iban-box b,
.payment-iban-box strong,
.payment-iban-box em {
  display: block;
}

.payment-iban-box small {
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
}

.payment-iban-box b,
.payment-iban-box strong {
  color: #172033;
  font-size: 12px;
}

.payment-iban-box em {
  margin-top: 4px;
  color: #92400e;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.payment-card-preview {
  display: grid;
  gap: 8px;
  padding: 13px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #5145f5);
  border-radius: 14px;
}

.payment-card-preview small,
.payment-card-preview b {
  display: block;
}

.payment-card-preview small,
.payment-card-preview p {
  color: rgba(255, 255, 255, 0.78);
}

.payment-card-preview b {
  margin-top: 4px;
  font-size: 24px;
}

.payment-method-card button {
  min-height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 11px;
  font-weight: 900;
}

.personal-info-card,
.personal-info-form {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.personal-info-card {
  background: linear-gradient(135deg, #f8fbff, #eef2ff);
  border-color: #e0e7ff;
}

.personal-info-card h3 {
  color: #172033;
  font-size: 15px;
}

.personal-info-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.personal-info-form {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.personal-info-form label {
  display: grid;
  gap: 6px;
}

.personal-info-form label.wide,
.personal-info-form button {
  grid-column: 1 / -1;
}

.personal-info-form span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.personal-info-form input,
.personal-info-form select,
.personal-info-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  font-weight: 800;
}

.personal-info-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.4;
}

.password-security-card {
  position: relative;
  overflow: hidden;
}

.password-security-card::after {
  content: "•••";
  position: absolute;
  right: 16px;
  top: 14px;
  color: rgba(79, 70, 229, 0.18);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
}

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

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 76px;
}

.password-field button {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: auto;
  min-height: 28px;
  padding: 0 10px;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}

.password-rules {
  display: grid;
  gap: 7px;
  grid-column: 1 / -1;
  padding: 10px 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e8edf6;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.password-rules span {
  position: relative;
  padding-left: 16px;
  color: inherit;
}

.password-rules span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  background: #4f46e5;
  border-radius: 50%;
}

.settings-form {
  display: grid;
  gap: 11px;
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.settings-form label:not(.settings-toggle) {
  display: grid;
  gap: 7px;
}

.settings-form label:not(.settings-toggle) span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.settings-form select,
.settings-form textarea,
.working-day-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  font-weight: 800;
}

.settings-form textarea {
  min-height: 86px;
  padding: 12px;
  resize: vertical;
  line-height: 1.4;
}

.settings-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 11px 12px;
  color: #172033;
  background: #f8fafc;
  border: 1px solid #e8edf6;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
}

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

.settings-toggle i {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.settings-toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease;
}

.settings-toggle input:checked + i {
  background: #4f46e5;
}

.settings-toggle input:checked + i::after {
  transform: translateX(18px);
}

.settings-toggle.compact {
  min-height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.working-hours-grid {
  display: grid;
  gap: 9px;
}

.working-day-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e8edf6;
  border-radius: 14px;
}

.working-day-row > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

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

.availability-scenario-list article {
  padding: 11px 12px;
  background: #f8fafc;
  border: 1px solid #e8edf6;
  border-radius: 13px;
}

.availability-scenario-list article.active {
  background: #eef2ff;
  border-color: #c7d2fe;
  box-shadow: inset 3px 0 0 #4f46e5;
}

.availability-scenario-list strong,
.availability-scenario-list span {
  display: block;
}

.availability-scenario-list strong {
  color: #172033;
  font-size: 12px;
}

.availability-scenario-list span {
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.support-card,
.about-content-card {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fbff, #eef2ff);
  border: 1px solid #dfe7ff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 37, 64, 0.06);
}

.support-card span,
.about-content-card span {
  color: #4f46e5;
  font-size: 11px;
  font-weight: 900;
}

.support-card strong,
.about-content-card h3 {
  color: #172033;
  font-size: 18px;
  font-weight: 900;
}

.support-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.about-content-card p {
  color: #475569;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 430px) {
  .working-day-row {
    grid-template-columns: 1fr;
  }
}

#masterDocumentStatus {
  color: #ef4444;
  font-size: 11px;
  font-weight: 900;
}

#masterDocumentStatus.complete {
  color: #16a34a;
}

.profile-price-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-price-note div {
  padding: 10px;
  background: #f8fbff;
  border: 1px solid #e8edf6;
  border-radius: 12px;
}

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

.profile-price-note strong {
  color: #172033;
  font-size: 13px;
}

.profile-price-note span {
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.profile-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 10px 0 14px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 8px;
}

.profile-segmented button {
  min-height: 34px;
  color: #475569;
  background: transparent;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.profile-segmented button span {
  margin-left: 4px;
  padding: 1px 5px;
  background: rgba(100, 116, 139, 0.12);
  border-radius: 999px;
  font-size: 9px;
}

.profile-segmented .active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.profile-segmented .active span {
  background: rgba(255, 255, 255, 0.22);
}

.notification-list,
.review-list,
.service-performance {
  display: grid;
  gap: 8px;
}

.notification-list article,
.review-list article {
  display: grid;
  grid-template-columns: 42px 1fr 12px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f6;
}

.notification-list article[hidden] {
  display: none;
}

.notification-list article.is-read {
  opacity: 0.62;
}

.notification-list article > span,
.review-list article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
}

.notification-list .red { background: #f43f5e; }
.notification-list .green { background: #22c55e; }
.notification-list .yellow { background: #f59e0b; }
.notification-list .blue { background: #4f46e5; }

.notification-list strong,
.notification-list small,
.notification-list em,
.review-list strong,
.review-list small,
.review-list b,
.review-list p {
  display: block;
}

.notification-list strong,
.review-list strong {
  color: #172033;
  font-size: 12px;
}

.notification-list small,
.notification-list em,
.review-list small,
.review-list p {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.notification-list b {
  width: 6px;
  height: 6px;
  background: #5145f5;
  border-radius: 999px;
}

.notification-actions {
  grid-column: 2 / 4;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -4px;
}

.notification-actions button {
  min-height: 28px;
  padding: 0 10px;
  color: #5145f5;
  background: #f4f6ff;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.notification-actions button:last-child {
  color: #ef4444;
  background: #fff7f7;
  border-color: #fecaca;
}

.reviews-summary {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 12px 0 16px;
}

.reviews-summary strong {
  color: #172033;
  font-size: 34px;
}

.reviews-summary span,
.review-list b {
  color: #f59e0b;
}

.reviews-summary small {
  color: #64748b;
  font-size: 11px;
}

.reviews-summary ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.reviews-summary li {
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  gap: 8px;
  align-items: center;
  color: #64748b;
  font-size: 10px;
}

.reviews-summary li i {
  height: 5px;
  background: linear-gradient(90deg, #f59e0b var(--w), #e5e7eb var(--w));
  border-radius: 999px;
}

.stats-cards,
.success-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.stats-period-row {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.stats-section-head .settings-title {
  margin: 10px 0;
}

.stats-period-row select {
  color: #64748b;
  background: #f1f5f9;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
}

.stats-cards div,
.success-rates div {
  min-height: 68px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 10px;
}

.stats-cards strong,
.success-rates strong {
  color: #172033;
  font-size: 20px;
}

.stats-cards span,
.success-rates span {
  color: #64748b;
  font-size: 9px;
  text-align: center;
}

.success-rates div {
  border-radius: 999px;
  aspect-ratio: 1;
  border-color: #86efac;
}

.service-performance div {
  display: grid;
  grid-template-columns: 1fr 42px 32px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f6;
  color: #334155;
  font-size: 11px;
}

.form-section {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.form-step {
  display: none;
}

.form-step.active {
  display: grid;
}

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

.two-actions {
  grid-template-columns: 0.8fr 1.2fr;
}

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

.registration-step {
  border-color: rgba(13, 139, 118, 0.38);
  background: #f2faf8;
}

.inline-grid,
.button-row,
.profile,
.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd8df;
  border-radius: 13px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.primary,
.secondary,
.mini-btn {
  min-height: 50px;
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 800;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  box-shadow: 0 12px 24px rgba(79, 70, 246, 0.24);
}

.primary:active {
  background: var(--accent-dark);
}

.secondary {
  color: var(--ink);
  background: #edf2f5;
  border: 1px solid #d3dde5;
}

.mini-btn {
  min-height: 42px;
  color: #fff;
  background: var(--blue);
}

.city-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 33, 43, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 33, 43, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 34% 43%, rgba(13, 139, 118, 0.18), transparent 16%),
    radial-gradient(circle at 69% 55%, rgba(37, 99, 168, 0.16), transparent 18%),
    #e9f0f2;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.city-map::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 45%;
  height: 62px;
  transform: rotate(-7deg);
  background: rgba(37, 99, 168, 0.18);
  border-top: 2px solid rgba(37, 99, 168, 0.22);
  border-bottom: 2px solid rgba(37, 99, 168, 0.18);
}

.district {
  position: absolute;
  transform: translate(-50%, -50%);
  color: rgba(25, 35, 45, 0.65);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}

.pin.master {
  background: var(--accent);
}

.pin.customer {
  width: 22px;
  height: 22px;
  background: var(--accent-2);
}

.pin.busy {
  background: var(--yellow);
}

.pin.inactive {
  background: #8a96a2;
}

.pin::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.legend {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
}

.customer-dot {
  background: var(--accent-2);
}

.master-dot {
  background: var(--accent);
}

.list,
.profile,
.kanban,
.metric-grid {
  padding: 14px;
}

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

.empty {
  color: var(--muted);
}

.item {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.rating-panel {
  background: linear-gradient(135deg, #fff, #f1faf8);
}

.rating-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.rating-actions button {
  min-height: 40px;
  padding: 0;
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  font-weight: 900;
}

/* Visitor home: map-first mobile app layout */
.app-shell.logged-out .app-header,
.app-shell.role-customer .app-header {
  justify-content: flex-start;
  gap: 10px;
}

.app-shell.logged-out .brand,
.app-shell.role-customer .brand {
  order: 1;
  margin-right: auto;
}

.app-shell.logged-out .login-toggle,
.app-shell.role-customer .login-toggle {
  order: 2;
}

.app-shell.logged-out .menu-toggle,
.app-shell.role-customer .menu-toggle {
  order: 3;
}

.app-shell.logged-out .brand-mark,
.app-shell.role-customer .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px 999px 999px 6px;
  transform: rotate(-45deg);
  font-size: 0;
}

.app-shell.logged-out .brand-mark::after,
.app-shell.role-customer .brand-mark::after {
  content: "";
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 999px;
}

.app-shell.logged-out .brand strong,
.app-shell.role-customer .brand strong {
  font-size: 19px;
}

.app-shell.logged-out .brand span,
.app-shell.role-customer .brand span {
  display: none;
}

.app-shell.logged-out .customer-home,
.app-shell.role-customer .customer-home {
  gap: 0;
}

.app-shell.logged-out .customer-call-card,
.app-shell.role-customer .customer-call-card {
  padding: 18px 16px 38px;
  background:
    linear-gradient(180deg, #f4f6fb 0%, #f4f6fb 68%, rgba(244, 246, 251, 0) 100%);
}

.app-shell.logged-out .customer-call-card h1,
.app-shell.role-customer .customer-call-card h1 {
  font-size: 24px;
  line-height: 1.13;
}

.app-shell.logged-out .customer-call-card p,
.app-shell.role-customer .customer-call-card p {
  max-width: 290px;
  margin-top: 8px;
  color: #303849;
  font-size: 14px;
}

.app-shell.logged-out .visitor-slider,
.app-shell.role-customer .visitor-slider {
  min-height: 356px;
  margin: 0 -16px -64px;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 54% 42%, rgba(79, 70, 246, 0.14) 0 34px, rgba(79, 70, 246, 0.08) 35px 58px, transparent 59px),
    linear-gradient(35deg, transparent 0 23%, rgba(180, 186, 198, 0.42) 24% 25%, transparent 26% 100%),
    linear-gradient(128deg, transparent 0 32%, rgba(180, 186, 198, 0.36) 33% 34%, transparent 35% 100%),
    linear-gradient(82deg, transparent 0 55%, rgba(180, 186, 198, 0.34) 56% 57%, transparent 58% 100%),
    linear-gradient(90deg, rgba(205, 214, 226, 0.58) 1px, transparent 1px),
    linear-gradient(0deg, rgba(205, 214, 226, 0.52) 1px, transparent 1px),
    linear-gradient(135deg, #bfe3f8 0 16%, #f2f0e8 16% 100%);
  background-size: auto, auto, auto, auto, 31px 31px, 31px 31px, auto;
}

.app-shell.logged-out .visitor-slider::before,
.app-shell.role-customer .visitor-slider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 74px;
  pointer-events: none;
  background: linear-gradient(180deg, #f4f6fb 0%, rgba(244, 246, 251, 0.7) 34%, rgba(244, 246, 251, 0) 100%);
}

.app-shell.logged-out .visitor-slider::after,
.app-shell.role-customer .visitor-slider::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 8px;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 246, 0.22), transparent);
}

.app-shell.logged-out .slider-track,
.app-shell.role-customer .slider-track,
.app-shell.logged-out .slider-dots,
.app-shell.role-customer .slider-dots {
  display: none;
}

.home-map-layer {
  position: absolute;
  inset: 0;
}

.map-service-pin,
.map-master-avatar,
.map-user-dot {
  position: absolute;
  z-index: 2;
}

.map-service-pin {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  border: 3px solid #fff;
  border-radius: 999px 999px 999px 10px;
  box-shadow: 0 12px 24px rgba(79, 70, 246, 0.28);
  transform: rotate(-45deg);
  font-size: 18px;
}

.map-service-pin i {
  transform: rotate(45deg);
  line-height: 1;
}

.pin-a { left: 18%; top: 16%; }
.pin-b { left: 60%; top: 12%; }
.pin-c { left: 22%; top: 56%; }
.pin-d { left: 70%; top: 66%; }
.pin-e { right: 7%; top: 54%; }
.pin-f { right: 18%; top: 30%; }

.map-master-avatar {
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 50% 33%, #253044 0 8px, transparent 9px),
    radial-gradient(circle at 50% 74%, #253044 0 13px, transparent 14px),
    linear-gradient(135deg, #f2c49a, #d99868);
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(30, 37, 64, 0.2);
}

.avatar-a { left: 36%; top: 33%; }
.avatar-b { right: 11%; top: 16%; }
.avatar-c { right: 27%; top: 54%; }

.map-user-dot {
  left: 50%;
  top: 42%;
  width: 22px;
  height: 22px;
  background: #2f6df6;
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow:
    0 0 0 18px rgba(79, 70, 246, 0.14),
    0 0 0 36px rgba(79, 70, 246, 0.07);
}

.app-shell.logged-out .service-panel,
.app-shell.role-customer .service-panel {
  margin-top: 0;
  border-radius: 24px 24px 0 0;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 -16px 36px rgba(30, 37, 64, 0.12);
}

.home-location-card {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.home-location-card span,
.home-location-card strong {
  display: block;
}

.home-location-card span {
  color: var(--muted);
  font-size: 12px;
}

.home-location-card strong {
  margin-top: 4px;
  font-size: 14px;
}

.home-location-card button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 37, 64, 0.08);
}

.home-location-card button.loading {
  animation: locate-spin 0.9s linear infinite;
}

.home-location-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@keyframes locate-spin {
  to {
    transform: rotate(360deg);
  }
}

.app-shell.logged-out .popular-services,
.app-shell.role-customer .popular-services {
  padding: 14px 14px 12px;
}

.app-shell.logged-out .section-mini-head,
.app-shell.role-customer .section-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.app-shell.logged-out .section-mini-head::after,
.app-shell.role-customer .section-mini-head::after {
  content: "Tümü ›";
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.app-shell.logged-out .section-mini-head p,
.app-shell.role-customer .section-mini-head p {
  display: none;
}

.app-shell.logged-out .popular-service-list,
.app-shell.role-customer .popular-service-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 70, 246, 0.22) transparent;
}

.app-shell.logged-out .popular-service-list::-webkit-scrollbar,
.app-shell.role-customer .popular-service-list::-webkit-scrollbar {
  height: 3px;
}

.app-shell.logged-out .popular-service-list::-webkit-scrollbar-track,
.app-shell.role-customer .popular-service-list::-webkit-scrollbar-track {
  background: transparent;
}

.app-shell.logged-out .popular-service-list::-webkit-scrollbar-thumb,
.app-shell.role-customer .popular-service-list::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 246, 0.22);
  border-radius: 999px;
}

.app-shell.logged-out .popular-service-chip,
.app-shell.role-customer .popular-service-chip {
  min-width: 78px;
  min-height: 86px;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 14px;
  text-align: center;
}

.app-shell.logged-out .popular-service-chip strong,
.app-shell.role-customer .popular-service-chip strong {
  font-size: 10px;
}

.app-shell.logged-out .top-rated-masters,
.app-shell.role-customer .top-rated-masters {
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.app-shell.logged-out .featured-master-list,
.app-shell.role-customer .featured-master-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 4px;
  scrollbar-width: none;
}

.app-shell.logged-out .featured-master-list::-webkit-scrollbar,
.app-shell.role-customer .featured-master-list::-webkit-scrollbar {
  display: none;
}

.app-shell.logged-out .featured-master-card,
.app-shell.role-customer .featured-master-card {
  min-width: 258px;
  grid-template-columns: 64px 1fr;
  padding: 12px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 70, 246, 0.08), transparent 38%),
    #fff;
}

.app-shell.logged-out .featured-master-card::after,
.app-shell.role-customer .featured-master-card::after {
  display: none;
}

.scroll-arrows {
  display: inline-flex;
  gap: 6px;
}

.scroll-arrows button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.popular-services .scroll-arrows {
  display: none;
}

.home-how-section,
.home-reasons-section {
  order: 4;
  padding: 14px 16px;
}

.home-how-section h2,
.home-reasons-section h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 17px;
}

.home-reasons-section h2 {
  text-align: left;
}

.how-card {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.how-card > h3 {
  text-align: center;
  font-size: 20px;
}

.how-card > p {
  max-width: 280px;
  margin: -10px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.how-steps {
  display: grid;
  gap: 14px;
}

.how-steps div {
  display: grid;
  grid-template-columns: 72px 24px 1fr;
  gap: 3px 12px;
  align-items: center;
}

.how-steps i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.how-steps strong {
  font-size: 14px;
}

.how-steps small {
  color: var(--muted);
  line-height: 1.35;
}

.how-illustration {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  background: #f4f6ff;
  border-radius: 14px;
}

.how-illustration::before {
  font-size: 30px;
}

.how-illustration.doc::before {
  content: "📋";
}

.how-illustration.map::before {
  content: "📍";
}

.how-illustration.person::before {
  content: "👷";
}

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

.reason-grid div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 9px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(30, 37, 64, 0.06);
}

.reason-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  color: var(--accent);
  background: #f1f3ff;
  border-radius: 12px;
  font-weight: 900;
}

.reason-grid strong {
  font-size: 12px;
  line-height: 1.2;
}

.reason-grid small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.app-shell.logged-out .faq-panel,
.app-shell.role-customer .faq-panel {
  display: none;
}

.app-shell.logged-out .home-map-hero,
.app-shell.role-customer .home-map-hero {
  order: 1;
  position: relative;
  display: grid;
  margin: 0 -16px;
  overflow: visible;
}

.app-shell.logged-out .home-map-hero .customer-call-card,
.app-shell.role-customer .home-map-hero .customer-call-card {
  order: 1;
  padding: 18px 32px 40px;
}

.app-shell.logged-out .home-map-hero .visitor-slider,
.app-shell.role-customer .home-map-hero .visitor-slider {
  order: 2;
  width: 100%;
  margin: 0 0 -64px;
}

.app-shell.logged-out .home-map-hero .home-search-fake,
.app-shell.role-customer .home-map-hero .home-search-fake {
  left: 32px;
  right: 32px;
  bottom: -25px;
}

.app-shell.logged-out .home-map-hero + .hero-banner + .trust-row + .service-panel,
.app-shell.role-customer .home-map-hero + .hero-banner + .trust-row + .service-panel {
  order: 2;
}

.item strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  flex: 0 0 auto;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf2f5;
  color: #34414d;
  font-size: 12px;
  font-weight: 800;
}

.pill.good {
  color: #0a6f5e;
  background: #dff3ef;
}

.pill.warn {
  color: #8d5c00;
  background: #fff0ca;
}

.pill.bad {
  color: #a23922;
  background: #fde3dc;
}

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

.admin-dashboard-shell {
  display: grid;
  grid-template-columns: var(--admin-rail-width) minmax(0, 1fr);
  min-height: 100dvh;
  margin: 0;
  background: #f5f7fb;
  transition: grid-template-columns 0.22s ease;
}

.app-shell.role-admin.admin-menu-open .admin-dashboard-shell {
  grid-template-columns: var(--admin-menu-width) minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 70;
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  padding: 18px 10px;
  color: #dce6f5;
  background: linear-gradient(180deg, #07182d, #0d213b);
  box-shadow: 10px 0 28px rgba(15, 23, 42, 0.12);
  transition: padding 0.22s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 232, 240, 0.16) transparent;
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(226, 232, 240, 0.12);
  border-radius: 999px;
}

.admin-sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(226, 232, 240, 0.26);
}

.app-shell.role-admin.admin-menu-open .admin-sidebar {
  padding: 24px 14px;
}

.admin-logo {
  margin: 0 0 20px;
  color: #fff;
  font-size: 0;
  font-weight: 950;
  letter-spacing: -1px;
  text-align: center;
}

.app-shell.role-admin:not(.admin-menu-open) .admin-logo {
  display: none;
}

.admin-logo::before {
  content: "y24";
  color: #fff;
  font-size: 18px;
}

.app-shell.role-admin.admin-menu-open .admin-logo {
  margin: 0 12px 24px;
  font-size: 34px;
  text-align: left;
}

.app-shell.role-admin.admin-menu-open .admin-logo::before {
  content: "";
}

.admin-logo b { color: #f59e0b; }

.admin-menu {
  display: grid;
  gap: 3px;
}

.admin-menu strong {
  margin: 14px 0 7px;
  color: #8797ad;
  font-size: 0;
  text-transform: uppercase;
}

.app-shell.role-admin.admin-menu-open .admin-menu strong {
  margin: 14px 12px 7px;
  font-size: 11px;
}

.admin-menu button {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #edf5ff;
  background: transparent;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0;
  text-align: left;
}

.admin-menu button span {
  font-size: 16px;
}

.app-shell.role-admin.admin-menu-open .admin-menu button {
  grid-template-columns: 24px 1fr auto;
  justify-items: stretch;
  padding: 0 10px;
  font-size: 12px;
}

.admin-menu button.active {
  background: linear-gradient(135deg, #5145f5, #3b35db);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

.admin-menu em {
  min-width: 29px;
  padding: 4px 8px;
  color: #fff;
  background: #5145f5;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  text-align: center;
}

.app-shell.role-admin:not(.admin-menu-open) .admin-menu em,
.app-shell.role-admin:not(.admin-menu-open) .admin-menu button > i {
  display: none;
}

.app-shell.role-admin i.fa-chevron-left,
.app-shell.role-admin i.fa-chevron-right,
.app-shell.role-admin i.fa-chevron-up,
.app-shell.role-admin i.fa-chevron-down {
  color: #7b879a;
  font-size: 10px;
  line-height: 1;
  opacity: 0.78;
}

.app-shell.role-admin .admin-menu i.fa-chevron-down {
  font-size: 8px;
  opacity: 0.62;
}

.app-shell.role-admin .admin-back-inline i.fa-chevron-left {
  font-size: 9px;
}

.admin-main {
  min-width: 0;
  padding: calc(var(--admin-topbar-height) + 18px) 30px 36px;
}

.app-shell.role-admin .admin-topbar {
  position: fixed !important;
  top: 0 !important;
  left: var(--admin-rail-width);
  right: 0;
  z-index: 90;
  height: var(--admin-topbar-height);
  min-height: var(--admin-topbar-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(244, 247, 251, 0.94);
  border-bottom: 1px solid #e5ebf4;
  backdrop-filter: blur(14px);
  padding: 0 30px;
  margin: 0;
  transition: left 0.22s ease;
}

.app-shell.role-admin.admin-menu-open .admin-topbar {
  left: var(--admin-menu-width);
}

.admin-topbar > div:first-child,
.admin-top-actions,
.admin-user-chip {
  display: flex;
  align-items: center;
}

.admin-topbar > div:first-child { gap: 20px; }
.admin-topbar h1 { color: #0f172a; font-size: 20px; letter-spacing: 0; }
.admin-topbar button { color: #10213c; background: transparent; font-weight: 900; }

.admin-date-range,
.admin-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #1f2a44;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.admin-top-actions {
  justify-content: end;
  gap: 16px;
}

.admin-search { width: 240px; padding-right: 10px; }
.admin-search input { min-width: 0; width: 100%; border: 0; outline: 0; font-weight: 800; }

.admin-bell {
  position: relative;
  width: 38px;
  height: 38px;
  color: #12213a;
  background: #fff !important;
  border-radius: 50%;
}

.admin-bell em {
  position: absolute;
  right: 0;
  top: 0;
  width: 17px;
  height: 17px;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.admin-logout-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #b91c1c !important;
  background: #fff !important;
  border: 1px solid #fee2e2;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.admin-logout-btn i {
  font-size: 13px;
}

.admin-user-chip { gap: 10px; }

.admin-user-chip > span,
.admin-mini-avatar,
#adminTopEarners span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #64748b);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.admin-user-chip strong,
.admin-user-chip small { display: block; }
.admin-user-chip strong { color: #111827; font-size: 13px; }
.admin-user-chip small { color: #64748b; font-size: 11px; }

.admin-metric-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 18px;
}

.admin-metric-card,
.admin-card,
.admin-kpi-strip {
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
}

.admin-metric-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 13px;
  min-height: 118px;
  padding: 18px;
}

.admin-metric-card > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
}

.admin-metric-card.violet > span,
.admin-metric-card.purple > span { background: linear-gradient(135deg, #6d5dfc, #3b35db); }
.admin-metric-card.green > span { background: linear-gradient(135deg, #45c878, #16a34a); }
.admin-metric-card.blue > span { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.admin-metric-card.orange > span { background: linear-gradient(135deg, #fb923c, #f97316); }

.admin-metric-card small,
.admin-metric-card strong,
.admin-metric-card em { display: block; }
.admin-metric-card small { color: #64748b; font-size: 12px; font-weight: 800; }
.admin-metric-card strong { margin-top: 6px; color: #0f172a; font-size: 24px; }
.admin-metric-card em { grid-column: 1 / -1; color: #16a34a; font-size: 11px; font-style: normal; font-weight: 900; }
.admin-metric-card b { margin-left: 6px; color: #64748b; font-weight: 800; }

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.45fr) minmax(320px, .95fr) minmax(300px, .85fr);
  gap: 16px;
  align-items: start;
}

.admin-card {
  min-width: 0;
  padding: 18px 18px 16px;
}

.admin-card h2 { margin: 0; color: #0f172a; font-size: 16px; letter-spacing: 0; }

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

.admin-card-head button,
.admin-card-head select {
  min-height: 32px;
  padding: 0 12px;
  color: #4f46e5;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.admin-line-chart { display: grid; gap: 8px; }
.admin-line-chart svg { width: 100%; min-height: 238px; }
.admin-line-chart .grid { stroke: #dfe6f2; stroke-dasharray: 6 6; }
.admin-line-chart .area { fill: url(#adminLineFill); }
.admin-line-chart .line { fill: none; stroke: #4f46e5; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.admin-line-chart circle { r: 5; fill: #4f46e5; stroke: #fff; stroke-width: 3; }
.admin-line-chart > div { display: flex; justify-content: space-between; color: #64748b; font-size: 11px; font-weight: 800; }

.admin-donut-wrap {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.admin-donut {
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  align-content: center;
  background: conic-gradient(#4f46e5 0 36%, #3b82f6 36% 65%, #f59e0b 65% 84%, #22c55e 84% 97%, #ef4444 97% 100%);
  border-radius: 50%;
}

.admin-donut strong,
.admin-donut span {
  display: block;
  width: 94px;
  background: #fff;
  text-align: center;
}

.admin-donut strong {
  padding-top: 29px;
  color: #172033;
  border-radius: 60px 60px 0 0;
  font-size: 24px;
}

.admin-donut span {
  padding-bottom: 29px;
  color: #64748b;
  border-radius: 0 0 60px 60px;
  font-size: 11px;
  font-weight: 800;
}

#adminStatusBreakdown,
#adminActivityList,
#adminTopEarners { display: grid; gap: 12px; }

#adminStatusBreakdown li,
#adminActivityList article,
#adminTopEarners article {
  display: grid;
  align-items: center;
  gap: 10px;
}

#adminStatusBreakdown li {
  grid-template-columns: 10px 1fr auto auto;
  color: #4b5874;
  font-size: 12px;
  font-weight: 800;
}

#adminStatusBreakdown li span { width: 9px; height: 9px; border-radius: 50%; }
#adminStatusBreakdown .blue { background: #4f46e5; }
#adminStatusBreakdown .violet { background: #7c3aed; }
#adminStatusBreakdown .yellow { background: #f59e0b; }
#adminStatusBreakdown .green { background: #22c55e; }
#adminStatusBreakdown .red { background: #ef4444; }

#adminActivityList article { grid-template-columns: 36px 1fr; }
#adminActivityList span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border-radius: 50%; font-weight: 900; }
#adminActivityList .green { background: #22c55e; }
#adminActivityList .violet { background: #8b5cf6; }
#adminActivityList .blue { background: #3b82f6; }
#adminActivityList .orange { background: #f59e0b; }
#adminActivityList strong,
#adminActivityList small { display: block; }
#adminActivityList strong { color: #25324d; font-size: 12px; }
#adminActivityList small { margin-top: 3px; color: #94a3b8; font-size: 11px; }

.admin-recent-card { grid-column: span 2; }
.admin-chart-card,
.admin-donut-card,
.admin-activity-card {
  min-height: 348px;
}
#adminRecentRequests { overflow-x: auto; }
#adminRecentRequests table { width: 100%; min-width: 760px; border-collapse: collapse; }
#adminRecentRequests th,
#adminRecentRequests td { padding: 13px 8px; border-bottom: 1px solid #edf1f7; color: #334155; font-size: 12px; font-weight: 800; text-align: left; }
#adminRecentRequests th { color: #0f172a; font-size: 11px; }
.admin-mini-avatar { width: 24px; height: 24px; margin-right: 8px; font-size: 8px; }
#adminRecentRequests em { padding: 5px 8px; color: #4f46e5; background: #eef2ff; border-radius: 7px; font-size: 10px; font-style: normal; font-weight: 900; }

#adminTopEarners article { grid-template-columns: 26px 36px 1fr auto; }
#adminTopEarners b { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: #f59e0b; border-radius: 50%; font-size: 11px; }
#adminTopEarners article:nth-child(n+2) b { background: #cbd5e1; }
#adminTopEarners article:nth-child(3) b { background: #fb923c; }
#adminTopEarners strong,
#adminTopEarners small { display: block; }
#adminTopEarners strong { color: #25324d; font-size: 13px; }
#adminTopEarners small,
#adminTopEarners em { color: #64748b; font-size: 12px; font-style: normal; font-weight: 900; }

.admin-map-preview {
  position: relative;
  min-height: 278px;
  overflow: hidden;
  background:
    linear-gradient(24deg, transparent 0 46%, rgba(59, 130, 246, .15) 46% 54%, transparent 54%),
    linear-gradient(145deg, transparent 0 42%, rgba(34, 197, 94, .12) 42% 50%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, .22) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, .18) 0 1px, transparent 1px 42px),
    #eef6f2;
  border-radius: 12px;
}

.admin-map-preview i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4f46e5;
  border: 5px solid rgba(79, 70, 229, .18);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.admin-map-preview i.green {
  width: 28px;
  height: 28px;
  background: #22c55e;
  border-color: rgba(34, 197, 94, .18);
}

.map-city {
  position: absolute;
  left: 49%;
  top: 55%;
  color: #334155;
  font-size: 19px;
  font-weight: 900;
}

.admin-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 16px;
}

.admin-kpi-strip article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  border-right: 1px solid #e5ebf4;
}

.admin-kpi-strip article:last-child { border-right: 0; }
.admin-kpi-strip span { display: grid; place-items: center; width: 42px; height: 42px; color: #4f46e5; background: #eef2ff; border-radius: 50%; font-weight: 900; }
.admin-kpi-strip small,
.admin-kpi-strip strong,
.admin-kpi-strip em { display: block; }
.admin-kpi-strip small,
.admin-kpi-strip em { color: #64748b; font-size: 11px; font-style: normal; font-weight: 800; }
.admin-kpi-strip strong { margin: 3px 0; color: #0f172a; font-size: 16px; }

.admin-module-card {
  margin-top: 18px;
  padding: 18px;
}

.app-shell.role-admin.admin-dashboard-page .admin-module-card {
  display: none;
}

.app-shell.role-admin.admin-module-page .admin-metric-row,
.app-shell.role-admin.admin-module-page .admin-dashboard-grid,
.app-shell.role-admin.admin-module-page .admin-kpi-strip {
  display: none;
}

.app-shell.role-admin.admin-module-page .admin-module-card {
  display: block;
  margin-top: 0;
  min-height: calc(100dvh - var(--admin-topbar-height) - 54px);
}

.admin-module-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-module-head small,
.admin-module-head span,
.admin-module-copy {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-module-head h2 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 20px;
}

.admin-module-copy {
  margin: 0 0 14px;
  line-height: 1.5;
}

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

.admin-module-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-module-grid.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-module-grid article {
  min-height: 106px;
  padding: 16px;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  background: #fff;
}

.admin-module-grid article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 14px;
  font-size: 18px;
}

.admin-module-grid article strong,
.admin-module-grid article small {
  display: block;
}

.admin-module-grid article strong {
  color: #111827;
  font-size: 14px;
}

.admin-module-grid article small {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.admin-subtitle {
  margin: 18px 0 10px;
  color: #111827;
  font-size: 15px;
}

.payment-summary-grid {
  margin-bottom: 16px;
}

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

.admin-payment-main,
.admin-payment-side {
  display: grid;
  gap: 14px;
}

.admin-payment-side,
.admin-payment-method-form,
.admin-payment-master-grid section,
.admin-payment-method-grid article {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-payment-method-summary,
.admin-payment-master-grid section,
.admin-payment-method-form {
  display: grid;
  gap: 10px;
}

.admin-payment-method-summary article,
.admin-payment-master-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-payment-method-summary span,
.admin-payment-master-grid span,
.admin-payment-method-grid article > div span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 14px;
}

.admin-payment-master-grid,
.admin-payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-payment-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-payment-method-form {
  box-shadow: none;
}

.admin-payment-method-form label {
  display: grid;
  gap: 6px;
}

.admin-payment-method-form span,
.admin-payment-method-summary small,
.admin-payment-master-grid small,
.admin-payment-method-grid small,
.admin-payment-method-grid p,
.admin-payment-method-grid code {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-payment-method-form input,
.admin-payment-method-form select,
.admin-payment-method-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-payment-method-form textarea {
  min-height: 74px;
  padding-top: 10px;
  resize: vertical;
}

.admin-payment-method-form button {
  min-height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 950;
}

.admin-payment-method-summary strong,
.admin-payment-master-grid strong,
.admin-payment-method-grid strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-payment-master-grid em,
.admin-payment-method-grid em {
  padding: 5px 8px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-payment-method-grid article {
  display: grid;
  gap: 9px;
}

.admin-payment-method-grid article > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-payment-method-grid b,
.admin-payment-method-grid code {
  display: block;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 11px;
  overflow-wrap: anywhere;
}

.admin-commission-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #4f46e5);
}

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

.admin-commission-main,
.admin-commission-side {
  display: grid;
  gap: 14px;
}

.admin-commission-side,
.admin-commission-master-grid article,
.admin-commission-total {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-commission-side article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-commission-side article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 14px;
}

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

.admin-commission-master-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.admin-commission-master-grid article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #5145f5);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.admin-commission-side strong,
.admin-commission-master-grid strong,
.admin-commission-total strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-commission-side small,
.admin-commission-master-grid small,
.admin-commission-total small,
.admin-commission-total span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-commission-master-grid b,
.admin-commission-master-grid em {
  color: #111827;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.admin-commission-master-grid em {
  color: #4f46e5;
}

.admin-commission-total strong {
  margin: 6px 0;
  font-size: 24px;
}

.admin-wallet-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

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

.admin-wallet-main,
.admin-wallet-side,
.admin-wallet-master-list {
  display: grid;
  gap: 12px;
}

.admin-wallet-side,
.admin-wallet-note {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-wallet-table {
  min-width: 1180px;
}

.admin-wallet-master-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-wallet-master-list article > span,
.admin-wallet-note > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #5145f5);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.admin-wallet-master-list strong,
.admin-wallet-note strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-wallet-master-list small,
.admin-wallet-note small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-wallet-master-list b {
  color: #4f46e5;
  font-size: 13px;
  white-space: nowrap;
}

.admin-wallet-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  box-shadow: none;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.admin-wallet-note > span {
  color: #4f46e5;
  background: #eef2ff;
}

.admin-category-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}

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

.admin-category-main,
.admin-category-grid,
.admin-category-side,
.admin-category-form {
  display: grid;
  gap: 12px;
}

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

.admin-category-card,
.admin-category-side {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-category-card {
  display: grid;
  gap: 13px;
}

.admin-category-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.admin-category-card-head > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 15px;
  font-size: 18px;
}

.admin-category-card-head strong,
.admin-category-card-head small,
.admin-category-card p,
.admin-category-stats b,
.admin-category-stats small,
.admin-category-form span {
  display: block;
}

.admin-category-card-head strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-category-card-head small,
.admin-category-card p,
.admin-category-stats small,
.admin-category-form span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-category-card-head em {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-category-card-head em.ok { color: #16a34a; background: #dcfce7; }
.admin-category-card-head em.danger { color: #dc2626; background: #fee2e2; }

.admin-category-card p {
  min-height: 34px;
  margin: 0;
  line-height: 1.45;
}

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

.admin-category-stats div {
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 12px;
}

.admin-category-stats b {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-category-form label {
  display: grid;
  gap: 6px;
}

.admin-category-form input,
.admin-category-form select,
.admin-category-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-category-form input[type="color"] {
  padding: 4px;
}

.admin-category-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.admin-region-summary-grid article span,
.admin-region-detail-summary article span {
  color: #fff;
  background: linear-gradient(135deg, #10b981, #2563eb);
}

.admin-region-province-form,
.admin-inline-region-form,
.admin-region-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

.admin-region-province-form {
  grid-template-columns: 1fr 120px 140px 160px;
  align-items: end;
}

.admin-region-province-form label,
.admin-region-form label {
  display: grid;
  gap: 6px;
}

.admin-region-province-form span,
.admin-region-form span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-region-province-form input,
.admin-region-province-form select,
.admin-region-form input,
.admin-region-form select,
.admin-region-form textarea,
.admin-inline-region-form input,
.admin-inline-region-form select {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-region-form textarea {
  min-height: 110px;
  padding-top: 10px;
  resize: vertical;
}

.admin-region-province-form button,
.admin-region-form button,
.admin-inline-region-form button {
  min-height: 40px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 950;
}

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

.admin-province-card {
  display: grid;
  gap: 10px;
  padding: 15px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
  cursor: pointer;
  transition: 0.16s ease;
}

.admin-province-card:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.32);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.1);
}

.admin-province-card div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-province-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #5145f5);
  border-radius: 14px;
  font-weight: 950;
}

.admin-province-card em {
  padding: 5px 8px;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-province-card strong,
.admin-province-card small,
.admin-province-card p {
  display: block;
}

.admin-province-card strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.admin-province-card small,
.admin-province-card p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-region-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-region-detail-summary article {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

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

.admin-region-districts,
.admin-region-side {
  display: grid;
  gap: 12px;
}

.admin-region-side,
.admin-district-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-district-card {
  display: grid;
  gap: 12px;
}

.admin-district-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-district-head strong,
.admin-district-head small {
  display: block;
}

.admin-district-head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-district-head small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-district-head button.danger {
  min-height: 34px;
  padding: 0 10px;
  color: #dc2626;
  background: #fff1f2;
  border-radius: 10px;
  font-weight: 900;
}

.admin-neighborhood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-neighborhood-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.admin-neighborhood-list button {
  color: #dc2626;
  font-size: 14px;
  font-weight: 950;
}

.admin-inline-region-form {
  grid-template-columns: 1fr 120px 130px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.admin-banner-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

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

.admin-banner-main,
.admin-banner-grid,
.admin-banner-side,
.admin-banner-form {
  display: grid;
  gap: 12px;
}

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

.admin-banner-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 12px;
}

.admin-banner-card,
.admin-banner-side,
.admin-promo-preview,
.admin-mini-setting-card,
.admin-ticker-grid article {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-banner-card {
  display: grid;
  gap: 13px;
}

.admin-promo-preview {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #312e81, #2563eb 58%, #06b6d4);
}

.admin-promo-preview.is-passive {
  color: #334155;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.admin-promo-preview span,
.admin-promo-preview em {
  width: max-content;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.admin-promo-preview.is-passive span,
.admin-promo-preview.is-passive em {
  background: #fff;
  border-color: #e2e8f0;
}

.admin-promo-preview strong {
  max-width: 520px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

.admin-promo-preview p {
  max-width: 620px;
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  opacity: 0.9;
}

.admin-mini-setting-card {
  display: grid;
  align-content: center;
  gap: 10px;
}

.admin-mini-setting-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #0ea5e9);
  border-radius: 14px;
  font-size: 16px;
}

.admin-mini-setting-card strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
}

.admin-mini-setting-card small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-banner-preview {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #172033, #4f46e5);
  border-radius: 16px;
}

.admin-banner-preview img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.admin-banner-preview > span {
  font-size: 42px;
}

.admin-banner-preview em {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 9px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-banner-info {
  display: grid;
  gap: 7px;
}

.admin-banner-info small,
.admin-banner-info p,
.admin-banner-info span,
.admin-banner-form span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-banner-info strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.admin-banner-info p {
  margin: 0;
  line-height: 1.45;
}

.admin-banner-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-banner-info span {
  padding: 7px 9px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 999px;
}

.admin-banner-form label {
  display: grid;
  gap: 6px;
}

.admin-banner-form input,
.admin-banner-form select,
.admin-banner-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-banner-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.admin-check-line {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

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

.admin-ticker-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-ticker-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 14px;
  font-size: 16px;
}

.admin-ticker-grid article > div:first-of-type {
  display: grid;
  gap: 7px;
}

.admin-ticker-grid strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
}

.admin-ticker-grid em {
  width: max-content;
  padding: 5px 9px;
  color: #16a34a;
  background: #ecfdf5;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

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

.admin-notification-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-notification-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-notification-panel.wide {
  grid-column: 1 / -1;
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-heading h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.admin-section-heading p {
  max-width: 680px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-section-heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.admin-notification-form {
  display: grid;
  gap: 12px;
}

.admin-notification-form label {
  display: grid;
  gap: 6px;
}

.admin-notification-form label > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.admin-notification-form input:not([type="checkbox"]),
.admin-notification-form select,
.admin-notification-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-notification-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.admin-notification-checks,
.admin-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-notification-checks label,
.admin-channel-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
}

.admin-channel-grid label {
  display: grid;
  grid-template-columns: auto 34px 1fr;
}

.admin-channel-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 12px;
}

.admin-channel-grid strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
}

.admin-notification-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-notification-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e5ebf4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-notification-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-color: transparent;
}

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

.admin-notification-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 16px;
}

.admin-notification-list article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 15px;
  font-size: 16px;
}

.admin-notification-list article > span.read {
  color: #16a34a;
  background: #ecfdf5;
}

.admin-notification-list strong {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.admin-notification-list p {
  margin: 4px 0;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-notification-list small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
}

.admin-notification-list em {
  padding: 6px 9px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-coupon-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

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

.admin-coupon-main,
.admin-coupon-side,
.admin-coupon-form {
  display: grid;
  gap: 12px;
}

.admin-coupon-side,
.admin-coupon-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

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

.admin-coupon-card {
  display: grid;
  gap: 12px;
}

.admin-coupon-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-coupon-head > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 15px;
}

.admin-coupon-head strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.4px;
}

.admin-coupon-head small,
.admin-coupon-card > small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-coupon-head em,
.admin-coupon-meta span {
  padding: 6px 9px;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-coupon-head em.ok { color: #16a34a; background: #dcfce7; }
.admin-coupon-head em.warn { color: #b45309; background: #fef3c7; }
.admin-coupon-head em.danger { color: #dc2626; background: #fee2e2; }

.admin-coupon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-coupon-meta span {
  color: #4f46e5;
}

.admin-coupon-card p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-coupon-progress {
  height: 7px;
  overflow: hidden;
  background: #eef2ff;
  border-radius: 999px;
}

.admin-coupon-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5145f5, #06b6d4);
  border-radius: inherit;
}

.admin-coupon-form label,
.admin-form-split {
  display: grid;
  gap: 7px;
}

.admin-form-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-coupon-form label > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.admin-coupon-form input,
.admin-coupon-form select,
.admin-coupon-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-coupon-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.admin-blog-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

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

.admin-blog-main,
.admin-blog-side,
.admin-blog-form {
  display: grid;
  gap: 12px;
}

.admin-blog-side,
.admin-blog-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

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

.admin-blog-card {
  display: grid;
  gap: 12px;
}

.admin-blog-card-top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-blog-card-top > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  border-radius: 15px;
}

.admin-blog-card-top strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.admin-blog-card-top small,
.admin-blog-seo small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-blog-card-top em,
.admin-blog-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-blog-card-top em.ok { color: #16a34a; background: #dcfce7; }
.admin-blog-card-top em.warn { color: #b45309; background: #fef3c7; }
.admin-blog-card-top em.danger { color: #dc2626; background: #fee2e2; }

.admin-blog-card p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.admin-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-blog-meta span {
  color: #0f766e;
  background: #ecfdf5;
}

.admin-blog-seo {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 13px;
}

.admin-blog-seo strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
}

.admin-blog-form label {
  display: grid;
  gap: 7px;
}

.admin-blog-form label > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.admin-blog-form input,
.admin-blog-form select,
.admin-blog-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-blog-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.admin-settings-card-grid article {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.admin-settings-card-grid article:hover,
.admin-settings-card-grid article.active {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.34);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.1);
}

.admin-settings-card-grid article.active span {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.admin-settings-panels {
  margin-top: 16px;
}

.admin-settings-panel {
  display: none;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-settings-panel.active {
  display: grid;
}

.admin-settings-form {
  display: grid;
  gap: 12px;
}

.admin-settings-form label {
  display: grid;
  gap: 7px;
}

.admin-settings-form label > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.admin-settings-form input,
.admin-settings-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-settings-form textarea {
  min-height: 110px;
  padding-top: 10px;
  resize: vertical;
}

.admin-stats-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

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

.admin-stats-filter-row strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-stats-filter-row span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-stats-filter-row select {
  min-height: 38px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 850;
}

.admin-stats-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.admin-stats-layout,
.admin-stats-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.admin-stats-bottom-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
}

.admin-stats-card {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-stats-card .admin-card-head h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

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

.admin-rate-grid article {
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  text-align: center;
}

.admin-rate-grid strong {
  color: #4f46e5;
  font-size: 24px;
  font-weight: 950;
}

.admin-rate-grid span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

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

.admin-insight-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 15px;
}

.admin-insight-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 14px;
}

.admin-insight-list strong {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.admin-insight-list small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

.admin-report-toolbar strong,
.admin-report-toolbar span {
  display: block;
}

.admin-report-toolbar strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-report-toolbar span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-report-toolbar > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-report-toolbar select {
  min-height: 38px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 850;
}

.admin-report-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #4f46e5);
}

.admin-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-report-card,
.admin-report-panel {
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-report-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.admin-report-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 15px;
}

.admin-report-card strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-report-card p {
  margin: 6px 0 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-report-card div div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-report-card em {
  padding: 5px 8px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-report-card button {
  grid-column: 1 / -1;
  min-height: 36px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 900;
}

.admin-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 16px;
  margin-top: 16px;
}

.admin-report-panel {
  min-width: 0;
  padding: 16px;
}

.admin-report-panel .admin-card-head h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.admin-log-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.admin-log-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

.admin-log-toolbar strong,
.admin-log-toolbar span {
  display: block;
}

.admin-log-toolbar strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-log-toolbar span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-log-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-log-filter-row button {
  min-height: 34px;
  padding: 0 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e5ebf4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-log-filter-row button.active {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-color: transparent;
}

.admin-log-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 16px;
  align-items: start;
}

.admin-log-panel {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-log-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 950;
}

.admin-log-type i {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 10px;
}

.admin-log-table strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
}

.admin-user-status-grid article {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.admin-user-status-grid article:hover,
.admin-user-status-grid article.active {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 246, 0.35);
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
  box-shadow: 0 16px 30px rgba(79, 70, 246, 0.11);
}

.admin-user-status-grid article.active span {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.admin-user-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  align-items: start;
  gap: 18px;
}

.admin-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 12px;
}

.admin-section-title strong,
.admin-section-title small {
  display: block;
}

.admin-section-title strong {
  color: #111827;
  font-size: 17px;
}

.admin-section-title small,
.admin-section-title span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

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

.admin-master-user-card {
  min-width: 0;
  display: grid;
  gap: 13px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
}

.admin-master-user-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
}

.admin-master-user-top > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #5145f5);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.admin-master-user-top strong,
.admin-master-user-top small,
.admin-master-user-stats b,
.admin-master-user-stats small {
  display: block;
}

.admin-master-user-top strong {
  color: #111827;
  font-size: 14px;
}

.admin-master-user-top small,
.admin-master-user-card p,
.admin-master-user-stats small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.admin-master-user-top em {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-master-user-top em.ok { color: #16a34a; background: #dcfce7; }
.admin-master-user-top em.warn { color: #b45309; background: #fef3c7; }
.admin-master-user-top em.danger { color: #dc2626; background: #fee2e2; }

.admin-master-user-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-master-user-stats div {
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 12px;
}

.admin-master-user-stats b {
  color: #111827;
  font-size: 14px;
}

.admin-master-form-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.055);
}

.admin-master-form-card .admin-section-title {
  margin: 0;
}

.admin-master-form-card .admin-section-title button,
.admin-master-form-actions button {
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 950;
}

.admin-master-form-card .admin-section-title button,
.admin-master-form-actions .secondary {
  color: #4f46e5;
  background: #eef2ff;
}

.admin-master-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-master-form-grid label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.admin-master-form-grid label.wide {
  grid-column: span 2;
}

.admin-master-form-grid span,
.admin-master-check-row label {
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}

.admin-master-form-grid input,
.admin-master-form-grid select,
.admin-master-form-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-weight: 800;
}

.admin-master-form-grid textarea {
  min-height: 82px;
  padding-top: 11px;
  resize: vertical;
}

.admin-master-check-row,
.admin-master-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-master-check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid #e5ebf4;
  border-radius: 999px;
}

.admin-master-management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-master-manage-card {
  min-width: 0;
  display: grid;
  gap: 13px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-master-manage-card p {
  min-height: 34px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-master-manage-meta {
  display: grid;
  gap: 8px;
}

.admin-master-manage-meta span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
}

.admin-master-manage-meta i {
  width: 18px;
  color: #4f46e5;
  text-align: center;
}

.admin-action-row button.danger {
  color: #dc2626;
  background: #fff1f2;
  border-color: #fecdd3;
}

.admin-back-inline {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-weight: 900;
}

.admin-customer-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-customer-detail-grid article {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

.admin-customer-detail-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 13px;
}

.admin-customer-detail-grid strong,
.admin-customer-detail-grid small {
  display: block;
}

.admin-customer-detail-grid strong {
  color: #111827;
  font-size: 15px;
}

.admin-customer-detail-grid small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-customer-user-grid {
  display: grid;
  gap: 10px;
}

.admin-customer-user-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.admin-customer-user-top {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
}

.admin-customer-user-top > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 950;
}

.admin-customer-user-top strong,
.admin-customer-user-top small {
  display: block;
}

.admin-customer-user-top strong {
  color: #111827;
  font-size: 13px;
}

.admin-customer-user-top small,
.admin-customer-user-card p,
.admin-customer-user-meta span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.admin-customer-user-top em {
  padding: 5px 8px;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-customer-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-customer-user-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 999px;
}

.admin-customer-user-card button {
  min-height: 36px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 11px;
  font-weight: 950;
}

.admin-customer-summary-grid article span {
  color: #4f46e5;
  background: #eef2ff;
}

.admin-customer-card-table {
  display: grid;
  gap: 10px;
}

.admin-customer-card-table-head,
.admin-customer-row-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) .7fr .45fr .7fr minmax(200px, 1fr) 110px;
  align-items: center;
  gap: 12px;
}

.admin-customer-card-table-head {
  padding: 0 16px 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-customer-row-card {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
}

.admin-customer-row-main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-customer-row-main > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #0ea5e9);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.admin-customer-row-main strong,
.admin-customer-row-main small,
.admin-customer-row-cell strong,
.admin-customer-row-cell small,
.admin-customer-row-note strong,
.admin-customer-row-note small,
.admin-customer-row-note span {
  display: block;
  min-width: 0;
}

.admin-customer-row-main strong,
.admin-customer-row-cell strong,
.admin-customer-row-note strong {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-customer-row-main small,
.admin-customer-row-cell small,
.admin-customer-row-note small,
.admin-customer-row-note span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-customer-row-card button {
  min-height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 950;
}

.admin-request-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

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

.admin-request-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-request-card-top {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
}

.admin-request-card-top > span,
.admin-request-detail-hero > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 15px;
  font-size: 20px;
}

.admin-request-card-top small,
.admin-request-card-top strong,
.admin-request-detail-grid small,
.admin-request-detail-grid strong,
.admin-request-detail-grid span,
.admin-request-card-foot span,
.admin-request-description-card small {
  display: block;
}

.admin-request-card-top small,
.admin-request-detail-grid small,
.admin-request-card-foot span,
.admin-request-description-card small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-request-card-top strong,
.admin-request-detail-grid strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-request-card-top em {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-request-card-top em.ok { color: #16a34a; background: #dcfce7; }
.admin-request-card-top em.warn { color: #b45309; background: #fef3c7; }
.admin-request-card-top em.info { color: #2563eb; background: #dbeafe; }

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

.admin-request-detail-grid div {
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-request-detail-grid span,
.admin-request-card p {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-request-card p {
  margin: 0;
}

.admin-request-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.admin-request-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-request-card-foot i {
  color: #4f46e5;
}

.admin-request-card-foot button {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 950;
}

.admin-request-detail-page {
  display: grid;
  gap: 14px;
}

.admin-request-detail-hero,
.admin-request-description-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-request-detail-hero {
  grid-template-columns: 54px 1fr auto;
  align-items: center;
}

.admin-request-detail-hero strong,
.admin-request-detail-hero b {
  color: #111827;
  font-size: 20px;
  font-weight: 950;
}

.admin-request-detail-hero small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.admin-request-description-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.admin-offer-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
}

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

.admin-offer-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-offer-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 11px;
}

.admin-offer-top > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  font-size: 19px;
}

.admin-offer-top small,
.admin-offer-top strong,
.admin-offer-pair small,
.admin-offer-pair strong,
.admin-offer-pair span,
.admin-offer-metrics small,
.admin-offer-metrics strong {
  display: block;
  min-width: 0;
}

.admin-offer-top small,
.admin-offer-pair small,
.admin-offer-pair span,
.admin-offer-metrics small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-offer-top strong,
.admin-offer-pair strong,
.admin-offer-metrics strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-offer-top em {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-offer-top em.ok { color: #16a34a; background: #dcfce7; }
.admin-offer-top em.warn { color: #b45309; background: #fef3c7; }
.admin-offer-top em.info { color: #2563eb; background: #dbeafe; }
.admin-offer-top em.danger { color: #dc2626; background: #fee2e2; }

.admin-offer-pair,
.admin-offer-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-offer-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-offer-pair div,
.admin-offer-metrics div {
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-action-row button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.admin-job-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #4f46e5);
}

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

.admin-job-list,
.admin-job-side {
  display: grid;
  gap: 12px;
}

.admin-job-card,
.admin-job-side,
.admin-job-alert {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-job-card {
  display: grid;
  gap: 13px;
}

.admin-job-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.admin-job-card-head > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 15px;
  font-size: 20px;
}

.admin-job-card-head small,
.admin-job-card-head strong,
.admin-job-grid small,
.admin-job-grid strong,
.admin-job-grid span,
.admin-job-timeline strong,
.admin-job-timeline small,
.admin-job-alert strong,
.admin-job-alert small {
  display: block;
  min-width: 0;
}

.admin-job-card-head small,
.admin-job-grid small,
.admin-job-grid span,
.admin-job-timeline small,
.admin-job-alert small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-job-card-head strong,
.admin-job-grid strong,
.admin-job-timeline strong,
.admin-job-alert strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-job-card-head em {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-job-card-head em.ok { color: #16a34a; background: #dcfce7; }
.admin-job-card-head em.warn { color: #b45309; background: #fef3c7; }
.admin-job-card-head em.info { color: #2563eb; background: #dbeafe; }
.admin-job-card-head em.danger { color: #dc2626; background: #fee2e2; }

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

.admin-job-grid div {
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-job-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-job-timeline {
  display: grid;
  gap: 10px;
}

.admin-job-timeline article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-job-timeline article > span,
.admin-job-alert > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 12px;
  font-weight: 950;
}

.admin-job-timeline b {
  color: #111827;
  font-size: 18px;
}

.admin-job-alert {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  box-shadow: none;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.admin-message-summary-grid article span {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.admin-message-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.admin-message-list,
.admin-message-side,
.admin-conversation-detail {
  display: grid;
  gap: 12px;
}

.admin-message-card,
.admin-message-side,
.admin-conversation-hero,
.admin-chat-thread {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.admin-message-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 82px;
  gap: 12px;
  align-items: center;
}

.admin-message-card.unread {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.09);
}

.admin-message-card > span,
.admin-message-side article span,
.admin-conversation-hero > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 15px;
}

.admin-message-card > span.ok,
.admin-conversation-hero > span.ok { color: #16a34a; background: #dcfce7; }
.admin-message-card > span.warn,
.admin-conversation-hero > span.warn { color: #b45309; background: #fef3c7; }
.admin-message-card > span.info,
.admin-conversation-hero > span.info { color: #2563eb; background: #dbeafe; }
.admin-message-card > span.danger,
.admin-conversation-hero > span.danger { color: #dc2626; background: #fee2e2; }

.admin-message-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.admin-message-card strong,
.admin-message-card small,
.admin-message-card p,
.admin-message-meta b,
.admin-message-meta small,
.admin-message-side strong,
.admin-message-side small,
.admin-conversation-hero strong,
.admin-conversation-hero small {
  display: block;
  min-width: 0;
}

.admin-message-card strong,
.admin-message-side strong,
.admin-conversation-hero strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-message-card small,
.admin-message-card p,
.admin-message-meta b,
.admin-message-meta small,
.admin-message-side small,
.admin-conversation-hero small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.admin-message-card p {
  margin: 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-message-card-head em,
.admin-conversation-hero em {
  padding: 5px 8px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.admin-message-card button {
  min-height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 12px;
  font-weight: 950;
}

.admin-message-side article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

.admin-conversation-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.admin-chat-thread {
  display: grid;
  gap: 12px;
}

.admin-chat-thread article {
  max-width: 74%;
  padding: 12px;
  border-radius: 16px;
}

.admin-chat-thread .from-user {
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.admin-chat-thread .from-admin {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
}

.admin-chat-thread small,
.admin-chat-thread em {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  opacity: 0.8;
}

.admin-chat-thread p {
  margin: 6px 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #64748b;
  background: #f8fafc;
  font-size: 11px;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.admin-table em.ok { color: #16a34a; background: #dcfce7; }
.admin-table em.warn { color: #b45309; background: #fef3c7; }
.admin-table em.danger { color: #dc2626; background: #fee2e2; }

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-action-row.wide {
  margin-top: 14px;
}

.admin-action-row button,
.admin-table button {
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid #dbe3ef;
  color: #4f46e5;
  background: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}

.admin-action-row button:first-child,
.admin-table button:first-child {
  color: #fff;
  border-color: #4f46e5;
  background: #4f46e5;
}

.app-shell.role-admin input[type="checkbox"] {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #4f46e5;
}

.app-shell.role-admin :where(
  .admin-action-row button,
  .admin-table button,
  .admin-card-head button,
  .admin-payment-method-form button,
  .admin-region-province-form button,
  .admin-region-form button,
  .admin-inline-region-form button,
  .admin-category-form button,
  .admin-banner-form button,
  .admin-notification-form button,
  .admin-master-form-actions button,
  .admin-customer-user-card button,
  .admin-customer-row-card button,
  .admin-request-card-foot button,
  .admin-message-card button,
  .admin-back-inline
) {
  min-height: 34px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: 0 9px 18px rgba(79, 70, 229, 0.16);
}

.app-shell.role-admin :where(
  .admin-action-row button:not(.danger),
  .admin-table button:not(.danger),
  .admin-banner-form button:not(.danger),
  .admin-notification-form button:not(.danger)
):hover {
  filter: brightness(1.03);
}

.app-shell.role-admin :where(.admin-action-row button.danger, .admin-table button.danger) {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: rgba(220, 38, 38, 0.2);
  box-shadow: 0 9px 18px rgba(220, 38, 38, 0.13);
}

.app-shell.role-admin :where(.admin-action-row button:disabled, .admin-table button:disabled) {
  color: #94a3b8;
  background: #eef2f7;
  border-color: #e2e8f0;
  box-shadow: none;
}

.admin-empty-state {
  display: grid;
  justify-items: center;
  padding: 34px 20px;
  color: #64748b;
  text-align: center;
}

.admin-empty-state span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 18px;
  font-size: 22px;
}

.admin-empty-state strong {
  color: #111827;
  font-size: 17px;
}

.admin-empty-state p {
  max-width: 520px;
  margin: 8px 0;
  line-height: 1.55;
}

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

.admin-log-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5ebf4;
  border-radius: 14px;
  background: #fff;
}

.admin-log-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 50%;
  font-weight: 900;
}

.admin-log-list strong {
  color: #111827;
  font-size: 13px;
}

.admin-log-list small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.admin-tools-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-tools-overview article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.admin-tools-overview span,
.admin-tools-note > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 14px;
  font-size: 16px;
}

.admin-tools-overview strong {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 950;
}

.admin-tools-overview small,
.admin-tools-note p {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-tools-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid #e5ebf4;
  border-radius: 16px;
}

.admin-tools-note strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.admin-tools-note p {
  margin: 4px 0 0;
}

.admin-tool-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-tool-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 134px;
  padding: 16px;
  color: #111827;
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.admin-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.1);
}

.admin-tool-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5145f5, #2563eb);
  border-radius: 15px;
  font-size: 17px;
}

.admin-tool-card strong {
  display: block;
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

.admin-tool-card p {
  margin: 6px 0 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-tool-card em {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.admin-tool-card > i {
  justify-self: end;
}

.admin-management-stack {
  display: none !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  margin: 0;
  padding: 0 30px 34px;
  background: #f5f7fb;
  scroll-margin-top: calc(var(--admin-topbar-height) + 18px);
}

.app-shell.role-admin.admin-tools-open .admin-management-stack {
  display: none !important;
}

.app-shell.role-admin.admin-tools-open .admin-module-card {
  margin-bottom: 18px;
}

.admin-management-stack::before {
  content: "Y\0000F6 netim Ara\0000E7 lar\000131";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: 2px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.admin-management-stack .workspace.two-col {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 16px;
}

.admin-management-stack .panel {
  grid-column: span 6;
  min-width: 0;
  margin: 0;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  background: #fff;
  overflow: hidden;
}

.admin-management-stack > .panel:nth-of-type(1),
.admin-management-stack > .panel:nth-of-type(2) {
  grid-column: span 6;
}

.admin-management-stack .panel-head {
  min-height: 62px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-bottom-color: #e5ebf4;
}

.admin-management-stack .panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.admin-management-stack .panel-subtitle {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.admin-management-stack .form-grid {
  padding: 16px;
  gap: 12px;
}

.admin-management-stack .inline-grid,
.admin-management-stack .button-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-management-stack label {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-management-stack input,
.admin-management-stack select,
.admin-management-stack textarea {
  min-height: 42px;
  padding: 9px 11px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.admin-management-stack textarea {
  min-height: 94px;
}

.admin-management-stack .check-row {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 12px;
}

.admin-management-stack .button-row button,
.admin-management-stack .primary,
.admin-management-stack .secondary {
  min-height: 38px;
  border-radius: 12px;
  font-size: 12px;
}

.admin-management-stack .secondary {
  color: #fff;
  background: linear-gradient(135deg, #64748b, #475569);
  border: 0;
}

.admin-management-stack .list,
.admin-management-stack .kanban,
.admin-management-stack .metric-grid {
  padding: 16px;
}

.admin-management-stack .list {
  max-height: 430px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.22) transparent;
}

.admin-management-stack .list::-webkit-scrollbar {
  width: 5px;
}

.admin-management-stack .list::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.22);
  border-radius: 999px;
}

.admin-management-stack .item {
  border-color: #edf1f7;
  background: #fbfcff;
  border-radius: 13px;
}

.admin-management-stack .metric-card {
  min-height: 84px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .admin-logo { font-size: 18px; margin-inline: 8px; }
  .admin-main { padding-top: 0; }
  .admin-management-stack { grid-template-columns: 1fr; }
  .admin-management-stack .workspace.two-col { grid-template-columns: 1fr; }
  .admin-management-stack .panel,
  .admin-management-stack > .panel:nth-of-type(1),
  .admin-management-stack > .panel:nth-of-type(2) { grid-column: auto; }
  .admin-management-stack .inline-grid,
  .admin-management-stack .button-row,
  .admin-tools-overview,
  .admin-tool-card-grid { grid-template-columns: 1fr; }
  .admin-metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell.role-admin .admin-topbar {
    position: sticky !important;
    top: 0 !important;
    height: auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 12px 18px;
  }
  .admin-topbar > div:first-child {
    justify-content: flex-start;
    gap: 12px;
  }
  .admin-date-range {
    width: 100%;
  }
  .admin-top-actions {
    width: 100%;
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-search {
    flex: 1 1 260px;
    width: auto;
  }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .admin-recent-card { grid-column: auto; }
  .admin-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-module-grid,
  .admin-module-grid.compact,
  .admin-module-grid.service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-split,
  .admin-master-user-grid,
  .admin-master-management-grid,
  .admin-customer-user-grid {
    grid-template-columns: 1fr;
  }
  .admin-master-user-grid,
  .admin-customer-detail-grid { grid-template-columns: 1fr; }
  .admin-master-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-master-form-grid label.wide {
    grid-column: auto;
  }
  .admin-customer-card-table-head {
    display: none;
  }
  .admin-customer-row-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .admin-customer-row-cell,
  .admin-customer-row-note {
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #edf1f7;
    border-radius: 12px;
  }
  .admin-request-detail-grid {
    grid-template-columns: 1fr;
  }
  .admin-offer-board,
  .admin-offer-pair,
  .admin-offer-metrics,
  .admin-job-layout,
  .admin-job-grid,
  .admin-message-center,
  .admin-payment-layout,
  .admin-payment-master-grid,
  .admin-payment-method-grid,
  .admin-commission-layout,
  .admin-commission-master-grid,
  .admin-wallet-layout,
  .admin-category-layout,
  .admin-category-grid,
  .admin-region-province-form,
  .admin-province-grid,
  .admin-region-detail-summary,
  .admin-region-detail-layout,
  .admin-inline-region-form,
  .admin-banner-layout,
  .admin-banner-grid,
  .admin-banner-settings-grid,
  .admin-ticker-grid,
  .admin-notification-layout,
  .admin-coupon-layout,
  .admin-coupon-grid,
  .admin-form-split,
  .admin-blog-layout,
  .admin-blog-grid,
  .admin-stats-layout,
  .admin-stats-bottom-grid,
  .admin-rate-grid,
  .admin-report-grid,
  .admin-report-layout,
  .admin-log-layout,
  .admin-notification-checks,
  .admin-channel-grid,
  .admin-notification-list article {
    grid-template-columns: 1fr;
  }
  .admin-notification-panel.wide {
    grid-column: auto;
  }
  .admin-notification-list article .admin-action-row {
    justify-content: stretch;
  }
  .admin-message-card,
  .admin-conversation-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .admin-chat-thread article {
    max-width: 100%;
  }
  .admin-request-card-foot,
  .admin-request-detail-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .admin-request-card-foot {
    display: grid;
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .admin-user-split {
    grid-template-columns: 1fr;
  }

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

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

  .admin-customer-card-table-head,
  .admin-customer-row-card {
    grid-template-columns: minmax(200px, 1.1fr) .7fr .45fr .8fr minmax(180px, 1fr) 100px;
  }

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

  .admin-offer-board {
    grid-template-columns: 1fr;
  }

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

  .admin-message-center {
    grid-template-columns: 1fr;
  }

  .admin-payment-layout,
  .admin-payment-method-grid,
  .admin-commission-layout,
  .admin-wallet-layout,
  .admin-category-layout,
  .admin-notification-layout,
  .admin-coupon-layout,
  .admin-coupon-grid,
  .admin-blog-layout,
  .admin-blog-grid,
  .admin-stats-layout,
  .admin-stats-bottom-grid,
  .admin-report-grid,
  .admin-report-layout,
  .admin-log-layout,
  .admin-tools-overview,
  .admin-tool-card-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .admin-banner-settings-grid,
  .admin-ticker-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-recent-card {
    grid-column: auto;
  }

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

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--nav-height) + 22px + env(safe-area-inset-bottom));
  z-index: 40;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 14px;
  color: #fff;
  background: #14212b;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.service-detail-page {
  gap: 0;
  min-height: calc(100vh - var(--nav-height));
  background: #fff;
}

.service-detail-page > .service-detail-hero,
.service-detail-page > .panel {
  display: none;
}

.active-masters-top {
  position: sticky;
  top: 0;
  z-index: 16;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  margin: -16px -16px 0;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #eef0f6;
}

.active-masters-top .page-back-btn {
  width: 38px;
  height: 38px;
  color: #1f2433;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.active-masters-top > strong {
  text-align: center;
  font-size: 15px;
}

.list-link {
  min-height: 36px;
  padding: 0 4px;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.active-masters-screen {
  position: relative;
  display: grid;
  min-height: calc(100vh - 58px - var(--nav-height));
  margin: 0 -16px;
  background: #fff;
}

.active-filter-row {
  position: sticky;
  top: 58px;
  z-index: 12;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf0f5;
  scrollbar-width: none;
}

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

.active-filter-row span,
.active-filter-row button {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #1f2433;
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 37, 64, 0.05);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.active-filter-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.active-filter-row button {
  color: var(--accent);
}

.active-map {
  position: relative;
  min-height: 430px;
  height: min(56vh, 500px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(79, 70, 246, 0.16) 0 24px, rgba(79, 70, 246, 0.08) 25px 46px, transparent 47px),
    linear-gradient(122deg, transparent 0 12%, rgba(255, 255, 255, 0.7) 12.5% 13.8%, transparent 14.2% 29%, rgba(255, 255, 255, 0.8) 29.5% 30.6%, transparent 31%),
    linear-gradient(32deg, transparent 0 18%, rgba(255, 255, 255, 0.8) 18.5% 19.9%, transparent 20.3% 38%, rgba(255, 255, 255, 0.72) 38.5% 39.7%, transparent 40%),
    linear-gradient(90deg, rgba(197, 205, 221, 0.55) 1px, transparent 1px),
    linear-gradient(0deg, rgba(197, 205, 221, 0.45) 1px, transparent 1px),
    linear-gradient(180deg, #edf2f7 0%, #e9f0e7 58%, #cce6f5 100%);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
}

.active-map::before,
.active-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.active-map::before {
  left: -80px;
  bottom: -72px;
  width: 240px;
  height: 220px;
  background: #a9d8ef;
  border-radius: 52% 48% 48% 52%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.55);
  transform: rotate(-18deg);
}

.active-map::after {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(168, 211, 147, 0.38) 22.3% 28%, transparent 28.3%),
    linear-gradient(34deg, transparent 0 54%, rgba(168, 211, 147, 0.3) 54.2% 61%, transparent 61.4%);
}

.active-map-label {
  position: absolute;
  z-index: 2;
  color: #4f586c;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.label-a {
  left: 9%;
  top: 28%;
}

.label-b {
  left: 52%;
  top: 52%;
}

.label-c {
  right: 14%;
  bottom: 20%;
}

.active-user-location {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #2563ff;
  box-shadow: 0 0 0 12px rgba(37, 99, 255, 0.16), 0 0 0 26px rgba(37, 99, 255, 0.09), 0 12px 26px rgba(37, 99, 255, 0.24);
  transform: translate(-50%, -50%);
}

.active-master-pin {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 58px;
  min-height: 72px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  transform: translate(-50%, -50%);
}

.active-master-pin .active-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #26364f 0 45%, #0f172a 46% 100%);
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(30, 37, 64, 0.18);
  font-size: 11px;
  font-weight: 900;
}

.active-master-pin i {
  position: absolute;
  right: 8px;
  top: 2px;
  width: 13px;
  height: 13px;
  background: #2fc77b;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(47, 199, 123, 0.24);
}

.active-master-pin.unpaid i {
  background: #a4aab8;
  box-shadow: 0 4px 8px rgba(100, 116, 139, 0.16);
}

.active-master-pin.unpaid .active-avatar {
  filter: grayscale(0.35);
  opacity: 0.82;
}

.active-master-pin strong {
  min-height: 24px;
  margin-top: -2px;
  padding: 4px 8px;
  color: #1f2433;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 37, 64, 0.12);
  font-size: 11px;
}

.active-master-pin.selected .active-avatar {
  outline: 3px solid rgba(79, 70, 246, 0.2);
}

.active-master-card {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 14px;
  margin: -100px 12px 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(231, 233, 242, 0.95);
  border-radius: 26px 26px 20px 20px;
  box-shadow: 0 -14px 36px rgba(30, 37, 64, 0.14);
  backdrop-filter: blur(12px);
}

.active-card-main {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
}

.active-card-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #26364f 0 45%, #0f172a 46% 100%);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 900;
}

.active-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.active-card-title strong {
  min-width: 0;
  font-size: 16px;
}

.active-card-title span {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #18a058;
  background: #e8faef;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.active-card-title span.pending {
  color: #6b7280;
  background: #eef0f5;
}

.active-card-main small,
.active-card-main em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.active-card-rating {
  margin-top: 6px;
  color: #ffb020;
  font-size: 13px;
  font-weight: 900;
}

.active-card-rating span {
  color: var(--muted);
  font-weight: 800;
}

.active-empty-map {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 44%;
  z-index: 4;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(30, 37, 64, 0.1);
}

.active-empty-map span,
.active-empty-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.active-empty-card {
  display: grid;
  gap: 10px;
}

.service-detail-page.profile-open .active-masters-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-detail-page.profile-open .active-masters-top > strong,
.service-detail-page.profile-open .list-link {
  opacity: 0;
  pointer-events: none;
}

.service-detail-page.profile-open .active-masters-top .page-back-btn {
  color: #1f2433;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(231, 233, 242, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(30, 37, 64, 0.08);
}

.master-detail-screen {
  display: grid;
  min-height: calc(100vh - var(--nav-height));
  margin: -16px -16px 0;
  padding-bottom: 18px;
  background: #fff;
}

.master-profile-hero {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #eef2f7 0%, #ffffff 46%, #dfe7ef 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.master-profile-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.master-profile-photo::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 0;
  width: 42%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(42, 52, 70, 0.35) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 52, 70, 0.26) 1px, transparent 1px),
    linear-gradient(180deg, #26364f, #111827);
  background-size: 16px 16px, 16px 16px, auto;
  opacity: 0.92;
}

.master-profile-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), transparent);
}

.profile-worker-figure {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 158px;
  height: 230px;
  display: grid;
  place-items: start center;
  padding-top: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 18%, #ffd0ad 0 42px, transparent 43px),
    linear-gradient(180deg, transparent 0 74px, #1f2f48 75px 100%);
  border-radius: 88px 88px 22px 22px;
  transform: translateX(-58%);
  filter: drop-shadow(0 18px 24px rgba(30, 37, 64, 0.18));
}

.profile-worker-figure::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 86px;
  height: 34px;
  background: #16233a;
  border-radius: 44px 44px 12px 12px;
}

.profile-worker-figure span {
  position: relative;
  z-index: 1;
  margin-top: 104px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.master-profile-icon {
  position: absolute;
  z-index: 3;
  top: calc(18px + env(safe-area-inset-top));
  right: 58px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #1f2433;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.master-profile-icon.favorite {
  right: 14px;
}

.master-profile-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.master-profile-active,
.master-profile-count {
  position: absolute;
  z-index: 3;
  bottom: 8px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.master-profile-active {
  left: 12px;
  color: #fff;
  background: #2fc77b;
}

.master-profile-active.pending {
  color: #4b5563;
  background: #eef0f5;
}

.master-profile-count {
  right: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
}

.master-profile-body {
  display: grid;
  gap: 11px;
  padding: 14px 16px 0;
  background: #fff;
}

.master-profile-name {
  display: flex;
  align-items: start;
  gap: 8px;
}

.master-profile-name > div {
  min-width: 0;
  flex: 1;
}

.master-profile-name h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 21px;
  line-height: 1.18;
}

.master-profile-name span,
.profile-rating-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.verified-badge {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: 1.32em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 3px 5px rgba(37, 99, 255, 0.25)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
  overflow: visible;
}

.verified-badge img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.08);
}

.profile-rating-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: -6px;
}

.profile-rating-line b {
  color: #ffb020;
  font-size: 14px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-stats div {
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px 6px;
  text-align: center;
  background: #f8f9fe;
  border: 1px solid #eef0f7;
  border-radius: 16px;
}

.profile-stats strong {
  color: #1f2433;
  font-size: 13px;
}

.profile-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.profile-section {
  display: grid;
  gap: 10px;
}

.profile-section h3 {
  font-size: 16px;
}

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

.profile-service-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #1f2433;
  background: #f8f9fe;
  border: 1px solid #e8ebf3;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.profile-section p {
  color: #3f4658;
  font-size: 13px;
  line-height: 1.42;
}

.master-profile-cta {
  position: sticky;
  bottom: calc(var(--nav-height) + 8px + env(safe-area-inset-bottom));
  z-index: 5;
  margin-top: 4px;
}

.master-profile-cta.disabled,
.master-profile-cta:disabled {
  color: #6b7280;
  background: linear-gradient(180deg, #eef0f5, #e3e6ee);
  box-shadow: none;
  cursor: not-allowed;
}

.service-request-page {
  min-height: calc(100vh - var(--nav-height));
  margin: -16px -16px 0;
  padding: 0 16px 18px;
  background: #fff;
}

.service-request-page .customer-layout {
  gap: 0;
}

.service-request-page .customer-layout > .panel:not(#serviceFormPanel),
.service-request-page > .map-panel {
  display: none;
}

.quote-topbar {
  position: sticky;
  top: 0;
  z-index: 18;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  min-height: 52px;
  margin: 0 -16px;
  padding: calc(6px + env(safe-area-inset-top)) 12px 6px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #f0f1f6;
}

.quote-topbar .page-back-btn {
  width: 34px;
  height: 34px;
  color: #1f2433;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quote-topbar strong {
  text-align: center;
  font-size: 14px;
}

.quote-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 12px 6px 18px;
}

.quote-stepper::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 25px;
  height: 2px;
  background: #e7e9f2;
}

.quote-stepper div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 6px;
  color: #a0a6b5;
  font-size: 11px;
  font-weight: 800;
}

.quote-stepper span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #cfd4e3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.quote-stepper div.active,
.quote-stepper div.done {
  color: var(--accent);
}

.quote-stepper div.active span,
.quote-stepper div.done span {
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(79, 70, 246, 0.22);
}

.quote-panel {
  min-width: 0;
  background: #fff;
}

.quote-form,
.quote-form-step {
  display: grid;
  gap: 16px;
}

.quote-form-step {
  display: none;
  padding-bottom: 112px;
}

.quote-form-step.active {
  display: grid;
}

.quote-form-step h3 {
  font-size: 16px;
}

.quote-service-select {
  position: relative;
  width: fit-content;
  min-width: 148px;
  display: inline-grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 0 12px;
  color: #1f2433;
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 37, 64, 0.05);
}

.quote-service-select > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
}

.quote-service-select svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.quote-service-select select {
  min-height: 42px;
  padding: 0 26px 0 0;
  color: #1f2433;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 900;
  outline: 0;
}

.quote-field,
.quote-upload,
.quote-budget {
  display: grid;
  gap: 10px;
}

.quote-field strong,
.quote-upload strong,
.quote-budget strong {
  color: #1f2433;
  font-size: 13px;
}

.quote-upload small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.quote-field textarea {
  min-height: 126px;
  padding: 14px;
  color: #3f4658;
  background: #fff;
  border: 1px solid #e4e7f0;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.quote-upload > div {
  display: flex;
  gap: 10px;
}

.quote-photo-thumb,
.quote-photo-add {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e7f0;
  border-radius: 14px;
}

.quote-photo-thumb input,
.quote-photo-add input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-photo-thumb span {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 24, 39, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #c9d3df, #31435b);
  background-size: 12px 12px, 12px 12px, auto;
}

.quote-photo-add span {
  color: #7b8192;
  font-size: 28px;
  font-weight: 300;
}

.quote-budget > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.quote-budget > div::-webkit-scrollbar {
  display: none;
}

.quote-budget label {
  display: block;
  flex: 0 0 auto;
}

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

.quote-budget span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #e5e8f1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.quote-budget input:checked + span {
  color: var(--accent);
  background: #f1f3ff;
  border-color: rgba(79, 70, 246, 0.45);
  box-shadow: 0 8px 16px rgba(79, 70, 246, 0.12);
}

.quote-bottom-action {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 8;
  margin: 8px 0 0;
  max-width: calc(100vw - 32px);
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 38%);
}

.quote-bottom-action .primary,
.quote-form-step .form-actions .primary,
.quote-form-step .form-actions .secondary {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
}

@media (min-width: 760px) {
  .quote-bottom-action {
    left: 50%;
    right: auto;
    width: 448px;
    max-width: 448px;
    transform: translateX(-50%);
  }
}

.quote-form-step.registration-step {
  padding: 14px;
  background: #fbfcff;
  border: 1px solid #edf0f7;
  border-radius: 18px;
}

.quote-form-step.confirmation-step {
  gap: 0;
  margin: 0 -16px;
  padding: 0 16px 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  border: 0;
  border-radius: 0;
}

.quote-price-gate {
  display: grid;
  gap: 16px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 70, 246, 0.1), transparent 38%),
    #fff;
  border: 1px solid #eef0f7;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30, 37, 64, 0.1);
}

.quote-price-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(79, 70, 246, 0.24);
  font-size: 26px;
  font-weight: 900;
}

.quote-price-gate h3 {
  font-size: 22px;
}

.quote-price-gate p {
  color: #5d667a;
  line-height: 1.45;
}

.quote-price-summary {
  display: grid;
  gap: 10px;
}

.quote-price-summary div {
  display: grid;
  gap: 4px;
  padding: 13px;
  background: #f8f9fe;
  border: 1px solid #edf0f7;
  border-radius: 16px;
}

.quote-price-summary strong {
  color: #1f2433;
}

.quote-price-summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.quote-login-flow {
  display: grid;
  gap: 0;
}

.quote-login-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 255px;
  margin: 0 -16px -46px;
  padding: 18px 18px 72px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 62%, rgba(79, 70, 246, 0.14) 0 28px, transparent 29px),
    linear-gradient(90deg, rgba(184, 199, 222, 0.3) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 199, 222, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.quote-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1f2433;
}

.quote-login-brand span {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  border-radius: 999px 999px 999px 8px;
  transform: rotate(-45deg);
}

.quote-login-brand strong {
  font-size: 27px;
  letter-spacing: 0;
}

.quote-login-hero h3 {
  font-size: 22px;
}

.quote-login-hero p {
  max-width: 270px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.35;
}

.quote-login-map {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 32px;
  height: 104px;
}

.quote-login-map i {
  position: absolute;
  display: grid;
  place-items: center;
  font-style: normal;
}

.login-pin-main {
  left: 50%;
  top: 20px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  border-radius: 999px 999px 999px 12px;
  box-shadow: 0 18px 34px rgba(79, 70, 246, 0.28);
  transform: translateX(-50%) rotate(-45deg);
}

.login-pin-main::after {
  content: "";
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 999px;
}

.login-pin-a,
.login-pin-b {
  width: 42px;
  height: 42px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #eef0f7;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(30, 37, 64, 0.1);
}

.login-pin-a {
  right: 12%;
  top: 26px;
}

.login-pin-b {
  left: 13%;
  top: 12px;
}

.login-avatar {
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle at 50% 34%, #ffd0ad 0 8px, transparent 9px),
    linear-gradient(160deg, #26364f 0 45%, #0f172a 46% 100%);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(30, 37, 64, 0.13);
}

.login-avatar.a {
  left: 24%;
  top: 62px;
}

.login-avatar.b {
  right: 28%;
  top: 7px;
}

.quote-login-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #eef0f7;
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(30, 37, 64, 0.12);
}

.quote-login-card h3 {
  color: var(--accent);
  font-size: 22px;
}

.quote-login-card p {
  color: var(--muted);
  line-height: 1.35;
}

.quote-login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: #edf0f7;
  border: 1px solid #e1e5ef;
  border-radius: 14px;
}

.quote-login-tabs button {
  min-height: 40px;
  color: #6f7688;
  background: transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.quote-login-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #5b5cff, #4338e8);
  box-shadow: 0 8px 16px rgba(79, 70, 246, 0.2);
}

.quote-auth-panel {
  display: none;
  gap: 13px;
}

.quote-auth-panel.active {
  display: grid;
}

.master-login-panel.active {
  gap: 0;
  margin: -2px -20px -22px;
  padding: 0 20px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(66, 153, 225, 0.24), transparent 32%),
    linear-gradient(145deg, #071c2d 0%, #0b2d49 62%, #082238 100%);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.master-login-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 22px;
  margin: 0 -20px -54px;
  padding: 26px 24px 92px;
  overflow: hidden;
}

.master-login-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background:
    radial-gradient(circle at 50% 16%, #ffd0ad 0 35px, transparent 36px),
    linear-gradient(180deg, transparent 0 74px, #1e3551 75px 100%);
  border-radius: 86px 0 0 22px;
  opacity: 0.95;
}

.master-login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 28, 45, 0.96) 0%, rgba(7, 28, 45, 0.68) 45%, rgba(7, 28, 45, 0.06) 100%);
  background-size: 22px 22px, 22px 22px, auto;
}

.master-login-brand,
.master-login-hero > div:not(.master-login-worker) {
  position: relative;
  z-index: 1;
}

.master-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.master-login-brand span {
  width: 27px;
  height: 27px;
  background: #fff;
  border-radius: 999px 999px 999px 8px;
  transform: rotate(-45deg);
}

.master-login-brand strong {
  color: #fff;
  font-size: 28px;
}

.master-login-hero h3 {
  max-width: 230px;
  color: #fff;
  font-size: 24px;
  line-height: 1.16;
}

.master-login-hero p {
  max-width: 260px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.master-login-worker {
  position: absolute;
  right: 35px;
  bottom: 54px;
  z-index: 1;
  width: 116px;
  height: 178px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 18%, #ffd0ad 0 28px, transparent 29px),
    linear-gradient(180deg, transparent 0 58px, #20395a 59px 100%);
  border-radius: 58px 58px 18px 18px;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.28));
}

.master-login-worker::before {
  content: "";
  position: absolute;
  top: 17px;
  width: 62px;
  height: 24px;
  background: #10263f;
  border-radius: 36px 36px 10px 10px;
}

.master-login-worker span {
  margin-top: 74px;
  font-size: 21px;
  font-weight: 900;
}

.master-login-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
  padding: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}

.master-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: #eef2ff;
  border-radius: 12px;
}

.master-auth-tabs button {
  min-height: 38px;
  color: #475569;
  background: transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.master-auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #5145f5);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.master-auth-form {
  display: none;
}

.master-auth-form.active {
  display: grid;
  gap: 12px;
}

.master-login-card h3 {
  color: #1261ff;
  font-size: 22px;
}

.master-login-card p {
  color: var(--muted);
}

.master-login-card .primary {
  background: linear-gradient(135deg, #1473ff, #0a5bf0);
  box-shadow: 0 12px 24px rgba(20, 115, 255, 0.26);
}

.master-register-grid {
  display: grid;
  gap: 10px;
}

.master-register-grid label {
  display: grid;
  gap: 6px;
}

.master-register-grid label > span,
.register-region-head strong {
  color: #1f2937;
  font-size: 12px;
  font-weight: 900;
}

.master-register-grid input,
.master-register-grid select,
.master-register-grid textarea {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  color: #172033;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  font-weight: 800;
}

.master-register-grid textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.4;
}

.master-register-wide {
  grid-column: 1 / -1;
}

.master-register-notice {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
}

.master-register-notice strong,
.master-register-notice span {
  display: block;
}

.master-register-notice strong {
  font-size: 12px;
  font-weight: 900;
}

.master-register-notice span {
  color: #475569;
  font-size: 11px;
  line-height: 1.45;
}

.legal-consent-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
}

.legal-consent-box.compact {
  margin-top: 2px;
}

.legal-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  color: #27324a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.legal-check input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #5145f5;
}

.legal-consent-box details {
  padding-left: 26px;
}

.legal-consent-box summary {
  color: #5145f5;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.legal-consent-box p {
  margin-top: 6px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
}

.master-sms-form p strong {
  color: #172033;
}

.sms-code-field input {
  text-align: center;
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 900;
}

.master-qr-form {
  text-align: center;
}

.qr-login-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #e0e7ff;
  border-radius: 16px;
}

.qr-code {
  width: 168px;
  height: 168px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 3px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.qr-code i {
  background: #eef2ff;
  border-radius: 3px;
}

.qr-code i.on {
  background: #0f172a;
}

.qr-login-box strong {
  color: #172033;
  font-size: 12px;
  letter-spacing: 0;
}

.qr-login-box span {
  padding: 5px 10px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.master-qr-form .quote-login-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.register-region-head {
  display: grid;
  gap: 4px;
  margin-top: 2px;
}

.register-region-head strong,
.register-region-head small {
  display: block;
}

.register-region-head small {
  color: #64748b;
  font-size: 11px;
}

.register-region-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 78px;
  gap: 8px;
}

.register-region-actions button {
  min-height: 34px;
  color: #2563eb;
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.register-region-actions button:last-child {
  color: #ef4444;
  background: #fff7f7;
  border-color: #fecaca;
}

.register-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.22) transparent;
}

.register-region-check {
  min-height: 42px;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 10px;
}

.register-region-check input {
  width: 15px;
  height: 15px;
  accent-color: #2563eb;
}

.register-region-check span {
  color: #27324a;
  font-size: 11px;
  font-weight: 900;
}

.register-region-check.selected {
  border-color: #bfdbfe;
  background: #f5f9ff;
}

.master-qr-login {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #1261ff;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
  font-weight: 900;
}

.master-qr-login span {
  font-size: 18px;
}

.master-login-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 26px 0 16px;
}

.master-login-benefits div {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.master-login-benefits span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  font-size: 20px;
  font-weight: 900;
}

.master-login-benefits strong {
  color: #fff;
  font-size: 13px;
}

.master-login-benefits small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.4;
}

.quote-role-question {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f8f9fe;
  border: 1px solid #edf0f7;
  border-radius: 16px;
}

.quote-role-question.master {
  background: #f7fbff;
}

.quote-role-question > strong {
  color: #1f2433;
  font-size: 13px;
}

.quote-role-question span {
  color: var(--muted);
  font-size: 12px;
}

.quote-login-field {
  min-height: 52px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #737b8e;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
}

.quote-login-field svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.quote-login-field input {
  min-height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.quote-login-field button {
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.quote-login-submit {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
}

.quote-login-divider {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.quote-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e7e9f2;
}

.quote-login-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #fff;
}

.quote-social-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-social-row button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  color: #2f3646;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.quote-social-row b {
  color: var(--accent);
  font-size: 18px;
}

.quote-register-line {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #5d667a;
  font-weight: 800;
}

.quote-register-line button {
  color: var(--accent);
  background: transparent;
  font-weight: 900;
}

.quote-login-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 24px 0 0;
}

.quote-login-benefits div {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.quote-login-benefits span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #eeeaff;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 900;
}

.quote-login-benefits strong {
  font-size: 13px;
}

.quote-login-benefits small {
  color: #4b5563;
  font-size: 11px;
  line-height: 1.35;
}

.quote-price-link {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
}

.home-master-login-entry {
  position: relative;
  order: 9;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 92px;
  padding: 10px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(59, 130, 246, 0.28), transparent 34%),
    linear-gradient(145deg, #071c2d 0%, #0d3150 66%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(8, 34, 56, 0.14);
}

.home-master-login-entry::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -30px;
  width: 92px;
  height: 92px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.home-master-login-icon {
  position: relative;
  z-index: 1;
  left: auto;
  top: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(20, 115, 255, 0.95), rgba(79, 70, 246, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(20, 115, 255, 0.18);
}

.home-master-login-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.home-master-login-entry span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 3px;
  padding: 4px 7px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.home-master-login-entry h2 {
  max-width: 280px;
  color: #fff;
  font-size: 14px;
  line-height: 1.18;
}

.home-master-login-entry p {
  max-width: 330px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 1.35;
}

.home-master-login-entry a {
  position: relative;
  z-index: 1;
  min-width: 82px;
  min-height: 34px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1473ff, #0a5bf0);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(20, 115, 255, 0.2);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 360px) {
  .home-master-login-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 10px;
  }

  .home-master-login-icon {
    width: 34px;
    height: 34px;
  }

  .home-master-login-entry a {
    grid-column: 1 / -1;
  }
}

.standalone-auth {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(79, 70, 246, 0.1), transparent 30%),
    #eef3fb;
}

.auth-shell {
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 16px 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(30, 37, 64, 0.14);
}

.visitor-auth-page .auth-shell {
  display: grid;
  align-content: start;
  gap: 0;
}

.auth-back-link {
  position: relative;
  z-index: 6;
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 0 10px;
  color: #27324a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e8f1;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(30, 37, 64, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.auth-back-link span {
  font-size: 24px;
  line-height: 1;
}

.auth-back-light {
  margin-bottom: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.standalone-login-card {
  margin-top: 0;
}

.standalone-auth .quote-login-hero {
  margin-top: -20px;
}

.standalone-auth .quote-login-card,
.standalone-auth .quote-login-benefits {
  margin-inline: 2px;
}

.master-auth-page .auth-shell.master-login-panel.active {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 46px) 28px;
  border-radius: 0;
  box-shadow: none;
}

.master-auth-page .master-login-hero {
  min-height: 322px;
  margin: 0 calc(clamp(18px, 5vw, 46px) * -1) -54px;
  padding-top: 20px;
}

.master-auth-page .master-login-card {
  width: min(100%, 440px);
  margin-top: 0;
  justify-self: center;
}

.master-auth-page .master-login-benefits {
  width: min(100%, 720px);
  justify-self: center;
  padding-bottom: 0;
}

@media (max-width: 380px) {
  .quote-social-row,
  .master-login-benefits,
  .quote-login-benefits {
    grid-template-columns: 1fr;
  }

  .master-login-worker {
    right: 18px;
    width: 96px;
  }
}

@media (min-width: 760px) {
  body {
    background:
      linear-gradient(90deg, rgba(79, 70, 246, 0.08), transparent 30%, transparent 70%, rgba(255, 176, 32, 0.08)),
      #eef1f8;
  }

  .app-shell {
    max-width: 480px;
    min-height: 900px;
    margin: 22px auto;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 43, 0.12);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(20, 33, 43, 0.22);
  }

  .app-shell.role-master,
  .app-shell.role-admin {
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app-header {
    position: sticky;
    border-radius: 30px 30px 0 0;
  }

  .app-shell.role-master .app-header,
  .app-shell.role-admin .app-header {
    border-radius: 0;
  }

  .nav-tabs {
    left: 50%;
    right: auto;
    width: 448px;
    transform: translateX(-50%);
  }

  .visitor-bottom-nav {
    left: 50%;
    right: auto;
    width: 480px;
    transform: translateX(-50%);
    border-radius: 0 0 30px 30px;
  }

  .visitor-slider {
    width: calc(100% + 32px);
  }
}
