@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --ink: #292d3a;
  --muted: #737d8d;
  --blue: #1687e8;
  --orange: #ff6a1a;
  --line: #e8edf4;
  --tile: #f7f9fc;
  --soft: #f3f8fd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #fff;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: keep-all;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }

h1,
h2,
h3,
p,
span,
strong,
a {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: keep-all;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 rgba(32, 43, 63, .06), 0 0 0 100vmax rgba(255, 255, 255, .94);
  clip-path: inset(0 -100vmax);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 154px;
  height: 54px;
  overflow: hidden;
}

.logo img {
  display: block;
  width: 154px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: 22px;
  margin-right: auto;
  padding-left: 32px;
  color: #323744;
  font-size: 15px;
  font-weight: 700;
}

.nav a.active { color: var(--blue); }

.tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #454a55;
  font-weight: 700;
  white-space: nowrap;
}

.tel strong {
  font-size: 17px;
  color: #222835;
  font-weight: 900;
}

.admin-logout-nav {
  min-height: 38px;
  margin-left: 14px;
  padding: 0 13px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  color: #596475;
  background: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.admin-logout-nav:hover {
  color: var(--blue);
  background: #f3faff;
}

.menu {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  margin-left: 28px;
  padding: 0;
}

.menu span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: #252a35;
  border-radius: 99px;
}

.mobile-dim {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(18, 24, 36, .38);
}

.mobile-dim.is-open { display: block; }

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  width: min(340px, 86vw);
  height: 100vh;
  padding: 24px;
  background: #fff;
  box-shadow: -18px 0 45px rgba(30, 39, 58, .16);
  transform: translateX(100%);
  transition: transform .24s ease;
}

.mobile-panel.is-open { transform: translateX(0); }

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-panel-head strong { font-size: 19px; }

.mobile-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f8;
  color: #252a35;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 18px 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 6px;
  border-bottom: 1px solid #f0f3f7;
  font-size: 18px;
  font-weight: 900;
}

.mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.page-hero {
  padding: 70px 0 54px;
  text-align: center;
  border-top: 1px solid transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf9ff;
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 18px 0 12px;
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.lead {
  width: min(680px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.estimate-bar {
  width: min(620px, 100%);
  min-height: 54px;
  margin: 32px auto 0;
  border: 1px solid #9edff4;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px 7px 21px;
  box-shadow: 0 8px 20px rgba(19, 148, 217, .08);
  text-align: left;
  font-weight: 900;
}

.estimate-bar b {
  color: var(--blue);
  margin-right: 8px;
  font-size: 21px;
}

.estimate-bar span:last-child {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #30394b;
  font-size: 21px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 18px 0 72px;
}

.card {
  display: block;
  min-height: 218px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 45, 70, .06);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.card:hover,
.card:focus-visible {
  border-color: #b8ddfb;
  box-shadow: 0 18px 42px rgba(35, 45, 70, .1);
  transform: translateY(-2px);
  outline: 0;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--tile);
  font-size: 30px;
}

.ladder-icon {
  width: 42px;
  height: auto;
  display: block;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  word-break: keep-all;
  overflow-wrap: normal;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: normal;
}

.feature {
  padding: 62px 0;
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.feature h2 {
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: normal;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: normal;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
}

.step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}

.form-section {
  padding: 70px 0 90px;
}

.estimate-intro {
  padding: 72px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, #f6fbff 0%, #fff 100%);
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf8ff;
  font-size: 13px;
  font-weight: 900;
}

.estimate-intro h1 {
  margin-top: 20px;
}

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.service-select-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(32, 45, 70, .06);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-select-card:hover {
  border-color: #76cfff;
  box-shadow: 0 18px 42px rgba(22, 135, 232, .14);
  transform: translateY(-2px);
}

.service-select-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.estimate-form-hero {
  padding-bottom: 34px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4e5868;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.estimate-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding: 44px 0 88px;
}

.quote-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(33, 44, 68, .08);
}

.estimate-form {
  width: 100%;
  margin: 0;
}

.move-wizard {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e5e9f4;
  border-radius: 24px;
  background: #f3f5ff;
  box-shadow: 0 20px 54px rgba(34, 45, 72, .1);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

.wizard-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 20px 24px 16px;
  background: #fff;
}

.wizard-top strong {
  color: #171b24;
  font-size: 24px;
  font-weight: 800;
}

.wizard-top span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #c2c7d2;
  border-radius: 50%;
  color: #98a0ad;
  font-size: 12px;
  font-weight: 900;
}

.wizard-back {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #171b24;
  font-size: 42px;
  line-height: 1;
}

.wizard-progress {
  height: 5px;
  background: #e3e8ff;
}

.wizard-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: 0 99px 99px 0;
  background: #314cff;
  transition: width .25s ease;
}

.wizard-thread {
  min-height: 640px;
  padding: 30px 24px 42px;
}

.wizard-page-current {
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.wizard-page-head {
  padding: 22px 22px 0;
}

.wizard-page-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #314cff;
  background: #eef2ff;
  font-size: 13px;
  font-weight: 900;
}

.wizard-page-head h2 {
  margin: 16px 0 0;
  color: #171b24;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.wizard-page-summary {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.wizard-page-summary div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #e2e8f3;
  border-radius: 10px;
  background: #f8fafc;
}

.wizard-page-summary span {
  color: #7a8391;
  font-size: 13px;
  font-weight: 850;
}

