@charset "utf-8";

/* 로컬(file://·localhost) 테스트용 폴백 - 상용 cfm.kt.com 폰트가 CORS로 막히는 환경 대비.
   상용 도메인에서는 kt-style_new.css의 @font-face가 먼저 로드되므로 이 규칙은 쓰이지 않음. */
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

/* 안심365 리포트 공통 */
.pg-safe365,
.pg-safe365 *,
.pg-safe365 *::before,
.pg-safe365 *::after {
    box-sizing: border-box;
}

.pg-safe365,
.pg-safe365 * {
    font-family: var(--font-family-pretendard);
}

.pg-safe365,
.pg-safe365 * {
    line-height: 1.48;
}

*:focus-visible {/* 1020 수정 : 결함아이디1191055 : 선택시 포커스라인 추가 */
    outline-offset: 2px;
    outline: dotted 2px #04a3bb;
}

/* [hidden] 속성은 항상 최우선으로 숨김 처리 - display:flex 등을 지정한 클래스가
   같이 붙어도 절대 이겨서는 안 됨(이전에 캐러셀/히어로 카드에서 반복된 버그) */
.pg-safe365 [hidden] {
    display: none !important;
}

.pg-safe365 .safe365-blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pg-safe365 .ico {
    flex: none;
}

/* 공용 container */
.safe365-header__inner,
.safe365-section__inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 90px;
}

/* header 영역 */
.safe365-header {
    background: var(--gray-50);
    padding-bottom: 80px;
}

/* breadcrumb */
.safe365-breadcrumb {
    display: flex;
    justify-content: flex-end;
    padding-top: 32px;
}

.safe365-breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-breadcrumb li {
    display: flex;
    align-items: center;
}

.safe365-breadcrumb a {
    display: flex;
    align-items: center;
    color: var(--text-secondary-01);
    font-size: 16px;
    text-decoration: none;
}

.safe365-breadcrumb li:first-child a {
    color: var(--icon-tertiary-01);
}

.safe365-breadcrumb li[aria-current="page"] {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 16px;
}

.safe365-breadcrumb__sep {
    margin: 0 6px;
    color: var(--icon-tertiary-01);
}

/* heading */
.safe365-heading {
    margin-top: 104px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.safe365-heading__logo {
    width: 100px;
    height: 62px;
    object-fit: contain;
}

.safe365-heading__title {
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--gray-900);
    margin: 0;
}

.safe365-heading__desc {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-600);
    margin: 0;
}

