@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
:root {
  --blue: #1769ed;
  --navy: #15243d;
  --muted: #7c879b;
  --line: #e8ecf3;
  --bg: #f5f7fb;
  --green: #1c986c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--navy);
  background: var(--bg);
  font-family:
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 14px;
  letter-spacing: -0.035em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8cbcff;
  outline-offset: 3px;
}
button {
  border: 0;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 36px 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--blue);
  width: 36px;
  height: 36px;
  border-radius: 12px 12px 12px 4px;
  color: white;
  transform: rotate(-8deg);
}
.brand-mark svg,
.brand-mark .fa-icon {
  width: 18px;
  height: 18px;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
}
.fa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  width: 1.15em;
  text-align: center;
}
.nav .fa-icon {
  width: 18px;
  font-size: 15px;
}
.cat-icon .fa-icon {
  font-size: 18px;
}
.banner-icon .fa-icon,
.help-card > .fa-icon {
  font-size: 18px;
}
.icon-button .fa-icon {
  font-size: 16px;
}
.btn .fa-icon {
  margin-right: 4px;
  font-size: 0.95em;
}
.request-row .fa-icon {
  font-size: 16px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  line-height: 1.05;
}
.brand-text strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
  white-space: nowrap;
}
.workspace {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #9aa4b4;
  font-weight: 600;
  margin: 42px 14px 12px;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button, .nav a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  color: #737f92;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
}
.nav button.active, .nav a.active {
  color: var(--blue);
  background: #edf4ff;
}
.nav button:hover, .nav a:hover {
  background: #f1f5fc;
}
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-group-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
  padding: 12px 16px 4px;
  line-height: 1.2;
}
.nav-group:first-child .nav-group-label {
  padding-top: 4px;
}
.nav-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 12px;
  flex-shrink: 0;
}
.side-bottom {
  margin-top: auto;
}
.help-card {
  padding: 17px;
  background: #f6f8fc;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.help-card strong {
  display: block;
}
.help-card button,
.help-card a[data-page],
.help-card a[data-action] {
  color: var(--blue);
  background: none;
  padding: 10px 0 0;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
}
.guest-intro {
  margin-top: 18px;
  padding: 16px 14px;
  border-radius: 14px;
  background: linear-gradient(165deg, #f4f8ff 0%, #eef3fb 100%);
  border: 1px solid rgba(23, 105, 237, 0.08);
}
.guest-intro-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 8px;
}
.guest-intro strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #1a2333;
  margin-bottom: 8px;
}
.guest-intro p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #5c6b82;
}
.guest-intro ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.guest-intro li {
  position: relative;
  padding-left: 14px;
  font-size: 11px;
  line-height: 1.45;
  color: #3d4a5c;
  font-weight: 600;
}
.guest-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}
.pending-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: min(72vh, 640px);
  color: #16304f;
  isolation: isolate;
}
.pending-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(720px 360px at 8% 12%, rgba(23, 105, 237, 0.16), transparent 55%),
    radial-gradient(520px 280px at 92% 18%, rgba(56, 189, 168, 0.18), transparent 50%),
    linear-gradient(160deg, #f7fbff 0%, #eef5ff 48%, #f4fffb 100%);
}
.pending-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231769ed' fill-opacity='0.035'%3E%3Cpath d='M36 4l4 12h12l-10 7 4 12-10-7-10 7 4-12-10-7h12z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}
.pending-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  animation: svc-rise 0.7s ease both;
}
.pending-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #9ed7ff 35%, #1769ed 100%);
  box-shadow: 0 12px 30px rgba(23, 105, 237, 0.28);
  animation: pending-float 3.6s ease-in-out infinite;
}
@keyframes pending-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pending-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #5b6f8c;
}
.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 105, 237, 0.12);
  color: #1769ed;
  font-size: 12px;
  font-weight: 800;
}
.pending-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bda8;
  box-shadow: 0 0 0 0 rgba(56, 189, 168, 0.55);
  animation: pending-pulse 1.8s ease-out infinite;
}
@keyframes pending-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 168, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 168, 0); }
}
.pending-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #12263f;
}
.pending-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5d75;
  max-width: 34em;
}
.pending-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pending-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 38, 63, 0.06);
  animation: svc-rise 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}
