/* Strikewise admin – loaded only on Strikewise screens. */

.sw-wrap,
#strikewise-history,
#strikewise_dashboard {
	--sw-brand: #0e5a73;
	--sw-brand-dark: #0b3954;
	--sw-accent: #0f9f6e;
	--sw-ink: #1d2327;
	--sw-muted: #646970;
	--sw-border: #e2e4e7;
	--sw-soft: #f6f7f7;
	--sw-critical: #b32d2e;
	--sw-critical-bg: #fcf0f1;
	--sw-warning: #8a5a00;
	--sw-warning-bg: #fcf9e8;
	--sw-info: #2271b1;
	--sw-info-bg: #f0f6fc;
	--sw-ok: #00753a;
	--sw-ok-bg: #edfaef;
}

/* ---------- Page layout ---------- */

.sw-wrap {
	max-width: 1180px;
}

.sw-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 16px 0 20px;
}

.sw-header__logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	flex: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sw-header__text {
	flex: 1;
	min-width: 0;
}

.sw-wrap .sw-header h1 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

.sw-tagline {
	margin: 2px 0 0;
	color: var(--sw-muted);
	font-size: 13px;
}

.sw-header__actions {
	display: flex;
	gap: 8px;
}

/* ---------- Pills ---------- */

.sw-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
	color: var(--sw-muted);
	background: var(--sw-soft);
}

.sw-pill--premium { color: #fff; background: linear-gradient(135deg, var(--sw-brand-dark), #0e7490); }
.sw-pill--free { color: var(--sw-brand); background: #e6f1f5; }
.sw-pill--critical { color: var(--sw-critical); background: var(--sw-critical-bg); }
.sw-pill--warning { color: var(--sw-warning); background: var(--sw-warning-bg); }
.sw-pill--info { color: var(--sw-info); background: var(--sw-info-bg); }
.sw-pill--ok,
.sw-pill--resolved { color: var(--sw-ok); background: var(--sw-ok-bg); }

/* ---------- Cards and panels ---------- */

.sw-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

@media (max-width: 1100px) {
	.sw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.sw-cards { gap: 10px; }
	.sw-card { padding: 12px 14px; }
	.sw-card__value { font-size: 22px; }
	.sw-card__value--small { font-size: 16px; line-height: 28px; }
}

@media (max-width: 340px) {
	.sw-cards { grid-template-columns: 1fr; }
}

.sw-card,
.sw-panel {
	background: #fff;
	border: 1px solid var(--sw-border);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sw-card {
	position: relative;
	padding: 16px 18px;
	overflow: hidden;
}

.sw-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--sw-brand);
}

.sw-card--ok::before { background: var(--sw-accent); }
.sw-card--warning::before { background: #dba617; }
.sw-card--critical::before { background: var(--sw-critical); }

.sw-card__label {
	margin: 0;
	color: var(--sw-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sw-card__value {
	margin: 6px 0 2px;
	color: var(--sw-ink);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.sw-card__value--small {
	font-size: 18px;
	line-height: 34px;
}

.sw-card__hint {
	margin: 0;
	color: var(--sw-muted);
	font-size: 12px;
}

.sw-panel {
	margin-bottom: 20px;
}

.sw-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--sw-border);
}

.sw-wrap .sw-panel__head h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.sw-panel__head p {
	margin: 2px 0 0;
	color: var(--sw-muted);
}

.sw-panel__body {
	padding: 16px 20px;
}

.sw-panel__body--flush {
	padding: 0;
}

.sw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: none;
}

.sw-grid-2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

@media (max-width: 1100px) {
	.sw-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Status list ---------- */

.sw-table {
	width: 100%;
	border-collapse: collapse;
}

.sw-table th {
	padding: 10px 20px;
	color: var(--sw-muted);
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: #fbfbfc;
	border-bottom: 1px solid var(--sw-border);
}

.sw-table td {
	padding: 12px 20px;
	vertical-align: top;
	border-bottom: 1px solid var(--sw-soft);
}

.sw-table tr:last-child td {
	border-bottom: 0;
}

.sw-table tr:hover td {
	background: #fcfcfd;
}

.sw-table .sw-num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.sw-table a.sw-product {
	font-weight: 600;
	text-decoration: none;
}

.sw-finding {
	margin: 0;
	color: var(--sw-ink);
}

.sw-advice {
	margin: 4px 0 0;
	color: var(--sw-muted);
}

.sw-advice::before {
	content: "→ ";
	color: var(--sw-brand);
	font-weight: 600;
}

.sw-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--sw-border);
	background: #fbfbfc;
}

.sw-empty {
	padding: 36px 20px;
	text-align: center;
	color: var(--sw-muted);
}

.sw-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 8px;
	border-radius: 50%;
	color: var(--sw-ok);
	background: var(--sw-ok-bg);
	font-size: 22px;
}