/* hero row */
.safe365-hero {
    margin-top: 40px;
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.safe365-hero__card {
    position: relative;
    width: 528px;
    flex: none;
    background: var(--background-default);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
}

.safe365-hero__icon {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.safe365-hero__text {
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-hero__greeting {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-hero__greeting-name {
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.safe365-hero__greeting-suffix {
    font-size: 24px;
}

/* 버튼 */
.safe365-btn,
.safe365-btn:focus {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.safe365-btn--primary,
.safe365-btn--primary:focus {
    width: 280px;
    min-height: 56px;
    background: var(--fill-primary);
    color: var(--text-inverse);
    font-size: 16px;
    padding: 8px 16px;
}

.safe365-btn--primary:hover {
    background: var(--fill-primary-hover);
}

.safe365-btn--primary:active {
    background: var(--fill-primary-pressed);
}

.safe365-btn--mission,
.safe365-btn--mission:focus {
    width: 96px;
    min-height: 48px;
    background: var(--fill-primary);
    color: var(--text-inverse);
    font-size: 15px;
    padding: 8px 16px;
}

.safe365-btn--mission:hover {
    background: var(--fill-primary-hover);
}

.safe365-btn--mission:active {
    background: var(--fill-primary-pressed);
}

.safe365-btn--outline,
.safe365-btn--outline:focus {
    display: flex;
    width: 180px;
    min-height: 48px;
    margin: 24px auto 0;
    background: var(--background-default);
    border: 1px solid var(--border-subtle-01);
    color: var(--text-primary);
    font-size: 15px;
    padding: 8px 16px;
}

.safe365-btn--outline:hover {
    background: var(--fill-tertiary-hover-01);
}

/* 1/2/3단계 요약 카드(헤더 영역) */
.safe365-steps {
    flex: none;
    width: 528px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-steps__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 110px;
    background: var(--background-default);
    border-radius: 16px;
    padding: 0 40px;
}

.safe365-steps__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: none;
}

.safe365-steps__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.safe365-steps__title {
    margin: 0;
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    color: var(--gray-900);
}

.safe365-steps__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-tertiary-01);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.safe365-steps__link .ico-sm {
    width: 16px;
    height: 16px;
}

/* 공통 섹션(1/2/3단계 등) */
.safe365-section {
    background: var(--background-default);
    padding: 80px 0;
    scroll-margin-top: 120px;
}

.safe365-section--gray {
    background: var(--gray-50);
}

.safe365-section__head {
    margin-bottom: 20px;
}

.safe365-section__eyebrow {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-600);
}

.safe365-section__title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.safe365-section__title {
    margin: 0;
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 32px;
    color: var(--text-primary);
}

.safe365-section__title--standalone {
    margin-bottom: 24px;
}

.safe365-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
}

.safe365-tag--muted {
    background: var(--gray-75);
    color: var(--text-tertiary-01);
    font-weight: var(--font-weight-medium);
    border-radius: 4px 0 0 4px;
}

.safe365-tag--live {
    background: var(--graphic-red-main);
    color: var(--background-default);
    font-weight: var(--font-weight-semibold);
    border-radius: 0 4px 4px 0;
}

.safe365-tag-group {
    display: inline-flex;
    align-items: center;
}

/* 1단계 상세카드(528px x 2) */
.safe365-card-row {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-card {
    width: 528px;
    min-height: 190px;
    flex: none;
    background: var(--background-default);
    border: 1px solid var(--border-secondary-02);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.safe365-card__title {
    margin: 0;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-card__title a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.safe365-card__title .ico {
    width: 24px;
    height: 24px;
}

.safe365-card__desc {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
}

/* 2/3단계 미션 카드 */
.safe365-mission-row {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-mission-card {
    width: 252px;
    height: 350px;
    flex: none;
    background: var(--background-default);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.safe365-mission-row--narrow .safe365-mission-card {
    width: 197px;
    height: 330px;
    padding: 20px 16px;
}

.safe365-mission-card--bordered {
    border: 1px solid var(--border-secondary-02);
}

.safe365-mission-card__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: none;
    margin: 18px 0 14px;
}

.safe365-mission-row:not(.safe365-mission-row--narrow) .safe365-mission-card__icon {
    width: 80px;
    height: 80px;
    margin-top: 20px;
    margin-bottom: 29px;
}

.safe365-mission-card__title {
    margin: 0 0 8px;
    text-align: center;
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--text-primary);
}

.safe365-mission-card__desc {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-01);
}

.safe365-mission-row:not(.safe365-mission-row--narrow) .safe365-mission-card__desc {
    margin-bottom: 27px;
}

.safe365-mission-row--narrow .safe365-mission-card__desc {
    color: var(--text-tertiary-01);
}

/* 알아두면 좋은 개인정보 보호 정보 */
.safe365-info__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.safe365-pager {
    display: flex;
    align-items: center;
    gap: 16px;
}

.safe365-pager__btn,
.safe365-pager__btn:focus {
    width: 32px;
    height: 32px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-primary-01);
    border: 1px solid var(--border-secondary-02);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-pager__btn:disabled {
    color: var(--icon-disabled-01);
    cursor: not-allowed;
}

.safe365-pager__label {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-pager__label span {
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
}

.safe365-pager__label span:first-child {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-info-cards {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-info-card,
.safe365-info-card:focus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 344px;
    height: 146px;
    flex: none;
    background: var(--fill-on-white-inverse);
    border: 1px solid var(--border-subtle-01);
    border-radius: 16px;
    padding: 40px;
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-decoration: none;
}

.safe365-info-card:hover,
.safe365-info-card:focus-visible {
    border-color: var(--border-primary-focused);
}

.safe365-info-card .ico {
    margin-left: 8px;
    vertical-align: middle;
    margin-top: -4px;
}

/* FAQ 아코디언 */
.safe365-accordion {
    border-top: 1px solid var(--border-inverse);
}

.safe365-accordion__item + .safe365-accordion__item {
    border-top: 1px solid var(--border-secondary-01);
}

.safe365-accordion__item:last-child {
    border-bottom: 1px solid var(--border-secondary-01);
}

.safe365-accordion__heading {
    margin: 0;
}

.safe365-accordion__trigger,
.safe365-accordion__trigger:focus {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 20px;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: left;
}

/* Keep FAQ hit areas stable when KT common button state styles apply. */
#cfmClContents #safe365Faq .safe365-accordion__trigger,
#cfmClContents #safe365Faq .safe365-accordion__trigger:hover,
#cfmClContents #safe365Faq .safe365-accordion__trigger:focus,
#cfmClContents #safe365Faq .safe365-accordion__trigger:focus-visible,
#cfmClContents #safe365Faq .safe365-accordion__trigger:active {
    padding: 24px 20px;
    margin: 0;
    border: 0;
}

.safe365-accordion__icon {
    flex: none;
    transition: transform var(--motion-duration-medium) var(--motion-easing-ease-out);
}

.safe365-accordion__trigger[aria-expanded="true"] .safe365-accordion__icon {
    transform: rotate(180deg);
}

.safe365-accordion__panel {
    background: var(--surface-primary-02);
    padding: 24px 20px;
}

.safe365-accordion__panel p {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

/* 로그인 후(모바일 미사용자) 카드 하단 보조 설명 - .safe365-hero__card 재사용 */
.safe365-hero__sub {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
}

/* 점수 위젯 카드 */
.safe365-score-card {
    position: relative;
    width: 528px;
    flex: none;
    background: var(--background-default);
    border-radius: 16px;
    padding: 40px;
}

.safe365-score-card__name {
    margin: 0;
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 40px;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

.safe365-score-card__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}

.safe365-score-card__label {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.safe365-score-card__line.safe365-line-select {
    flex: none;
    width: 210px;
}

.safe365-line-select {
    position: relative;
    width: 100%;
}

.safe365-line-select__trigger {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    background-color: var(--background-default);
    font-size: 15px;
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-line-select__trigger[aria-expanded="true"] {
    border: 2px solid var(--border-primary-focused);
    padding: 0 15px;
}

.safe365-line-select__trigger[aria-expanded="true"] .safe365-line-select__chevron {
    transform: rotate(180deg);
}

.safe365-line-select__chevron {
    flex: none;
    transition: transform var(--motion-duration-medium) var(--motion-easing-ease-out);
}

.safe365-line-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--surface-primary-04);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(19, 20, 21, 0.1), 0 0 4px rgba(19, 20, 21, 0.05);
    z-index: 20;
}

.safe365-line-select__menu[hidden] {
    display: none;
}

.safe365-line-select__option {
    padding: 12px 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-line-select__option[aria-selected="true"] {
    background: var(--fill-tertiary-hover-04, var(--fill-tertiary-hover-01));
    font-weight: var(--font-weight-bold);
}

.safe365-score-card__score-row {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 40px;
}

.safe365-score-card__score {
    margin: 0;
    font-weight: var(--font-weight-bold);
    font-size: 60px;
    letter-spacing: -0.6px;
    color: var(--text-primary);
}

.safe365-score-card__score span {
    font-size: 24px;
    margin-left: 4px;
}

.safe365-score-card__tooltip-wrap {
    position: relative;
    margin-left: auto;
    display: inline-flex;
}

.safe365-score-card__tooltip,
.safe365-score-card__tooltip:focus {
    appearance: none;
    border: 0;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: var(--text-secondary-01);
}

.safe365-grade {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
}

.safe365-grade--danger { background: var(--red-100); color: var(--red-600); }
.safe365-grade--warning { background: var(--yellow-100); color: var(--yellow-600); }
.safe365-grade--progress { background: var(--tag-status-fill-progress); color: var(--tag-status-text-progress); }
.safe365-grade--positive { background: var(--green-100); color: var(--green-600); }

.safe365-gauge-wrap {
    position: relative;
    margin-top: 8px;
}

.safe365-gauge {
    position: relative;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e0282f 0%, #ffa82e 25%, #2ba7e8 55%, #3abd8b 85%);
    overflow: hidden;
}

.safe365-gauge__tick {
    position: absolute;
    top: 5px;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.safe365-gauge__mask {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: var(--border-secondary-02);
}

.safe365-gauge__marker {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6.5px;
    width: 11px;
    height: 10px;
    background: url("../images/safe365/polygon.svg") no-repeat center / contain;
    transform: translateX(-50%);
}

.safe365-tooltip-popover {
    position: absolute;
    top: 100%;
    right: 55px;
    margin-top: 12px;
    width: 272px;
    z-index: 10;
}

.safe365-tooltip-popover[hidden] {
    display: none;
}

.safe365-tooltip-popover__caret,
.safe365-tooltip-popover__caret::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

.safe365-tooltip-popover__caret {
    top: -8px;
    right: 12px;
    border-bottom: 8px solid var(--border-secondary-04);
}

.safe365-tooltip-popover__caret::before {
    top: 2px;
    left: -7px;
    z-index: 1;
    border-left-width: 7px;
    border-right-width: 7px;
    border-bottom: 8px solid var(--fill-on-white-inverse);
}

.safe365-tooltip-popover__body {
    position: relative;
    background: var(--fill-on-white-inverse);
    border: 1px solid var(--border-secondary-04);
    border-radius: 6px;
    padding: 16px 32px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(19, 20, 21, 0.1), 0 0 4px rgba(19, 20, 21, 0.05);
}

.safe365-tooltip-popover__row {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary-01);
}

.safe365-tooltip-popover__row .safe365-grade {
    height: 24px;
    width: 44px;
    justify-content: center;
    font-size: 12px;
    flex: none;
}

.safe365-tooltip-popover__close,
.safe365-tooltip-popover__close:focus {
    position: absolute;
    top: 16px;
    right: 8px;
    width: 20px;
    height: 20px;
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-tertiary-01);
    cursor: pointer;
}

/* 카드 제목 + 상태뱃지 한 줄 */
.safe365-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.safe365-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    flex: none;
}

.safe365-status__dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.safe365-status--positive { color: var(--green-400); }/* 1022 결함아이디1191153 */
.safe365-status--positive .safe365-status__dot { background: var(--green-400); }/* 1022 결함아이디1191153 */
.safe365-status--progress { color: var(--graphic-purple-400); }
.safe365-status--progress .safe365-status__dot { background: var(--graphic-purple-400); }
.safe365-status--warning { color: var(--graphic-yellow-500); }/* 1022 결함아이디1191153 */
.safe365-status--warning .safe365-status__dot { background: var(--graphic-yellow-500); }/* 1022 결함아이디1191153 */
.safe365-status--neutral { color: var(--text-tertiary-01); }
.safe365-status--neutral .safe365-status__dot { background: var(--text-disabled-01); }

.safe365-card__count {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-01);
}

.safe365-card__count strong {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 2px;
}

.safe365-card__count em {
    font-style: normal;
    font-size: 14px;
    color: var(--text-tertiary-01);
    margin-left: 8px;
}

.safe365-card__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.safe365-btn--ghost,
.safe365-btn--ghost:focus {
    flex: none;
    min-height: 44px;
    background: var(--fill-secondary-01);
    color: var(--text-primary);
    font-size: 13px;
    padding: 8px 12px;
}

.safe365-btn--ghost:hover {
    background: var(--fill-secondary-hover-01);
}

.safe365-btn--mission-done,
.safe365-btn--mission-done:focus {
    background: var(--fill-disabled-01);
    border: 1px solid var(--border-disabled-01);
    color: var(--text-primary-01);/* 1022 결함아이디1191137 */
    cursor: not-allowed;
    pointer-events: none;
}

.safe365-btn--mission-done:hover {
    background: var(--gray-750);
    color: var(--static-white);
}

.safe365-btn--full,
.safe365-btn--full:focus {
    width: 100%;
    min-height: 56px;
    background: var(--fill-primary);
    color: var(--text-inverse);
    font-size: 16px;
    padding: 8px 16px;
}

.safe365-btn--full:hover {
    background: var(--fill-primary-hover);
}

.safe365-btn--full:active {
    background: var(--fill-primary-pressed);
}

.safe365-btn--full:disabled {
    background: var(--fill-disabled-01);
    color: var(--text-disabled-01);
    cursor: not-allowed;
}

/* 팝업(모달) 공통 뼈대 */
.safe365-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safe365-modal__dim {
    position: absolute;
    inset: 0;
    background: var(--dim-overlay);
}

.safe365-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 640px;
    max-height: calc(100vh - 80px);
    background: var(--background-default);
    border-radius: 12px;
    box-shadow: 0 0 40px 0 rgba(19, 20, 21, 0.05), 0 20px 40px 0 rgba(19, 20, 21, 0.1);
    overflow: hidden;
}

.safe365-modal__dialog--sm {
    width: 400px;
}

.safe365-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 16px 16px 24px;
    flex: none;
}

.safe365-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-modal__subtitle {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-04);
}

.safe365-modal__close,
.safe365-modal__close:focus {
    appearance: none;
    border: 0;
    background: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-modal__body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 24px 24px;
    overflow-y: auto;
}

.safe365-modal__foot {
    flex: none;
    padding: 24px;
}

/* 안심 퀴즈 */
.safe365-quiz__steps {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.safe365-quiz__step {/* 1022 결함아이디1191143 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: solid 1px var(--border-primary-01);
    color: var(--fill-primary);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
}

.safe365-quiz__step[data-safe365-quiz-step-active] {/* 1022 결함아이디1191143 */
    background: var(--fill-primary);
    color: var(--text-inverse);
    font-weight: var(--font-weight-bold);
    border-color: var(--fill-primary);
}

.safe365-quiz__step-divider {
    width: 20px;
    height: 2px;
    background: var(--fill-secondary-hover-03);
}

.safe365-quiz__panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.safe365-quiz__question {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--border-secondary-01);
    border-radius: 8px;
}

.safe365-quiz__question p {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: center;
    word-break: keep-all;
}

.safe365-quiz__question--fill {
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px;
}

.safe365-quiz__fill-line {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: center;
}

.safe365-quiz__blank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 36px;
    padding: 0 12px;
    margin: 0 4px;
    background: var(--fill-on-white-inverse);
    border: 1px solid var(--border-secondary-02);
    border-radius: 6px;
    vertical-align: middle;
}