.wizard-page-summary strong {
  color: #293241;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.wizard-message {
  max-width: 74%;
  margin: 0 0 18px;
  padding: 19px 21px;
  border-radius: 22px;
  color: #20242d;
  background: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.wizard-message.history {
  max-width: 68%;
  margin-bottom: 10px;
  padding: 14px 16px;
  font-size: 15px;
}

.wizard-answer-wrap {
  display: grid;
  justify-items: end;
  gap: 6px;
  margin: 0 0 22px;
}

.wizard-answer {
  max-width: 78%;
  padding: 16px 20px;
  border-radius: 22px;
  color: #fff;
  background: #07169b;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.4;
}

.wizard-change {
  border: 0;
  color: #838896;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

.wizard-card {
  max-width: 84%;
  margin: 0 0 18px auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}

.wizard-card.compact {
  max-width: min(84%, 520px);
  margin: 0;
  padding: 18px;
}

.wizard-summary-title {
  margin: 0 0 16px;
  color: #20242d;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.45;
}

.wizard-summary {
  display: grid;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid #e9edf4;
}

.wizard-summary div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  color: #1f232c;
  font-size: 16px;
  font-weight: 400;
}

.wizard-card.compact .wizard-summary {
  gap: 7px;
  padding-top: 12px;
}

.wizard-card.compact .wizard-summary div {
  grid-template-columns: 88px minmax(0, 1fr);
  font-size: 15px;
}

.wizard-summary span {
  color: #898e9a;
}

.wizard-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px;
  border: 1px solid #e3e9f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 44, 68, .07);
}

.wizard-panel h3 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 650;
}

.wizard-options {
  display: grid;
  gap: 12px;
}

.wizard-options.two {
  grid-template-columns: repeat(2, 1fr);
}

.wizard-options.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard-options.stacked {
  grid-template-columns: 1fr;
}

.wizard-options.stacked .wizard-option {
  justify-content: flex-start;
  min-height: 56px;
  padding: 0 16px;
  text-align: left;
  white-space: normal;
}

.wizard-option,
.wizard-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #a9b2ff;
  border-radius: 10px;
  color: #07169b;
  background: #fff;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.wizard-option.is-selected {
  border-color: #4456ff;
  background: #f0f2ff;
}

.wizard-choice-note {
  margin-top: 12px;
  padding: 14px 15px;
  border: 1px solid #d9e4ff;
  border-radius: 10px;
  color: #30394b;
  background: #f7f9ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.wizard-photo-upload {
  margin-top: 18px;
  padding: 4px 0 0;
}

.wizard-photo-upload > strong {
  display: block;
  color: #20242d;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.45;
}

.wizard-photo-upload > p {
  margin: 6px 0 18px;
  color: #6f7683;
  font-size: 16px;
  line-height: 1.45;
}

.wizard-photo-pick {
  display: block;
}

.wizard-photo-pick button {
  display: grid;
  place-items: center;
  width: 136px;
  aspect-ratio: 1;
  border: 1px solid #d9dde5;
  border-radius: 10px;
  color: #8a909a;
  background: #fff;
  cursor: pointer;
}

.wizard-photo-pick span {
  display: block;
  color: #70757f;
  font-size: 44px;
  font-weight: 300;
  line-height: .8;
}

.wizard-photo-pick em {
  color: #9da3ad;
  font-style: normal;
  font-size: 18px;
  font-weight: 650;
}

.wizard-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.wizard-photo-file {
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  color: #324055;
  background: #f1f4fb;
  font-size: 13px;
  font-weight: 700;
}

.wizard-photo-thumb {
  min-width: 0;
  margin: 0;
}

.wizard-photo-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #dde3ee;
  border-radius: 7px;
  background: #f1f4fb;
  object-fit: cover;
}

.wizard-photo-thumb figcaption {
  margin-top: 5px;
  overflow: hidden;
  color: #657083;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-photo-status {
  min-height: 20px;
  margin: 10px 0 16px !important;
  color: #4257ff !important;
  font-size: 14px !important;
  font-weight: 700;
}

.wizard-photo-skip {
  min-height: 48px;
  min-width: 132px;
  border: 0;
  border-radius: 7px;
  color: #222631;
  background: #eceef2;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-inventory {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.wizard-inventory-block {
  display: grid;
  gap: 10px;
}

.wizard-inventory-block > strong,
.wizard-inventory-section h3 {
  margin: 0;
  color: #20242d;
  font-size: 16px;
  font-weight: 850;
}

.wizard-inventory-counts,
.wizard-inventory-spaces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wizard-inventory-counts button,
.wizard-inventory-spaces button,
.wizard-inventory-reset {
  min-height: 44px;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  color: #2b3341;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-inventory-counts button.is-selected,
.wizard-inventory-spaces button.is-selected {
  border-color: #4456ff;
  color: #314cff;
  background: #f0f2ff;
}

.wizard-inventory-reset {
  justify-self: start;
  min-height: 38px;
  padding: 0 12px;
  color: #5b6474;
  background: #f6f8fb;
  font-size: 13px;
}

.wizard-inventory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wizard-inventory-toolbar span {
  color: #6b7482;
  font-size: 13px;
  font-weight: 850;
}

.wizard-inventory-sections {
  display: grid;
  gap: 14px;
}

.wizard-inventory-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  background: #fbfcff;
}

.wizard-inventory-items {
  display: grid;
  gap: 8px;
}

.wizard-inventory-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
}

.wizard-inventory-item > span {
  min-width: 0;
  color: #303746;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.wizard-inventory-qty {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 4px;
}

.wizard-inventory-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  color: #314cff;
  background: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.wizard-inventory-qty button:disabled {
  color: #b8bfca;
  background: #f4f6f9;
  cursor: not-allowed;
}

