:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #18231e;
  --muted: #707a73;
  --line: #dce1da;
  --green: #245640;
  --green-dark: #173e2e;
  --lime: #d9f078;
  --coral: #eb755f;
  --serif: "Gowun Batang", Georgia, serif;
  --sans: "DM Sans", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5.5vw, calc((100vw - 1440px) / 2));
  background: var(--paper);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.wordmark-icon {
  display: grid;
  width: 31px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 18px;
}

.wordmark-accent { color: var(--green); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a { transition: color 180ms ease; }
.main-nav a:hover { color: var(--green); }

.main-nav .nav-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 18px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-contact span { color: var(--green); font-size: 17px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(89%, 900px);
  margin: 0 auto;
  padding: 48px 0 54px;
  animation: rise-in 700ms ease both;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--lime); }
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.hero h1 {
  margin: 15px 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.3;
}

.hero h1 em, .approach-title h2 em { color: var(--lime); font-style: normal; }

.hero-description {
  margin: 0 0 24px;
  color: rgb(255 255 255 / 84%);
  font-size: 13px;
  line-height: 1.9;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 700px);
  margin: 0 auto;
}

.category-button {
  position: relative;
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid rgb(255 255 255 / 38%);
  background: var(--green-dark);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
}

.category-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(15 31 23 / 72%), rgb(15 31 23 / 8%) 100%), linear-gradient(0deg, rgb(15 31 23 / 38%), transparent 65%);
  content: "";
}

.category-button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.category-label, .category-arrow { position: relative; z-index: 1; }
.category-arrow { color: var(--lime); font-size: 20px; }
.category-button:hover, .category-button:focus-visible { border-color: var(--lime); }
.category-button:hover img { transform: scale(1.06); }
.category-button.is-active { border: 3px solid var(--lime); }
.category-button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.wordmark-icon {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.search-section, .homes-section {
  width: min(89%, 1250px);
  margin: 0 auto;
}

.listing-page-heading { width: min(89%, 1250px); margin: 0 auto; padding: 36px 0 0; }
.listing-back-link { display: inline-block; color: var(--green); font-size: 11px; font-weight: 600; }
.listing-back-link:hover { color: var(--green-dark); }

.office-showcase {
  position: relative;
  display: flex;
  min-height: clamp(260px, 34vw, 430px);
  align-items: center;
  overflow: hidden;
  background: #36473c;
  color: var(--white);
}

.office-showcase > img, .office-showcase-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.office-showcase > img { object-fit: cover; object-position: center 55%; }
.office-showcase-shade { background: linear-gradient(90deg, rgb(13 28 21 / 74%), rgb(13 28 21 / 18%) 78%); }
.office-showcase-copy { position: relative; width: min(89%, 1250px); margin: 0 auto; padding: 46px 0; }
.office-showcase-copy .eyebrow { color: var(--lime); }
.office-showcase-copy h2 { margin: 14px 0 22px; font-family: var(--serif); font-size: clamp(29px, 4.2vw, 52px); font-weight: 400; line-height: 1.5; }
.office-showcase-copy a { display: inline-flex; align-items: center; gap: 24px; padding-bottom: 7px; border-bottom: 1px solid rgb(255 255 255 / 70%); font-size: 12px; font-weight: 600; }
.office-showcase-copy a span { color: var(--lime); font-size: 17px; }

.search-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) 2fr;
  gap: 44px;
  align-items: end;
  padding: 62px 0 70px;
  border-bottom: 1px solid var(--line);
}

.search-intro h2, .section-heading h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 400;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 0.72fr auto;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 9px;
  padding: 0 20px 10px;
  border-left: 1px solid var(--line);
}

.search-field:first-child { padding-left: 0; border-left: 0; }
.search-field span { color: var(--muted); font-size: 10px; }

.search-field input, .search-field select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.search-field input::placeholder { color: #8d958e; }
.search-field select { cursor: pointer; }

.search-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease;
}

.search-submit:hover { background: var(--green-dark); }
.search-submit span { color: var(--lime); font-size: 22px; line-height: 0.8; }

.homes-section { padding: 78px 0 104px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.heading-number { margin-left: 8px; color: var(--coral); }
.sample-note { color: var(--muted); font-size: 11px; }
.post-create-inline { display: inline-flex; min-height: 40px; flex-shrink: 0; align-items: center; gap: 11px; padding: 0 14px; border: 0; background: var(--green); color: var(--white); cursor: pointer; font-size: 11px; font-weight: 600; transition: background 180ms ease; }
.post-create-inline:hover { background: var(--green-dark); }
.post-create-inline span { color: var(--lime); font-size: 19px; line-height: 1; }
.admin-only[hidden] { display: none !important; }

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }

