/* Guide, review, and report detail pages - Soft Rounded Aesthetic */
#bo_list {
  width: min(calc(100% - 40px), 1200px) !important;
  margin: 28px auto 56px;
  padding: 0;
}
#bo_list #bo_btn_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin: 0 0 14px;
}
#bo_list #bo_list_total {
  float: none;
  color: var(--muted, #748095);
  font-size: 12px;
  line-height: 1.4;
}
#bo_list .btn_bo_user {
  display: flex;
  float: none;
  align-items: center;
  gap: 8px;
}
#bo_list .btn_bo_user li,
#bo_list .btn_bo_user > li {
  float: none;
  width: auto;
  margin: 0;
  background: transparent;
}
#bo_list .btn_bo_user .btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(20,43,82,.14);
  border-radius: 12px;
  background: #fff;
  color: var(--primary, #142b52);
  box-shadow: 0 4px 12px rgba(20,43,82,.06);
}
#bo_list .btn_bo_user .btn_bo_sch {
  width: auto;
  min-width: 72px;
  padding: 0 16px;
}
#bo_list .btn_bo_user .btn_bo_sch::before {
  content: none;
}
#bo_list .btn_bo_user .btn_bo_sch > i {
  display: none;
}
#bo_list .btn_bo_user .report-write-btn {
  display: inline-flex;
  width: auto;
  min-width: 108px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-color: var(--danger, #e7354f);
  background: var(--danger, #e7354f);
  color: #fff;
  font-weight: 700;
}
#bo_list .btn_bo_user .report-write-btn:hover {
  border-color: #c9253d;
  background: #c9253d;
  color: #fff;
  box-shadow: 0 8px 18px rgba(231,53,79,.22);
}
#bo_list #bo_btn_top .btn_bo_user .ev-list-action {
  width: auto;
  min-width: 92px;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  gap: 7px;
  border-radius: 11px;
}
#bo_list #bo_btn_top .btn_bo_user .ev-write-btn {
  border-color: var(--danger, #e7354f);
  background: var(--danger, #e7354f);
  color: #fff;
}
#bo_list #bo_btn_top .btn_bo_user .ev-write-btn:hover {
  border-color: #c9253d;
  background: #c9253d;
  color: #fff;
}
#bo_list .report-write-label {
  font-size: 13px;
  line-height: 1;
}
#bo_list .btn_bo_user .btn:hover {
  border-color: var(--danger, #e7354f);
  color: var(--danger, #e7354f);
  transform: translateY(-1px);
}
#bo_list .sound_only,
.bo_sch_wrap .sound_only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#bo_list .tbl_wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(229,232,237,.86);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,43,82,.07), 0 2px 7px rgba(20,43,82,.035);
}
#bo_list table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
#bo_list caption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#bo_list thead th {
  height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(229,232,237,.9);
  background: #f8f9fb;
  color: var(--primary, #142b52);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
#bo_list tbody tr {
  border-left: 0;
}
#bo_list tbody tr:hover {
  border-left: 0;
}
#bo_list tbody td,
#bo_list tbody .even td {
  height: 62px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(229,232,237,.7);
  background: #fff;
  color: var(--ink, #142033);
}
#bo_list tbody tr:last-child td {
  border-bottom: 0;
}
#bo_list tbody tr:hover td {
  background: #fff8f9;
}
#bo_list .td_num2,
#bo_list .td_num,
#bo_list .td_datetime {
  color: var(--muted, #748095);
  font-size: 12px;
}
#bo_list .td_subject {
  width: auto;
}
#bo_list .bo_tit {
  color: var(--ink, #142033);
  font-size: 13px;
  line-height: 1.5;
}
#bo_list .bo_tit a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#bo_list .bo_tit a:hover {
  color: var(--danger, #e7354f);
}
.bo_sch_wrap {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
.bo_sch_wrap .bo_sch {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 32px), 420px);
  max-height: none;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(229,232,237,.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20,43,82,.2);
  transform: translate(-50%, -50%);
}
.bo_sch_wrap .bo_sch h3 {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(229,232,237,.8);
  color: var(--primary, #142b52);
  font-size: 16px;
}
.bo_sch_wrap .bo_sch form {
  padding: 20px 22px 24px;
}
.bo_sch_wrap .bo_sch select,
.bo_sch_wrap .bo_sch .sch_bar {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 1px solid rgba(200,205,212,.8);
  border-radius: 12px;
  box-shadow: none;
}
.bo_sch_wrap .bo_sch .sch_bar {
  display: flex;
  margin-top: 12px;
  overflow: hidden;
}
.bo_sch_wrap .bo_sch .sch_input {
  float: none;
  flex: 1;
  width: auto;
  height: 42px;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
.bo_sch_wrap .bo_sch .sch_btn {
  float: none;
  width: 48px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--danger, #e7354f);
  color: #fff;
}
.bo_sch_wrap .bo_sch .bo_sch_cls {
  top: 9px;
  right: 9px;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  border-radius: 10px;
  background: #f5f6f8;
}
.bo_sch_wrap .bo_sch_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(20,32,51,.34);
  backdrop-filter: blur(2px);
}

.ev-content-fields {
  max-width: 1000px;
  margin: 24px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(229,232,237,0.8);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(20,43,82,0.06), 0 2px 5px rgba(20,43,82,0.04);
}
.ev-content-fields .ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ev-content-fields label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}
.ev-content-fields select, .ev-content-fields input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 205, 212, 0.8);
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(20,43,82,0.02);
}
.ev-content-fields select:focus, .ev-content-fields input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,43,82,0.1), inset 0 2px 4px rgba(20,43,82,0.02);
}
.ev-content-fields small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}

