.report-source a { color: #0369A1; text-decoration: underline dotted;
  text-underline-offset: 3px; padding: 10px 2px; margin: -10px -2px; }     /* 擴大觸控範圍不改版面 */
.report-source { margin-top: var(--space-6, 24px); padding-top: 12px; border-top: 1px dashed var(--color-border, #e2e8f0);
  font-size: .8rem; line-height: 1.7; color: var(--color-text-muted, #64748b); }
.report-source p { margin: 0; }
.report-flash { background: #DCFCE7; color: #166534; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }

.report-sheet { margin: auto; border: 0; padding: 0; width: 100%; max-width: 480px; max-height: 88vh; border-radius: 18px;
  color: var(--color-text, #0C4A6E); box-shadow: 0 -8px 32px rgba(12,74,110,.18); }
.report-sheet::backdrop { background: rgba(12,74,110,.35); }
@media (max-width: 640px) {
  .report-sheet { margin: auto 0 0; max-width: none; border-radius: 18px 18px 0 0; }
  .report-sheet[open] { animation: report-up .22s ease-out; }
}
@keyframes report-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .report-sheet[open] { animation: none; } }
.report-sheet .report-form { padding: 8px 18px 18px; overflow-y: auto; max-height: 88vh; box-sizing: border-box; }
.report-sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: #cbd5e1; margin: 0 auto 8px; }
@media (min-width: 641px) { .report-sheet__grab { visibility: hidden; height: 0; margin: 0 0 8px; } }
.report-sheet__head { display: flex; justify-content: space-between; align-items: center; }
.report-sheet__head h2 { font-size: 1.05rem; margin: 0; }
.report-sheet__close { width: 44px; height: 44px; border: 0; background: none; color: #64748b; cursor: pointer; }
.report-label { display: block; font-weight: 700; font-size: .85rem; margin: 14px 0 6px; color: #334155; }
.report-opt { font-weight: 400; color: #94a3b8; }
.report-kinds { border: 0; padding: 0; margin: 0; }
.report-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.report-tile { position: relative; min-height: 64px; border: 1px solid var(--color-border, #e2e8f0); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: .8rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.report-tile input, .report-chip input { position: absolute; opacity: 0; pointer-events: none; }
.report-tile:has(input:checked) { background: #E0F2FE; border-color: var(--color-primary, #0EA5E9); color: #0369A1; font-weight: 700; }
.report-tile:has(input:focus-visible), .report-chip:has(input:focus-visible) { outline: 2px solid #0369A1; outline-offset: 2px; }
.report-tile__icon svg { width: 20px; height: 20px; }
.report-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.report-chip { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border: 1px solid #cbd5e1; border-radius: 999px; font-size: .8rem; cursor: pointer; }
.report-chip:has(input:checked) { background: #E0F2FE; border-color: #0EA5E9; color: #0369A1; font-weight: 700; }
.report-was { font-size: .8rem; color: #64748b; margin: 10px 0 4px; }
.report-was s { color: #94a3b8; }
.report-input { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px;
  padding: 8px 10px; font: inherit; font-size: 16px; font-weight: 400; }                  /* 16px：iOS 不自動放大 */
.report-input:focus { border-color: #0EA5E9; outline: 2px solid #E0F2FE; }
.report-extra { margin-top: 14px; }
.report-extra summary { color: #0369A1; font-size: .85rem; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.report-check { display: flex; gap: 8px; align-items: center; font-size: .85rem; margin-top: 10px; min-height: 44px; }
.report-fine { font-size: .75rem; color: #94a3b8; margin: 6px 0 0; }
.report-error { color: #B91C1C; font-size: .8rem; margin: 6px 0 0; }
.report-submit { width: 100%; min-height: 48px; margin-top: 16px; border: 0; border-radius: 12px;
  background: var(--color-primary, #0EA5E9); color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; }
.report-submit[disabled] { opacity: .6; cursor: wait; }
.report-submit--ghost { background: #fff; color: #0369A1; border: 1px solid #bae6fd; }
.report-hp { position: absolute; left: -9999px; }
.report-done { text-align: center; padding: 16px 4px 4px; }
.report-done__icon { width: 52px; height: 52px; border-radius: 50%; background: #DCFCE7; color: #16A34A;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.report-done__title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.report-done__text { color: #64748b; font-size: .9rem; }
.report-page { max-width: 520px; margin: 0 auto; padding: 16px; }
