/* 홈셈 부동산 계산기: 따뜻한 종이색 바탕 + 벽돌색 포인트, 결과는 영수증처럼 */
:root {
  --ink: #23201B; --ink-2: #545049; --muted: #6F6A61; --line: #E7E2D8; --line-2: #F1EDE5;
  --bg: #FAF8F3; --card: #fff; --accent: #B4461B; --accent-d: #8E3613; --accent-bg: #FBEFE7; --accent-line: #F0CDB9;
  --good: #2E6B3F; --good-bg: #EAF3EC; --warn: #9A5B00; --warn-bg: #FFF5DD;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (min-width: 1024px) { html { scroll-padding-top: 20px; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.75; letter-spacing: -0.2px; word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--accent-d); }
p, li, td, caption, .f-help, .r-msg { text-wrap: pretty; }
.src li { text-wrap: balance; }
h1, h2, h3, th, td:first-child, .f-label { text-wrap: balance; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }

/* 앱 틀: 폰·태블릿은 상단바 + 하단 탭, PC(1024 이상)는 왼쪽 메뉴 */
body { -webkit-tap-highlight-color: transparent; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 16px 0 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
.home .top { padding-left: 16px; }
.back { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--ink); }
.back:active { background: var(--line-2); }
.back svg, .tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 800; letter-spacing: -0.4px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; white-space: nowrap; letter-spacing: -0.4px; }
.brand .logo { flex: none; width: 30px; height: 30px; display: block; }
.brand small { font-weight: 600; color: var(--muted); font-size: 13px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); transition: transform .2s; }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 700; letter-spacing: -0.2px; }
.tabs a[aria-current], .tabs a.on { color: var(--ink); }
.tabs a[aria-current] svg, .tabs a.on svg { stroke-width: 2.4; color: var(--accent); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
body.typing .tabs { transform: translateY(110%); }
.side { display: none; }
.crumb { display: none; }
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .top, .tabs { display: none; }
  .crumb { display: block; }
  .side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; display: flex; flex-direction: column; width: 248px; padding: 22px 14px 18px; overflow-y: auto; background: #F4F0E8; border-right: 1px solid var(--line); }
  .side .brand { padding: 0 8px 14px; }
  .side-g { margin: 16px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: .4px; color: var(--muted); }
  .side nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; }
  .side nav a:hover { background: #EBE5DA; color: var(--ink); }
  .side nav a i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--accent-d); font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: -0.4px; }
  .side nav a[aria-current] { background: var(--ink); color: #fff; }
  .side nav a[aria-current] i { background: var(--accent-bg); }
  .side-foot { margin: auto 0 0; padding: 16px 10px 0; font-size: 13px; }
  .side-foot a { margin-right: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
  .page { margin-left: 248px; }
}

.main { padding-top: 18px; padding-bottom: 56px; }
@media (min-width: 1024px) { .main { padding-top: 26px; } }
.crumb { margin: 0; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
h1 { margin: 6px 0 8px; font-size: 30px; line-height: 1.35; letter-spacing: -0.9px; }
.lead { margin: 0 0 22px; font-size: 16.5px; color: var(--ink-2); max-width: 680px; }
h2 { margin: 44px 0 12px; font-size: 22px; line-height: 1.4; letter-spacing: -0.6px; }
h3 { margin: 22px 0 6px; font-size: 17px; line-height: 1.5; letter-spacing: -0.3px; }
p { margin: 0 0 12px; color: var(--ink-2); }
p b, li b, td b { color: var(--ink); }
.list, .steps { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); }
.list li, .steps li { margin: 6px 0; }
.note { margin: 14px 0; padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); color: #5C4A1E; font-size: 15px; }
.note b { color: #3F3210; }
.fine { font-size: 13.5px; color: var(--muted); }
.formula { margin: 10px 0 14px; padding: 12px 16px; border-left: 3px solid var(--accent); background: #fff; border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ink); }

/* 표 */
.tbl { overflow-x: auto; margin: 10px 0 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
th { background: #F5F1E9; color: var(--ink); font-weight: 700; font-size: 13.5px; }
td:first-child { color: var(--ink); font-weight: 600; }
td.r, th.r { text-align: right; white-space: nowrap; }
caption { caption-side: bottom; padding: 8px 14px 10px; text-align: left; font-size: 12.5px; color: var(--muted); }

/* 홈 카드: 묶음별 목록, 오른쪽 화살표 */
.grp h2 { margin: 30px 0 10px; font-size: 18px; }
.grp:first-of-type h2 { margin-top: 8px; }
.cards a { position: relative; padding-right: 36px !important; }
.cards a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid #BDB5A8; border-right: 2px solid #BDB5A8; transform: rotate(45deg); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 8px; padding: 0; list-style: none; }
.cards a { display: flex; gap: 14px; align-items: center; height: 100%; padding: 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow .15s; }
.cards a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cards a:active { background: var(--line-2); }
.cards .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-bg); color: var(--accent-d); font-weight: 800; font-size: 14px; letter-spacing: -0.5px; }
.cards b { display: block; font-size: 17px; letter-spacing: -0.4px; color: var(--ink); }
.cards span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* 계산기: 왼쪽 입력, 오른쪽 영수증 */
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 18px; align-items: start; margin: 0 0 8px; }
.form { padding: 22px 22px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.f-row { margin: 0 0 18px; }
.f-label { display: block; margin: 0 0 6px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.f-label small { margin-left: 4px; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.f-help { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.f-in { position: relative; display: flex; align-items: center; }
.f-in input, .f-sel { width: 100%; height: 50px; padding: 0 44px 0 14px; border: 1.5px solid #DAD3C6; border-radius: 10px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; outline: none; -webkit-appearance: none; appearance: none; }
.f-in input[type=date] { padding-right: 14px; font-size: 16px; }
.f-in input:focus, .f-sel:focus { border-color: var(--ink); }
.f-in input::placeholder { color: #A39C90; font-weight: 600; }
.f-in em { position: absolute; right: 14px; font-style: normal; font-size: 15px; font-weight: 700; color: var(--muted); pointer-events: none; }
.f-sel { padding-right: 36px; font-size: 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323201B' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.f-ko { min-height: 20px; margin: 5px 2px 0; font-size: 13.5px; font-weight: 700; color: var(--accent-d); font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--line-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 6px; border-radius: 9px; text-align: center; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink-2); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(35, 32, 27, .14), inset 0 0 0 1.5px var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--line-2); cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--ink); }
.chk input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--ink); }
.chk small { display: block; font-size: 13px; color: var(--muted); }
.f-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }

/* 영수증 */
.rcpt { position: sticky; top: 72px; padding: 22px 22px 18px; border-radius: 4px; background: #FFFDF8; box-shadow: 0 1px 1px rgba(60, 45, 20, .1), 0 18px 32px -22px rgba(60, 45, 20, .55); }
.rcpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px 0, #FFFDF8 5.5px, transparent 6px) 0 0 / 12px 8px repeat-x; }
.r-k { margin: 0 0 2px; font-size: 13px; font-weight: 800; letter-spacing: .5px; color: var(--muted); }
.r-big { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -1px; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-big small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.r-big.long { font-size: 26px; }
.r-sub { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--accent-d); }
.r-empty { margin: 6px 0 4px; font-size: 15px; color: var(--muted); }
.r-lines { margin: 16px 0 0; padding: 12px 0 0; border-top: 1.5px dashed #D9D0C0; }
.r-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.r-line span { color: var(--ink-2); }
.r-line b { flex: none; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.r-line.sum { margin-top: 6px; padding-top: 10px; border-top: 1.5px dashed #D9D0C0; font-size: 16px; }
.r-line.sum span { color: var(--ink); font-weight: 800; }
.r-line.minus b { color: var(--good); }
.r-tag { display: inline-block; margin: 10px 0 0; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--accent-bg); color: var(--accent-d); }
.r-tag.ok { background: var(--good-bg); color: var(--good); }
.r-msg { margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.r-msg b { color: var(--ink); }
.r-foot { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.r-more { margin: 12px 0 0; border-top: 1px solid var(--line-2); }
.r-more summary { padding: 10px 0 4px; font-size: 13.5px; font-weight: 700; color: var(--accent-d); cursor: pointer; }
.r-more table { margin-top: 6px; font-size: 13px; }
.r-more th, .r-more td { padding: 6px 4px; background: none; }
.r-more td:first-child { font-weight: 600; }
.r-act { display: flex; gap: 8px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #D9D0C0; }

/* 폰 결과 바: 하단 탭 바로 위, 입력하는 동안(키보드)에는 숨김 */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 12px 9px 16px; background: var(--ink); color: #fff; transform: translateY(calc(100% + 70px)); transition: transform .2s; }
  body.bar-on:not(.typing) .mbar { transform: none; }
  body.bar-on { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
  body.typing .mbar { transform: translateY(calc(100% + 70px)); }
  .mbar div { min-width: 0; }
  .mbar small { display: block; font-size: 12px; color: #BDB5A8; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar button { flex: none; height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: #FBEFE7; color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
}

/* 자주 묻는 질문 */
.faq details { margin: 0 0 8px; padding: 0 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { position: relative; padding: 15px 28px 15px 0; font-weight: 700; cursor: pointer; list-style: none; text-wrap: pretty; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq details p { margin: 0 0 16px; }

.src { margin: 6px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px dashed #D9D0C0; font-size: 13.5px; color: var(--muted); }
.src li { position: relative; margin: 0 0 4px; padding-left: 16px; }
.src li::before { content: "§"; position: absolute; left: 0; color: #B9B0A2; }

.more { margin-top: 44px; }
.more h2 { margin: 0 0 12px; font-size: 18px; }
.more .cards a { padding: 14px 16px; }
.more .cards .ic { width: 38px; height: 38px; font-size: 13px; }
.more .cards b { font-size: 15.5px; }
.more .cards span { font-size: 13.5px; }

.ad-slot { margin: 30px 0; }
.ad-slot:empty { display: none; }

.foot { padding: 30px 0 44px; border-top: 1px solid var(--line); background: #F2EEE6; font-size: 13.5px; }
.foot p { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.foot a { color: var(--ink-2); }
.foot-nav a { font-weight: 700; text-decoration: none; }
.foot-nav a + a::before { content: "·"; margin: 0 7px; color: #C3BBAE; font-weight: 400; }

@media (min-width: 1024px) { .rcpt { top: 24px; } }
@media (max-width: 860px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .rcpt { position: relative; top: 0; }
}
@media (max-width: 720px) {
  .brand { font-size: 15.5px; }
  .brand .logo { width: 28px; height: 28px; }
  h1 { font-size: 25px; letter-spacing: -0.7px; }
  .lead { font-size: 15.5px; }
  h2 { font-size: 20px; margin-top: 38px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 18px 16px 4px; }
  .rcpt { padding: 20px 18px 16px; }
  .r-big { font-size: 30px; }
  th, td { padding: 9px 11px; font-size: 14px; }
  .cards { gap: 8px; }
  .cards a { padding: 14px 16px; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .f-two { grid-template-columns: minmax(0, 1fr); }
  .seg span { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .mbar, .tabs, .faq summary::after { transition: none; } }

/* 인쇄: 계산 결과만 */
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: #fff; padding: 0 !important; }
  .top, .side, .tabs, .foot, .ad-slot, .mbar, .art, .more, .faq, .crumb, .r-act, .lead { display: none !important; }
  .page { margin: 0 !important; }
  .calc { grid-template-columns: 1fr 1fr; }
  .form, .rcpt { box-shadow: none; border: 1px solid #999; }
  .rcpt { position: static; }
  .rcpt::after { display: none; }
}

/* 하단 회사 정보: PC는 가로 한 줄(항목 이름 위·값 아래), 폰은 이름|값 두 칸 표 */
.foot .biz { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0 12px; padding: 14px 0; border-top: 1px solid #E2DCD0; border-bottom: 1px solid #E2DCD0; font-size: 13px; line-height: 1.5; }
.foot .biz div { min-width: 0; }
.foot .biz dt { margin: 0 0 2px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.foot .biz dd { margin: 0; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.foot .biz dd small { font-size: 12px; color: var(--muted); }
.foot .biz a { color: var(--ink-2); }
@media (min-width: 1024px) { .foot .biz { display: grid; grid-template-columns: repeat(3, max-content); gap: 12px 40px; } }
@media (min-width: 1200px) { .foot .biz { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0 16px; } .foot .biz dd small { display: block; margin-top: 1px; } }
@media (max-width: 1023px) { .foot .biz { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 16px; }
  .foot .biz div { display: contents; } .foot .biz dt { margin: 0; font-size: 12.5px; line-height: 1.55; } .foot .biz dd { white-space: normal; font-size: 13px; } }

/* 문의 폼 */
.form.ask { margin: 6px 0 22px; padding-bottom: 18px; }
.f-label small { margin-left: 4px; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.f-area { display: block; width: 100%; min-height: 150px; padding: 12px 14px; border: 1.5px solid #DAD3C6; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); resize: vertical; outline: none; }
.f-area:focus, .ask .f-in input:focus { border-color: var(--ink); }
.ask .f-in input { padding-right: 14px; font-size: 16px; font-weight: 600; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask-send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 0; }
.ask-send .btn { height: 48px; padding: 0 28px; font-size: 16px; }
.ask-send .btn:disabled { opacity: .6; cursor: default; }
.ask-msg { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--accent-d); }
@media (max-width: 720px) { .ask-send .btn { width: 100%; } }

/* 폰: 3칸 이상 표는 한 줄씩 카드로 */
.tbl.nowrap td:first-child { white-space: nowrap; }
@media (min-width: 641px) { .tbl.cards th, .tbl.cards td { white-space: nowrap; } }
@media (max-width: 360px) { .tbl.nowrap th, .tbl.nowrap td { padding-left: 9px; padding-right: 9px; font-size: 13.5px; } }
@media (max-width: 640px) {
  .tbl.cards { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .tbl.cards thead { display: none; }
  .tbl.cards table, .tbl.cards tbody, .tbl.cards tr { display: block; }
  .tbl.cards tr { margin: 0 0 8px; padding: 10px 14px 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .tbl.cards td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 3px 0; border: 0; text-align: right; white-space: normal; }
  .tbl.cards td::before { content: attr(data-label); flex: none; max-width: 48%; color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; }
  .tbl.cards td:first-child { display: block; margin-bottom: 4px; padding: 0 0 7px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 800; color: var(--ink); }
  .tbl.cards td:first-child::before { content: none; }
  .tbl.cards caption { display: block; padding: 2px 2px 0; }
}
@media (min-width: 721px) { .grp .cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 칸 제목 줄 맞춤 · 빈 안내 줄은 자리 차지하지 않게 (칸 사이 간격을 똑같이) */
legend.f-label { padding: 0; }
.f-ko:empty { display: none; }
/* 폰을 가로로 눕히면 화면이 낮으니 결과 바는 숨기고 하단 탭만 남긴다 */
@media (max-height: 500px) and (max-width: 1023px) {
  .mbar { display: none !important; }
  body.bar-on { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}