.safe365-quiz__divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
    border: 0;
    background: var(--border-secondary-01);
}

.safe365-quiz__choices {
    display: flex;
    gap: 12px;
}

.safe365-quiz__choices--row .safe365-quiz__choice {
    flex-direction: row;
}

.safe365-quiz__choices--list {
    flex-direction: column;
}

.safe365-quiz__choice,
.safe365-quiz__choice:focus {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.safe365-quiz__choice:hover {
    background: var(--fill-tertiary-hover-01);
}

.safe365-quiz__choice[aria-pressed="true"] {
    border: 2px solid var(--border-primary-focused, #191A1B);
    padding: 7px 15px;
}

.safe365-quiz__choice--list,
.safe365-quiz__choice--list:focus {
    flex: none;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    align-content: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.safe365-quiz__choice-icon--ox {
    flex: none;
}

.safe365-quiz__choice-num {
    flex: none;
    width: 24px;
    height: 24px;
}

.safe365-quiz__result {
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: var(--gray-50);
    border: 1px solid var(--border-secondary-01);
    border-radius: 8px;
    text-align: center;
    gap: 8px;
}

.safe365-quiz__result-icon {
    flex: none;
    width: 128px;
    height: 128px;
}

.safe365-quiz__result-title {
    margin: 0;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-quiz__result-desc {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* 공유하기 팝업 */
.safe365-modal__body.safe365-share__body {
    align-items: center;
    gap: 24px;
}

.safe365-share__icons {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.safe365-share__icon-btn,
.safe365-share__icon-btn:focus {
    appearance: none;
    flex: none;
    width: 80px;
    height: 80px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.safe365-share__icon-btn img {
    width: 100%;
    height: 100%;
}

.safe365-share__actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.safe365-share__btn,
.safe365-share__btn:focus {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    word-break: keep-all;
    cursor: pointer;
}

.safe365-share__btn:hover {
    background: var(--fill-tertiary-hover-01);
}

/* 안전 습관 체크하기 팝업 */
.safe365-checklist__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.safe365-checklist__item {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.safe365-checklist__icon {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    background-image: url("../images/safe365/checkbox-checked.svg");
}

.safe365-checklist__label {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}
