.mwi-settings-header { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; }
.mwi-settings-header img { display: block; width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; }
.mwi-settings-header h1 { margin: 0 0 6px; }
.mwi-settings-header p { margin: 0; }
.mwi-settings-wrap .form-table th { width: 240px; }
.mwi-settings-wrap .form-table td { max-width: 760px; }
.mwi-settings-header { flex-wrap: wrap; }
html[dir="rtl"] .mwi-settings-header { direction: rtl; text-align: right; }
html[dir="rtl"] .mwi-settings-wrap .form-table th { text-align: right; }
@media screen and (max-width: 782px) { .mwi-settings-wrap .form-table th { width: auto; } .mwi-settings-header { align-items: flex-start; } }

/* Standalone 45 Design family layout, aligned with Grid Gallery's Overview.
 * No shared Core dependency; page rules stay within this plugin's admin wrapper. */
.mwi-admin-navigation { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; border-bottom: 1px solid #c3c4c7; }
.mwi-admin-navigation a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; text-decoration: none; }
.mwi-admin-navigation a[aria-current="page"] { border-bottom: 3px solid currentColor; font-weight: 600; }
.mwi-overview { color: #1d2327; }
.mwi-overview *, .mwi-overview *::before, .mwi-overview *::after { box-sizing: border-box; }
.mwi-overview-hero { display: flex; align-items: center; gap: 16px; margin: 18px 0 16px; padding: 12px 16px; background: #fff; border: 1px solid #dcdcde; border-inline-start: 4px solid #2271b1; border-radius: 8px; }
.mwi-overview .mwi-plugin-logo { display: block; width: 52px; height: 52px; object-fit: contain; flex: 0 0 52px; }
.mwi-overview-header-copy { min-width: 0; }
.mwi-overview-header-copy h1 { padding: 0; margin: 0 0 6px; font-size: 24px; line-height: 1.35; }
.mwi-overview-header-copy p { margin: 0; color: #646970; }
.mwi-overview-header-copy .mwi-overview-version { font-size: 12px; }
.mwi-overview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; flex-shrink: 0; }
.mwi-overview .mwi-admin-navigation { gap: 6px; padding-inline: 12px; }
.mwi-overview .mwi-admin-navigation a { padding: 8px 14px; margin-block-end: -1px; border: 1px solid #c3c4c7; border-radius: 5px 5px 0 0; background: #e9e9eb; color: #50575e; }
.mwi-overview .mwi-admin-navigation a[aria-current="page"] { background: #fff; border-block-start: 3px solid #2271b1; border-block-end-color: #fff; color: #1d2327; padding-block-start: 6px; }
.mwi-overview-panel { min-width: 0; padding: 18px; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.035); overflow-wrap: anywhere; }
.mwi-overview-intro { margin-block-end: 18px; }
.mwi-overview .mwi-overview-tagline { margin: 0 0 6px; font-size: 20px; line-height: 1.4; font-weight: 600; }
.mwi-overview p { font-size: 13px; line-height: 1.6; }
.mwi-overview h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.mwi-overview h2 .dashicons { flex: 0 0 20px; color: #2271b1; }
.mwi-overview h3 { font-size: 13px; line-height: 1.5; margin: 0 0 4px; }
.mwi-overview h3 + p { margin-block-start: 0; }
.mwi-overview-panel > :last-child { margin-block-end: 0; }
.mwi-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mwi-overview-main, .mwi-overview-aside { min-width: 0; display: grid; gap: 16px; }
.mwi-overview-features { list-style: none; padding: 0; margin: 0; }
.mwi-overview-features li { display: flex; align-items: center; gap: 14px; padding: 16px 0; margin: 0; border-block-end: 1px solid #f0f0f1; }
.mwi-overview-features li:last-child { border: 0; padding-block-end: 0; }
.mwi-overview-features li > .dashicons { box-sizing: content-box; width: 24px; height: 24px; padding: 10px; flex: 0 0 24px; font-size: 24px; border-radius: 50%; background: #edf5ff; color: #2271b1; }
.mwi-overview-features p { margin: 0; }
.mwi-overview ol { margin-inline-start: 22px; margin-inline-end: 0; }
.mwi-overview ol li { padding-inline-start: 4px; }
.mwi-overview-video { padding: 0; overflow: hidden; }
.mwi-video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #120925; }
.mwi-video-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mwi-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mwi-video-play-icon { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #4a22db; color: #fff; font-size: 42px; line-height: 64px; box-shadow: 0 2px 12px rgba(0,0,0,.25); pointer-events: none; }
html[dir="rtl"] .mwi-video-play-icon { transform: translate(50%, -50%); }
.mwi-video-play:hover .mwi-video-play-icon { background: #3515ac; }
.mwi-video-play:focus-visible { outline: 3px solid #2271b1; outline-offset: -3px; }
.mwi-video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mwi-video-caption { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding: 12px 14px; }
.mwi-overview .mwi-video-caption h2 { margin: 0; font-size: 14px; }
.mwi-overview-company .mwi-company-wordmark { display: block; width: 150px; max-width: 100%; height: auto; margin-block-end: 16px; }
.mwi-overview-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mwi-overview-footer { color: #50575e; margin-block: 18px 24px; }
.mwi-overview-footer p { margin-block: 4px; }
.mwi-overview a:focus-visible, .mwi-admin-navigation a:focus-visible, #mwi-get-started:focus { outline: 2px solid #2271b1; outline-offset: 3px; }
@media screen and (max-width: 1100px) { .mwi-overview-hero { flex-wrap: wrap; } .mwi-overview-actions { margin-inline-start: 68px; } }
@media screen and (max-width: 960px) { .mwi-overview-grid { grid-template-columns: minmax(0, 1fr); } }
@media screen and (max-width: 782px) { .mwi-overview-hero { align-items: flex-start; gap: 12px; } .mwi-overview-header-copy { flex: 1 1 200px; } .mwi-overview-header-copy h1 { font-size: 20px; } .mwi-overview-actions { width: 100%; margin-inline-start: 0; } }
@media screen and (max-width: 480px) { .mwi-overview-panel { padding: 14px; } .mwi-overview-actions .button { flex: 1 1 auto; text-align: center; } }

.mwi-overview-news { border-inline-start: 3px solid #72aee6; background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%); }
.mwi-overview-news ul { list-style: disc; margin-inline-start: 20px; }
.mwi-overview-news li { margin-block-end: 8px; }

.mwi-image-guide { margin-block: 12px; max-width: 760px; }
.mwi-image-guide summary { cursor: pointer; color: #2271b1; font-weight: 600; }
.mwi-image-guide summary:focus-visible { outline: 2px solid #2271b1; outline-offset: 3px; }
.mwi-image-guide li { margin-block: 8px; }

.mwi-guide-screenshot { margin: 12px 0 20px; }
.mwi-guide-screenshot a { display: block; }
.mwi-guide-screenshot img { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid #c3c4c7; border-radius: 4px; box-sizing: border-box; }
.mwi-guide-screenshot a:focus-visible { outline: 2px solid #2271b1; outline-offset: 3px; }

.mwi-guide-screenshot a { position: relative; }
.mwi-guide-highlight { position: absolute; border: 3px solid #4a22db; background: rgba(74,34,219,.06); pointer-events: none; box-sizing: border-box; }
.mwi-guide-step-number { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; padding: 3px 10px; background: #4a22db; color: #fff; font-weight: 700; pointer-events: none; }
.mwi-guide-screenshot[data-step="1"] .mwi-guide-highlight { left: 22.7%; top: 30%; width: 17%; height: 5%; }
.mwi-guide-screenshot[data-step="2"] .mwi-guide-highlight { left: 86%; top: 63%; width: 12.5%; height: 5%; }
.mwi-guide-screenshot[data-step="3"] .mwi-guide-highlight { left: 50.2%; top: 43%; width: 23.3%; height: 33%; }
html[dir="rtl"] .mwi-guide-screenshot[data-step="1"] .mwi-guide-highlight { left: 64.2%; top: 29.8%; width: 12.5%; }
html[dir="rtl"] .mwi-guide-screenshot[data-step="2"] .mwi-guide-highlight { left: 1.4%; top: 63.2%; width: 12.5%; }
html[dir="rtl"] .mwi-guide-screenshot[data-step="3"] .mwi-guide-highlight { left: 25.9%; top: 43%; width: 23.3%; }

.mwi-guide-viewer { margin: 20px; font: 16px/1.6 system-ui, sans-serif; color: #1d2327; background: #f0f0f1; }
.mwi-guide-viewer main { max-width: 1920px; margin-inline: auto; }
.mwi-guide-viewer h1 { font-size: 20px; margin-block: 0 16px; }
.mwi-guide-viewer .mwi-guide-screenshot { position: relative; }
.mwi-guide-viewer .mwi-guide-screenshot[hidden] { display: none; }
