@charset "utf-8";
/* =====================================================================
   밤나라 견적문의 스킨 (bn-estimate) — 자기완결 CSS
   스코프: #bn-est (전 마크업 래퍼). default.css :root 토큰 참조.
   화이트 + 핑크. default.css 는 수정하지 않음 (팀C 소유).
   ===================================================================== */

#bn-est{ max-width:var(--read,860px); margin:0 auto; }
#bn-est *{ box-sizing:border-box; }

/* ---------- 히어로 ---------- */
#bn-est .bne-hero{
  background:var(--grad-soft,linear-gradient(135deg,#ffe7f1,#ffd6e8));
  border:1px solid var(--pink-line,#f7d9e6);
  border-radius:var(--r-lg,16px);
  padding:36px 28px; text-align:center; margin:8px 0 24px;
}
#bn-est .bne-hero-tit{
  margin:0 0 10px; font-size:var(--f-h1,28px); font-weight:800;
  color:var(--ink,#26232b); line-height:1.3;
}
#bn-est .bne-hero-desc{
  margin:0 auto 22px; max-width:560px; color:var(--body,#3a3640);
  font-size:var(--f-base,16px); line-height:1.7;
}

/* ---------- CTA 버튼 (계약 §1) ---------- */
#bn-est .bne-cta{
  display:inline-flex; align-items:center; justify-content:center;
  height:52px; padding:0 24px; border-radius:16px;
  background:var(--grad,linear-gradient(135deg,#ff4f9a,#ff7a8a));
  color:#fff; font-weight:800; font-size:15px; border:0;
  box-shadow:0 8px 20px rgba(231,53,130,.32); cursor:pointer;
  text-decoration:none; transition:filter .15s ease, transform .15s ease;
}
#bn-est .bne-cta:hover{ filter:brightness(1.06); }
#bn-est .bne-cta:active{ transform:translateY(1px); }
#bn-est .bne-cta.sm{ height:42px; padding:0 18px; font-size:13.5px; border-radius:12px; }

/* ---------- 안내 카드 3열 ---------- */
#bn-est .bne-steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:0 0 28px;
}
#bn-est .bne-step{
  background:#fff; border:1px solid var(--line,#ece1e8);
  border-radius:var(--r,12px); padding:20px 16px; text-align:center;
}
#bn-est .bne-step-ic{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--pink-soft,#fff2f7); color:var(--pink-d,#e73582);
  font-size:18px; margin-bottom:10px;
}
#bn-est .bne-step strong{
  display:block; color:var(--ink,#26232b); font-size:15px; margin-bottom:6px;
}
#bn-est .bne-step span:not(.bne-step-ic){
  display:block; color:var(--muted,#857f8e); font-size:13.5px; line-height:1.6;
}

/* ---------- 최근 문의 현황 ---------- */
#bn-est .bne-status{ margin:0 0 24px; }
#bn-est .bne-status-head{
  display:flex; align-items:center; justify-content:space-between;
  margin:0 0 14px; gap:12px;
}
#bn-est .bne-status-head h2{
  margin:0; font-size:var(--f-h3,20px); font-weight:800; color:var(--ink,#26232b);
}