.wizard-inventory-qty strong {
  color: #20242d;
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.wizard-inventory-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.wizard-inventory-actions .wizard-next {
  flex: 1;
  min-height: 54px;
  margin-top: 0;
}

.wizard-inventory-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 96px;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  color: #3a4352;
  background: #fff;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.wizard-photo-guide-open {
  overflow: hidden;
}

.wizard-photo-guide[hidden] {
  display: none;
}

.wizard-photo-guide {
  position: fixed;
  inset: 0;
  z-index: 340;
}

.wizard-photo-guide-dim {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 32, .28);
}

.wizard-photo-guide-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 24px 28px;
  border-radius: 26px 26px 0 0;
  background: #fff;
  text-align: center;
  box-shadow: 0 -18px 55px rgba(30, 36, 48, .18);
}

.wizard-photo-guide-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 0;
  color: #9aa0aa;
  background: transparent;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.wizard-photo-guide-sheet h3 {
  margin: 0 48px 14px;
  color: #20242d;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.wizard-photo-guide-sheet > p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: #858b96;
  font-size: 16px;
  line-height: 1.55;
}

.wizard-photo-guide-confirm {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #314cff;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.wizard-photo-guide-never {
  margin-top: 18px;
  border: 0;
  color: #6f7683;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.wizard-info {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f2f4ff;
  color: #252934;
  font-size: 16px;
  line-height: 1.7;
}

.wizard-info li + li {
  margin-top: 8px;
}

.wizard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wizard-form-grid .full {
  grid-column: 1 / -1;
}

.wizard-calendar {
  padding: 14px;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  background: #fff;
}

.wizard-calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.wizard-calendar-head strong {
  color: #252a35;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.wizard-calendar-head button {
  width: 42px;
  height: 42px;
  border: 1px solid #dde5f0;
  border-radius: 50%;
  color: #263143;
  background: #f8fafc;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.wizard-calendar-head button:disabled,
.wizard-calendar-day:disabled {
  color: #c1c8d2;
  background: #f6f8fb;
  cursor: not-allowed;
}

.wizard-calendar-weekdays,
.wizard-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 8px;
}

.wizard-calendar-weekdays {
  margin-bottom: 7px;
  color: #808999;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.wizard-calendar-empty,
.wizard-calendar-day {
  height: 32px;
}

.wizard-calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #252a35;
  background: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.wizard-calendar-day span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid transparent;
  border-radius: 50%;
  line-height: 1;
}

.wizard-calendar-day.is-son-day {
  border-color: transparent;
  color: #252a35;
  background: #f8fafc;
  box-shadow: none;
}

.wizard-calendar-day.is-son-day span {
  border: 2px solid #ff7a1a;
  color: #252a35;
  background: #fff;
}

.wizard-calendar-day.is-selected {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(22, 135, 232, .22);
}

.wizard-calendar-day.is-selected span {
  border-color: transparent;
  color: #fff;
  background: transparent;
}

.wizard-calendar-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  color: #8b5a35;
  font-size: 13px;
  font-weight: 800;
}

.wizard-calendar-legend span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7a1a;
}

.wizard-calendar-note {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 12px 0 0 18px;
  border-top: 1px solid #edf1f6;
  color: #8c95a3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.wizard-time-group {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wizard-time-group + .wizard-time-group {
  margin-top: 16px;
}

.wizard-time-group strong {
  color: #444c5b;
  font-size: 15px;
  font-weight: 700;
}

.wizard-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.wizard-time-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border: 1px solid #dfe1e8;
  border-radius: 8px;
  color: #252a35;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.wizard-time.is-selected {
  border-color: #8190ff;
  color: #314cff;
  background: #f3f5ff;
}

.wizard-time-flexible {
  width: 100%;
}

.wizard-date-picked {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 12px;
  background: #f4f6ff;
}

.wizard-date-picked span {
  color: #7b8290;
  font-size: 14px;
  font-weight: 750;
}

.wizard-date-picked strong {
  grid-column: 1;
  color: #20242d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.wizard-date-picked button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #c8d4ff;
  border-radius: 8px;
  color: #314cff;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-address-prompt p {
  margin: 0 0 14px;
  color: #4e5664;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.wizard-address-open {
  overflow: hidden;
}

.wizard-address-layer[hidden] {
  display: none;
}

.wizard-address-layer {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.wizard-address-dim {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 36, .42);
}

.wizard-address-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(100%, 720px);
  max-width: 720px;
  max-height: min(86vh, 760px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 55px rgba(18, 28, 46, .22);
}

.wizard-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 6px solid #f5f6f8;
}

.wizard-sheet-head h3 {
  margin: 0;
  font-size: 22px;
}

.wizard-sheet-head button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  color: #7d8490;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.wizard-address-scroll {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.wizard-address-sheet > .wizard-error {
  margin: 12px 20px 0;
}

.wizard-address-sheet > .wizard-next {
  width: calc(100% - 40px);
  margin: 12px 20px 20px;
}

.wizard-address-sheet > .wizard-link-skip {
  margin-top: -8px;
  margin-bottom: 18px;
}

.wizard-address-form {
  display: grid;
  gap: 0;
}

.wizard-address-block {
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 6px solid #f5f6f8;
}

.wizard-address-block.compact {
  display: grid;
  gap: 14px;
}

.wizard-main-label,
.wizard-address-block > label:first-child {
  display: block;
  margin: 0 0 10px;
  color: #1e222b;
  font-size: 16px;
  font-weight: 600;
}

.wizard-address-block input[type="text"],
.wizard-address-block select {
  min-height: 50px;
  border-color: #dfe1e6;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
}

