/* =====================================================================
   tfstock 사용자 화면 테마 (2026-11 디자인 개편 — docs/works/디자인개편계획.md)
   기준 시안: "과정 커뮤니티 데모". 공통 style.css·web_custom.css 위에 덮는다.
   주입: Site\Support\Theme (layouts.web·web_blank head 스택, 관리자·강사·학습관리자 제외)
   ===================================================================== */
:root {
    --y: #FFD400; --y-soft: #FFF6CC; --y-line: #F1E3A0;
    --ink: #1F2328; --ink2: #3B4048; --muted: #6B7280; --faint: #9AA0A8;
    --line: #E6E8EC; --line2: #F0F1F4; --bg: #FFFFFF; --bg2: #F6F7F9;
    --blue: #1A4FD0; --blue-h: #1641B0; --blue-soft: #EEF3FF;
    --up: #E5383B; --down: #2F6BFF; --ok: #1F9D63; --new: #FF5A36; --dark: #11161F; --night: #0D121B;
    --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --hd-h: 68px;
    --wrap: 1240px;
    --r: 10px;
}

/* ---------- 기본 ---------- */
html body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body li, body td, body th, body label, body div, body strong, body b, body small, body em, body dt, body dd,
body input, body button, body select, body textarea, body option,
body span:not([class*="flaticon"]):not([class*="fa-"]):not([class*="bi-"]):not([class*="ti-"]):not([class*="icon"]) {
    font-family: var(--font) !important;
}
body h1, body h2, body h3, body h4, body h5, body h6 { letter-spacing: -0.02em; }
body a { color: inherit; }
body a:hover { color: var(--blue); text-decoration: none; }
body ::selection { background: var(--y-soft); }
body :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }
.preloader { display: none !important; }

/* 공통 레이아웃의 고정 헤더 높이(main margin-top:74px 인라인) */
.wrapper > main { margin-top: var(--hd-h) !important; min-height: 50vh; }

