/* Made by site/art/render.sh from app/src/desktop/welcome.css and app/src/ui/doodlebug.css. Do not edit by hand. */
/* The pictures, drawn as the map draws (atlas.css: .part, .lifeline, .state, .frame-box, the amber of a
   change, the raspberry of a rule break). */
.intro-art text {
	font-family: Geist, Inter, -apple-system, sans-serif;
}
.ia-kind,
.ia-action,
.ia-message-name,
.ia-chip text,
.ia-head text,
.ia-state text,
.ia-store text,
.ia-sha,
.ia-diff,
.ia-member,
.ia-box-note,
.ia-gutter,
.ia-code,
.ia-crumbs text,
.ia-frame-name,
.ia-guard,
.ia-mult,
.ia-fn-name {
	font-family: var(--mono) !important;
}
.ia-part rect {
	fill: #eaf1ea;
	stroke: #55736a;
	stroke-width: 1.2;
}
.ia-name {
	font-size: 13px;
	font-weight: 640;
	fill: var(--ink);
	text-anchor: middle;
}
.ia-kind {
	font-size: 10px;
	font-weight: 400;
	fill: var(--quiet);
	text-anchor: middle;
}
.ia-name.left,
.ia-kind.left {
	text-anchor: start;
}
.ia-call {
	fill: none;
	stroke: #6d8579;
	stroke-width: 1.3;
}
.ia-call.uses {
	stroke-dasharray: 4 3;
}
.ia-call.reach {
	stroke: var(--amber);
	stroke-width: 1.9;
}
.ia-link {
	fill: none;
	stroke: var(--green);
	stroke-width: 1.2;
	opacity: 0.55;
}
.ia-panel rect {
	fill: var(--paper);
	stroke: var(--line);
}
.ia-panel-title,
.ia-title {
	font-size: 14px;
	font-weight: 640;
	fill: var(--ink);
}
.ia-now {
	fill: #fffc4f;
	opacity: 0.38;
}
.ia-halo {
	paint-order: stroke;
	stroke: #fcfdf9;
	stroke-width: 4px;
	stroke-linejoin: round;
}

/* 1. the flood */
.ia-sha {
	font-size: 10.5px;
	font-weight: 600;
	fill: var(--amber);
}
.ia-log-message {
	font-size: 11.5px;
	fill: var(--ink);
}
.ia-diff {
	font-size: 10.5px;
	text-anchor: end;
}
.ia-add {
	fill: #2f8a5f;
}
.ia-del {
	fill: #a8442f;
}
.ia-chip rect {
	fill: var(--paper);
	stroke: var(--line);
}
.ia-count {
	font-size: 30px;
	font-weight: 680;
	letter-spacing: -0.03em;
	fill: var(--ink);
}
.ia-outline {
	fill: none;
	stroke: var(--green);
	stroke-width: 1.4;
	opacity: 0.5;
}

/* 2. the zoom */
.ia-box > rect {
	fill: var(--paper);
	stroke: #55736a;
	stroke-width: 1.2;
}
.ia-box-rule {
	stroke: #55736a;
	stroke-width: 1;
}
.ia-box-name {
	font-size: 12.5px;
	font-weight: 650;
	fill: var(--ink);
}
.ia-box-note {
	font-size: 9.5px;
	font-weight: 400;
	fill: var(--quiet);
}
.ia-member {
	font-size: 10.5px;
	fill: var(--ink);
}
.ia-gutter {
	font-size: 10.5px;
	fill: var(--quiet);
	text-anchor: end;
}
.ia-code {
	font-size: 11.5px;
	fill: var(--ink);
	white-space: pre;
}
.ia-keyword {
	font-weight: 700;
	fill: var(--green);
}
.ia-crumbs rect {
	fill: var(--paper);
	stroke: var(--line);
}
.ia-crumbs text {
	font-size: 10.5px;
	fill: var(--muted);
}
.ia-store path,
.ia-store ellipse {
	fill: var(--paper);
	stroke: #6f867b;
	stroke-width: 1.2;
}
.ia-store text {
	font-size: 11px;
	fill: var(--muted);
	text-anchor: middle;
}

/* 3. the trace */
.ia-lifeline {
	stroke: #8fa398;
	stroke-dasharray: 5 5;
}
.ia-head rect {
	fill: var(--paper);
	stroke: #6f867b;
	stroke-width: 1.2;
}
.ia-head text {
	font-size: 10.5px;
	font-weight: 620;
	fill: var(--ink);
	text-anchor: middle;
}
.ia-actor circle,
.ia-actor path {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.5;
}
.ia-actor text {
	font-size: 11px;
	fill: var(--muted);
	text-anchor: middle;
}
.ia-message {
	fill: none;
	stroke: var(--green);
	stroke-width: 1.5;
}
.ia-message.reply {
	stroke-dasharray: 5 4;
}
.ia-message.error {
	stroke: #a8442f;
	stroke-dasharray: 5 4;
}
.ia-message-name {
	font-size: 10.5px;
	fill: var(--ink);
	text-anchor: middle;
}
.ia-message-name.error {
	font-weight: 700;
	fill: #a8442f;
}
.ia-frame {
	fill: none;
	stroke: #9aaba2;
}
.ia-frame.dashed {
	stroke-dasharray: 5 4;
}
.ia-frame-name {
	font-size: 10px;
	font-weight: 620;
	fill: var(--muted);
}
.ia-guard {
	font-size: 10px;
	font-style: italic;
	fill: #6c7a74;
}

