.sac-wrap {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1f2933;
}

.sac-form {
	background: #f7f8fa;
	border: 1px solid #e2e5e9;
	border-radius: 10px;
	padding: 24px;
}

.sac-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.sac-input-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sac-input-row input[type="text"] {
	flex: 1;
	min-width: 220px;
	padding: 12px 14px;
	border: 1px solid #ccd1d8;
	border-radius: 8px;
	font-size: 15px;
}

.sac-input-row button {
	background: #c8352e;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 15px;
	transition: background 0.15s ease;
}

.sac-input-row button:hover {
	background: #a92a24;
}

.sac-input-row button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sac-hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: #6b7280;
}

.sac-loading {
	text-align: center;
	padding: 30px 0;
}

.sac-spinner {
	width: 34px;
	height: 34px;
	margin: 0 auto 12px;
	border: 4px solid #e2e5e9;
	border-top-color: #c8352e;
	border-radius: 50%;
	animation: sac-spin 0.8s linear infinite;
}

@keyframes sac-spin {
	to { transform: rotate(360deg); }
}

.sac-error {
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #a92a24;
	padding: 14px 16px;
	border-radius: 8px;
	margin-top: 16px;
}

.sac-report {
	margin-top: 24px;
}

.sac-section {
	background: #fff;
	border: 1px solid #e2e5e9;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 18px;
}

.sac-section h3 {
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 18px;
	border-bottom: 2px solid #f0f1f3;
	padding-bottom: 8px;
}

.sac-overview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.sac-overview h3 {
	border: none;
	margin: 0;
	flex: 1 1 auto;
}

.sac-score-badge {
	font-size: 26px;
	font-weight: 700;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}

.sac-score-badge span {
	font-size: 12px;
	font-weight: 400;
	margin-left: 2px;
}

.sac-score-good { background: #1a9d5c; }
.sac-score-mid  { background: #e0a300; }
.sac-score-bad  { background: #c8352e; }

.sac-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 8px 20px;
}

.sac-checklist li {
	padding: 6px 0;
	font-size: 14px;
}

.sac-checklist .sac-fail {
	color: #a92a24;
}

.sac-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.sac-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #f0f1f3;
	vertical-align: top;
}

.sac-table td:first-child {
	width: 200px;
	font-weight: 600;
	color: #4b5563;
}

.sac-headings-table td {
	text-align: center;
	width: 16.6%;
}

.sac-cloud {
	line-height: 2.4;
}

.sac-cloud-word {
	display: inline-block;
	margin: 4px 8px;
	padding: 4px 10px;
	background: #f0f1f3;
	border-radius: 999px;
	color: #c8352e;
	font-weight: 600;
}

.sac-permalink-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sac-permalink-row input {
	flex: 1;
	min-width: 220px;
	padding: 10px 12px;
	border: 1px solid #ccd1d8;
	border-radius: 8px;
	font-size: 13px;
	background: #f7f8fa;
}

.sac-copy-btn {
	background: #1f2933;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
}

.sac-copy-btn:hover {
	background: #374151;
}

.sac-muted {
	color: #6b7280;
	font-size: 13px;
	margin-top: 10px;
}

@media (max-width: 600px) {
	.sac-table td:first-child {
		width: 40%;
	}
}
