/* The app's Share dialog (infograph-app ArtifactShareDialog.tsx), on its own on a see-through page,
   so a page can float it over a dashboard (on the website, over dashboards/google-ads-analytics-
   dashboard, hanging off its right edge).

   Its words, layout and tokens are the app's, cut to what this picture is about: the team it is
   shared with and the link. Of the dialog's three choices only the chosen one, "Your team", is
   shown, with the team's faces added to say who that is; the link is as the app leaves it when you
   click it, focused and selected. Drawn at the app's sizes and zoomed to read at an illustration's
   scale. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../kit/fonts/geist-400.woff2) format("woff2"); }

:root { --background: transparent; --foreground: #0a0a0a; }
*, ::before, ::after { box-sizing: border-box; }
body { margin: 0; color: #0a0a0a; font-family: "Geist", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
p { margin: 0; }

/* The page: the card and room round it for its shadow. (body.framed and html.embed, to outrank the
   kit's own in frame.css, which is linked after this.) */
body.framed { --window-width: 840px; --window-height: 560px; --window-zoom: 1; }
body.framed, html.embed body.framed { background: transparent; }
body.framed .window { border-radius: 0; background: transparent; box-shadow: none; }
body.framed .window-body { display: block; padding: 36px 44px 56px; }

.share {
	width: 440px; zoom: 1.7; overflow: hidden; border-radius: 12px; background: #fff;
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 4px 12px rgb(0 0 0 / 0.06), 0 20px 44px -10px rgb(0 0 0 / 0.24);
}
.share-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 24px 24px; }
.share-head { position: relative; padding-right: 24px; }
.share-title { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.share-sub { margin-top: 4px; font-size: 14px; color: #737373; }
.share-close { position: absolute; top: 0; right: 0; width: 16px; height: 16px; color: #a3a3a3; }
.share svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The chosen choice, outlined, with the team's faces on it. */
.share-choice { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #171717; border-radius: 8px; background: rgb(23 23 23 / 0.04); }
.share-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9999px; background: #f5f5f5; color: #737373; }
.share-icon svg { width: 16px; height: 16px; }
.share-choice-words { flex: 1; min-width: 0; }
.share-choice-name { display: block; font-size: 14px; font-weight: 500; }
.share-choice-what { display: block; font-size: 12px; line-height: 1.4; color: #737373; }
.share-faces { display: flex; flex: none; padding-left: 10px; }
.share-faces img, .share-faces span { width: 34px; height: 34px; margin-left: -10px; border: 2px solid #fff; border-radius: 9999px; object-fit: cover; box-shadow: 0 1px 2px rgb(0 0 0 / 0.12); }
.share-faces span { display: flex; align-items: center; justify-content: center; background: #f5f5f5; font-size: 12px; font-weight: 600; color: #525252; }

/* The link and Copy, in one field: focused, its address selected, as a click leaves it. */
.share-link { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px 0 12px; border: 1px solid #a3a3a3; border-radius: 8px; background: #fff; box-shadow: 0 0 0 3px rgb(163 163 163 / 0.35); }
.share-link > svg { flex: none; width: 16px; height: 16px; color: #737373; }
.share-link-url { flex: 1; min-width: 0; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.share-link-url mark { background: #b4d5fe; color: #0a0a0a; }
.share-copy { flex: none; padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 500; }
