/* Salary Transparency Compliance Checker — scoped styles. All rules under .stc-app to avoid theme conflicts. */
.stc-app, .stc-app *, .stc-app *::before, .stc-app *::after { box-sizing: border-box; }
.stc-app {
	--stc-bg: #ffffff;
	--stc-surface: #f7f8fb;
	--stc-border: #e5e7eb;
	--stc-text: #0f172a;
	--stc-muted: #5b6472;
	--stc-primary: #0b3b6f;
	--stc-primary-hover: #0a2f59;
	--stc-accent: #1f7a8c;
	--stc-low: #15803d;
	--stc-mid: #b45309;
	--stc-high: #b91c1c;
	--stc-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
	--stc-radius: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--stc-text);
	background: var(--stc-bg);
	max-width: 1080px;
	margin: 2rem auto;
	padding: 1rem;
	line-height: 1.55;
}
.stc-app h1, .stc-app h2, .stc-app h3 { font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--stc-text); }
.stc-app p { margin: 0 0 .9em; }
.stc-h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.stc-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stc-accent); margin-bottom: .5rem; }
.stc-lede { font-size: 1.05rem; color: var(--stc-muted); max-width: 60ch; }
.stc-muted { color: var(--stc-muted); }
.stc-tiny { font-size: .8rem; }
.stc-hero { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--stc-border); margin-bottom: 2rem; }
.stc-hero-meta { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem; color: var(--stc-muted); }
.stc-hero-meta li { display: flex; align-items: center; gap: .5rem; }
.stc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stc-accent); display: inline-block; }

.stc-card { background: var(--stc-surface); border: 1px solid var(--stc-border); border-radius: var(--stc-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.stc-callout { background: #eef5fb; border-color: #cfe2f3; }

.stc-wizard { background: var(--stc-surface); border: 1px solid var(--stc-border); border-radius: var(--stc-radius); padding: 1.75rem; box-shadow: var(--stc-shadow); }
.stc-progress { height: 6px; background: #eceff4; border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.stc-progress-bar { height: 100%; width: 0%; background: var(--stc-primary); transition: width .35s ease; }

.stc-step h3 { font-size: 1.25rem; }
.stc-step .stc-step-intro { color: var(--stc-muted); margin-bottom: 1.25rem; }
.stc-field { margin-bottom: 1.1rem; }
.stc-field label.stc-label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.stc-input, .stc-select {
	width: 100%; padding: .65rem .85rem; border: 1px solid var(--stc-border); border-radius: 8px;
	background: #fff; font-size: .95rem; color: var(--stc-text); font-family: inherit;
}
.stc-input:focus, .stc-select:focus { outline: 2px solid var(--stc-primary); outline-offset: 1px; border-color: var(--stc-primary); }

.stc-radio-grid, .stc-multi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; }
.stc-chip { display: flex; align-items: center; gap: .5rem; padding: .65rem .85rem; border: 1px solid var(--stc-border); border-radius: 8px; background: #fff; cursor: pointer; font-size: .92rem; }
.stc-chip input { margin: 0; accent-color: var(--stc-primary); }
.stc-chip.is-selected { border-color: var(--stc-primary); background: #eef3fa; }

.stc-toggle { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border: 1px solid var(--stc-border); border-radius: 8px; background: #fff; cursor: pointer; }
.stc-toggle input { accent-color: var(--stc-primary); }
.stc-toggle-label { font-size: .95rem; }

.stc-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.stc-btn { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 1px solid transparent; font-family: inherit; transition: background .15s, border-color .15s, color .15s; text-decoration: none; }
.stc-btn-primary { background: var(--stc-primary); color: #fff; }
.stc-btn-primary:hover { background: var(--stc-primary-hover); }
.stc-btn-ghost { background: #fff; color: var(--stc-text); border-color: var(--stc-border); }
.stc-btn-ghost:hover { background: var(--stc-surface); }

.stc-disclaimer { font-size: .82rem; color: var(--stc-muted); padding: 1rem; background: var(--stc-surface); border-radius: 8px; border: 1px dashed var(--stc-border); margin-top: 1.5rem; }

/* Results */
.stc-report-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.stc-report-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.stc-summary p { font-size: 1.05rem; }

.stc-scorecard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stc-scorecard { background: var(--stc-surface); border: 1px solid var(--stc-border); border-radius: var(--stc-radius); padding: 1.1rem 1.2rem; }
.stc-score-label { font-size: .82rem; color: var(--stc-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stc-score-value { font-size: 2.1rem; font-weight: 700; margin: .25rem 0; line-height: 1; color: var(--stc-primary); }
.stc-score-value span { font-size: .9rem; color: var(--stc-muted); font-weight: 500; margin-left: 2px; }
.stc-score-band { display: inline-block; font-size: .78rem; padding: .2rem .55rem; border-radius: 999px; font-weight: 600; margin-bottom: .55rem; }
.stc-band-low { background: #dcfce7; color: #166534; }
.stc-band-mid { background: #fef3c7; color: #92400e; }
.stc-band-high { background: #fee2e2; color: #991b1b; }
.stc-score-meter { height: 6px; background: #eceff4; border-radius: 999px; overflow: hidden; }
.stc-score-meter span { display: block; height: 100%; background: var(--stc-primary); }

.stc-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .stc-twocol { grid-template-columns: 1fr; } }

.stc-checklist { padding-left: 1.1rem; margin: 0; }
.stc-checklist li { margin-bottom: .5rem; }

.stc-jur { border: 1px solid var(--stc-border); border-radius: 8px; background: #fff; margin-bottom: .65rem; padding: .25rem .25rem; }
.stc-jur > summary { padding: .8rem 1rem; cursor: pointer; display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.stc-jur > summary strong { font-size: 1rem; }
.stc-jur-body { padding: 0 1rem 1rem; }
.stc-jur-body ul { padding-left: 1.1rem; }

.stc-table { width: 100%; border-collapse: collapse; }
.stc-table th, .stc-table td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--stc-border); font-size: .95rem; vertical-align: top; }
.stc-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--stc-muted); }
.stc-pri { display: inline-block; font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; font-weight: 600; }
.stc-pri-high { background: #fee2e2; color: #991b1b; }
.stc-pri-medium { background: #fef3c7; color: #92400e; }
.stc-pri-low { background: #dcfce7; color: #166534; }
.stc-pri-maintain { background: #e0f2fe; color: #075985; }

.stc-report-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--stc-border); }

/* Content hub & FAQ */
.stc-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.stc-hub-card h3 { font-size: 1.05rem; }
.stc-faq-item { background: var(--stc-surface); border: 1px solid var(--stc-border); border-radius: 8px; padding: .25rem 1rem; margin-bottom: .55rem; }
.stc-faq-item summary { padding: .85rem 0; cursor: pointer; font-weight: 500; }
.stc-faq-item p { padding-bottom: .75rem; color: var(--stc-muted); }

/* Print */
@media print {
	body * { visibility: hidden !important; }
	#stc-report, #stc-report * { visibility: visible !important; }
	#stc-report { position: absolute; left: 0; top: 0; width: 100%; padding: 0; margin: 0; }
	.stc-report-actions { display: none !important; }
	.stc-card, .stc-scorecard { box-shadow: none; break-inside: avoid; }
}
