/* Scoped CommentMate admin styles. */
.commentmate-admin { max-width: 1040px; }
			.commentmate-admin .nav-tab-wrapper { margin: 20px 0 18px; }
			.commentmate-admin-card { max-width: 920px; margin: 18px 0; padding: 24px; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
			.commentmate-admin-card--primary { border-color: #b6d7ff; background: linear-gradient(135deg, #f7fbff, #fff); }
			.commentmate-admin-card h2 { margin: 0 0 10px; font-size: 20px; }
			.commentmate-admin-card p { max-width: 760px; }
			.commentmate-admin-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
			.commentmate-admin-kicker { margin: 0 0 4px; color: #50575e; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
			.commentmate-status { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; font-weight: 600; }
			.commentmate-status--active { color: #0a5c31; background: #edfaef; }
			.commentmate-status--paused { color: #7a4b00; background: #fff8e5; }
			.commentmate-status--ended { color: #8a2424; background: #fce8e8; }
			.commentmate-status--idle { color: #50575e; background: #f0f0f1; }
			.commentmate-status--ok { color: #0a5c31; background: #edfaef; }
			.commentmate-status--warning { color: #7a4b00; background: #fff8e5; }
			.commentmate-status--critical { color: #8a2424; background: #fce8e8; }
			.commentmate-admin-steps { margin: 16px 0 20px 20px; }
			.commentmate-admin-steps li { margin: 7px 0; }
			.commentmate-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 8px; }
			.commentmate-admin-actions form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
			.commentmate-active-share-link { max-width: 760px; margin: 18px 0; }
			.commentmate-active-share-link__field { position: relative; display: flex; align-items: stretch; gap: 8px; margin-top: 6px; }
			.commentmate-active-share-link__field input { min-width: 0; flex: 1 1 auto; min-height: 42px; box-sizing: border-box; }
			.commentmate-icon-button { display: inline-flex !important; flex: 0 0 42px; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 !important; }
			.commentmate-icon-button svg { width: 18px; height: 18px; }
			.commentmate-copy-toast { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 8px); max-width: min(280px, calc(100vw - 64px)); padding: 8px 10px; border: 1px solid #57a773; border-radius: 5px; color: #135e2b; background: #edfaef; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); font-weight: 600; }
			.commentmate-storage-summary { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
			.commentmate-storage-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
			.commentmate-compatibility-list { display: grid; gap: 10px; margin: 10px 0 18px; }
			.commentmate-compatibility-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
			.commentmate-compatibility-list .description { flex: 1 0 100%; margin-left: 0; }
			.commentmate-data-setting { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
			.commentmate-checkbox-control { display: inline-flex; align-items: center; gap: 6px; }
			.commentmate-checkbox-control input { margin: 0; }
			.commentmate-delete-all { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dcdcde; }
			.commentmate-delete-all [hidden] { display: none !important; }
			.commentmate-delete-all h3 { margin: 0; font-size: 16px; }
			.commentmate-delete-all p { margin: 8px 0 0; }
			.commentmate-delete-all__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
			.commentmate-delete-all__actions > .button { margin: 0; }
			.commentmate-delete-all__status { min-height: 1.5em; margin-top: 12px; font-weight: 600; }
			.commentmate-button-danger { border-color: #b32d2e !important; color: #fff !important; background: #b32d2e !important; }
			.commentmate-button-danger:hover, .commentmate-button-danger:focus { border-color: #8a2424 !important; color: #fff !important; background: #8a2424 !important; }
			.commentmate-button-danger:disabled { border-color: #8c8f94 !important; color: #f0f0f1 !important; background: #8c8f94 !important; }
			.commentmate-delete-dialog:not([open]) { display: none; }
			.commentmate-delete-dialog { max-width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 16px 50px rgba(0, 0, 0, .35); }
			.commentmate-delete-dialog[open] { position: fixed; z-index: 100000; top: 50%; left: 50%; width: min(560px, calc(100vw - 32px)); margin: 0; transform: translate(-50%, -50%); background: #fff; }
			body.commentmate-delete-dialog-open::before { position: fixed; z-index: 99999; inset: 0; content: ""; background: rgba(29, 35, 39, .62); }
			body.commentmate-delete-dialog-open { overflow: hidden; }
			.commentmate-delete-dialog::backdrop { background: rgba(29, 35, 39, .62); }
			.commentmate-delete-dialog__content { padding: 24px; }
			.commentmate-delete-dialog h2 { margin: 0 0 12px; font-size: 20px; }
			.commentmate-delete-dialog__status { min-height: 1.5em; margin: 16px 0 0; font-weight: 600; }
			.commentmate-delete-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
			.commentmate-delete-dialog__actions .commentmate-button-danger { margin: 0; }
			.commentmate-notification-settings { display: grid; gap: 20px; margin-top: 20px; }
			.commentmate-notification-settings fieldset { display: grid; gap: 8px; margin: 0; padding: 16px; border: 1px solid #dcdcde; border-radius: 6px; }
			.commentmate-notification-settings legend { padding: 0 4px; font-size: 16px; line-height: 1.4; font-weight: 650; }
			.commentmate-notification-settings .description { margin: 0; }
			.commentmate-field-label { display: block; margin-top: 6px; font-weight: 600; }
			.commentmate-notification-settings input[type="time"] { width: 10em; min-width: 140px; }
			.commentmate-control-heading { display: inline-flex; align-items: center; justify-self: start; gap: 4px; min-width: 0; }
			.commentmate-radio-control { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: start; }
			.commentmate-radio-control > input { margin-top: 3px; }
			.commentmate-radio-control__content { display: grid; gap: 2px; min-width: 0; }
			.commentmate-radio-control__content > span { color: #50575e; }
			.commentmate-comment-cleanup { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dcdcde; }
			.commentmate-comment-cleanup h3 { display: flex; align-items: center; margin: 0; font-size: 16px; }
			.commentmate-comment-cleanup p { margin: 6px 0 0; }
			.commentmate-comment-cleanup__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
			.commentmate-comment-cleanup__actions form { margin: 0; }
			.commentmate-info-tip { display: inline-flex; position: relative; flex: 0 0 auto; margin-left: 4px; padding: 0; border: 0; color: inherit; background: transparent; vertical-align: text-bottom; }
			.commentmate-info-tip__icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid #50575e; border-radius: 50%; color: #50575e; font: 700 11px/1 Arial, sans-serif; cursor: help; }
			.commentmate-info-tip:focus { outline: 2px solid #2271b1; outline-offset: 2px; border-radius: 50%; }
			.commentmate-info-tip__content { position: absolute; z-index: 10; bottom: calc(100% + 8px); left: 50%; width: min(320px, calc(100vw - 72px)); padding: 10px 12px; border-radius: 5px; color: #fff; background: #1d2327; box-shadow: 0 3px 10px rgba(0, 0, 0, .22); font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: left; transform: translateX(-50%); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .15s ease, visibility .15s ease; }
			.commentmate-info-tip:hover .commentmate-info-tip__content, .commentmate-info-tip:focus .commentmate-info-tip__content { visibility: visible; opacity: 1; }
			.commentmate-admin .button-hero { min-height: 34px; padding: 0 16px; font-weight: 600; }
			.commentmate-generate-link-button { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 44px !important; margin-top: 8px !important; }
			.commentmate-generate-link-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
			@media (max-width: 600px) { .commentmate-admin-card { padding: 18px; } .commentmate-admin-card__heading { display: block; } .commentmate-status { margin-top: 10px; } }

.commentmate-admin-card > form { margin-block: 20px; }
.commentmate-admin-card > form:last-child { margin-block-end: 0; }
.commentmate-storage-setting > .button { margin-block-start: 16px; }
.commentmate-storage-setting label { display: block; margin-block-end: 8px; }
.commentmate-storage-setting input { max-width: 100%; }
.commentmate-next-steps { margin-block-end: 0; padding-inline-start: 8px; }
.commentmate-next-steps li { margin-block: 14px; padding-inline-start: 6px; line-height: 1.6; }