/* 4. the data model */
.ia-relation {
	fill: none;
	stroke: #55736a;
	stroke-width: 1.3;
}
.ia-mult {
	font-size: 10px;
	fill: var(--muted);
}
.ia-chosen-ring {
	fill: none;
	stroke: var(--green);
	stroke-width: 2.4;
}
.ia-start {
	fill: var(--ink);
}
.ia-step {
	fill: none;
	stroke: #6d8579;
	stroke-width: 1.25;
}
.ia-action {
	font-size: 10px;
	fill: var(--muted);
}
.ia-action.end {
	text-anchor: end;
}
.ia-state rect {
	fill: var(--paper);
	stroke: #55736a;
	stroke-width: 1.3;
}
.ia-state text {
	font-size: 11px;
	font-weight: 620;
	fill: var(--ink);
	text-anchor: middle;
}

/* 5. the blast radius */
.ia-log-row rect {
	fill: var(--paper);
	stroke: var(--line);
}
.ia-module > rect {
	fill: #eaf1ea;
	stroke: #55736a;
	stroke-width: 1.2;
}
.ia-module.quiet {
	opacity: 0.45;
}
.ia-module .ia-name {
	font-size: 12.5px;
}
.ia-fn {
	fill: var(--paper);
	stroke: #c9d5cc;
}
.ia-fn.changed {
	fill: #fff1d6;
	stroke: var(--amber);
	stroke-width: 1.6;
}
.ia-fn.reached {
	fill: #fdf5e6;
	stroke: #d2a25e;
}
.ia-fn-name {
	font-size: 10.5px;
	fill: var(--ink);
}
.ia-ring {
	fill: none;
	stroke: var(--amber);
	stroke-width: 1.5;
}
.ia-reach rect {
	fill: var(--amber);
}
.ia-breach rect,
.ia-breach-dot {
	fill: var(--breach);
}
.ia-reach text,
.ia-breach text {
	font-size: 11.5px;
	font-weight: 600;
	fill: #fff;
	text-anchor: middle;
}
.ia-breach-mark {
	font-size: 11px;
	font-weight: 800;
	fill: #fff;
	text-anchor: middle;
}

/* What is chosen or lit now, after the plain parts. */
.ia-log-row.chosen rect {
	fill: #fffde3;
	stroke: #c9c33a;
	stroke-width: 1.6;
}
.ia-state.lit rect {
	fill: #fffbb8;
	stroke: #8f8a12;
	stroke-width: 2;
}
.ia-state.lit text {
	font-weight: 700;
}

/* The mascot's poses (Doodlebug.tsx). The bug is the same in each; every pose's dotted lines draw in and
   wipe out along themselves, over and over. The resting state is the lines drawn, so with motion reduced
   every pose still reads. */
.doodlebug {
	--bug-yellow: #fffc4f;
	--bug-z: #cfe0dc;
	flex: none;
	overflow: visible;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.doodlebug.light {
	--bug-yellow: #d9c400;
	--bug-z: #7c8a86;
}
.doodlebug .bug-dots {
	stroke: var(--bug-yellow);
	stroke-width: 3.2;
	stroke-dasharray: 0.1 8;
}
.doodlebug .bug-reveal {
	stroke: #fff;
	stroke-width: 10;
	stroke-dasharray: 1 1;
	animation: bug-trace 7s ease-in-out infinite backwards;
}
.doodlebug .bug-tip {
	fill: var(--bug-yellow);
}
.doodlebug .bug-ant path {
	stroke-width: 4.6;
}
.doodlebug .bug-seam {
	stroke-width: 3.5;
	opacity: 0.45;
}
.doodlebug .bug-shut {
	stroke-width: 3;
}
.doodlebug .bug-sparkles {
	stroke: var(--bug-yellow);
	stroke-width: 3.2;
}
.doodlebug .bug-what {
	fill: var(--bug-yellow);
	font-size: 26px;
	font-weight: 700;
}
.doodlebug .bug-zs {
	fill: var(--bug-z);
	font-weight: 700;
}
/* Each antenna turns about the foot of its stem: the bottom left of its box. */
.doodlebug .bug-ant {
	transform-box: fill-box;
	transform-origin: 0 100%;
}

.pose-wander .bug-ant,
.pose-think .bug-ant {
	animation: bug-wiggle 2.6s ease-in-out infinite;
}
.pose-wander .bug-ant + .bug-ant,
.pose-think .bug-ant + .bug-ant {
	animation-delay: -1.3s;
}
.pose-snooze {
	opacity: 0.55;
}
.pose-snooze .bug-zs text {
	animation: bug-drift 4.5s ease-in-out infinite;
}
.pose-snooze .bug-zs text:nth-child(2) {
	animation-delay: 1.5s;
}
.pose-snooze .bug-zs text:nth-child(3) {
	animation-delay: 3s;
}

/* Draw, hold, then wipe out in the same direction: never back and forth. */
@keyframes bug-trace {
	0% {
		stroke-dashoffset: 1;
	}
	45%,
	55% {
		stroke-dashoffset: 0;
	}
	100% {
		stroke-dashoffset: -1;
	}
}
@keyframes bug-wiggle {
	0%,
	100% {
		transform: rotate(0);
	}
	50% {
		transform: rotate(-7deg);
	}
}
@keyframes bug-drift {
	0% {
		opacity: 0;
		transform: translate(-4px, 6px);
	}
	30% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translate(6px, -10px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.doodlebug *,
	.doodlebug {
		animation: none !important;
	}
}
