/* 회원 화면의 시각 체계. 운영자 화면은 app.css를 계속 사용한다. */
:root {
  --ink: #242923;
  --ink2: #4f554e;
  --mute: #737970;
  --line: #e1e4dc;
  --line2: #eef0e9;
  --bg: #f6f7f2;
  --pin: #ffcf32;
  --pin-ink: #302800;
  --pin-soft: #fff8dd;
  --ok: #28734c;
  --ok-soft: #eaf4ec;
  --gray-soft: #f0f2ed;
  --head: 72px;
  --r: 14px;
}

body { letter-spacing: -.025em; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #756018;
  outline-offset: 3px;
}
input[type="checkbox"] { width: 16px; height: 16px; accent-color: #756018; cursor: pointer; }
.btn { min-height: 40px; border-radius: 8px; font-size: 14px; transition: background .15s, border-color .15s; }
.btn:hover { background: #f5f6f0; border-color: #c5cabc; }
.btn.pri { font-weight: 800; }
.btn.pri:hover { background: #f4c326; border-color: #f4c326; }
.btn.dark:hover { background: #3d453b; }
.btn.sm { min-height: 32px; font-size: 12px; }
.in, .sel { border-radius: 8px; }
.in::placeholder, .num::placeholder { color: #858a81; }
.badge { height: 23px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.badge.ok::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 5px; }
.logo { font-size: 23px; gap: 10px; letter-spacing: -.06em; }
.logo i { width: 25px; height: 25px; box-shadow: inset 0 0 0 7px var(--pin), inset 0 0 0 13px var(--ink); }
.top { padding: 0 32px; gap: 40px; box-shadow: 0 1px 0 rgba(36,41,35,.025); }
.top nav { align-self: stretch; align-items: stretch; gap: 30px; margin: 0; }
.top nav a { display: flex; align-items: center; padding: 0 2px; border-radius: 0; border-bottom: 3px solid transparent; font-size: 14px; color: var(--mute); }
.top nav a.on { background: none; border-bottom-color: var(--pin); color: var(--ink); }
.top nav a:hover { color: var(--ink); }
.top .who { margin-left: auto; gap: 12px; font-size: 12px; }
.office-name { color: var(--ink2); font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; background: #edf0e7; color: #525b46; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; }

.room-workspace { max-width: 1664px; margin: 0 auto; padding: 24px 32px 0; }
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.workspace-heading h1 { font-size: 25px; letter-spacing: -.055em; font-weight: 800; }
.workspace-heading p { margin: 7px 0 0; color: var(--mute); font-size: 13px; }
.room-search { display: flex; align-items: center; width: 380px; gap: 8px; }
.room-search .in { min-width: 0; height: 44px; background: #fff; padding-left: 15px; font-size: 13px; }
.room-search .btn { height: 44px; padding: 0 22px; }

.filters { position: static; display: block; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mobile-filter-toggle { display: none; }
.filter-top { display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line2); gap: 16px; }
.kind-tabs { display: flex; flex: 1; gap: 25px; overflow-x: auto; scrollbar-width: thin; }
.kind-tabs .chip { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 16px 1px 14px; color: var(--mute); font-weight: 700; font-size: 14px; }
.kind-tabs .chip.on { background: none; border-bottom-color: var(--ink); color: var(--ink); }
.kind-tabs .chip small { margin-left: 2px; background: var(--gray-soft); color: var(--mute); padding: 0 6px; border-radius: 5px; font-size: 10px; }
.kind-tabs .chip.on small { background: var(--pin-soft); color: #74601c; }
.reset-filters { color: var(--mute); }
.filter-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 22px; }
.filter-top + .filter-row { padding-top: 17px; }
.filter-basics { display: grid; grid-template-columns: 1fr 1.1fr; }
.filter-basics .filter-row:first-child { padding-right: 0; }
.filter-basics .filter-row:last-child { grid-template-columns: 36px minmax(0, 1fr); }
.filter-row > b { font-size: 12px; padding-top: 8px; color: var(--ink2); font-weight: 600; }
.filter-controls { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.chip { border-radius: 7px; min-height: 33px; padding: 0 13px; font-size: 12px; color: #5f665b; border-color: #e5e8df; background: #fff; }
.chip small { color: #899080; font-size: 10px; }
.chip:hover { border-color: #aeb7a1; background: #f8f9f5; }
.chip.on { color: #51441b; background: var(--pin-soft); border-color: #dfc05d; font-weight: 700; }
.chip.on small { color: #897735; }
.filters .sel { font-size: 12px; min-height: 33px; border-color: var(--line); padding: 4px 28px 4px 10px; }
.money-field { display: flex; align-items: center; gap: 7px; margin-right: 8px; font-size: 12px; }
.money-field .num { width: 90px; height: 35px; padding: 7px 10px; font-size: 12px; background: #fafbf8; }
.money-field .hint { font-size: 11px; }
.filter-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line2); margin-top: 8px; padding: 12px 22px; background: #fcfdf9; }
.quick-filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.quick-filters .chip { border-radius: 20px; min-height: 30px; font-size: 11px; padding: 0 11px; }
.quick-filters .chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #b6beac; margin-right: 1px; }
.quick-filters .chip.on::before { background: #8b7016; }

.bar { padding: 25px 0 11px; gap: 10px; }
.bar .count { font-size: 16px; font-weight: 600; }
.bar .count strong { font-weight: 800; margin-right: 3px; }
.bar .sel { font-size: 12px; background: transparent; border-color: transparent; padding-right: 4px; }
.seg { border-color: var(--line); padding: 3px; border-radius: 8px; background: #eceedf; }
.seg button { border: 0; border-radius: 5px; background: transparent; padding: 5px 13px; font-size: 12px; color: var(--mute); }
.seg button.on { color: var(--ink); background: #fff; box-shadow: 0 1px 3px #24292315; }
.results-note { padding: 0 0 13px; font-size: 11px; color: var(--mute); }
.split { padding: 0 0 40px; }
.split > div { min-width: 0; }
.split.open { grid-template-columns: minmax(0, 1fr) 390px; gap: 16px; }
.tablewrap { border-radius: 12px; }
table.rooms { min-width: 1080px; font-size: 13px; }
table.rooms th { background: #f9faf6; color: #69715f; padding: 14px 12px; font-size: 12px; font-weight: 500; }
table.rooms td { height: 66px; padding: 11px 12px; }
table.rooms th:first-child, table.rooms td:first-child { width: 34px; padding-left: 16px; padding-right: 4px; }
table.rooms th:nth-child(2), table.rooms td:nth-child(2) { width: 28px; padding-left: 3px; padding-right: 8px; }
table.rooms tr:last-child td { border-bottom: 0; }
table.rooms tbody tr:hover { background: #fafbf5; }
table.rooms tbody tr.cur { background: var(--pin-soft); box-shadow: inset 3px 0 var(--pin); }
table.rooms .addr { min-width: 190px; }
.room-title { padding: 0; text-align: left; border: 0; background: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.room-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.room-sub { color: var(--mute); font-size: 12px; margin-top: 4px; font-weight: 400; }
.structure-tag { color: #5e6856; font-size: 12px; }
table.rooms td.price { font-size: 16px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
table.rooms td.opts { min-width: 110px; max-width: 140px; font-size: 12px; color: var(--mute); line-height: 1.8; }
table.rooms .sel { border: 1px solid var(--line2); color: #6c7563; background: #fafbf8; width: 100px; font-size: 11px; }
table.rooms .btn.sm { border-color: #dfe3d9; color: var(--ink2); background: #fff; font-size: 11px; }
.star { display: inline-grid; place-items: center; width: 28px; height: 32px; font-size: 24px; color: #a2ab97; }
.star.on { color: #b38a09; }
.detail { box-shadow: 0 6px 24px #24292308; }
.detail header { padding: 22px 20px 18px; background: #fdfdf9; }
.detail header h2 { font-size: 19px; letter-spacing: -.04em; margin-bottom: 6px; }
.detail header .muted { font-size: 12px; }
.detail section { padding: 20px; }
.detail section h3 { font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.offer { padding: 14px; background: #fafbf6; border-color: #e6e9df; border-radius: 9px; }
.offer .p { font-size: 24px; font-variant-numeric: tabular-nums; }
.offer .row > b { font-size: 11px; color: var(--mute); width: 100%; font-weight: 500; }
.offer .hint { margin-top: 8px; font-size: 11px; }
.detail .kv { font-size: 12px; row-gap: 9px; }
.detail textarea { background: #fffdf5; font-size: 13px; line-height: 1.8; }
.detail .in { font-size: 13px; }
.empty { padding: 65px 20px; font-size: 13px; }
.empty b { display: block; font-size: 16px; color: var(--ink2); }
.empty p { margin: 10px 0 20px; }
.bld { padding: 19px 22px; font-size: 14px; }
.bld .n { min-width: 44px; height: 44px; margin-right: 5px; background: var(--pin-soft); font-size: 18px; }
.bld .hint { margin-top: 5px; font-size: 11px; }
.selbar { border: 1px solid #495042; padding: 12px 14px 12px 20px; gap: 12px; border-radius: 12px; }
.selbar .btn { background: #3b4435; border-color: #525d49; }
.selbar > b { font-size: 13px; margin-right: 8px; }

.page { max-width: 1080px; padding-top: 32px; }
.page > h1 { font-size: 26px; margin-bottom: 24px; letter-spacing: -.04em; }
.card { padding: 26px; box-shadow: 0 2px 5px #24292303; }
.card h2 { font-size: 16px; margin-bottom: 18px; }
.card + .card { margin-top: 18px; }
.card:has(table) { overflow-x: auto; }
table.plain th { padding: 12px 10px; background: #fafbf7; }
table.plain td { padding: 14px 10px; }
.plan { padding: 20px; background: #fcfdf9; }
.foot { max-width: 1664px; padding: 0 32px 30px; font-size: 11px; }
.foot > div + div { opacity: .8; }
.toast { bottom: 90px; }

.auth { grid-template-columns: minmax(0, 1fr) minmax(480px, .9fr); background: #fff; }
.auth .side { background: #293227; padding: 60px clamp(36px, 7vw, 120px); gap: 0; position: relative; }
.auth .side .logo { color: #fff; position: absolute; top: 44px; font-size: 26px; }
.auth .side h1 { font-size: clamp(50px, 5.5vw, 82px); line-height: 1.2; letter-spacing: -.075em; color: #ffda50; margin: 50px 0 38px; }
.auth-subtitle { display: block; font-size: 17px; line-height: 1.8; font-weight: 500; letter-spacing: -.03em; color: #f1f3eb; margin-top: 27px; }
.auth .side ul { font-size: 13px; color: #bdc7b8; gap: 13px; }
.auth .side li::before { width: 4px; height: 4px; background: #a0ac96; vertical-align: middle; }
.auth .side > p { margin-top: 50px; color: #a0ac96 !important; font-size: 11px; }
.auth .box { width: 100%; max-width: 530px; margin: auto; padding: 64px 48px; }
.auth-title { font-size: 26px; letter-spacing: -.055em; margin-bottom: 28px; }
.auth .tabs { margin-bottom: 28px; }
.auth .tabs button { font-size: 13px; padding: 12px 13px; }
.auth label.f { font-size: 12px; margin-bottom: 18px; }
.auth .in { min-height: 47px; font-size: 14px; }
.auth form > .btn.pri { min-height: 48px; }
.auth .foot { padding: 30px 0 0; line-height: 1.9; font-size: 10px; }

@media (max-width: 1199px) and (min-width: 900px) {
  .top { gap: 24px; padding: 0 24px; }
  .top nav { gap: 20px; }
  .top .office-name { max-width: 130px; }
  .top .avatar { display: none; }
  .room-workspace { padding-left: 24px; padding-right: 24px; }
  .filter-basics { display: block; }
  .filter-basics .filter-row:last-child { grid-template-columns: 58px minmax(0, 1fr); }
  .split.open { grid-template-columns: minmax(0, 1fr) 350px; }
}

@media (max-width: 899px) {
  :root { --head: 104px; }
  .top { height: auto; min-height: var(--head); flex-wrap: wrap; gap: 0; padding: 0 18px; overflow: visible; }
  .top > .logo { font-size: 21px; gap: 8px; height: 58px; }
  .top .logo i { width: 22px; height: 22px; box-shadow: inset 0 0 0 6px var(--pin), inset 0 0 0 11px var(--ink); }
  .top .who { gap: 8px; font-size: 10px; }
  .top .who .office-name { max-width: 150px; }
  .top .who .badge { font-size: 10px; }
  .top nav { order: 3; flex: 0 0 100%; width: 100%; min-height: 46px; gap: 0; justify-content: space-between; margin: 0; overflow: visible; }
  .top nav a { justify-content: center; flex: 1; font-size: 13px; padding: 10px 2px 13px; }
  .room-workspace { padding: 24px 16px 0; }
  .workspace-heading { flex-direction: column; align-items: stretch; gap: 17px; margin-bottom: 18px; }
  .workspace-heading h1 { font-size: 23px; }
  .workspace-heading p { font-size: 12px; }
  .room-search { width: 100%; }
  .room-search .in { height: 46px; }
  .room-search .btn { height: 46px; }
  .filter-top { padding: 0 14px; }
  .mobile-filter-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 17px 14px; border: 0; background: #fff; font-size: 12px; cursor: pointer; }
  .mobile-filter-toggle > span { color: var(--mute); font-size: 11px; }
  .filters:not(.mobile-open) > .filter-top,
  .filters:not(.mobile-open) > .filter-row,
  .filters:not(.mobile-open) > .filter-basics,
  .filters:not(.mobile-open) > #extra-filters { display: none; }
  .filters:not(.mobile-open) .filter-bottom { margin-top: 0; }
  .kind-tabs { gap: 17px; }
  .kind-tabs .chip { font-size: 12px; padding: 14px 0; }
  .filter-row { padding: 9px 14px; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .filter-basics { display: block; }
  .filter-basics .filter-row:first-child { padding-right: 14px; }
  .filter-basics .filter-row:last-child { grid-template-columns: 34px minmax(0, 1fr); }
  .filter-row > b { font-size: 11px; padding-top: 10px; }
  .filter-controls { gap: 6px; }
  .filter-controls .chip { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .filters .sel { min-height: 36px; font-size: 11px; }
  .money-field { width: 100%; gap: 7px; margin: 0; justify-content: space-between; font-size: 11px; }
  .money-field > span:first-child { min-width: 34px; }
  .money-field .num { flex: 1; min-width: 50px; max-width: 160px; height: 36px; }
  .money-field .hint { white-space: nowrap; font-size: 10px; }
  .filter-bottom { flex-wrap: wrap; padding: 11px 14px; gap: 8px; }
  .quick-filters { flex: 1; gap: 5px; }
  .quick-filters .chip { font-size: 10px; min-height: 34px; padding: 0 9px; }
  .filter-bottom .btn { font-size: 10px; padding: 0 4px; }
  .bar { padding: 22px 0 10px; gap: 7px; }
  .bar .count { font-size: 15px; }
  .bar .seg button { padding: 4px 9px; font-size: 10px; }
  .bar > .btn { display: none; }
  .bar .sel { font-size: 10px; max-width: 105px; }
  .results-note { font-size: 10px; line-height: 1.7; }
  .split, .split.open { padding: 0 0 40px; }
  .tablewrap { display: none; }
  .rc { padding: 19px 17px; border-radius: 12px; }
  .rc + .rc { margin-top: 12px; }
  .rc .t { font-size: 13px; line-height: 1.6; }
  .rc .p { display: flex; align-items: baseline; gap: 8px; font-size: 24px; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
  .rc .p small { font-size: 11px; font-weight: 500; color: var(--mute); }
  .rc .m { font-size: 11px; color: var(--mute); line-height: 1.8; }
  .rc .acts { margin-top: 16px; }
  .rc .acts .btn { min-height: 43px; font-size: 12px; }
  .rc .acts .tel { font-size: 11px; align-self: center; }
  .detail { inset: 0; max-height: 100dvh; border-radius: 0; }
  .detail header { padding-top: max(20px, env(safe-area-inset-top)); }
  .detail section:last-child { padding-bottom: max(25px, env(safe-area-inset-bottom)); }
  .selbar { padding: 9px 10px; gap: 5px; width: max-content; }
  .selbar > b { font-size: 11px; margin-right: 3px; }
  .selbar .btn { font-size: 10px; padding: 0 9px; }
  .page { padding: 25px 16px 40px; }
  .page > h1 { font-size: 23px; }
  .card { padding: 20px; }
  .plan { flex-wrap: wrap; padding: 16px; }
  .foot { padding-left: 16px; padding-right: 16px; font-size: 10px; }
  .auth { grid-template-columns: 1fr; }
  .auth .side { padding: 28px 24px; }
  .auth .side .logo { position: static; font-size: 22px; }
  .auth .side h1 { font-size: 38px; margin: 30px 0 0; }
  .auth-subtitle { margin-top: 15px; font-size: 13px; }
  .auth .side > p { display: none; }
  .auth .box { padding: 30px 24px; }
  .auth-title { font-size: 23px; margin-bottom: 20px; }
}

@media (max-width: 370px) {
  .top .who .office-name { max-width: 105px; }
  .room-workspace { padding-left: 12px; padding-right: 12px; }
  .filter-top, .filter-row, .filter-bottom { padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .workspace-heading, .results-note, .filters { display: none !important; }
  .room-workspace { padding: 0; }
  .bar { padding: 0 0 10px; }
  .bar .seg, .bar .sel { display: none; }
  .split, .split.open { display: block; padding: 0; }
  table.rooms { min-width: 0; font-size: 10px; }
  table.rooms td, table.rooms th { height: auto; padding: 5px !important; }
  table.rooms td.price { font-size: 12px; }
  table.rooms .addr { min-width: 0; }
  .room-title { font-size: 11px; }
  .room-sub { font-size: 9px; }
}
