/* F&O Signal Pro — frontend widget */
.fnosp-widget {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	max-width: 520px;
	border: 1px solid #e2e5ea;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(20, 30, 60, .06);
	overflow: hidden;
	color: #1d2230;
}
.fnosp-widget-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px;
	background: linear-gradient(135deg, #11203f, #1d3a73);
	color: #fff;
}
.fnosp-widget-title { font-weight: 700; font-size: 15px; }
.fnosp-refresh-btn {
	background: rgba(255,255,255,.15); color: #fff; border: 0;
	width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 16px; line-height: 1;
}
.fnosp-refresh-btn:hover { background: rgba(255,255,255,.28); }
.fnosp-widget-body { padding: 16px; }

.fnosp-w-loading, .fnosp-w-error { color: #6b7280; font-size: 14px; }
.fnosp-w-error { color: #b32424; }

.fnosp-w-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fnosp-w-badge {
	display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 800; letter-spacing: .6px; font-size: 15px;
}
.fnosp-w-badge.buy { background: #e6f6ec; color: #14794a; }
.fnosp-w-badge.sell { background: #fdeaea; color: #b32424; }
.fnosp-w-badge.notrade { background: #eef0f3; color: #555; }
.fnosp-w-price { font-size: 15px; font-weight: 600; }
.fnosp-w-price small { color: #6b7280; font-weight: 400; }

.fnosp-w-conf { margin: 12px 0 4px; font-size: 13px; color: #374151; }
.fnosp-w-meter { height: 8px; border-radius: 4px; background: #eef0f3; overflow: hidden; }
.fnosp-w-meter > span { display: block; height: 100%; background: linear-gradient(90deg, #f0ad4e, #2563eb); }

.fnosp-w-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.fnosp-w-cell { background: #f7f8fa; border-radius: 10px; padding: 8px 10px; }
.fnosp-w-cell .k { font-size: 10px; text-transform: uppercase; letter-spacing: .4px; color: #8a93a3; }
.fnosp-w-cell .v { font-size: 15px; font-weight: 700; }
.fnosp-w-cell.t1 .v { color: #14794a; }
.fnosp-w-cell.sl .v { color: #b32424; }

.fnosp-w-verdict { font-size: 13px; font-style: italic; background: #f3f6fc; border-left: 3px solid #2563eb; padding: 8px 12px; border-radius: 6px; margin-top: 6px; }
.fnosp-w-ai { font-size: 13px; background: #fbf6ec; border-left: 3px solid #d8a33b; padding: 8px 12px; border-radius: 6px; margin-top: 8px; white-space: pre-wrap; }
.fnosp-w-meta { font-size: 10px; color: #9aa1ad; margin-top: 10px; }
.fnosp-w-disc { font-size: 10px; color: #9aa1ad; margin-top: 4px; }


.fnosp-w-layman { font-size: 13px; background: #eefaf1; border-left: 3px solid #14794a; padding: 8px 12px; border-radius: 6px; margin-top: 8px; }
.fnosp-w-layman-head { font-weight: 700; color: #14794a; margin-bottom: 3px; }


.fnosp-w-option { font-size: 13px; background: #f3f6fc; border-left: 3px solid #2563eb; padding: 8px 12px; border-radius: 6px; margin-top: 8px; }
.fnosp-w-option-head { font-weight: 700; color: #1d3a73; margin-bottom: 3px; }
