/* 작업 후기: 목록의 글쓰기 버튼과 작성 페이지(/후기-작성/) 폼. 사이트의 얇은 선·각진 모서리 스타일과 후기 검색창 모양을 따른다. */
.kt-reviews-tools{display:flex;flex-wrap:wrap;gap:10px;width:100%;max-width:480px;justify-content:flex-end}
.kt-reviews-tools .kt-review-search{flex:1 1 260px}
.kt-review-write-link{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:3px;background:var(--accent,#c64c30);color:#fff;font-size:13px;font-weight:650;white-space:nowrap}
.kt-review-write-link:hover{background:#a93f27}

.kt-review-write{padding-bottom:24px}
/* 후기 페이지 안(board-section)에서는 목록(#reviews)과 같이 좌우 여백을 바깥 .wrap에 맡긴다 */
.board-section .kt-review-write{padding-left:0;padding-right:0}
.kt-rw-head{margin-bottom:24px}
.kt-rw-head .eyebrow{margin-bottom:25px}
.kt-rw-head h2{font-size:clamp(28px,2.6vw,36px);font-weight:650;line-height:1.3;letter-spacing:-.05em}
.kt-rw-intro{margin-top:10px;font-size:14px;color:var(--text-secondary,#606356)}
.kt-rw-form{max-width:760px;border-top:1px solid #c8cabe;padding-top:24px}
.kt-rw-row{display:grid;grid-template-columns:1fr;gap:0 20px}
@media(min-width:768px){.kt-rw-row{grid-template-columns:1fr 2fr}}
.kt-rw-field{margin-bottom:20px}
.kt-rw-field label{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:14px;font-weight:650;color:var(--text-main,#242820)}
.kt-rw-field label small{font-size:12px;font-weight:500;color:var(--text-muted,#73766a)}
.kt-rw-field input[type=text],.kt-rw-field select,.kt-rw-field textarea{width:100%;padding:11px 14px;border:1px solid var(--border-strong,#b4b4a7);border-radius:3px;background:var(--bg-surface,#faf9f4);font-size:15px;line-height:1.6;color:var(--text-main,#242820)}
.kt-rw-field input[type=text],.kt-rw-field select{height:44px;padding-top:0;padding-bottom:0}
.kt-rw-field textarea{min-height:160px;resize:vertical}
.kt-rw-field input:focus,.kt-rw-field select:focus,.kt-rw-field textarea:focus{outline:none;border-color:var(--accent,#c64c30)}
.kt-rw-field input[type=file]{display:block;width:100%;padding:10px;border:1px dashed var(--border-strong,#b4b4a7);border-radius:3px;background:var(--bg-surface,#faf9f4);font-size:13px}
.kt-rw-help{margin-top:8px;font-size:12px;line-height:1.7;color:var(--text-muted,#73766a);word-break:keep-all}
.kt-rw-help a{color:var(--accent,#c64c30);border-bottom:1px solid currentColor}
.kt-rw-agree{margin:4px 0 12px;padding:14px 16px;border:1px solid #d6d4cb;border-radius:3px;background:#f3f1ea;font-size:14px}
.kt-rw-agree label{display:flex;align-items:center;gap:8px;font-weight:650;cursor:pointer}
.kt-rw-agree input{width:18px;height:18px;accent-color:var(--accent,#c64c30)}
.kt-rw-agree summary{margin-top:8px;font-size:12px;color:var(--text-secondary,#606356);cursor:pointer}
.kt-rw-agree ul{margin:8px 0 0 18px;list-style:disc;font-size:12px;line-height:1.8;color:var(--text-secondary,#606356)}
.kt-rw-notice:focus{outline:2px solid currentColor;outline-offset:2px}
.kt-rw-notice,.kt-rw-msg{max-width:760px;margin:0 0 20px;padding:12px 16px;border-radius:3px;font-size:14px;font-weight:600}
.kt-rw-notice.is-ok{background:#e5ecdf;color:#26392d;border:1px solid #b9c9ad}
.kt-rw-notice.is-error,.kt-rw-msg{background:#f8e9e4;color:#9b3a24;border:1px solid #e3bcb0}
.kt-rw-msg{margin:12px 0 0}
.kt-rw-submit{min-width:160px;height:48px;padding:0 24px;border:1px solid #242820;border-radius:3px;background:#242820;color:#faf9f4;font-size:15px;font-weight:650}
.kt-rw-submit:hover{background:#26392d}
.kt-rw-submit[disabled]{opacity:.6;cursor:wait}
/* 봇 확인용 숨은 칸: 화면·보조기기 모두에서 숨긴다 */
.kt-rw-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:767px){
  .kt-reviews-tools{max-width:none}
  .kt-review-write-link{flex:1 1 100%}
  .kt-review-write{padding-top:48px;padding-bottom:64px}
  .kt-rw-submit{width:100%}
}

/* 이용한 서비스 + 별점 줄 */
@media(min-width:768px){.kt-rw-row.kt-rw-row--meta{grid-template-columns:1fr 1fr}}
.kt-rw-field select{appearance:auto;font-size:15px}
.kt-rw-rating{border:0;padding:0;min-width:0}
.kt-rw-rating legend{margin-bottom:8px;padding:0;font-size:14px;font-weight:650;color:var(--text-main,#242820)}
/* 별 5개: 마크업은 1→5(방향키·읽기 순서 그대로). 고른 별과 그 왼쪽을 채운다(:has). 고르지 않은 별은 배경 대비 3:1 이상 */
.kt-rw-stars{display:inline-flex;gap:4px;height:44px;align-items:center}
.kt-rw-stars input{position:absolute;opacity:0;width:1px;height:1px}
.kt-rw-stars label{font-size:30px;line-height:1;color:#8f9285;cursor:pointer;transition:color .1s}
.kt-rw-stars:has(input:checked) label{color:#c64c30}
.kt-rw-stars input:checked+label~label{color:#8f9285}
.kt-rw-stars:hover label{color:#c64c30!important}
.kt-rw-stars label:hover~label{color:#8f9285!important}
.kt-rw-stars input:focus-visible+label{outline:2px solid var(--accent,#c64c30);outline-offset:2px;border-radius:2px}
/* 버튼 줄: 목록으로 + 후기 등록 */
.kt-rw-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.kt-rw-cancel{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:48px;padding:0 20px;border:1px solid #242820;border-radius:3px;font-size:15px;font-weight:650;color:#242820}
.kt-rw-cancel:hover{background:#ecebe3}
.kt-review-write-link span{margin-right:6px}
/* 목록 위 등록 완료 안내 */
#reviews .kt-rw-notice{max-width:none}
@media(max-width:767px){.kt-rw-actions{flex-direction:column}.kt-rw-cancel{width:100%}}