#bo_v {
  width: calc(100% - 40px) !important;
  max-width: 1200px;
  margin: 32px auto 48px;
  background: #ffffff;
  border: 1px solid rgba(229,232,237,0.8);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(20,43,82,0.06), 0 2px 5px rgba(20,43,82,0.04);
  overflow: hidden;
}
#bo_v_title {
  margin: 0;
  padding: 32px 40px 16px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  border: 0;
}
#bo_v_title .bo_v_tit {
  display: block;
  font-size: inherit;
}
.bo-table-report #bo_v_title {
  font-size: 22px;
  line-height: 1.45;
}
#bo_v_info {
  margin: 0;
  padding: 0 40px 24px;
  border-bottom: 1px solid rgba(229,232,237,0.8);
  color: var(--muted);
  font-size: 14px;
}
#bo_v_info .profile_img img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#bo_v_top {
  padding: 16px 40px 0;
}
#bo_v_atc {
  min-height: 200px;
  padding: 40px;
}
#bo_v_atc_title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#bo_v_con {
  min-height: 200px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
#bo_v .bo_v_nb {
  margin: 0;
  border-top: 1px solid rgba(229,232,237,0.8);
}
#bo_v .bo_v_nb li {
  padding: 16px 40px;
  border-bottom: 1px solid rgba(229,232,237,0.8);
  font-size: 14px;
  transition: background 0.2s ease;
}
#bo_v .bo_v_nb li:hover {
  background: #fcfcfd;
}
#bo_v .cmt_btn {
  width: 100%;
  padding: 20px 40px;
  border-top: 1px solid rgba(229,232,237,0.8);
  background: #f8f9fb;
  text-align: left;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}
#bo_v #bo_vc {
  padding: 0 40px;
}
#bo_v #bo_vc_empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
#bo_v #bo_vc_w {
  margin: 0;
  padding: 32px 40px;
  border-top: 1px solid rgba(229,232,237,0.8);
  background: #f8f9fb;
}
#bo_v #bo_vc_w textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(229,232,237,0.8);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(20,43,82,0.02);
}
#bo_v #bo_vc_w textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20,43,82,0.1), inset 0 2px 4px rgba(20,43,82,0.02);
  outline: none;
}
#bo_v .bo_vc_w_info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
#bo_v .bo_vc_w_info .frm_input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(200, 205, 212, 0.8);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}
#bo_v .bo_vc_w_info .frm_input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,43,82,0.1);
}

