.safety-page { min-width: 0; }
.safety-local-heading { margin: 12px 0 17px; }
.safety-local-heading h1, .safety-delete-page > h2, .safety-dpo-page > h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.16; }
.safety-local-heading p, .safety-delete-page > p, .safety-dpo-page > p { margin: 9px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.safety-local-heading .safety-meta { margin-top: 8px; color: #53627a; font-size: 13px; }
.safety-page-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 22px 0 0; border-bottom: 1px solid var(--line); }
.safety-page-tabs a { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; color: var(--text); font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.safety-page-tabs a:first-child { padding-left: 0; }
.safety-page-tabs a + a { border-left: 1px solid #dce4ef; }
.safety-page-tabs a.active, .safety-page-tabs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.safety-page-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 38px; margin-top: 24px; }
.safety-page-toc { align-self: start; padding: 20px 10px 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.safety-page-toc h2 { margin: 0 12px 13px; color: var(--ink); font-size: 17px; }
.safety-page-toc a { min-height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border-radius: 8px; color: var(--text); font-size: 14px; line-height: 1.35; }
.safety-page-toc a:hover, .safety-page-toc a.active { color: var(--brand); background: #f2f7ff; }
.safety-page-toc a span { flex: 0 0 19px; }
.safety-page-article { min-width: 0; }
.safety-page-section { scroll-margin-top: 112px; padding: 0 0 21px; border-bottom: 1px solid var(--line); }
.safety-page-section + .safety-page-section { margin-top: 22px; }
.safety-page-section h2 { margin: 0 0 11px; color: var(--ink); font-size: 22px; line-height: 1.35; }
.safety-page-section h3 { margin: 18px 0 8px; color: var(--ink); font-size: 17px; }
.safety-page-section p { margin: 0 0 10px; color: #53627a; font-size: 14px; line-height: 1.75; }
.safety-page-section ul { margin: 8px 0 12px; padding-left: 22px; color: #53627a; font-size: 14px; line-height: 1.75; }
.safety-page-section li + li { margin-top: 4px; }
.safety-info-callout { margin: 14px 0 18px; padding: 13px 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #d7e6ff; border-radius: 10px; background: #f0f6ff; color: var(--text); font-size: 14px; line-height: 1.6; }
.safety-info-callout.warn { border-color: #f2d28d; background: #fffaf0; }
.safety-info-callout .safety-asset-icon { margin-top: 1px; color: var(--brand); }
.safety-info-callout.warn .safety-asset-icon { color: #ef9c16; }
.safety-asset-icon { width: 30px; height: 30px; flex: 0 0 30px; display: inline-block; background: currentColor; -webkit-mask: var(--safety-icon) center / contain no-repeat; mask: var(--safety-icon) center / contain no-repeat; }
.safety-export-head > .safety-asset-icon, .safety-community-standard > .safety-asset-icon, .safety-responsible-row > .safety-asset-icon, .safety-mini-card > .safety-asset-icon, .safety-history-side .safety-asset-icon { color: var(--brand); }
.safety-asset-icon.large { width: 56px; height: 56px; flex-basis: 56px; }
.safety-asset-icon.small { width: 24px; height: 24px; flex-basis: 24px; }
.safety-inline-card { padding: 16px 18px; border: 1px solid #cfe0fb; border-radius: 10px; background: linear-gradient(110deg, #f5f9ff 0%, #fff 100%); }
.safety-inline-card p:last-child { margin-bottom: 0; }
.safety-link-card { padding: 16px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #b8d2ff; border-radius: 10px; background: #fff; }
.safety-link-card + .safety-link-card { margin-top: 10px; }
.safety-link-card .safety-link-copy { min-width: 0; flex: 1 1 auto; }
.safety-link-card strong { display: block; color: var(--ink); font-size: 15px; }
.safety-link-card span { display: block; margin-top: 3px; color: #53627a; font-size: 13px; line-height: 1.5; }
.safety-link-card a { color: var(--brand); font-size: 14px; font-weight: 700; white-space: nowrap; }
.safety-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.safety-mini-card { padding: 15px 16px; border: 1px solid #d6e2f2; border-radius: 10px; background: #f8fbff; }
.safety-mini-card h3 { margin: 0 0 8px; font-size: 16px; }
.safety-mini-card p { margin: 0; }
.safety-icon-list { margin-top: 12px; border-top: 1px solid var(--line); }
.safety-icon-row { min-height: 58px; padding: 9px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.safety-icon-row strong { display: block; color: var(--ink); font-size: 14px; }
.safety-icon-row span { display: block; margin-top: 2px; color: #53627a; font-size: 12px; line-height: 1.45; }
.safety-action-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.safety-action-row .portal-button { min-height: 42px; }
.safety-privacy-table { overflow: hidden; border-radius: 11px; background: #f1f6ff; }
.safety-privacy-table h3 { margin: 0; padding: 15px 18px 8px; }
.safety-privacy-table div { min-height: 48px; padding: 11px 18px; display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 18px; border-top: 1px solid #d6e2f2; color: #53627a; font-size: 13px; line-height: 1.55; }
.safety-privacy-table strong { color: var(--ink); }
.safety-contact-list { display: grid; gap: 10px; }
.safety-contact-row { min-height: 64px; padding: 12px 16px; display: grid; grid-template-columns: 38px minmax(160px, .9fr) minmax(150px, 1fr) minmax(130px, .9fr); align-items: center; gap: 12px; border: 1px solid #d9e3f1; border-radius: 10px; background: #fff; }
.safety-contact-row strong { color: var(--ink); font-size: 14px; }
.safety-contact-row a { color: var(--brand); font-size: 16px; font-weight: 700; }
.safety-contact-row span { color: #53627a; font-size: 12px; line-height: 1.45; }
.safety-entity-card { margin-top: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 13px; border: 1px solid #d9e3f1; border-radius: 10px; background: #f8fbff; }
.safety-entity-card strong { display: block; color: var(--ink); font-size: 14px; }
.safety-entity-card span { display: block; margin-top: 3px; color: #53627a; font-size: 13px; }
.safety-portal-privacy_policy #privacy-contact .safety-contact-row > .safety-asset-icon,
.safety-portal-privacy_policy #privacy-contact .safety-entity-card > .safety-asset-icon,
.safety-portal-privacy_policy #privacy-contact .safety-info-callout > .safety-asset-icon { color: var(--brand); }
.safety-community-standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.safety-community-standard { min-height: 115px; padding: 16px; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; border: 1px solid #cadcf8; border-radius: 10px; background: #fff; }
.safety-community-standard h3 { margin: 0 0 6px; font-size: 15px; }
.safety-community-standard p { margin: 0; font-size: 12px; line-height: 1.5; }
.safety-prohibited-list { overflow: hidden; border: 1px solid #f0d18d; border-radius: 10px; background: #fffaf0; }
.safety-prohibited-item { min-height: 42px; padding: 0 13px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid #f2dfb3; color: #4f5869; font-size: 13px; }
.safety-prohibited-item:last-child { border-bottom: 0; }
.safety-prohibited-item .safety-asset-icon { color: #ed9712; }
.safety-prohibited-item b { color: #8f7044; font-size: 18px; font-weight: 400; }
.safety-responsible-list { overflow: hidden; border: 1px solid #cfe0fb; border-radius: 10px; background: #f6f9ff; }
.safety-responsible-row { min-height: 55px; padding: 9px 14px; display: grid; grid-template-columns: 32px 155px minmax(0,1fr); align-items: center; gap: 12px; border-bottom: 1px solid #dbe7f8; }
.safety-responsible-row:last-child { border-bottom: 0; }
.safety-responsible-row strong { color: var(--ink); font-size: 14px; }
.safety-responsible-row span { color: #53627a; font-size: 13px; }
.safety-portal-community_rules #community-responsible .safety-responsible-row { grid-template-columns: 48px 155px minmax(0,1fr); }
.safety-portal-community_rules #community-responsible .safety-responsible-row > .safety-asset-icon {
    width: 48px;
    height: 48px;
    background: var(--safety-icon) center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}
.safety-enforcement { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.safety-enforcement-item { min-height: 60px; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #b8d2ff; border-radius: 9px; background: #f5f9ff; color: var(--ink); font-size: 13px; text-align: center; }
.safety-portal-community_rules #community-enforcement .safety-asset-icon { color: var(--brand); }
.safety-enforcement-arrow { color: var(--brand); font-size: 23px; }
.safety-report-box { padding: 14px 16px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 14px; border: 1px solid #b8d2ff; border-radius: 10px; background: #fff; }
.safety-report-box p { margin: 0 0 10px; }
.safety-report-details { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: #53627a; font-size: 13px; }
.safety-report-details a { color: var(--brand); }
.safety-portal-community_rules #community-reporting .safety-asset-icon { color: var(--brand); }
.safety-policy-history { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 28px; }
.safety-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.safety-filter { min-height: 38px; padding: 0 15px; border: 1px solid #d9e3f1; border-radius: 9px; background: #fff; color: var(--text); cursor: pointer; font-size: 13px; }
.safety-filter.active, .safety-filter:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.safety-history-list { position: relative; display: grid; gap: 14px; padding-left: 45px; }
.safety-history-list:before { content: ''; position: absolute; left: 13px; top: 22px; bottom: 22px; width: 1px; background: #cddcf0; }
.safety-history-item { position: relative; padding: 19px 20px; border: 1px solid #d9e3f1; border-radius: 11px; background: #fff; }
.safety-history-item:before { content: ''; position: absolute; left: -38px; top: 23px; width: 16px; height: 16px; border: 2px solid #d2deed; border-radius: 50%; background: #fff; }
.safety-history-item.active { border-color: #79aefb; background: #f5f9ff; }
.safety-history-item.active:before { border-color: var(--brand); box-shadow: inset 0 0 0 4px #fff; background: var(--brand); }
.safety-history-item h3 { margin: 0; font-size: 16px; }
.safety-history-item p { margin: 10px 0; }
.safety-history-side { display: grid; align-content: start; gap: 18px; }
.safety-side-card { padding: 20px; border: 1px solid #d9e3f1; border-radius: 11px; background: #fff; }
.safety-side-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 16px; }
.safety-side-card p { margin: 0; color: #53627a; font-size: 13px; line-height: 1.7; }
.safety-side-contact { margin-top: 17px; padding-top: 15px; display: grid; gap: 15px; border-top: 1px solid var(--line); }
.safety-side-contact div { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: start; }
.safety-side-contact strong, .safety-side-contact a { display: block; color: var(--ink); font-size: 13px; }
.safety-side-contact a { margin-top: 3px; color: var(--brand); font-weight: 500; }
.safety-export-page { width: min(100%, 1220px); margin: 0 auto; padding: 18px 0 4px; }
.safety-export-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.safety-export-cloud-icon { width: 56px; height: 56px; flex: 0 0 56px; color: var(--brand); }
.safety-export-cloud-icon svg { width: 100%; height: 100%; display: block; }
.safety-export-head h1, .safety-export-head h2 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.2; }
.safety-export-head p { margin: 8px 0 0; }
.safety-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: center; gap: 44px; margin: 0 64px 30px; }
.safety-step { position: relative; display: flex; align-items: center; gap: 10px; color: #53627a; font-size: 14px; }
.safety-step + .safety-step:before { content: ''; position: absolute; right: calc(100% + 18px); width: calc(100% - 8px); height: 1px; background: #cfdced; }
.safety-step.active { color: var(--brand); }
.safety-step.complete { color: var(--brand); }
.safety-step-number { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cdd9ea; border-radius: 50%; background: #fff; color: var(--text); font-size: 18px; }
.safety-step.active .safety-step-number { border-color: var(--brand); background: var(--brand); color: #fff; }
.safety-step.complete .safety-step-number { border-color: #8ab7fb; color: var(--brand); }
.safety-export-panel[hidden] { display: none !important; }
.safety-export-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.9fr); gap: 22px; }
.safety-choice-panel, .safety-export-note { padding: 18px; border: 1px solid #d9e3f1; border-radius: 11px; background: #fff; }
.safety-choice-panel h2, .safety-choice-panel h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; }
.safety-export-note { background: #f4f8ff; }
.safety-export-note .safety-asset-icon { margin-bottom: 14px; color: var(--brand); }
.safety-export-note p { margin: 0; font-size: 14px; line-height: 1.7; }
.safety-choice-row { min-height: 78px; padding: 11px 0; display: grid; grid-template-columns: 22px 42px minmax(0,1fr); align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.safety-choice-row:last-child { border-bottom: 0; }
.safety-choice-row input { width: 19px; height: 19px; accent-color: var(--brand); }
.safety-choice-icon { width: 42px; height: 42px; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; border: 1px solid #d6e4f8; border-radius: 9px; background: #eff5ff; }
.safety-choice-icon img { width: 27px; height: 27px; display: block; object-fit: contain; }
.safety-choice-row strong { display: block; color: var(--ink); font-size: 15px; }
.safety-choice-row span { display: block; margin-top: 3px; color: #53627a; font-size: 12px; }
.safety-export-confirm { margin-top: 16px; display: flex; align-items: flex-start; gap: 10px; color: #53627a; font-size: 13px; line-height: 1.6; }
.safety-export-confirm input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.safety-export-actions { align-items: center; }
.safety-export-actions .portal-button { min-width: 164px; min-height: 48px; }
.safety-export-actions .safety-policy-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.safety-export-actions .safety-policy-link .safety-asset-icon { width: 20px; height: 20px; flex-basis: 20px; color: var(--brand); }
.safety-export-review { padding: 24px; border: 1px solid #d9e3f1; border-radius: 11px; background: #fff; }
.safety-export-review > h2 { margin: 0; color: var(--ink); font-size: 21px; }
.safety-export-review > p { margin: 8px 0 18px; color: #53627a; font-size: 14px; }
.safety-export-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.safety-export-summary-item { min-height: 58px; padding: 0 16px 0 44px; display: flex; align-items: center; position: relative; border: 1px solid #d6e2f2; border-radius: 9px; background: #f8fbff; color: var(--ink); font-size: 14px; font-weight: 700; }
.safety-export-summary-item:before { content: '✓'; position: absolute; left: 15px; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; }
.safety-export-complete { min-height: 330px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #cfe0fb; border-radius: 12px; background: #f8fbff; text-align: center; }
.safety-export-complete > .safety-asset-icon { color: var(--brand); }
.safety-export-complete h2 { margin: 18px 0 0; color: var(--ink); font-size: 24px; }
.safety-export-complete p { max-width: 620px; margin: 10px auto 0; color: #53627a; font-size: 14px; line-height: 1.7; }
.safety-export-complete .safety-action-row { justify-content: center; }
.safety-delete-warning { margin: 14px 0 19px; }
.safety-delete-options { display: grid; gap: 11px; }
.safety-delete-option { min-height: 79px; padding: 12px 17px; display: grid; grid-template-columns: 22px 44px minmax(0,1fr); align-items: center; gap: 13px; border: 1px solid #d9e3f1; border-radius: 10px; cursor: pointer; }
.safety-delete-option:has(input:checked) { border-color: #7baeff; background: #f5f9ff; }
.safety-delete-option input { width: 19px; height: 19px; accent-color: var(--brand); }
.safety-delete-option .safety-asset-icon { width: 44px; height: 44px; flex-basis: 44px; padding: 9px; color: #53627a; }
.safety-delete-option:has(input:checked) .safety-asset-icon { color: var(--brand); }
.safety-delete-option strong { display: block; color: var(--ink); font-size: 15px; }
.safety-delete-option span { display: block; margin-top: 3px; color: #53627a; font-size: 12px; }
.safety-confirm-label { display: block; margin-top: 20px; color: var(--ink); font-size: 15px; font-weight: 700; }
.safety-confirm-label em { color: #ef4444; font-style: normal; }
.safety-confirm-input { width: 100%; min-height: 43px; margin-top: 8px; padding: 0 13px; border: 1px solid #cfdbea; border-radius: 8px; outline: none; }
.safety-confirm-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px #edf5ff; }
.safety-delete-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin-top: 19px; }
.safety-delete-actions .portal-button { width: 100%; min-height: 46px; }
.safety-delete-actions .portal-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.safety-dpo-banner { margin-bottom: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: #f3f7ff; color: var(--ink); font-size: 14px; }
.safety-dpo-banner > .safety-asset-icon { color: var(--brand); }
.safety-dpo-banner a { color: var(--brand); font-weight: 700; }
.safety-dpo-form { padding: 20px; border: 1px solid #d9e3f1; border-radius: 11px; background: #fff; }
.safety-dpo-form .portal-field select { appearance: auto; }
.safety-dpo-form .portal-field textarea { min-height: 120px; }
.safety-dpo-form .portal-form-hint { display: flex; align-items: flex-end; gap: 6px; }
.safety-dpo-form .portal-form-hint > .safety-asset-icon { margin: 0; }
.safety-dpo-note { margin: 16px 0 0; color: #71809a; font-size: 13px; line-height: 1.6; }
@media (max-width: 1050px) { .safety-page-layout { grid-template-columns: 220px minmax(0,1fr); gap: 20px; } .safety-contact-row { grid-template-columns: 38px minmax(130px, .8fr) minmax(130px, 1fr); } .safety-contact-row span { grid-column: 2 / -1; } .safety-policy-history { grid-template-columns: minmax(0,1fr); } .safety-history-side { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 921px) { .safety-page-toc { position: sticky; top: 110px; z-index: 4; max-height: calc(100vh - 132px); overflow-y: auto; overscroll-behavior: contain; } }
@media (max-width: 920px) { .safety-page-layout, .safety-policy-history, .safety-export-grid { display: block; } .safety-page-toc { margin-bottom: 18px; } .safety-community-standards, .safety-mini-grid, .safety-export-summary { grid-template-columns: 1fr; } .safety-enforcement { grid-template-columns: 1fr; } .safety-enforcement-arrow { transform: rotate(90deg); justify-self: center; } .safety-history-side { display: grid; grid-template-columns: 1fr; margin-top: 18px; } .safety-export-page { padding-top: 4px; } .safety-steps { margin: 0 0 20px; gap: 8px; } .safety-step { gap: 6px; font-size: 12px; } .safety-step-number { width: 32px; height: 32px; font-size: 14px; } .safety-step + .safety-step:before { display: none; } .safety-export-note { margin-top: 14px; } .safety-export-actions .portal-button { min-width: 120px; flex: 1 1 120px; } .safety-export-actions .safety-policy-link { width: 100%; margin: 6px 0 0; } .safety-contact-row { grid-template-columns: 34px minmax(0,1fr); } .safety-contact-row a, .safety-contact-row span { grid-column: 2; } .safety-delete-actions { gap: 10px; } }
