/*
 * ARN WebPix 2.0 — admin design system
 * Palette "Skip Gradient" on the logo green (#6F8A5C), Poppins, own icons.
 * Only the header pattern is shared with other ARN products; everything
 * below it is WebPix's own language. Source mockups:
 * ARN Doc/Urunler/Webpix/tasarim/.
 *
 *  1. Tokens            8. KPI + split card     15. Settings layout
 *  2. Font              9. Ring + formats       16. Option cards / chips
 *  3. WP integration   10. Chart                17. Switch / fields
 *  4. Header           11. Lists + health       18. Save bar
 *  5. Tabs             12. Optimize             19. Pages + feedback
 *  6. Page head        13. Boxes / tags         20. Responsive
 *  7. Cards + grid     14. Buttons / controls
 */

/* 1. Tokens ------------------------------------------------------------ */
.wpx-screen {
	--wpx-brand: #6F8A5C;
	--wpx-brand-dark: #56703F;
	--wpx-brand-darker: #455A33;
	--wpx-brand-tint: #EDF1E8;
	--wpx-accent: #EC975F;
	--wpx-accent-text: #8A4A1F;
	--wpx-accent-tint: #FFF4E4;
	--wpx-peach: #FFCE92;
	--wpx-rust: #B0642E;
	--wpx-success: #54915D;
	--wpx-success-text: #3F7548;
	--wpx-success-tint: #E6EFE7;
	--wpx-warning: #D9A21B;
	--wpx-warning-text: #7A5A0C;
	--wpx-warning-tint: #FDF3D7;
	--wpx-error: #C0443A;
	--wpx-error-text: #9A3A2B;
	--wpx-error-tint: #FBE9E6;
	--wpx-bg: #F6F7F3;
	--wpx-card: #FFFFFF;
	--wpx-border: #E3E6DC;
	--wpx-divider: #EDF1E8;
	--wpx-text: #22261E;
	--wpx-text-2: #4B5243;
	--wpx-muted: #6B7263;
	--wpx-radius: 14px;
	--wpx-shadow: 0 1px 2px rgba(34, 38, 30, .04), 0 4px 14px rgba(34, 38, 30, .04);
	--wpx-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Font — Poppins (SIL OFL 1.1, assets/fonts/OFL.txt), latin + latin-ext
   subsets shipped inside the plugin. No external font request. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 3. WP integration ----------------------------------------------------- */
html:has(body.wpx-screen),
body.wpx-screen,
.wpx-screen #wpwrap,
.wpx-screen #wpcontent,
.wpx-screen #wpbody-content,
.wpx-screen #wpfooter { background: var(--wpx-bg); }
.wpx-screen #wpfooter { color: var(--wpx-muted); }
.wpx-notices .wp-header-end { display: none; }
.wpx-notices .notice { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--wpx-border); border-left: 4px solid var(--wpx-brand); border-radius: var(--wpx-radius); background: var(--wpx-card); box-shadow: var(--wpx-shadow); font-family: var(--wpx-font); }
.wpx-notices .notice p { margin: 0; padding: 0; font-size: 13px; }
.wpx-notices .notice-warning { border-left-color: var(--wpx-warning); }
.wpx-notices .notice-error { border-left-color: var(--wpx-error); }
.wpx-notices .notice-info { border-left-color: var(--wpx-accent); }
.wpx-notices .notice-dismiss { top: 50%; transform: translateY(-50%); }
.wpx-wrap { margin: 0; }
.wpx { font-family: var(--wpx-font); font-size: 13px; color: var(--wpx-text); box-sizing: border-box; max-width: 1450px; margin: 0 auto; padding: 20px 20px 40px 0; }
.wpx *, .wpx *::before, .wpx *::after { box-sizing: border-box; }
.wpx h2, .wpx h3, .wpx h4 { font-family: var(--wpx-font); color: var(--wpx-text); margin: 0; font-weight: 600; }
.wpx p { margin: 0; font-size: 13px; }
.wpx a { color: inherit; }
.wpx-i { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.wpx-muted { color: var(--wpx-muted); font-size: 12px; }

/* 4. Header (shared ARN pattern) --------------------------------------- */
.wpx-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 132px; padding: 10px 32px; border-radius: 20px; background: linear-gradient(135deg, var(--wpx-brand), var(--wpx-brand-dark)); box-shadow: 0 2px 6px rgba(86, 112, 63, .25); }
.wpx-brand { display: flex; align-items: center; }
.wpx-brand img { display: block; width: 200px; height: 112px; max-width: 100%; object-fit: contain; }
.wpx-brand:focus { box-shadow: none; outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 4px; border-radius: 8px; }
.wpx-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wpx .wpx-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.wpx .wpx-pill .wpx-i { width: 15px; height: 15px; }
.wpx .wpx-pill:hover, .wpx .wpx-pill:focus { background: rgba(255, 255, 255, .24); color: #fff; box-shadow: none; }
.wpx .wpx-pill.is-static { background: rgba(255, 255, 255, .08); border-style: dashed; }
.wpx .wpx-pill.is-cta { background: #fff; border-color: #fff; color: var(--wpx-brand-darker); }
.wpx .wpx-pill.is-cta:hover { background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); }
.wpx-pill-count { background: var(--wpx-peach); color: var(--wpx-accent-text); border-radius: 999px; padding: 0 7px; font-size: 11px; font-weight: 600; line-height: 18px; }
.wpx-pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.wpx-pill-dot.is-ok { background: #cfe8c9; box-shadow: 0 0 0 3px rgba(207, 232, 201, .25); }
.wpx-pill-dot.is-off { background: var(--wpx-peach); }

/* 5. Tabs --------------------------------------------------------------- */
.wpx-tabs { display: flex; gap: 6px; margin: 14px 0 18px; padding: 6px; background: var(--wpx-card); border: 1px solid var(--wpx-border); border-radius: 16px; overflow-x: auto; }
.wpx .wpx-tab { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 11px; color: var(--wpx-text-2); font-weight: 500; text-decoration: none; white-space: nowrap; }
.wpx .wpx-tab .wpx-i { color: var(--wpx-muted); }
.wpx .wpx-tab:hover { background: var(--wpx-bg); color: var(--wpx-text); }
.wpx .wpx-tab:focus { box-shadow: 0 0 0 2px var(--wpx-brand-tint); }
.wpx .wpx-tab.is-on { background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); }
.wpx .wpx-tab.is-on .wpx-i { color: var(--wpx-brand-dark); }
.wpx-tab-badge { background: var(--wpx-accent-tint); color: var(--wpx-accent-text); font-size: 11px; border-radius: 999px; padding: 0 7px; line-height: 18px; }
.wpx-tabs-spacer { flex: 1; }

/* 6. Page head ---------------------------------------------------------- */
.wpx-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 18px 22px; background: var(--wpx-card); border: 1px solid var(--wpx-border); border-radius: var(--wpx-radius); box-shadow: var(--wpx-shadow); }
.wpx-head h2 { font-size: 20px; line-height: 1.3; }
.wpx-head p { color: var(--wpx-muted); margin-top: 2px; }