#bn-est .bne-list{ list-style:none; margin:0; padding:0;
  border:1px solid var(--line,#ece1e8); border-radius:var(--r,12px); overflow:hidden; }
#bn-est .bne-li{
  display:flex; align-items:center; gap:12px; padding:14px 16px;
  border-top:1px solid var(--line2,#f3eaf0); background:#fff;
}
#bn-est .bne-li:first-child{ border-top:0; }
#bn-est .bne-li-name{ font-weight:700; color:var(--ink,#26232b); flex:0 0 auto; min-width:46px; }
#bn-est .bne-li-subj{
  flex:1 1 auto; color:var(--body,#3a3640); font-size:14.5px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#bn-est .bne-chip{
  flex:0 0 auto; margin-left:auto; padding:4px 11px; border-radius:999px;
  font-size:12px; font-weight:700; white-space:nowrap;
}
#bn-est .bne-chip.done{ background:#e7f6ec; color:#2f9e57; }
#bn-est .bne-chip.wait{ background:#fff3e0; color:#d98a1f; }

#bn-est .bne-pages{ margin-top:18px; text-align:center; }
#bn-est .bne-pages .pg_page,
#bn-est .bne-pages .pg_current{ display:inline-block; }

/* ---------- 빈 상태 ---------- */
#bn-est .bne-empty{
  text-align:center; padding:40px 20px; background:var(--bg2,#fbf6f9);
  border:1px solid var(--line,#ece1e8); border-radius:var(--r-lg,16px);
}
#bn-est .bne-empty-ic{
  width:56px; height:56px; margin:0 auto 14px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--pink-soft,#fff2f7); color:var(--pink-d,#e73582); font-size:24px;
}
#bn-est .bne-empty p{ margin:0 0 18px; color:var(--body,#3a3640); line-height:1.7; }

/* ---------- 폼 (write) ---------- */
#bn-est .bne-w-head{ text-align:center; margin:8px 0 22px; }
#bn-est .bne-w-title{ margin:0 0 8px; font-size:var(--f-h1,28px); font-weight:800; color:var(--ink,#26232b); }
#bn-est .bne-w-desc{ margin:0 auto; max-width:560px; color:var(--muted,#857f8e); font-size:14.5px; line-height:1.7; }

#bn-est .bne-form-card{
  background:#fff; border:1px solid var(--line,#ece1e8);
  border-radius:14px; padding:24px; box-shadow:var(--sh-sm,0 2px 10px rgba(20,20,40,.06));
}
#bn-est .bne-field{ margin-bottom:16px; }
#bn-est .bne-field:last-child{ margin-bottom:0; }
#bn-est .bne-field > label{
  display:block; font-weight:700; color:var(--ink,#26232b);
  font-size:14px; margin-bottom:6px;
}
#bn-est .bne-field > label em{ color:var(--pink,#ff4f9a); font-style:normal; }

#bn-est .bne-input{
  width:100%; height:48px; padding:0 14px;
  border:1px solid var(--line,#ece1e8); border-radius:12px;
  background:#fff; color:var(--ink,#26232b); font-size:15px;
  font-family:inherit; transition:border-color .15s ease, box-shadow .15s ease;
}
#bn-est select.bne-input{ -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23857f8e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px;
}
#bn-est .bne-textarea{ height:auto; min-height:140px; padding:12px 14px; line-height:1.7; resize:vertical; }
#bn-est .bne-input:focus{
  outline:0; border-color:var(--pink,#ff4f9a);
  box-shadow:0 0 0 3px rgba(231,53,130,.14);
}
#bn-est .bne-file{ width:100%; font-size:14px; color:var(--body,#3a3640); }
#bn-est .bne-file-del{ display:inline-block; margin-top:8px; font-size:13px; color:var(--muted,#857f8e); }

#bn-est .bne-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
#bn-est .bne-row .bne-field{ margin-bottom:16px; }

#bn-est .bne-hint{ display:block; margin-top:6px; font-size:12.5px; color:var(--muted,#857f8e); }
#bn-est .bne-charhint{ margin:0 0 8px; font-size:12.5px; color:var(--muted,#857f8e); }
#bn-est .bne-charcount{ margin-top:6px; font-size:12px; color:var(--faint,#a99fb0); text-align:right; }

/* 숨김 필드 / 옵션 */
#bn-est .bne-hide{ display:none; }
#bn-est .bne-opts{ list-style:none; margin:0; padding:0; display:flex; gap:16px; flex-wrap:wrap; }

/* 자동등록방지 — 하단에 작게 */
#bn-est .bne-captcha{ margin-top:8px; }
#bn-est .bne-captcha #captcha{ transform:scale(.95); transform-origin:left center; }

/* 폼 버튼 */
#bn-est .bne-w-btns{ margin-top:20px; text-align:center; }
#bn-est .bne-w-btns .bne-cta{ min-width:240px; }
#bn-est .bne-cancel{
  display:inline-block; margin-top:10px; padding:8px 16px;
  color:var(--muted,#857f8e); font-size:13.5px; text-decoration:none;
  background:#fff; border:1px solid var(--line,#ece1e8); border-radius:10px;
}
#bn-est .bne-cancel:hover{ color:var(--body,#3a3640); }

/* ---------- 상세 (view) ---------- */
#bn-est .bne-v-head{
  border-bottom:1px solid var(--line,#ece1e8); padding-bottom:16px; margin-bottom:20px;
}
#bn-est .bne-v-cate{
  display:inline-block; margin-bottom:8px; padding:3px 10px; border-radius:999px;
  background:var(--pink-soft,#fff2f7); color:var(--pink-d,#e73582); font-size:12px; font-weight:700;
}
#bn-est .bne-v-title{ margin:0 0 10px; font-size:var(--f-h2,23px); font-weight:800; color:var(--ink,#26232b); line-height:1.4; }
#bn-est .bne-v-meta{ color:var(--muted,#857f8e); font-size:13px; }
#bn-est .bne-v-meta b{ font-weight:700; color:var(--body,#3a3640); }
#bn-est .bne-v-meta a{ color:var(--muted,#857f8e); }
#bn-est .bne-v-meta .bne-v-dot{ margin:0 8px; color:var(--faint,#a99fb0); }
#bn-est .bne-v-meta i{ margin-right:3px; }