.pending-steps li span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1769ed;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.pending-steps li b {
  font-size: 14px;
  line-height: 1.45;
  color: #1a2b42;
  font-weight: 700;
  padding-top: 4px;
}
.pending-note {
  margin-bottom: 22px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 105, 237, 0.08), rgba(56, 189, 168, 0.1));
  border: 1px solid rgba(23, 105, 237, 0.1);
}
.pending-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #12325c;
}
.pending-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4d6078;
}
.pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 600px) {
  .pending-hero {
    min-height: auto;
    border-radius: 18px;
  }
  .pending-hero-inner {
    padding: 28px 20px;
  }
}
.portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  font-size: 12px;
  color: #7b879c;
  font-weight: 600;
}
.portal-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.portal-links a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.portal-links a[data-page="services"] {
  color: var(--blue);
}
.portal-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ===== All Services intro ===== */
.svc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: min(52vh, 420px);
  margin-bottom: 28px;
  color: #fff;
  isolation: isolate;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% 18%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(700px 380px at 88% 0%, rgba(23, 105, 237, 0.55), transparent 50%),
    linear-gradient(135deg, #0b1c3a 0%, #153a7a 42%, #1769ed 100%);
  z-index: 0;
  animation: svc-bg-shift 14s ease-in-out infinite alternate;
}
.svc-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}
@keyframes svc-bg-shift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1.5%, 1%); }
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  max-width: 720px;
  animation: svc-rise 0.7s ease both;
}
@keyframes svc-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  opacity: 0.85;
}
.svc-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.svc-hero h1 span {
  color: #9ec2ff;
}
.svc-lead {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 34em;
}
.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.svc-hero-actions .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.svc-hero-actions .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  animation: svc-rise 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 0.07s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--svc-accent, var(--blue));
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(21, 36, 61, 0.08);
  border-color: #d7e0f0;
}
.svc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.svc-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--svc-accent, var(--blue));
  background: var(--svc-soft, #edf4ff);
  padding: 4px 9px;
  border-radius: 999px;
}
.svc-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9aa6ba;
}
.svc-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.svc-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #3a4a66;
}
.svc-card-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}
.svc-points {
  margin: 8px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.svc-points li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  color: #4b5b76;
  font-weight: 600;
}
.svc-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--svc-accent, var(--blue));
}
.svc-enter {
  margin-top: auto;
  align-self: flex-start;
}
.svc-care { --svc-accent: #1769ed; --svc-soft: #edf4ff; }
.svc-driver { --svc-accent: #0f766e; --svc-soft: #e6f7f5; }
.svc-out { --svc-accent: #c26a1a; --svc-soft: #fff4e8; }
.svc-franchise { --svc-accent: #6d28d9; --svc-soft: #f3e8ff; }
.svc-manager { --svc-accent: #0f766e; --svc-soft: #e7f6f3; }
.svc-admin { --svc-accent: #1d4ed8; --svc-soft: #e8eefc; }
.svc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(120deg, #f7f9fd, #eef4ff);
  border: 1px solid #e3eaf7;
  margin-bottom: 10px;
}
.svc-foot h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.svc-foot p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 36em;
}
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-hero {
    min-height: auto;
  }
}

.main {
  margin-left: 240px;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  gap: 15px;
}
.breadcrumb {
  font-size: 13px;
  color: #919bad;
}
.breadcrumb b {
  color: #344155;
  margin-left: 9px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-right .icon-button {
  background: none;
  position: relative;
  color: #637086;
}
.avail-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  border-radius: 999px;
  padding: 6px 10px 6px 14px;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.avail-switch.is-on {
  background: #e8f7f1;
  border-color: #b7e4d2;
}
.avail-switch-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.avail-switch-text strong {
  font-size: 12px;
  font-weight: 800;
}
.avail-switch-state {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.avail-switch.is-on .avail-switch-state {
  color: var(--green);
}
.avail-switch-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #c5cedd;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.avail-switch.is-on .avail-switch-track {
  background: var(--green);
}
.avail-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(21, 36, 61, 0.2);
  transition: transform 0.15s ease;
}
.avail-switch.is-on .avail-switch-thumb {
  transform: translateX(18px);
}
.home-action-card .heading {
  align-items: center;
}
.home-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 128px;
  flex-shrink: 0;
}
.home-card-actions .btn,
.btn.home-card-btn {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  white-space: nowrap;
  font-size: 13px;
  padding: 0 16px;
}
@media (max-width: 720px) {
  .avail-switch-text strong {
    font-size: 11px;
  }
  .avail-switch-state {
    font-size: 9px;
  }
  .home-action-card .heading {
    flex-direction: column;
    align-items: stretch;
  }
  .home-card-actions {
    width: 100%;
    min-width: 0;
  }
}
.dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  right: 6px;
  top: 4px;
}
.avatar {
  background: #e8f0fe;
  color: #3672d7;
  border-radius: 50%;
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar.avatar-photo {
  padding: 0;
  background: #e8f1ff;
}
.avatar.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.user-btn {
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f4d63;
}
.content {
  max-width: 1370px;
  margin: 0 auto;
  padding: 37px 46px 35px;
}
.eyebrow {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}
.heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  margin-bottom: 25px;
}
.heading-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 4px;
}
.heading-actions .actions {
  display: contents;
}
.heading-actions > .btn,
.heading-actions > .store-selector,
.heading-actions > .eyebrow {
  flex: 0 0 auto;
}
h1 {
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -1.3px;
  margin: 6px 0;
}
h2 {
  font-size: 18px;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  line-height: 1.7;
}
.sub {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
}
.store-selector {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 11px 15px;
  color: #4a566a;
  min-width: 155px;
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #e9f2ff, #eaf4ff 55%, #dfefff);
  border: 1px solid #dfeafa;
  border-radius: 20px;
  min-height: 282px;
  display: flex;
  align-items: center;
  padding: 33px 36px;
  margin-bottom: 25px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 64%;
}
.hero-copy .actions .btn.hero-cta {
  font-size: 16px;
  padding: 15px 26px;
  min-height: 50px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(23, 105, 237, 0.28);
}
.pill {
  background: #fff;
  color: var(--blue);
  padding: 6px 11px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.pill svg {
  width: 14px;
  height: 14px;
}
.hero h2 {
  font-size: 31px;
  line-height: 1.45;
  letter-spacing: -1.4px;
  margin: 13px 0 8px;
}
.hero p {
  color: #70839e;
  margin: 0 0 22px;
  font-size: 13px;
}
.hero-art {
  position: absolute;
  right: 20px;
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 58px;
  transform: rotate(5deg);
  box-shadow: 0 20px 35px #8fb5e344;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 600;
  min-height: 43px;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn.secondary {
  background: white;
  color: #536177;
  border: 1px solid #dfe5ee;
}
.btn.soft {
  background: #edf4ff;
  color: var(--blue);
}
.btn.danger {
  background: #fff0ee;
  color: #d35049;
}
.btn.small {
  padding: 8px 12px;
  min-height: 34px;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 15px;
  gap: 12px;
}
.text-btn {
  background: transparent;
  color: #8c97a8;
  font-size: 12px;
  padding: 5px;
}
.text-btn:hover {
  color: var(--blue);
}
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.category {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 8px 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: #42506a;
  font-size: 12px;
  font-weight: 600;
}
.category:hover {
  border-color: #91b8f4;
  transform: translateY(-2px);
}
.cat-icon {
  height: 42px;
  width: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  color: #4b87e9;
}
.category:nth-child(2) .cat-icon {
  background: #fff6e5;
  color: #e6ad48;
}
.category:nth-child(3) .cat-icon {
  background: #e8f8f7;
  color: #42a89c;
}
.category:nth-child(4) .cat-icon {
  background: #f2eeff;
  color: #9880d5;
}
.category:nth-child(5) .cat-icon {
  background: #eaf5ff;
  color: #58a2d9;
}
.category:nth-child(6) .cat-icon {
  background: #fff0eb;
  color: #df9172;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  text-align: center;
  color: var(--muted);
  gap: 8px;
  padding: 23px;
}
.empty .empty-icon {
  color: #afbed5;
  background: #f2f5fb;
  border-radius: 50%;
  padding: 12px;
  margin-bottom: 5px;
}
.empty strong {
  font-size: 13px;
  color: #67758b;
}
.empty p {
  font-size: 12px;
  margin: 0 0 5px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f6;
  font-size: 12px;
}
.price-row:last-child {
  border: 0;
}
.price-row b {
  color: #3a4b66;
}
.price-row span {
  color: #8b96a7;
}
.notice {
  background: #f5f8fe;
  padding: 12px 14px;
  border-radius: 8px;
  color: #8593aa;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 13px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.check-row input {
  margin-top: 3px;
  flex-shrink: 0;
}
.check-row b {
  display: block;
  margin-bottom: 2px;
}
.banner {
  margin-top: 25px;
  background: #eaf1fb;
  border-radius: 13px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.banner-icon {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #7d9dd1;
}
.banner strong {
  font-size: 13px;
}
.banner p {
  font-size: 12px;
  margin: 4px 0 0;
  color: #8391a7;
}
.banner button {
  margin-left: auto;
  white-space: nowrap;
}
.footer {
  display: flex;
  justify-content: space-between;
  color: #a2abba;
  font-size: 10px;
  gap: 15px;
  margin-top: 30px;
}
.mobile-brand {
  display: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 24px;
}
.stats.stats-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stats.stats-5 .stat {
  padding: 18px 14px;
}
.stats.stats-5 .stat strong {
  font-size: 22px;
}
@media (max-width: 1100px) {
  .stats.stats-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
  .stats.stats-5 .stat {
    padding: 14px 10px;
  }
  .stats.stats-5 .stat strong {
    font-size: 18px;
  }
  .stats.stats-5 .stat span {
    font-size: 11px;
  }
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 13px;
}
.stat span {
  font-size: 12px;
  color: #7d899b;
}
.stat strong {
  display: block;
  font-size: 27px;
  margin: 9px 0 0;
}
.stat small {
  font-size: 11px;
  color: #9aa6b5;
}
.request-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.request-row:last-child {
  border: 0;
}
.request-row:hover {
  background: #fafcff;
}
.request-row .body {
  flex: 1;
  min-width: 0;
}
.request-row strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 470px;
}
.request-row p {
  font-size: 11px;
  color: #8d99aa;
  margin: 5px 0 0;
}
.badge {
  font-size: 11px;
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: #edf3ff;
  color: #5480c4;
  white-space: nowrap;
}
.badge.green {
  color: #269575;
  background: #eaf7f2;
}
.badge.orange {
  color: #c49139;
  background: #fff6e6;
}
.badge.red {
  color: #d45a55;
  background: #fff0ee;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
th {
  text-align: left;
  color: #8a96a7;
  background: #f8fafc;
  padding: 13px 12px;
  font-weight: 500;
}
td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.timeline {
  padding: 8px 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 23px 24px;
  border-left: 1px solid #dce6f3;
  margin-left: 6px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a7c5f4;
  left: -5px;
  top: 5px;
}
.timeline-item:last-child:before {
  background: var(--blue);
}
.timeline-item strong {
  font-size: 12px;
}
.timeline-item p {
  color: #8390a3;
  font-size: 11px;
  margin: 4px 0;
}
.timeline-item time {
  font-size: 10px;
  color: #a0a9b8;
}
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
  padding-bottom: 2px;
}
.filters button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 7px;
  background: #fff;
  color: #788497;
  border: 1px solid var(--line);
}
.filters button.active {
  background: #eaf2ff;
  color: var(--blue);
  border-color: #c9ddfd;
}
.search {
  max-width: 290px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: #536077;
}
.field input,
.field select,
.field textarea,
.search {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  color: #34435a;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #77a9f7;
  box-shadow: 0 0 0 3px #eef5ff;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field small {
  font-size: 11px;
  color: #8995a6;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin: 8px 0 17px;
}
.check input {
  accent-color: var(--blue);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #16263e66;
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: white;
  border-radius: 18px;
  max-width: 590px;
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  padding: 29px;
}
.modal.modal-wide {
  max-width: min(920px, 96vw);
  padding: 28px 30px;
}
.modal.modal-xl {
  max-width: min(1120px, 98vw);
  width: 100%;
  padding: 26px 28px 22px;
}
.modal.modal-wide .modal-header h2,
.modal.modal-xl .modal-header h2 {
  font-size: 20px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-header button {
  background: #f5f7fa;
  border-radius: 50%;
  padding: 6px;
  color: #8d97a7;
}
.modal .actions {
  margin-top: 22px;
}
.modal .actions .btn {
  flex: 1;
}
.google {
  width: 100%;
  background: white;
  border: 1px solid #dbe2ed;
  color: #38465b;
  padding: 13px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  text-decoration: none;
}
.google b {
  font-size: 20px;
  color: #4285f4;
}
.auth-panel {
  text-align: left;
}
.auth-lead {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  text-align: center;
}
.auth-register-btn {
  width: 100%;
  margin-top: 10px;
}
.auth-alt {
  margin-top: 4px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.svc-auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.svc-auth-links a {
  color: var(--blue);
  text-decoration: none;
}
.svc-auth-links a:hover {
  text-decoration: underline;
}
.login-art {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  margin: 2px auto 20px;
}
.center {
  text-align: center;
}
.login-card {
  max-width: 440px;
  margin: 36px auto;
  padding: 35px;
}
.login-card h2 {
  font-size: 23px;
}
.login-card p {
  color: #8793a5;
  font-size: 13px;
  margin: 12px 0 24px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #21334e;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  z-index: 200;
  transition: transform 0.25s;
  box-shadow: 0 10px 30px #10274722;
  font-size: 13px;
  max-width: 90vw;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
.loading {
  padding: 80px;
  text-align: center;
  color: #8192aa;
}
.loading.loading-center {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  margin: 0;
  background: var(--bg, #f5f7fb);
}
.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: min(280px, 86vw);
  padding: 28px 26px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line, #e8ecf3);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  text-align: center;
}
.loading-card strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy, #15243d);
  letter-spacing: -0.02em;
}
.loading-card p,
.loading-card .app-loader-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8192aa;
}
.loading-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #e4ebf5;
  border-top-color: var(--blue, #1769ed);
  animation: loading-spin 0.75s linear infinite;
}
@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.app-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.app-loader[hidden] {
  display: none !important;
}
.app-loader.is-visible[hidden] {
  display: grid !important;
}
body.theme-admin .loading.loading-center {
  background: #0b1220;
}
body.theme-admin .loading-card {
  background: #111827;
  border-color: #1f2937;
  color: #e2e8f0;
}
body.theme-admin .loading-card strong {
  color: #f8fafc;
}
body.theme-admin .loading-card p,
body.theme-admin .loading-card .app-loader-msg {
  color: #94a3b8;
}
body.theme-admin .loading-spinner {
  border-color: #334155;
  border-top-color: #60a5fa;
}
.categories .category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.categories .category b {
  font-size: 13px;
  font-weight: 700;
}
.categories .category small {
  font-size: 11px;
  color: #8b97a8;
}
.care-steps {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: #f5f8fc;
  border: 1px solid #e3ebf5;
}
.care-price-box {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7e2f0;
}
.row-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.as-progress {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin: 0 0 4px;
}
.as-progress-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef3f9;
  color: #7a8799;
  font-size: 11px;
}
.as-progress-item span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d5dee9;
  font-weight: 700;
}
.as-progress-item.active {
  background: #1769ed;
  color: #fff;
}
.as-progress-item.active span {
  background: rgba(255, 255, 255, 0.25);
}
.as-progress-item.done {
  background: #e7f6ef;
  color: #1f8a5b;
}
.as-progress-item.done span {
  background: #21ad86;
  color: #fff;
}
.as-choice-list {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-right: 2px;
}
.as-store-search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.as-store-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.as-store-search-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.as-store-empty {
  margin: 8px 0 0;
  text-align: center;
}
.as-selected-store {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px dashed #9bbcf0;
}
.as-selected-store .sub {
  margin: 0;
}
.as-selected-store b {
  font-size: 14px;
}
.as-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1.5px solid #d7e2f0;
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
}
.as-choice[hidden] {
  display: none !important;
}
.as-choice.selected {
  border-color: #1769ed;
  background: #f3f8ff;
}
.as-choice input {
  margin-top: 3px;
}
.as-pay-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.as-toss-btn {
  background: #0064ff !important;
  border-color: #0064ff !important;
}
.as-done {
  text-align: center;
  padding: 12px 4px 4px;
}
.as-done-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1769ed;
}
.as-nav {
  margin-top: 18px;
}
.attachments img,
.attachments video {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 9px;
}
.attach-groups {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.attach-group {
  padding: 12px 0 0;
  border-top: 1px solid #e6edf6;
}
.attach-group:first-child {
  border-top: 0;
  padding-top: 0;
}
.attach-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.attach-group-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.attach-group .attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.attach-empty {
  margin: 0;
}
a.attach-thumb {
  display: block;
  line-height: 0;
  cursor: zoom-in;
}
a.gallery-item {
  cursor: zoom-in;
}
a.tech-avatar-link {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
  border-radius: inherit;
}
a.tech-avatar-link img {
  display: block;
}
.media-item a.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
}
.media-item a.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pswp {
  --pswp-bg: rgba(10, 16, 28, 0.94);
  z-index: 10000;
}
a.list-thumb-link {
  display: inline-flex;
  line-height: 0;
  cursor: zoom-in;
}
.media-picker {
  display: grid;
  gap: 12px;
}
.media-drop {
  border: 1.5px dashed #c5d0e0;
  border-radius: 14px;
  background: #f7f9fc;
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.media-drop:hover,
.media-drop.is-dragover {
  border-color: var(--blue, #1769ed);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(23,105,237,.12);
}
.media-drop.is-full {
  opacity: .55;
  pointer-events: none;
}
.media-drop-inner {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.media-drop-inner strong {
  font-size: 14px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}
.media-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef6;
  border: 1px solid #d7e0ec;
}
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-item.is-uploading {
  opacity: .7;
}
.media-busy {
  position: absolute;
  inset: auto 6px 6px 6px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  text-align: center;
}
.media-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.media-remove:hover {
  background: #c0392b;
}
.info-list {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 14px;
  font-size: 12px;
}
.info-list dt {
  color: #8b97a8;
}
.info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.sim-banner {
  padding: 12px 16px;
  background: #fff8e8;
  color: #a27b31;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 18px;
}
.call {
  border-top: 3px solid var(--blue);
}
.call p {
  font-size: 13px;
  color: #7d899b;
}
.call .actions {
  margin-top: 18px;
}
.muted {
  color: var(--muted);
}
.step-label {
  font-size: 11px;
  color: var(--blue);
  margin-bottom: 15px;
  font-weight: 600;
}
.quote-total {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  margin: 15px 0;
}
.map-link {
  color: var(--blue);
  font-size: 12px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #21ad86;
  border-radius: 50%;
  display: inline-block;
}
.full {
  grid-column: 1/-1;
}
.skill-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.skill-checks .check {
  margin: 4px 0;
}
.addr-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.addr-row input {
  flex: 0 0 120px;
  max-width: 40%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #f8fafc;
}
.address-search-box {
  height: 420px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.skill-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 14px;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
  align-items: center;
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}
.skill-chip svg,
.skill-chip i {
  width: 14px;
  height: 14px;
  font-size: 12px;
  color: var(--blue);
}
.skill-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-height: min(58vh, 480px);
  overflow: auto;
  padding: 2px;
}
.skill-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 12px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  color: inherit;
  font: inherit;
}
.skill-pick:hover {
  border-color: #b7c9ef;
  transform: translateY(-1px);
}
.skill-pick.selected {
  border-color: var(--blue);
  background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(23, 105, 237, 0.12);
}
.skill-pick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef3fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 16px;
}
.skill-pick.selected .skill-pick-icon {
  background: #1769ed;
  color: #fff;
}
.skill-pick-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.skill-pick-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c9d3e4;
  background: #fff;
}
.skill-pick.selected .skill-pick-check {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #fff;
}
@media (max-width: 640px) {
  .skill-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.notification-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.notification-item p {
  margin: 0;
  font-size: 13px;
}
.notification-item small {
  color: #9aa5b6;
  font-size: 10px;
}
@media (min-width: 1500px) {
  .hero-art {
    right: 55px;
  }
  .hero {
    min-height: 300px;
  }
  .hero-copy {
    max-width: 67%;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 30px 18px;
  }
  .main {
    margin-left: 205px;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero {
    padding: 28px;
    min-height: 265px;
  }
  .hero-art {
    width: 215px;
    height: 215px;
    right: 5px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-copy {
    max-width: 65%;
  }
  .split {
    grid-template-columns: 1.3fr 1fr;
    gap: 17px;
  }
  .category {
    font-size: 11px;
  }
  .categories {
    gap: 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 78px;
    padding: 26px 12px;
  }
  .sidebar .brand {
    justify-content: center;
  }
  .sidebar .brand-text,
  .workspace,
  .nav button span,
  .nav a span,
  .side-bottom .help-card,
  .guest-intro {
    display: none;
  }
  .side-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
  }
  .portal-links {
    flex-direction: column;
    gap: 4px;
  }
  .portal-links a {
    font-size: 10px;
    padding: 8px 4px;
    text-align: center;
    line-height: 1.2;
  }
  .nav {
    margin-top: 40px;
  }
  .nav button, .nav a {
    padding: 15px;
    justify-content: center;
  }
  .main {
    margin-left: 78px;
  }
  .hero-art {
    width: 190px;
    height: 190px;
  }
  .hero-copy {
    max-width: 67%;
  }
  .hero h2 {
    font-size: 25px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .hero .actions {
    max-width: 290px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats.stats-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-right {
    gap: 10px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .grid-2 {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 13px;
  }
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    height: 58px;
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-right: 0;
    z-index: 30;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sidebar .brand,
  .sidebar > .service-chip,
  .sidebar > .workspace,
  .sidebar .side-bottom {
    display: none !important;
  }
  .nav {
    display: flex;
    margin: 0;
    height: 100%;
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }
  .nav button, .nav a {
    padding: 6px 2px;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    border-radius: 0;
    font-size: 9px;
    min-width: 0;
  }
  .nav button span, .nav a span {
    display: block;
    font-size: 9px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .nav button svg, .nav a svg,
  .nav button .fa-icon, .nav a .fa-icon {
    width: 18px;
    height: 18px;
    font-size: 15px;
  }
  .nav button.active, .nav a.active {
    background: white;
  }
  .main {
    margin-left: 0;
    padding-bottom: 58px;
  }
  .mobile-brand {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
  }
  .mobile-brand .brand-text small {
    display: none;
  }
  .mobile-brand .brand-text strong {
    font-size: 15px;
    letter-spacing: -0.6px;
  }
  .mobile-brand .brand-mark {
    width: 26px;
    height: 28px;
    border-radius: 9px 9px 9px 3px;
  }
  .mobile-brand .brand-mark svg,
  .mobile-brand .brand-mark .fa-icon {
    width: 15px;
    font-size: 14px;
  }
  .topbar {
    height: 54px;
    padding: 0 12px;
    gap: 8px;
  }
  .breadcrumb {
    display: none;
  }
  .user-btn .user-name,
  .user-btn .fa-chevron-down {
    display: none;
  }
  .user-btn {
    gap: 0;
    padding: 0;
    min-width: 32px;
  }
  .topbar .avatar {
    width: 30px;
    height: 30px;
  }
  .top-right {
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
  }
  .top-right .icon-button {
    width: 32px;
    height: 32px;
    padding: 0;
  }
  .avail-switch {
    padding: 4px 6px 4px 8px;
    gap: 6px;
    max-width: 100%;
  }
  .avail-switch-text {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  .avail-switch-text strong {
    font-size: 11px;
  }
  .avail-switch-state {
    font-size: 10px;
  }
  .avail-switch-track {
    width: 34px;
    height: 18px;
  }
  .avail-switch-thumb {
    width: 12px;
    height: 12px;
    top: 3px;
    left: 3px;
  }
  .avail-switch.is-on .avail-switch-thumb {
    transform: translateX(16px);
  }
  .content {
    padding: 16px 14px 20px;
  }
  .home-action-card {
    margin-bottom: 12px !important;
  }
  .home-action-card .heading {
    gap: 10px;
  }
  .home-action-card h2 {
    font-size: 15px;
  }
  .home-action-card .sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-card-actions .btn,
  .btn.home-card-btn {
    min-height: 38px;
  }
  .dispatch-map {
    height: 200px;
  }
  .heading {
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  .heading-actions {
    width: 100%;
    justify-content: flex-end;
    padding-top: 0;
  }
  h1 {
    font-size: 20px;
  }
  .heading .store-selector,
  .heading-actions .store-selector {
    min-width: 0;
    max-width: 132px;
    font-size: 11px;
    padding: 10px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .sub {
    font-size: 11px;
  }
  .hero {
    padding: 24px 21px;
    min-height: 345px;
    align-items: flex-start;
    border-radius: 16px;
    margin-bottom: 24px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h2 {
    font-size: 27px;
    max-width: 250px;
    margin-top: 14px;
  }
  .hero p {
    font-size: 11px;
    max-width: 200px;
    line-height: 1.8;
    margin-bottom: 19px;
  }
  .hero-art {
    width: 150px;
    height: 150px;
    right: 12px;
    bottom: 18px;
    top: auto;
    border-radius: 34px;
    opacity: 0.95;
  }
  .hero .actions {
    max-width: 175px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .hero .btn {
    font-size: 11px;
    padding: 10px 12px;
    min-height: 35px;
  }
  .hero .btn.hero-cta {
    font-size: 14px;
    padding: 13px 18px;
    min-height: 44px;
  }
  .pill {
    font-size: 10px;
  }
  .categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }
  .category {
    padding: 15px 6px 12px;
    font-size: 11px;
    gap: 7px;
  }
  .cat-icon {
    height: 35px;
    width: 35px;
  }
  .cat-icon svg,
  .cat-icon .fa-icon {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }
  .section-head {
    margin-top: 16px;
  }
  h2 {
    font-size: 16px;
  }
  .card {
    padding: 14px;
  }
  .split {
    gap: 0;
  }
  .banner {
    padding: 17px;
    gap: 11px;
  }
  .banner-icon {
    display: none;
  }
  .banner p {
    font-size: 10px;
    max-width: 220px;
  }
  .banner strong {
    font-size: 12px;
  }
  .banner .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .footer {
    font-size: 9px;
    flex-direction: column;
    gap: 7px;
    margin-top: 23px;
  }
  .stats {
    gap: 9px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat span {
    font-size: 11px;
  }
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal {
    padding: 23px 20px;
    border-radius: 15px;
    max-height: 94dvh;
  }
  .modal.modal-wide {
    max-width: 100%;
    padding: 22px 16px;
  }
  .franchise-staff-table table {
    min-width: 560px;
  }
  .request-row strong {
    max-width: 190px;
    font-size: 12px;
  }
  .request-row .cat-icon {
    width: 33px;
    flex-shrink: 0;
  }
  .request-row {
    gap: 10px;
  }
  .badge {
    font-size: 9px;
    padding: 5px 7px;
  }
  .detail-grid {
    gap: 14px;
  }
  .login-card {
    padding: 26px;
    margin: 20px auto;
  }
  .heading .actions .btn,
  .heading-actions .btn {
    font-size: 11px;
    padding: 9px;
  }
  .info-list {
    grid-template-columns: 70px 1fr;
  }
  .hero-copy .actions {
    position: relative;
    z-index: 3;
  }
  #toast {
    bottom: 82px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    font-size: 11px;
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    transform: none !important;
  }
}
@media (max-width: 600px) {
  .hero h2 {
    font-size: 23px;
    max-width: 290px;
    word-break: keep-all;
  }
  .hero p {
    max-width: 210px;
    word-break: keep-all;
  }
  .heading h1 {
    word-break: keep-all;
  }
  .help-card button {
    display: block;
  }
}
@media (max-width: 360px) {
  .mobile-brand .brand-text {
    display: none;
  }
  .avail-switch-text strong {
    display: none;
  }
  .avail-switch {
    padding: 4px 6px;
  }
}
.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  background: #e8f1ff;
  flex-shrink: 0;
}
.profile-photo-card .profile-photo-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.profile-photo-card .media-picker {
  margin-top: 4px;
}
img.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #e8f1ff;
  flex-shrink: 0;
}
.tech-popup {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 160px;
}
.tech-popup img.avatar {
  width: 42px;
  height: 42px;
}
.tech-map-icon {
  background: transparent !important;
  border: 0 !important;
}
.tech-map-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #1769ed;
  box-shadow: 0 4px 14px rgba(23, 40, 80, 0.28);
  background: #e8f1ff;
  position: relative;
}
.tech-map-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tech-map-pin i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #1769ed;
}
.tech-map-pin.on {
  border-color: #0f766e;
}
.tech-map-pin.on i {
  background: #22a781;
}
.tech-map-pin.busy {
  border-color: #e57c37;
}
.tech-map-pin.busy i {
  background: #e57c37;
}
.tech-map-pin.off {
  border-color: #8993a3;
}
.tech-map-pin.off i {
  background: #8993a3;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-container svg {
  width: auto;
  height: auto;
}
.avatar {
  object-fit: cover;
}

/* Care portals landing */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 0%, #dcebff 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, #e8f7f0 0%, transparent 40%),
    linear-gradient(180deg, #f7f9fd 0%, #eef2f8 100%);
  padding: 28px 28px 60px;
}
.landing-top {
  max-width: 1120px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.landing-links a {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: #5c6b82;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.landing-links a:hover {
  color: var(--blue);
  background: #edf4ff;
}
.landing-hero {
  max-width: 1120px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.landing-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 14px 0 16px;
  font-weight: 900;
}
.landing-hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.landing-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 24px;
}
.landing-hero .hero-art {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  filter: drop-shadow(0 24px 40px rgba(23, 105, 237, 0.18));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.landing-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.landing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.landing-card:hover {
  transform: translateY(-4px);
  border-color: #c9dbff;
  box-shadow: 0 16px 40px rgba(21, 36, 61, 0.08);
}
.landing-card h2 {
  margin: 14px 0 6px;
  font-size: 20px;
}
.landing-card p {
  margin: 0;
  color: #5c6b82;
  line-height: 1.6;
}
.landing-foot {
  max-width: 1120px;
  margin: 48px auto 0;
}
@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }
  .landing-hero .hero-art {
    justify-self: center;
    max-width: 280px;
  }
  .landing-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .landing {
    padding: 18px 16px 40px;
  }
  .landing-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

/* Service theme: customer (blue) / driver (teal) / outsource (amber) / admin (slate) */
body.theme-customer {
  --blue: #1769ed;
  --accent-soft: #edf4ff;
  --theme-label: #1769ed;
}
body.theme-technician {
  --blue: #0f766e;
  --accent-soft: #e6f7f5;
  --theme-label: #0f766e;
  --bg: #f3faf9;
}
body.theme-outsource {
  --blue: #c26a1a;
  --accent-soft: #fff4e8;
  --theme-label: #c26a1a;
  --bg: #fbf7f2;
}
body.theme-franchise_admin {
  --blue: #7c3aed;
  --accent-soft: #f3e8ff;
  --theme-label: #7c3aed;
  --bg: #faf5ff;
}
body.theme-franchise_manager {
  --blue: #0f766e;
  --accent-soft: #e6f7f4;
  --theme-label: #0f766e;
  --bg: #f3faf9;
}
body.theme-admin {
  --blue: #1d4ed8;
  --accent-soft: #e8eefc;
  --theme-label: #0f172a;
  --bg: #eef2f7;
  --navy: #0f172a;
}
body.theme-technician .brand-mark,
body.theme-outsource .brand-mark,
body.theme-admin .brand-mark,
body.theme-customer .brand-mark {
  background: var(--blue);
}
body.theme-admin .sidebar {
  background: #0f172a;
  border-right-color: #1e293b;
  color: #e2e8f0;
  padding: 18px 12px;
  overflow: hidden;
}
body.theme-admin .brand,
body.theme-admin .nav button,
body.theme-admin .nav a,
body.theme-admin .help-card,
body.theme-admin .portal-links a,
body.theme-admin .workspace {
  color: #e2e8f0;
}
body.theme-admin .brand-text strong {
  color: #f8fafc;
  font-size: 18px;
  letter-spacing: -0.8px;
}
body.theme-admin .brand-text small {
  color: #94a3b8;
  font-size: 9px;
}
body.theme-admin .nav button.active,
body.theme-admin .nav a.active {
  background: #1e3a8a;
  color: #fff;
}
body.theme-admin .nav button:hover,
body.theme-admin .nav a:hover {
  background: #1e293b;
  color: #fff;
}
body.theme-admin .sidebar > .service-chip {
  margin: 8px 0 0 !important;
  font-size: 10px;
  padding: 4px 8px;
}
body.theme-admin .workspace {
  margin: 14px 6px 6px;
  font-size: 10px;
  letter-spacing: 1.2px;
}
body.theme-admin .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px 10px 10px 3px;
}
body.theme-admin .nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
body.theme-admin .nav-group {
  gap: 1px;
}
body.theme-admin .nav-group-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #64748b;
  padding: 8px 10px 2px;
  font-weight: 700;
}
body.theme-admin .nav-group:first-child .nav-group-label {
  padding-top: 2px;
}
body.theme-admin .nav-divider {
  background: #334155;
  margin: 5px 8px;
  opacity: 0.45;
}
body.theme-admin .nav::-webkit-scrollbar {
  width: 4px;
}
body.theme-admin .nav::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
}
body.theme-admin .nav button,
body.theme-admin .nav a {
  padding: 6px 10px;
  gap: 8px;
  font-size: 12.5px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.25;
}
body.theme-admin .nav .fa-icon {
  width: 14px;
  font-size: 12.5px;
  flex: 0 0 auto;
}
body.theme-admin .side-bottom {
  margin-top: 8px;
  flex-shrink: 0;
}
body.theme-admin .help-card {
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.45;
  background: #1e293b;
}
body.theme-admin .help-card > .fa-icon {
  font-size: 14px;
}
body.theme-admin .help-card .muted {
  display: none;
}
body.theme-admin .help-card button,
body.theme-admin .help-card a[data-page],
body.theme-admin .help-card a[data-action] {
  padding: 6px 0 0;
  font-size: 11px;
}
body.theme-admin .portal-links {
  margin-top: 10px;
  gap: 6px 10px;
  font-size: 11px;
}
body.theme-admin .portal-links a {
  border-color: #334155;
  background: #1e293b;
}
@media (max-width: 850px) {
  body.theme-admin .sidebar {
    padding: 18px 8px;
  }
  body.theme-admin .nav {
    margin-top: 24px;
  }
  body.theme-admin .nav button,
  body.theme-admin .nav a {
    padding: 10px;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  body.theme-admin .sidebar {
    padding: 0;
    overflow: hidden;
    height: 58px;
  }
  body.theme-admin .nav {
    display: flex;
    flex-direction: row;
    flex: none;
    margin: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 0;
    padding-right: 0;
  }
  body.theme-admin .nav-group {
    display: contents;
  }
  body.theme-admin .nav-group-label,
  body.theme-admin .nav-divider {
    display: none;
  }
  body.theme-admin .nav button,
  body.theme-admin .nav a {
    padding: 8px 6px;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
    min-width: 56px;
  }
  body.theme-admin .nav .fa-icon {
    width: 18px;
    font-size: 15px;
  }
}
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft, #edf4ff);
  color: var(--blue);
}
.monitor-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
  padding-bottom: 2px;
}
.monitor-tabs::-webkit-scrollbar,
.filters::-webkit-scrollbar {
  height: 4px;
}
.monitor-tabs::-webkit-scrollbar-thumb,
.filters::-webkit-scrollbar-thumb {
  background: #c9d3e3;
  border-radius: 999px;
}
.monitor-tabs button {
  flex: 0 0 auto;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 600;
}
.monitor-tabs button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.monitor-tabs.is-dragging,
.filters.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.monitor-tabs.is-dragging button,
.filters.is-dragging button {
  pointer-events: none;
}
.list-item-with-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.list-item-with-thumb > div {
  min-width: 0;
}
.list-thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #f3f6fb;
  flex: 0 0 auto;
  display: block;
}
.list-thumb.placeholder {
  display: grid;
  place-items: center;
  color: #94a3b8;
}
.list-thumb.placeholder svg {
  width: 18px;
  height: 18px;
}
.list-thumb.is-broken {
  opacity: 0.35;
  object-fit: none;
  background: repeating-linear-gradient(-45deg, #f3f6fb, #f3f6fb 4px, #e8eef7 4px, #e8eef7 8px);
}
.risk {
  color: #df6158;
  font-weight: 700;
}
.admin-table td,
.admin-table th {
  white-space: nowrap;
  vertical-align: middle;
}
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.search-bar input {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.search-bar select {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.fr-combo {
  position: relative;
  flex: 1.1;
  min-width: 220px;
}
.fr-combo-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  box-sizing: border-box;
}
.fr-combo-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  padding: 6px;
}
.fr-combo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.fr-combo-item:hover,
.fr-combo-item.is-selected {
  background: #eef5ff;
}
.fr-combo-item .muted {
  font-size: 12px;
  white-space: nowrap;
}
.fr-combo-empty {
  padding: 14px 12px;
  color: #64748b;
  font-size: 13px;
}
.search-bar-stores .fr-combo {
  min-width: 240px;
}
.modal .fr-combo {
  width: 100%;
  min-width: 0;
}
.modal .fr-combo-input {
  margin-top: 0;
}
.care-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}
.care-price-table table {
  font-size: 13px;
}
.care-price-table th,
.care-price-table td {
  white-space: normal;
  vertical-align: middle;
}
.care-row-cate1 td {
  background: #eef2f7;
  font-weight: 600;
}
.care-row-cate2 td {
  background: #f7f9fc;
}
.care-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}
.care-price-form .care-service-price {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.care-price-form .care-service-price .form-grid {
  margin: 8px 0;
}
@media (max-width: 980px) {
  .care-price-layout {
    grid-template-columns: 1fr;
  }
}
.parts-grid .part-card .franchise-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.parts-grid .part-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.tech-dot.on { background: #22a781; }
.tech-dot.busy { background: #e57c37; }
.tech-dot.off { background: #8993a3; }

.franchise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.franchise-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.franchise-card:hover {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.franchise-card-compact {
  cursor: pointer;
}
.franchise-card-compact:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.franchise-card-top {
  position: relative;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 22px 18px 16px;
}
.franchise-card-compact .franchise-card-top {
  min-height: 96px;
  padding: 16px 14px 12px;
}
.franchise-card-top .badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.franchise-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.franchise-logo.lg {
  width: 88px;
  height: 88px;
}
.franchise-logo.sm {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.franchise-logo.xs {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  padding: 2px;
  box-shadow: none;
}
.franchise-logo.title {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  flex: 0 0 auto;
}
.franchise-logo.side {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 5px;
  box-shadow: none;
  flex: 0 0 auto;
}
.franchise-logo.hero {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  padding: 8px;
  flex: 0 0 auto;
}
.franchise-logo.crumb {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  padding: 1px;
  box-shadow: none;
}
.franchise-logo.placeholder {
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -1px;
}
.franchise-logo.sm.placeholder {
  font-size: 22px;
}
.franchise-logo.xs.placeholder,
.franchise-logo.crumb.placeholder {
  font-size: 11px;
}
.franchise-logo.title.placeholder {
  font-size: 16px;
}
.franchise-logo.side.placeholder {
  font-size: 18px;
}
.franchise-logo.hero.placeholder {
  font-size: 28px;
}
.fr-side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.fr-side-brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.fr-side-brand-copy strong {
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-side-brand-copy span {
  font-size: 11px;
  color: var(--muted);
}
.fr-name-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  max-width: 100%;
}
.fr-name-logo-mark {
  display: inline-flex;
  flex: 0 0 auto;
}
.fr-page-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.heading h1 .fr-page-title {
  max-width: 100%;
}
.fr-home-hero {
  margin-bottom: 16px;
  padding: 18px 18px;
}
.fr-home-hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fr-home-hero-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.fr-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.fr-crumb span {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .fr-home-hero-main {
    align-items: flex-start;
  }
  .fr-home-hero-name {
    font-size: 18px;
  }
}
.logo-drop {
  margin-bottom: 12px;
}
.logo-drop.has-file {
  border-style: solid;
  border-color: #9db7e8;
  background: #f4f8ff;
}
.logo-drop.is-uploading {
  opacity: 0.72;
  pointer-events: none;
}
.logo-drop-inner {
  justify-items: center;
  text-align: center;
  width: 100%;
  gap: 8px;
}
.logo-drop-inner .btn {
  margin-top: 4px;
}
.franchise-logo-uploader {
  margin: 0 0 14px;
}
.logo-upload-preview,
.franchise-logo.logo-upload-preview {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 10px;
  margin-bottom: 8px;
}
.logo-upload-preview.placeholder {
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--blue);
  background: #fff;
}
.franchise-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.franchise-card-compact .franchise-card-body {
  padding: 14px 14px 16px;
  gap: 8px;
}
.franchise-card-body h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.franchise-card-compact .franchise-card-body h2 {
  font-size: 16px;
  line-height: 1.35;
}
.franchise-card-line {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.franchise-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 4px;
}
.franchise-card-chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5fb;
  color: #4a5a73;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.franchise-card-chips .chip.warn {
  background: #fff4e8;
  color: #b45309;
}
.franchise-card-compact .actions {
  margin-top: auto;
  padding-top: 4px;
}
.franchise-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 4px 0 8px;
}
.franchise-meta .full {
  grid-column: 1 / -1;
}
.franchise-as-share {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7faff;
  margin: 4px 0 8px;
}
.franchise-as-share.compact {
  padding: 10px 12px;
  gap: 10px;
}
.franchise-as-share-text {
  flex: 1;
  min-width: 0;
}
.franchise-as-share-text strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.franchise-as-share-text .map-link {
  word-break: break-all;
  font-size: 12px;
}
.franchise-as-qr {
  flex: 0 0 auto;
  text-align: center;
}
.franchise-as-qr img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.franchise-as-share.compact .franchise-as-qr img {
  max-width: 120px;
}
.franchise-as-qr .sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
@media (max-width: 520px) {
  .franchise-as-share {
    flex-direction: column;
    align-items: stretch;
  }
  .franchise-as-qr {
    align-self: center;
  }
}
.franchise-meta dt {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.franchise-meta dd {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}
.franchise-staff {
  display: grid;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 12px;
  background: #f7f9fc;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.franchise-staff-block {
  display: grid;
  gap: 8px;
}
.franchise-staff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.franchise-staff-head .count {
  display: inline-flex;
  min-width: 22px;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8eef8;
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
}
.franchise-staff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
}
.franchise-staff-list li {
  line-height: 1.35;
}
.franchise-staff-list .muted {
  color: var(--muted);
}
.franchise-staff-modal .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
.franchise-staff-table {
  overflow: visible;
}
.franchise-staff-modal .card.table-wrap,
.franchise-staff-modal .franchise-staff-table {
  overflow: visible;
}
.franchise-staff-table table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.franchise-staff-table th,
.franchise-staff-table td {
  vertical-align: middle;
  overflow: visible;
}
.franchise-staff-table th:nth-child(1),
.franchise-staff-table td:nth-child(1) {
  width: 18%;
}
.franchise-staff-table th:nth-child(2),
.franchise-staff-table td:nth-child(2) {
  width: 28%;
  word-break: break-all;
  white-space: normal;
}
.franchise-staff-table th:nth-child(3),
.franchise-staff-table td:nth-child(3) {
  width: 10%;
  white-space: nowrap;
}
.franchise-staff-table th:nth-child(4),
.franchise-staff-table td:nth-child(4) {
  width: 12%;
  white-space: nowrap;
}
.franchise-staff-table .col-actions,
.franchise-staff-table td.actions-inline {
  width: 22%;
  overflow: visible;
}
.actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  white-space: normal;
}
.actions-inline .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.staff-row-actions {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.staff-edit-menu {
  position: relative;
  display: inline-block;
  z-index: 2;
}
.staff-edit-menu[open] {
  z-index: 40;
}
.staff-edit-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}
.staff-edit-summary::-webkit-details-marker {
  display: none;
}
.staff-edit-summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  margin-left: 2px;
}
.staff-edit-menu[open] > .staff-edit-summary::after {
  transform: rotate(180deg);
}
.staff-edit-menu-panel {
  position: absolute;
  bottom: calc(100% + 4px);
  top: auto;
  right: 0;
  z-index: 50;
  min-width: 136px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 2px;
}
.staff-menu-item {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #0f172a);
  cursor: pointer;
}
.staff-menu-item:hover {
  background: #f1f5f9;
}
.staff-menu-item.danger {
  color: #b42318;
}
.staff-menu-item.danger:hover {
  background: #fef3f2;
}
.franchise-edit-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.franchise-edit-head-main {
  flex: 1;
  min-width: 0;
}
.franchise-edit-head-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.franchise-edit-head-title h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.franchise-detail-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.franchise-detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  align-items: start;
}
.franchise-detail-col {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.franchise-detail-section {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 6px;
}
.franchise-detail-section h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.2px;
}
.franchise-detail-section .field {
  margin-bottom: 12px;
}
.franchise-detail-section .form-grid .field {
  margin-bottom: 12px;
}
.franchise-detail-hint {
  margin: -4px 0 10px;
}
.franchise-detail-section .franchise-logo-uploader {
  margin-bottom: 8px;
}
.franchise-detail-section .franchise-staff {
  margin: 0 0 10px;
  background: #fff;
}
.franchise-detail-section .franchise-as-share {
  margin: 0 0 10px;
  background: #fff;
}
.franchise-detail-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff 40%);
  z-index: 2;
}
.franchise-detail-footer .btn {
  min-width: 140px;
}
@media (max-width: 860px) {
  .franchise-detail-cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .franchise-grid {
    grid-template-columns: 1fr;
  }
  .franchise-edit-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 16px;
}
.pager-meta {
  font-size: 12px;
  color: #8b98ad;
}
.pager-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pager-num {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #4a566a;
}
.pager-num.active {
  background: var(--blue, #1769ed);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.pager-controls .btn[disabled],
.pager-controls button[disabled] {
  opacity: 0.4;
  cursor: default;
}

.row-blocked td {
  background: #fff5f5;
}
.actions-cell {
  white-space: nowrap;
}
.actions-cell .btn {
  margin: 2px;
}

.dispatch-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #f5f8fc;
  border: 1px solid #e3ebf5;
  border-radius: 14px;
}
.dispatch-radii {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.dispatch-radius {
  border: 1px solid #c9d6e8;
  background: #fff;
  color: #5b6b82;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.dispatch-radius.reached {
  border-color: #9bb8e8;
  color: #1769ed;
}
.dispatch-radius.active {
  background: #1769ed;
  border-color: #1769ed;
  color: #fff;
}
.dispatch-radius:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.dispatch-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}
.dispatch-map {
  height: 420px;
  border-radius: 14px;
  border: 1px solid #e3ebf5;
  background: #eef3f9;
  z-index: 1;
  position: sticky;
  top: 12px;
}
.dispatch-list {
  display: grid;
  gap: 12px;
}
.dispatch-card h2 {
  font-size: 17px;
  margin: 8px 0 4px;
}
.dispatch-card.is-test {
  border-color: #f0c48a;
  box-shadow: inset 0 0 0 1px rgba(229, 124, 55, 0.18);
}
.dispatch-card .test-as-note {
  margin: 6px 0 0;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}
.badge.test-as-badge {
  background: #fff4e5;
  color: #b45309;
  border: 1px solid #f0c48a;
}
.dispatch-dist {
  color: #1769ed;
  font-size: 18px;
}
.dispatch-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}
.dispatch-photos img,
.dispatch-equip-thumb .list-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.dispatch-thumb {
  display: block;
}
.rating-stars {
  display: grid;
  gap: 8px;
}
.rating-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
}
.rating-option input {
  margin: 0;
}
.rating-option span {
  color: #e5a100;
  letter-spacing: 1px;
  font-size: 16px;
}
.rating-option small {
  margin-left: auto;
  color: #6b7c93;
}
.rating-option:has(input:checked) {
  border-color: #1769ed;
  background: #f3f7ff;
  box-shadow: inset 0 0 0 1px rgba(23, 105, 237, 0.2);
}
@media (max-width: 900px) {
  .dispatch-layout {
    grid-template-columns: 1fr;
  }
  .dispatch-map {
    position: static;
    height: 260px;
  }
}