.wizard-address-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.wizard-address-search input[readonly] {
  background: #fff;
  cursor: pointer;
}

.wizard-address-search button {
  width: 100%;
  min-height: 56px;
  border: 1px solid #53c6ff;
  border-radius: 9px;
  color: #035f99;
  background: linear-gradient(180deg, #e3f8ff 0%, #c8efff 100%);
  box-shadow: 0 8px 18px rgba(29, 155, 222, .18);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
}

.waypoint-search {
  margin-top: 14px;
}

.wizard-address-block input + input {
  margin-top: 10px;
}

.wizard-safe-note {
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  color: #1672dc;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.wizard-building-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 92px), 1fr));
  gap: 8px;
  min-width: 0;
}

.wizard-building {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0 10px;
  border: 1px solid #dedfe4;
  border-radius: 6px;
  color: #222731;
  background: #fff;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  min-width: 0;
}

.wizard-building.is-selected {
  border-color: #8190ff;
  color: #314cff;
  background: #f3f5ff;
}

.wizard-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 !important;
  color: #20242d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.wizard-check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  accent-color: #314cff;
  -webkit-appearance: auto;
  appearance: auto;
  flex: 0 0 auto;
  cursor: pointer;
}

.wizard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 2px;
  min-width: 0;
}

.wizard-chip-row.tight {
  gap: 7px;
}

.wizard-chip {
  flex: 1 1 74px;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dedfe4;
  border-radius: 6px;
  color: #20242d;
  background: #fff;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
}

.wizard-chip-row.tight .wizard-chip {
  flex-basis: 82px;
  min-height: 40px;
  padding: 0 9px;
  font-size: 14px;
}

.wizard-chip.is-selected,
.wizard-segment-option.is-selected {
  border-color: #8190ff;
  color: #314cff;
  background: #f3f5ff;
}

.wizard-select-line {
  display: grid;
  gap: 8px;
}

.wizard-select-line label {
  margin: 0;
  color: #1e222b;
  font-size: 16px;
  font-weight: 600;
}

.wizard-bottom-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  color: #20242d;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.wizard-bottom-trigger.is-selected {
  border-color: #8190ff;
  color: #314cff;
  background: #f3f5ff;
}

.wizard-bottom-trigger b {
  color: #7e8593;
  font-size: 18px;
  line-height: 1;
}

.wizard-bottom-open {
  overflow: hidden;
}

.wizard-bottom-select[hidden] {
  display: none;
}

.wizard-bottom-select {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.wizard-bottom-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.wizard-bottom-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 20px 24px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -18px 50px rgba(18, 28, 46, .18);
}

.wizard-bottom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wizard-bottom-head h3 {
  margin: 0;
  color: #20242d;
  font-size: 22px;
  font-weight: 600;
}

.wizard-bottom-head button {
  width: 40px;
  height: 40px;
  border: 0;
  color: #8b8f98;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.wizard-bottom-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e1e3e8;
  border-right: 0;
  border-bottom: 0;
}

.wizard-bottom-options button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid #e1e3e8;
  border-bottom: 1px solid #e1e3e8;
  color: #232832;
  background: #fff;
  font-size: 17px;
  font-weight: 450;
  cursor: pointer;
}

.wizard-bottom-options button.is-selected {
  color: #fff;
  background: #314cff;
}

.wizard-bottom-select.is-wheel .wizard-bottom-options {
  display: block;
  max-height: 300px;
  overflow-y: auto;
  border: 0;
  background:
    linear-gradient(#fff, rgba(255, 255, 255, .72)),
    linear-gradient(rgba(255, 255, 255, .72), #fff);
  background-position: top, bottom;
  background-repeat: no-repeat;
  background-size: 100% 72px;
}

.wizard-bottom-select.is-wheel .wizard-bottom-options button {
  display: block;
  width: 100%;
  min-height: 58px;
  border: 0;
  color: #c5c8cf;
  background: transparent;
  font-size: 21px;
  font-weight: 400;
}

.wizard-bottom-select.is-wheel .wizard-bottom-options button.is-selected {
  color: #171b24;
  font-weight: 500;
  background: #f5f6f8;
}

.wizard-bottom-confirm {
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #314cff;
  font-size: 16px;
  font-weight: 550;
  cursor: pointer;
}

.wizard-postcode-open {
  overflow: hidden;
}

.wizard-postcode-layer[hidden] {
  display: none;
}

.wizard-postcode-layer {
  position: fixed;
  inset: 0;
  z-index: 320;
}

.wizard-postcode-dim {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 36, .46);
}

.wizard-postcode-panel {
  position: absolute;
  inset: min(6vh, 40px) 16px;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(18, 28, 46, .22);
}

.wizard-postcode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid #e8edf4;
}

.wizard-postcode-head strong {
  color: #20242d;
  font-size: 17px;
  font-weight: 800;
}

.wizard-postcode-head button {
  width: 38px;
  height: 38px;
  border: 0;
  color: #667085;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wizard-postcode-body {
  min-height: 0;
}

.wizard-toggle-line {
  display: grid;
  grid-template-columns: 108px 168px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: space-between;
}

.wizard-toggle-line strong {
  color: #1e222b;
  font-size: 16px;
  font-weight: 600;
}

.wizard-toggle-line strong button {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  border: 1px solid #aeb3bd;
  border-radius: 50%;
  color: #8f96a3;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.wizard-info-open {
  overflow: hidden;
}

.wizard-info-layer[hidden] {
  display: none;
}

