/* ==========================================================================
   Strategic Site · painel (portal + wp-admin)
   ========================================================================== */

:root {
	--sts-primary: #4f46e5;
	--sts-primary-dark: #4338ca;
	--sts-on-primary: #fff;
	--sts-primary-rgb: 79, 70, 229;
	--sts-bg: #f6f7f9;
	--sts-surface: #ffffff;
	--sts-surface-2: #f9fafb;
	--sts-border: #e6e8ec;
	--sts-border-strong: #d4d8de;
	--sts-text: #0f172a;
	--sts-text-2: #334155;
	--sts-muted: #64748b;
	--sts-good: #16a34a;
	--sts-good-bg: #ecfdf3;
	--sts-warn: #d97706;
	--sts-warn-bg: #fffbeb;
	--sts-bad: #dc2626;
	--sts-bad-bg: #fef2f2;
	--sts-info: #2563eb;
	--sts-info-bg: #eff6ff;
	--sts-radius: 10px;
	--sts-radius-lg: 14px;
	--sts-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
	--sts-shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, .18), 0 4px 8px -4px rgba(15, 23, 42, .08);
	--sts-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sts-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--sts-soft: rgba(var(--sts-primary-rgb), .08);
	--sts-soft-2: rgba(var(--sts-primary-rgb), .14);
}

/* ---------- Base ---------- */
.sts-portal-page,
.sts-login-page {
	margin: 0;
	background: var(--sts-bg);
	color: var(--sts-text);
	font-family: var(--sts-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.sts-app, .sts-admin, .sts-modal, .sts-toasts, .sts-inserter-pop, .sts-fmt {
	font-family: var(--sts-font);
	color: var(--sts-text);
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
}
.sts-app *, .sts-admin *, .sts-modal *, .sts-login * { box-sizing: border-box; }
.sts-app a, .sts-admin a { color: var(--sts-primary); text-decoration: none; }
.sts-app a:hover, .sts-admin a:hover { text-decoration: underline; }
.sts-app a.sts-btn:hover, .sts-app a.sts-row:hover, .sts-app a.sts-stat:hover, .sts-app a.sts-nav__item:hover,
.sts-app a.sts-upcoming:hover, .sts-app a.sts-cal__chip:hover, .sts-app a.sts-cell-title:hover, .sts-admin a.sts-btn:hover, .sts-admin a.sts-tab:hover { text-decoration: none; }
.sts-app h1, .sts-app h2, .sts-app h3, .sts-admin h1, .sts-admin h2, .sts-admin h3 { color: var(--sts-text); margin: 0; }
.sts-h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.sts-h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sts-h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px !important; }
.sts-muted { color: var(--sts-muted); }
.sts-help { color: var(--sts-muted); font-size: 12.5px; margin: 6px 0 0; display: block; }
.sts-overline { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sts-muted); margin: 14px 0 8px; }
.sts-right { text-align: right; }

/* Cabeçalho de página (título + subtítulo + ações) usado em todas as telas. */
.sts-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 20px; margin-bottom: 22px; flex-wrap: wrap; }
.sts-page-head__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sts-page-head__title > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sts-page-head__title .sts-h1 { line-height: 1.2; }
.sts-page-head__title p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.sts-page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: none; }
.sts-breadcrumbs { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 8px; color: var(--sts-muted); font-size: 12px; }
.sts-breadcrumbs a { color: var(--sts-muted); }
.sts-breadcrumbs a:hover { color: var(--sts-primary); }
.sts-breadcrumbs__sep { color: #a5afbd; }
.sts-breadcrumbs__current { color: var(--sts-text-2); font-weight: 600; }

.sts-pad { padding: 16px 20px; margin: 0; }
.sts-stack { display: flex; flex-direction: column; gap: 14px; }
.sts-stack-sm { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.sts-app .dashicons, .sts-admin .dashicons, .sts-modal .dashicons, .sts-inserter-pop .dashicons, .sts-fmt .dashicons, .sts-toast .dashicons { font-size: 18px; width: 18px; height: 18px; line-height: 1; }

/* Garante que o atributo hidden sempre vença o display dos componentes. */
.sts-app [hidden], .sts-modal [hidden], .sts-admin [hidden] { display: none !important; }

/* ---------- Botões ---------- */
.sts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 36px; padding: 0 14px; border-radius: 8px;
	border: 1px solid var(--sts-border-strong); background: var(--sts-surface); color: var(--sts-text-2) !important;
	font: 500 13.5px/1 var(--sts-font); cursor: pointer; white-space: nowrap;
	transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
	box-shadow: 0 1px 1px rgba(15, 23, 42, .03);
}
.sts-btn:hover { background: var(--sts-surface-2); border-color: #c3c8d0; }
.sts-btn:active { transform: translateY(1px); }
.sts-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-btn[disabled] { opacity: .5; cursor: not-allowed; }
.sts-btn--primary { background: var(--sts-primary); border-color: var(--sts-primary); color: #fff !important; box-shadow: 0 1px 2px rgba(var(--sts-primary-rgb), .3); }
.sts-btn--primary:hover { background: var(--sts-primary-dark); filter: none; border-color: var(--sts-primary-dark); color: #fff !important; }
.sts-btn--ghost { background: transparent; border-color: transparent; box-shadow: none; }
.sts-btn--ghost:hover { background: rgba(15, 23, 42, .05); border-color: transparent; }
.sts-btn--danger { color: var(--sts-bad) !important; border-color: #f3c5c5; }
.sts-btn--danger:hover { background: var(--sts-bad-bg); border-color: #e59a9a; color: #b91c1c !important; }
.sts-btn--sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.sts-btn--block { width: 100%; height: 42px; }
.sts-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }
.sts-btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sts-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
	border-radius: 8px; border: 0; background: transparent; color: var(--sts-muted) !important; cursor: pointer; padding: 0;
}
.sts-icon-btn:hover { background: rgba(15, 23, 42, .06); color: var(--sts-text) !important; }
.sts-icon-btn--danger:hover { background: var(--sts-bad-bg); color: var(--sts-bad) !important; }
.sts-link-btn { background: none; border: 0; padding: 0; color: var(--sts-primary); font: 500 13px var(--sts-font); cursor: pointer; }
.sts-link-btn:hover { text-decoration: underline; }

/* ---------- Inputs ---------- */
.sts-input, .sts-app select, .sts-admin select.sts-input {
	width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 8px;
	border: 1px solid var(--sts-border-strong); background: #fff; color: var(--sts-text);
	font: 400 14px/1.4 var(--sts-font); box-shadow: none; transition: border-color .15s, box-shadow .15s;
	max-width: none;
}
.sts-input:focus, .sts-app select:focus { outline: none; border-color: var(--sts-primary); box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-input--sm { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.sts-input.is-warn { border-color: #f5c77e; background: #fffdf6; }
.sts-input.is-invalid { border-color: var(--sts-bad) !important; box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important; }
textarea.sts-input { resize: vertical; line-height: 1.5; }
.sts-input-group { display: flex; gap: 6px; align-items: center; }
.sts-input-group .sts-input { flex: 1; }
.sts-input-prefix { color: var(--sts-muted); font-size: 13px; white-space: nowrap; }
.sts-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.sts-field > span { font-size: 12.5px; font-weight: 600; color: var(--sts-text-2); }
.sts-custom-menu-config { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .75fr) minmax(150px, .75fr); gap: 10px; align-items: end; margin: 10px 0; padding: 10px; border: 1px solid var(--sts-border); border-radius: 10px; background: var(--sts-soft); }
.sts-custom-field-editor { min-width: 0; }
.sts-custom-group-title { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--sts-border); color: var(--sts-primary); }
.sts-media-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sts-media-library__item { overflow: hidden; border: 1px solid var(--sts-border); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(15,23,42,.05); }
.sts-media-library__item > img, .sts-media-library__file { display: flex; width: 100%; height: 150px; align-items: center; justify-content: center; object-fit: cover; background: var(--sts-soft); color: var(--sts-muted); font-size: 30px; }
.sts-media-library__file { flex-direction: column; gap: 8px; }
.sts-media-library__file span { font-size: 11px; font-weight: 700; }
.sts-media-library__body { display: grid; gap: 7px; padding: 12px; }
.sts-custom-menu-config .sts-switch { align-self: center; }
.sts-custom-menu-config .sts-field { margin: 0; }
@media (max-width: 680px) { .sts-custom-menu-config { grid-template-columns: 1fr; align-items: stretch; } }
.sts-app.is-simple .sts-howto { display: none; }
.sts-field__error { color: var(--sts-bad); font-size: 12px; line-height: 1.35; }
.sts-icon-picker { display: grid; gap: 6px; }
.sts-icon-picker__input { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 6px; align-items: center; }
.sts-icon-picker__preview { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--sts-border-strong); border-radius: 8px; background: var(--sts-soft); color: var(--sts-primary); }
.sts-icon-picker__grid { display: grid; grid-template-columns: repeat(8, minmax(30px, 1fr)); gap: 5px; padding: 8px; border: 1px solid var(--sts-border); border-radius: 9px; background: var(--sts-surface-2); }
.sts-icon-picker__item { display: grid; place-items: center; min-height: 32px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--sts-text-2); cursor: pointer; }
.sts-icon-picker__item:hover, .sts-icon-picker__item.is-selected { border-color: var(--sts-primary); background: var(--sts-soft); color: var(--sts-primary); }
.sts-color-picker { display: grid; gap: 7px; }
.sts-color-picker__swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sts-color-picker__swatch { width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--sts-border-strong); cursor: pointer; }
.sts-color-picker__swatch.is-selected, .sts-color-picker__swatch:hover { box-shadow: 0 0 0 2px var(--sts-primary); }
.sts-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--sts-text-2); cursor: pointer; }
.sts-check input { appearance: none; -webkit-appearance: none; margin: 0; width: 18px; height: 18px; flex: none; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.sts-check input::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transform-origin: center; transition: transform .12s ease-in-out; margin-top: -2px; }
.sts-check input:checked { border-color: var(--sts-primary); background: var(--sts-primary); }
.sts-check input:checked::after { transform: rotate(-45deg) scale(1); }
.sts-check input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-check input:disabled { opacity: .55; cursor: not-allowed; }
.sts-code-input { font-family: var(--sts-mono); font-size: 12.5px; }