/* ODIDA AI chat */
.ai-layout {
  max-width: 820px;
}
.ai-chat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: min(70vh, 640px);
  padding: 18px;
}
.ai-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 2px 10px;
  max-height: min(52vh, 480px);
  scroll-behavior: smooth;
}
.ai-bubble {
  max-width: min(92%, 560px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f7f9fc;
}
.ai-bubble.user {
  align-self: flex-end;
  background: #edf4ff;
  border-color: #c9dbf7;
}
.ai-bubble.bot {
  align-self: flex-start;
  background: #fff;
}
.ai-who {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #7a8aa3;
  margin-bottom: 6px;
}
.ai-text {
  color: #314258;
  font-size: 13px;
  line-height: 1.65;
  white-space: normal;
  word-break: break-word;
}
.ai-typing {
  color: #8b96a7;
  font-style: italic;
}
.ai-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-chip {
  background: #fff;
  border: 1px solid #d7e2f0;
  color: #456087;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}
.ai-chip:hover {
  border-color: #91b8f4;
  color: var(--blue);
  background: #f5f9ff;
}
.ai-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.ai-compose textarea {
  width: 100%;
  min-height: 52px;
  resize: vertical;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #314258;
  background: #fff;
}
.ai-compose textarea:focus {
  outline: none;
  border-color: #91b8f4;
  box-shadow: 0 0 0 3px #edf4ff;
}
.ai-compose .btn {
  white-space: nowrap;
}
.ai-note {
  margin: 0;
}
@media (max-width: 600px) {
  .ai-compose {
    grid-template-columns: 1fr;
  }
  .ai-compose .btn {
    width: 100%;
  }
  .ai-messages {
    max-height: 48vh;
  }
}

/* Store photos */
.store-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.store-photo-thumb {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e2f0;
  background: #f3f6fb;
}
.store-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-photos.is-compact {
  margin: 8px 0 0;
}
.store-photos.is-compact .store-photo-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}
.as-choice-body {
  min-width: 0;
  flex: 1;
}
.as-choice .store-photos {
  pointer-events: auto;
}

/* ───────── PWA 설치 · 푸시 알림 ───────── */
.top-right .icon-button .notif-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.top-right .icon-button .notif-count + .dot,
.top-right .icon-button .dot:has(+ .notif-count) {
  display: none;
}
.pwa-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  background: var(--accent-soft, #edf4ff);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.pwa-chip:hover {
  background: #fff;
}
.pwa-chip-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px #fff;
  animation: pending-pulse 1.8s ease-out infinite;
}
.pwa-side-card {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--accent-soft, #edf4ff), #fff);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  font-size: 12px;
  line-height: 1.55;
  display: grid;
  gap: 3px;
}
.pwa-side-card .pwa-side-icon {
  color: var(--blue);
  font-size: 16px;
}
.pwa-side-card strong {
  font-size: 13px;
  color: #1a2333;
}
.pwa-side-card button {
  justify-self: start;
  margin-top: 4px;
  padding: 0;
  background: none;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
body.theme-admin .pwa-side-card {
  background: #1e293b;
  border-color: #334155;
  padding: 10px 12px;
}
body.theme-admin .pwa-side-card strong {
  color: #f8fafc;
}
body.theme-admin .pwa-side-card .muted {
  display: none;
}
body.theme-admin .pwa-side-card button,
body.theme-admin .pwa-side-card .pwa-side-icon {
  color: #93c5fd;
}
.pwa-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--accent-soft, #edf4ff), #ffffff 70%);
  border: 1px solid color-mix(in srgb, var(--blue) 16%, transparent);
  animation: svc-rise 0.5s ease both;
}
.pwa-banner img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(23, 105, 237, 0.2);
}
.pwa-banner strong {
  display: block;
  font-size: 15px;
  color: #12263f;
}
.pwa-banner p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #5b6f8c;
}
.pwa-banner-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.pwa-modal {
  display: grid;
  gap: 18px;
}
.pwa-hero {
  display: flex;
  gap: 16px;
  align-items: center;
}
.pwa-hero img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23, 105, 237, 0.22);
}
.pwa-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--blue);
}
.pwa-hero h3 {
  margin: 4px 0;
  font-size: 18px;
  color: #12263f;
}
.pwa-hero p {
  margin: 0;
  font-size: 13px;
  color: #5b6f8c;
}
.pwa-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pwa-benefits li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f6f8fc;
}
.pwa-benefits li > .fa-icon {
  color: var(--blue);
  width: 18px;
  font-size: 16px;
}
.pwa-benefits b {
  display: block;
  font-size: 13px;
}
.pwa-benefits span {
  font-size: 12px;
  color: #6b7a90;
}
.pwa-section {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.pwa-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pwa-section-head h4 {
  margin: 0;
  font-size: 14px;
}
.pwa-section .btn {
  justify-self: start;
}
.pwa-state {
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}
.pwa-state.ok {
  background: #e8f8f0;
  color: #0f7a4d;
  font-weight: 700;
}
.pwa-state.info {
  background: #eef4ff;
  color: #2d4d7c;
}
.pwa-state.warn {
  background: #fff6e8;
  color: #8a4b08;
}
.pwa-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f4f9;
}
.pwa-tabs button {
  flex: 1;
  padding: 8px 6px;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: #6b7a90;
  cursor: pointer;
}
.pwa-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.pwa-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #33445c;
}
.pwa-share-ico {
  display: inline-block;
  padding: 0 5px;
  border-radius: 5px;
  background: #e8efff;
  color: #1769ed;
}
.pwa-foot {
  margin: 0;
  text-align: center;
}
.notif-push-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6e8;
}
.notif-push-row.on {
  background: #e8f8f0;
}
.notif-push-row > .fa-icon {
  color: var(--blue);
  font-size: 16px;
}
.notif-push-row div {
  flex: 1;
  display: grid;
  font-size: 12px;
  color: #5b6f8c;
}
.notif-push-row b {
  font-size: 13px;
  color: #1a2333;
}
.notification-item.unread {
  position: relative;
  padding-left: 14px;
}
.notification-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.notification-item.unread p {
  font-weight: 700;
}
.svc-install {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff6e8;
  color: #8a4b08;
  font-size: 12px;
  font-weight: 700;
}
.svc-install.done {
  background: #e8f8f0;
  color: #0f7a4d;
}
.svc-install .text-btn {
  margin-left: auto;
  font-size: 12px;
}
.svc-pwa {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 28px 0 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1c3a, #1769ed);
  color: #fff;
}
.svc-pwa h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.svc-pwa p {
  margin: 0 0 12px;
  line-height: 1.65;
  opacity: 0.9;
  font-size: 14px;
}
.svc-pwa ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  opacity: 0.92;
}
.svc-pwa .svc-kicker {
  opacity: 0.8;
}
.svc-pwa .actions {
  flex: 0 0 auto;
}
.svc-pwa .btn {
  background: #fff;
  color: #1769ed;
}
@media (max-width: 850px) {
  .side-bottom .pwa-side-card {
    display: none;
  }
}
@media (max-width: 600px) {
  .pwa-chip span {
    display: none;
  }
  .pwa-chip {
    padding: 8px;
  }
  .pwa-banner {
    flex-wrap: wrap;
  }
  .pwa-banner-actions {
    margin-left: 0;
    width: 100%;
  }
  .svc-pwa {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}
@media (display-mode: standalone) {
  .topbar {
    padding-top: env(safe-area-inset-top);
  }
}

/* Franchise care price catalog */
.fp-price-catalog {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.fp-price-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.fp-price-group-head,
.fp-price-sub-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #f7f9fc;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 14px 16px;
}
.fp-price-group-head:hover,
.fp-price-sub-head:hover {
  background: #eef3fa;
}
.fp-price-group.is-open > .fp-price-group-head {
  border-bottom: 1px solid var(--line);
  background: #eef2f7;
}
.fp-price-chevron {
  flex: 0 0 auto;
  width: 18px;
  font-size: 11px;
  color: #64748b;
}
.fp-price-group-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
}
.fp-price-group-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.fp-price-group-body {
  padding: 8px 10px 12px;
  display: grid;
  gap: 8px;
}
.fp-price-sub {
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.fp-price-sub-head {
  background: #fbfcfe;
  padding: 11px 12px;
}
.fp-price-sub-head b {
  font-size: 13px;
}
.fp-price-sub.is-open > .fp-price-sub-head {
  border-bottom: 1px solid #eef2f7;
}
.fp-price-items {
  display: grid;
  gap: 0;
}
.fp-price-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: 12px 18px;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid #f0f3f8;
}
.fp-price-item:last-child {
  border-bottom: 0;
}
.fp-price-item-main strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.2px;
}
.fp-price-item-main .sub {
  margin: 4px 0 0;
  line-height: 1.45;
}
.fp-price-item-fees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.fp-price-item-fees > div {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 8px 8px;
  text-align: center;
}
.fp-price-item-fees dt {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.fp-price-item-fees dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.fp-price-item-fees .total {
  background: #eef5ff;
}
.fp-price-item-fees .total dd {
  color: var(--blue, #1769ed);
}
.fp-price-tabs {
  margin-bottom: 14px;
}
.fp-price-search {
  margin-bottom: 12px;
}
@media (max-width: 720px) {
  .fp-price-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fp-price-group-meta {
    display: none;
  }
  .fp-price-item-fees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.franchise-discount-grid {
  margin-top: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 520px) {
  .franchise-discount-grid {
    grid-template-columns: 1fr;
  }
}
.fp-list-price {
  display: inline-block;
  margin-left: 6px;
  color: #94a3b8;
  font-weight: 500;
  text-decoration: line-through;
  font-size: 12px;
}
.fp-price-item-fees dd .fp-list-price,
.price-row b .fp-list-price {
  display: block;
  margin: 2px 0 0;
}

.biz-doc-panel {
  display: grid;
  gap: 14px;
}
.biz-doc-preview-wrap {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.biz-doc-preview {
  display: block;
  max-width: min(100%, 320px);
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.biz-doc-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
}
.biz-doc-meta .field {
  margin-bottom: 10px;
}
.tax-detail .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 820px) {
  .tax-detail .detail-grid {
    grid-template-columns: 1fr;
  }
}

.hq-company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}
.hq-company-side {
  display: grid;
  gap: 16px;
}
.hq-company-main .field {
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .hq-company-layout {
    grid-template-columns: 1fr;
  }
}

