/* FloorTalk v1.0.0: feedback sheet, inbox, About, first-run welcome, tour. Tokens per PREMIUM_DARK_UI.md. */
.v1-muted { color: var(--muted, #a1a1aa); }
.v1-small { font-size: 12px; }
.v1-center { text-align: center; margin-top: 16px; }
.v1-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.v1-row .grow, .v1-fb-top .grow { flex: 1; }
.v1-x { background: transparent; border: 0; color: var(--muted, #a1a1aa); font-size: 18px; min-width: 44px; min-height: 44px; cursor: pointer; }
.v1-sheet { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.v1-sheet.hidden { display: none; }
.v1-sheet-card { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--surface, #18181b); border: 1px solid var(--border, #27272a);
  border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .v1-sheet { align-items: center; } .v1-sheet-card { border-radius: 16px; } }
.v1-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.v1-sheet-head h3 { margin: 0; font-size: 18px; }
.v1-label { display: block; font-size: 12px; color: var(--muted, #a1a1aa); margin: 12px 0 6px; }
.v1-sheet textarea, .v1-sheet input:not([type=file]) { width: 100%; box-sizing: border-box; background: var(--surface-inset, #111113); color: var(--text, #fafafa);
  border: 1px solid var(--border, #27272a); border-radius: 12px; padding: 10px 12px; font: inherit; }
.v1-sheet textarea:focus, .v1-sheet input:focus { outline: 2px solid var(--accent, #2dd4bf); outline-offset: 1px; }
.v1-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v1-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border, #27272a); background: var(--surface-inset, #111113); color: var(--text-subtle, #d4d4d8); cursor: pointer; }
.v1-chip.on { border-color: var(--accent, #2dd4bf); color: var(--accent, #2dd4bf); }
.v1-file { display: block; margin-top: 12px; color: var(--text-subtle, #d4d4d8); cursor: pointer; min-height: 44px; line-height: 44px; }
.v1-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v1-meta { font-size: 12px; color: var(--muted, #a1a1aa); margin-top: 4px; }
.v1-sheet .v1-row { justify-content: flex-end; }

.v1-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.v1-toolbar select { min-height: 40px; }
.v1-toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--text-subtle, #d4d4d8); }
.v1-toggle.hidden { display: none; }
.v1-fb-item { background: var(--surface, #18181b); border: 1px solid var(--border, #27272a); border-radius: 12px; padding: 12px; margin-top: 10px; }
.v1-fb-top { display: flex; gap: 6px; align-items: center; }
.v1-fb-body { margin: 8px 0 4px; white-space: pre-wrap; word-break: break-word; }
.v1-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-strong, #3f3f46); color: var(--text-subtle, #d4d4d8); }
.v1-cat-bug { border-color: var(--status-red, #ef4444); color: #fca5a5; }
.v1-cat-praise { border-color: var(--status-green, #22c55e); color: #86efac; }
.v1-st-new { border-color: var(--accent, #2dd4bf); color: var(--accent, #2dd4bf); }
.v1-fb-actions { margin-top: 8px; }
.v1-fb-actions select { min-height: 36px; }
.v1-shot img { max-width: 100%; border-radius: 8px; margin-top: 8px; border: 1px solid var(--border, #27272a); }

.v1-card { background: var(--surface, #18181b); border: 1px solid var(--border, #27272a); border-radius: 12px; padding: 14px 16px; margin: 10px 0 14px; }
.v1-card h3 { margin: 0 0 8px; font-size: 15px; }
.v1-list { margin: 0; padding-left: 18px; color: var(--text-subtle, #d4d4d8); line-height: 1.55; }
.v1-list em { color: var(--muted, #a1a1aa); font-style: normal; font-size: 12px; }
a.more-row { text-decoration: none; color: inherit; }

.v1-welcome { background: var(--surface, #18181b); border: 1px solid var(--accent, #2dd4bf); border-radius: 16px; padding: 14px 14px 12px; margin: 8px 0 14px; }
.v1-welcome-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.v1-welcome h3 { margin: 0; font-size: 17px; }
.v1-welcome-head p { margin: 4px 0 0; font-size: 13px; }
.v1-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.v1-steps li { display: flex; gap: 10px; align-items: center; background: var(--surface-inset, #111113); border: 1px solid var(--border, #27272a); border-radius: 12px; padding: 10px; }
.v1-steps li .grow { flex: 1; min-width: 0; }
.v1-steps li strong { display: block; font-size: 14px; }
.v1-steps li span:not(.v1-step-n) { display: block; font-size: 12px; color: var(--muted, #a1a1aa); }
.v1-step-n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong, #3f3f46); font-size: 12px; color: var(--text-subtle, #d4d4d8); }
.v1-steps li.done .v1-step-n { background: var(--accent, #2dd4bf); color: var(--text-on-accent, #042f2e); border-color: var(--accent, #2dd4bf); }
.v1-steps li.done .v1-step-n { font-size: 0; }
.v1-steps li.done .v1-step-n::after { content: "✓"; font-size: 13px; }
.v1-seg { display: inline-flex; border: 1px solid var(--border-strong, #3f3f46); border-radius: 10px; overflow: hidden; }
.v1-seg button { background: transparent; color: var(--text-subtle, #d4d4d8); border: 0; min-height: 36px; padding: 0 10px; cursor: pointer; }
.v1-seg button.on { background: var(--accent, #2dd4bf); color: var(--text-on-accent, #042f2e); }
.v1-welcome .v1-row { justify-content: flex-end; }

.v1-tour { position: fixed; inset: 0; z-index: 1300; }
.v1-tour-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0,0,0,.72); border: 2px solid var(--accent, #2dd4bf); transition: all .18s ease; pointer-events: none; }
.v1-tour-tip { position: fixed; left: 12px; right: 12px; max-width: 420px; margin: 0 auto; background: var(--surface-raised, #1f1f23); border: 1px solid var(--border-strong, #3f3f46); border-radius: 14px; padding: 14px; }
.v1-tour-tip h4 { margin: 2px 0 6px; font-size: 16px; }
.v1-tour-tip p { margin: 0; color: var(--text-subtle, #d4d4d8); font-size: 14px; line-height: 1.45; }
.v1-tour-count { font-size: 11px; color: var(--muted, #a1a1aa); }
@media (prefers-reduced-motion: reduce) { .v1-tour-spot { transition: none; } }