/* ---------- Cards, badges ---------- */
.sts-card { background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: var(--sts-radius-lg); padding: 20px; box-shadow: var(--sts-shadow); margin-bottom: 20px; }
.sts-card--flush { padding: 0; overflow: hidden; }
.sts-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sts-card--flush > .sts-card__head { padding: 16px 20px 0; }
.sts-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #f1f5f9; color: var(--sts-text-2); white-space: nowrap; }
.sts-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.sts-badge--ok { background: var(--sts-good-bg); color: #15803d; }
.sts-badge--info { background: var(--sts-info-bg); color: #1d4ed8; }
.sts-badge--warn { background: var(--sts-warn-bg); color: #b45309; }
.sts-badge--muted { background: #f1f5f9; color: #475569; }
.sts-alert { padding: 12px 14px; border-radius: var(--sts-radius); border: 1px solid; font-size: 13.5px; margin: 0 0 16px; line-height: 1.55; }
.sts-alert--error { background: var(--sts-bad-bg); border-color: #fecaca; color: #991b1b; }
.sts-alert--success { background: var(--sts-good-bg); border-color: #bbf7d0; color: #166534; }
.sts-alert--warn { background: var(--sts-warn-bg); border-color: #fde68a; color: #92400e; }
.sts-alert--info { background: var(--sts-info-bg); border-color: #bfdbfe; color: #1e40af; }
.sts-alert code { background: rgba(255, 255, 255, .7); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }

.sts-score { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sts-score--good { background: var(--sts-good-bg); color: #15803d; }
.sts-score--warn { background: var(--sts-warn-bg); color: #b45309; }
.sts-score--bad { background: #f1f5f9; color: #64748b; }

.sts-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sts-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sts-ring circle { fill: none; stroke-width: 4; }
.sts-ring__bg { stroke: #eef0f3; }
.sts-ring__fg { stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.sts-ring--good .sts-ring__fg { stroke: var(--sts-good); }
.sts-ring--warn .sts-ring__fg { stroke: var(--sts-warn); }
.sts-ring--bad .sts-ring__fg { stroke: var(--sts-bad); }
.sts-ring span { position: relative; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.sts-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--sts-soft-2); border-top-color: var(--sts-primary); animation: sts-spin .7s linear infinite; display: inline-block; }
@keyframes sts-spin { to { transform: rotate(360deg); } }
.sts-loading, .sts-boot { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 60px 0; }
.sts-skeleton-lines { display: grid; gap: 8px; width: min(280px, 55%); }
.sts-skeleton-lines i { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #eef1f5 25%, #f8fafc 45%, #eef1f5 65%); background-size: 220% 100%; animation: sts-shimmer 1.25s ease-in-out infinite; }
.sts-skeleton-lines i:nth-child(2) { width: 78%; }
.sts-skeleton-lines i:nth-child(3) { width: 54%; }


/* ==========================================================================
   Painel
   ========================================================================== */
.sts-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
/* Com 6 cartões, 3 por linha fica equilibrado (3x2) em vez de deixar um sozinho. */
.sts-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sts-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sts-stats--3 { grid-template-columns: 1fr; } }
.sts-stat { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 18px 20px; background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: var(--sts-radius-lg); box-shadow: var(--sts-shadow); color: var(--sts-text) !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.sts-stat:hover { border-color: rgba(var(--sts-primary-rgb), .4); transform: translateY(-1px); }
.sts-stat > div:last-child { min-width: 0; flex: 1; }
.sts-stat small { display: block; color: var(--sts-muted); font-size: 13px; line-height: 1.35; letter-spacing: .005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sts-stat strong { display: inline-block; margin-top: 5px; color: var(--sts-text); font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sts-stat--score strong { font-size: 14px; }
.sts-stat__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; }
.sts-stat__icon .dashicons { font-size: 19px; width: 19px; height: 19px; }
.sts-dash-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sts-dash-grid > .sts-card { margin-bottom: 0; }
.sts-dash-grid > .sts-card--span { grid-column: 1 / -1; }
.sts-stack > .sts-card { margin-bottom: 0; }
.sts-rows { display: flex; flex-direction: column; margin: 0 -8px; }
.sts-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; color: var(--sts-text) !important; }
.sts-row:hover { background: var(--sts-surface-2); }
.sts-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sts-row__main strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sts-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--sts-surface-2); }
.sts-thumb--empty { display: grid; place-items: center; color: #cbd5e1; border: 1px dashed var(--sts-border-strong); }
.sts-upcoming { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--sts-border); color: var(--sts-text) !important; }
.sts-upcoming:first-of-type { border-top: 0; }
.sts-upcoming > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.sts-upcoming__date { width: 46px; height: 50px; border-radius: 10px; background: var(--sts-soft); color: var(--sts-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex: none; }
.sts-upcoming__date strong { font-size: 18px; }
.sts-upcoming__date small { font-size: 11px; text-transform: uppercase; font-weight: 600; }
.sts-empty-state { text-align: center; padding: 44px 20px; }
.sts-empty-state__art { position: relative; width: 104px; height: 76px; margin: 0 auto 14px; }
.sts-empty-state__shape { position: absolute; display: block; border-radius: 50%; background: var(--sts-soft); }
.sts-empty-state__shape--one { width: 70px; height: 70px; left: 8px; top: 2px; }
.sts-empty-state__shape--two { width: 34px; height: 34px; right: 4px; bottom: 0; background: var(--sts-soft-2); }
.sts-empty-state__art .sts-empty-state__icon { position: absolute; left: 24px; top: 10px; margin: 0; box-shadow: 0 8px 20px rgba(var(--sts-primary-rgb),.12); }
.sts-empty-state__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; margin: 0 auto 14px; }
.sts-empty-state__icon .dashicons { font-size: 26px; width: 26px; height: 26px; }
.sts-empty-state h3 { font-size: 16px; margin-bottom: 4px; }
.sts-empty-state p { margin: 0 0 16px; }

/* ==========================================================================
   Lista
   ========================================================================== */
.sts-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sts-toolbar .sts-btn-row { flex-wrap: nowrap; }
.sts-toolbar .sts-input { width: auto; }
.sts-toolbar select.sts-input { min-width: 190px; }
@media (max-width: 600px) {
	.sts-toolbar .sts-btn-row { flex-wrap: wrap; width: 100%; }
	.sts-toolbar select.sts-input { flex: 1; }
}
.sts-pills { display: flex; gap: 4px; background: var(--sts-surface); border: 1px solid var(--sts-border); padding: 4px; border-radius: 10px; flex-wrap: wrap; }
.sts-pill { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font: 500 13px var(--sts-font); color: var(--sts-muted); cursor: pointer; }
.sts-pill:hover { color: var(--sts-text); }
.sts-pill.is-active { background: var(--sts-soft); color: var(--sts-primary); }
.sts-pill .sts-count { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--sts-muted); background: var(--sts-surface-2); border-radius: 10px; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.sts-pill.is-active .sts-count { background: var(--sts-soft-2); color: var(--sts-primary); }
.sts-search { display: flex; align-items: center; gap: 8px; background: var(--sts-surface); border: 1px solid var(--sts-border-strong); border-radius: 10px; padding: 0 12px; min-width: 260px; }
.sts-search:focus-within { border-color: var(--sts-primary); box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-search .dashicons { color: var(--sts-muted); }
.sts-search input { border: 0 !important; box-shadow: none !important; outline: none; background: transparent; height: 38px; flex: 1; font: 14px var(--sts-font); padding: 0; }
.sts-table { width: 100%; border-collapse: collapse; }
.sts-table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sts-muted); padding: 12px 16px; background: var(--sts-surface-2); border-bottom: 1px solid var(--sts-border); }
.sts-table td { padding: 12px 16px; border-bottom: 1px solid var(--sts-border); vertical-align: middle; }
.sts-table tbody tr:last-child td { border-bottom: 0; }
.sts-table tbody tr:hover td { background: #fcfcfd; }
.sts-cell-title { display: flex; align-items: center; gap: 12px; color: var(--sts-text) !important; }
.sts-cell-title > span { display: flex; flex-direction: column; min-width: 0; }
.sts-cell-title strong { font-weight: 600; }
.sts-row-actions { white-space: nowrap; }
.sts-row-actions .sts-icon-btn { opacity: .75; }
.sts-table tr:hover .sts-row-actions .sts-icon-btn { opacity: 1; }
.sts-pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--sts-border); }
.sts-empty { text-align: center; color: var(--sts-muted); padding: 30px !important; }

/* ==========================================================================
   Editor
   ========================================================================== */
.sts-editor { margin: -28px -36px 0; }
.sts-app--admin .sts-editor { margin: -26px -24px 0; }
.sts-editor__bar {
	position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
	padding: 10px 24px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px);
	border-bottom: 1px solid var(--sts-border);
}
.sts-app--admin .sts-editor__bar { top: 89px; }
.sts-editor__state { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sts-saved { font-size: 12.5px; color: var(--sts-muted); }
.sts-saved.is-dirty { color: var(--sts-warn); }
.sts-editor__actions { display: flex; gap: 6px; align-items: center; }
.sts-el-icon { width: 18px; height: 18px; border-radius: 4px; background: #92003b; color: #fff; font: 700 11px/18px var(--sts-font); text-align: center; }
.sts-editor__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 24px 24px 60px; align-items: start; }
.sts-editor__main { min-width: 0; }
.sts-editor__side { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.sts-app--admin .sts-editor__side { top: 160px; max-height: calc(100vh - 176px); }
.sts-side-card { padding: 16px; margin-bottom: 14px; }
.sts-side-card .sts-field { margin-bottom: 12px; }

.sts-paper { background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: var(--sts-radius-lg); box-shadow: var(--sts-shadow); padding: 40px 56px 28px 72px; margin-bottom: 20px; min-height: 60vh; }
.sts-title-wrap { position: relative; }
.sts-tag-h1 { position: absolute; left: -44px; top: 12px; font-size: 10px; font-weight: 700; color: var(--sts-muted); background: var(--sts-surface-2); border: 1px solid var(--sts-border); padding: 1px 5px; border-radius: 4px; }
.sts-title-input { width: 100%; border: 0 !important; box-shadow: none !important; outline: none; resize: none; overflow: hidden; background: transparent; padding: 0; font: 700 34px/1.2 var(--sts-font); letter-spacing: -.025em; color: var(--sts-text); min-height: 44px; }
.sts-title-input::placeholder { color: #c4c9d2; }
.sts-slug { display: flex; align-items: center; gap: 4px; font-size: 12.5px; margin: 10px 0 26px; flex-wrap: wrap; color: var(--sts-text-2); }
.sts-slug .dashicons { color: var(--sts-muted); font-size: 15px; width: 15px; height: 15px; }
.sts-slug strong { font-weight: 600; }
.sts-slug .sts-link-btn { margin-left: 6px; font-size: 12.5px; }

.sts-canvas { display: flex; flex-direction: column; }
.sts-block { position: relative; border-radius: 8px; padding: 2px 0; }
.sts-block__gutter { position: absolute; left: -58px; top: 6px; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0; transition: opacity .15s; }
.sts-block:hover .sts-block__gutter, .sts-block:focus-within .sts-block__gutter { opacity: 1; }
.sts-block__handle { border: 0; background: transparent; color: #94a3b8; cursor: grab; padding: 2px; border-radius: 5px; line-height: 0; }
.sts-block__handle:hover { background: #f1f5f9; color: var(--sts-text); }
.sts-block__label { font-size: 10px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.sts-block__tools { position: absolute; right: 0; top: -38px; z-index: 5; display: none; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--sts-border); border-radius: 9px; padding: 3px; box-shadow: var(--sts-shadow-lg); }
.sts-block:focus-within .sts-block__tools { display: flex; }
.sts-block__tools .sts-icon-btn { width: 28px; height: 28px; }
.sts-block__tools .dashicons { font-size: 16px; width: 16px; height: 16px; }
.sts-block__type { height: 28px !important; min-height: 28px !important; width: auto !important; padding: 0 22px 0 8px !important; font-size: 12.5px !important; border-radius: 6px !important; border-color: var(--sts-border) !important; }
.sts-block__add { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); z-index: 4; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--sts-border-strong); background: #fff; color: var(--sts-muted); display: grid; place-items: center; opacity: 0; cursor: pointer; padding: 0; transition: opacity .15s, transform .15s; box-shadow: var(--sts-shadow); }
.sts-block__add .dashicons { font-size: 14px; width: 14px; height: 14px; }
.sts-block:hover .sts-block__add { opacity: 1; }
.sts-block__add:hover { color: #fff; background: var(--sts-primary); border-color: var(--sts-primary); transform: translateX(-50%) scale(1.08); }
.sts-block.is-dragging { opacity: .35; }
.sts-block.is-drop-before { box-shadow: 0 -3px 0 var(--sts-primary); }
.sts-block.is-drop-after { box-shadow: 0 3px 0 var(--sts-primary); }
.sts-block.is-moved { animation: sts-flash .8s ease; }
@keyframes sts-flash { from { background: var(--sts-soft-2); } to { background: transparent; } }

.sts-ce { outline: none; padding: 6px 0; color: var(--sts-text-2); word-wrap: break-word; }
.sts-ce.is-empty::before, .sts-ce:empty::before { content: attr(data-placeholder); color: #b6bcc6; pointer-events: none; }
.sts-ce.is-empty:not(:focus)::before { color: transparent; }
.sts-block:only-child .sts-ce.is-empty::before, .sts-ce.is-empty:focus::before { color: #b6bcc6; }
.sts-ce--p { font-size: 17px; line-height: 1.75; }
.sts-ce a { text-decoration: underline; }
.sts-ce--h { font-weight: 700; color: var(--sts-text); letter-spacing: -.015em; line-height: 1.3; padding-top: 14px; }
.sts-ce--h1 { font-size: 32px; }
.sts-ce--h2 { font-size: 26px; }
.sts-ce--h3 { font-size: 21px; }
.sts-ce--h4 { font-size: 18px; }
.sts-ce--h5 { font-size: 16px; }
.sts-ce--h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.sts-ce--list { font-size: 17px; line-height: 1.75; padding-left: 26px; margin: 4px 0; }
.sts-ce--list li { margin: 2px 0; }
.sts-quote { margin: 10px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sts-primary); }
.sts-ce--quote { font-size: 19px; line-height: 1.6; font-style: italic; color: var(--sts-text); }
.sts-quote__cite { border: 0 !important; box-shadow: none !important; outline: none; background: transparent; width: 100%; font: 13px var(--sts-font); color: var(--sts-muted); padding: 2px 0; }
.sts-divider { border: 0; border-top: 2px solid var(--sts-border); margin: 20px 0; }

.sts-img-empty { border: 2px dashed var(--sts-border-strong); border-radius: 12px; padding: 30px; text-align: center; color: var(--sts-muted); background: var(--sts-surface-2); margin: 8px 0; }
.sts-img-empty > .dashicons { font-size: 32px; width: 32px; height: 32px; color: #b6bcc6; }
.sts-img-empty p { margin: 8px 0 14px; }
.sts-img-empty .sts-btn-row { justify-content: center; }
.sts-img { margin: 10px 0; }
.sts-img figure { margin: 0; position: relative; max-width: 680px; border-radius: 10px; overflow: hidden; background: var(--sts-surface-2); }
.sts-img figure img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.sts-img__over { position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity .15s; }
.sts-img figure:hover .sts-img__over { opacity: 1; }
.sts-img__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin-top: 10px; align-items: end; }
.sts-mini-field { display: flex; flex-direction: column; gap: 3px; }
.sts-mini-field > span { font-size: 11px; font-weight: 600; color: var(--sts-muted); text-transform: uppercase; letter-spacing: .03em; }
.sts-mini-field.is-wide { grid-column: span 3; }
.sts-button-block { margin: 10px 0; padding: 14px; border: 1px dashed var(--sts-border-strong); border-radius: 10px; }
.sts-button-preview { display: inline-block; background: var(--sts-primary); color: #fff; padding: 11px 22px; border-radius: 7px; font-weight: 600; }
.sts-button-block .sts-img__fields .sts-mini-field.is-wide { grid-column: span 2; }
.sts-video { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.sts-video__preview { position: relative; border-radius: 10px; overflow: hidden; background: #0f172a; aspect-ratio: 16 / 9; max-height: 400px; }
.sts-video__preview img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.sts-video__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: #0f172a; }
.sts-video__play .dashicons { font-size: 30px; width: 30px; height: 30px; }
.sts-video__ph { height: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: #94a3b8; }
.sts-video__ph .dashicons { font-size: 36px; width: 36px; height: 36px; }
.sts-block--html textarea { margin: 6px 0; background: #0f172a; color: #e2e8f0; border-color: #0f172a; }

.sts-addbar { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 18px; margin-top: 14px; border-top: 1px dashed var(--sts-border); }

.sts-inserter-pop { position: absolute; z-index: 100200; background: #fff; border: 1px solid var(--sts-border); border-radius: 12px; box-shadow: var(--sts-shadow-lg); padding: 6px; display: grid; grid-template-columns: repeat(2, 170px); gap: 2px; }
.sts-inserter-pop button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; font: 500 13px var(--sts-font); color: var(--sts-text-2); cursor: pointer; text-align: left; }
.sts-inserter-pop button:hover, .sts-inserter-pop button:focus { background: var(--sts-soft); color: var(--sts-primary); outline: none; }
.sts-inserter-pop .dashicons { color: var(--sts-muted); }

.sts-fmt { position: absolute; z-index: 100100; display: none; gap: 1px; background: #0f172a; border-radius: 9px; padding: 4px; box-shadow: var(--sts-shadow-lg); }
.sts-fmt.is-visible { display: flex; }
.sts-fmt button { border: 0; background: transparent; color: #e2e8f0; width: 30px; height: 30px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.sts-fmt button:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Sidebar do editor */
.sts-featured__img { border-radius: 10px; overflow: hidden; background: var(--sts-surface-2); margin-bottom: 8px; aspect-ratio: 1200 / 630; }
.sts-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-featured .sts-input { margin-bottom: 8px; }
.sts-featured__empty { width: 100%; aspect-ratio: 1200 / 630; border: 2px dashed var(--sts-border-strong); border-radius: 10px; background: var(--sts-surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--sts-muted); cursor: pointer; font: 500 13px var(--sts-font); }
.sts-featured__empty:hover:not([disabled]) { border-color: var(--sts-primary); color: var(--sts-primary); background: var(--sts-soft); }
.sts-featured__empty .dashicons { font-size: 26px; width: 26px; height: 26px; }
.sts-featured__empty small { font-weight: 400; font-size: 11.5px; }
.sts-cats { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; margin: 8px 0 10px; }
.sts-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--sts-border-strong); border-radius: 8px; min-height: 40px; align-items: center; }
.sts-chips:focus-within { border-color: var(--sts-primary); box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--sts-soft); color: var(--sts-primary); border-radius: 6px; padding: 3px 4px 3px 9px; font-size: 12.5px; font-weight: 500; }
.sts-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 3px; border-radius: 4px; }
.sts-chip button:hover { background: rgba(var(--sts-primary-rgb), .15); }
.sts-chips__input { border: 0 !important; box-shadow: none !important; outline: none; flex: 1; min-width: 100px; font: 13px var(--sts-font); padding: 4px !important; background: transparent; }

/* SEO */
.sts-seo__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sts-seo__head .sts-h3 { margin: 0 !important; }
.sts-tabs-mini { display: flex; gap: 2px; background: var(--sts-surface-2); border: 1px solid var(--sts-border); border-radius: 9px; padding: 3px; margin-bottom: 14px; }
.sts-tabs-mini button { flex: 1; border: 0; background: transparent; padding: 6px 4px; border-radius: 6px; font: 500 12.5px var(--sts-font); color: var(--sts-muted); cursor: pointer; }
.sts-tabs-mini button.is-active { background: #fff; color: var(--sts-text); box-shadow: var(--sts-shadow); }
.sts-meter-row { display: flex; align-items: center; gap: 8px; }
.sts-meter { flex: 1; height: 4px; border-radius: 4px; background: #eef0f3; overflow: hidden; }
.sts-meter span { display: block; height: 100%; border-radius: 4px; transition: width .2s; }
.sts-meter--good span { background: var(--sts-good); }
.sts-meter--warn span { background: var(--sts-warn); }
.sts-meter--bad span { background: var(--sts-bad); }
.sts-meter-row small { font-size: 11px; font-variant-numeric: tabular-nums; }
.sts-var-row { display: flex; gap: 4px; margin: -6px 0 12px; flex-wrap: wrap; }
.sts-var { border: 1px solid var(--sts-border); background: var(--sts-surface-2); border-radius: 5px; font: 11px var(--sts-mono); padding: 2px 6px; cursor: pointer; color: var(--sts-text-2); }
.sts-var:hover { border-color: var(--sts-primary); color: var(--sts-primary); }
.sts-serp { border: 1px solid var(--sts-border); border-radius: 10px; padding: 12px 14px; font-family: Arial, sans-serif; }
.sts-serp__site { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sts-serp__site > div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sts-serp__site strong { font-size: 13px; font-weight: 400; color: #202124; }
.sts-serp__site small { font-size: 11.5px; color: #4d5156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sts-serp__fav { width: 24px; height: 24px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #5f6368; flex: none; }
.sts-serp__title { color: #1a0dab; font-size: 17px; line-height: 1.3; margin: 2px 0; }
.sts-serp__desc { color: #4d5156; font-size: 13px; line-height: 1.5; }
.sts-social { border: 1px solid var(--sts-border); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.sts-social__img { aspect-ratio: 1200 / 630; background: var(--sts-surface-2); display: grid; place-items: center; color: #cbd5e1; }
.sts-social__img img { width: 100%; height: 100%; object-fit: cover; }
.sts-social__body { padding: 10px 12px; background: #f0f2f5; display: flex; flex-direction: column; gap: 2px; }
.sts-social__body small { font-size: 11px; color: #65676b; }
.sts-social__body strong { font-size: 14px; color: #050505; line-height: 1.3; }
.sts-social__body span { font-size: 12.5px; color: #65676b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sts-checklist { display: flex; flex-direction: column; gap: 8px; }
.sts-check-item { display: flex; gap: 9px; font-size: 13px; color: var(--sts-text-2); line-height: 1.45; }
.sts-check-item i { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; }
.sts-check-item--good i { background: var(--sts-good); }
.sts-check-item--warn i { background: var(--sts-warn); }
.sts-check-item--bad i { background: var(--sts-bad); }


/* ==========================================================================
   Toasts e modais
   ========================================================================== */
.sts-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100300; display: flex; flex-direction: column; gap: 8px; }
.sts-toast { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 420px; padding: 12px 16px; border-radius: 10px; background: #0f172a; color: #f8fafc; box-shadow: var(--sts-shadow-lg); font-size: 13.5px; animation: sts-in .22s ease; }
.sts-toast--success .dashicons { color: #4ade80; }
.sts-toast--error .dashicons { color: #f87171; }
.sts-toast--info .dashicons { color: #93c5fd; }
.sts-toast__action { margin-left: auto; border: 0; background: transparent; color: #fff; font: 600 12px var(--sts-font); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.sts-toast.is-out { opacity: 0; transform: translateY(6px); transition: all .25s; }
@keyframes sts-in { from { opacity: 0; transform: translateY(8px); } }
.sts-modal { position: fixed; inset: 0; z-index: 100250; background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px); display: grid; place-items: center; padding: 20px; animation: sts-fade .15s ease; }
.sts-modal.is-out { opacity: 0; transition: opacity .18s; }
@keyframes sts-fade { from { opacity: 0; } }
.sts-modal__box { background: #fff; border-radius: 16px; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: var(--sts-shadow-lg); animation: sts-in .2s ease; }
.sts-modal__box--wide { max-width: 760px; }
.sts-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; flex: none; }
.sts-modal__head h3 { font-size: 16px; font-weight: 600; margin: 0; }
.sts-modal__body { padding: 12px 20px 16px; color: var(--sts-text-2); overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.sts-modal__body p { margin: 0; }
.sts-modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px; flex: none; border-top: 1px solid var(--sts-border); }
.sts-import { min-height: 260px; max-height: 50vh; overflow: auto; border: 1px solid var(--sts-border-strong); border-radius: 10px; padding: 14px; outline: none; font-size: 14px; }
.sts-import:focus { border-color: var(--sts-primary); box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-import:empty::before { content: attr(data-placeholder); color: #9aa3af; }
.sts-import img { max-width: 100%; height: auto; }


/* ==========================================================================
   Componentes adicionais da v2
   ========================================================================== */

/* ---------- Formulários ---------- */
.sts-field { display: flex; flex-direction: column; gap: 6px; }
.sts-field > span, .sts-label { font-weight: 600; color: var(--sts-text-2); font-size: 13px; }
.sts-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sts-form-grid .is-wide { grid-column: 1 / -1; }
.sts-form-grid h4.sts-h4 { margin: 8px 0 0; }
.sts-h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sts-muted); }
.sts-input-group { display: flex; gap: 6px; align-items: stretch; }
.sts-input-group .sts-input { flex: 1; min-width: 0; }
.sts-input-group--prefix { align-items: center; border: 1px solid var(--sts-border-strong); border-radius: 8px; padding-left: 10px; background: var(--sts-surface-2); }
.sts-input-group--prefix .sts-prefix { color: var(--sts-muted); font-size: 13px; white-space: nowrap; }
.sts-input-group--prefix .sts-input { border: 0; background: transparent; }
.sts-color { width: 40px; height: 36px; padding: 2px; border: 1px solid var(--sts-border-strong); border-radius: 8px; background: #fff; cursor: pointer; flex: none; }
.sts-input--color-text { font-family: var(--sts-mono); text-transform: uppercase; }
.sts-checks { display: flex; flex-direction: column; gap: 8px; }
.sts-checks--cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px; }
.sts-stack-xs { display: flex; flex-direction: column; gap: 4px; }
.sts-narrow { max-width: 760px; }
.sts-mr-auto { margin-right: auto; }
.sts-row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sts-block { display: block; }
.sts-warn-text { color: var(--sts-warn); }
.sts-break { word-break: break-all; }
.sts-pre { background: #0f172a; color: #e2e8f0; padding: 14px 16px; border-radius: 10px; font: 12px/1.6 var(--sts-mono); overflow-x: auto; white-space: pre; margin: 0; }
.sts-code { font-family: var(--sts-mono); font-size: 12.5px; background: var(--sts-surface-2); border: 1px solid var(--sts-border); padding: 8px 10px; border-radius: 8px; display: block; overflow-x: auto; }
.sts-code-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sts-code-row code { flex: 1; min-width: 0; font-family: var(--sts-mono); font-size: 12.5px; background: var(--sts-surface-2); border: 1px solid var(--sts-border); padding: 7px 10px; border-radius: 8px; overflow-x: auto; white-space: nowrap; }

/* Switch */
.sts-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.sts-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.sts-switch__track { width: 38px; height: 22px; border-radius: 22px; background: #cbd5e1; position: relative; transition: background .15s; flex: none; }
.sts-switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.sts-switch input:checked + .sts-switch__track { background: var(--sts-primary); }
.sts-switch input:checked + .sts-switch__track::after { transform: translateX(16px); }
.sts-switch input:focus-visible + .sts-switch__track { box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-switch__label { font-size: 13.5px; }

/* Image field */
.sts-imgfield { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--sts-border-strong); border-radius: 10px; padding: 10px; transition: border-color .15s, background .15s; }
.sts-imgfield > .sts-btn-row { justify-content: center; }
.sts-imgfield.is-dropping { border-color: var(--sts-primary); background: var(--sts-soft); }
.sts-imgfield__preview { width: 100%; max-width: 560px; height: clamp(88px, 11vw, 136px); min-height: 88px; margin: 0 auto; padding: 10px; box-sizing: border-box; border-radius: 8px; background: repeating-conic-gradient(#f1f3f6 0 25%, #fff 0 50%) 0 / 18px 18px; display: grid; place-items: center; overflow: hidden; color: var(--sts-muted); }
.sts-imgfield__preview.is-dark { background: #1e293b; }
.sts-imgfield__preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.sts-imgfield--round .sts-imgfield__preview { border-radius: 50%; width: 100px; margin: 0 auto; }
.sts-custom-buttonfield { padding: 12px; border: 1px solid var(--sts-border); border-radius: 10px; background: var(--sts-surface-2); }
.sts-slidefield { display: flex; flex-direction: column; gap: 12px; }
.sts-slidefield__item { padding: 12px; border: 1px solid var(--sts-border); border-radius: 12px; background: var(--sts-surface-2); }
.sts-slidefield__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sts-slidefield__head strong { font-size: 13px; }

/* Tabs */
.sts-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--sts-border); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.sts-tabs::-webkit-scrollbar { display: none; }
.sts-tab { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; color: var(--sts-muted) !important; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; white-space: nowrap; font-size: 14px; }
.sts-tab:hover { color: var(--sts-text) !important; }
.sts-tab.is-active { color: var(--sts-primary) !important; border-color: var(--sts-primary); }
.sts-tab .sts-count { background: var(--sts-soft-2); color: var(--sts-primary); border-radius: 20px; padding: 1px 7px; font-size: 11px; font-weight: 700; font-style: normal; }
.sts-tabs-mini { display: inline-flex; gap: 2px; background: var(--sts-surface-2); border-radius: 8px; padding: 3px; margin-bottom: 12px; flex-wrap: wrap; }
.sts-tabs-mini button { border: 0; background: none; padding: 6px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 500; color: var(--sts-muted); cursor: pointer; }
.sts-tabs-mini button.is-active { background: #fff; color: var(--sts-text); box-shadow: var(--sts-shadow); }

/* Charts */
.sts-chart-wrap { width: 100%; }
.sts-chart { width: 100%; height: auto; display: block; }
.sts-chart__grid { stroke: var(--sts-border); stroke-width: 1; }
.sts-chart__axis { fill: var(--sts-muted); font-size: 10px; font-family: var(--sts-font); }
.sts-chart__bar { fill: var(--sts-primary); }
.sts-bar { height: 8px; border-radius: 6px; background: var(--sts-surface-2); overflow: hidden; }
.sts-bar > span { display: block; height: 100%; border-radius: 6px; background: var(--sts-border-strong); transition: width .4s ease; }
.sts-bar--primary > span { background: var(--sts-primary); }
.sts-bar--good > span { background: var(--sts-good); }
.sts-bar--thin { height: 5px; margin-top: 5px; }
.sts-delta { display: inline-block; margin-left: 8px; vertical-align: baseline; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.sts-delta--up { color: var(--sts-good); }
.sts-delta--down { color: var(--sts-bad); }

/* Ring */
.sts-ring { position: relative; display: grid; place-items: center; flex: none; }
.sts-ring svg { transform: rotate(-90deg); }
.sts-ring__bg { fill: none; stroke: var(--sts-surface-2); stroke-width: 4; }
.sts-ring__fg { fill: none; stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.sts-ring--good .sts-ring__fg { stroke: var(--sts-good); }
.sts-ring--warn .sts-ring__fg { stroke: var(--sts-warn); }
.sts-ring--bad .sts-ring__fg { stroke: var(--sts-bad); }
.sts-ring span { position: absolute; font-weight: 700; font-size: 13px; }
.sts-read-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sts-read-head > div { display: flex; flex-direction: column; gap: 2px; }
.sts-read-head small { line-height: 1.4; }

/* ==========================================================================
   Shell (barra superior + lateral)
   ========================================================================== */
.sts-app--portal { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; background: var(--sts-bg); }
/* Dentro do wp-admin: ocupa a largura do conteúdo e usa a mesma grade do portal, abaixo da barra do WordPress (32px). */
.sts-wrap-app { margin: 0 !important; padding: 0 !important; max-width: none !important; }
#wpbody-content { padding-bottom: 0 !important; }
.sts-app--admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 32px); background: var(--sts-bg); }
.sts-app--admin .sts-side { top: 32px; height: calc(100vh - 32px); }
.sts-app--admin .sts-top { top: 32px; }
.sts-app--admin .sts-tabs--scroll { top: 92px; }
.sts-side { background: var(--sts-surface); border-right: 1px solid var(--sts-border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sts-side__brand { padding: 18px 20px; border-bottom: 1px solid var(--sts-border); position: sticky; top: 0; background: var(--sts-surface); z-index: 2; }
.sts-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.sts-brand img { max-height: 34px; max-width: 170px; object-fit: contain; }
.sts-brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--sts-primary); color: var(--sts-on-primary, #fff); display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.sts-brand__name { font-weight: 700; font-size: 16px; color: var(--sts-text); letter-spacing: -.01em; }
.sts-nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 1px; }
.sts-nav__group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sts-muted); padding: 14px 12px 6px; }
.sts-nav__item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--sts-text-2) !important; font-weight: 500; font-size: 14px; position: relative; }
.sts-nav__item:hover { background: var(--sts-surface-2); }
.sts-nav__item.is-active { background: var(--sts-soft); color: var(--sts-primary) !important; }
.sts-nav__item.is-active .dashicons { color: var(--sts-primary); }
.sts-nav__item .dashicons { color: var(--sts-muted); }
.sts-nav__badge { margin-left: auto; background: var(--sts-bad); color: #fff; border-radius: 20px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.sts-side__foot { padding: 12px; border-top: 1px solid var(--sts-border); display: flex; flex-direction: column; gap: 8px; }
.sts-plan-chip { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: var(--sts-surface-2); color: var(--sts-text-2) !important; font-weight: 600; font-size: 13px; }
.sts-plan-chip .dashicons { color: var(--sts-warn); }
.sts-powered { font-size: 11px; color: var(--sts-muted); text-align: center; }

.sts-shell { display: flex; flex-direction: column; min-width: 0; }
.sts-top { display: flex; align-items: center; gap: 12px; padding: 0 20px; height: 60px; background: var(--sts-surface); border-bottom: 1px solid var(--sts-border); position: sticky; top: 0; z-index: 40; }
.sts-top__menu { display: none; }
.sts-top__brand { display: none; }
.sts-top__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.sts-top__help { margin-right: 4px; }
.sts-pop-wrap { position: relative; }
.sts-main { padding: 26px 32px 64px; min-width: 0; }
.sts-app--admin .sts-main { padding: 24px 24px 64px; max-width: 1480px; }

/* Topo: usuário e sino */
.sts-user { display: flex; align-items: center; gap: 9px; background: none; border: 0; cursor: pointer; padding: 5px 8px 5px 5px; border-radius: 999px; }
.sts-user:hover { background: var(--sts-surface-2); }
.sts-user__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sts-user__meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.sts-user__meta strong { font-size: 13px; }
.sts-user__meta small { font-size: 11px; color: var(--sts-muted); }
.sts-user .dashicons { color: var(--sts-muted); }
.sts-bell { position: relative; }
.sts-bell__count { position: absolute; top: 2px; right: 2px; background: var(--sts-bad); color: #fff; border-radius: 20px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.sts-menu, .sts-notif { position: absolute; right: 0; top: calc(100% + 8px); background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: 12px; box-shadow: var(--sts-shadow-lg); z-index: 60; min-width: 230px; overflow: hidden; }
.sts-menu__head { padding: 12px 14px; border-bottom: 1px solid var(--sts-border); display: flex; flex-direction: column; }
.sts-menu__head small { color: var(--sts-muted); font-size: 12px; }
.sts-menu__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--sts-text-2) !important; font-size: 13.5px; }
.sts-menu__item:hover { background: var(--sts-surface-2); }
.sts-menu__item .dashicons { color: var(--sts-muted); font-size: 17px; }
.sts-notif { width: 360px; max-width: calc(100vw - 32px); max-height: 70vh; display: flex; flex-direction: column; }
.sts-notif__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--sts-border); }
.sts-notif__list { overflow-y: auto; }
.sts-notif__item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--sts-border); color: var(--sts-text) !important; text-align: left; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; }
.sts-notif__item:hover { background: var(--sts-surface-2); }
.sts-notif__item p { margin: 2px 0; font-size: 12.5px; color: var(--sts-text-2); }
.sts-notif__dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; flex: none; margin-top: 5px; }
.sts-notif__item.is-unread .sts-notif__dot { background: var(--sts-primary); }
.sts-notif__item.is-unread strong { color: var(--sts-text); }

.sts-scrim { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 90; }
.sts-demo-banner { background: #0f172a; color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sts-demo-banner .dashicons { color: #fbbf24; }

/* ---------- Painel: atalhos, checklist, tour ---------- */
.sts-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.sts-quick__item { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: 12px; color: var(--sts-text) !important; transition: box-shadow .15s, transform .05s; }
.sts-quick__item:hover { box-shadow: var(--sts-shadow-lg); transform: translateY(-1px); }
.sts-quick__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; flex: none; }
.sts-quick__item small { color: var(--sts-muted); display: block; font-size: 12.5px; }
.sts-checklist-card .sts-bar { margin-bottom: 12px; }
.sts-checklist { display: flex; flex-direction: column; gap: 2px; }
.sts-checklist__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; color: var(--sts-text) !important; }
.sts-checklist__item:hover { background: var(--sts-surface-2); }
.sts-checklist__item > .dashicons:last-child { margin-left: auto; color: var(--sts-muted); }
.sts-checklist__item i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--sts-border-strong); flex: none; position: relative; }
.sts-checklist__item.is-done i { border-color: var(--sts-good); background: var(--sts-good); }
.sts-checklist__item.is-done i::after { content: "\f147"; font-family: dashicons; position: absolute; inset: -4px; color: #fff; font-size: 16px; }
.sts-checklist__item.is-done span { color: var(--sts-muted); text-decoration: line-through; }
.sts-tour { text-align: center; padding: 10px 6px; }
.sts-tour__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; margin: 0 auto 16px; }
.sts-tour__icon .dashicons { font-size: 32px; width: 32px; height: 32px; }
.sts-tour h3 { font-size: 19px; margin-bottom: 8px; }
.sts-tour__dots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.sts-tour__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--sts-border-strong); }
.sts-tour__dots span.is-active { background: var(--sts-primary); width: 20px; border-radius: 4px; }
.sts-toplist { margin: 0; padding: 8px 20px 16px; counter-reset: n; list-style: none; }
.sts-toplist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--sts-border); counter-increment: n; }
.sts-toplist li::before { content: counter(n); width: 22px; height: 22px; border-radius: 50%; background: var(--sts-surface-2); color: var(--sts-muted); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.sts-toplist li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sts-text) !important; }

/* ---------- Tabelas extras ---------- */
.sts-table--compact th, .sts-table--compact td { padding: 8px 14px; }
.sts-status-sel { border-radius: 20px; padding: 3px 8px; height: auto; font-weight: 600; }
.sts-status-sel--info { color: var(--sts-info); }
.sts-status-sel--warn { color: var(--sts-warn); }
.sts-status-sel--ok { color: var(--sts-good); }
.sts-status-sel--muted { color: var(--sts-muted); }
.sts-link-plain { background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
.sts-inline-badge { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; color: var(--sts-warn); font-size: 11px; }
.sts-inline-badge .dashicons { font-size: 13px; width: 13px; height: 13px; }
.sts-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.sts-dl dt { font-weight: 600; color: var(--sts-muted); font-size: 13px; }
.sts-dl dd { margin: 0; }
.sts-kv { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--sts-border); }
.sts-mini-stats { display: flex; gap: 16px; }
.sts-mini-stats span { font-size: 12px; color: var(--sts-muted); }
.sts-mini-stats strong { color: var(--sts-text); font-size: 15px; display: block; }
.sts-channel { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.sts-channel .sts-bar { grid-column: 1 / -1; }
.sts-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sts-type-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--sts-text) !important; transition: box-shadow .15s, transform .05s; }
.sts-type-card:hover { box-shadow: var(--sts-shadow-lg); transform: translateY(-1px); }
.sts-type-card__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; }

/* ---------- Split (nav lateral interna) ---------- */
.sts-split { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.sts-subnav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 76px; }
.sts-subnav__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--sts-text-2) !important; font-weight: 500; font-size: 13.5px; background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.sts-subnav__item:hover { background: var(--sts-surface-2); }
.sts-subnav__item.is-active { background: var(--sts-soft); color: var(--sts-primary) !important; }
.sts-subnav__item.is-active .dashicons { color: var(--sts-primary); }
.sts-subnav__item .dashicons { color: var(--sts-muted); font-size: 17px; }
.sts-subnav__item--muted { color: var(--sts-muted) !important; margin-top: 8px; border-top: 1px solid var(--sts-border); border-radius: 0; padding-top: 14px; }
.sts-subnav__item.is-muted { opacity: .6; }
.sts-split__main { min-width: 0; }
.sts-savebar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; justify-content: flex-end; padding: 12px 18px; background: var(--sts-surface); border: 1px solid var(--sts-border); border-radius: 12px; box-shadow: var(--sts-shadow-lg); margin-top: 18px; z-index: 20; }
.sts-savebar.is-static { position: static; box-shadow: none; }
.sts-savebar span { margin-right: auto; color: var(--sts-muted); font-size: 13px; }
.sts-usage { display: inline-flex; align-items: center; gap: 4px; color: var(--sts-info); font-size: 11.5px; margin-top: 4px; }
.sts-usage .dashicons { font-size: 13px; width: 13px; height: 13px; }
.sts-howto summary { cursor: pointer; font-weight: 600; color: var(--sts-text-2); display: flex; align-items: center; gap: 8px; }
.sts-howto summary .dashicons { color: var(--sts-muted); }
.sts-howto[open] summary { margin-bottom: 12px; }
.sts-howto code { font-size: 12px; }
.sts-preview-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Horários ---------- */
.sts-hours { display: flex; flex-direction: column; gap: 4px; }
.sts-hours__row { display: grid; grid-template-columns: 90px 120px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 9px; }
.sts-hours__row:hover { background: var(--sts-surface-2); }
.sts-hours__row.is-closed .sts-hours__times { opacity: .4; }
.sts-hours__day { font-size: 13.5px; }
.sts-hours__times { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sts-hours__times span { color: var(--sts-muted); font-size: 12px; }
.sts-hours input[type=time] { width: 110px; }

/* ---------- Construtores de blocos especiais ---------- */
.sts-faqb, .sts-tableb, .sts-tocb, .sts-galb, .sts-callb, .sts-ctab, .sts-tldrb { display: flex; flex-direction: column; gap: 10px; }
.sts-faqb__item { display: flex; gap: 8px; align-items: flex-start; }
.sts-faqb__n { width: 22px; height: 22px; border-radius: 50%; background: var(--sts-soft); color: var(--sts-primary); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; margin-top: 6px; }
.sts-faqb__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sts-faqb__q { font-weight: 600; }
.sts-faqb__a { min-height: 44px; border: 1px solid var(--sts-border); border-radius: 8px; padding: 8px 10px; }
.sts-tableb__scroll { overflow-x: auto; }
.sts-tableb__t { border-collapse: collapse; width: 100%; }
.sts-tableb__t td { border: 1px solid var(--sts-border-strong); padding: 0; }
.sts-tableb__cell { min-width: 90px; padding: 8px 10px; outline: none; }
.sts-tableb__cell:focus { box-shadow: inset 0 0 0 2px var(--sts-primary); }
.sts-tableb__t.has-header tr:first-child td { background: var(--sts-surface-2); font-weight: 600; }
.sts-tableb__x { width: 34px; text-align: center; border: 0 !important; background: var(--sts-surface-2); }
.sts-tocb__list { margin: 8px 0 0; padding-left: 20px; color: var(--sts-text-2); }
.sts-tocb__list .is-h3 { margin-left: 16px; list-style: circle; color: var(--sts-muted); }
.sts-galb__grid { display: grid; gap: 10px; }
.sts-galb__item { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--sts-border); background: var(--sts-surface-2); }
.sts-galb__item img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: repeating-conic-gradient(#f1f3f6 0 25%, #fff 0 50%) 0 / 14px 14px; }
.sts-galb__item .sts-input { border: 0; border-top: 1px solid var(--sts-border); border-radius: 0; font-size: 12px; }
.sts-galb__tools { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.sts-galb__tools .sts-icon-btn { background: rgba(255,255,255,.92); box-shadow: var(--sts-shadow); }
.sts-galb__add { aspect-ratio: 1; border: 2px dashed var(--sts-border-strong); border-radius: 10px; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sts-muted); font-size: 12.5px; }
.sts-galb__add:hover { border-color: var(--sts-primary); color: var(--sts-primary); }
.sts-callb { flex-direction: row; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--sts-border); border-left: 4px solid var(--sts-info); background: var(--sts-info-bg); position: relative; }
.sts-callb--tip { border-left-color: var(--sts-primary); background: var(--sts-soft); }
.sts-callb--success { border-left-color: var(--sts-good); background: var(--sts-good-bg); }
.sts-callb--warning { border-left-color: var(--sts-warn); background: var(--sts-warn-bg); }
.sts-callb__icon { color: var(--sts-info); flex: none; }
.sts-callb--tip .sts-callb__icon { color: var(--sts-primary); }
.sts-callb--success .sts-callb__icon { color: var(--sts-good); }
.sts-callb--warning .sts-callb__icon { color: var(--sts-warn); }
.sts-callb__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sts-callb__title, .sts-ctab__title, .sts-tldrb__title { border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--sts-text); padding: 0; outline: none; width: 100%; }
.sts-callb__styles { position: absolute; top: 8px; right: 8px; display: flex; gap: 2px; }
.sts-callb__style { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--sts-border); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--sts-muted); }
.sts-callb__style.is-active { border-color: var(--sts-primary); color: var(--sts-primary); }
.sts-ctab { padding: 16px; border-radius: 12px; border: 1px dashed var(--sts-primary); background: var(--sts-soft); display: flex; flex-direction: column; gap: 8px; }
.sts-tldrb { padding: 14px; border-radius: 10px; background: #fffdf5; border: 1px solid #fde68a; }
.sts-tldrb__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sts-tldrb__head .dashicons { color: var(--sts-warn); }
.sts-tldrb__head .sts-link-btn { margin-left: auto; }

/* ---------- Recorte de imagem ---------- */
.sts-crop__stage { position: relative; max-height: 60vh; overflow: hidden; border-radius: 10px; background: #1e293b; display: grid; place-items: center; user-select: none; }
.sts-crop__stage img { max-width: 100%; max-height: 60vh; display: block; pointer-events: none; }
.sts-crop__box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(15,23,42,.55); cursor: move; }
.sts-crop__handle { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--sts-primary); border: 2px solid #fff; cursor: nwse-resize; }
.sts-crop__focal { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #fff; background: rgba(79,70,229,.4); box-shadow: 0 0 0 2px var(--sts-primary); }

/* ---------- Dropzone / progresso / anexos ---------- */
.sts-dropzone { border: 2px dashed var(--sts-border-strong); border-radius: 14px; padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--sts-surface); transition: border-color .15s, background .15s; }
.sts-dropzone.is-dropping { border-color: var(--sts-primary); background: var(--sts-soft); }
.sts-dropzone > .dashicons { font-size: 34px; width: 34px; height: 34px; color: var(--sts-muted); }
.sts-progress { height: 6px; border-radius: 6px; background: var(--sts-surface-2); overflow: hidden; margin-top: 8px; }
.sts-progress--lg { height: 10px; }
.sts-progress > span { display: block; height: 100%; width: 0; background: var(--sts-primary); transition: width .2s; }
.sts-attach { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--sts-border-strong); border-radius: 10px; padding: 10px; }
.sts-attach.is-dropping { border-color: var(--sts-primary); background: var(--sts-soft); }
.sts-attach__list { display: flex; flex-wrap: wrap; gap: 6px; }
.sts-attach .sts-chip img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }

/* ---------- Leads ---------- */
.sts-table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--sts-primary); }

/* ---------- Formulário builder ---------- */
.sts-formb__field { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--sts-border); border-radius: 10px; background: var(--sts-surface-2); }
.sts-formb__move { display: flex; flex-direction: column; }
.sts-formb__main { display: flex; flex-direction: column; gap: 8px; }
.sts-form-card .sts-code-row { margin: 6px 0; }

/* ---------- Pop-up editor ---------- */
.sts-popedit { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; }
.sts-popedit__prev { position: sticky; top: 0; }
.sts-popprev { background: repeating-conic-gradient(#f1f3f6 0 25%, #fff 0 50%) 0 / 20px 20px; border: 1px solid var(--sts-border); border-radius: 12px; min-height: 260px; position: relative; overflow: hidden; display: flex; }
.sts-popprev--modal { align-items: center; justify-content: center; padding: 20px; }
.sts-popprev--slide { align-items: flex-end; justify-content: flex-end; padding: 16px; }
.sts-popprev--bar_top { align-items: flex-start; }
.sts-popprev--bar_bottom { align-items: flex-end; }
.sts-popprev--modal.sts-popprev--pos-top { align-items: flex-start; }
.sts-popprev--modal.sts-popprev--pos-bottom { align-items: flex-end; }
.sts-popprev--modal.sts-popprev--pos-left { justify-content: flex-start; }
.sts-popprev--modal.sts-popprev--pos-right { justify-content: flex-end; }
.sts-popprev--slide.sts-popprev--pos-left { justify-content: flex-start; }
.sts-popprev--slide.sts-popprev--pos-top { align-items: flex-start; }
.sts-popprev--slide.sts-popprev--pos-bottom { align-items: flex-end; }
.sts-popprev--no-backdrop { background: repeating-conic-gradient(#e8ebf0 0 25%, #f8fafc 0 50%) 0 / 20px 20px; }
.sts-popprev__box { position: relative; background: #fff; border-radius: 12px; box-shadow: var(--sts-shadow-lg); padding: 16px; max-width: 240px; font-size: 13px; transition: transform .2s, opacity .2s; }
.sts-popprev--anim-slide .sts-popprev__box { transform: translateY(7px); }
.sts-popprev--anim-zoom .sts-popprev__box { transform: scale(.94); }
.sts-popprev--bar_top .sts-popprev__box, .sts-popprev--bar_bottom .sts-popprev__box { max-width: none; width: 100%; border-radius: 0; display: flex; align-items: center; gap: 12px; }
.sts-popprev__box img { max-width: 100%; border-radius: 8px; margin-bottom: 8px; display: block; }
.sts-popprev__box--img-left, .sts-popprev__box--img-right { display: flex; align-items: center; gap: 12px; }
.sts-popprev__box--img-left img.sts-popprev__img--left, .sts-popprev__box--img-right img.sts-popprev__img--right { width: 38%; margin: 0; object-fit: cover; }
.sts-popprev__box--img-right { flex-direction: row-reverse; }
.sts-popprev__box strong { display: block; margin-bottom: 4px; }
.sts-popprev__close { position: absolute; right: 8px; top: 6px; font-size: 20px; line-height: 1; color: inherit; opacity: .55; }
.sts-popprev__btn { display: inline-block; margin-top: 10px; padding: 7px 14px; border-radius: 8px; color: #fff; font-weight: 600; font-size: 12px; }
.sts-popprev__form { margin-top: 10px; height: 60px; border: 1px dashed var(--sts-border-strong); border-radius: 8px; display: grid; place-items: center; color: var(--sts-muted); font-size: 12px; }

/* ---------- Pré-visualização desktop/mobile ---------- */
.sts-preview { display: flex; justify-content: center; padding: 16px; background: var(--sts-surface-2); border-radius: 12px; }
.sts-preview__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sts-preview__bar .sts-tabs { margin: 0; border: 0; }
.sts-preview__device { background: #fff; box-shadow: var(--sts-shadow-lg); border-radius: 8px; overflow: hidden; width: 100%; transition: width .2s, height .2s; }
.sts-preview__frame { width: 100%; height: 70vh; border: 0; display: block; }
.sts-preview.is-tablet .sts-preview__device { width: 768px; max-width: 100%; }
.sts-preview.is-mobile .sts-preview__device { width: 390px; max-width: 100%; }
.sts-preview.is-mobile .sts-preview__frame { height: 72vh; }

/* ---------- Links internos ---------- */
.sts-linksearch__res { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 260px; overflow-y: auto; }
.sts-linksearch__item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; }
.sts-linksearch__item:hover { background: var(--sts-surface-2); }
.sts-linksearch__item > div { flex: 1; min-width: 0; }
.sts-linksearch__item small { display: block; }

/* ---------- IA ---------- */
.sts-ai-card .sts-h3 { display: flex; align-items: center; gap: 6px; }
.sts-ai-card .sts-h3 .dashicons { color: var(--sts-primary); }
.sts-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.sts-ai-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid var(--sts-border); border-radius: 10px; background: var(--sts-surface); cursor: pointer; font-size: 12px; font-weight: 500; color: var(--sts-text-2); text-align: center; }
.sts-ai-btn:hover { border-color: var(--sts-primary); color: var(--sts-primary); background: var(--sts-soft); }
.sts-ai-btn .dashicons { color: var(--sts-primary); }
.sts-ai-out { display: flex; flex-direction: column; gap: 4px; }
.sts-ai-pick { text-align: left; padding: 8px 10px; border: 1px solid var(--sts-border); border-radius: 8px; background: var(--sts-surface-2); cursor: pointer; font-size: 13px; }
.sts-ai-pick:hover { border-color: var(--sts-primary); background: var(--sts-soft); }
.sts-ai-result { border: 1px solid var(--sts-border); border-radius: 8px; padding: 10px 12px; background: var(--sts-surface-2); }
.sts-ai-original { border-left: 3px solid var(--sts-border-strong); padding-left: 10px; color: var(--sts-muted); }
.sts-fmt__ai { color: var(--sts-primary) !important; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; width: auto !important; padding: 0 6px; }
.sts-fmt__sep { width: 1px; background: rgba(255,255,255,.2); margin: 4px 2px; }
.sts-brief__outline { list-style: none; padding: 0; }
.sts-brief__outline > li { padding: 4px 0; }
.sts-brief__outline .is-h3 { margin-left: 18px; }
.sts-brief__outline ul { margin: 4px 0 4px 18px; color: var(--sts-muted); }

/* ---------- Ortografia ---------- */
.sts-spell { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sts-spell__item { padding: 8px 10px; border-radius: 8px; background: var(--sts-surface-2); border-left: 3px solid var(--sts-warn); }
.sts-spell__item--spell { border-left-color: var(--sts-bad); }
.sts-spell__item mark { background: var(--sts-warn-bg); color: var(--sts-text); font-weight: 600; padding: 0 2px; }
.sts-spell__fixes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; align-items: center; }
.sts-chip-btn { border: 1px solid var(--sts-border-strong); background: #fff; border-radius: 6px; padding: 3px 9px; font-size: 12px; cursor: pointer; }
.sts-chip-btn:hover { border-color: var(--sts-primary); color: var(--sts-primary); }

/* ---------- Notas / aprovação ---------- */
.sts-notes { display: flex; flex-direction: column; gap: 12px; max-height: 50vh; overflow-y: auto; }
.sts-note { border: 1px solid var(--sts-border); border-radius: 10px; padding: 12px; }
.sts-note--changes { border-color: #fed7aa; background: var(--sts-warn-bg); }
.sts-note--approved { border-color: #bbf7d0; background: var(--sts-good-bg); }
.sts-note.is-resolved { opacity: .6; }
.sts-note__head { display: flex; align-items: center; gap: 8px; }
.sts-note__head small { color: var(--sts-muted); }
.sts-note__tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.sts-note__quote { border-left: 3px solid var(--sts-primary); margin: 8px 0; padding: 2px 0 2px 10px; color: var(--sts-muted); font-size: 13px; }
.sts-note__text { margin: 8px 0 0; }
.sts-note__reply { display: flex; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--sts-border); font-size: 13px; }
.sts-lock-banner { display: flex; align-items: center; gap: 10px; }
.sts-lock-banner > div { flex: 1; }

/* ---------- Revisões ---------- */
.sts-revs__wrap { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 16px; height: 68vh; }
.sts-revs { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--sts-border); padding-right: 10px; }
.sts-revs__item { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.sts-revs__item:hover { background: var(--sts-surface-2); }
.sts-revs__item.is-active { background: var(--sts-soft); }
.sts-revs__preview { overflow-y: auto; padding: 0 6px; }

/* ---------- Thread de solicitações ---------- */
.sts-thread { display: flex; flex-direction: column; gap: 14px; }
.sts-msg { display: flex; gap: 10px; }
.sts-msg__bubble { flex: 1; background: var(--sts-surface-2); border-radius: 12px; padding: 12px 14px; }
.sts-msg.is-support .sts-msg__bubble { background: var(--sts-soft); }
.sts-msg.is-internal .sts-msg__bubble { background: var(--sts-warn-bg); border: 1px dashed var(--sts-warn); }
.sts-msg__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.sts-msg__text p { margin: 0 0 8px; }
.sts-msg__files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sts-file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--sts-border); border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--sts-text-2) !important; }
.sts-file img { width: 28px; height: 28px; border-radius: 5px; object-fit: cover; }

/* ---------- Feedback visual ---------- */
.sts-fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sts-fb { padding: 0; overflow: hidden; }
.sts-fb.is-resolved { opacity: .6; }
.sts-fb__shot { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--sts-surface-2); border-bottom: 1px solid var(--sts-border); }
.sts-fb__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sts-fb__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sts-fb__page { font-size: 12px; color: var(--sts-muted) !important; display: inline-flex; align-items: center; gap: 4px; }
.sts-fb__body .sts-btn-row { margin-top: auto; }

/* ---------- Timeline de atividades ---------- */
.sts-timeline { padding: 8px 20px 16px; }
.sts-timeline__day { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sts-muted); margin: 16px 0 8px; }
.sts-timeline__item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.sts-timeline__icon { width: 32px; height: 32px; border-radius: 8px; background: var(--sts-surface-2); color: var(--sts-muted); display: grid; place-items: center; flex: none; }

/* ---------- Conta ---------- */
.sts-account { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.sts-account__photo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sts-account__avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.sts-team-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sts-team-photo__preview { width: 64px; height: 64px; }
.sts-team-photo__preview .sts-avatar { width: 64px; height: 64px; }
.sts-account .sts-form-grid { flex: 1; min-width: 260px; }

/* ---------- Avatar ---------- */
.sts-avatar { border-radius: 50%; object-fit: cover; flex: none; }
.sts-avatar--letter { width: 32px; height: 32px; background: var(--sts-soft); color: var(--sts-primary); display: inline-grid; place-items: center; font-weight: 700; }

/* ---------- Plano ---------- */
.sts-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sts-plan-item { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--sts-border); border-radius: 10px; }
.sts-plan-item.is-locked { opacity: .7; background: var(--sts-surface-2); }
.sts-plan-item__icon { color: var(--sts-good); flex: none; }
.sts-plan-item.is-locked .sts-plan-item__icon { color: var(--sts-muted); }
.sts-plan-item small { display: block; color: var(--sts-muted); margin: 2px 0; }

/* ---------- Link na bio ---------- */
.sts-lb { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.sts-lb__preview { position: sticky; top: 76px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sts-lb-url { display: flex; align-items: center; gap: 10px; }
.sts-lb-url .dashicons { color: var(--sts-primary); }
.sts-lb-url a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sts-lb-link { align-items: flex-start !important; }
.sts-lb-link__fields { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sts-phone { width: 280px; max-width: 100%; border: 10px solid #0f172a; border-radius: 34px; overflow: hidden; box-shadow: var(--sts-shadow-lg); }
.sts-phone__screen { min-height: 460px; padding: 28px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sts-phone__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.sts-phone__title { font-size: 17px; }
.sts-phone__bio { font-size: 12.5px; opacity: .8; margin: 0 0 8px; }
.sts-phone__link { display: block; width: 100%; padding: 12px; font-weight: 600; font-size: 13px; text-decoration: none; margin-top: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sts-phone__socials { letter-spacing: 6px; margin-top: 12px; opacity: .6; }
.sts-phone__posts { margin-top: 12px; opacity: .6; font-size: 11px; }

/* ==========================================================================
   Calendário
   ========================================================================== */
.sts-cal { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.sts-cal__toolbar { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px 16px; padding: 14px 16px; border-bottom: 1px solid var(--sts-border); }
.sts-cal__nav { display: flex; align-items: center; gap: 6px; }
.sts-cal__title { font-size: 17px; font-weight: 700; min-width: 180px; text-transform: capitalize; }
.sts-cal__toolbar .sts-tabs { margin: 0; border: 0; justify-self: end; }
.sts-cal__filters { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto; align-items: center; gap: 8px; width: 100%; }
.sts-cal__filters .sts-input { width: auto; min-width: 0; }
.sts-cal__filters .sts-check { white-space: nowrap; }
.sts-cal__goal { padding: 12px 16px; border-bottom: 1px solid var(--sts-border); background: var(--sts-surface-2); }
.sts-cal__goal-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sts-cal__goal-row .sts-bar { flex: 1; min-width: 120px; }
.sts-cal__goal-row .dashicons { color: var(--sts-warn); }
.sts-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.sts-cal__wd { padding: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--sts-muted); border-bottom: 1px solid var(--sts-border); }
.sts-cal__day { min-height: 108px; border-right: 1px solid var(--sts-border); border-bottom: 1px solid var(--sts-border); padding: 4px; display: flex; flex-direction: column; gap: 3px; }
.sts-cal__grid--week .sts-cal__day { min-height: 320px; }
.sts-cal__day:nth-child(7n+1) { border-left: 0; }
.sts-cal__day.is-other { background: var(--sts-surface-2); }
.sts-cal__day.is-weekend { background: #fcfcfd; }
.sts-cal__day.is-today { box-shadow: inset 0 0 0 2px var(--sts-primary); }
.sts-cal__day.is-over { background: var(--sts-soft); }
.sts-cal__daynum { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--sts-text-2); padding: 2px 4px; }
.sts-cal__day.is-other .sts-cal__daynum { color: var(--sts-muted); }
.sts-cal__add { opacity: 0; border: 0; background: var(--sts-soft); color: var(--sts-primary); border-radius: 6px; width: 20px; height: 20px; cursor: pointer; display: grid; place-items: center; }
.sts-cal__day:hover .sts-cal__add { opacity: 1; }
.sts-cal-chip { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 6px; font-size: 11.5px; background: var(--sts-surface-2); color: var(--sts-text) !important; border-left: 3px solid var(--sts-muted); cursor: pointer; overflow: hidden; }
.sts-cal-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sts-cal-chip small { color: var(--sts-muted); font-size: 10px; }
.sts-cal-chip--publish { border-left-color: var(--sts-good); background: var(--sts-good-bg); }
.sts-cal-chip--future { border-left-color: var(--sts-info); background: var(--sts-info-bg); }
.sts-cal-chip--pending { border-left-color: var(--sts-warn); background: var(--sts-warn-bg); }
.sts-cal-chip--draft { border-left-color: var(--sts-muted); }
.sts-cal-chip--idea { border-left-color: var(--sts-primary); background: var(--sts-soft); border-style: dashed; border-left-style: solid; width: 100%; text-align: left; }
.sts-cal-chip--idea .dashicons { font-size: 13px; width: 13px; height: 13px; color: var(--sts-primary); }
.sts-cal-date { font-size: 10.5px; padding: 1px 5px; border-radius: 4px; background: #f1f5f9; color: var(--sts-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sts-cal-date--holiday { background: #fef2f2; color: #b91c1c; }
.sts-cal-date--marketing { background: #eff6ff; color: #1d4ed8; }
.sts-cal-date--campaign { background: var(--sts-soft); color: var(--sts-primary); }
.sts-cal__list { padding: 8px 0; }
.sts-cal__listday { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--sts-border); }
.sts-cal__listday.is-today { background: var(--sts-soft); }
.sts-cal__listdate { text-align: center; }
.sts-cal__listdate strong { font-size: 20px; display: block; }
.sts-cal__listdate small { color: var(--sts-muted); text-transform: uppercase; font-size: 11px; }
.sts-cal__listitems { display: flex; flex-direction: column; gap: 6px; }
.sts-cal__side .sts-card { margin-bottom: 16px; }
.sts-cal__ideas, .sts-cal__loose { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; max-height: 360px; overflow-y: auto; }
.sts-idea { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--sts-border); border-radius: 9px; }
.sts-idea__main { flex: 1; text-align: left; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sts-idea__main strong { font-size: 13px; }
.sts-idea__main small { color: var(--sts-muted); }

/* ==========================================================================
   Administração
   ========================================================================== */
.sts-admin { display: flex; flex-direction: column; gap: 18px; }
.sts-tabs--scroll { position: sticky; top: 60px; background: var(--sts-bg); z-index: 20; }
.sts-app--admin .sts-tabs--scroll { top: 0; }
.sts-modlist { display: flex; flex-direction: column; }
.sts-modrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--sts-border); }
.sts-modrow:first-child { border-top: 0; }
.sts-modrow.is-off { opacity: .65; }
.sts-modrow strong { font-size: 14px; }
.sts-modrow small { color: var(--sts-muted); display: block; }
.sts-seg { display: inline-flex; border: 1px solid var(--sts-border-strong); border-radius: 8px; overflow: hidden; flex: none; }
.sts-seg__btn { border: 0; background: var(--sts-surface); padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--sts-muted); cursor: pointer; border-left: 1px solid var(--sts-border); }
.sts-seg__btn:first-child { border-left: 0; }
.sts-seg__btn:hover:not(.is-active) { background: var(--sts-surface-2); color: var(--sts-text); }
.sts-seg__btn--on.is-active { background: var(--sts-good); color: #fff; }
.sts-seg__btn--locked.is-active { background: var(--sts-warn); color: #fff; }
.sts-seg__btn--off.is-active { background: var(--sts-surface-2); color: var(--sts-text-2); box-shadow: inset 0 0 0 1px var(--sts-border-strong); }
.sts-plan-apply { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sts-plan-apply span { color: var(--sts-muted); font-size: 13px; }

/* Matriz de permissões */
.sts-matrix-wrap { overflow-x: auto; }
.sts-matrix { border-collapse: collapse; width: 100%; min-width: 600px; }
.sts-matrix th, .sts-matrix td { border-bottom: 1px solid var(--sts-border); padding: 10px 8px; text-align: center; }
.sts-matrix thead th { position: sticky; top: 0; background: var(--sts-surface); z-index: 2; border-bottom: 2px solid var(--sts-border-strong); }
.sts-matrix__perm { text-align: left; min-width: 240px; position: sticky; left: 0; background: var(--sts-surface); }
.sts-matrix__perm strong { font-weight: 500; font-size: 13.5px; display: block; }
.sts-matrix__perm small { color: var(--sts-muted); font-size: 12px; }
.sts-matrix__group th { background: var(--sts-surface-2); text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sts-muted); position: sticky; left: 0; }
.sts-matrix tr.is-off { opacity: .55; }
.sts-matrix__cell input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sts-matrix__cell input::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .12s ease-in-out; margin-top: -2px; }
.sts-matrix__cell input:checked { border-color: var(--sts-primary); background: var(--sts-primary); }
.sts-matrix__cell input:checked::after { transform: rotate(-45deg) scale(1); }
.sts-matrix__cell input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sts-soft-2); }
.sts-matrix__cell input:disabled { opacity: .55; cursor: not-allowed; }
.sts-matrix__role { min-width: 110px; }
.sts-role-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-weight: 600; font-size: 12.5px; border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.sts-role-chip--btn { cursor: pointer; }
.sts-role-chip--btn .dashicons { font-size: 13px; width: 13px; height: 13px; opacity: .6; }
.sts-overrides { display: flex; flex-direction: column; gap: 6px; }
.sts-override { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--sts-border); }
.sts-details summary { cursor: pointer; color: var(--sts-primary); font-weight: 600; font-size: 13px; }
.sts-details[open] summary { margin-bottom: 10px; }

/* Marca: prévia */
.sts-brand-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 20px; align-items: start; }
.sts-brand-layout__prev { position: sticky; top: 76px; }
.sts-brandprev { display: flex; flex-direction: column; gap: 14px; }
.sts-brandprev__login { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sts-border); border-radius: 12px; overflow: hidden; height: 220px; box-shadow: var(--sts-shadow); }
.sts-brandprev__login--card { display: block; background: var(--sts-surface-2); padding: 18px; }.sts-brandprev__login--card .sts-brandprev__form { margin: 0 auto; }.sts-brandprev__login--full { display: block; position: relative; background: var(--sts-surface-2); padding: 18px; }.sts-brandprev__login--full .sts-brandprev__aside { position: absolute; inset: 0; }.sts-brandprev__login--full .sts-brandprev__form { position: relative; margin: 0 auto; min-height: 180px; }.sts-brandprev__login--card .sts-brandprev__aside { display: none; }.sts-brandprev__login--center .sts-brandprev__form { text-align: center; }
.sts-brandprev__aside { display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.sts-brandprev__aside img { max-height: 32px; max-width: 130px; object-fit: contain; }
.sts-brandprev__aside small { display: block; opacity: .78; font-size: 9px; margin-left: 8px; }.sts-brandprev__badge { display: inline-flex; margin-left: 8px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; background: rgba(255,255,255,.12); font-size: 8px; }
.sts-brandprev__form { background: #fff; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.sts-brandprev__form--glass { background: rgba(255,255,255,.7); backdrop-filter: blur(8px); }.sts-brandprev__form--minimal { background: transparent; }
.sts-brandprev__logo { max-height: 28px; max-width: 120px; object-fit: contain; align-self: flex-start; margin-bottom: 4px; }
.sts-brandprev__form strong { font-size: 14px; }
.sts-brandprev__form small { color: var(--sts-muted); font-size: 11px; }
.sts-brandprev__input { height: 26px; border: 1px solid var(--sts-border-strong); background: var(--sts-surface-2); }
.sts-brandprev__btn { height: 30px; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-top: 2px; }
.sts-brandprev__app { display: grid; grid-template-columns: 90px 1fr; border: 1px solid var(--sts-border); border-radius: 12px; overflow: hidden; height: 180px; box-shadow: var(--sts-shadow); }
.sts-brandprev__side { background: var(--sts-surface); border-right: 1px solid var(--sts-border); padding: 12px 8px; display: flex; flex-direction: column; gap: 6px; }
.sts-brandprev__side img { max-height: 22px; max-width: 70px; object-fit: contain; }
.sts-brandprev__side strong { font-size: 11px; }
.sts-brandprev__side span { font-size: 10px; padding: 5px 7px; color: var(--sts-text-2); }
.sts-brandprev__side span.is-active { color: #fff; }
.sts-brandprev__main { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--sts-bg); }
.sts-brandprev__card { height: 50px; background: #fff; border: 1px solid var(--sts-border); }

/* Saúde */
.sts-health { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sts-border); }
.sts-health i { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 5px; }
.sts-health--good i { background: var(--sts-good); }
.sts-health--warn i { background: var(--sts-warn); }
.sts-health--bad i { background: var(--sts-bad); }
.sts-health p { margin: 2px 0; color: var(--sts-text-2); font-size: 13.5px; }

/* Histórico / snapshots */
.sts-history { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.sts-history__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--sts-border); border-radius: 10px; }
.sts-history__labels { margin: 2px 0 0; color: var(--sts-muted); font-size: 12.5px; }

.sts-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.sts-log li { display: flex; align-items: center; gap: 6px; color: var(--sts-text-2); }
.sts-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sts-table-scroll { overflow-x: auto; }
.sts-stars-input { display: flex; gap: 2px; }
.sts-stars-input button { background: none; border: 0; font-size: 24px; color: var(--sts-border-strong); cursor: pointer; padding: 0; line-height: 1; }
.sts-stars-input button.is-on { color: #f59e0b; }
.sts-sortable { display: flex; flex-direction: column; }
.sts-sortable__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--sts-border); background: var(--sts-surface); }
.sts-sortable__item.is-dragging { opacity: .4; }
.sts-sortable__item.is-draft { opacity: .65; }
.sts-sortable__handle { cursor: grab; color: var(--sts-muted); display: flex; }

/* Prose (prévia de blocos) */
.sts-prose { line-height: 1.7; }
.sts-prose h2, .sts-prose h3 { margin: 1.2em 0 .5em; }
.sts-prose img { max-width: 100%; border-radius: 8px; }
.sts-prose__box { border-left: 3px solid var(--sts-primary); background: var(--sts-soft); padding: 10px 14px; border-radius: 8px; margin: 1em 0; }
.sts-prose__gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.sts-prose__code { background: var(--sts-surface-2); padding: 10px; border-radius: 8px; font-family: var(--sts-mono); font-size: 12px; white-space: pre-wrap; }

/* Modal full */
.sts-modal__box--full { max-width: min(1100px, 96vw); width: 96vw; }
.sts-btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.sts-btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -8px 0 0 -8px; border: 2px solid var(--sts-primary); border-top-color: transparent; border-radius: 50%; animation: sts-spin .7s linear infinite; }
.sts-btn--primary.is-busy::after, .sts-btn--danger-solid.is-busy::after { border-color: #fff; border-top-color: transparent; }
.sts-btn--success { background: var(--sts-good); border-color: var(--sts-good); color: #fff !important; }
.sts-btn--success:hover { background: #15803d; border-color: #15803d; color: #fff !important; filter: none; }
.sts-btn--danger { color: var(--sts-bad) !important; }
.sts-btn--danger-solid { background: var(--sts-bad); border-color: var(--sts-bad); color: #fff !important; }
.sts-btn--danger-solid:hover { background: #b91c1c; border-color: #b91c1c; color: #fff !important; filter: none; }
.sts-hide-sm { display: inline; }

/* ==========================================================================
   Autenticação
   ========================================================================== */
.sts-auth-page { margin: 0; min-height: 100vh; background: #f4f6fb; font-family: var(--sts-font); }
.sts-auth { display: grid; grid-template-columns: minmax(0, var(--sts-login-brand-width,50%)) minmax(0, calc(100% - var(--sts-login-brand-width,50%))); min-height: 100vh; }
.sts-auth__brand { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 32%), linear-gradient(145deg, var(--sts-primary), #312e81) center / cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; padding: 48px; overflow: hidden; }
.sts-auth__brand::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,23,42,.12), rgba(15,23,42,.3)); }
.sts-auth__brand::after { display: none; }
.sts-auth-page--brand-left .sts-auth__brand { justify-content: flex-start; }
.sts-auth-page--brand-right .sts-auth__brand { justify-content: flex-end; }
.sts-auth-page--brand-left .sts-auth__brand-inner { text-align: left; }
.sts-auth-page--brand-right .sts-auth__brand-inner { text-align: right; }
.sts-auth-page--brand-v-top .sts-auth__brand { align-items: flex-start; }
.sts-auth-page--brand-v-bottom .sts-auth__brand { align-items: flex-end; }
.sts-auth__brand-inner { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 420px; width: 100%; }
.sts-auth__logo { width: min(var(--sts-login-logo-width,260px),100%); max-width: 100%; max-height: var(--sts-login-logo-height,80px); object-fit: contain; margin-bottom: var(--sts-login-logo-gap,12px); }
.sts-auth__wordmark { font-size: 34px; font-weight: 750; letter-spacing: -.035em; text-shadow: 0 2px 18px rgba(15,23,42,.18); }
.sts-auth__site { margin: 12px 0 0; opacity: .86; font-size: 15px; }
.sts-auth__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sts-login-badge-margin,24px); padding: var(--sts-login-badge-padding,7px) calc(var(--sts-login-badge-padding,7px) * 1.7); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.12); font-size: var(--sts-login-badge-size,12px); font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(8px); }
.sts-auth__badge::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--sts-primary); font-size: 11px; font-weight: 800; }
.sts-auth__main { display: flex; align-items: center; justify-content: center; padding: var(--sts-login-panel-padding,48px) 28px; background: var(--sts-login-panel-color,#f4f6fb); }
.sts-auth-page--form-v-top .sts-auth__main { align-items: flex-start; }
.sts-auth-page--form-v-bottom .sts-auth__main { align-items: flex-end; }
.sts-auth__card { width: 100%; max-width: min(var(--sts-login-form-width,456px),100%); padding: var(--sts-login-card-padding,42px) var(--sts-login-card-side-padding,44px) 30px; border: 1px solid rgba(148,163,184,.22); border-radius: var(--sts-login-card-radius,22px); background: var(--sts-login-card-color,#fff); box-shadow: var(--sts-login-card-shadow,0 24px 70px rgba(15,23,42,.11),0 3px 12px rgba(15,23,42,.04)); }
.sts-auth-page--align-center .sts-auth__card { text-align: center; }.sts-auth-page--align-center .sts-auth__card form,.sts-auth-page--align-center .sts-auth__row { text-align: left; }.sts-auth-page--align-center .sts-auth__logo-mobile { margin-left: auto; margin-right: auto; }
.sts-auth__form-logo { display: block; width: min(var(--sts-login-form-logo-width,180px),100%); max-width: 100%; height: auto; max-height: var(--sts-login-form-logo-height,64px); object-fit: contain; padding: var(--sts-login-form-logo-padding,0); margin-top: var(--sts-login-form-logo-margin-top,0); margin-bottom: var(--sts-login-form-logo-margin-bottom,20px); }
.sts-auth-page--form-logo-left .sts-auth__form-logo { margin-left: 0; margin-right: auto; }
.sts-auth-page--form-logo-center .sts-auth__form-logo { margin-left: auto; margin-right: auto; }
.sts-auth-page--form-logo-right .sts-auth__form-logo { margin-left: auto; margin-right: 0; }
.sts-auth__card--glass { background: rgba(255,255,255,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(255,255,255,.5); }
.sts-auth__card--minimal { background: transparent; border-color: transparent; box-shadow: none; padding-left: var(--sts-login-card-side-padding,12px); padding-right: var(--sts-login-card-side-padding,12px); }
.sts-auth-page--card .sts-auth { display: block; }.sts-auth-page--card .sts-auth__brand { display: none; }.sts-auth-page--card .sts-auth__main { min-height: 100vh; background: var(--sts-login-bg-color,#4f46e5); background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 32%), radial-gradient(circle at 90% 80%, rgba(15,23,42,.22), transparent 35%); }
.sts-auth-page--full .sts-auth { display: block; position: relative; min-height: 100vh; }.sts-auth-page--full .sts-auth__brand { position: absolute; inset: 0; min-height: 100vh; }.sts-auth-page--full .sts-auth__main { position: relative; min-height: 100vh; background: transparent; }.sts-auth-page--full .sts-auth__card { background: var(--sts-login-card-color,#fff); }
.sts-auth__logo-mobile { display: none; width: min(var(--sts-login-logo-width,180px),100%); max-width: 100%; max-height: var(--sts-login-logo-height,48px); margin: 0 auto 24px; object-fit: contain; }
.sts-auth__card h1 { font-size: var(--sts-login-title-size,26px); font-weight: 750; letter-spacing: -.035em; margin: 0 0 7px; }
.sts-auth__card > p.sts-muted { margin: 0; font-size: var(--sts-login-subtitle-size,14px); }
.sts-auth__card form { margin-top: 26px; display: flex; flex-direction: column; gap: var(--sts-login-form-gap,17px); }
.sts-auth__card .sts-field { margin: 0; gap: 8px; }
.sts-auth__card .sts-field > span:first-child { font-size: 12.5px; font-weight: 650; color: #334155; }
.sts-auth__card input:not([type="checkbox"]):not([type="hidden"]) { width: 100%; height: var(--sts-login-field-height,48px); min-height: var(--sts-login-field-height,48px); padding: 0 14px; border: 1px solid #d6dbe5; border-radius: 11px; background: #fff; color: var(--sts-text); font: 400 14px/1 var(--sts-font); box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: border-color .18s, box-shadow .18s, background .18s; }
.sts-auth__card input:not([type="checkbox"]):not([type="hidden"]):hover { border-color: #b9c2d1; }
.sts-auth__card input:not([type="checkbox"]):not([type="hidden"]):focus { outline: none; border-color: var(--sts-primary); box-shadow: 0 0 0 4px rgba(var(--sts-primary-rgb), .13); background: #fff; }
.sts-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.sts-auth__row a, .sts-auth__links a, .sts-auth__card .sts-link-btn { color: var(--sts-primary); font-weight: 550; text-decoration: none; }
.sts-auth__row a:hover, .sts-auth__links a:hover, .sts-auth__card .sts-link-btn:hover { text-decoration: underline; }
.sts-auth__links { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sts-auth__foot { margin: 26px 0 0; text-align: center; color: var(--sts-muted); font-size: 12px; }
.sts-auth__help { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: var(--sts-muted); }.sts-auth__help a { color: var(--sts-primary); font-weight: 600; text-decoration: none; }.sts-auth__help a:hover { text-decoration: underline; }
.sts-auth__terms { margin: 18px 0 0; text-align: center; color: var(--sts-muted); font-size: 11px; line-height: 1.5; }
.sts-auth__card .sts-btn--primary { height: var(--sts-login-button-height,48px); border-radius: var(--sts-login-button-radius,11px); font-size: 14px; font-weight: 650; color: var(--sts-login-button-text-color,#fff); background: var(--sts-login-button-color,var(--sts-primary)); box-shadow: 0 8px 18px rgba(var(--sts-primary-rgb), .22); }
.sts-auth__card .sts-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(var(--sts-primary-rgb), .28); }
.sts-auth__card .sts-check { color: #475569; font-size: 13px; }
.sts-auth__card .sts-check input { appearance: none; width: 17px; height: 17px; margin: 0; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; display: grid; place-content: center; }
.sts-auth__card .sts-check input::before { display: none; }
.sts-auth__card .sts-check input:checked { border-color: var(--sts-primary); background: var(--sts-primary); }
.sts-pass { position: relative; display: block; }
.sts-pass { width: 100%; min-width: 0; max-width: 100%; }
.sts-pass input { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding-right: 76px !important; }
.sts-pass .sts-link-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12.5px; max-width: 62px; overflow: hidden; white-space: nowrap; }
.sts-auth__card { min-width: 0; box-sizing: border-box; }
.sts-auth__card form, .sts-auth__card .sts-field, .sts-auth__card .sts-field > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.sts-auth__card input, .sts-auth__card button, .sts-auth__card select { box-sizing: border-box; max-width: 100%; }
.sts-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sts-source-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--sts-border, #d9deea); border-radius: 12px; background: #fff; cursor: pointer; }
.sts-source-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sts-source-card .sts-badge { align-self: flex-start; }
.sts-switch { display: inline-flex; align-items: center; }
.sts-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
@media (max-width: 680px) { .sts-source-grid { grid-template-columns: 1fr; } .sts-auth__card { padding: 28px 20px 22px; } }
.sts-code-input { font-size: 28px; letter-spacing: 10px; text-align: center; font-family: var(--sts-mono); }
.sts-meter { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--sts-muted); }
.sts-meter i { flex: 1; height: 5px; border-radius: 4px; background: var(--sts-surface-2); position: relative; overflow: hidden; }
.sts-meter i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; transition: width .2s, background .2s; }
.sts-meter--0 i::after { width: 20%; background: var(--sts-bad); }
.sts-meter--1 i::after { width: 40%; background: var(--sts-bad); }
.sts-meter--2 i::after { width: 60%; background: var(--sts-warn); }
.sts-meter--3 i::after { width: 80%; background: var(--sts-good); }
.sts-meter--4 i::after { width: 100%; background: var(--sts-good); }
.sts-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.sts-check input { margin-top: 0; }

@keyframes sts-spin { to { transform: rotate(360deg); } }
@keyframes sts-shimmer { 0% { background-position: 120% 0; } 100% { background-position: -80% 0; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1200px) {
	.sts-lb, .sts-popedit, .sts-brand-layout, .sts-cal { grid-template-columns: minmax(0,1fr); }
	.sts-lb__preview, .sts-popedit__prev, .sts-brand-layout__prev, .sts-cal__side { position: static; }
	.sts-cal__side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 1080px) {
	.sts-dash-grid, .sts-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.sts-app--portal { grid-template-columns: minmax(0, 1fr); }
	.sts-app--admin { margin-left: 0; }
	.sts-side { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 100; transform: translateX(-100%); transition: transform .2s; }
	.sts-app--portal.is-menu-open .sts-side, .sts-app--admin.is-menu-open .sts-side { transform: none; }
	.sts-app.is-menu-open .sts-scrim { display: block; }
	.sts-top__menu { display: inline-flex; }
	.sts-top__brand { display: block; }
	.sts-top__brand .sts-brand__name { display: none; }
	.sts-main, .sts-app--admin .sts-main { padding: 18px 16px 60px; }
	.sts-form-grid { grid-template-columns: 1fr; }
	.sts-split { grid-template-columns: 1fr; }
	.sts-subnav { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 6px; }
	.sts-subnav__item--muted { border-top: 0; padding-top: 9px; white-space: nowrap; }
	.sts-revs__wrap { grid-template-columns: 1fr; height: auto; }
	.sts-account { flex-direction: column; align-items: center; }
	.sts-cal__side { grid-template-columns: 1fr; }
	.sts-tabs--scroll { position: static; }
	.sts-cal__toolbar { grid-template-columns: 1fr; }
	.sts-cal__toolbar .sts-tabs { grid-column: 1; justify-self: start; }
	.sts-cal__filters { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
	.sts-editor, .sts-app--admin .sts-editor { margin: 0; }
	.sts-editor__bar { padding: 10px 14px; flex-wrap: wrap; }
	.sts-editor__actions { flex-wrap: wrap; }
	.sts-editor__body { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 16px 14px 44px; }
	.sts-editor__side, .sts-app--admin .sts-editor__side { position: static; max-height: none; order: 2; }
}
@media (max-width: 600px) {
	.sts-stats { grid-template-columns: 1fr; }
	.sts-auth { grid-template-columns: 1fr; }
	.sts-auth__brand { display: none; }
	.sts-auth__logo-mobile { display: block; }
	.sts-auth__main { padding: 20px 14px; }
	.sts-auth__card { max-width: min(var(--sts-login-form-width,520px),100%); padding: 30px 22px 24px; border-radius: min(var(--sts-login-card-radius,18px),18px); box-shadow: 0 14px 38px rgba(15,23,42,.09); }
	.sts-auth__card h1 { font-size: 23px; }
	.sts-user__meta { display: none; }
	.sts-hide-sm { display: none; }
	.sts-ai-grid { grid-template-columns: 1fr; }
	.sts-page-head { flex-direction: column; align-items: flex-start; }
	.sts-page-head__actions { width: 100%; flex-wrap: wrap; }
	.sts-hours__row { grid-template-columns: 1fr; gap: 6px; }
	.sts-img__fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.sts-mini-field.is-wide { grid-column: span 2; }
	.sts-formb__field { grid-template-columns: 1fr; }
	.sts-fb-grid { grid-template-columns: 1fr; }
	.sts-inserter-pop { left: 8px !important; right: 8px; width: auto; grid-template-columns: 1fr; }
	.sts-cal__day { min-height: 76px; }
	.sts-cal__filters { width: 100%; }
	.sts-cal__filters { grid-template-columns: 1fr; }
	.sts-modal { padding: 10px; }
	.sts-modal__box { max-height: calc(100vh - 20px); }
	.sts-page-head__actions { width: 100%; }
}
@media (max-width: 480px) {
	.sts-main { padding-left: 10px; padding-right: 10px; }
	.sts-card { padding: 14px; }
	.sts-page-head { align-items: flex-start; }
	.sts-auth__main { padding: 16px 10px; }
	.sts-auth__card { padding-left: 16px; padding-right: 16px; }
	.sts-auth__row, .sts-auth__links { flex-wrap: wrap; }
	.sts-auth__row a:last-child, .sts-auth__links a:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.sts-app *, .sts-modal *, .sts-toast { animation: none !important; transition: none !important; }
}