@media (max-width: 640px) {
  #bo_list {
    width: calc(100% - 20px) !important;
    margin: 16px auto 76px;
  }
  #bo_list .tbl_wrap {
    overflow: hidden;
    border-radius: 15px;
  }
  #bo_list table,
  #bo_list tbody {
    display: block;
    width: 100%;
  }
  #bo_list thead {
    display: none;
  }
  #bo_list tbody tr {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 15px 14px;
    border-bottom: 1px solid rgba(229,232,237,.75);
  }
  #bo_list tbody tr:last-child {
    border-bottom: 0;
  }
  #bo_list tbody td,
  #bo_list tbody .even td {
    display: block;
    width: auto;
    height: auto;
    padding: 0 !important;
    border: 0;
    background: transparent;
  }
  #bo_list tbody .td_num2 {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: center;
  }
  #bo_list tbody .td_subject {
    grid-column: 2 / -1;
    min-width: 0;
  }
  #bo_list tbody .td_name {
    grid-column: 2;
    grid-row: 2;
    color: var(--muted, #748095);
    font-size: 13px;
  }
  #bo_list tbody .td_num {
    display: none !important;
  }
  #bo_list tbody .td_datetime {
    display: block !important;
    grid-column: 3;
    grid-row: 2;
    color: var(--muted, #748095);
    font-size: 13px;
    white-space: nowrap;
  }
  #bo_list .bo_tit a {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .ev-content-fields .ev-grid {
    grid-template-columns: 1fr;
  }
  #bo_v {
    width: calc(100% - 32px) !important;
    margin: 20px auto 64px;
  }
  #bo_v_title {
    padding: 24px 20px 16px;
    font-size: 22px;
  }
  .bo-table-report #bo_v_title {
    font-size: 19px;
  }
  #bo_v_info {
    padding: 0 20px 20px;
  }
  #bo_v_top {
    padding: 16px 20px 0;
  }
  #bo_v_atc {
    padding: 32px 20px;
  }
  #bo_v_con {
    font-size: 15px;
  }
  #bo_v .bo_v_nb li {
    padding: 16px 20px;
  }
  #bo_v .cmt_btn {
    padding: 20px;
  }
  #bo_v #bo_vc {
    padding: 0 20px;
  }
  #bo_v #bo_vc_w {
    padding: 24px 20px;
  }
  #bo_v .bo_vc_w_info {
    display: grid;
    grid-template-columns: 1fr;
  }
  #bo_v .bo_vc_w_info .frm_input {
    width: 100%;
  }
}

/* ====== Responsive Improvements for ev_content (Report/Guide) ====== */
@media (max-width: 768px) {
  #bo_list {
    width: calc(100% - 24px) !important;
    margin: 20px auto 52px;
  }
  #bo_list #bo_btn_top {
    min-height: 0;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }
  #bo_list #bo_list_total { width: 100%; }
  #bo_list .btn_bo_user {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px;
  }
  #bo_list .btn_bo_user li,
  #bo_list .btn_bo_user .btn {
    width: 100%;
  }
  #bo_list .btn_bo_user .btn_bo_sch,
  #bo_list .btn_bo_user .report-write-btn {
    min-width: 0;
  }
  #bo_v_title { padding: 20px 16px 12px; font-size: 20px; line-height: 1.35; letter-spacing: -0.02em; word-break: keep-all; }
  .bo-table-report #bo_v_title { font-size: 18px; }
  #bo_v_info { padding: 0 16px 16px; display: flex; flex-direction: column; }
  #bo_v_info .profile_info { display: flex; align-items: center; width: 100%; margin: 10px 0 0; }
  #bo_v_info .profile_info .pf_img { flex-shrink: 0; margin-right: 12px; }
  #bo_v_info .profile_info .pf_img img { width: 40px; height: 40px; border: 1px solid rgba(229,232,237,0.8); }
  #bo_v_info .profile_info_ct { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1; min-width: 0; }
  #bo_v_info .profile_info_ct br { display: none; }
  #bo_v_info strong { margin: 0; font-size: 12px; font-weight: 600; color: #4b5563; word-break: keep-all; white-space: nowrap; }
  #bo_v_info .profile_info_ct > strong:first-child { color: var(--primary, #142b52); font-weight: 700; font-size: 13px; width: 100%; margin-bottom: 2px; }

  #bo_v_top { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 10px; }
  #bo_v_top .btn_bo_user { width: 100%; justify-content: space-between; gap: 8px; margin: 0; }
  #bo_v_top .btn_bo_user li { flex: 1; margin: 0; }
  #bo_v_top .btn_bo_user li .btn { width: 100%; min-width: 0; font-size: 13px; font-weight: 700; height: 38px; border-radius: 8px; }

  #bo_v_atc { padding: 20px 16px; min-height: auto; }
  #bo_v_con { font-size: 14px; min-height: auto; }

  #bo_v .bo_v_nb li { padding: 14px 16px; font-size: 13px; }
  #bo_v .cmt_btn { padding: 16px; font-size: 15px; }
  #bo_v #bo_vc { padding: 0 16px; }
  #bo_v #bo_vc_w { padding: 20px 16px; }

  .ev-content-fields { margin: 16px; padding: 16px; }
  .ev-content-fields .ev-grid { grid-template-columns: 1fr; gap: 12px; }
}