#bn-est .bne-v-con{ color:var(--body,#3a3640); line-height:1.8; font-size:15.5px; white-space:pre-wrap; word-break:break-word; }
#bn-est #bo_v_img{ margin-bottom:16px; }
#bn-est #bo_v_img img{ border-radius:var(--r,12px); }

#bn-est .bne-v-act{ margin-top:24px; display:flex; gap:12px; }
#bn-est .bne-v-act a, #bn-est .bne-v-act span.bo_v_good, #bn-est .bne-v-act span.bo_v_nogood{
  display:inline-flex; align-items:center; gap:6px; padding:8px 16px;
  border:1px solid var(--line,#ece1e8); border-radius:999px;
  color:var(--body,#3a3640); font-size:14px; text-decoration:none; background:#fff;
}
#bn-est .bne-v-act a:hover{ border-color:var(--pink-line,#f7d9e6); }
#bn-est .bne-v-act strong{ font-weight:700; }

#bn-est .bne-v-file{ margin-top:20px; padding:16px; background:var(--bg2,#fbf6f9); border-radius:var(--r,12px); }
#bn-est .bne-v-file h2{ margin:0 0 10px; font-size:14px; font-weight:700; color:var(--ink,#26232b); }
#bn-est .bne-v-file ul{ list-style:none; margin:0; padding:0; }
#bn-est .bne-v-file li{ font-size:13.5px; margin-bottom:8px; }

#bn-est .bne-v-nb{ list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--line,#ece1e8); }
#bn-est .bne-v-nb li{ padding:12px 0; border-bottom:1px solid var(--line2,#f3eaf0); font-size:14px; }
#bn-est .bne-v-nb .nb_tit{ display:inline-block; min-width:64px; color:var(--muted,#857f8e); font-weight:700; }
#bn-est .bne-v-nb a{ color:var(--body,#3a3640); }

/* 하단 액션 (목록/더보기 드롭다운) */
#bn-est .bne-v-actions{ margin-top:24px; }
#bn-est .bne-v-actions .btn_bo_user{ list-style:none; margin:0; padding:0; display:flex; gap:8px; align-items:center; }
#bn-est .bne-v-list{
  display:inline-flex; align-items:center; padding:9px 20px; border-radius:12px;
  background:var(--pink-soft,#fff2f7); color:var(--pink-d,#e73582);
  font-weight:700; font-size:14px; text-decoration:none;
}
#bn-est .bne-v-list:hover{ background:var(--pink-soft2,#ffe7f1); }
#bn-est .bne-v-more{ position:relative; }
#bn-est .bne-v-more .btn_more_opt{
  width:40px; height:40px; border:1px solid var(--line,#ece1e8); border-radius:10px;
  background:#fff; color:var(--muted,#857f8e); cursor:pointer;
}
#bn-est .bne-v-more .more_opt{
  display:none; position:absolute; right:0; top:46px; z-index:20;
  list-style:none; margin:0; padding:6px; min-width:120px;
  background:#fff; border:1px solid var(--line,#ece1e8); border-radius:12px;
  box-shadow:var(--sh,0 8px 24px rgba(231,53,130,.10));
}
#bn-est .bne-v-more .more_opt li a{
  display:block; padding:9px 12px; border-radius:8px; color:var(--body,#3a3640); font-size:14px;
}
#bn-est .bne-v-more .more_opt li a:hover{ background:var(--pink-soft,#fff2f7); color:var(--pink-d,#e73582); }

/* ---------- 모바일 ---------- */
@media (max-width:768px){
  #bn-est .bne-hero{ padding:28px 18px; }
  #bn-est .bne-hero-tit{ font-size:23px; }
  #bn-est .bne-steps{ grid-template-columns:1fr; gap:10px; }
  #bn-est .bne-row{ grid-template-columns:1fr; }
  #bn-est .bne-form-card{ padding:18px; }
  #bn-est .bne-cta{ width:100%; }
  #bn-est .bne-status-head{ flex-direction:column; align-items:stretch; }
  #bn-est .bne-status-head .bne-cta.sm{ width:100%; }
  #bn-est .bne-w-btns .bne-cta{ width:100%; min-width:0; }
}
