@charset "utf-8";

/* ===== Notice Board List ===== */
#bo_list { position: relative; padding:50px 0px}

/* Header: breadcrumb + title */
.all_chk  {width: 20px;}

.ntc-header { margin-bottom: 28px; }
.ntc-breadcrumb { font-size: 13px; font-weight: 300; color: #555; margin: 0 0 6px; }
.ntc-title { font-size: 30px; font-weight: 600; color: #000; margin: 0; line-height: 1.3; }
.bo_list nav {    padding: 25px 0 25px;}
/* Category nav pills */
.ntc-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
    padding-top: 16px;
    border-top: 1px solid #ccc;
}
#bo_cate { flex: 1 1 auto; min-width: 0; border-top:0}
#bo_cate h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_cate ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
#bo_cate li { display: inline-block; }
#bo_cate a {
    display: block; padding: 7px 18px; border-radius: 10px;
    border: 1px solid #03240F; color: #03240F;
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: background .2s, color .2s;
}
#bo_cate a:hover,
#bo_cate a:focus,
#bo_cate a:active { background: #03240F; color: #fff; text-decoration: none; }
#bo_cate #bo_cate_on {
    background: #03240F; color: #fff; font-weight: 600;
    border-color: #03240F; box-shadow: none;
}

/* Toolbar: total + filter/search */
#bo_btn_top {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 0 12px; flex-wrap: wrap; gap: 10px;
}
#bo_list_total { font-size: 13px; font-weight: 400; color: #555; white-space: nowrap; }
#bo_list_total span { font-weight: 500; color: #222; }

.ntc-toolbar-right { display: flex; align-items: center; gap: 8px; }

