/* Member, board, admin mode and popups — uses the site tokens from style.css (--teal, --mint, --ink, --muted, --line, --soft). */
.tf-section{padding:46px 0 80px}
.tf-narrow{max-width:460px}
.tf-mid{max-width:880px}
.tf-card{background:#fff;border:1px solid var(--line);padding:28px 30px;margin-bottom:22px}
.tf-card h2{font-size:20px;margin:0 0 18px}
.tf-card h2 small,.tf-card-head h2 small{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px}
.tf-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.tf-card-head h2{margin:0;font-size:20px}
.tf-card-head .button{margin-top:0}
.tf-form .tf-field{display:block;margin-bottom:18px}
.tf-form .tf-field>span{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:7px}
.tf-form em{color:#c0504d;font-style:normal;font-weight:400}
.tf-form input[type=text],.tf-form input[type=password],.tf-form input[type=email],.tf-form input[type=tel],.tf-form input[type=url],.tf-form input[type=number],.tf-form input[type=date],.tf-form input[type=search],.tf-form select,.tf-form textarea,.tf-filter input,.tf-filter select{width:100%;padding:11px 13px;border:1px solid #cfdcdb;background:#fff;font:inherit;font-size:15px;color:var(--ink);border-radius:0}
.tf-form input:focus,.tf-form select:focus,.tf-form textarea:focus,.tf-filter input:focus{outline:2px solid var(--mint);outline-offset:0;border-color:var(--teal)}
.tf-form input[disabled]{background:var(--soft);color:var(--muted)}
.tf-form input[type=file]{display:block;margin:6px 0;font-size:14px}
.tf-form small{display:block;color:var(--muted);font-size:12.5px;margin-top:6px}
.tf-form .tf-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tf-form .tf-row>span{flex:0 0 100%}
.tf-form .tf-row input[type=date]{width:auto}.tf-form .tf-row select{width:auto}
.tf-form .tf-row label{display:flex;align-items:center;gap:6px;font-size:14px}
.tf-form .tf-row input[type=number]{width:90px}
.tf-check{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin:4px 18px 12px 0;cursor:pointer}
.tf-check input{width:17px;height:17px;accent-color:var(--teal)}
.tf-block{width:100%;margin-top:6px}
.tf-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.tf-actions .button,.tf-actions form{margin-top:0}
.tf-links{display:flex;justify-content:center;gap:18px;margin-top:18px;font-size:14px}
.tf-links a{color:var(--muted)}.tf-links a:hover{color:var(--teal)}
.tf-alert{background:var(--soft);border-left:3px solid var(--teal);padding:13px 16px;margin-bottom:20px;font-size:14.5px}
.tf-alert.is-error{background:#fdf3f2;border-color:#c0504d}
.tf-alert ul{margin:0;padding-left:18px}
.tf-note{font-size:13.5px;color:var(--muted);margin:10px 0}
.tf-empty{color:var(--muted);text-align:center;padding:26px 0}
.tf-muted{color:var(--muted)}
.tf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tf-agree{margin-bottom:22px}
.tf-agree h3{font-size:15px;margin:0 0 9px}
.tf-scroll{max-height:190px;overflow:auto;border:1px solid var(--line);background:var(--soft);padding:16px 18px;font-size:13px;line-height:1.75;color:#4b5f62;margin-bottom:8px}
.tf-scroll h2,.tf-scroll h3{font-size:14px;margin:12px 0 4px}
.tf-grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tf-grid2 .tf-card{margin-bottom:0}
/* tables */
.tf-table{width:100%;border-collapse:collapse;border-top:2px solid var(--teal);font-size:14.5px;background:#fff}
.tf-table th{background:var(--soft);font-weight:600;color:var(--ink);padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.tf-table td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:center;color:#4b5f62}
.tf-table td.tf-title{text-align:left}
.tf-table td.tf-title a{color:var(--ink)}.tf-table td.tf-title a:hover{color:var(--teal);text-decoration:underline}
.tf-table tr.is-pinned td{background:#f7fbfb}
.tf-num{width:70px}
.tf-lock{font-size:12px;margin-right:6px;opacity:.7}
.tf-badge{display:inline-block;font-size:12px;line-height:1;padding:5px 8px;border:1px solid #cfdcdb;color:var(--muted);white-space:nowrap;margin-left:6px}
td>.tf-badge:first-child{margin-left:0}
.tf-badge.is-done{border-color:var(--teal);color:var(--teal);background:#eef7f6}
.tf-pages{display:flex;justify-content:center;gap:6px;margin-top:24px}
.tf-pages a,.tf-pages span{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);font-size:14px}
.tf-pages span{background:var(--teal);color:#fff;border-color:var(--teal)}
.tf-board-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;font-size:14px;color:var(--muted)}
.tf-board-head .button{margin-top:0;flex:none}
.tf-mini-list{list-style:none;margin:0;padding:0}
.tf-mini-list li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.tf-mini-list li a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-mini-list time{color:var(--muted);font-size:13px}
/* article */
.tf-article,.tf-answer{background:#fff;border-top:2px solid var(--teal);border-bottom:1px solid var(--line);margin-bottom:20px}
.tf-article header,.tf-answer header{padding:20px 22px;border-bottom:1px solid var(--line);background:var(--soft)}
.tf-article header h2{font-size:21px;margin:0 0 6px}
.tf-answer{border-top-color:var(--mint)}
.tf-answer header h3{font-size:17px;margin:0 0 4px;color:var(--teal)}
.tf-meta{font-size:13px;color:var(--muted);margin:0}
.tf-content{padding:24px 22px;font-size:15.5px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.tf-images{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.tf-images img{max-width:100%;height:auto;max-height:420px;border:1px solid var(--line)}
.tf-dl{display:grid;grid-template-columns:120px 1fr;gap:0;margin:0;padding:0 22px;font-size:14.5px}
.tf-dl dt,.tf-dl dd{padding:10px 0;border-bottom:1px solid var(--line);margin:0}
.tf-dl dt{color:var(--muted)}
.tf-policy{font-size:15px;line-height:1.85;color:#40575a}
.tf-policy h2{font-size:19px;margin:34px 0 10px;color:var(--ink)}.tf-policy h3{font-size:16px;margin:22px 0 8px}
.tf-policy table{border-collapse:collapse;width:100%;font-size:14px;margin:10px 0}.tf-policy th,.tf-policy td{border:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}.tf-policy th{background:var(--soft)}
.tf-drop summary{cursor:pointer;color:var(--muted);font-size:14px}
.tf-drop[open] summary{margin-bottom:14px}
.tf-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.tf-thumb{display:flex;flex-direction:column;gap:4px;font-size:12px}
.tf-thumb img{width:110px;height:110px;object-fit:cover;border:1px solid var(--line)}
.tf-inline{display:inline}
.tf-link-btn{background:none;border:0;padding:0;color:#c0504d;font:inherit;font-size:14px;cursor:pointer;text-decoration:underline}
.tf-filter{display:flex;gap:8px;align-items:center}
.tf-filter input,.tf-filter select{width:auto;padding:9px 11px;font-size:14px}
.tf-filter .button{margin-top:0;padding:9px 16px}
/* header session links */
.member-links .tf-hello{color:var(--ink)}
.member-links .tf-admin-link{color:var(--teal);font-weight:600}
/* admin mode */
.tf-view-webadmin{background:#f6f9f9}
.tf-admin-bar{background:#244f50;color:#e6f2f1}
.tf-admin-bar .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 26px;min-height:56px}
.tf-admin-bar strong{font-size:16px;letter-spacing:.5px}
.tf-admin-bar nav{display:flex;flex-wrap:wrap;gap:4px;flex:1}
.tf-admin-bar nav a{color:#cfe6e4;padding:8px 14px;font-size:14.5px}
.tf-admin-bar nav a[aria-current]{background:rgba(255,255,255,.14);color:#fff;font-weight:600}
.tf-admin-user{font-size:13px;color:#b9d7d5}.tf-admin-user a{color:#fff}
.tf-admin-sub{background:#fff;border-bottom:1px solid var(--line)}
.tf-admin-sub .wrap{display:flex;gap:4px}
.tf-admin-sub a{padding:12px 16px;font-size:14px;color:var(--muted);border-bottom:2px solid transparent}
.tf-admin-sub a[aria-current]{color:var(--teal);border-color:var(--teal);font-weight:600}
.tf-admin-body{padding:30px 0 80px}
.tf-admin-body>h2{font-size:20px;margin:0 0 16px}
.tf-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.tf-help ul{margin:0;padding-left:18px;font-size:14px;color:#4b5f62;line-height:1.9}
/* popups */
.tf-popup{position:absolute;z-index:9000;background:#fff;box-shadow:0 12px 40px rgba(20,50,52,.25);max-width:calc(100vw - 24px)}
.tf-popup[hidden]{display:none}
.tf-popup-body{overflow:auto}
.tf-popup-body img{display:block;width:100%;height:auto}
.tf-popup-html{padding:22px;font-size:15px;line-height:1.7}
.tf-popup-foot{display:flex;justify-content:space-between;background:#2f4648}
.tf-popup-foot button{background:none;border:0;color:#fff;font:inherit;font-size:13px;padding:10px 14px;cursor:pointer}
.tf-popup-mobile{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,480px);max-height:88vh;display:flex;flex-direction:column}
.tf-popup-mobile .tf-popup-body{flex:1;min-height:0}
@media (max-width:768px){
  .tf-section{padding:28px 0 60px}
  .tf-card{padding:22px 18px}
  .tf-grid2,.tf-admin-grid{grid-template-columns:1fr}
  .tf-hide-sm{display:none}
  .tf-table{font-size:13.5px}.tf-table th,.tf-table td{padding:11px 6px}
  .tf-num{width:46px}
  .tf-board-head{flex-direction:column;align-items:stretch}
  .tf-dl{grid-template-columns:96px 1fr;padding:0 14px}
  .tf-content{padding:20px 16px}
  .tf-popup-web{display:none!important}
  .tf-admin-bar .wrap{padding-top:8px;padding-bottom:8px}
  .tf-admin .tf-table{display:block;overflow-x:auto;white-space:nowrap}
}
/* Text popups written in 관리자모드 (e.g. 리뉴얼 안내) */
.tf-popup-html .tf-pop-notice{padding:6px 4px 2px;text-align:left}
.tf-pop-notice .tf-pop-eyebrow{font-size:12px;letter-spacing:2px;color:var(--teal);font-weight:700;margin:0 0 8px}
.tf-pop-notice h2{font-size:22px;line-height:1.35;margin:0 0 14px;color:var(--ink)}
.tf-pop-notice p{font-size:14.5px;line-height:1.75;color:#4b5f62;margin:0 0 12px;word-break:keep-all}
.tf-pop-notice ul{margin:0 0 16px;padding:14px 16px 14px 30px;background:var(--soft);font-size:14px;line-height:1.75;color:#40575a}
.tf-pop-notice .tf-pop-actions{display:flex;gap:8px;flex-wrap:wrap}
.tf-pop-notice .tf-pop-actions a{flex:1;min-width:120px;text-align:center;padding:11px 12px;font-size:14px;border:1px solid var(--teal);color:var(--teal)}
.tf-pop-notice .tf-pop-actions a.is-primary{background:var(--teal);color:#fff}
/* 양해 말씀 popups (예약 안내 · 대기 안내), same card as the renewal notice */
.tf-pop-notice strong{font-weight:600;color:var(--teal);background:linear-gradient(transparent 64%,#dcefec 64%)}
.tf-pop-notice .tf-pop-box{background:var(--soft);border-left:3px solid var(--mint);padding:14px 16px;margin:0 0 14px}
.tf-pop-notice .tf-pop-box p{margin:0}
.tf-pop-notice .tf-pop-phone{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--teal);color:#fff;padding:13px 18px;margin:4px 0 16px;font-size:25px;font-weight:600;letter-spacing:.04em;line-height:1.3}
.tf-pop-notice .tf-pop-phone small{font-size:12.5px;font-weight:400;letter-spacing:0;color:#d5ece9}
.tf-pop-notice .tf-pop-phone:hover{background:#216e6d}
.tf-pop-notice p.tf-pop-sign{border-top:1px solid var(--line);padding-top:12px;margin:0;font-size:13px;color:var(--muted)}