/* ---------- 아이콘(마스크 SVG — 외부 글꼴 없이) ---------- */
.tf-ic { display: inline-block; width: 20px; height: 20px; background: currentColor; vertical-align: middle;
    -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.tf-ic-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.tf-ic-cart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.2 11.2a1.5 1.5 0 0 0 1.5 1.2h8.7a1.5 1.5 0 0 0 1.5-1.2L20.5 7H6'/%3E%3C/svg%3E"); }
.tf-ic-menu { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E"); }
.tf-ic-lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10.5' width='16' height='10.5' rx='2'/%3E%3Cpath d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/%3E%3C/svg%3E"); }
.tf-ic-play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M10 9l5 3-5 3z'/%3E%3C/svg%3E"); }
.tf-ic-live { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M16.2 7.8a6 6 0 0 1 0 8.4M7.8 16.2a6 6 0 0 1 0-8.4M19 5a10 10 0 0 1 0 14M5 19A10 10 0 0 1 5 5'/%3E%3C/svg%3E"); }
.tf-ic-file { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.tf-ic-check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.tf-ic-enter { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5M15 12H3M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E"); }
.tf-ic-clip { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5l-8.5 8.5a5 5 0 0 1-7-7L14 4.5a3.3 3.3 0 0 1 4.7 4.7L10.2 17.7a1.7 1.7 0 0 1-2.4-2.4L15.5 7.6'/%3E%3C/svg%3E"); }
.tf-ic-pen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5l4 4L8 20H4v-4z'/%3E%3C/svg%3E"); }
.tf-ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5M5 17h14l-2-3V6a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v8z'/%3E%3C/svg%3E"); }
.tf-ic-sm { width: 15px; height: 15px; }

/* ---------- 헤더 ---------- */
.tf-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 1040; display: block !important;
    height: var(--hd-h); background: #fff; border-bottom: 1px solid var(--line); }
.tf-hd-in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 28px; }
.tf-brand { display: flex; align-items: center; flex: none; }
.tf-brand img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.tf-nav { flex: 1; min-width: 0; height: 100%; }
.tf-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; height: 100%; align-items: stretch; }
.tf-nav > ul > li { position: relative; display: flex; align-items: center; }
.tf-nav > ul > li > a { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; font-size: 15.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; border-bottom: 2px solid transparent; }
.tf-nav > ul > li > a:hover, .tf-nav > ul > li:focus-within > a { color: var(--ink); }
.tf-nav > ul > li > a.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.tf-nav .tf-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; list-style: none; margin: 0; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(17, 22, 31, .12); z-index: 5; }
.tf-nav li.has-sub:hover > .tf-sub, .tf-nav li.has-sub:focus-within > .tf-sub { display: block; }
.tf-nav .tf-sub li { position: relative; }
.tf-nav .tf-sub a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.tf-nav .tf-sub a:hover { background: var(--bg2); color: var(--ink); }
.tf-nav .tf-sub ul { display: none; position: absolute; left: 100%; top: -6px; min-width: 180px; list-style: none; margin: 0 0 0 4px; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(17, 22, 31, .12); }
.tf-nav .tf-sub li:hover > ul, .tf-nav .tf-sub li:focus-within > ul { display: block; }
.tf-nav .site-menu-live { margin-left: 2px; }

.tf-hd-r { display: flex; align-items: center; gap: 10px; flex: none; font-size: 13px; color: var(--muted); }
.tf-search { display: flex; align-items: center; height: 38px; width: 220px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg2); }
.tf-search:focus-within { border-color: var(--blue); background: #fff; }
.tf-search input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 13.5px; color: var(--ink); padding: 0; height: 100%; }
.tf-search input::placeholder { color: var(--faint); text-align: left; }
.tf-search button { border: 0; background: none; padding: 0 6px; color: var(--muted); cursor: pointer; display: flex; }
.tf-search .tf-ic { width: 18px; height: 18px; }
.tf-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: var(--ink2); }
.tf-icon-btn:hover { background: var(--bg2); color: var(--ink); }
.tf-hd-user { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tf-hd-user a { color: var(--muted); }
.tf-hd-user a:hover { color: var(--ink); }
.tf-hd-user .tf-hd-name { color: var(--ink2); }
.tf-hd-user .tf-hd-name strong { color: var(--ink); }
.tf-sep { color: var(--line); }
.tf-burger { display: none; }
.tf-hd-r .site-live-badge { margin-right: 4px; }

@media (max-width: 1200px) {
    .tf-search { width: 160px; }
    .tf-hd-in { gap: 18px; }
    .tf-nav > ul > li > a { padding: 0 9px; font-size: 15px; }
}
@media (max-width: 992px) {
    :root { --hd-h: 60px; }
    .tf-nav, .tf-search, .tf-hd-user { display: none !important; }
    .tf-hd-in { justify-content: space-between; }
    .tf-burger { display: inline-flex; }
    .tf-brand img { height: 28px; }
}
/* 공통 모바일 상단 막대는 새 헤더가 대신한다(슬라이드 메뉴·검색 오버레이는 그대로 씀) */
.wrapper > .container > .mobile-menu { display: none !important; }

/* 슬라이드 메뉴(공통 web_mobile_menu 사본) */
.slide_menu_bg { background: rgba(17, 22, 31, .45) !important; }
.slide_menu { max-width: 420px; box-shadow: 0 0 40px rgba(0, 0, 0, .2); }
.slide_menu .bg_default { background: var(--bg2) !important; }
.slide_menu .mobile-menu-item { font-weight: 600; color: var(--ink); }
#my-mobile-menu > li > a { background: var(--bg2) !important; color: var(--muted) !important; font-size: 15px !important; }
#my-mobile-menu > li > .active { background: #fff !important; color: var(--ink) !important; box-shadow: inset 0 -2px 0 var(--ink); }

/* ---------- 상단 띠(공통 partials/breadcrumb) ---------- */
.subnav.bg-dark { background: var(--night) !important; border: 0 !important; padding: 44px 0 40px !important; position: relative; overflow: hidden; }
.subnav.bg-dark::before { content: ""; position: absolute; inset: 0; opacity: .5;
    background: linear-gradient(90deg, var(--night) 35%, rgba(13, 18, 27, .2)),
        repeating-linear-gradient(0deg, transparent 0 59px, #1B2433 59px 60px); }
.subnav.bg-dark .container { position: relative; max-width: var(--wrap); }
.subnav .breadcrumb { background: none; padding: 0; margin: 0 0 6px; font-size: 13px; }
.subnav .breadcrumb-item, .subnav .breadcrumb-item a, .subnav .breadcrumb-item.active { color: #8E97A6 !important; }
.subnav .breadcrumb-item + .breadcrumb-item::before { color: #4A5363; }
.subnav h2.title { font-size: clamp(24px, 3.2vw, 34px) !important; font-weight: 800; letter-spacing: -0.03em; color: #fff !important; }

/* ---------- 폭 ---------- */
@media (min-width: 1200px) {
    main .container { max-width: var(--wrap); }
}

/* ---------- 버튼 ---------- */
.tf-btn, body .btn { border-radius: 8px; font-weight: 600; }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; font-size: 14px; line-height: 1.4;
    border: 1px solid transparent; white-space: nowrap; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; }
.tf-btn-p, body .btn-primary, body .btn-thm { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.tf-btn-p:hover, body .btn-primary:hover, body .btn-thm:hover { background: var(--blue-h) !important; border-color: var(--blue-h) !important; color: #fff !important; }
.tf-btn-o, body .btn-outline-primary { background: #fff; border-color: var(--blue); color: var(--blue) !important; }
.tf-btn-o:hover, body .btn-outline-primary:hover { background: var(--blue-soft); color: var(--blue) !important; }
.tf-btn-g { background: #fff; border-color: var(--line); color: var(--ink2) !important; }
.tf-btn-g:hover { border-color: #C7CCD4; color: var(--ink) !important; }
.tf-btn-y { background: var(--y); border-color: var(--y); color: var(--ink) !important; }
.tf-btn-y:hover { background: #F5CB00; }
.tf-btn-d { background: var(--dark); border-color: var(--dark); color: #fff !important; }
.tf-btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 6px; }
.tf-btn-lg { padding: 14px 22px; font-size: 15px; }
.tf-btn-pill { border-radius: 999px; }
.tf-btn-block { display: flex; width: 100%; }
.tf-btn[disabled], .tf-btn.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- 배지 ---------- */
.tf-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.tf-badge-live { border-color: #FFC9C9; color: var(--up); background: #FFF4F4; }
.tf-badge-new { border-color: var(--new); background: var(--new); color: #fff; }
.tf-badge-ok { border-color: #C6EBD7; background: #E7F6EE; color: var(--ok); }
.tf-badge-blue { border-color: #C9D6FB; background: var(--blue-soft); color: var(--blue); }

/* ---------- 폼 ---------- */
main .form-control, .tf-inp { border: 1px solid var(--line); border-radius: 6px; min-height: 42px; font-size: 14px; color: var(--ink); box-shadow: none; }
main .form-control:focus, .tf-inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 79, 208, .12); }
main textarea.form-control { min-height: 120px; }
main label { color: var(--ink2); }

/* ---------- 섹션 제목 ---------- */
.tf-sec-t { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--ink); }
.tf-sec-sub { color: var(--muted); font-size: 14px; margin: -12px 0 18px; }

/* ---------- 과정 카드(공통 partials/course) ---------- */
main .top_courses { border: 1px solid var(--line) !important; border-radius: 12px !important; overflow: hidden; background: #fff; box-shadow: none !important; transition: box-shadow .2s, transform .2s; margin-bottom: 0; }
main .top_courses:hover { box-shadow: 0 10px 28px rgba(17, 22, 31, .10) !important; transform: translateY(-2px); }
main .top_courses .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); margin: 0; border-radius: 0; height: auto !important; }
main .top_courses .thumb img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
main .top_courses .thumb::before, main .top_courses .thumb .overlay { display: none !important; }
main .top_courses .details { padding: 0; }
main .top_courses .tc_content { padding: 14px 16px 10px !important; }
main .top_courses .tc_content .description { color: var(--muted); font-size: 12.5px; display: block; min-height: 18px; }
main .top_courses .card-title { font-size: 15.5px !important; font-weight: 700 !important; line-height: 1.45; height: 45px !important; overflow: hidden; margin: 2px 0 6px; }
main .top_courses .card-title a { color: var(--ink) !important; }
main .top_courses .tc_footer { border-top: 1px solid var(--line2) !important; padding: 10px 16px !important; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
main .top_courses .tc_footer::after { display: none; }
main .top_courses .tc_price { color: var(--ink) !important; font-size: 16px !important; font-weight: 800 !important; float: none !important; margin-left: auto; }
main .top_courses .permission { border-radius: 4px !important; font-size: 11px !important; padding: 1px 6px !important; }
main .top_courses .like { top: 10px; right: 10px; z-index: 2; }
main .top_courses .like .btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
main .top_courses .like .fa-heart { color: var(--up); }

/* ---------- 페이지네이션 ---------- */
main .pagination { gap: 4px; justify-content: center; }
main .page-item .page-link { border: 1px solid var(--line) !important; border-radius: 6px !important; color: var(--ink2) !important; min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0 10px; background: #fff !important; box-shadow: none !important; }
main .page-item.active .page-link { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
main .page-item.disabled .page-link { color: var(--faint) !important; }

/* ---------- 표(사용자 게시판·주문 등) ---------- */
.tf-tbl-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.tf-tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tf-tbl th { font-size: 13px; color: var(--muted); font-weight: 500; padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.tf-tbl td { padding: 13px 10px; border-bottom: 1px solid var(--line2); text-align: center; font-size: 14px; color: var(--ink2); vertical-align: middle; }
.tf-tbl td.tt { text-align: left; color: var(--ink); }
.tf-tbl tr.fix td { background: #FFFCEB; }
.tf-tbl tbody tr:hover td { background: #FAFBFC; }
main table.table thead th { border-top: 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: 13px; }
main table.table td { border-top: 1px solid var(--line2); }

/* ---------- 카드 ---------- */
.tf-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }

/* ---------- 빈 상태 ---------- */
.tf-empty { padding: 48px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- 푸터 ---------- */
.tf-ft { background: var(--bg2); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.tf-ft-in { max-width: var(--wrap); margin: 0 auto; padding: 36px 16px 44px; }
.tf-ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tf-ft-logo img { height: 28px; width: auto; opacity: .9; }
.tf-ft-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tf-ft-links a { color: var(--ink2); font-size: 13.5px; }
.tf-ft-links strong { font-weight: 700; color: var(--ink); }
.tf-ft-info p { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 16px; line-height: 1.6; }
.tf-ft-info a { color: var(--muted); }
.tf-ft-copy { color: var(--faint); margin-top: 12px !important; }
.scrollToHome { background: var(--ink) !important; border-radius: 50% !important; }

/* ---------- 알림(공통 partials/messages_web) ---------- */
main .alert { border-radius: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- 보정(1차 확인 뒤) ---------- */
main .top_courses .card-title a, main .top_courses .card-title { font-weight: 700 !important; }
main .top_courses .thumb a { display: block; width: 100%; height: 100%; }
main .top_courses .thumb img { width: 100% !important; max-width: none !important; }
.tf-ft-info p, .tf-ft-info span, .tf-ft-info a { font-size: 13px !important; color: var(--muted); }
.tf-ft-links a { font-size: 13.5px !important; }

/* ---------- 탭(bootstrap nav-tabs — 마이페이지 등) ---------- */
main .nav-tabs { border-bottom: 1px solid var(--line); gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
main .nav-tabs .nav-link { border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important; color: var(--muted) !important; padding: 12px 16px; white-space: nowrap; }
main .nav-tabs .nav-link:hover { color: var(--ink) !important; }
main .nav-tabs .nav-link.active, main .nav-tabs .nav-item.show .nav-link { color: var(--ink) !important; font-weight: 700; border-bottom-color: var(--ink) !important; }

/* ---------- 버튼 보조색 ---------- */
main .btn-dark { background: var(--dark); border-color: var(--dark); }
main .btn-outline-secondary { border-color: var(--line); color: var(--ink2); background: #fff; }
main .btn-outline-secondary:hover { background: var(--bg2); color: var(--ink); border-color: #C7CCD4; }
main .btn-success { background: var(--ok); border-color: var(--ok); }
body .g-bg-color { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
body .g-bg-color:hover { background: var(--blue-h) !important; }

/* ---------- 마이페이지 과정 카드(partials/my_course) ---------- */
main .progress { height: 8px; border-radius: 4px; background: var(--line2); }
main .progress-bar { background: var(--ok) !important; font-size: 0; }

/* ---------- 로그인·가입(layouts.web_blank) ---------- */
body.d-flex { background: var(--bg2); min-height: 100vh; }
body .main-size { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(17, 22, 31, .06) !important; }
body .main-size .main-text { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
body .main-size .sub-text { color: var(--muted); }
body .main-size .form-control { min-height: 46px; border-radius: 8px; border-color: var(--line); }
body .main-size .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 79, 208, .12); }
body .main-size button[type=submit] { min-height: 48px; border-radius: 8px; font-size: 15px !important; font-weight: 700; }
body .main-size u.g-color { color: var(--ink2); }

/* ---------- 홈 '이어서 학습하세요' 바탕 ---------- */
.site-home-mine { background: var(--bg2) !important; }

/* ---------- 일반 게시판 목록(web/board/list) ---------- */
main .list-table { border-top: 2px solid var(--ink); }
main .list-table thead th, main .list-table th.bg-gray { background: #fff !important; color: var(--muted); font-weight: 500; font-size: 13px; border-bottom: 1px solid var(--line); }
main .list-table tbody td { border-top: 0; border-bottom: 1px solid var(--line2); font-size: 14px; color: var(--ink2); padding-top: 14px; padding-bottom: 14px; }
main .list-table tbody tr td:first-child:not([colspan]) { text-align: left !important; color: var(--ink); }
main .list-table tbody tr:hover td { background: #FAFBFC; }
main .list-table a { color: var(--ink); }
main .list-table a:hover { color: var(--blue); }
main .board_view h3, main .board_view .title { letter-spacing: -0.02em; }
.tf-nav > ul > li > a.p-menu { padding: 0 12px !important; }
.tf-nav a.p-menu::after, .tf-nav a.p-menu::before { display: none !important; }