/* 7. Cards + grid ------------------------------------------------------- */
.wpx-card { background: var(--wpx-card); border: 1px solid var(--wpx-border); border-radius: var(--wpx-radius); box-shadow: var(--wpx-shadow); padding: 18px 20px; min-width: 0; }
.wpx-card.is-danger { border-color: #efc9c3; }
.wpx-card.is-danger .wpx-card-h h3 .wpx-i { color: var(--wpx-error-text); }
.wpx-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.wpx-card-h h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.wpx-card-h h3 .wpx-i { color: var(--wpx-brand-dark); }
.wpx-card-h-right { display: flex; align-items: center; gap: 8px; }
.wpx-grid { display: grid; gap: 16px; }
.wpx-grid + .wpx-grid { margin-top: 16px; }
.wpx-grid-top { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.wpx-grid-mid { grid-template-columns: 1fr 1.6fr; }
.wpx-grid-bot, .wpx-grid-a, .wpx-grid-b { grid-template-columns: 1.6fr 1fr; }
.wpx-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wpx-row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wpx-row-between p { max-width: 560px; }

/* 8. KPI + split card --------------------------------------------------- */
.wpx-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--wpx-radius); overflow: hidden; box-shadow: var(--wpx-shadow); }
.wpx-split > div { padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.wpx-split-a { background: var(--wpx-accent); color: #3d1f08; }
.wpx-split-b { background: var(--wpx-brand-darker); color: #fff; }
.wpx-split-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.wpx-split-lbl .wpx-i { width: 16px; height: 16px; }
.wpx-split-num { font-size: 28px; font-weight: 600; letter-spacing: -.5px; line-height: 1; }
.wpx-split-sub { font-size: 11px; opacity: .85; }
.wpx-chip-up { display: inline-flex; width: max-content; background: rgba(255, 255, 255, .35); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.wpx-kpi { display: flex; flex-direction: column; gap: 6px; }
.wpx-kpi-row { display: flex; justify-content: space-between; align-items: flex-start; }
.wpx-kpi-num { font-size: 26px; font-weight: 600; letter-spacing: -.5px; line-height: 1.1; margin-top: 8px; }
.wpx-kpi-lbl { color: var(--wpx-muted); font-size: 12px; }
.wpx-trend { font-size: 11px; font-weight: 600; color: var(--wpx-muted); }
.wpx-trend.is-up { color: var(--wpx-success-text); }
.wpx-spark { width: 90px; height: 34px; }
.wpx-spark polyline { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wpx-spark.is-brand polyline { stroke: var(--wpx-brand); }
.wpx-spark.is-accent polyline { stroke: var(--wpx-accent); }
.wpx-ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; }
.wpx-ico .wpx-i { width: 21px; height: 21px; }
.wpx-ico.is-sm { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
.wpx-ico.is-sm .wpx-i { width: 17px; height: 17px; }
.wpx-ico.is-lg { width: 52px; height: 52px; flex-basis: 52px; border-radius: 16px; }
.wpx-ico.is-lg .wpx-i { width: 26px; height: 26px; }
.wpx-ico.is-brand { background: var(--wpx-brand-tint); color: var(--wpx-brand-dark); }
.wpx-ico.is-accent { background: var(--wpx-accent-tint); color: var(--wpx-accent-text); }
.wpx-ico.is-success { background: var(--wpx-success-tint); color: var(--wpx-success-text); }
.wpx-ico.is-warning { background: var(--wpx-warning-tint); color: var(--wpx-warning-text); }
.wpx-ico.is-error { background: var(--wpx-error-tint); color: var(--wpx-error-text); }

/* 9. Ring + formats ----------------------------------------------------- */
.wpx-ring-wrap { display: flex; gap: 22px; align-items: center; }
.wpx-ring { position: relative; width: 150px; height: 150px; flex: 0 0 150px; }
.wpx-ring svg { width: 150px; height: 150px; display: block; }
.wpx-ring circle { fill: none; stroke-width: 14; }
.wpx-ring-track { stroke: var(--wpx-divider); }
.wpx-ring-seg { stroke-linecap: round; }
.wpx-ring-seg.is-brand { stroke: var(--wpx-brand); }
.wpx-ring-seg.is-accent { stroke: var(--wpx-accent); }
.wpx-ring-seg.is-error { stroke: var(--wpx-error); }
.wpx-ring-seg.is-partial { stroke: #b8c9a6; }
.wpx-dot.is-partial { background: #b8c9a6; }
.wpx-format-row { grid-template-columns: 44px 1fr auto; }
.wpx-format-row em { white-space: nowrap; min-width: 70px; }
.wpx-storage { margin-bottom: 16px; }
.wpx-box.wpx-mb { margin: 0 0 14px; }
.wpx-dialog { width: min(760px, calc(100vw - 32px)); max-height: 85vh; padding: 20px 22px; border: 1px solid var(--wpx-border); border-radius: var(--wpx-radius); box-shadow: 0 20px 60px rgba(34, 38, 30, .25); font-family: var(--wpx-font); color: var(--wpx-text); }
.wpx-dialog::backdrop { background: rgba(34, 38, 30, .45); }
.wpx-dialog[open] { display: flex; flex-direction: column; gap: 10px; }
.wpx-dialog-head { display: flex; justify-content: space-between; align-items: center; }
.wpx-dialog-head h3 { font-size: 16px; margin: 0; }
.wpx-dialog-all { font-weight: 500; font-size: 12px; }
.wpx-orphans { overflow: auto; flex: 1; min-height: 120px; border: 1px solid var(--wpx-divider); border-radius: 12px; padding: 4px 10px; }
.wpx-orphan { display: grid; grid-template-columns: auto 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--wpx-divider); cursor: pointer; }
.wpx-orphan:first-child { border-top: 0; }
.wpx-orphan img, .wpx-orphan .wpx-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #f0f1ec; }
.wpx-orphan small { display: block; color: var(--wpx-muted); font-size: 11px; word-break: break-all; }
.wpx-dialog-foot { display: flex; justify-content: flex-end; gap: 8px; }
.wpx-storage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.wpx-storage-grid > div { border: 1px solid var(--wpx-divider); border-radius: 12px; padding: 10px 12px; }
.wpx-storage-grid b { display: block; font-size: 18px; font-weight: 600; }
.wpx-storage-grid span { font-size: 11px; color: var(--wpx-muted); }
.wpx-storage-grid .is-warn { background: var(--wpx-warning-tint); border-color: #f1dc9c; }
.wpx-storage-grid .is-ok b { color: var(--wpx-success-text); }
.wpx-storage .wpx-box { margin-top: 12px; }
.wpx-format-row em small { color: var(--wpx-muted); font-size: 11px; }
.wpx-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wpx-ring-c b { font-size: 32px; font-weight: 600; letter-spacing: -1px; line-height: 1; }
.wpx-ring-c span { font-size: 11px; color: var(--wpx-muted); margin-top: 4px; }
.wpx-breakdown, .wpx-q4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.wpx-breakdown > div, .wpx-q4 > div { border: 1px solid var(--wpx-divider); border-radius: 12px; padding: 10px 12px; }
.wpx-breakdown b { display: block; font-size: 18px; font-weight: 600; }
.wpx-q4 b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
.wpx-breakdown span, .wpx-q4 span { font-size: 11px; color: var(--wpx-muted); display: flex; align-items: center; gap: 6px; }
.wpx-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 8px; background: var(--wpx-muted); }
.wpx-dot.is-brand { background: var(--wpx-brand); }
.wpx-dot.is-accent { background: var(--wpx-accent); }
.wpx-dot.is-error { background: var(--wpx-error); }
.wpx-dot.is-muted { background: #c9cdbf; }
.wpx-dot.is-peach { background: var(--wpx-peach); }
.wpx-formats { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.wpx-format-row { display: grid; grid-template-columns: 44px 1fr 70px; gap: 10px; align-items: center; font-size: 12px; }
.wpx-format-row b { font-weight: 500; }
.wpx-format-row em { font-style: normal; color: var(--wpx-muted); text-align: right; }
.wpx-bar { height: 8px; background: var(--wpx-divider); border-radius: 99px; overflow: hidden; }
.wpx-bar i { display: block; height: 100%; border-radius: 99px; background: var(--wpx-brand); }
.wpx-bar i.is-accent { background: var(--wpx-accent); }
.wpx-bar i.is-rust { background: var(--wpx-rust); }
.wpx-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }

/* 10. Chart ------------------------------------------------------------- */
.wpx-legend { display: flex; gap: 14px; font-size: 12px; color: var(--wpx-text-2); }
.wpx-legend span { display: flex; align-items: center; gap: 6px; }
.wpx-chart { width: 100%; height: 220px; display: block; }
.wpx-chart-grid { stroke: var(--wpx-divider); stroke-width: 1; }
.wpx-chart-axis { stroke: var(--wpx-border); stroke-width: 1; }
.wpx-chart-y, .wpx-chart-x { font-family: var(--wpx-font); font-size: 10px; fill: var(--wpx-muted); }
.wpx-chart-a { fill: var(--wpx-brand); }
.wpx-chart-a.is-peak { fill: var(--wpx-brand-darker); }
.wpx-chart-b { fill: var(--wpx-accent); }
.wpx-chart-foot { display: flex; gap: 24px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--wpx-divider); }
.wpx-chart-foot b { display: block; font-size: 17px; font-weight: 600; }
.wpx-chart-foot span { font-size: 11px; color: var(--wpx-muted); }

/* 11. Lists + health ---------------------------------------------------- */
.wpx-list-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) 160px 60px 70px; gap: 14px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--wpx-divider); }
.wpx-list-item:first-child { border-top: 0; }
.wpx-list-item:hover { background: #fbfbf8; }
.wpx-list-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpx-list-name small { display: block; color: var(--wpx-muted); font-weight: 400; font-size: 11px; }
.wpx-thumb { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px; display: block; }
.wpx-thumb.is-a { background: linear-gradient(135deg, #c7b299, #7a5c3e); }
.wpx-thumb.is-e { background: linear-gradient(135deg, #d6c3b5, #8a6f5c); }
.wpx-size { font-size: 12px; color: var(--wpx-text-2); display: flex; align-items: center; gap: 4px; }
.wpx-size .wpx-i { width: 13px; height: 13px; color: var(--wpx-muted); }
.wpx-save { font-weight: 600; color: var(--wpx-rust); }
.wpx-save.is-worse { color: var(--wpx-muted); cursor: help; }
.wpx-health { display: flex; flex-direction: column; }
.wpx-health-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-health-row:first-child { border-top: 0; padding-top: 0; }
.wpx-health-row b, .wpx-fail b { font-weight: 500; display: block; }
.wpx-health-row small, .wpx-fail small { color: var(--wpx-muted); font-size: 11px; }
.wpx-disk { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--wpx-divider); }
.wpx-disk-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
.wpx-disk-row b { font-weight: 600; }

/* 12. Optimize ---------------------------------------------------------- */
.wpx-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.wpx-hero-big { width: 120px; height: 120px; border-radius: 24px; background: var(--wpx-accent-tint); color: var(--wpx-accent-text); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wpx-hero-big b { font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -1px; }
.wpx-hero-big span { font-size: 11px; font-weight: 500; margin-top: 4px; }
.wpx .wpx-hero-title { font-size: 18px; }
.wpx-hero-opts { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 16px; }
.wpx-lbl { display: block; font-size: 11px; font-weight: 500; color: var(--wpx-muted); margin-bottom: 5px; }
.wpx-hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.wpx-est { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--wpx-text-2); }
.wpx-est .wpx-i { width: 16px; height: 16px; color: var(--wpx-muted); }
.wpx-next { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wpx-divider); display: flex; flex-direction: column; gap: 10px; }
.wpx-next > div { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.wpx-next span { color: var(--wpx-muted); display: flex; gap: 6px; align-items: center; }
.wpx-next .wpx-i { width: 16px; height: 16px; }
.wpx-next b { font-weight: 500; }
.wpx-job { display: grid; grid-template-columns: auto minmax(0, 1fr) 110px auto auto; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--wpx-divider); }
.wpx-job:first-child { border-top: 0; padding-top: 0; }
.wpx-job h4 { font-size: 14px; margin: 3px 0 6px; }
.wpx-job .wpx-bar { max-width: 380px; }
.wpx-meta { font-size: 11px; color: var(--wpx-muted); display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.wpx-job-res { text-align: right; font-size: 12px; }
.wpx-job-res b { display: block; font-size: 15px; font-weight: 600; color: var(--wpx-rust); }
.wpx-job-res span { color: var(--wpx-muted); font-size: 11px; }
.wpx-job.is-fail .wpx-job-res b { color: var(--wpx-error-text); }
.wpx-ctrl { display: flex; gap: 6px; }
.wpx-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.wpx-status .wpx-i { width: 14px; height: 14px; }
.wpx-status.is-run { background: var(--wpx-success-tint); color: var(--wpx-success-text); }
.wpx-status.is-run .wpx-dot { background: var(--wpx-success); }
.wpx-status.is-pause { background: var(--wpx-accent-tint); color: var(--wpx-accent-text); }
.wpx-status.is-done { background: #f0f1ec; color: var(--wpx-text-2); }
.wpx-status.is-fail { background: var(--wpx-error-tint); color: var(--wpx-error-text); }
.wpx-drop { border: 2px dashed #cfd4c4; border-radius: 14px; padding: 26px; text-align: center; background: #fbfbf8; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wpx-drop .wpx-ico { margin-bottom: 8px; }
.wpx-drop b { font-weight: 500; }
.wpx-drop small { color: var(--wpx-muted); }
.wpx-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.wpx-cmp > div { border: 1px solid var(--wpx-border); border-radius: 12px; overflow: hidden; }
.wpx-cmp-img { height: 110px; }
.wpx-cmp-cap { padding: 10px 12px; display: flex; justify-content: space-between; font-size: 12px; }
.wpx-cmp-cap b { font-weight: 600; }
.wpx-verdict { margin-top: 12px; display: flex; gap: 10px; align-items: center; background: var(--wpx-accent-tint); border-radius: 12px; padding: 12px 14px; color: var(--wpx-accent-text); font-size: 12px; }
.wpx-verdict b { font-size: 20px; font-weight: 600; }
.wpx-fail { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-fail:nth-child(2) { border-top: 0; padding-top: 0; }
.wpx-fail .wpx-thumb { width: 40px; height: 40px; flex-basis: 40px; }
.wpx-fail small { color: var(--wpx-error-text); }

/* 13. Boxes / tags ------------------------------------------------------ */
.wpx-box { border-radius: 10px; padding: 10px 12px; font-size: 12px; display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.wpx-box .wpx-i { width: 17px; height: 17px; }
.wpx-box.is-warning { background: var(--wpx-warning-tint); border: 1px solid #f1dc9c; color: var(--wpx-warning-text); }
.wpx-box.is-info { background: var(--wpx-brand-tint); border: 1px solid #dfe3d4; color: var(--wpx-brand-darker); margin-top: 0; }
.wpx-box.is-error { background: var(--wpx-error-tint); border: 1px solid #efc9c3; color: var(--wpx-error-text); }
.wpx-tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; letter-spacing: .2px; line-height: 1.5; vertical-align: middle; }
.wpx-tag.is-brand { background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); }
.wpx-tag.is-accent { background: var(--wpx-accent-tint); color: var(--wpx-accent-text); }
.wpx-tag.is-muted { background: #f0f1ec; color: var(--wpx-muted); }

/* 14. Buttons / controls ------------------------------------------------ */
.wpx .wpx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--wpx-border); background: #fff; color: var(--wpx-brand-darker); font-family: var(--wpx-font); font-size: 13px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.wpx .wpx-btn .wpx-i { width: 17px; height: 17px; }
.wpx .wpx-btn:hover { background: var(--wpx-bg); }
.wpx .wpx-btn:focus-visible { outline: 2px solid var(--wpx-brand); outline-offset: 2px; }
.wpx .wpx-btn[disabled] { opacity: .6; cursor: not-allowed; }
.wpx .wpx-btn.is-primary { background: var(--wpx-brand-dark); border-color: var(--wpx-brand-dark); color: #fff; }
.wpx .wpx-btn.is-primary:hover { background: var(--wpx-brand-darker); }
.wpx .wpx-btn.is-ghost { background: transparent; }
.wpx .wpx-btn.is-sm { padding: 6px 12px; font-size: 12px; }
.wpx .wpx-btn.is-lg { padding: 13px 22px; font-size: 14px; border-radius: 12px; }
.wpx .wpx-btn.is-icon { width: 36px; height: 36px; padding: 0; justify-content: center; }
.wpx .wpx-btn.is-peach { background: var(--wpx-peach); border-color: var(--wpx-peach); color: var(--wpx-accent-text); }
.wpx .wpx-btn.is-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.wpx-seg { display: inline-flex; background: var(--wpx-bg); border: 1px solid var(--wpx-border); border-radius: 10px; padding: 3px; }
.wpx-seg label { margin: 0; cursor: pointer; }
.wpx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.wpx-seg span { display: block; padding: 6px 14px; border-radius: 7px; color: var(--wpx-muted); font-size: 12px; font-weight: 500; }
.wpx-seg input:checked + span { background: var(--wpx-brand-dark); color: #fff; }
.wpx-seg input:focus-visible + span { outline: 2px solid var(--wpx-brand); }

/* 15. Settings layout --------------------------------------------------- */
.wpx-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.wpx-snav { position: sticky; top: 46px; background: var(--wpx-card); border: 1px solid var(--wpx-border); border-radius: var(--wpx-radius); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.wpx .wpx-snav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--wpx-text-2); font-weight: 500; text-decoration: none; }
.wpx .wpx-snav a .wpx-i { color: var(--wpx-muted); }
.wpx .wpx-snav a:hover { background: var(--wpx-bg); }
.wpx .wpx-snav a.is-on { background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); }
.wpx .wpx-snav a.is-on .wpx-i { color: var(--wpx-brand-dark); }
.wpx-snav hr { border: 0; border-top: 1px solid var(--wpx-divider); margin: 6px 4px; }
.wpx-sections { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wpx-sections > .wpx-card { scroll-margin-top: 46px; }
.wpx-sec-sub { color: var(--wpx-muted); margin: -8px 0 14px !important; }
.wpx-preview { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--wpx-accent-tint); color: var(--wpx-accent-text); font-size: 12px; }
.wpx-preview b { font-size: 16px; font-weight: 600; }
.wpx-adv { margin-top: 14px; border: 1px solid var(--wpx-border); border-radius: 12px; overflow: hidden; }
.wpx-adv summary { list-style: none; padding: 12px 14px; cursor: pointer; font-weight: 500; display: flex; align-items: center; gap: 8px; background: #fbfbf8; }
.wpx-adv summary::-webkit-details-marker { display: none; }
.wpx-adv summary .wpx-i { color: var(--wpx-muted); }
.wpx-adv .wpx-chev { margin-left: auto; transition: transform .15s; }
.wpx-adv[open] .wpx-chev { transform: rotate(180deg); }
.wpx-adv-in { padding: 14px; border-top: 1px solid var(--wpx-border); }
.wpx-rng { display: grid; grid-template-columns: 90px 1fr 44px; gap: 12px; align-items: center; padding: 6px 0; }
.wpx-rng b { font-weight: 500; font-size: 12px; }
.wpx-rng em { font-style: normal; font-weight: 600; text-align: right; }
.wpx-rng input[type=range] { width: 100%; accent-color: var(--wpx-brand-dark); }

/* 16. Option cards / chips ---------------------------------------------- */
.wpx-opt-grid { display: grid; gap: 12px; }
.wpx-opt-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wpx-opt-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wpx-opt { position: relative; display: block; border: 1.5px solid var(--wpx-border); border-radius: 12px; padding: 14px 16px; background: #fff; cursor: pointer; margin: 0; }
.wpx-opt:hover { border-color: #c9cebe; }
.wpx-opt > input { position: absolute; opacity: 0; pointer-events: none; }
.wpx-opt:has(> input:checked) { border-color: var(--wpx-brand-dark); background: #fafbf7; box-shadow: 0 0 0 3px var(--wpx-brand-tint); }
.wpx-opt:has(> input:focus-visible) { outline: 2px solid var(--wpx-brand); outline-offset: 2px; }
.wpx-opt-rd { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9cebe; }
.wpx-opt > input:checked ~ .wpx-opt-rd { border: 5px solid var(--wpx-brand-dark); }
.wpx-opt h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; padding-right: 24px; }
.wpx-opt h4 .wpx-i { color: var(--wpx-brand-dark); }
.wpx-opt p { color: var(--wpx-muted); font-size: 12px; margin-top: 4px; padding-right: 20px; }
.wpx-opt-num { font-size: 22px; font-weight: 600; margin-top: 6px; letter-spacing: -.5px; }
.wpx-opt ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--wpx-text-2); }
.wpx-opt li { display: flex; gap: 6px; align-items: center; margin: 3px 0 0; }
.wpx-opt li .wpx-i { width: 14px; height: 14px; }
.wpx-opt li.is-pro .wpx-i { color: var(--wpx-success-text); }
.wpx-opt li.is-con .wpx-i { color: var(--wpx-muted); }
.wpx-srv { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; margin-top: 10px; }
.wpx-srv .wpx-i { width: 14px; height: 14px; }
.wpx-srv.is-ok { color: var(--wpx-success-text); }
.wpx-srv.is-no { color: var(--wpx-muted); margin-top: 4px; }
.wpx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.wpx-chip { margin: 0; cursor: pointer; }
.wpx-chip input { position: absolute; opacity: 0; pointer-events: none; }
.wpx-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--wpx-border); background: #fff; font-size: 12px; font-weight: 500; }
.wpx-chip span .wpx-i { width: 14px; height: 14px; display: none; }
.wpx-chip input:checked + span { background: var(--wpx-brand-tint); border-color: var(--wpx-brand); color: var(--wpx-brand-darker); }
.wpx-chip input:checked + span .wpx-i { display: inline-block; }
.wpx-chip input:focus-visible + span { outline: 2px solid var(--wpx-brand); }

/* 17. Switch / fields --------------------------------------------------- */
.wpx-set-list { margin-top: 4px; }
.wpx-chips + .wpx-set-list { margin-top: 18px; }
.wpx-set { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-set:first-child { border-top: 0; padding-top: 0; }
.wpx-set b { font-weight: 500; display: block; }
.wpx-set small { color: var(--wpx-muted); font-size: 12px; display: block; margin-top: 2px; max-width: 560px; }
.wpx-card.is-danger .wpx-set b { color: var(--wpx-error-text); }
.wpx-set-ctl { display: flex; gap: 12px; align-items: center; }
.wpx .wpx-select { height: 38px; min-width: 170px; border: 1px solid var(--wpx-border); border-radius: 10px; padding: 0 30px 0 12px; font-family: var(--wpx-font); font-size: 13px; color: var(--wpx-text); background-color: #fff; }
.wpx-switch { position: relative; display: inline-block; width: 40px; height: 23px; flex: 0 0 40px; margin: 0; cursor: pointer; }
.wpx-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.wpx-switch span[aria-hidden] { position: absolute; inset: 0; border-radius: 99px; background: #d6d9cd; transition: background .15s; }
.wpx-switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.wpx-switch input:checked + span[aria-hidden] { background: var(--wpx-brand-dark); }
.wpx-switch input:checked + span[aria-hidden]::after { left: 20px; }
.wpx-switch input:focus-visible + span[aria-hidden] { outline: 2px solid var(--wpx-brand); outline-offset: 2px; }
.wpx-switch.is-disabled { opacity: .45; cursor: not-allowed; }
.wpx-fields { display: grid; gap: 16px; }
.wpx-fields.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wpx-field label { display: block; font-weight: 500; font-size: 12px; margin-bottom: 6px; }
.wpx .wpx-field input { width: 100%; height: 40px; border: 1px solid var(--wpx-border); border-radius: 10px; padding: 0 12px; font-family: var(--wpx-font); font-size: 13px; }
.wpx-field small { display: block; color: var(--wpx-muted); font-size: 11px; margin-top: 5px; }
.wpx .wpx-field textarea { width: 100%; min-height: 110px; border: 1px solid var(--wpx-border); border-radius: 10px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }
.wpx-set-ctl .wpx-input.is-num { width: 84px; }
.wpx-field .wpx-select { width: 100%; }
.wpx-sizes { overflow: auto; flex: 1; min-height: 120px; border: 1px solid var(--wpx-divider); border-radius: 12px; padding: 4px 10px; }
.wpx-size-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--wpx-divider); cursor: pointer; }
.wpx-size-row:first-child { border-top: 0; }
.wpx-size-row small { display: block; color: var(--wpx-muted); font-size: 11px; }
.wpx-size-row em { font-style: normal; font-weight: 600; white-space: nowrap; }

/* 18. Save bar ---------------------------------------------------------- */
.wpx-savebar { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--wpx-brand-darker); color: #fff; border-radius: 14px; padding: 12px 14px 12px 20px; box-shadow: 0 8px 24px rgba(34, 38, 30, .18); }
.wpx-savebar[hidden] { display: none; }
.wpx-savebar > span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.wpx-savebar > div { display: flex; gap: 8px; }

/* 19. Pages: library, delivery, licence required, support, feedback ----- */
.wpx-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100000; max-width: 420px; padding: 12px 16px; border-radius: 12px; background: var(--wpx-brand-darker); color: #fff; font-size: 13px; box-shadow: 0 8px 24px rgba(34, 38, 30, .22); }
.wpx-toast.is-error { background: var(--wpx-error-text); }
.wpx-toast[hidden] { display: none; }
.wpx .is-busy { opacity: .6; pointer-events: none; }
.wpx-empty { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 26px 12px; color: var(--wpx-muted); font-size: 12px; text-align: center; }
.wpx-empty.is-ok { color: var(--wpx-success-text); }
.wpx-mt { margin-top: 12px; }
.wpx-mt-lg { margin-top: 16px; }
.wpx-seg.is-links { gap: 2px; }
.wpx .wpx-seg.is-links a { display: block; padding: 6px 14px; border-radius: 7px; color: var(--wpx-muted); font-size: 12px; font-weight: 500; text-decoration: none; }
.wpx .wpx-seg.is-links a.is-on { background: var(--wpx-brand-dark); color: #fff; }
.wpx-tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wpx-error); }
.wpx-pill-dot.is-warn { background: #ffe39a; }
.wpx-hero-opts b { font-weight: 600; font-size: 13px; }
.wpx .wpx-hero-opts a { color: var(--wpx-brand-dark); font-size: 12px; }
.wpx .wpx-drop { width: 100%; cursor: pointer; font-family: var(--wpx-font); color: var(--wpx-text); }
.wpx .wpx-drop:hover { border-color: var(--wpx-brand); }
.wpx-cmp-img { display: block; width: 100%; height: 150px; object-fit: cover; background: #f0f1ec; }
.wpx-cmp[hidden], .wpx-verdict[hidden], .wpx-result[hidden] { display: none; }
.wpx-box-actions { margin-top: 8px; }
.wpx-box.wpx-row-between { align-items: center; margin-bottom: 12px; }
.wpx-box.wpx-row-between > div { display: flex; gap: 8px; align-items: flex-start; }
.wpx-list-name a { text-decoration: none; }
.wpx-opt.is-off { opacity: .55; }
.wpx-chip span em { font-style: normal; color: var(--wpx-muted); font-weight: 400; }
.wpx-fields.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.wpx-field[hidden] { display: none; }
.wpx .wpx-input { height: 40px; border: 1px solid var(--wpx-border); border-radius: 10px; padding: 0 12px; font-family: var(--wpx-font); font-size: 13px; min-width: 0; }
.wpx .wpx-input.is-num { width: 90px; }
.wpx-inline { display: flex; gap: 10px; align-items: center; }
.wpx-inline .wpx-input { flex: 1; }
.wpx-result { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); font-weight: 500; }
.wpx-kv { display: flex; flex-direction: column; }
.wpx-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--wpx-divider); font-size: 12px; }
.wpx-kv > div:first-child { border-top: 0; padding-top: 0; }
.wpx-kv span { color: var(--wpx-muted); }
.wpx-kv b { font-weight: 500; text-align: right; word-break: break-word; }
.wpx-bullets { margin: 0; padding-left: 18px; color: var(--wpx-text-2); }
.wpx-bullets li { margin: 0 0 8px; }
.wpx .wpx-bullets a { color: var(--wpx-brand-dark); }
.wpx-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--wpx-border); border-radius: 10px; padding: 0 12px; }
.wpx-search .wpx-i { width: 16px; height: 16px; color: var(--wpx-muted); }
.wpx .wpx-search input { border: 0; box-shadow: none; height: 38px; min-width: 240px; font-family: var(--wpx-font); background: transparent; }
.wpx-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.wpx .wpx-filter { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--wpx-border); background: #fff; color: var(--wpx-text-2); text-decoration: none; font-size: 12px; font-weight: 500; }
.wpx-filter span { color: var(--wpx-muted); font-weight: 400; }
.wpx .wpx-filter.is-on { background: var(--wpx-brand-tint); border-color: var(--wpx-brand); color: var(--wpx-brand-darker); }
.wpx-table-card { padding: 0; overflow: hidden; }
.wpx-table { width: 100%; border-collapse: collapse; }
.wpx-table th { text-align: left; font-size: 11px; font-weight: 500; color: var(--wpx-muted); padding: 12px 14px; background: #fbfbf8; border-bottom: 1px solid var(--wpx-divider); }
.wpx-table td { padding: 10px 14px; border-top: 1px solid var(--wpx-divider); vertical-align: middle; font-size: 12px; }
.wpx-table tr:first-child td { border-top: 0; }
.wpx-media-cell { display: flex; gap: 12px; align-items: center; min-width: 240px; }
.wpx-table td.is-media img { object-fit: cover; }
.wpx-table td.is-media a { font-weight: 500; text-decoration: none; }
.wpx-table td.is-media small { display: block; color: var(--wpx-muted); font-size: 11px; word-break: break-all; }
.wpx-table .is-status { min-width: 170px; }
.wpx-pager { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--wpx-divider); }
.wpx .wpx-pager .page-numbers { display: inline-block; min-width: 30px; padding: 5px 9px; border-radius: 8px; text-align: center; text-decoration: none; color: var(--wpx-text-2); }
.wpx .wpx-pager .page-numbers.current { background: var(--wpx-brand-dark); color: #fff; }
.wpx-pager .wpx-muted { margin-left: auto; }
.wpx-log { max-height: 420px; overflow: auto; font-size: 12px; }
.wpx-log-row { display: grid; grid-template-columns: 150px 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-log-row:first-child { border-top: 0; }
.wpx-log-row time { color: var(--wpx-muted); font-variant-numeric: tabular-nums; }
.wpx-log-row code { font-size: 11px; background: #f6f7f3; word-break: break-all; }
.wpx-tag.is-error { background: var(--wpx-error-tint); color: var(--wpx-error-text); }
.wpx-ico.is-muted { background: #f0f1ec; color: var(--wpx-muted); }
.wpx-ms { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.wpx-ms-badge { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap; background: #f0f1ec; color: var(--wpx-muted); }
.wpx-ms-badge.is-ok { background: var(--wpx-brand-tint); color: var(--wpx-brand-darker); }
.wpx-ms-badge.is-accent, .wpx-ms-badge.is-warn { background: var(--wpx-accent-tint); color: var(--wpx-accent-text); }
.wpx-ms-badge.is-error { background: var(--wpx-error-tint); color: var(--wpx-error-text); }
.wpx .wpx-ms-btn { border: 1px solid var(--wpx-border); background: #fff; border-radius: 7px; padding: 2px 9px; font-size: 11px; font-family: var(--wpx-font); color: var(--wpx-brand-darker); cursor: pointer; }
.wpx .wpx-ms-btn:hover { background: var(--wpx-bg); }
.wpx-label { display: block; font-weight: 500; font-size: 12px; margin-bottom: 6px; }
.wpx-wm-pick { display: flex; align-items: center; gap: 12px; }
.wpx-wm-pick img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--wpx-divider); border-radius: 10px; background: repeating-conic-gradient(#f0f1ec 0% 25%, #fff 0% 50%) 50% / 12px 12px; }
.wpx-wm-pick img[hidden] { display: none; }
/* Media AI table. */
.wpx-mt-head { padding: 16px 16px 4px; }
.wpx-mt-head h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 14px; }
.wpx-mt-head p { margin: 0; }
.wpx-mt-filters { padding: 10px 16px 0; margin-bottom: 10px; }
.wpx-mt-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 16px 14px; }
.wpx .wpx-mt-search .wpx-input { height: 38px; min-width: 220px; }
.wpx-mt-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--wpx-divider); background: #fbfbf8; }
.wpx-mt-count { min-width: 40px; font-size: 12px; font-weight: 600; color: var(--wpx-brand-darker); }
.wpx-mt-replace { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: auto; }
.wpx .wpx-mt-replace .wpx-input { width: 140px; height: 32px; font-size: 12px; }
.wpx-mt-scroll { overflow-x: auto; }
.wpx-mtab { width: 100%; min-width: 1080px; border-collapse: collapse; }
.wpx-mtab th { padding: 10px 8px; border-top: 1px solid var(--wpx-divider); border-bottom: 1px solid var(--wpx-divider); background: #fbfbf8; text-align: left; font-size: 11px; font-weight: 500; color: var(--wpx-muted); }
.wpx-mtab td { padding: 10px 8px; border-top: 1px solid var(--wpx-divider); vertical-align: top; font-size: 12px; }
.wpx-mtab .is-pick { width: 24px; padding-left: 16px; }
.wpx-mtab td.is-pick { padding-top: 14px; }
.wpx-mtab tr.is-done { background: var(--wpx-brand-tint); }
.wpx-mt-media { display: flex; gap: 10px; align-items: flex-start; width: 210px; }
.wpx-mt-media img { width: 48px; height: 48px; flex: none; border-radius: 8px; object-fit: cover; background: #f0f1ec; }
.wpx-mt-media a { display: block; font-weight: 500; text-decoration: none; word-break: break-all; }
.wpx-mt-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wpx-mt-f { display: flex; gap: 6px; align-items: flex-start; }
.wpx-mt-f input[type="checkbox"] { flex: none; margin-top: 8px; }
.wpx .wpx-mt-f input[type="text"], .wpx .wpx-mt-f textarea { width: 100%; min-width: 120px; border: 1px solid var(--wpx-border); border-radius: 8px; padding: 6px 8px; font-family: var(--wpx-font); font-size: 12px; }
.wpx-mt-now { margin-left: 20px; color: var(--wpx-muted); font-size: 11px; line-height: 1.8; word-break: break-word; }
.wpx-mt-act { display: flex; flex-direction: column; gap: 5px; width: 130px; }
.wpx-mt-act .wpx-btn { justify-content: center; }
.wpx-health { display: flex; flex-direction: column; margin-top: 12px; }
.wpx-health-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-health-row .wpx-tag { justify-self: start; }
.wpx-health-row a { font-weight: 500; text-decoration: none; word-break: break-all; }
.wpx-health-row small { display: block; color: var(--wpx-muted); font-size: 11px; }
.wpx-hist { display: flex; flex-direction: column; }
.wpx-hist-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--wpx-divider); }
.wpx-hist-row:first-child { border-top: 0; }
.wpx-hist-row a { font-weight: 500; text-decoration: none; word-break: break-all; }
.wpx-hist-row small { display: block; color: var(--wpx-muted); font-size: 11px; }

/* 20. Responsive -------------------------------------------------------- */
@media (max-width: 1280px) {
	.wpx-grid-top { grid-template-columns: 1fr 1fr; }
	.wpx-grid-mid, .wpx-grid-bot, .wpx-grid-a, .wpx-grid-b { grid-template-columns: 1fr; }
	.wpx-opt-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.wpx-layout { grid-template-columns: 1fr; }
	.wpx-snav { position: static; flex-direction: row; overflow-x: auto; }
	.wpx-snav hr { display: none; }
	.wpx-opt-grid.is-3, .wpx-fields.is-3, .wpx-fields.is-2 { grid-template-columns: 1fr; }
	.wpx-mt-replace { margin-left: 0; }
	.wpx-table th:nth-child(3), .wpx-table td:nth-child(3), .wpx-table th:nth-child(4), .wpx-table td:nth-child(4) { display: none; }
}
@media (max-width: 782px) {
	.wpx { padding: 12px 12px 30px 0; }
	.wpx-top { padding: 14px 16px; }
	.wpx-brand img { height: 64px; }
	.wpx-grid-top, .wpx-split, .wpx-opt-grid.is-4 { grid-template-columns: 1fr; }
	.wpx-ring-wrap, .wpx-hero { flex-direction: column; grid-template-columns: 1fr; }
	.wpx-list-item { grid-template-columns: 44px minmax(0, 1fr) 60px; }
	.wpx-list-item .wpx-size, .wpx-list-item > div:last-child { display: none; }
	.wpx-job { grid-template-columns: auto minmax(0, 1fr); }
	.wpx-job-res { text-align: left; }
	.wpx-set { flex-direction: column; align-items: flex-start; }
	.wpx-inline { flex-wrap: wrap; }
	.wpx .wpx-search input { min-width: 0; }
	.wpx-log-row { grid-template-columns: 1fr; gap: 2px; }
	.wpx-health-row { grid-template-columns: 1fr; gap: 4px; }
	.wpx-table th:nth-child(2), .wpx-table td:nth-child(2), .wpx-table th:nth-child(5), .wpx-table td:nth-child(5) { display: none; }
}
