button.ssa-tool-share-button[data-ssa-tool-share], button[data-ssa-csv-export] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 8px 15px;
	border: 1px solid #c8dce5;
	border-radius: 9px;
	background: #f5fafc;
	box-shadow: none;
	color: #2f6d86;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}
button.ssa-tool-share-button[data-ssa-tool-share] { background: #e8f4f8; border-color: #96c3d4; color: #25647e; }
button.ssa-tool-share-button[data-ssa-tool-share]:hover, button[data-ssa-csv-export]:hover { background: #dceef5; border-color: #7bafc4; color: #245b72; box-shadow: none; }
.ssa-tool-share-button:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 3px; }
.ssa-tool-share-button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.ssa-tool-share-button span { font-size: inherit; line-height: 1.5; }
.ssa-tool-actions { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.ssa-kw .ssa-kw-results-head { align-items: flex-start; }
.ssa-kw .ssa-kw-results-head > div:first-child { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; flex: 1 1 0; min-width: 0; }
.ssa-kw .ssa-kw-results-head > div:first-child h2 { width: auto; }
.ssa-kw .ssa-kw-results-head > div:first-child p { grid-column: 2; margin: 0; overflow-wrap: anywhere; line-height: 1.7; }
.ssa-kw .ssa-kw-results-head > .ssa-tool-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.ssa-tool-share-open { overflow: hidden; }
.ssa-tool-share-modal, .ssa-tool-share-modal * { box-sizing: border-box; }
.ssa-tool-share-modal[hidden], .ssa-tool-share-modal [hidden] { display: none !important; }
.ssa-tool-share-modal button { margin: 0; font-family: inherit; line-height: 1.5; letter-spacing: normal; text-transform: none; }
.ssa-tool-share-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 20px; }
.ssa-tool-share-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 36, .62); backdrop-filter: blur(5px); }
.ssa-tool-share-dialog {
	position: relative;
	z-index: 1;
	width: min(620px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	overflow-x: hidden;
	min-width: 0;
	padding: 30px;
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
	color: #17223b;
}
.ssa-tool-share-modal .ssa-tool-share-close { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 1px solid #e1eaf0; border-radius: 9px; background: #f8fafc; color: #60758a; box-shadow: none; cursor: pointer; }
.ssa-tool-share-modal .ssa-tool-share-close:hover { color: #243c50; background: #eaf2f6; }
.ssa-tool-share-modal .ssa-tool-share-close svg { width: 16px; height: 16px; }
.ssa-tool-share-modal a.ssa-tool-share-kicker { display: inline-flex; max-width: calc(100% - 34px); padding: 6px 10px; border-radius: 999px; background: #edf7fa; color: #2f6d86; font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.5; }
.ssa-tool-share-modal a.ssa-tool-share-kicker:hover { text-decoration: underline; }
.ssa-tool-share-dialog h2 { width: auto; max-width: 100%; margin: 18px 0 10px; padding: 0; color: #243c50; font-size: clamp(23px, 4vw, 28px); line-height: 1.3; }
.ssa-tool-share-offer { margin: 0; color: #52647c; font-size: 15px; line-height: 1.75; }
.ssa-tool-share-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.ssa-tool-share-modal .ssa-tool-share-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 100%; min-width: 0; min-height: 106px; height: auto; padding: 14px 6px; margin: 0; border: 1px solid #dbe5ef; border-radius: 12px; box-shadow: none; background: #f8fafc; color: #243c50; cursor: pointer; white-space: normal; }
.ssa-tool-share-actions button svg { flex: 0 0 auto; color: #3585a1; }
.ssa-tool-share-actions button:disabled { opacity: .5; cursor: wait; }
.ssa-tool-share-actions button:hover { border-color: #6aa8ff; background: #eff6ff; }
.ssa-tool-share-actions b, .ssa-tool-share-actions span { display: block; }
.ssa-tool-share-actions b { font-size: 15px; }
.ssa-tool-share-actions span { margin-top: 5px; color: #718198; font-size: 11px; }
.ssa-tool-share-qr { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; margin-top: 20px; padding: 18px; border-radius: 16px; background: #f4f8fc; }
.ssa-tool-share-qr img { display: block; max-width: 100%; height: auto; border-radius: 10px; background: #fff; }
.ssa-tool-share-qr strong { font-size: 18px; }
.ssa-tool-share-qr p { color: #607089; line-height: 1.6; }
.ssa-tool-share-qr button, .ssa-tool-share-foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 15px; border: 0; border-radius: 10px; background: #1769e0; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.ssa-tool-share-status { min-height: 24px; margin: 18px 0 0; padding: 11px 13px; border-radius: 10px; background: #f1f5f9; color: #52647c; line-height: 1.55; }
.ssa-tool-share-status.is-success { background: #ecfdf5; color: #08765a; }
.ssa-tool-share-status.is-error { background: #fff1f2; color: #be2446; }
.ssa-tool-share-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ssa-tool-share-foot:has(> [hidden]):not(:has(> :not([hidden]))) { display: none; }
.ssa-tool-share-modal input.ssa-tool-share-link { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; height: 40px; margin: 12px 0 0; padding: 9px 12px; border: 1px solid #dbe5ef; border-radius: 8px; background: #fff; box-shadow: none; color: #52647c; font-size: 12px; }
.ssa-tool-share-modal :focus-visible { outline: 3px solid #9bc8da; outline-offset: 3px; }
[data-ssa-csv-export].is-checking-export { opacity: .65; cursor: wait; }
@media (max-width: 620px) {
	.ssa-tool-actions { width: 100%; justify-content: stretch; }
	.ssa-tool-actions > button { flex: 1 1 auto; }
	.ssa-kw .ssa-kw-results-head > .ssa-tool-actions { flex: 0 0 auto; width: 100%; }
	.ssa-kw .ssa-kw-results-head > div:first-child { flex: 0 0 auto; width: 100%; }
	.ssa-tool-share-dialog { padding: 24px 18px; border-radius: 16px; }
	.ssa-tool-share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ssa-tool-share-qr { grid-template-columns: 1fr; text-align: center; }
	.ssa-tool-share-qr img { margin: 0 auto; }
}
