/* First date kit (unit u25): shared pieces for the four first date tools. Tokens only, so dark mode works. */
.tool .fdk-ring { position: relative; display: grid; place-items: center; flex: none; }
.tool .fdk-ring svg { position: absolute; inset: 0; }
.tool .fdk-ring-bg { stroke: rgb(var(--ink) / .1); }
.tool .fdk-ring-fg { stroke: rgb(var(--accent)); transition: stroke-dashoffset .5s var(--ease-out); }
.tool .fdk-ring.is-done .fdk-ring-fg { stroke: #1F9D63; }
.tool .fdk-ring-label { font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; color: rgb(var(--ink)); }

/* Tabs: a segmented strip that scrolls sideways on small phones instead of wrapping. */
.tool .fdk-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .08); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tool .fdk-tabs::-webkit-scrollbar { display: none; }
.tool .fdk-tabs button { flex: 1 0 auto; min-height: 40px; padding: 0 14px; border-radius: 18px; font-size: 14px; font-weight: 800; color: rgb(var(--ink) / .65); background: transparent; white-space: nowrap; transition: background-color .2s ease, color .2s ease, transform .16s ease-out; -webkit-tap-highlight-color: transparent; }
.tool .fdk-tabs button[aria-selected="true"] { background: rgb(var(--ink)); color: var(--bg, #fff); }
.tool .fdk-tabs button:active { transform: scale(.97); }
.tool .fdk-tabs button:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; }

/* Message preview with Send and Copy */
.tool .fdk-sheet { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.tool .fdk-sheet-title { font-size: 14px; line-height: 20px; font-weight: 850; color: rgb(var(--ink) / .6); text-transform: uppercase; letter-spacing: .04em; }
.tool .fdk-msg { white-space: pre-wrap; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); font-size: 15px; line-height: 22px; font-weight: 600; color: rgb(var(--ink) / .9); overflow-wrap: anywhere; }
.tool .fdk-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tool .fdk-copy .tool-icon { width: 18px; height: 18px; }

.tool .btn { -webkit-tap-highlight-color: transparent; }
.tool .btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .tool .fdk-ring-fg { transition: none; } }