.wizard-info-layer {
  position: fixed;
  inset: 0;
  z-index: 330;
}

.wizard-info-dim {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 36, .4);
}

.wizard-info-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(calc(100% - 42px), 360px);
  padding: 34px 24px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(18, 28, 46, .24);
  transform: translate(-50%, -50%);
}

.wizard-info-card button {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #8b909a;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wizard-info-card p {
  margin: 0;
  color: #20242d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

.wizard-segment {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 7px;
  width: 100%;
  min-width: 0;
}

.wizard-toggle-line .wizard-segment {
  grid-template-columns: repeat(2, 80px);
  justify-content: end;
}

.wizard-segment.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard-segment-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid #dedfe4;
  border-radius: 6px;
  color: #20242d;
  background: #fff;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.2;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.wizard-next {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border-color: #314cff;
  color: #fff;
  background: #314cff;
}

.wizard-next:disabled {
  border-color: #dddfe6;
  color: #b8bdc8;
  background: #e1e3e8;
  cursor: not-allowed;
}

.wizard-prev {
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9e2ef;
  border-radius: 9px;
  color: #3d4655;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.wizard-error {
  margin: 12px 0 0;
  color: #e04747;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.wizard-error[hidden] {
  display: none;
}

.wizard-link-skip {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  padding: 0;
  border: 0;
  color: #7c8493;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wizard-clean-addon {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dce8f6;
  border-radius: 12px;
  background: #f8fbff;
}

.wizard-clean-addon strong {
  color: #202733;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.wizard-clean-addon p {
  margin: -4px 0 2px;
  color: #667383;
  font-size: 14px;
  line-height: 1.55;
}

.estimate-complete {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  margin: 0 auto;
}

.estimate-complete-card {
  padding: 34px;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(33, 44, 68, .08);
}

.estimate-complete-card.wizard-complete {
  margin: 8px auto 0;
  max-width: 100%;
}

.complete-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: #19b869;
  font-size: 28px;
  font-weight: 900;
}

.estimate-complete-card h2 {
  margin: 12px 0 10px;
  color: #171b24;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
}

.complete-lead {
  max-width: 620px;
  margin: 0;
  color: #5e6878;
  font-size: 16px;
  line-height: 1.7;
}

.complete-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.complete-summary div {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
  background: #f8fafc;
}

.complete-summary span,
.complete-steps span {
  display: block;
  color: #7a8391;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.complete-summary strong {
  display: block;
  margin-top: 5px;
  color: #252c3a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.complete-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: complete-step;
}

.complete-steps li {
  position: relative;
  min-height: 62px;
  padding: 12px 14px 12px 54px;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
  background: #fff;
  counter-increment: complete-step;
}

.complete-steps li::before {
  content: counter(complete-step);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--blue);
  background: #eaf6ff;
  font-size: 14px;
  font-weight: 900;
}

.complete-steps strong {
  display: block;
  color: #252c3a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.complete-steps span {
  margin-top: 4px;
  font-weight: 650;
}

.complete-addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #cfe7f8;
  border-radius: 12px;
  background: #f2f9ff;
}

.complete-addon strong {
  display: block;
  color: #17324d;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.complete-addon p {
  margin: 6px 0 0;
  color: #506171;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.complete-addon a,
.complete-addon button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #19a0e6;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.complete-addon button:disabled {
  opacity: .68;
  cursor: wait;
}

.complete-addon.is-confirmed {
  grid-template-columns: 1fr;
  border-color: #bfe8d4;
  background: #f0fbf5;
}

.complete-addon.is-confirmed strong {
  color: #0e5733;
}

.complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.complete-actions a,
.complete-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #d8e6f4;
  border-radius: 10px;
  color: #273244;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.complete-actions .complete-chat {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.complete-actions .complete-call {
  border-color: #19b869;
  color: #fff;
  background: #19b869;
}

.form-head {
  margin-bottom: 24px;
}

.form-head h2 {
  margin: 14px 0 8px;
  font-size: 30px;
  line-height: 1.3;
}

.form-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field.full { grid-column: 1 / -1; }

label {
  display: block;
  margin-bottom: 7px;
  color: #515967;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
}

select {
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, #657083 50%), linear-gradient(135deg, #657083 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.date-select {
  height: 48px;
  text-align: left;
  white-space: nowrap;
}

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

.addon-offer,
.addon-form {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #cfe6fb;
  border-radius: 14px;
  background: #f6fbff;
}

.addon-head strong,
.addon-form-head h3 {
  display: block;
  margin: 0;
  color: #222835;
  font-size: 20px;
  font-weight: 900;
}

.addon-head p {
  margin: 6px 0 0;
  color: #566171;
  line-height: 1.6;
}

.addon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.addon-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d8e6f4;
  border-radius: 999px;
  color: #273244;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.addon-actions button.is-selected {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.addon-form-head {
  margin-bottom: 16px;
}

.addon-form-head h3 {
  margin-top: 10px;
}

.submit {
  width: 100%;
  min-height: 64px;
  margin-top: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(22, 135, 232, .24);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.submit:hover,
.submit:focus-visible {
  background: #0f7bd9;
  box-shadow: 0 18px 36px rgba(22, 135, 232, .3);
  transform: translateY(-1px);
  outline: 0;
}

.submit:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(22, 135, 232, .22);
}

.submit:disabled {
  opacity: .65;
  cursor: wait;
}

.estimate-guide {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 18px;
}

.guide-card {
  min-height: 100px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 45, 70, .05);
}

.guide-card b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
}

.guide-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.guide-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-card.highlight {
  color: #fff;
  background: #263143;
}

