/* Artemis "Where's my order" page — site palette (style-guide.md)
   Royal Blue #3476A7 · Steel Blue #7BA7BC · Near Black #1A1A2E
   Ice Blue #EDF4F8 · Light Gray #F5F7FA · Medium Gray #6B7280 · Border #E5E7EB */

#artemis-track-root {
	--at-blue: #3476A7;
	--at-steel: #7BA7BC;
	--at-ink: #1A1A2E;
	--at-muted: #6B7280;
	--at-ice: #EDF4F8;
	--at-bg: #F5F7FA;
	--at-border: #E5E7EB;
	--at-green: #2E8B57;
	--at-coral: #E85D5D;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--at-ink);
	max-width: 640px;
	margin: 0 auto;
	padding: 8px 0 48px;
}
#artemis-track-root * { box-sizing: border-box; }

.at-card {
	background: #fff; border: 1px solid var(--at-border); border-radius: 8px;
	padding: 28px; margin-bottom: 16px;
}

.at-recent { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 6px; }
.at-chip {
	border: 1px solid var(--at-border); background: #fff; color: var(--at-muted);
	border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600;
	cursor: pointer; font-family: inherit;
}
.at-chip.active { background: var(--at-blue); border-color: var(--at-blue); color: #fff; }
.at-chip:hover:not(.active) { border-color: var(--at-blue); color: var(--at-blue); }

.at-head { text-align: center; padding: 12px 0 20px; }
.at-head .at-order { color: var(--at-muted); font-size: 14px; letter-spacing: .02em; }
.at-head h2 { margin: 6px 0 4px; font-size: 26px; font-weight: 700; color: var(--at-ink); }
.at-head .at-eta { color: var(--at-blue); font-weight: 600; font-size: 15px; }
.at-head .at-where { color: var(--at-muted); font-size: 13.5px; margin-top: 2px; }

/* Timeline */
.at-steps { list-style: none; margin: 0; padding: 0; }
.at-step { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.at-step:last-child { padding-bottom: 0; }
.at-step::before {
	content: ""; position: absolute; left: 11px; top: 26px; bottom: 0;
	width: 2px; background: var(--at-border);
}
.at-step:last-child::before { display: none; }
.at-step.done::before { background: var(--at-blue); }
.at-dot {
	width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px; z-index: 1;
	background: #fff; border: 2px solid var(--at-border); position: relative;
}
.at-step.done .at-dot { background: var(--at-blue); border-color: var(--at-blue); }
.at-step.done .at-dot::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 6px;
	border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px);
}
.at-step.current .at-dot { border-color: var(--at-blue); box-shadow: 0 0 0 5px #3476A722; }
.at-step .at-label { font-weight: 600; font-size: 15px; }
.at-step .at-sub { color: var(--at-muted); font-size: 13px; margin-top: 2px; line-height: 1.5; }
.at-step.pending .at-label { color: var(--at-muted); font-weight: 500; }

/* Scan history */
.at-history-title {
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	color: var(--at-muted); margin: 0 0 12px;
}
.at-scan { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--at-ice); font-size: 13.5px; }
.at-scan:last-child { border-bottom: 0; }
.at-scan .at-scan-what { color: var(--at-ink); }
.at-scan .at-scan-where { color: var(--at-muted); }
.at-scan .at-scan-when { color: var(--at-muted); white-space: nowrap; }

/* Items */
.at-items { list-style: none; margin: 0; padding: 0; }
.at-items li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--at-ice); font-size: 14px; }
.at-items li:last-child { border-bottom: 0; }
.at-items .at-qty { color: var(--at-muted); }

.at-tracking-line { text-align: center; font-size: 13.5px; color: var(--at-muted); margin-top: 6px; }
.at-tracking-line a { color: var(--at-blue); font-weight: 600; text-decoration: none; }
.at-tracking-line a:hover { text-decoration: underline; }

.at-help { text-align: center; color: var(--at-muted); font-size: 13.5px; margin-top: 20px; line-height: 1.6; }

/* Lookup form */
.at-lookup { max-width: 420px; margin: 0 auto; text-align: center; }
.at-lookup h2 { font-size: 24px; margin: 0 0 6px; }
.at-lookup p { color: var(--at-muted); font-size: 14px; margin: 0 0 20px; }
.at-lookup input {
	width: 100%; border: 1px solid var(--at-border); border-radius: 4px;
	padding: 13px 14px; font-size: 15px; margin-bottom: 10px; background: #fff;
	font-family: inherit; color: var(--at-ink);
}
.at-lookup input:focus { outline: 2px solid var(--at-blue); outline-offset: -1px; border-color: transparent; }
.at-lookup button {
	width: 100%; background: var(--at-blue); color: #fff; border: 0; border-radius: 4px;
	padding: 14px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.at-lookup button:hover { filter: brightness(1.08); }
.at-error { color: var(--at-coral); font-size: 13.5px; margin-top: 10px; }

.at-loading { text-align: center; color: var(--at-muted); padding: 60px 0; }

@media (max-width: 560px) {
	.at-card { padding: 20px; }
	.at-scan { flex-wrap: wrap; }
}
