.est { padding-block: var(--s5) var(--s6); }
.est-head { display: grid; gap: var(--s2); justify-items: start; margin-bottom: var(--s4); }
.est-head .seg { margin-top: var(--s1); }
.est-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 721px) { .est-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s5); } }
.est-form { display: grid; gap: var(--s3); }
.est-msg { min-height: 1.75em; font-size: 14px; color: var(--muted); }
.est-msg--warn { color: var(--ink); border-left: 2px solid var(--brass); padding-left: var(--s2); }
.est-sub { font: italic 400 22px/1.2 var(--serif); padding-bottom: var(--s1); border-bottom: 1px solid var(--line); }
.est-list { list-style: none; margin: 0; padding: 0; }
.est-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding-block: var(--s2); border-bottom: 1px solid var(--line); }
.est-list li div { display: grid; gap: .15rem; }
.est-list strong { font-weight: 500; }
.est-list span { font-size: 13px; color: var(--muted); text-wrap: pretty; }
.est-list b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-notes { margin: 0; padding: 0 0 0 1.1em; font-size: 13px; color: var(--muted); }
.est-summary { display: grid; gap: var(--s2); }
@media (min-width: 721px) { .est-summary { position: sticky; top: calc(var(--head) + var(--sub) + var(--s3)); } }
.est-summary .seg { justify-self: start; }
.est-total { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--serif); color: var(--olive); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.est-break { display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s2); margin: 0; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: 14px; }
.est-break dt { color: var(--muted); text-wrap: balance; }
.est-break dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.est-fx { font-size: 12px; color: var(--muted); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }

/* 웨딩 베뉴 안내 표: 721px 이상은 표, 이하는 베뉴별 카드로 쌓는다 */
.est-cmp { display: grid; gap: var(--s2); margin-top: var(--s5); }
.est-cmp-lede { font-size: 14px; color: var(--muted); text-wrap: pretty; }
.est-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.est-table th, .est-table td { padding: var(--s2) var(--s1); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.est-table thead th { font: 500 11px/1.4 var(--sans); letter-spacing: .18em; color: var(--muted); border-bottom-color: var(--ink); }
.est-table tbody th .est-stack > span { font-weight: 500; }
.est-stack { display: grid; gap: .15rem; }
.est-stack small { font-size: 13px; color: var(--muted); text-wrap: pretty; }
@media (max-width: 720px) {
  .est-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .est-table tr { display: grid; padding-block: var(--s2); border-bottom: 1px solid var(--line); }
  .est-table th, .est-table td { display: flex; justify-content: space-between; gap: var(--s2); padding: .3rem 0; border: 0; }
  .est-table tbody th { padding-bottom: var(--s1); }
  .est-table td::before { content: attr(data-label); flex: none; max-width: 8em; font: 500 11px/1.6 var(--sans); letter-spacing: .12em; color: var(--muted); }
  .est-table td .est-stack { justify-items: end; text-align: right; }
}
