/* 환경설정 '선택 분석 동의' 카드 (2026-11-18)
   - setting.php의 [data-journey-consent-slot] 카드 안으로 옮겨진 #dohwa-journey-consent에만 적용된다.
   - 창을 만드는 스크립트(js/journey-analytics-20261115.js)와 문구·저장 동작은 그대로다. 위치와 모양만 다른 환경설정 카드에 맞춘다.
   - 다른 화면에서 openConsent()로 여는 떠 있는 창 모양(css/journey-analytics-consent-20261115.css)은 바뀌지 않는다. */
.setting-consent-card .dja-consent{position:static;z-index:auto;display:grid;grid-template-columns:35px minmax(0,1fr);column-gap:10px;align-items:start;width:auto;max-height:none;overflow:visible;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;box-shadow:none}
.setting-consent-card .dja-consent[hidden]{display:none!important}
.setting-consent-card .dja-consent::before{content:"";grid-column:1;grid-row:1/span 2;align-self:center;width:35px;height:35px;border-radius:11px;background:#f5f0fa}
.setting-consent-card .dja-consent::after{content:"";grid-column:1;grid-row:1/span 2;align-self:center;justify-self:center;width:20px;height:20px;background:#84649e;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8-7 10-4-2-7-5.4-7-10V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8-7 10-4-2-7-5.4-7-10V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E") center/20px 20px no-repeat}
.setting-consent-card .dja-consent h2{grid-column:2;grid-row:1;align-self:end;margin:0;font-size:16px;font-weight:700;line-height:1.4;letter-spacing:-.4px}
.setting-consent-card .dja-consent h2+p{grid-column:2;grid-row:2;margin:4px 0 0;font-size:11px;line-height:1.6;color:var(--muted);word-break:keep-all}
/* 항목 줄: 글은 카드 왼쪽 끝부터 위 칸막이 줄을 긋고(다른 카드의 스위치 줄과 같은 간격·선), 체크 상자는 같은 줄 왼쪽 칸에 얹는다 */
.setting-consent-card .dja-consent input[type=checkbox]{position:relative;z-index:1;grid-column:1;justify-self:center;width:20px;height:20px;margin:16px 0 0;accent-color:#82619d;cursor:pointer}
.setting-consent-card .dja-consent label{grid-column:1/-1;display:block;width:auto;margin:0;padding:15px 0 15px 45px;border-top:1px solid #f2eff5;font-size:13px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere;cursor:pointer}
.setting-consent-card #dja-v1{grid-row:3;margin-top:38px}
.setting-consent-card .dja-consent label[for="dja-v1"]{grid-row:3;margin-top:22px}
.setting-consent-card #dja-v2,.setting-consent-card .dja-consent label[for="dja-v2"]{grid-row:4}
.setting-consent-card .dja-consent button{grid-column:1/-1;grid-row:5;width:100%;min-height:44px;margin:6px 0 0;padding:10px 12px;border:1px solid #171830;border-radius:10px;background:#171830;color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1.5;cursor:pointer}
.setting-consent-card .dja-consent [role="status"]{grid-column:1/-1;grid-row:6;margin:10px 0 0;font-size:11px;line-height:1.6;color:var(--muted);text-align:center;overflow-wrap:anywhere}
.setting-consent-card .dja-consent :focus-visible{outline:3px solid #9d80ba;outline-offset:3px}

html[data-theme="dark"] .setting-consent-card .dja-consent::before{background:var(--dk-surface-2)}
html[data-theme="dark"] .setting-consent-card .dja-consent::after{background:var(--dk-text)}
html[data-theme="dark"] .setting-consent-card .dja-consent h2+p,html[data-theme="dark"] .setting-consent-card .dja-consent [role="status"]{color:var(--dk-muted)}
html[data-theme="dark"] .setting-consent-card .dja-consent input[type=checkbox]{accent-color:#c9b3dc}
html[data-theme="dark"] .setting-consent-card .dja-consent button{background:#e9e9f2;border-color:#e9e9f2;color:#151729}