.sw-empty strong {
	display: block;
	margin-bottom: 2px;
	color: var(--sw-ink);
	font-size: 14px;
}

/* ---------- Upsell ---------- */

/* ---------- Premium banner ---------- */

.sw-promo {
	position: relative;
	display: flex;
	gap: 32px;
	align-items: center;
	margin-bottom: 20px;
	padding: 28px 32px;
	color: #fff;
	background:
		radial-gradient(circle at 100% 0, rgba(110, 231, 183, 0.22), transparent 45%),
		linear-gradient(135deg, var(--sw-brand-dark), #0e7490);
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(11, 57, 84, 0.18);
}

.sw-wrap .sw-promo .sw-promo__dismiss {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	border-radius: 50%;
}

.sw-wrap .sw-promo .sw-promo__dismiss:hover,
.sw-wrap .sw-promo .sw-promo__dismiss:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.sw-promo__main {
	flex: 1;
	min-width: 0;
}

.sw-promo__eyebrow {
	display: inline-block;
	padding: 3px 10px;
	color: #0b3954;
	background: #6ee7b7;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sw-wrap .sw-promo h2 {
	margin: 12px 0 6px;
	color: #fff;
	font-size: 22px;
	line-height: 1.3;
}

.sw-promo__lead {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.sw-promo__features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 0;
}

.sw-promo__features li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 6px;
}

.sw-promo__features .dashicons {
	color: #6ee7b7;
}

.sw-promo__features strong {
	color: #fff;
}

.sw-promo__features span:not(.dashicons) {
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	line-height: 1.45;
}

.sw-promo__more {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
}

.sw-promo__cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	min-width: 220px;
	text-align: center;
}

.sw-wrap .sw-promo .sw-promo__primary {
	color: var(--sw-brand-dark);
	background: #fff;
	border-color: #fff;
	font-weight: 600;
	text-align: center;
}

.sw-wrap .sw-promo .sw-promo__primary:hover,
.sw-wrap .sw-promo .sw-promo__primary:focus {
	color: var(--sw-brand-dark);
	background: #ecfdf5;
	border-color: #ecfdf5;
}

.sw-promo__note {
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
}

.sw-wrap .sw-promo .sw-promo__secondary {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	text-align: center;
}

.sw-wrap .sw-promo .sw-promo__secondary:hover,
.sw-wrap .sw-promo .sw-promo__secondary:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

@media (max-width: 1100px) {
	.sw-promo { flex-direction: column; align-items: stretch; }
	.sw-promo__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sw-promo__cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

@media (max-width: 600px) {
	.sw-promo { padding: 20px; }
	.sw-wrap .sw-promo h2 { font-size: 18px; }
	.sw-promo__features { grid-template-columns: 1fr; }
}

/* ---------- Dashboard widget ---------- */

.sw-dash__figures {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 4px 0 8px;
}

.sw-dash__figure {
	padding: 10px 12px;
	background: var(--sw-soft);
	border-radius: 6px;
}

.sw-dash__figure b {
	display: block;
	color: var(--sw-ink);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}

.sw-dash__figure span {
	color: var(--sw-muted);
	font-size: 12px;
}

.sw-dash__figure--warning {
	background: var(--sw-warning-bg);
}

.sw-dash__figure--warning b {
	color: var(--sw-warning);
}

.sw-dash__alert {
	margin: 8px 0;
	padding: 8px 10px;
	color: #6d1819;
	background: var(--sw-critical-bg);
	border-radius: 4px;
}

.sw-dash__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--sw-border);
}

.sw-dash__row p {
	flex: 1;
	margin: 0;
}

.sw-dash__row a {
	white-space: nowrap;
}

.sw-dash__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sw-info);
}

.sw-dash__dot--ok { background: var(--sw-accent); }
.sw-dash__dot--warning { background: #dba617; }
.sw-dash__dot--critical { background: var(--sw-critical); }

.sw-dash__footer {
	display: flex;
	gap: 16px;
	margin: 12px 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--sw-border);
}

/* ---------- Product editor box ---------- */

#strikewise-history .inside {
	margin: 0;
	padding: 0;
}

.sw-box__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--sw-border);
}

.sw-box__stat {
	padding: 14px 16px;
	border-right: 1px solid var(--sw-border);
}

.sw-box__stat:last-child {
	border-right: 0;
}

.sw-box__stat .sw-card__value {
	margin: 4px 0 0;
	font-size: 20px;
}

.sw-box__stat .sw-card__value del {
	margin-right: 6px;
	color: var(--sw-muted);
	font-size: 14px;
	font-weight: 400;
}

.sw-box__section {
	padding: 14px 16px;
	border-bottom: 1px solid var(--sw-border);
}