.filter-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-tab:hover { color: var(--green); }
.filter-tab.is-active { border-color: var(--green); background: var(--green); color: var(--white); }
.result-count { margin: 0; color: var(--muted); font-size: 11px; }
.listing-status { display: flex; align-items: center; gap: 18px; }
.firebase-status { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 10px; }
.firebase-status::before { width: 7px; height: 7px; border-radius: 50%; background: #d49b3d; content: ""; }
.firebase-status[data-state="connected"]::before { background: #3e8a5c; }
.firebase-status[data-state="local"]::before { background: var(--coral); }

.property-grid {
  display: flex;
  flex-direction: column;
}

.property-card { position: relative; min-width: 0; border-bottom: 1px solid var(--line); }

.property-list-link {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 19px 12px;
  transition: background 180ms ease;
}

.property-list-link:hover { background: #f0f2ec; }
.property-list-link:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.property-thumbnail {
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid #dce3d9;
  background: #eef1eb;
}
.property-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.property-list-link:hover .property-thumbnail img { transform: scale(1.04); }
.property-placeholder { color: #758278; font-size: 11px; font-weight: 600; }
.property-list-details { min-width: 0; }
.property-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: var(--muted); font-size: 10px; }
.property-type-label { color: var(--green); font-weight: 700; }
.property-list-details h3 { overflow: hidden; margin: 8px 0 5px; font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.property-list-details .property-price { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.property-list-location { margin: 0; color: #59665d; font-size: 11px; }
.property-list-summary { overflow: hidden; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.property-card[hidden] { display: none; }
.property-card .post-card-actions { padding: 0 12px 12px; }
.property-card .post-card-actions[hidden] { display: none; }

@media (max-width: 600px) {
  .property-list-link { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px 4px; }
  .property-thumbnail { width: 88px; }
  .property-placeholder { font-size: 9px; }
  .property-list-details h3 { font-size: 14px; }
  .property-list-details .property-price { font-size: 16px; }
  .property-list-meta, .property-list-location, .property-list-summary { font-size: 10px; }
}

.property-meta, .property-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.property-details h3 {
  overflow: hidden;
  margin: 11px 0 9px;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-price { margin: 0 0 13px; font-size: 17px; font-weight: 700; }
.property-specs { justify-content: flex-start; gap: 14px; padding-top: 11px; border-top: 1px solid var(--line); }

.post-card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.post-edit-button, .post-delete-button { min-height: 32px; padding: 0 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 10px; }
.post-edit-button:hover { border-color: var(--green); color: var(--green); }
.post-delete-button:hover { border-color: var(--coral); color: #a93f2d; }

.post-dialog {
  width: min(92vw, 700px);
  max-width: 700px;
  max-height: min(90vh, 900px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.post-dialog::backdrop { background: rgb(14 29 22 / 58%); backdrop-filter: blur(3px); }
.post-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 26px 30px 19px; border-bottom: 1px solid var(--line); }
.post-dialog-head h2 { margin: 9px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
#post-form { padding: 22px 30px 27px; }
.admin-dialog { width: min(92vw, 440px); max-width: 440px; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.admin-dialog::backdrop { background: rgb(14 29 22 / 58%); backdrop-filter: blur(3px); }
#admin-form { display: grid; gap: 16px; padding: 22px 30px 27px; }
.post-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-field { display: grid; gap: 7px; min-width: 0; }
.post-field-wide { grid-column: 1 / -1; }
.post-field > span { color: var(--muted); font-size: 10px; }
.post-field input, .post-field select, .post-field textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 0; outline-color: var(--green); background: var(--white); color: var(--ink); font-size: 12px; }
.post-field textarea { resize: vertical; line-height: 1.7; }
.property-table-editor { gap: 9px; padding: 15px; border: 1px solid var(--line); background: #eef1eb; }
.property-table-editor h3 { margin: 0; color: var(--green-dark); font-family: var(--serif); font-size: 19px; font-weight: 400; }
.property-table-editor > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.property-table-editor .post-field > span { font-size: 10px; }
.property-table-preview-wrap { width: 100%; overflow-x: auto; border: 1px solid #d7dfd5; background: var(--white); }
.property-table-preview-wrap[hidden] { display: none; }
.property-table-preview { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 11px; line-height: 1.6; }
.property-table-preview th, .property-table-preview td { min-width: 76px; padding: 8px 10px; border: 1px solid #d7dfd5; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }
.property-table-preview th { background: #e7ece3; color: var(--green-dark); font-weight: 700; }
.property-table-preview td[contenteditable="true"]:focus, .property-table-preview th[contenteditable="true"]:focus { outline: 2px solid var(--green); outline-offset: -2px; background: #fffef9; }
.property-table-status { min-height: 14px; color: #a93f2d; }
.property-table-clear { justify-self: start; min-height: 34px; }
.file-picker-control { display: flex; min-height: 44px; align-items: center; gap: 12px; }
.file-picker-control > span { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; background: var(--green); color: var(--white); cursor: pointer; }
.file-picker-control input { min-height: auto; padding: 0; border: 0; background: transparent; }
.selected-files { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.existing-post-media { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; background: #eef1eb; }
.existing-post-media[hidden] { display: none; }
.existing-media-label { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 11px; }
.existing-photo-option { position: relative; display: grid; width: 90px; gap: 4px; color: #a93f2d; font-size: 10px; }
.existing-photo-option img { width: 90px; height: 70px; object-fit: cover; }
.existing-photo-option input { position: absolute; top: 4px; left: 4px; width: 17px; height: 17px; accent-color: var(--coral); }
.post-form-status { min-height: 18px; margin: 14px 0 0; color: #a93f2d; font-size: 11px; }
.post-form-actions { display: flex; justify-content: flex-end; gap: 9px; }

.comments-section { margin-top: 58px; padding-top: 42px; border-top: 1px solid var(--line); }
.comments-heading h2 { margin: 10px 0 7px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.comments-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.comment-form { display: grid; gap: 14px; margin-top: 25px; padding: 22px; background: #eef1eb; }
.comment-form textarea { width: 100%; min-height: 90px; padding: 10px 11px; border: 1px solid var(--line); outline-color: var(--green); background: var(--white); color: var(--ink); font: inherit; font-size: 12px; line-height: 1.7; resize: vertical; }
.comment-form .form-submit { justify-self: end; }
.comment-form-status, .comments-status { margin: 0; color: var(--muted); font-size: 11px; }
.comment-secret-toggle { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: #46554a; font-size: 11px; cursor: pointer; }
.comment-secret-toggle input { accent-color: var(--green); }
.comment-list { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.comment-item { padding: 18px 2px; border-top: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.comment-meta strong { font-size: 12px; }
.comment-meta time { color: var(--muted); font-size: 10px; }
.comment-item > p { margin: 9px 0 0; color: #46554a; font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.comment-delete-button { margin-top: 10px; padding: 5px 9px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }
.comment-delete-button:hover { border-color: var(--coral); color: #a93f2d; }
.private-comments { margin-top: 30px; padding: 20px; border: 1px solid #d8ca93; background: #fbf8eb; }
.private-comments h3 { margin: 0 0 10px; color: #665728; font-size: 14px; }
.private-comments-status { margin: 0; color: var(--muted); font-size: 11px; }
.private-comments[hidden] { display: none; }
.private-comments .comment-item { border-color: #e8dfc5; }
.form-cancel, .form-submit { min-height: 42px; padding: 0 18px; border: 1px solid var(--green); cursor: pointer; font-size: 11px; font-weight: 600; }
.form-cancel { background: transparent; color: var(--green); }
.form-submit { background: var(--green); color: var(--white); }
.form-submit:disabled { cursor: wait; opacity: 0.65; }

.empty-state {
  margin: 0;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.approach-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  overflow: hidden;
  padding: 96px max(5.5vw, calc((100vw - 1250px) / 2));
  background: var(--green);
  color: var(--white);
}

.approach-section .eyebrow { color: var(--lime); }

.approach-title h2 {
  margin: 19px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.5;
}

.approach-copy { align-self: center; max-width: 390px; padding-top: 32px; }
.approach-copy p { margin: 0; color: rgb(255 255 255 / 82%); font-size: 13px; line-height: 2; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(255 255 255 / 55%);
  font-size: 12px;
  font-weight: 600;
}

.text-link span { color: var(--lime); font-size: 17px; }

.approach-mark {
  position: absolute;
  right: 5vw;
  bottom: -125px;
  color: rgb(255 255 255 / 5%);
  font-family: var(--serif);
  font-size: 330px;
  line-height: 1;
  pointer-events: none;
}

.office-card-section { padding: 76px 5.5%; background: #e9eee8; }
.office-card { width: min(100%, 1050px); margin: 0 auto; padding: clamp(25px, 5vw, 58px); border: 1px solid rgb(255 255 255 / 24%); background: var(--green-dark); box-shadow: 0 22px 55px rgb(24 35 30 / 16%); color: var(--white); }
.office-card-brand { display: flex; align-items: center; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid rgb(255 255 255 / 24%); }
.office-card-mark { display: grid; width: 64px; height: 64px; flex: 0 0 auto; place-items: center; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font-family: var(--serif); font-size: 29px; }
.office-card-brand .eyebrow { color: var(--lime); }
.office-card-brand h2 { margin: 8px 0 5px; font-family: var(--serif); font-size: clamp(22px, 3.2vw, 34px); font-weight: 400; }
.office-card-tagline { margin: 0; color: rgb(255 255 255 / 72%); font-size: 11px; }
.office-card-details { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; padding: 26px 0; }
.office-card-label { display: block; margin-bottom: 10px; color: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }
.office-card-address address { color: rgb(255 255 255 / 90%); font-size: 13px; font-style: normal; line-height: 1.9; }
.office-card-phones { display: grid; justify-items: start; align-content: start; gap: 7px; }
.office-card-phones a { color: rgb(255 255 255 / 90%); font-size: 15px; font-weight: 600; }
.office-card-phones a:hover { color: var(--lime); }
.office-card-legal { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 17px; border-top: 1px solid rgb(255 255 255 / 24%); color: rgb(255 255 255 / 65%); font-size: 10px; }
.office-card-legal strong { margin-left: 5px; color: var(--white); font-weight: 500; }

.site-footer {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px max(5.5vw, calc((100vw - 1440px) / 2));
}

.footer-wordmark { font-size: 17px; }
.footer-wordmark .wordmark-icon { width: 27px; font-size: 15px; }
.site-footer p, .copyright { margin: 0; color: var(--muted); font-size: 10px; }

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

@media (min-width: 1500px) {
  .hero-copy { width: min(89%, 1250px); }
}

@media (max-width: 850px) {
  .site-header { min-height: 70px; padding: 0 5.5%; }
  .menu-toggle {
    display: grid;
    width: 42px;
    aspect-ratio: 1;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 16px; height: 1px; background: var(--ink); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 6px 5.5% 18px;
    background: var(--paper);
    box-shadow: 0 14px 22px rgb(24 35 30 / 8%);
  }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a { padding: 15px 0; border-top: 1px solid var(--line); }
  .main-nav .nav-contact { width: max-content; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); }
  .search-section { grid-template-columns: 1fr; gap: 25px; padding: 48px 0 54px; }
  .approach-section { gap: 5vw; padding: 72px 5.5%; }
  .approach-mark { right: 2vw; bottom: -90px; font-size: 250px; }
}

@media (max-width: 600px) {
  .wordmark { font-size: 19px; }
  .hero-copy { width: 89%; padding: 38px 0 42px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-description { font-size: 13px; }
  .category-buttons { gap: 8px; }
  .category-button { min-height: 112px; padding: 0 14px; font-size: 13px; }
  .search-section, .homes-section { width: 89%; }
  .listing-page-heading { width: 89%; padding-top: 25px; }
  .search-section { gap: 22px; padding: 42px 0 46px; }
  .search-form { grid-template-columns: 1fr 0.85fr; row-gap: 21px; }
  .search-field { padding-right: 12px; padding-left: 12px; }
  .search-field:first-child { padding-left: 0; }
  .search-submit { grid-column: 1 / -1; width: 100%; }
  .homes-section { padding: 58px 0 68px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 13px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 24px; }
  .sample-note { font-size: 9px; }
  .post-create-inline { min-height: 36px; margin-left: auto; padding: 0 10px; font-size: 10px; }
  .listing-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .listing-status { width: 100%; justify-content: space-between; }
  .result-count { white-space: nowrap; }
  .property-grid { gap: 0; }
  .approach-section { grid-template-columns: 1fr; gap: 18px; padding: 62px 5.5%; }
  .approach-title h2 { font-size: 36px; }
  .approach-copy { padding-top: 0; }
  .approach-mark { right: -5px; bottom: -70px; font-size: 190px; }
  .office-showcase { min-height: 280px; }
  .office-showcase-copy { width: 89%; }
  .office-card-section { padding: 48px 5.5%; }
  .office-card-brand { align-items: flex-start; gap: 14px; }
  .office-card-mark { width: 48px; height: 48px; font-size: 22px; }
  .office-card-details { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; padding: 25px 5.5%; }
  .post-dialog { width: 100%; max-width: none; max-height: 92vh; margin: auto 0 0; }
  .post-dialog-head { padding: 22px 20px 16px; }
  #post-form { padding: 18px 20px 23px; }
  #admin-form { padding: 18px 20px 23px; }
  .post-form-grid { grid-template-columns: 1fr; gap: 13px; }
  .post-field-wide { grid-column: auto; }
  .post-form-actions > button { flex: 1; }
  .comments-section { margin-top: 42px; padding-top: 32px; }
  .comment-form { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
/* 2026 homepage refresh: spacious hero + customer listing intake */
.hero {
  min-height: 780px;
  background:
    linear-gradient(90deg, rgb(8 65 44 / 90%), rgb(7 76 50 / 82%)),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=2200&q=80') center/cover;
}
.hero-copy { width: min(92%, 1420px); padding: 56px 0 260px; }
.hero h1 { margin-top: 18px; font-size: clamp(48px, 5vw, 72px); }
.hero-description { margin-bottom: 38px; font-size: 15px; }
.category-buttons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: 100%; }
.category-button { min-height: 230px; align-items: flex-end; padding: 22px 18px; border-radius: 5px; border-color: rgb(245 200 92 / 65%); }
.category-button::after { background: linear-gradient(0deg, rgb(5 35 25 / 90%) 0%, rgb(5 35 25 / 20%) 62%, transparent 100%); }
.category-label { display: flex; flex-direction: column; gap: 5px; font-size: 18px; }
.category-label small { color: rgb(255 255 255 / 82%); font-size: 10px; font-weight: 500; white-space: nowrap; }
.category-arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #f3c558; border-radius: 50%; color: #fff; font-size: 28px; line-height: 1; }
.listing-inquiry-cta { display: grid; grid-template-columns: auto 1fr auto; width: min(450px, 100%); min-height: 78px; align-items: center; gap: 18px; margin: 46px auto 0; padding: 12px 20px; border: 1px solid #f6c85d; border-radius: 6px; background: linear-gradient(135deg,#ffd968,#f3a91f); box-shadow: 0 12px 28px rgb(0 0 0 / 18%); color: #2b2416; cursor: pointer; text-align: left; }
.listing-inquiry-cta strong { display:block; font-size: 23px; }
.listing-inquiry-cta small { display:block; margin-top: 3px; font-size: 10px; }
.listing-inquiry-icon { font-size: 34px; color: #fff; }
.listing-inquiry-arrow { display:grid; width:38px; height:38px; place-items:center; border-radius:50%; background:#8a560c; color:#fff; font-size:28px; }
.office-card-section { margin-top: 0; }
.admin-actions { display:flex; gap:8px; }
#inquiry-form { padding: 22px 30px 27px; }
.privacy-consent { display:flex; align-items:flex-start; gap:10px; color:var(--muted); font-size:11px; line-height:1.6; }
.privacy-consent input { margin-top:3px; }
.inquiry-list-wrap { padding: 20px 30px 30px; }
.inquiry-list { display:grid; gap:12px; }
.inquiry-item { padding:16px; border:1px solid var(--line); background:#fff; }
.inquiry-item-head { display:flex; justify-content:space-between; gap:12px; margin-bottom:10px; }
.inquiry-item h3 { margin:0; font-size:15px; }
.inquiry-item time { color:var(--muted); font-size:10px; }
.inquiry-item-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px 18px; font-size:12px; }
.inquiry-item-grid p { margin:0; }
.inquiry-item-grid .wide { grid-column:1/-1; }
.inquiry-list-dialog { width:min(92vw, 850px); }

@media (max-width: 1050px) {
  .hero { min-height: 0; }
  .hero-copy { padding: 48px 0 190px; }
  .category-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .category-button:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self:center; }
}

@media (max-width: 600px) {
  .hero { background-position:center; }
  .hero-copy { width:89%; padding: 42px 0 115px; }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-description { margin-bottom:26px; }
  .category-buttons { grid-template-columns:1fr 1fr; gap:9px; }
  .category-button { min-height:150px; padding:14px 12px; }
  .category-button:last-child { grid-column:auto; width:auto; justify-self:stretch; }
  .category-label { font-size:14px; }
  .category-label small { display:none; }
  .category-arrow { width:30px; height:30px; font-size:22px; }
  .listing-inquiry-cta { margin-top:30px; min-height:72px; gap:12px; padding:10px 14px; }
  .listing-inquiry-cta strong { font-size:20px; }
  .listing-inquiry-icon { font-size:28px; }
  #inquiry-form { padding:18px 20px 23px; }
  .inquiry-list-wrap { padding:16px 20px 24px; }
  .inquiry-item-grid { grid-template-columns:1fr; }
  .inquiry-item-grid .wide { grid-column:auto; }
}

/* Customer self-service inquiry management */
.customer-inquiry-tools { display:flex; align-items:center; gap:12px; margin-top:16px; flex-wrap:wrap; }
.customer-inquiry-tools small { color:var(--muted); font-size:11px; }
.customer-check-button { border:1px solid #b78a2c; background:#fffaf0; color:#5d430d; padding:10px 14px; border-radius:4px; font-weight:700; cursor:pointer; }
.my-inquiry-unlock { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:12px; align-items:end; margin-bottom:14px; }
.inquiry-status-select { min-width:120px; padding:7px 9px; border:1px solid var(--line); background:#fff; }
.inquiry-edit-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 14px; margin-top:12px; }
.inquiry-edit-grid .wide { grid-column:1/-1; }
.inquiry-edit-actions { display:flex; justify-content:flex-end; margin-top:12px; }
@media (max-width:700px){ .my-inquiry-unlock,.inquiry-edit-grid{grid-template-columns:1fr}.inquiry-edit-grid .wide{grid-column:auto}.customer-inquiry-tools{align-items:flex-start;flex-direction:column} }

/* v3: customer/admin intake navigation */
.nav-text-button {
  appearance: none; border: 0; background: transparent; color: inherit;
  font: inherit; font-weight: 600; cursor: pointer; padding: .55rem .2rem;
}
.nav-text-button:hover, .nav-text-button:focus-visible { opacity: .68; }
@media (max-width: 760px) {
  .nav-text-button { width: 100%; text-align: left; padding: .8rem 0; }
}

/* v4: active/completed inquiry workflow */
.inquiry-admin-toolbar { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.inquiry-admin-toolbar .is-active { background:#174f39; border-color:#174f39; color:#fff; }
.inquiry-admin-actions { display:flex; gap:8px; justify-content:flex-end; align-items:center; margin-top:14px; flex-wrap:wrap; }
.inquiry-delete-button { border:1px solid #b84a3c; background:#fff; color:#a23d31; padding:10px 14px; border-radius:4px; font-weight:700; cursor:pointer; }
.inquiry-delete-button:hover { background:#fff4f2; }


/* Customer inquiry success confirmation */
.inquiry-success { padding: 42px 28px 30px; text-align: center; }
.inquiry-success[hidden] { display: none; }
.inquiry-success-mark { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #1f5a42; color: #fff; font-size: 34px; font-weight: 800; }
.inquiry-success h3 { margin: 0 0 14px; font-size: clamp(1.35rem, 3vw, 1.8rem); color: #173f30; }
.inquiry-success p { margin: 7px 0; line-height: 1.7; color: #4d5b54; }
.inquiry-success-note { margin-top: 18px !important; padding: 14px 16px; background: #f5f1e6; border-radius: 10px; }
.inquiry-success-actions { justify-content: center; margin-top: 24px; }
.inquiry-success-actions .form-submit { min-width: 140px; }

/* 표시·광고 법정 필수사항 점검 */
.legal-ad-editor{border:1px solid #d8c9a4;border-radius:16px;padding:20px;background:#fffdf7}
.legal-ad-editor h3{margin:0 0 8px;color:#173f32}
.legal-ad-help{margin:0 0 16px;color:#5d5a50;line-height:1.6}
.legal-ad-confirm{margin-top:14px;padding:14px;border-radius:12px;background:#f6f1e5}
.legal-ad-editor [hidden]{display:none!important}
.legal-ad-type-note{margin:.35rem 0 1rem;padding:.8rem 1rem;border-radius:10px;background:rgba(26,67,50,.07);line-height:1.55;font-weight:600}.legal-common-fields [hidden]{display:none!important}


/* 2026-10 homepage featured listings, original logo, neighborhood news */
.brand-logo{display:block;object-fit:cover;border-radius:50%;flex:0 0 auto}.brand-logo-header{width:42px;height:42px}.brand-logo-office{width:88px;height:88px}.brand-logo-footer{width:58px;height:58px}
.hero-copy{width:min(92%,1420px)!important;padding:50px 0 80px!important}.category-buttons{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}.category-button{min-height:94px!important;padding:14px 10px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;background:rgba(3,54,39,.72)!important;border:1px solid rgba(255,255,255,.48)!important}.category-button::after,.category-button img{display:none!important}.category-icon{position:relative;z-index:2;font-size:30px;line-height:1}.category-label{position:relative;z-index:2;font-size:15px!important}.category-label small{display:none}.category-arrow{position:absolute!important;right:12px!important;bottom:10px!important;z-index:2}.neighborhood-button{border-color:#f5c85c!important;color:#ffe36a!important}
.featured-section{margin:26px auto 24px;text-align:left}.featured-heading{display:flex;align-items:baseline;gap:18px;margin-bottom:14px}.featured-heading h2{margin:0;color:#fff;font-size:28px}.featured-heading p{margin:0;color:rgba(255,255,255,.78);font-size:13px}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.featured-grid .property-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.22)}.featured-grid .property-thumbnail{height:150px}.featured-grid .property-list-details{padding:13px 15px 15px}.featured-grid .property-list-details h3{font-size:18px}.featured-grid .property-price{font-size:22px}.featured-empty{grid-column:1/-1;color:rgba(255,255,255,.75);text-align:center;padding:25px}
.featured-toggle{justify-content:center}.checkbox-line{display:flex!important;align-items:center;gap:8px;font-weight:700}.checkbox-line input{width:20px;height:20px}
.office-card{gap:24px;flex-wrap:wrap}.naver-blog-button{display:inline-flex;align-items:center;gap:9px;border:1px solid #20c15a;border-radius:999px;padding:11px 16px;background:#10a943;color:#fff;font-size:13px;font-weight:700}.naver-blog-button strong{display:grid;place-items:center;width:24px;height:24px;border-radius:5px;background:#fff;color:#10a943;font-size:17px}
.neighborhood-dialog{width:min(92vw,900px)}.neighborhood-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.news-form{padding:18px;background:#f4f7f4;border-radius:10px;margin-bottom:20px}.news-list{display:grid;gap:14px;max-height:65vh;overflow:auto;padding-right:4px}.news-item{position:relative;border:1px solid #dce5df;border-radius:12px;padding:20px;background:#fff}.news-item-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.news-item h3{margin:0;font-size:20px}.news-item time{font-size:12px;color:#777}.news-content{white-space:pre-wrap;line-height:1.75;color:#39443d}.news-comments{border-top:1px solid #e6ece8;padding-top:14px}.news-comment-list p{margin:8px 0;padding:8px 10px;background:#f6f8f6;border-radius:7px}.news-comment-form{display:flex;gap:8px;margin-top:10px}.news-comment-form input{flex:1;padding:11px;border:1px solid #ccd7d0;border-radius:7px}.news-comment-form button,.news-delete{border:0;border-radius:7px;padding:10px 13px;background:#075d42;color:#fff;cursor:pointer}.news-delete{margin-top:12px;background:#6b756f}
@media(max-width:900px){.category-buttons{grid-template-columns:repeat(3,1fr)!important}.featured-grid{grid-template-columns:repeat(2,1fr)}.brand-logo-office{width:72px;height:72px}}
@media(max-width:600px){.brand-logo-header{width:34px;height:34px}.hero-copy{width:90%!important;padding:38px 0 55px!important}.category-buttons{grid-template-columns:repeat(2,1fr)!important}.category-button{min-height:82px!important}.category-icon{font-size:25px}.category-label{font-size:13px!important}.featured-heading{display:block}.featured-heading h2{font-size:23px}.featured-heading p{margin-top:5px}.featured-grid{grid-template-columns:1fr;gap:14px}.featured-grid .property-thumbnail{height:180px}.news-comment-form{flex-direction:column}.neighborhood-toolbar{align-items:flex-start;flex-direction:column}}

/* Admin-only daily dashboard */
.admin-today-stats{position:fixed;right:18px;top:76px;z-index:80;display:flex;align-items:center;gap:14px;padding:10px 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(4,69,49,.94);box-shadow:0 8px 24px rgba(0,0,0,.2);color:#fff;font-size:12px;backdrop-filter:blur(8px)}.admin-today-stats[hidden]{display:none}.admin-today-stats strong{color:#ffd04a}.admin-today-stats b{font-size:15px;color:#fff}@media(max-width:600px){.admin-today-stats{top:64px;right:10px;gap:9px;padding:8px 10px;font-size:11px}.admin-today-stats strong{display:none}}

/* 2026-10-12: 추천매물 카드 - 사진 위, 핵심정보 아래, 3열 카드 */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.featured-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
  color: var(--ink);
}
.featured-card-link {
  display: block;
  color: var(--ink);
}
.featured-card-photo {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  background: #e8eee8;
}
.featured-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.featured-card:hover .featured-card-photo img {
  transform: scale(1.035);
}
.featured-card-body {
  padding: 14px 15px 15px;
}
.featured-card-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}
.featured-type-badge,
.featured-deal-badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.featured-type-badge {
  background: #e8f2ec;
  color: #17603e;
}
.featured-deal-badge {
  background: #fff0c9;
  color: #8a5a00;
}
.featured-card-title {
  overflow: hidden;
  margin: 0;
  color: #17251e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.featured-card-price {
  margin: 7px 0 3px;
  color: #d35c35;
  font-size: 21px;
  font-weight: 900;
}
.featured-card-location {
  margin: 0 0 10px;
  color: #66736a;
  font-size: 10px;
}
.featured-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #e4e8e2;
}
.featured-spec {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f3f5f1;
  color: #344239;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.featured-spec small {
  color: #7a847d;
  font-size: 9px;
  font-weight: 500;
}
.featured-empty {
  grid-column: 1 / -1;
  color: rgb(255 255 255 / 80%);
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card-price { font-size: 19px; }
}


/* 2026-10-12 v3: 제목 파랑 / 가격 빨강 / 주소+법정 표시정보 */
.featured-card-title {
  color: #1557a6 !important;
}
.featured-card-price {
  color: #d62828 !important;
}
.featured-location-row {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin: 5px 0 9px;
  color: #59665d;
  font-size: 10px;
}
.featured-location-label {
  flex: 0 0 auto;
  color: #26382d;
  font-weight: 800;
}
.featured-card-location {
  margin: 0;
  color: #59665d;
}
.featured-legal-info {
  padding-top: 9px;
  border-top: 1px solid #e4e8e2;
}
.featured-legal-heading {
  margin: 0 0 6px;
  color: #46564b;
  font-size: 9px;
  font-weight: 800;
}
.featured-broker-line {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #d9dfd7;
  color: #7b857e;
  font-size: 8px;
  line-height: 1.45;
}


/* 2026-10-12 v5: 추천매물 크기 약 2/3로 축소
   반 크기는 표시정보가 너무 작아질 수 있어 우선 4열 컴팩트형으로 조정 */
@media (min-width: 901px) {
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .featured-card-photo {
    aspect-ratio: 16 / 8.5 !important;
  }
  .featured-card-body {
    padding: 10px 11px 11px !important;
  }
  .featured-card-meta {
    margin-bottom: 5px !important;
  }
  .featured-type-badge,
  .featured-deal-badge {
    min-height: 20px !important;
    padding: 0 7px !important;
    font-size: 9px !important;
  }
  .featured-card-title {
    font-size: 14px !important;
  }
  .featured-card-price {
    margin: 4px 0 2px !important;
    font-size: 17px !important;
  }
  .featured-card-specs {
    gap: 4px !important;
    padding-top: 7px !important;
  }
  .featured-spec {
    gap: 3px !important;
    padding: 4px 5px !important;
    font-size: 9px !important;
  }
  .featured-spec small {
    font-size: 8px !important;
  }
  .featured-broker-line {
    margin-top: 6px !important;
    padding-top: 6px !important;
    font-size: 7.5px !important;
  }
}


/* 2026-10-12 v6: 네이버 블로그 바로가기 - 매물접수 아래, CONTACT 위 중앙 */
.naver-blog-shortcut-wrap {
  display: flex;
  width: 100%;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 24px 5.5%;
  background: var(--paper);
}
.naver-blog-shortcut-wrap .naver-blog-button {
  margin: 0;
}
@media (max-width: 600px) {
  .naver-blog-shortcut-wrap {
    min-height: 92px;
    padding: 18px 5.5%;
  }
}


/* 2026-10-12 v7: 하단 중복 로고/현진부동산/매물정보 안내 줄 제거 */
.site-footer {
  display: none !important;
}

/* 네이버 블로그 바로가기: CONTACT 녹색 박스 첫 줄 오른쪽 중앙 */
.office-card-brand {
  justify-content: flex-start;
}
.office-card-brand .naver-blog-button-office {
  margin-left: auto;
  margin-right: clamp(12px, 5vw, 72px);
  flex: 0 0 auto;
}
.naver-blog-shortcut-wrap {
  display: none !important;
}
@media (max-width: 700px) {
  .office-card-brand {
    flex-wrap: wrap;
  }
  .office-card-brand .naver-blog-button-office {
    margin: 12px 0 0 auto;
  }
}

/* 2026-10-20: multiple photo upload + representative photo controls */
.new-photo-preview,
.existing-post-media { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.existing-photo-option { position: relative; display: grid; width: 110px; gap: 5px; color: var(--ink); font-size: 10px; }
.existing-photo-option img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(17,79,59,.18); }
.existing-photo-option input { position: static; width: 15px; height: 15px; accent-color: var(--green); }
.photo-choice { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.photo-remove-choice { color: #a93f2d; }
.new-photo-option { color: var(--ink); }


/* 2026-10-21: 관리자 날짜별 매물 조회 통계 복원 */
.admin-today-stats{cursor:pointer;font-family:inherit}.admin-today-stats small{color:rgba(255,255,255,.72);font-size:9px}.admin-today-stats:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(0,0,0,.24)}
.stats-dialog{width:min(92vw,680px);max-width:680px}.stats-dialog-body{padding:22px 30px 30px}.stats-date-picker{display:grid;gap:7px;margin-bottom:12px;color:var(--muted);font-size:11px}.stats-date-picker input{min-height:43px;padding:8px 11px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit}
.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 18px}.stats-summary-card{padding:14px;border:1px solid var(--line);background:#eef1eb}.stats-summary-card small{display:block;margin-bottom:5px;color:var(--muted);font-size:10px}.stats-summary-card strong{color:var(--green-dark);font-size:19px}
.stats-list{display:grid;border-top:1px solid var(--line)}.stats-list-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line)}.stats-list-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.stats-list-row b{color:var(--green);font-size:13px}.stats-rank{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:10px}.stats-empty{margin:0;padding:28px 8px;color:var(--muted);text-align:center;font-size:12px}.stats-note{margin:16px 0 0;color:var(--muted);font-size:10px;line-height:1.6}
@media(max-width:600px){.admin-today-stats small{display:none}.stats-dialog-body{padding:18px 20px 24px}.stats-summary{grid-template-columns:1fr}}

.visit-detail-title{margin:22px 0 8px;color:var(--green-dark);font-size:14px}.stats-visits{display:grid;border-top:1px solid var(--line)}.visit-detail-row{display:grid;grid-template-columns:90px 70px 60px minmax(0,1fr);gap:8px;align-items:center;padding:10px 4px;border-bottom:1px solid var(--line);font-size:11px}.visit-detail-row strong{color:var(--green-dark)}.visit-detail-row code{overflow:hidden;color:var(--ink);font-family:inherit;text-overflow:ellipsis;white-space:nowrap}.visit-detail-row small{grid-column:4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.visit-detail-row{grid-template-columns:82px 60px 55px minmax(0,1fr)}.visit-detail-row small{grid-column:1/-1}}


/* 2026-10-29: 네이버 블로그 옆 유튜브 채널 바로가기 */
.office-card-brand .naver-blog-button-office,
.office-card-brand .youtube-channel-button-office {
  min-width: 190px;
  justify-content: center;
  box-sizing: border-box;
}
.office-card-brand .naver-blog-button-office {
  margin-left: auto;
  margin-right: 0;
}
.youtube-channel-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ff4e45;
  border-radius: 999px;
  padding: 11px 16px;
  background: #ff0000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.youtube-channel-button strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #fff;
  color: #ff0000;
  font-size: 13px;
}
.office-card-brand .youtube-channel-button-office {
  margin-left: 10px;
  margin-right: clamp(12px, 5vw, 72px);
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .office-card-brand { flex-wrap: wrap; }
  .office-card-brand .naver-blog-button-office { margin: 12px 0 0 auto; }
  .office-card-brand .youtube-channel-button-office { margin: 12px 0 0 8px; }
}
@media (max-width: 600px) {
  .office-card-brand .naver-blog-button-office,
  .office-card-brand .youtube-channel-button-office {
    width: 100%;
    margin: 10px 0 0 0;
  }
}


/* 2026-10-29 FINAL: 네이버/유튜브 버튼 동일 크기, 오른쪽 이동, 7mm 간격 */
.office-card-brand { justify-content: flex-start; }
.office-channel-buttons {
  margin-left: auto;
  transform: translateX(32px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  flex: 0 0 auto;
}
.office-channel-buttons .naver-blog-button-office,
.office-channel-buttons .youtube-channel-button-office {
  width: 210px !important;
  min-width: 210px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.office-channel-buttons .youtube-channel-button-office {
  border: 1px solid #ff0000 !important;
  background: #ff0000 !important;
  color: #fff !important;
}
@media (max-width: 900px) {
  .office-channel-buttons { transform: none; margin: 16px 0 0 auto; gap: 18px; }
}
@media (max-width: 600px) {
  .office-channel-buttons { width: 100%; margin: 16px 0 0 0; }
  .office-channel-buttons .naver-blog-button-office,
  .office-channel-buttons .youtube-channel-button-office { width: 100% !important; min-width: 0 !important; }
}
