.sds-push-admin { max-width: none; }
.sds-push-status-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(132px,1fr)); gap: 10px; margin: 18px 0; width: 100%; }
.sds-push-status-card { min-height: 68px; padding: 10px 12px; border: 1px solid #c3c4c7; border-radius: 6px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.sds-push-status-card span { color: #50575e; }
.sds-push-status-card strong { font-size: 16px; text-align: right; }
.sds-push-status-card.is-good { border-left: 4px solid #00a32a; }
.sds-push-status-card.is-bad { border-left: 4px solid #d63638; }
.sds-push-section { box-sizing: border-box; width: 100%; margin-top: 18px; padding: 18px; border: 1px solid #c3c4c7; border-radius: 6px; background: #fff; }
.sds-push-section > h2:first-child { margin-top: 0; }
.sds-push-policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 14px 0 20px; }
.sds-push-policy-card { box-sizing: border-box; min-width: 0; padding: 14px; border: 1px solid #dcdcde; border-radius: 6px; background: #f6f7f7; }
.sds-push-policy-card h3 { margin: 0 0 10px; font-size: 14px; }
.sds-push-policy-card .description { margin: 8px 0 0; }
.sds-push-policy-control { display: flex; align-items: flex-start; gap: 7px; }
.sds-push-policy-control input[type="checkbox"] { flex: 0 0 auto; margin-top: 2px; }
.sds-push-panel { width: 100%; }
body:not(.wp-admin) .sds-push-panel { max-width: 800px; }
.sds-push-current { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #dcdcde; border-radius: 6px; background: #f6f7f7; }
.sds-push-current p { margin: 5px 0 0; }
.sds-push-pill { flex: 0 0 auto; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 700; line-height: 1.6; }
.sds-push-pill.is-good { background: #d7f0df; color: #005c12; }
.sds-push-pill.is-warning { background: #fcf0c3; color: #6e4c00; }
.sds-push-pill.is-bad { background: #f7d4d4; color: #8a1818; }
.sds-push-pill.is-neutral { background: #e9e9ea; color: #3c434a; }
.sds-push-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sds-push-message { min-height: 20px; margin: 10px 0 0; }
.sds-push-message.is-success { color: #008a20; }
.sds-push-message.is-error { color: #b32d2e; }
.sds-push-message.is-warning { color: #996800; }
.sds-push-ios-help { margin-top: 12px; padding: 12px 14px; border-left: 4px solid #dba617; background: #fcf9e8; }
.sds-push-ios-help p { margin-bottom: 0; }
.sds-push-devices { margin-top: 20px; }
.sds-push-devices h3 { margin-bottom: 8px; }
.sds-push-device-list { border-top: 1px solid #dcdcde; }
.sds-push-device-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #dcdcde; }
.sds-push-device-meta { margin-top: 3px; color: #646970; font-size: 12px; }
.sds-push-current-marker { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #e5f5fa; color: #135e96; font-size: 11px; font-weight: 600; }
.sds-push-privacy-note { margin-top: 16px; color: #50575e; font-size: 12px; }
.sds-push-login-required { padding: 12px 14px; border: 1px solid #dcdcde; border-radius: 6px; }
@media (max-width: 600px) { .sds-push-current,.sds-push-device-row { align-items: stretch; flex-direction: column; } .sds-push-device-row .button { align-self: flex-start; } }

body:not(.wp-admin) .sds-push-panel .button { appearance: none; border: 1px solid #8c8f94; border-radius: 4px; background: #f6f7f7; color: #1d2327; cursor: pointer; font: inherit; line-height: 1.4; padding: 7px 12px; }
body:not(.wp-admin) .sds-push-panel .button:hover { background: #f0f0f1; }
body:not(.wp-admin) .sds-push-panel .button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
body:not(.wp-admin) .sds-push-panel .button:disabled { cursor: default; opacity: .6; }
body:not(.wp-admin) .sds-push-panel .button-primary { border-color: #2271b1; background: #2271b1; color: #fff; }
body:not(.wp-admin) .sds-push-panel .button-primary:hover { background: #135e96; }
.sds-push-topic-preferences { margin-top: 16px; padding: 14px; border: 1px solid #dcdcde; border-radius: 6px; background: #fff; }
.sds-push-topic-preferences h3 { margin: 0 0 10px; }
.sds-push-topic-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 8px; margin-bottom: 10px; }
.sds-push-topic-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: 38px; padding: 8px 10px; border: 1px solid #dcdcde; border-radius: 5px; }
.sds-push-topic-audience { color: #646970; font-size: 11px; white-space: nowrap; }
.sds-push-topic-table-wrap { overflow-x: auto; }
.sds-push-topic-table th:nth-child(1) { width: 30%; }
.sds-push-topic-table th:nth-child(2) { width: 28%; }
.sds-push-topic-table th:nth-child(3) { width: 22%; }
.sds-push-topic-table th:nth-child(4) { width: 8%; text-align: center; }
.sds-push-topic-table th:nth-child(5) { width: 12%; }
.sds-push-topic-table input.regular-text { box-sizing: border-box; width: 100%; max-width: none; }
.sds-push-topic-table select { max-width: 100%; }
.sds-push-topic-active { text-align: center; }
.sds-push-number { box-sizing: border-box; width: 8em; min-width: 8em; text-align: right; }
@media (max-width: 900px) { .sds-push-policy-grid { grid-template-columns: 1fr; } }
@media (max-width: 782px) { .sds-push-topic-options { grid-template-columns: 1fr; } .sds-push-topic-table { min-width: 760px; } }