.guide-card.highlight a {
  display: block;
  margin: 8px 0;
  font-size: 28px;
  font-weight: 900;
}

.guide-card.highlight span {
  color: rgba(255, 255, 255, .74);
}

.footer {
  padding: 36px 0;
  color: #7b8491;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.admin-page {
  padding: 42px 0 90px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-toolbar h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0;
}

.admin-toolbar button,
.admin-reply button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f7fb;
}

.admin-tabs button {
  position: relative;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  color: #596475;
  background: transparent;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(22, 135, 232, .18);
}

.admin-tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: #e53935;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.admin-tab-badge[hidden] {
  display: none;
}

.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.admin-subtabs button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #485367;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.admin-subtabs button.is-active {
  color: #fff;
  background: #26365f;
  border-color: #26365f;
}

.admin-setup,
.admin-login,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(33, 44, 68, .07);
}

.admin-setup,
.admin-login {
  max-width: 520px;
  padding: 28px;
}

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

.admin-grid {
  display: grid;
  gap: 22px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.admin-panel-head h2 {
  margin: 0;
}

.admin-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-search-field {
  position: relative;
  flex: 1 1 320px;
  min-width: 0;
}

.admin-search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 42px 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 9px;
  color: #252d3b;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.admin-search-field span {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #5f6b7d;
  font-size: 22px;
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.admin-filter-row select {
  min-height: 38px;
  min-width: 132px;
  padding: 0 34px 0 12px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #252d3b;
  background:
    linear-gradient(45deg, transparent 50%, #667085 50%) right 13px center / 8px 8px no-repeat,
    #fff;
  font-size: 14px;
  font-weight: 850;
  appearance: none;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
}

.admin-pagination button {
  min-width: 72px;
  min-height: 38px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #252d3b;
  background: #fff;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-pagination button:disabled {
  color: #a7afbd;
  background: #f4f6fa;
  cursor: not-allowed;
}

.admin-pagination span {
  min-width: 64px;
  color: #657083;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.admin-estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.admin-estimate.is-open {
  border-color: #1d4f9a;
  background: #fbfcfe;
  box-shadow: 0 8px 18px rgba(29, 79, 154, .1);
}

.admin-estimate-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf7ff;
  font-size: 12px;
  font-weight: 900;
}

.admin-estimate-main {
  display: grid;
  grid-template-columns: minmax(90px, .75fr) minmax(130px, .95fr) minmax(156px, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-estimate-main strong {
  overflow: hidden;
  color: #1f2633;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-estimate-date {
  color: #7c8695;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-estimate-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a93a3;
  font-size: 22px;
  transition: transform .18s ease;
}

.admin-estimate.is-open .admin-estimate-chevron {
  color: #1d4f9a;
  transform: rotate(180deg);
}

.admin-estimate-order {
  display: block;
  padding: 0;
  border-color: #e1e7f0;
  background: #fff;
  overflow: hidden;
}

.admin-estimate-order.is-open {
  border-color: #1d4f9a;
}

.admin-order-card {
  padding: 18px;
}

.admin-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.admin-order-head strong {
  display: block;
  margin-top: 10px;
  color: #1c2430;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-order-head em {
  display: block;
  margin-top: 4px;
  color: #6a7382;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.admin-order-customer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  color: #6b7280 !important;
  font-size: 14px;
  font-weight: 850;
}

.admin-order-customer::before {
  content: "•";
  color: #b5bfcd;
}

.admin-order-customer span {
  overflow: hidden;
  max-width: 180px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-inventory-line {
  display: block;
  margin-top: 5px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #2f3848;
  background: #f5f7fb;
  font-size: 13px;
  line-height: 1.45;
}

.admin-inventory-line:first-child {
  margin-top: 0;
}

.admin-order-route {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-left: 20px;
}

.admin-order-route::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 5px;
  border-left: 1px solid #dce4ef;
}

.admin-order-route div {
  position: relative;
  display: grid;
  gap: 4px;
}

.admin-order-route div::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d7e2;
}

.admin-order-route div:last-child::before {
  background: var(--blue);
}

.admin-order-route span {
  color: #818b9b;
  font-size: 13px;
  font-weight: 850;
}

.admin-order-route strong {
  color: #374151;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.admin-order-actions .admin-estimate-actions {
  margin-top: 0;
}

.admin-order-detail {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #273244;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-estimate-order .admin-estimate-body {
  margin: 0 18px 18px;
}

.admin-estimate-body {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #d7eaff;
  border-radius: 10px;
  background: #fff;
}

.admin-estimate-body[hidden] {
  display: none;
}

.admin-estimate h3 {
  margin: 0 0 6px;
}

.admin-estimate p {
  margin: 4px 0;
  color: #596475;
  line-height: 1.55;
}

.admin-memo {
  color: #323846 !important;
}

.admin-estimate-details {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-detail-section {
  padding: 12px;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  background: #fff;
}

.admin-detail-section h4 {
  margin: 0 0 9px;
  color: #1f2633;
  font-size: 14px;
  font-weight: 900;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

.admin-detail-grid div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.admin-detail-grid span {
  color: #8a93a3;
  font-size: 12px;
  font-weight: 800;
}

.admin-detail-grid strong {
  min-width: 0;
  color: #2f3745;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.admin-photo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-photo-open {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #1f2f55;
  border-radius: 8px;
  color: #fff;
  background: #26365f;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-photo-open span {
  margin-left: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.admin-estimate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-estimate-actions button,
.admin-estimate-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.admin-estimate-chat {
  border-color: var(--blue) !important;
  color: #fff;
  background: var(--blue);
}

.admin-estimate-call {
  border-color: #19b869 !important;
  color: #fff;
  background: #19b869;
}

.admin-estimate-actions button:disabled,
.admin-estimate-call.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.admin-estimate-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-status-button {
  min-height: 42px;
  padding: 0 36px 0 13px;
  border: 1px solid #d7e1ef;
  border-radius: 9px;
  color: #252d3b;
  background:
    linear-gradient(45deg, transparent 50%, #667085 50%) right 15px center / 8px 8px no-repeat,
    #fff;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.admin-status-button:disabled {
  opacity: .62;
  cursor: wait;
}

.admin-status-button.status-submitted {
  border-color: #bfe2ff;
  color: var(--blue);
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) right 15px center / 8px 8px no-repeat,
    #edf7ff;
}

.admin-status-button.status-consulting {
  border-color: #ffc9c9;
  color: #e03131;
  background:
    linear-gradient(45deg, transparent 50%, #e03131 50%) right 15px center / 8px 8px no-repeat,
    #fff0f0;
}

.admin-status-button.status-done {
  border-color: #b8edc5;
  color: #159b4f;
  background:
    linear-gradient(45deg, transparent 50%, #159b4f 50%) right 15px center / 8px 8px no-repeat,
    #eafff0;
}

.admin-status-open {
  overflow: hidden;
}

.admin-status-sheet[hidden] {
  display: none;
}

.admin-status-sheet {
  position: fixed;
  inset: 0;
  z-index: 360;
}

.admin-status-dim {
  position: absolute;
  inset: 0;
  background: rgba(24, 29, 39, .34);
}

.admin-status-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 18px 22px;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -18px 50px rgba(28, 34, 46, .22);
}

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

.admin-status-head strong {
  color: #20242d;
  font-size: 20px;
  font-weight: 900;
}

.admin-status-head button {
  width: 38px;
  height: 38px;
  border: 0;
  color: #8b94a3;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.admin-status-options {
  display: grid;
  gap: 8px;
}

.admin-status-options button {
  min-height: 48px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  color: #252d3b;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
}

.admin-status-options button.is-selected {
  border-color: var(--blue);
  color: var(--blue);
  background: #edf7ff;
}

.admin-estimate-side time {
  color: #7c8695;
  font-size: 13px;
  font-weight: 800;
}

.admin-chat-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 14px;
}

.admin-chat-workspace {
  display: block;
}

.admin-chat-master h3 {
  margin: 0 0 10px;
  color: #263143;
  font-size: 15px;
  font-weight: 850;
}

.admin-chat-detail {
  min-width: 0;
}

.admin-chat-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(560px, calc(100dvh - 330px));
  min-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.admin-chat-item {
  position: relative;
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-chat-item.is-selected {
  border-color: var(--blue);
  background: #edf7ff;
}

.admin-chat-item.has-unread {
  border-color: #d85c57;
  background: #fffafa;
  box-shadow: 0 8px 18px rgba(216, 92, 87, .07);
}

.admin-chat-unread-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d85c57;
  box-shadow: 0 0 0 4px rgba(216, 92, 87, .12);
}

.admin-chat-item strong {
  font-size: 15px;
}

.admin-chat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-chat-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chat-badge {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  color: #9f342f;
  background: #fff0ef;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.admin-chat-badge.new {
  color: #0f5f9f;
  background: #e8f4ff;
}

.admin-chat-preview {
  overflow: hidden;
  color: #3e4858;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chat-meta {
  color: var(--muted);
  font-size: 12px;
}

.admin-chat-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-chat-detail-head h2 {
  margin: 0 0 4px;
}

.admin-chat-detail-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-chat-room {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  height: min(620px, calc(100dvh - 350px));
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.admin-chat-messages {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  background: #f7f9fc;
  overflow: auto;
}

.admin-message {
  display: grid;
  gap: 4px;
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #263143;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-message time {
  font-size: 11px;
  font-weight: 750;
  opacity: .68;
}

.admin-message.visitor {
  justify-self: start;
}

.admin-message.admin {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.admin-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.admin-chat-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  min-height: 46px;
  max-width: min(340px, calc(100vw - 36px));
  padding: 0 16px;
  border: 1px solid #e0e7f1;
  border-radius: 10px;
  color: #1f2633;
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 45, 70, .18);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-chat-toast[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .nav { gap: 20px; padding-left: 12px; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .service-select-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate-workspace { grid-template-columns: 1fr; }
  .estimate-guide { position: static; grid-template-columns: repeat(2, 1fr); }
  .wizard-message { max-width: 88%; }
  .wizard-panel { max-width: 100%; }
  .wizard-card,
  .wizard-answer { max-width: 88%; }
  .admin-estimate { grid-template-columns: 1fr; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-chat-grid { grid-template-columns: 1fr; }
  .admin-chat-list { max-height: min(540px, calc(100dvh - 300px)); }
  .admin-chat-room { height: min(620px, calc(100dvh - 320px)); }
}

@media (max-width: 520px) {
  .admin-page { padding-top: 24px; }
  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .admin-tabs button {
    min-height: 38px;
    font-size: 15px;
  }
  .admin-panel { padding: 16px; }
  .admin-filter-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-filter-row select {
    width: 100%;
  }
  .admin-chat-list {
    max-height: calc(100dvh - 300px);
    min-height: 320px;
  }
  .admin-chat-detail-head {
    display: grid;
    gap: 10px;
  }
  .admin-chat-room {
    height: calc(100dvh - 340px);
    min-height: 380px;
  }
  .admin-estimate-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .admin-estimate-main {
    grid-template-columns: minmax(78px, .8fr) minmax(120px, 1.2fr);
    gap: 10px;
  }
  .admin-estimate-main strong:last-child {
    grid-column: 1 / -1;
  }
  .admin-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1080px); }
  .header { height: 68px; }
  .nav { display: none; }
  .tel {
    display: inline-flex;
    gap: 0;
    margin-left: auto;
    padding: 8px 10px;
    border: 1px solid #dce8f5;
    border-radius: 999px;
    color: var(--blue);
    background: #f3faff;
  }
  .tel span { display: none; }
  .tel strong { color: var(--blue); font-size: 15px; }
  .admin-logout-nav {
    min-height: 34px;
    margin-left: auto;
    padding: 0 11px;
    font-size: 12px;
  }
  .menu { display: block; margin-left: 12px; }
  h1 { font-size: 31px; }
  .lead { width: min(100%, 350px); }
  .page-hero { padding: 44px 0 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
  .estimate-complete-card { padding: 24px; }
  .estimate-complete-card h2 { font-size: 24px; }
  .complete-summary { grid-template-columns: 1fr; }
  .complete-addon { grid-template-columns: 1fr; }
  .complete-addon a,
  .complete-addon button { width: 100%; }
  .complete-actions { display: grid; }
  .complete-actions a,
  .complete-actions button { width: 100%; }
  .estimate-intro { padding: 46px 0 36px; }
  .service-select-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .service-select-card { border-radius: 12px; box-shadow: 0 10px 24px rgba(32, 45, 70, .06); }
  .estimate-workspace { padding: 10px 0 58px; }
  .estimate-guide { grid-template-columns: 1fr; }
  .form-head h2 { font-size: 25px; }
  .move-wizard {
    width: 100%;
    margin: 0 auto;
    border-width: 0;
    border-radius: 0;
  }
  .wizard-top { padding: 18px 18px 14px; }
  .wizard-top strong { font-size: 22px; }
  .wizard-thread {
    min-height: 680px;
    padding: 12px 14px 34px;
  }
  .wizard-page-current {
    gap: 14px;
  }
  .wizard-page-head {
    padding: 18px 6px 0;
  }
  .wizard-page-head h2 {
    font-size: 25px;
  }
  .wizard-page-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .wizard-message {
    max-width: min(92%, 360px);
    margin-bottom: 12px;
    padding: 15px 17px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
  }
  .wizard-panel {
    padding: 16px;
  }
  .wizard-card {
    max-width: 100%;
    padding: 18px;
  }
  .wizard-answer {
    max-width: min(92%, 360px);
    padding: 14px 17px;
    font-size: 16px;
    font-weight: 450;
  }
  .wizard-options.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-options.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wizard-form-grid { grid-template-columns: 1fr; }
  .wizard-time-grid { grid-template-columns: repeat(3, 1fr); }
  .wizard-address-sheet { max-width: 100%; }
  .wizard-sheet-head,
  .wizard-address-block { padding: 12px 14px; }
  .wizard-address-block {
    border-bottom-width: 5px;
  }
  .wizard-sheet-head h3 {
    font-size: 18px;
  }
  .wizard-main-label,
  .wizard-address-block > label:first-child,
  .wizard-select-line label,
  .wizard-toggle-line strong {
    font-size: 16px;
  }
  .wizard-address-block input[type="text"],
  .wizard-address-block select {
    min-height: 42px;
    font-size: 16px;
  }
  .wizard-address-search button {
    min-height: 50px;
    font-size: 16px;
  }
  .wizard-bottom-trigger {
    min-height: 40px;
    font-size: 14px;
  }
  .wizard-bottom-sheet {
    padding: 20px 16px 22px;
    border-radius: 22px 22px 0 0;
  }
  .wizard-bottom-head h3 {
    font-size: 18px;
  }
  .wizard-bottom-options button {
    min-height: 52px;
    font-size: 15px;
  }
  .wizard-bottom-select.is-wheel .wizard-bottom-options {
    max-height: 290px;
  }
  .wizard-bottom-select.is-wheel .wizard-bottom-options button {
    min-height: 56px;
    font-size: 19px;
  }
  .wizard-bottom-confirm {
    min-height: 50px;
    font-size: 16px;
  }
  .wizard-safe-note {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .wizard-address-search {
    grid-template-columns: 1fr;
  }
  .wizard-address-search button {
    width: 100%;
  }
  .wizard-address-block input[type="text"],
  .wizard-address-block select {
    min-width: 0;
  }
  .wizard-building {
    min-width: 0;
    min-height: 48px;
    font-size: 12px;
  }
  .wizard-chip-row {
    max-width: 100%;
  }
  .wizard-toggle-line {
    grid-template-columns: 96px 160px;
    gap: 8px;
  }
  .wizard-segment { width: 100%; }
  .wizard-toggle-line .wizard-segment {
    grid-template-columns: repeat(2, 76px);
    justify-content: end;
  }
  .wizard-segment-option,
  .wizard-chip {
    min-height: 36px;
    font-size: 13px;
  }
  .wizard-chip-row.tight .wizard-chip {
    flex-basis: 76px;
    min-height: 36px;
    font-size: 12px;
  }
  .wizard-summary div {
    grid-template-columns: 96px minmax(0, 1fr);
    font-size: 14px;
  }
  .wizard-option,
  .wizard-next {
    min-height: 46px;
    font-size: 14px;
    font-weight: 550;
  }
  .wizard-info {
    margin-top: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
  }
  .wizard-info li + li {
    margin-top: 5px;
  }
}