/* Admin dropdown */
.ntc-admin-wrap { position: relative; }
.ntc-admin-wrap .btn_more_opt {
    width: 32px; height: 32px; border: 1px solid #d0d0d0; border-radius: 6px;
    background: #fff; cursor: pointer; font-size: 14px; color: #555;
    display: flex; align-items: center; justify-content: center;
}
.more_opt {
    display: none; position: absolute; top: 38px; right: 0;
    background: #fff; border: 1px solid #b8bfc4; z-index: 999;
    border-radius: 6px; min-width: 110px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.more_opt:before {
    content: ""; position: absolute; top: -8px; right: 13px;
    width: 0; height: 0; border-style: solid;
    border-width: 0 6px 8px 6px; border-color: transparent transparent #b8bfc4 transparent;
}
.more_opt:after {
    content: ""; position: absolute; top: -6px; right: 13px;
    width: 0; height: 0; border-style: solid;
    border-width: 0 6px 8px 6px; border-color: transparent transparent #fff transparent;
}
.more_opt li { border-bottom: 1px solid #f1f1f1; padding: 10px 14px; list-style: none; color: #6b757c; text-align: left; }
.more_opt li:last-child { border-bottom: 0; }
.more_opt li button,
.more_opt li a { width: 100%; border: 0; background: #fff; color: #6b757c; cursor: pointer; font-size: 13px; text-align: left; }
.more_opt li:hover button,
.more_opt li:hover a { color: #000; }
.more_opt li i { float: right; line-height: 20px; }

/* Inline search — washing board style */
.ntc-search-inline { display: flex; align-items: center; gap: 8px; }
.ntc-filter-select {
    border: 1px solid #919191; background: white; border-radius: 50px;
    padding: 8px 16px; font-size: 13px; color: #8d8d8d; cursor: pointer;
    outline: none; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238d8d8d'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 32px;
}
.ntc-search-box {
    position: relative; width: 250px;
}
.ntc-search-input {
    width: 100%; border: 1px solid #919191; border-radius: 50px;
    padding: 8px 40px 8px 16px; font-size: 13px; color: #222;
    outline: none; box-sizing: border-box;
}
.ntc-search-input::placeholder { color: #aaa; }
.ntc-search-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 25px; height: 25px; border-radius: 50%;
    background: #9f9f9f; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.ntc-search-btn i { color: #fff; font-size: 11px; }

/* Table */
.tbl_head01 { border-top: none; }
.tbl_head01 table { width: 100%; border-collapse: collapse; table-layout: fixed; }

/* thead */
.tbl_head01 thead th {
    background: #03240F; color: #fff;
    font-size: 14px; font-weight: 500;
    padding: 12px 8px; text-align: center;
    border: none;
    text-align: center;
}
.tbl_head01 thead th a { color: #fff; text-decoration: none; }
.tbl_head01 thead th:first-child { border-radius: 6px 0 0 6px; }
.tbl_head01 thead th:last-child { border-radius: 0 6px 6px 0; }

/* th widths */
.th_no { width: 60px; }
.th_cate { width: 180px; }
.th_subject {}
.th_name { width: 100px; }
.th_hit { width: 70px; }
.th_good { width: 60px; }
.th_nogood { width: 60px; }
.th_date { width: 90px; }

/* tbody */
.tbl_head01 tbody tr { border-bottom: 1px solid #eee; transition: background .15s; }
.tbl_head01 tbody tr:hover { background: #f9fafb; }
.tbl_head01 tbody td { padding: 13px 8px; text-align: center; font-size: 13px; font-weight: 300; color: #555; vertical-align: middle; }

/* Checkbox */
.td_chk { width: 36px; text-align: center; }
.selec_chk { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; outline: 0; z-index: -1; overflow: hidden; }
.chk_box { position: relative; }
.chk_box input[type="checkbox"] + label { position: relative; color: #676e70; cursor: pointer; }
.chk_box input[type="checkbox"] + label span {
    display: inline-block; width: 16px; height: 16px;
    background: #fff; border: 1px solid #d0d4df; border-radius: 3px; vertical-align: middle;
}
.chk_box input[type="checkbox"]:checked + label span {
    background: #03240F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat 50% 50%;
    border-color: #03240F;
}

/* Num column */
.td_num2 { font-size: 13px; font-weight: 400; color: #999; }

/* Notice row */
.bo_notice td { background: #f6faf7 !important; }
.bo_notice .td_subject .bo_tit a { font-size: 16px !important; font-weight: 700 !important; color: #000 !important; }
.notice_icon { display: inline-flex; align-items: center; justify-content: center; color: #03240F; font-size: 15px; }
#bo_list.doctor-free-title-badges .bo_notice .td_subject .bo_tit a { color: #df2f3f !important; }
#bo_list.information-notice-board .bo_notice .td_subject .bo_tit a { color: #df2f3f !important; }
#bo_list.information-notice-board tr:not(.bo_notice) .td_subject .bo_tit a { color: #000 !important; }
#bo_list.information-notice-board .information-notice-badge {
    display: inline-block; margin-right: 6px; padding: 1px 5px;
    border: 1px solid #df2f3f; border-radius: 4px;
    color: #df2f3f; background: #fff; font-size: 11px;
    font-weight: 700; line-height: 1.5; vertical-align: 1px;
}
#bo_list.doctor-free-title-badges .new_icon { color: #df2f3f; background: transparent; font-weight: 800; }

/* Category in rows */
.td_cate { font-size: 13px; font-weight: 600; color: #03240F; }
.bo_cate_link {
    display: inline-block; padding: 2px 10px; border-radius: 4px;
    background: transparent; color: #03240F;
    font-size: 13px; font-weight: 600; text-decoration: none;
}
.bo_cate_link:hover { text-decoration: none; }

/* Subject / title */
.td_subject { text-align: left !important; }
.bo_tit { display: block; }
.bo_tit a { color: #000; font-size: 17px; font-weight: 500; text-decoration: none; }
.bo_tit a:hover { text-decoration: underline; }
.bo_current { color: #e8180c; font-size: 12px; }

/* Icons */
.new_icon {
    display: inline-block; width: 22px; line-height: 18px;
    font-size: 10px; color: #FFF; background: #03240F;
    text-align: center; border-radius: 3px; margin-left: 4px;
    font-weight: 400; vertical-align: middle; border-radius: 5px;
    font-family: "Spoqa Han Sans Neo";
}
.cnt_cmt {
    display: inline-block; background: #e9f5ec; color: #03240F;
    font-size: 11px; height: 16px; line-height: 16px; padding: 0 5px;
    border-radius: 3px; vertical-align: middle; margin-left: 4px;
}
#bo_list .bo_tit .fa-lock {
    display: inline-block; line-height: 14px; width: 16px;
    font-size: 12px; color: #4f818c; background: #cbe3e8;
    text-align: center; border-radius: 2px; border: 1px solid #cbe3e8; vertical-align: middle;
}
#bo_list .bo_tit .fa-heart { color: #ff0000; }
#bo_list .bo_tit .fa-caret-right { color: #bbb; }
#bo_list .bo_tit .fa-download {
    display: inline-block; width: 16px; line-height: 16px;
    font-size: 10px; color: #daae37; background: #ffefb9;
    text-align: center; border-radius: 2px; margin-left: 5px; vertical-align: middle;
}
#bo_list .bo_tit .fa-link {
    display: inline-block; width: 16px; line-height: 16px;
    font-size: 10px; color: #b451fd; background: #edd3fd;
    text-align: center; border-radius: 2px; margin-left: 5px; vertical-align: middle;
}

/* Name column */
.td_name { font-size: 13px; font-weight: 400; color: #555; text-align: left; }
#bo_list .profile_img img { border-radius: 50%; }

/* Date column */
.td_datetime { font-size: 13px; font-weight: 300; color: #999; }

/* Hit column */
.td_num { font-size: 13px; font-weight: 300; color: #555; }

/* Empty */
.empty_table { padding: 60px 0 !important; text-align: center; color: #999; font-size: 14px; font-weight: 300; }

/* Pagination — inherit from gnuboard defaults, just override colors */
.pg_wrap { text-align: center; margin: 24px 0; }
.pg_wrap a,
.pg_wrap .pg_current {
    display: inline-block; min-width: 32px; height: 32px; line-height: 32px;
    padding: 0 6px; margin: 0 2px; border-radius: 6px;
    font-size: 13px; text-decoration: none; color: #555;
}
.pg_wrap a:hover { background: #f0f0f0; color: #000; }
.pg_wrap .pg_current { background: #03240F; color: #fff; font-weight: 600; }
.pg_wrap .pg_start,
.pg_wrap .pg_end,
.pg_wrap .pg_prev,
.pg_wrap .pg_next { color: #888; }

/* Write button */
.bo_fx { margin: 16px 0; text-align: right; }
.bo_fx:after { display: block; visibility: hidden; clear: both; content: ""; }
.ntc-write-btn {
    display: inline-flex; align-items: center; gap: 6px;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 22px; border-radius: 999px;
    border: 1px solid #D7A410;
    background: #F4C430; color: #063D27;
    font-size: 14px; font-weight: 800; text-decoration: none;
    box-shadow: 0 7px 16px rgba(215, 164, 16, .18);
    transition: background .2s, border-color .2s, transform .15s;
}
.ntc-write-btn:hover,
.ntc-write-btn:focus { background: #E2AD14; border-color: #C9950F; color: #063D27; text-decoration: none; }
.ntc-write-btn:active { transform: translateY(1px); }
.ntc-write-btn i { font-size: 13px; }

/* ===== Common Buttons ===== */
.ntc-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 500; text-decoration: none;
    cursor: pointer; border: none; transition: all .2s;
}
.ntc-btn-primary { background: #03240F; color: #fff; }
.ntc-btn-primary:hover { background: #04351a; color: #fff; text-decoration: none; }
.ntc-btn-outline { background: #fff; color: #03240F; border: 1px solid #03240F; }
.ntc-btn-outline:hover { background: #03240F; color: #fff; text-decoration: none; }
.ntc-btn-danger { color: #e53935; border-color: #e53935; }
.ntc-btn-danger:hover { background: #e53935; color: #fff; }

/* ===== Board View ===== */
#bo_v { padding: 50px 0px; background: transparent box-sizing: border-box; }
#bo_v  header{background: transparent;}
/* View card wrapper */
.pnv-card { background: #fff; border-radius: 10px; padding: 30px; box-sizing: border-box; }

/* View title */
#bo_v_title { margin-bottom: 16px; }
#bo_v_title .bo_v_cate {
    display: inline-block; padding: 4px 12px; border-radius: 5px;
    background: #03240F; color: #FFF; font-size: 12px; font-weight: 600;
    margin-bottom: 8px;
}
#bo_v_title .bo_v_tit {
    display: block; font-size: 24px; font-weight: 600; color: #000;
    letter-spacing: -0.48px;
    margin: 0; word-break: break-all; line-height: 1.4;
}

/* View info */
#bo_v_info {
    padding: 12px 0; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
#bo_v_info h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.pnv-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; flex-wrap: wrap; }
.pnv-meta-name { font-weight: 600; color: #333; }
.pnv-meta-sep { color: #999; }
.pnv-meta-sep::before { content: '/'; margin-right: 8px; color: #ddd; }
.pnv-meta-name + .pnv-meta-sep::before { content: ''; margin: 0; }

/* View action buttons */
.pnv-action-btns { display: flex; align-items: center; gap: 4px; }
.pnv-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px; border: 1px solid #F2F2F2;
    background: #F2F2F2; cursor: pointer; transition: background .15s, border-color .15s;
}
.pnv-icon-btn:hover { background: #fff; border-color: #8D8D8D; }
.pnv-more-wrap { position: relative; }
.pnv-more-menu {
    display: none; position: absolute; right: 0; top: 40px; z-index: 10;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1); min-width: 100px; padding: 4px 0;
    list-style: none; margin: 0;
}
.pnv-more-menu li a {
    display: block; padding: 8px 16px; font-size: 13px; color: #333;
    text-decoration: none; white-space: nowrap;
}
.pnv-more-menu li a:hover { background: #f5f5f5; }

/* View content */
#bo_v_atc { min-height: 200px; }
#bo_v_atc_title { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_share { padding: 12px 0; }
#bo_v_share:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_share .btn { padding: 6px 14px; color: #555; font-size: 13px; border: 1px solid #d5d5d5; border-radius: 6px; background: #fff; }
#bo_v_share .btn:hover { background: #f5f5f5; }
#bo_v_img { width: 100%; overflow: hidden; }
#bo_v_img a.view_image { display: block; }
#bo_v_img img { margin-bottom: 20px; max-width: 100%; height: auto; }
#bo_v_con { margin: 20px 0 30px; width: 100%; line-height: 1.8em; min-height: 200px; word-break: break-all; overflow: hidden; font-size: 15px; color: #333; }
#bo_v_con a { color: #03240F; text-decoration: underline; }
#bo_v_con img { max-width: 100%; height: auto; }
.doctor-thread-mobile-content { display: none; }
.doctor-thread-mobile-content-text,
.doctor-thread-mobile-content-heading,
.doctor-thread-mobile-content-quote,
.doctor-thread-mobile-content-list,
.doctor-thread-mobile-content-callout,
.doctor-thread-mobile-content-image,
.doctor-thread-mobile-content-table {
    box-sizing: border-box;
}

/* Good / Nogood */
#bo_v_act { margin: 20px 0 30px; text-align: center; }
#bo_v_act .bo_v_act_gng { position: relative; display: inline-block; margin: 0 4px; }
#bo_v_act a { vertical-align: middle; color: #4a5158; text-decoration: none; }
#bo_v_act a:hover { color: #03240F; }
#bo_v_act i { font-size: 1.3em; margin-right: 4px; }
#bo_v_act .bo_v_good,
#bo_v_act .bo_v_nogood {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid #ddd; min-width: 80px; padding: 10px 16px;
    border-radius: 30px; font-size: 14px; transition: all .2s;
}
#bo_v_act .bo_v_good:hover { border-color: #03240F; color: #03240F; }
#bo_v_act .bo_v_nogood:hover { border-color: #e53935; color: #e53935; }
#bo_v_act_good, #bo_v_act_nogood { display: none; position: absolute; top: 50px; left: 50%; transform: translateX(-50%); z-index: 9; padding: 8px 14px; background: #03240F; color: #fff; border-radius: 6px; font-size: 12px; white-space: nowrap; }

/* File / Link */
#bo_v_file h2, #bo_v_link h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_file ul, #bo_v_link ul { margin: 0; padding: 0; list-style: none; }
#bo_v_file li, #bo_v_link li {
    padding: 14px 16px; margin: 8px 0;
    border: 1px solid #e8e8e8; border-radius: 8px;
    display: flex; align-items: center; gap: 12px;
    transition: border-color .2s;
}
#bo_v_file li:hover, #bo_v_link li:hover { border-color: #03240F; }
#bo_v_file li i, #bo_v_link li i { color: #03240F; font-size: 1.4em; flex-shrink: 0; }
#bo_v_file a, #bo_v_link a { text-decoration: none; color: #000; font-size: 14px; }
#bo_v_file a:hover, #bo_v_link a:hover { color: #03240F; text-decoration: underline; }
.bo_v_file_cnt, .bo_v_link_cnt { color: #999; font-size: 12px; }

/* Prev/Next */
.bo_v_nb { margin: 24px 0; padding: 0; list-style: none; border-top: 1px solid #eee; }
.bo_v_nb li { padding: 14px 0; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 10px; }
.bo_v_nb li:hover { background: #f9fafb; }
.bo_v_nb li i { font-size: 12px; color: #aaa; flex-shrink: 0; }
.bo_v_nb li .nb_tit { font-size: 13px; font-weight: 500; color: #888; min-width: 60px; flex-shrink: 0; }
.bo_v_nb li a { font-size: 14px; color: #333; text-decoration: none; flex: 1; }
.bo_v_nb li a:hover { color: #03240F; }
.bo_v_nb li .nb_date { font-size: 12px; color: #aaa; flex-shrink: 0; }

/* SNS */
#bo_v_sns { padding: 0; list-style: none; display: flex; gap: 6px; }
#bo_v_sns li a { display: block; height: 35px; line-height: 35px; text-align: center; border-radius: 6px; color: #fff; font-size: 13px; padding: 0 14px; }
#bo_v_sns li .sns_f { background: #3b5997; }
#bo_v_sns li .sns_t { background: #09aeee; }

/* ===== Comment ===== */
.cmt_btn {
    width: 100%; text-align: left; border: 0; border-bottom: 2px solid #03240F;
        background: transparent;
     font-weight: bold; margin: 30px 0 0; padding: 0 0 12px; cursor: pointer;
}
.cmt_btn span.total { display: inline-block; margin-right: 5px; font-size: 1em; color: #03240F; }
.cmt_btn b { font-size: 1.1em; color: #000; }
.cmt_btn span.cmt_more { float: right; display: inline-block; width: 15px; height: 10px; margin-top: 5px; }

#bo_vc h2, #bo_vc h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc article { margin: 16px 0; padding: 16px 0; position: relative; border-bottom: 1px solid #f0f0f0; display: flex; gap: 12px; }
#bo_vc article:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc article .profile_img img { border-radius: 50%; }
#bo_vc article .pf_img { flex-shrink: 0; }
#bo_vc article .pf_img img { border-radius: 50%; width: 44px; height: 44px; }
#bo_vc article .cm_wrap { flex: 1; min-width: 0; }
#bo_vc header { position: relative; width: 100%; }
#bo_vc header:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc header .profile_img { display: none; }
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest { font-weight: 600; color: #000; font-size: 14px; }
.bo_vc_hdinfo { color: #999; font-size: 12px; margin-left: 8px; }
#bo_vc .cmt_contents { line-height: 1.7em; padding: 8px 0 12px; font-size: 14px; color: #333; }
#bo_vc p a { text-decoration: underline; color: #03240F; }
#bo_vc p a.s_cmt { color: #ed6479; }
#bo_vc_empty { margin: 0; padding: 60px 0 !important; color: #999; text-align: center; font-size: 14px; }
#bo_vc .bo_vl_opt { position: absolute; top: 0; right: 0; }

.bo_vc_act {
    display: none; position: absolute; right: 0; top: 36px;
    border: 1px solid #e0e0e0; border-radius: 8px;
    margin: 0; list-style: none; background: #fff; z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,.08); min-width: 70px;
}
.bo_vc_act:before, .bo_vc_act:after { display: none; }
.bo_vc_act li { border-bottom: 1px solid #f0f0f0; }
.bo_vc_act li:last-child { border-bottom: 0; }
.bo_vc_act li a { display: block; padding: 10px 16px; font-size: 13px; color: #555; text-decoration: none; }
.bo_vc_act li a:hover { color: #03240F; background: #f6faf7; }

/* Comment write */
.bo_vc_w { position: relative; margin: 16px 0; display: block; }
.bo_vc_w:after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.bo_vc_w #char_cnt { display: block; margin: 0 0 5px; font-size: 12px; color: #888; }
.bo_vc_w textarea {
    border: 1px solid #ddd; background: #fff; color: #000;
    border-radius: 8px; padding: 12px 14px; width: 100%; height: 100px;
    font-size: 14px; resize: vertical; box-sizing: border-box;
    transition: border-color .2s;
}
.bo_vc_w textarea:focus { border-color: #03240F; outline: none; }
.bo_vc_w_info { margin: 10px 0; }
.bo_vc_w_info:after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w_info .frm_input {
    border: 1px solid #ddd; border-radius: 8px; padding: 8px 12px;
    font-size: 13px; margin-right: 6px; float: left;
}
.bo_vc_w_info .frm_input:focus { border-color: #03240F; outline: none; }
.bo_vc_w .btn_confirm { clear: both; margin-top: 10px; display: flex; align-items: center; gap: 10px;     justify-content: space-between;}
.bo_vc_w .btn_submit {
    height: 40px; padding: 0 24px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    background: #03240F; color: #fff; border: none; cursor: pointer;
    transition: background .2s;
}
.bo_vc_w .btn_submit:hover { background: #04351a; }
.secret_cm { display: inline-flex; align-items: center;     margin-left: 22px;}
.bo_vc_w .chk_box input[type="checkbox"] + label span { position: absolute; top: 2px; left: -22px; width: 15px; height: 15px; margin: 0; }

/* ===== Write Form ===== */
#bo_w { padding: 50px 0 20px; }

/* Form card */
.ntc-form-card {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 50px 50px; margin-bottom: 20px;
}
.ntc-form-group { margin-bottom: 18px; }
.ntc-form-group:last-child { margin-bottom: 0; }
.ntc-form-group > label {
    display: block; font-size: 14px; font-weight: 600; color: #000;
    margin-bottom: 6px;
}
.ntc-form-group > label em { color: #e53935; font-style: normal; }

/* Form row half */
.ntc-form-row-half { display: flex; flex-wrap: wrap; gap: 12px; }
.ntc-form-row-half .ntc-form-group { flex: 1; min-width: 200px; }

/* Inputs */
.ntc-input {
    width: 100%; border: 1px solid #ddd; border-radius: 8px;
    padding: 10px 14px; font-size: 14px; color: #222;
    box-sizing: border-box; transition: border-color .2s;
}
.ntc-input:focus { border-color: #03240F; outline: none; }
.ntc-input::placeholder { color: #aaa; }
.ntc-input-sm { margin-top: 6px; padding: 7px 12px; font-size: 13px; }

/* Select */
.ntc-select {
    width: 100%; border: 1px solid #ddd; border-radius: 8px;
    padding: 10px 14px; font-size: 14px; color: #222;
    background: #fff; box-sizing: border-box;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.ntc-select:focus { border-color: #03240F; outline: none; }

/* Textarea */
.ntc-textarea {
    width: 100%; border: 1px solid #ddd; border-radius: 8px;
    padding: 12px 14px; font-size: 14px; color: #222;
    min-height: 200px; resize: vertical; box-sizing: border-box;
}
.ntc-textarea:focus { border-color: #03240F; outline: none; }

/* Input with icon */
.ntc-input-icon { position: relative; }
.ntc-input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 14px; }
.ntc-input-has-icon { padding-left: 38px; }

/* Option list */
.ntc-option-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.ntc-option-list .chk_box { display: inline-flex; align-items: center; }
.ntc-option-list .chk_box label { padding-left: 22px; font-size: 14px; cursor: pointer; }
.ntc-option-list .chk_box label span { position: absolute; top: 2px; left: 0; }

/* File upload */
.ntc-file-item { margin-bottom: 10px; }
.ntc-file-label {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border: 1px dashed #ccc; border-radius: 8px;
    cursor: pointer; transition: border-color .2s, background .2s;
}
.ntc-file-label:hover { border-color: #03240F; background: #f6faf7; }
.ntc-file-label i { color: #03240F; font-size: 16px; }
.ntc-file-text { font-size: 13px; color: #888; }
.ntc-file-text.has_file { color: #000; font-weight: 500; }
.ntc-file-input { position: absolute; width: 0; height: 0; opacity: 0; overflow: hidden; }
.ntc-file-del { display: block; margin-top: 4px; font-size: 12px; color: #e53935; }

.doctor-notice-thread-write .doctor-thread-write-mobile-only {
    display: none !important;
}

.doctor-notice-write-desktop-only {
    display: none;
}

.doctor-thread-title-dialog[hidden] { display: none !important; }
.doctor-thread-title-dialog {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px 12px calc(16px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,.32);
}
.doctor-thread-title-dialog__panel {
    width: min(100%, 420px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(5,24,13,.2);
    padding: 18px;
}
.doctor-thread-title-dialog__panel h2 {
    margin: 0 0 12px;
    color: #111816;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}
.doctor-thread-title-dialog__panel input {
    width: 100%;
    height: 46px;
    border: 1px solid #dce3de;
    border-radius: 14px;
    background: #f4f5f4;
    color: #111816;
    font-size: 15px;
    padding: 0 14px;
    box-sizing: border-box;
}
.doctor-thread-title-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}
.doctor-thread-title-dialog__actions button {
    min-width: 68px;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: #eef2ef;
    color: #17241d;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.doctor-thread-title-dialog__actions button:last-child {
    background: #03240F;
    color: #fff;
}

/* Autosave */
#autosave_wrapper { position: relative; }
.ntc-btn-autosave {
    position: absolute; top: 6px; right: 6px;
    padding: 4px 12px; font-size: 12px; color: #888;
    background: #f5f5f5; border: 1px solid #ddd; border-radius: 6px;
    cursor: pointer;
}
.ntc-btn-autosave:hover { background: #eee; }
#autosave_pop {
    display: none; z-index: 10; position: absolute !important;
    top: 42px; right: 0; width: 350px; max-height: 200px;
    border: 1px solid #ddd; background: #fff; border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
#autosave_pop strong { display: block; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #eee; }
#autosave_pop ul { padding: 8px; border-top: none; list-style: none; overflow-y: auto; max-height: 130px; }
#autosave_pop li { padding: 8px 10px; border-radius: 6px; margin-bottom: 2px; }
#autosave_pop li:hover { background: #f6faf7; }
.autosave_close { width: 100%; height: 36px; background: none; border: none; border-top: 1px solid #eee; color: #888; font-size: 13px; cursor: pointer; }
.autosave_close:hover { color: #000; }

/* Form footer */
.ntc-form-footer {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 16px 0;
}

/* Character count */
#char_count_desc { display: block; margin: 0 0 5px; font-size: 12px; color: #888; }
#char_count_wrap { margin: 5px 0 0; text-align: right; font-size: 12px; color: #888; }
#char_count { font-weight: bold; color: #03240F; }

/* Editor wr_content wrapper */
.wr_content { margin-top: 6px; }

/* YouTube responsive embed */
.yt-responsive {
    position: relative; padding-bottom: 28.125%; height: 0;
    overflow: hidden; margin: 20px auto; border-radius: 12px;
    width: 50%;
}
.yt-responsive iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border-radius: 12px;
}

/* 모바일 메타 (PC 숨김) */
.ntc-m-meta { display: none; }

@media (min-width: 901px) {
    #bo_w.doctor-notice-thread-write {
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        padding: 34px 24px 72px;
        box-sizing: border-box;
        color: #111816;
        font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    }

    .doctor-notice-thread-write .ntc-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 18px;
    }

    .doctor-notice-thread-write .ntc-breadcrumb {
        order: 2;
        margin: 0 0 4px;
        color: #65706b;
        font-size: 13px;
        line-height: 1.5;
    }

    .doctor-notice-thread-write .ntc-title {
        order: 1;
        margin: 0;
        color: #111816;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .doctor-notice-thread-write form {
        width: 100% !important;
    }

    .doctor-notice-thread-write .ntc-form-card {
        overflow: hidden;
        margin: 0;
        padding: 0;
        border: 1px solid #dde4e0;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 28px rgba(17, 24, 22, .06);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro {
        border-color: #dce5df;
        background: #fbfcfb;
        box-shadow: 0 8px 22px rgba(17, 24, 22, .07);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 22px;
        padding: 18px 22px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section__head h2 {
        color: #1c2d24;
        font-size: 14px;
    }

    .doctor-notice-write-desktop-only {
        display: block;
    }

    .doctor-notice-write-desktop-section {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 30px;
        padding: 26px 30px;
        border-bottom: 1px solid #e7ece9;
        background: #fff;
    }

    .doctor-notice-write-desktop-section:last-of-type {
        border-bottom: 0;
    }

    .doctor-notice-write-desktop-section__head h2 {
        margin: 2px 0 0;
        color: #24312b;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.45;
        letter-spacing: 0;
    }

    .doctor-notice-write-desktop-section__body {
        min-width: 0;
    }

    .doctor-notice-write-desktop-section__body > .ntc-form-group:last-child {
        margin-bottom: 0;
    }

    .doctor-notice-thread-write .ntc-form-group {
        margin-bottom: 20px;
    }

    .doctor-notice-thread-write .ntc-form-group > label {
        margin-bottom: 8px;
        color: #24312b;
        font-size: 13px;
        font-weight: 700;
    }

    .doctor-notice-thread-write .ntc-input,
    .doctor-notice-thread-write .ntc-select {
        min-height: 44px;
        border-color: #d7dfda;
        border-radius: 6px;
        background-color: #fff;
        color: #111816;
        font-size: 14px;
    }

    .doctor-notice-thread-write .ntc-input::placeholder {
        color: #929c97;
    }

    .doctor-notice-thread-write .ntc-input:focus,
    .doctor-notice-thread-write .ntc-select:focus {
        border-color: #0b6b43;
        box-shadow: 0 0 0 3px rgba(11, 107, 67, .12);
    }

    .doctor-notice-thread-write .ntc-btn-autosave {
        top: 7px;
        right: 7px;
        min-height: 30px;
        border-color: #dce3df;
        background: #f6f8f7;
        color: #65706b;
    }

    .doctor-notice-write-desktop-section--content {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .doctor-notice-write-desktop-section--content .ntc-form-group--content {
        margin: 0;
    }

    .doctor-notice-write-desktop-section--content .wr_content {
        overflow: hidden;
        margin: 0;
        border: 1px solid #d7dfda;
        border-radius: 6px;
        background: #fff;
    }

    .doctor-notice-write-desktop-section--content .wr_content > iframe {
        display: block;
        width: 100% !important;
        min-height: 420px;
        border: 0 !important;
    }

    .doctor-notice-write-desktop-section--content #char_count_desc {
        margin: 10px 12px 0;
    }

    .doctor-notice-write-desktop-section--content #char_count_wrap {
        margin: 6px 12px 10px;
    }

    .doctor-notice-write-desktop-section--supplementary .doctor-notice-write-desktop-section__body {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .doctor-notice-write-desktop-section--supplementary .ntc-form-group {
        margin: 0;
    }

    .doctor-writer-link-preview {
        grid-column: 1 / -1;
        margin-top: 9px;
    }

    .doctor-writer-link-preview[hidden] {
        display: none !important;
    }

    .doctor-writer-link-preview__card {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 86px;
        overflow: hidden;
        border: 1px solid #dfe6e2;
        border-radius: 8px;
        background: #fff;
        color: #17241d;
        text-decoration: none;
        transition: border-color .18s ease, box-shadow .18s ease;
    }

    .doctor-writer-link-preview__card:hover,
    .doctor-writer-link-preview__card:focus {
        border-color: #0b6b43;
        box-shadow: 0 8px 18px rgba(17, 24, 22, .08);
        color: #17241d;
        text-decoration: none;
    }

    .doctor-writer-link-preview__media {
        display: block;
        overflow: hidden;
        background: #eef3f0;
    }

    .doctor-writer-link-preview__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .doctor-writer-link-preview__body {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 12px 14px;
    }

    .doctor-writer-link-preview__domain,
    .doctor-writer-link-preview__description,
    .doctor-writer-link-preview__loading {
        color: #748078;
        font-size: 12px;
        line-height: 1.4;
    }

    .doctor-writer-link-preview__title {
        overflow: hidden;
        color: #15231b;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .doctor-writer-link-preview__description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .doctor-writer-link-preview__loading {
        display: flex;
        align-items: center;
        min-height: 44px;
        border: 1px dashed #dfe6e2;
        border-radius: 8px;
        padding: 0 14px;
        background: #f8faf8;
    }

    .doctor-notice-write-desktop-section--attachments .ntc-form-group--file {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
    }

    .doctor-notice-write-desktop-section--attachments .ntc-form-group--file > label {
        grid-column: 1 / -1;
    }

    .doctor-notice-thread-write .ntc-file-item {
        min-width: 0;
        margin: 0;
    }

    .doctor-notice-thread-write .ntc-file-label {
        min-height: 44px;
        box-sizing: border-box;
        border-color: #cbd6d0;
        border-radius: 6px;
        background: #fafcfb;
    }

    .doctor-notice-thread-write .ntc-file-label:hover {
        border-color: #0b6b43;
        background: #f3f8f5;
    }

    .doctor-notice-write-desktop-actionbar {
        position: sticky;
        bottom: 16px;
        z-index: 20;
        align-items: center;
        margin-top: 14px;
        padding: 12px 14px;
        border: 1px solid #d9e1dc;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(17, 24, 22, .12);
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn {
        min-width: 96px;
        min-height: 44px;
        border-radius: 6px;
        box-sizing: border-box;
        font-size: 14px;
        font-weight: 700;
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn-primary {
        background: #03240f;
        color: #fff;
    }

    .doctor-notice-thread-write :focus-visible {
        outline: 3px solid rgba(11, 107, 67, .26);
        outline-offset: 2px;
    }
}

/* Compact Pro v2: dense desktop authoring surface. */
@media (min-width: 901px) {
    #bo_w.doctor-notice-thread-write {
        --compact-pro-green: #0b6b43;
        --compact-pro-green-dark: #075b37;
        --compact-pro-ink: #15231b;
        --compact-pro-muted: #66736c;
        --compact-pro-line: #dce4df;
        --compact-pro-soft: #f7f9f8;
        padding-top: 36px;
        padding-bottom: 88px;
    }

    .doctor-notice-thread-write .ntc-header {
        margin-bottom: 18px;
    }

    .doctor-notice-thread-write .ntc-title {
        font-size: 30px;
        font-weight: 900;
        line-height: 1.15;
    }

    .doctor-notice-thread-write .ntc-breadcrumb {
        margin-bottom: 3px;
        color: #7a867f;
        font-size: 12px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro {
        overflow: hidden;
        border: 1px solid var(--compact-pro-line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(18, 39, 28, .07);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: 24px;
        padding: 24px 26px;
        border-bottom-color: #e8eeea;
        background: #fff;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section__head {
        padding-top: 2px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section__head h2 {
        display: flex;
        align-items: center;
        margin: 0;
        color: #183d2a;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.45;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section__head h2::before {
        width: 6px;
        height: 6px;
        margin-right: 8px;
        border-radius: 50%;
        background: var(--compact-pro-green);
        content: "";
    }

    .doctor-notice-write-desktop-section--basics .doctor-notice-write-desktop-section__body {
        display: grid;
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        gap: 14px 18px;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group {
        min-width: 0;
        margin: 0;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--subject {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--category {
        grid-column: 1;
        grid-row: 2;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--options {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-row {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-form-group > label {
        margin-bottom: 7px;
        color: #516158;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-input,
    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-select {
        height: 46px;
        min-height: 46px;
        border: 1px solid #d8e0db;
        border-radius: 6px;
        padding-top: 0;
        padding-bottom: 0;
        background-color: #fbfcfb;
        color: var(--compact-pro-ink);
        font-size: 14px;
        transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-input:hover,
    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-select:hover {
        border-color: #b9c8c0;
        background-color: #fff;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-input:focus,
    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-select:focus {
        border-color: var(--compact-pro-green);
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(11, 107, 67, .1);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-option-list {
        min-height: 46px;
        align-items: center;
        box-sizing: border-box;
        border: 1px solid #dfe6e2;
        border-radius: 6px;
        padding: 0 14px;
        background: var(--compact-pro-soft);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-option-list .chk_box label {
        color: #516158;
        font-size: 13px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-btn-autosave {
        top: 8px;
        right: 8px;
        min-height: 30px;
        border: 0;
        border-radius: 5px;
        background: #edf3ef;
        color: #526259;
        font-size: 11px;
        transition: background-color .18s ease, color .18s ease;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-btn-autosave:hover {
        background: #dfeae4;
        color: #244c37;
    }

    .doctor-notice-write-desktop-section--content {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    .doctor-notice-write-desktop-section--content .ntc-form-group--content {
        margin: 0;
    }

    .doctor-notice-write-desktop-section--content .wr_content {
        overflow: hidden;
        margin: 0;
        border: 1px solid #d7e0da;
        border-radius: 7px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(17, 24, 39, .03);
    }

    .doctor-notice-write-desktop-section--content .cke_sc {
        position: relative;
        z-index: 2;
        height: 0;
        margin: 0;
    }

    .doctor-notice-write-desktop-section--content .btn_cke_sc {
        position: absolute;
        top: 9px;
        right: 10px;
        min-height: 26px;
        border: 1px solid #dfe5e1;
        border-radius: 5px;
        padding: 0 8px;
        background: #fff;
        color: #6f7b74;
        font-size: 11px;
    }

    .doctor-notice-write-desktop-section--content .wr_content > iframe {
        display: block;
        width: 100% !important;
        height: 410px !important;
        min-height: 410px;
        border: 0 !important;
        background: #fff;
    }

    .doctor-notice-write-desktop-section--content .wr_content > iframe:not([data-doctor-compact-writer-ready="true"]) {
        opacity: .98;
    }

    .doctor-notice-write-desktop-section--supplementary .doctor-notice-write-desktop-section__body {
        gap: 12px;
    }

    .doctor-notice-write-desktop-section--supplementary .ntc-input-icon > i {
        color: #718078;
    }

    .doctor-writer-link-preview__card {
        border-radius: 8px;
        background: #fbfcfb;
        box-shadow: 0 1px 2px rgba(17, 24, 39, .03);
    }

    .doctor-notice-write-desktop-section--attachments .ntc-form-group--file {
        gap: 12px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-file-label {
        min-height: 48px;
        box-sizing: border-box;
        border: 1px dashed #b8c8bf;
        border-radius: 6px;
        background: var(--compact-pro-soft);
        transition: border-color .18s ease, background-color .18s ease;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-file-label:hover {
        border-color: var(--compact-pro-green);
        background: #f0f7f3;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-file-label i {
        color: var(--compact-pro-green);
    }

    .doctor-notice-write-desktop-actionbar {
        bottom: 14px;
        margin-top: 16px;
        border: 1px solid #d9e2dd;
        border-radius: 8px;
        padding: 11px 12px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 12px 28px rgba(18, 39, 28, .12);
        backdrop-filter: blur(10px);
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn {
        min-width: 96px;
        min-height: 42px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 700;
        transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn-primary {
        min-width: 112px;
        background: var(--compact-pro-green-dark);
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn-primary:hover {
        background: #06492d;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro :focus-visible,
    .doctor-notice-write-desktop-actionbar :focus-visible {
        outline: 3px solid rgba(11, 107, 67, .26);
        outline-offset: 2px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .doctor-notice-write-desktop-section {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 22px;
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Compact Pro v3: approved flat composer reference. */
@media (min-width: 901px) {
    #bo_w.doctor-notice-thread-write {
        max-width: 1180px;
        padding-top: 32px;
        padding-bottom: 72px;
    }

    .doctor-notice-thread-write .ntc-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 18px;
    }

    .doctor-compact-writer-heading {
        min-width: 0;
    }

    .doctor-notice-thread-write .ntc-breadcrumb {
        margin: 0 0 11px;
        color: #64766c;
        font-size: 12px;
        line-height: 1.4;
    }

    .doctor-compact-writer-kicker {
        display: block;
        margin-bottom: 4px;
        color: #087046;
        font-family: Consolas, Monaco, monospace;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.3;
    }

    .doctor-notice-thread-write .ntc-title {
        margin: 0;
        color: #101b15;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.12;
    }

    .doctor-compact-writer-save-state {
        display: block;
        flex: 0 0 auto;
        padding-bottom: 3px;
        color: #667a70;
        font-family: Consolas, Monaco, monospace;
        font-size: 10px;
        line-height: 1.3;
    }

    .doctor-compact-writer-save-state.is-dirty {
        color: #a24f38;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro {
        overflow: hidden;
        border: 1px solid #e5e9f2;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(23, 32, 51, .06);
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section {
        gap: 0;
        border: 0;
        border-bottom: 1px solid #d9e2dd;
        background: #fff;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .doctor-notice-write-desktop-section__head {
        display: none;
    }

    .doctor-notice-write-desktop-section--basics {
        display: block;
        padding: 0 !important;
    }

    .doctor-notice-write-desktop-section--basics .doctor-notice-write-desktop-section__body {
        display: grid;
        grid-template-columns: 190px 132px minmax(0, 1fr);
        gap: 0;
        padding: 0;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group {
        min-width: 0;
        margin: 0;
        padding: 16px;
        box-sizing: border-box;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--category {
        grid-column: 1;
        grid-row: 1;
        border-right: 1px solid #d9e2dd;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--options {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        border-right: 1px solid #d9e2dd;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-group--subject {
        grid-column: 3;
        grid-row: 1;
    }

    .doctor-notice-write-desktop-section--basics .ntc-form-row {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 12px;
        border-top: 1px solid #d9e2dd;
        padding: 16px;
    }

    .doctor-notice-write-desktop-section--basics .doctor-notice-write-desktop-section__body:not(:has(.ntc-form-group--options)) .ntc-form-group--subject {
        grid-column: 2 / 4;
    }

    .doctor-notice-write-desktop-section--basics .doctor-notice-write-desktop-section__body:not(:has(.ntc-form-group--category)):not(:has(.ntc-form-group--options)) .ntc-form-group--subject {
        grid-column: 1 / 4;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-form-group > label {
        margin-bottom: 9px;
        color: #26372e;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-form-group > label em {
        color: #cf3c3c;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-input,
    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-select {
        height: 38px;
        min-height: 38px;
        border: 1px solid #d9deea;
        border-radius: 14px;
        padding-top: 0;
        padding-bottom: 0;
        background-color: #fff;
        font-size: 13px;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-option-list {
        min-height: 38px;
        border: 1px solid #e1e5ed;
        border-radius: 14px;
        padding: 0 12px;
        background: #f8fafc;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro .ntc-btn-autosave {
        top: 4px;
        right: 5px;
        min-height: 30px;
        background: #fff;
    }

    .doctor-notice-write-desktop-section--content {
        display: block;
        padding: 22px !important;
    }

    .doctor-notice-write-desktop-section--content .doctor-notice-write-desktop-section__body,
    .doctor-notice-write-desktop-section--content .ntc-form-group--content {
        display: block;
        width: 100%;
        margin: 0;
    }

    .doctor-notice-write-desktop-section--content .wr_content {
        overflow: hidden;
        margin: 0;
        border: 1px solid #d9deea;
        border-radius: 14px;
        box-shadow: none;
    }

    .doctor-notice-write-desktop-section--content .wr_content > iframe {
        height: 608px !important;
        min-height: 300px;
    }

    .doctor-notice-write-desktop-section--supplementary,
    .doctor-notice-write-desktop-section--attachments {
        display: block;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    .doctor-notice-write-desktop-section--supplementary .doctor-notice-write-desktop-section__body {
        display: block;
        padding: 0;
    }

    .doctor-compact-writer-panel {
        display: none;
        border-top: 1px solid #d9e2dd;
        padding: 16px 22px;
        background: #f8fafc;
    }

    .doctor-compact-writer-panel.is-open {
        display: block;
    }

    .doctor-compact-writer-panel .ntc-form-group {
        margin: 0;
    }

    .doctor-compact-writer-panel + .doctor-compact-writer-panel {
        margin-top: 0;
    }

    .doctor-compact-writer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 74px;
        border-top: 1px solid #d9e2dd;
        padding: 12px 22px;
        box-sizing: border-box;
        background: #fff;
    }

    .doctor-compact-writer-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .doctor-compact-writer-tool {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 40px;
        border: 1px solid #d9deea;
        border-radius: 14px;
        padding: 0 17px;
        background: #fff;
        color: #40544a;
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
    }

    .doctor-compact-writer-tool:hover,
    .doctor-compact-writer-tool[aria-expanded="true"] {
        border-color: #0a6942;
        background: #f2f8f5;
        color: #075b37;
    }

    .doctor-compact-writer-tool i {
        font-size: 14px;
    }

    .doctor-notice-write-desktop-actionbar {
        position: static;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        bottom: auto;
        z-index: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn {
        min-width: 60px;
        min-height: 40px;
        border-radius: 14px;
        padding: 0 18px;
        font-size: 12px;
        font-weight: 700;
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn-primary {
        min-width: 88px;
        background: #075b37;
    }

    .doctor-notice-write-desktop-actionbar .ntc-btn-outline {
        border-color: #cbd7d0;
        background: #fff;
        color: #40544a;
    }

    .doctor-notice-thread-write .doctor-notice-write-compact-pro :focus-visible {
        outline: 3px solid rgba(11, 107, 67, .22);
        outline-offset: 2px;
    }
}

/* Legacy compat */
.bo_sch_wrap { display: none; }
@media (max-width: 1440px) {
#bo_gall { padding: 50px 20px; }
#bo_w {padding:50px 20px}
#bo_v { padding: 50px 20px; }
#bo_list { padding: 50px 20px; }
}

/* ===== Responsive — List ===== */
@media (max-width: 768px) {
    .tbl_head01 thead th.th_subject {border-radius: 0px 6px 6px 0px;}
    /* List */
    #bo_list { padding: 30px 0; }
    .ntc-title { font-size: 22px; }
    .ntc-search-inline { flex-wrap: wrap;         width: 100%;}
    .ntc-search-box { width: 100%; }
    .ntc-filter-select { width: 100%; }
    #bo_btn_top { flex-direction: column; align-items: flex-start; }
    .ntc-toolbar-right { width: 100%; flex-wrap: wrap; }
    .tbl_head01 table { table-layout: auto; }
    /* 작성자/조회수/등록일 컬럼 숨기고 제목 아래 메타로 표시 */
    .th_name, .th_hit, .th_date, .th_good, .th_nogood { display: none; }
    .td_name, .td_num, .td_datetime { display: none; }
    .th_no { width: 40px; }
    .bo_tit a { font-size: 14px !important; }
    .bo_notice .td_subject .bo_tit a { font-size: 14px !important; }

    /* 제목 아래 메타 표시 */
    .ntc-m-meta {
        display: flex; align-items: center; gap: 6px;
        margin-top: 6px; font-size: 12px; color: #999;
    }
    .ntc-m-name { font-weight: 500; color: #666; }
    .ntc-m-sep { color: #ccc; }
    .ntc-m-hit, .ntc-m-date { color: #999; }

    #bo_list {
        padding: 24px 0 40px !important;
        background: #fff;
        color: #13261b;
    }

    #bo_list .ntc-header {
        margin: 0 18px 18px;
    }

    #bo_list .ntc-breadcrumb {
        margin-bottom: 6px;
        color: #758178;
        font-size: 12px;
        line-height: 1.4;
    }

    #bo_list .ntc-title {
        color: #13261b;
        font-size: 26px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .ntc-category-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin: 0 18px 10px;
        padding: 0;
        border-top: 0;
    }

    #bo_cate {
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        margin: 0;
        border-top: 0;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #bo_cate::-webkit-scrollbar {
        display: none;
    }

    #bo_cate ul {
        flex-wrap: nowrap;
        width: max-content;
        gap: 8px;
        padding: 0;
    }

    #bo_cate a {
        min-height: 36px;
        border: 1px solid #cbd8d0;
        border-radius: 999px;
        padding: 8px 14px;
        background: #fff;
        color: #32503f;
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
        white-space: nowrap;
    }

    #bo_cate #bo_cate_on,
    #bo_cate a:hover,
    #bo_cate a:focus {
        border-color: #075432;
        background: #075432;
        color: #fff;
    }

    #bo_btn_top {
        margin: 0 18px 12px;
        gap: 12px;
    }

    #bo_list_total {
        color: #6d7c73;
        font-size: 13px;
    }

    #bo_list_total span {
        color: #13261b;
        font-weight: 800;
    }

    .ntc-search-inline {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        gap: 8px;
        margin-top: 0;
    }

    .ntc-filter-select {
        flex: 0 0 84px;
        width: 84px;
        min-width: 84px;
    }

    .ntc-search-box {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .ntc-filter-select,
    .ntc-search-input {
        min-height: 42px;
        border-color: #ccd8d0;
        border-radius: 10px;
        color: #50635a;
        font-size: 13px;
    }

    .ntc-search-btn {
        width: 32px;
        height: 32px;
        right: 5px;
        background: transparent;
        color: #41604f;
    }

    .ntc-search-btn i {
        color: #41604f;
        font-size: 14px;
    }

    #bo_list .tbl_head01 {
        margin: 14px 0 0;
        border-top: 1px solid #e4ebe6;
    }

    #bo_list .tbl_head01 table {
        display: block;
        width: 100%;
        table-layout: auto;
        border-collapse: separate;
    }

    #bo_list .tbl_head01 thead {
        display: none;
    }

    #bo_list .tbl_head01 tbody {
        display: block;
    }

    #bo_list .tbl_head01 tbody tr {
        position: relative;
        display: block;
        min-height: 96px;
        padding: 16px 18px 15px;
        border-bottom: 1px solid #e4ebe6;
        background: #fff;
        transition: background .15s ease;
    }

    #bo_list .tbl_head01 tbody tr:active {
        background: #f7faf8;
    }

    #bo_list .tbl_head01 tbody td {
        display: block;
        width: auto !important;
        height: auto !important;
        border: 0;
        padding: 0;
        background: transparent !important;
        text-align: left;
    }

    #bo_list .td_chk {
        display: none !important;
    }

    #bo_list .td_chk + .td_num2,
    #bo_list .td_num2 {
        display: none;
    }

    #bo_list .td_cate {
        margin-bottom: 2px;
        line-height: 1;
    }

    #bo_list .td_cate .bo_cate_link {
        min-height: 18px;
        border-radius: 5px;
        padding: 1px 7px;
        background: #e8f3ed;
        color: #087043;
        font-size: 11px;
        font-weight: 800;
        line-height: 16px;
    }

    #bo_list .bo_notice .td_cate .bo_cate_link,
    #bo_list .bo_notice .notice_icon {
        background: #fff3dc;
        color: #a46600;
    }

    #bo_list .td_subject {
        padding: 0 !important;
    }

    #bo_list .bo_tit {
        display: flex;
        align-items: center;
        gap: 5px;
        min-width: 0;
        margin-top: 0;
        padding-right: 56px;
    }

    #bo_list .bo_tit a {
        display: block;
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
        margin: 0;
        color: #13261b;
        font-size: 15px !important;
        font-weight: 800;
        line-height: 1.48;
        letter-spacing: 0;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    #bo_list .bo_notice .td_subject .bo_tit a {
        font-size: 15px !important;
        color: #13261b !important;
    }

    .new_icon {
        flex: 0 0 auto;
        min-width: 18px;
        width: auto;
        height: 18px;
        line-height: 18px;
        border-radius: 5px;
        background: #075432;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
    }

    .cnt_cmt {
        flex: 0 0 auto;
        background: transparent;
        color: #df2f3f;
        height: auto;
        line-height: 1;
        padding: 0;
        border-radius: 0;
        font-size: 12px;
        font-weight: 800;
        vertical-align: baseline;
    }

    .ntc-m-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0;
        padding-right: 86px;
        margin-top: 7px;
        color: #718077;
        font-size: 12px;
        line-height: 1.35;
    }

    .ntc-m-meta > * {
        display: inline-flex;
        align-items: center;
    }

    .ntc-m-name {
        color: #4d5e54;
        font-weight: 700;
    }

    .ntc-m-sep {
        width: 2px;
        height: 2px;
        margin: 0 7px;
        overflow: hidden;
        border-radius: 50%;
        background: #b9c4bd;
        color: transparent;
        font-size: 0;
    }

    .ntc-m-hit,
    .ntc-m-date {
        color: #718077;
    }

    .ntc-m-meta .board-star-list-count {
        display: none;
    }

    .ntc-m-meta .board-star-list-count--meta + .ntc-m-sep {
        display: none;
    }

    #bo_list .td_star {
        position: absolute;
        right: 18px;
        bottom: 16px;
        display: block;
        width: auto !important;
        color: #bb8800;
        font-size: 12px;
    }

    #bo_list .td_star .board-star-list-count {
        color: #bb8800;
    }

    #bo_list .td_name,
    #bo_list .td_num,
    #bo_list .td_datetime {
        display: none !important;
    }

    #bo_list .empty_table {
        display: block;
        padding: 52px 18px !important;
        color: #718077;
        font-size: 14px;
        text-align: center;
    }

    .pg_wrap {
        margin: 20px 0 42px;
    }

    .bo_fx {
        margin: 0;
    }

    .ntc-del-btn {
        display: none !important;
    }

    .ntc-write-btn {
        position: static;
        display: inline-flex;
        justify-content: center;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 999px;
        background: #F4C430;
        color: #063D27;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
        box-shadow: 0 5px 12px rgba(215, 164, 16, .18);
    }

    .ntc-write-btn:hover,
    .ntc-write-btn:focus {
        background: #E2AD14;
        color: #063D27;
    }

    /* View */
    #bo_v_title .bo_v_tit { font-size: 20px; }
    #bo_v_info { flex-direction: column; align-items: flex-start; }
    .ntc-v-meta { flex-wrap: wrap; gap: 8px; }
    .bo_v_com { flex-wrap: wrap; gap: 4px; }
    .bo_v_nb li { flex-wrap: wrap; }
    .bo_v_nb li .nb_date { width: 100%; margin-top: 4px; }
    #bo_v_con { font-size: 14px; }
    .yt-responsive { width: 100%; padding-bottom: 56.25%; }

    /* Write */
    .ntc-form-card { padding: 30px 20px; }
    .ntc-form-row-half { flex-direction: column; gap: 0; }
    .ntc-form-row-half .ntc-form-group { min-width: 100%; }
    .ntc-form-footer { flex-direction: column; }
    .ntc-form-footer .ntc-btn { width: 100%; justify-content: center; }
    #autosave_pop { width: 280px; }

    /* Comment */
    #bo_vc article { flex-direction: column; gap: 8px; }
    #bo_vc article .pf_img img { width: 36px; height: 36px; }
    .bo_vc_w_info .frm_input { width: 100%; margin-right: 0; margin-bottom: 6px; float: none; }
    .bo_vc_w .btn_confirm { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .doctor-notice-view #bo_v_info .pnv-action-btns {
        display: none !important;
    }

    .doctor-notice-view > .bo_v_nb {
        display: none !important;
    }

    body.doctor-thread-write-page #header,
    body.doctor-thread-write-page #dt_menu_coverflow,
    body.doctor-thread-write-page #ft,
    body.doctor-thread-write-page #quick {
        display: none !important;
    }

    body.doctor-thread-write-page #wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .doctor-notice-thread-write {
        min-height: 100vh;
        margin: 0;
        padding: 0 14px calc(88px + env(safe-area-inset-bottom)) !important;
        background: #fff;
    }

    .doctor-notice-thread-write > .ntc-header {
        display: none !important;
    }

    .doctor-notice-thread-write form {
        width: 100% !important;
    }

    .doctor-notice-thread-write .doctor-thread-write-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        margin: 0 -14px;
        padding: 0 14px;
        border-bottom: 1px solid #edf2ef;
        background: #fff;
    }

    .doctor-notice-thread-write .doctor-thread-write-head h1 {
        flex: 1 1 auto;
        margin: 0;
        color: #111816;
        font-size: 20px;
        font-weight: 900;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .doctor-notice-thread-write .doctor-thread-write-close,
    .doctor-notice-thread-write .doctor-thread-write-menu {
        display: inline-flex;
        flex: 0 0 36px;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin: 0;
        border: 0;
        padding: 0;
        background: transparent;
        color: #111816;
        font-size: 25px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0;
        text-decoration: none;
    }

    .doctor-notice-thread-write .doctor-thread-write-close {
        margin-left: -8px;
    }

    .doctor-notice-thread-write .doctor-thread-write-menu {
        margin-right: -8px;
        font-size: 20px;
        font-weight: 900;
    }

    .doctor-notice-thread-write .doctor-notice-thread-author {
        display: flex !important;
        align-items: center;
        gap: 10px;
        min-height: 48px;
        padding: 14px 0 2px;
        color: #17241d;
    }

    .doctor-notice-thread-author .doctor-main-thread-avatar {
        display: inline-flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #0b4d2c;
        color: #fff;
        font-size: 16px;
        font-weight: 900;
        line-height: 1;
    }

    .doctor-notice-thread-author__body {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .doctor-notice-thread-author__body strong {
        color: #17241d;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.25;
    }

    .doctor-notice-thread-author__body span {
        color: #8b9690;
        font-size: 14px;
        line-height: 1.35;
    }

    .doctor-notice-thread-write .ntc-form-card {
        margin: 0;
        padding: 0 0 10px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .doctor-notice-thread-write .ntc-form-group--category,
    .doctor-notice-thread-write .ntc-form-group--options,
    .doctor-notice-thread-write .ntc-form-group--subject,
    .doctor-notice-thread-write .ntc-form-group--youtube,
    .doctor-notice-thread-write .ntc-form-group--link,
    .doctor-notice-thread-write .ntc-form-group--file,
    .doctor-notice-thread-write .doctor-thread-write-mobile-hidden {
        display: none !important;
    }

    .doctor-notice-thread-write .ntc-form-group--content {
        margin: 0;
    }

    .doctor-notice-thread-write .ntc-form-group--content > label,
    .doctor-notice-thread-write #char_count_desc,
    .doctor-notice-thread-write #char_count_wrap {
        display: none !important;
    }

    .doctor-notice-thread-write .wr_content {
        margin: 0;
        border: 0 !important;
        background: transparent !important;
    }

    .doctor-notice-thread-write .cke_sc,
    .doctor-notice-thread-write .wr_content > iframe {
        display: none !important;
    }

    .doctor-notice-thread-write #wr_content {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 300px !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 8px 0 0 !important;
        background: transparent !important;
        color: #111816 !important;
        font-size: 17px !important;
        line-height: 1.55 !important;
        resize: none !important;
        box-shadow: none !important;
    }

    .doctor-notice-thread-write .doctor-thread-write-tools {
        display: flex !important;
        align-items: center;
        gap: 13px;
        min-height: 42px;
        margin-top: 3px;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 4px 0 8px;
        scroll-snap-type: x proximity;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview[hidden] {
        display: none !important;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview__item {
        position: relative;
        flex: 0 0 min(72vw, 280px);
        aspect-ratio: 4 / 5;
        overflow: hidden;
        border: 1px solid #dfe4e1;
        border-radius: 8px;
        background: #f3f5f4;
        scroll-snap-align: start;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview__name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .doctor-notice-thread-write .doctor-thread-file-preview__remove {
        position: absolute;
        top: 8px;
        right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        background: rgba(16, 24, 20, .72);
        color: #fff;
        font-size: 22px;
        line-height: 1;
    }

    .doctor-notice-thread-write .doctor-thread-write-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin: 0;
        border: 0;
        padding: 0;
        background: transparent;
        color: #8c9691;
        font-size: 13px;
        font-weight: 800;
        line-height: 1;
    }

    .doctor-notice-thread-write .doctor-thread-write-action svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .doctor-notice-thread-write .ntc-form-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid #edf2ef;
        background: #fff;
        box-shadow: 0 -10px 30px rgba(6, 36, 18, .06);
    }

    .doctor-notice-thread-write .ntc-form-footer .ntc-btn-outline {
        display: none !important;
    }

    .doctor-notice-thread-write .ntc-form-footer:before {
        content: "스레드에 추가";
        color: #c9d0cc;
        font-size: 15px;
        font-weight: 700;
    }

    .doctor-notice-thread-write .ntc-form-footer .ntc-btn-primary {
        flex: 0 0 auto !important;
        width: auto;
        min-width: 62px;
        min-height: 40px;
        margin-left: auto;
        border-radius: 999px;
        padding: 0 18px;
    }

    #bo_v.doctor-notice-view,
    #bo_w.doctor-notice-thread-write {
        box-sizing: border-box;
    }

    #bo_v_atc {
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #bo_v_con {
        display: none !important;
        min-height: 0 !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
    }

    .doctor-thread-mobile-content {
        display: block;
        margin: 12px 0 0;
        color: #1f2a24;
        font-size: 15px;
        line-height: 1.65;
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    .doctor-thread-mobile-content-text {
        margin: 0 0 12px;
        white-space: pre-line;
    }

    .doctor-thread-mobile-content-heading {
        margin: 16px 0 8px;
        color: #111816;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .doctor-thread-mobile-content-quote {
        margin: 10px 0 12px;
        border-left: 3px solid #d6e1db;
        padding: 2px 0 2px 12px;
        color: #59655d;
        white-space: pre-line;
    }

    .doctor-thread-mobile-content-list {
        margin: 8px 0 12px;
        padding-left: 20px;
    }

    .doctor-thread-mobile-content-list li {
        margin: 4px 0;
        padding-left: 2px;
    }

    .doctor-thread-mobile-content-list--ordered {
        list-style: decimal;
    }

    .doctor-thread-mobile-content-callout {
        margin: 10px 0 12px;
        padding: 12px 14px;
        border: 1px solid #e1e8e4;
        border-radius: 12px;
        background: #f7faf8;
        color: #24332b;
        white-space: normal;
    }

    .doctor-thread-mobile-content-image {
        margin: 10px 0 12px;
        overflow: hidden;
        border: 1px solid #e3e9e5;
        border-radius: 14px;
        background: #f7f9f7;
    }

    .doctor-thread-mobile-content-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .doctor-thread-mobile-content-table {
        display: block;
        max-width: 100%;
        margin: 10px 0 12px;
        overflow-x: auto;
        border: 1px solid #e1e8e4;
        border-radius: 12px;
        background: #fbfcfb;
        font-size: 13px;
        line-height: 1.35;
        scrollbar-width: thin;
    }

    .doctor-thread-mobile-content-table > div {
        display: flex;
        min-width: max-content;
        border-top: 1px solid #edf1ef;
    }

    .doctor-thread-mobile-content-table > div:first-child {
        border-top: 0;
        background: #f3f7f4;
        font-weight: 800;
    }

    .doctor-thread-mobile-content-table span {
        min-width: 80px;
        max-width: 220px;
        padding: 8px 10px;
        border-left: 1px solid #edf1ef;
        overflow-wrap: anywhere;
    }

    .doctor-thread-mobile-content-table span:first-child {
        border-left: 0;
    }

    .doctor-thread-detail-actions {
        margin: 8px 0 10px !important;
    }

    #bo_vc {
        margin-top: 10px !important;
        padding-top: 8px !important;
        border-top: 1px solid #eef1ef;
    }

    body.doctor-thread-detail-comment-focus #bo_vc article header > h2,
    #bo_vc article header > h2 {
        display: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    #bo_vc article {
        display: grid !important;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: start;
        gap: 8px;
        margin: 0 !important;
        padding: 10px 0 11px !important;
        border-bottom: 1px solid #eef1ef !important;
    }

    #bo_vc article .pf_img {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    #bo_vc article .pf_img img {
        width: 36px;
        height: 36px;
    }

    #bo_vc article .cm_wrap {
        grid-column: 2;
        min-width: 0;
    }

    #bo_vc article header {
        position: static !important;
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 3px 6px;
        min-width: 0;
        margin: 0 0 4px !important;
        padding: 0 !important;
        line-height: 1.35;
    }

    #bo_vc .member,
    #bo_vc .guest,
    #bo_vc .sv_member,
    #bo_vc .sv_guest {
        display: inline-block;
        max-width: 128px;
        overflow: hidden;
        color: #111816;
        font-size: 13px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: top;
    }

    .bo_vc_hdinfo {
        margin-left: 0;
        color: #9aa3a0;
        font-size: 12px;
    }

    #bo_vc .cmt_contents {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #1f2a24;
        font-size: 14px;
        line-height: 1.45;
    }

    #bo_vc .cmt_contents > p {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bo_vc_w textarea,
    .doctor-thread-detail-sticky-comment textarea#wr_content {
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 !important;
        padding: 9px 14px !important;
        border: 1px solid #e4e7e5 !important;
        border-radius: 999px !important;
        background: #f4f5f4 !important;
        resize: none !important;
        box-shadow: inset 0 1px 2px rgba(17, 24, 39, .04);
        color: #15231b !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .doctor-thread-detail-sticky-comment {
        padding-top: 5px !important;
        padding-bottom: calc(5px + env(safe-area-inset-bottom)) !important;
    }

    body #top_btn {
        display: none !important;
    }
}

/* Existing free-board HTML edits keep the real editor at mobile widths. */
.doctor-notice-thread-write [data-doctor-mobile-html-edit] #wr_content {
    display: none !important;
}
[data-doctor-mobile-html-edit] [data-doctor-editor-loading] {
    padding: 16px 0; color: #52655b; font-size: 14px; line-height: 1.6;
}
[data-doctor-mobile-html-edit] [data-doctor-editor-loading][hidden] { display: none; }
@media (max-width: 900px) {
    .doctor-notice-thread-write [data-doctor-mobile-html-edit] .wr_content > iframe {
        display: block !important; width: 100% !important; min-width: 0 !important;
        height: 380px !important; border: 0;
    }
}
