/* SWD UI card — example record drawn as product UI, beside text. */
.swd-uicard .uc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.swd-uicard.uc--flip .uc__card { order: 2; }
.swd-uicard .uc__card { margin: 0; padding: 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge), 0 40px 80px -40px rgba(0,0,0,.6); }
.swd-uicard .uc__top { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.swd-uicard .uc__av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--a, var(--acc)), var(--a2, #5CC8FF)); color: var(--ink); font-weight: 600; }
.swd-uicard .uc__top b { display: block; font-size: 19px; font-weight: 500; }
.swd-uicard .uc__top div span { font-size: 14px; color: var(--muted); }
.swd-uicard .uc__pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--edge); font-size: 13px; color: var(--muted); white-space: nowrap; }
.swd-uicard .uc__pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--a, var(--acc)); }
.swd-uicard .uc__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.swd-uicard .uc__stats div { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.05); }
.swd-uicard .uc__stats dt { font-size: 13px; color: var(--muted); }
.swd-uicard .uc__stats dd { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.swd-uicard .uc__feed { display: grid; margin: 0; }
.swd-uicard .uc__feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--edge); font-size: 14.5px; color: var(--muted); }
.swd-uicard .uc__feed b { color: #fff; font-weight: 500; }
.swd-uicard .uc__feed time { color: var(--muted-d); }
.swd-uicard .uc__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.swd-uicard .uc__acts span { padding: 8px 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 13.5px; }
.swd-uicard .uc__card figcaption { margin-top: 16px; font-size: 13px; color: var(--muted-d); }
.swd-uicard .uc__h { font-size: clamp(34px, 4.3vw, 60px); }
.swd-uicard .uc__p { margin: 22px 0; font-size: 18px; color: var(--muted); }
.swd-uicard .uc__btn { margin-top: 28px; }
.swd-uicard .btn--acc { background: var(--a, var(--acc)); }
.swd-uicard .btn--acc:hover { background: #fff; }
@media (max-width: 900px) { .swd-uicard .uc { grid-template-columns: minmax(0, 1fr); } .swd-uicard .uc__card, .swd-uicard.uc--flip .uc__card { order: 2; } }
@media (max-width: 480px) { .swd-uicard .uc__top { grid-template-columns: 44px minmax(0, 1fr); } .swd-uicard .uc__pill { grid-column: 1 / -1; justify-self: start; } .swd-uicard .uc__feed li { grid-template-columns: minmax(0, 1fr) auto; } .swd-uicard .uc__feed b { grid-column: 1 / -1; } }
.swd-uicard .uc__card figcaption { font-style: normal; text-align: left; }
/* phone: stat values are often words ("Training room 2"), so smaller type and no mid-word stacking (1.4.2) */
.swd-uicard .uc__stats dd { overflow-wrap: break-word; line-height: 1.15; }
@media (max-width: 560px) {
	.swd-uicard .uc__card { padding: 20px; }
	.swd-uicard .uc__stats { gap: 8px; }
	.swd-uicard .uc__stats div { padding: 12px; }
	.swd-uicard .uc__stats dd { font-size: 17px; letter-spacing: -.02em; }
}
