/* =========================================================
   CS QnA (UI only) — refined color + modern
========================================================= */
:root{
    --q-brand: #0b63ff;
    --q-ink: rgba(0,0,0,.88);
    --q-muted: rgba(0,0,0,.62);
    --q-line: rgba(0,0,0,.10);
    --q-soft: rgba(11,99,255,.08);
    --q-soft2: rgba(255,199,0,.10);
    --q-shadow: 0 10px 28px rgba(0,0,0,.07);
    --q-shadow2: 0 14px 34px rgba(0,0,0,.10);
}

.qna{ margin-top: 12px; }

/* Top */
.qna-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom: 12px;
}

.qna-top__hint{
    flex:1;
    border:1px solid rgba(11,99,255,.14);
    background:
        radial-gradient(900px 240px at 0% 0%, rgba(11,99,255,.14), transparent 55%),
        radial-gradient(900px 240px at 100% 0%, rgba(255,199,0,.10), transparent 55%),
        linear-gradient(135deg, rgba(255,255,255,1), rgba(0,0,0,.01));
    border-radius: 18px;
    padding:12px 12px;
    font-weight:850;
    color: rgba(0,0,0,.76);
    line-height:1.5;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

.qna-pill{
    display:inline-flex;
    align-items:center;
    height:26px;
    padding:0 12px;
    border-radius:999px;
    background: linear-gradient(135deg, var(--q-brand), #2aa6ff);
    color:#fff;
    font-weight:950;
    margin-right:8px;
    letter-spacing:-0.02em;
    box-shadow: 0 10px 22px rgba(11,99,255,.22);
}

/* Card */
.qna-card{
    border:1px solid var(--q-line);
    background:#fff;
    border-radius: 20px;
    overflow:hidden;
    box-shadow: var(--q-shadow);
}

.qna-card__head{
    padding:15px 15px 13px;
    border-bottom:1px solid rgba(0,0,0,.08);
    background:
        radial-gradient(900px 260px at 0% 0%, rgba(11,99,255,.10), transparent 55%),
        linear-gradient(135deg, rgba(255,255,255,1), rgba(0,0,0,.01));
}

.qna-card__title{
    margin:0;
    font-size: 16px;
    font-weight: 950;
    letter-spacing:-0.03em;
    color: var(--q-ink);
}

.qna-card__desc{
    margin:7px 0 0;
    color: var(--q-muted);
    line-height: 1.65;
    font-weight: 650;
}

/* Form */
.qna-form{ padding:15px; }

.qna-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
}

.qna-field--mt{ margin-top: 12px; }

.qna-label{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight: 950;
    letter-spacing:-0.02em;
    color: var(--q-ink);
}

.qna-req{ color:#d14b4b; font-weight: 950; }
.qna-sub{ color: rgba(0,0,0,.55); font-weight: 850; }

/* Inputs */
.qna-input{
    margin-top:8px;
    width:100%;
    height:46px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    padding:0 12px;
    font-weight:850;
    outline:none;
    transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.qna-input:focus{
    border-color: rgba(11,99,255,.30);
    box-shadow: 0 0 0 4px rgba(11,99,255,.12);
}

.qna-textarea{
    margin-top:8px;
    width:100%;
    min-height: 180px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    padding:12px;
    font-weight:750;
    line-height:1.75;
    outline:none;
    resize: vertical;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.qna-textarea:focus{
    border-color: rgba(11,99,255,.30);
    box-shadow: 0 0 0 4px rgba(11,99,255,.12);
}

.qna-help{
    margin-top:8px;
    color: rgba(0,0,0,.64);
    font-weight:650;
    line-height:1.55;
}

/* File */
.qna-file{
    margin-top:8px;
    width:100%;
    height:46px;
    padding: 9px 10px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.02);
    font-weight:850;
}

.qna-filelist{
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:7px;
}

.qna-filelist__item{
    padding:9px 11px;
    border-radius:16px;
    border:1px solid rgba(11,99,255,.12);
    background: rgba(11,99,255,.05);
    font-weight:850;
    color: rgba(0,0,0,.76);
}

.qna-filelist__warn{
    padding:10px 12px;
    border-radius:16px;
    border:1px dashed rgba(0,0,0,.20);
    background: rgba(0,0,0,.02);
    color: rgba(0,0,0,.68);
    font-weight:950;
}

/* Choice */
.qna-choice{
    margin-top:10px;
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    align-items:center;
}

.qna-check, .qna-radio{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:850;
    color: rgba(0,0,0,.78);
}

.qna-check input, .qna-radio input{ transform: translateY(1px); }

/* Recap placeholder */
.qna-recap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border:1px solid rgba(11,99,255,.14);
    background:
        radial-gradient(900px 240px at 0% 0%, rgba(11,99,255,.12), transparent 55%),
        linear-gradient(135deg, rgba(255,255,255,1), rgba(0,0,0,.01));
    border-radius:18px;
    padding:12px;
}

.qna-recap__badge{
    display:inline-flex;
    align-items:center;
    height:28px;
    padding:0 12px;
    border-radius:999px;
    background: rgba(0,0,0,.86);
    color:#fff;
    font-weight:950;
}

.qna-recap__text{
    color: rgba(0,0,0,.70);
    font-weight:750;
    line-height:1.55;
}

/* Actions */
.qna-actions{
    margin-top: 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.qna-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:46px;
    padding:0 14px;
    border-radius:16px;
    text-decoration:none;
    font-weight:950;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    color: rgba(0,0,0,.86);
    cursor:pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.qna-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.qna-btn--primary{
    width:min(360px, 100%);
    background: linear-gradient(135deg, var(--q-brand), #2aa6ff);
    color:#fff;
    border-color: rgba(11,99,255,.18);
}

.qna-btn--ghost{
    background: rgba(0,0,0,.02);
}

.qna-top__actions .qna-btn{ height:42px; }

.qna-actions__note{
    color: rgba(0,0,0,.58);
    font-weight:750;
}

/* Responsive */
@media (max-width: 960px){
    .qna-top{ flex-direction:column; align-items:stretch; }
    .qna-grid{ grid-template-columns: 1fr; }
}
/* ===== QNA typography tune-down (override) ===== */
.qna-top__hint{
    font-weight: 650;
    font-size: 14px;
    padding: 10px 12px;
}

.qna-pill{
    height: 24px;
    padding: 0 10px;
    font-weight: 750;
    font-size: 12px;
}

.qna-card__title{
    font-size: 15px;
    font-weight: 800;
}

.qna-card__desc{
    font-weight: 550;
    font-size: 13px;
    line-height: 1.6;
}

.qna-form{
    padding: 14px;
}

.qna-label{
    font-weight: 750;
    font-size: 13px;
}

.qna-req{
    font-weight: 800;
}

.qna-input{
    height: 44px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
}

.qna-textarea{
    border-radius: 14px;
    font-weight: 550;
    font-size: 14px;
    line-height: 1.65;
    min-height: 170px;
}

.qna-help{
    font-weight: 450;
    font-size: 12.5px;
    color: rgba(0,0,0,.58);
}

.qna-choice{
    gap: 8px 12px;
}

.qna-check, .qna-radio{
    font-weight: 600;
    font-size: 13px;
    color: rgba(0,0,0,.72);
}

.qna-recap__badge{
    font-weight: 750;
    font-size: 12px;
    height: 26px;
}

.qna-recap__text{
    font-weight: 500;
    font-size: 12.5px;
    color: rgba(0,0,0,.62);
}

.qna-btn{
    height: 44px;
    border-radius: 14px;
    font-weight: 750;
    font-size: 14px;
    padding: 0 12px;
}

.qna-top__actions .qna-btn{
    height: 40px;
    font-size: 13px;
}

.qna-actions__note{
    font-weight: 450;
    font-size: 12.5px;
    color: rgba(0,0,0,.56);
}

/* 모바일에서 더 정돈 */
@media (max-width: 960px){
    .qna-top__hint{ font-size: 13px; }
    .qna-card__title{ font-size: 14px; }
    .qna-input, .qna-textarea{ font-size: 13.5px; }
}
