/*
 * ARC 다운로드 전 사용목적·사용처 — 공용 모듈 CSS (2026-08-23)
 * js/arc_download_intent.js 와 짝이다. 어느 페이지에서 불러도
 * 그 페이지의 다른 스타일에 기대지 않도록 배경·글자색까지 전부 갖고 있다.
 */
.arc-dlintent-layer[hidden] { display: none; }
.arc-dlintent-layer {
    position: fixed;
    inset: 0;
    z-index: 100500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.arc-dlintent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
}
.arc-dlintent-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .32);
    padding: 22px 22px 18px;
    box-sizing: border-box;
    font-family: -apple-system, "Malgun Gothic", Pretendard, "Noto Sans KR", sans-serif;
}
.arc-dlintent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.arc-dlintent-head span {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
}
.arc-dlintent-x {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    background: #f1f4f9;
    color: #64748b;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    padding: 0;
    cursor: pointer;
}
.arc-dlintent-x:hover { background: #e2e8f0; }
.arc-dlintent-intro {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
}
.arc-dlintent-group { margin: 0 0 16px; }
.arc-dlintent-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.arc-dlintent-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.arc-dlintent-options label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.arc-dlintent-options input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.arc-dlintent-options span {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #46536a;
    font-size: 13px;
    transition: border-color .12s, color .12s, background .12s;
}
.arc-dlintent-options input:checked + span {
    border-color: #111827;
    background: #111827;
    color: #fff;
    font-weight: 700;
}
.arc-dlintent-options input:focus-visible + span { outline: 2px solid #111827; outline-offset: 2px; }

.arc-dlintent-error {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: #dc2626;
}
.arc-dlintent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.arc-dlintent-cancel {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #46536a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}
.arc-dlintent-cancel:hover { background: #f5f8fd; border-color: #9fb3cc; }
.arc-dlintent-go {
    border: 0;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}
.arc-dlintent-go:hover { background: #1f2937; }
.arc-dlintent-go:disabled { opacity: .6; cursor: default; }

@media (max-width: 480px) {
    .arc-dlintent-panel { padding: 18px 16px 16px; }
}