.sw-box__section:last-child {
	border-bottom: 0;
}

.sw-box__section h4 {
	margin: 0 0 8px;
	color: var(--sw-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sw-callout {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 10px 14px;
	border-radius: 6px;
	border: 1px solid transparent;
}

.sw-callout + .sw-callout {
	margin-top: 8px;
}

.sw-callout--warning { color: #614100; background: var(--sw-warning-bg); border-color: #f0dfa8; }
.sw-callout--info { color: #1d3a57; background: var(--sw-info-bg); border-color: #c5d9ed; }
.sw-callout--ok { color: #0f4d2a; background: var(--sw-ok-bg); border-color: #b8e6c4; }
.sw-callout--critical { color: #6d1819; background: var(--sw-critical-bg); border-color: #f0c5c6; }

.sw-callout__icon {
	flex: none;
	font-weight: 700;
}

.sw-box__history .sw-table th,
.sw-box__history .sw-table td {
	padding: 8px 16px;
}

.sw-box__history details summary {
	padding: 10px 16px;
	color: var(--sw-info);
	cursor: pointer;
	border-top: 1px solid var(--sw-soft);
}

.sw-box__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #fbfbfc;
	border-top: 1px solid var(--sw-border);
}

.sw-box__footer p {
	flex: 1 1 260px;
	margin: 0;
	color: var(--sw-muted);
}

.sw-source {
	display: inline-block;
	padding: 0 6px;
	border-radius: 4px;
	color: var(--sw-muted);
	background: var(--sw-soft);
	font-size: 11px;
	line-height: 18px;
}

/* ---------- Price chart (SVG) ---------- */

.sw-chart {
	display: block;
	width: 100%;
	height: auto;
}

.sw-chart .sw-chart__grid { stroke: #eceef0; stroke-width: 1; }
.sw-chart .sw-chart__axis { fill: var(--sw-muted); font-size: 11px; }
.sw-chart .sw-chart__line { fill: none; stroke: var(--sw-brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sw-chart .sw-chart__line--sale { stroke: var(--sw-accent); stroke-width: 3; }
.sw-chart .sw-chart__window { fill: #eaf3f6; }
.sw-chart .sw-chart__window-label { fill: var(--sw-brand); font-size: 11px; font-weight: 600; }
.sw-chart .sw-chart__ref { stroke: #d97706; stroke-width: 1.5; stroke-dasharray: 5 4; }
.sw-chart .sw-chart__ref-label { fill: #b45309; font-size: 11px; font-weight: 600; }
.sw-chart .sw-chart__t0 { stroke: var(--sw-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.sw-chart .sw-chart__dot { fill: var(--sw-accent); stroke: #fff; stroke-width: 2; }

.sw-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 6px 0 0;
	color: var(--sw-muted);
	font-size: 12px;
}

.sw-legend span::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 3px;
	margin-right: 6px;
	vertical-align: middle;
	border-radius: 2px;
	background: var(--sw-brand);
}

.sw-legend .sw-legend--sale::before { background: var(--sw-accent); }
.sw-legend .sw-legend--ref::before { background: repeating-linear-gradient(90deg, #d97706 0 5px, transparent 5px 9px); }
.sw-legend .sw-legend--window::before { height: 10px; background: #eaf3f6; border: 1px solid #cfe3ea; }

/* ---------- Settings page ---------- */

.sw-settings-intro {
	display: flex;
	gap: 12px;
	align-items: center;
	max-width: 760px;
	margin: 8px 0 4px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--sw-border);
	border-radius: 8px;
}

.sw-settings-intro img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
}

.sw-settings-intro p {
	margin: 0;
}

/* ---------- Forms (sale planner) ---------- */

.sw-form {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px 20px;
	align-items: end;
}

.sw-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sw-form label > span:first-child {
	color: var(--sw-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sw-form input[type="date"],
.sw-form input[type="text"],
.sw-form select {
	width: 100%;
	max-width: none;
}

.sw-input-suffix {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sw-input-suffix input {
	width: 90px;
}

.sw-form__submit {
	display: flex;
	align-items: end;
}

.sw-table input[type="checkbox"] {
	margin: 0;
}

.sw-table tr.sw-row--muted td {
	color: var(--sw-muted);
}

.sw-table tr.sw-row--muted a.sw-product {
	color: var(--sw-muted);
	font-weight: 400;
}

/* Agency cockpit */
.sw-row-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	min-width: 150px;
}

/* ---------- Small screens ---------- */

@media (max-width: 782px) {
	.sw-header { flex-wrap: wrap; }
	.sw-header__logo { width: 40px; height: 40px; border-radius: 10px; }
	.sw-header__text { flex-basis: calc(100% - 56px); }
	.sw-header__actions { width: 100%; }
	.sw-panel__head { flex-wrap: wrap; }

	/* Wide tables scroll inside their panel instead of widening the page. */
	.sw-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.sw-row-actions { justify-content: flex-start; }
}

/* ---------- Icons ---------- */

.sw-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
}

/* ---------- Status card ---------- */

.sw-hero {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: 20px;
	padding: 28px 32px;
	background: #fff;
	border: 1px solid var(--sw-border);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(11, 57, 84, 0.06);
}

.sw-hero__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 64px;
	height: 64px;
	color: #fff;
	border-radius: 50%;
}

.sw-hero__badge .sw-icon {
	width: 34px;
	height: 34px;
	stroke-width: 2;
}

.sw-hero--ok .sw-hero__badge { background: linear-gradient(135deg, #0f9f6e, #0b7a55); box-shadow: 0 0 0 8px var(--sw-ok-bg); }
.sw-hero--warning .sw-hero__badge { background: linear-gradient(135deg, #e0a800, #b7860b); box-shadow: 0 0 0 8px var(--sw-warning-bg); }
.sw-hero--critical .sw-hero__badge { background: linear-gradient(135deg, #d63638, #b32d2e); box-shadow: 0 0 0 8px var(--sw-critical-bg); }

.sw-hero__body {
	flex: 1;
	min-width: 0;
}

.sw-wrap .sw-hero h2 {
	margin: 4px 0 6px;
	color: var(--sw-ink);
	font-size: 22px;
	line-height: 1.3;
}

.sw-hero p {
	max-width: 760px;
	margin: 0;
	color: var(--sw-muted);
	font-size: 14px;
}

.sw-hero__issues {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
}

.sw-hero__issue {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 12px 14px;
	background: var(--sw-warning-bg);
	border-left: 3px solid #dba617;
	border-radius: 6px;
}

.sw-hero__issue--critical {
	background: var(--sw-critical-bg);
	border-left-color: var(--sw-critical);
}

.sw-hero__issue strong {
	display: block;
	color: var(--sw-ink);
}

.sw-hero__issue span {
	color: var(--sw-muted);
	font-size: 13px;
}

.sw-hero__issue .button {
	flex: none;
}

/* ---------- Picture tiles ---------- */

.sw-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.sw-tile {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--sw-border);
	border-radius: 12px;
}

.sw-tile__icon {
	display: inline-flex;
	padding: 10px;
	color: var(--sw-brand);
	background: #e6f1f5;
	border-radius: 10px;
}

.sw-tile--ok .sw-tile__icon { color: var(--sw-ok); background: var(--sw-ok-bg); }
.sw-tile--muted .sw-tile__icon { color: var(--sw-muted); background: var(--sw-soft); }

.sw-tile__value {
	margin: 14px 0 0;
	color: var(--sw-ink);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.sw-tile__label {
	margin: 4px 0 0;
	color: var(--sw-ink);
	font-weight: 600;
}

.sw-tile__hint {
	margin: 2px 0 0;
	color: var(--sw-muted);
	font-size: 12px;
}

@media (max-width: 1100px) {
	.sw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Protection checklist ---------- */

.sw-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 4px 24px;
	margin: 0;
	padding: 12px 20px 16px;
}

.sw-checklist__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 10px 0;
}

.sw-checklist__item .sw-icon {
	color: var(--sw-accent);
}

.sw-checklist__item--open .sw-icon {
	color: #b7860b;
}

.sw-checklist__item strong {
	display: block;
	color: var(--sw-ink);
}

.sw-checklist__item span {
	color: var(--sw-muted);
	font-size: 13px;
}

/* ---------- Details (more findings, price log) ---------- */

.sw-more summary,
.sw-history summary {
	padding: 12px 20px;
	color: var(--sw-brand);
	font-weight: 600;
	cursor: pointer;
	border-top: 1px solid var(--sw-border);
}

.sw-more summary:hover,
.sw-history summary:hover {
	background: var(--sw-soft);
}

/* ---------- Dashboard widget status ---------- */

.sw-dash__status {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 4px 0 10px;
	padding: 12px;
	border-radius: 8px;
}

.sw-dash__status .sw-icon {
	width: 28px;
	height: 28px;
}

.sw-dash__status strong {
	display: block;
	font-size: 14px;
}

.sw-dash__status span {
	font-size: 12px;
}

.sw-dash__status--ok { color: var(--sw-ok); background: var(--sw-ok-bg); }
.sw-dash__status--warning { color: #6b4b00; background: var(--sw-warning-bg); }
.sw-dash__status--critical { color: #6d1819; background: var(--sw-critical-bg); }

.sw-dash__figure--ok b {
	color: var(--sw-ok);
}

@media (max-width: 782px) {
	.sw-hero { flex-direction: column; padding: 20px; }
	.sw-hero__issue { flex-direction: column; align-items: flex-start; }
}
