/* FlareSens Inspector PWA - Mobile-first Styles
   Design System: FlareSens Nexus Unified Design Language */

/* ============================================
   DESIGN SYSTEM TOKENS
   ============================================ */

:root {
  /* ── Color Palette: Fire (Primary/Accent) ── */
  --fire-50:  #FEF2F2;
  --fire-100: #FEE2E2;
  --fire-200: #FECACA;
  --fire-300: #FCA5A5;
  --fire-400: #F87171;
  --fire-500: #EF4444;
  --fire-600: #DC2626;
  --fire-700: #B91C1C;
  --fire-800: #991B1B;
  --fire-900: #7F1D1D;

  /* ── Color Palette: Amber ── */
  --amber-50:  #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --amber-800: #92400E;
  --amber-900: #78350F;

  /* ── Color Palette: Green ── */
  --green-50:  #F0FDF4;
  --green-100: #DCFCE7;
  --green-200: #BBF7D0;
  --green-300: #86EFAC;
  --green-400: #4ADE80;
  --green-500: #22C55E;
  --green-600: #16A34A;
  --green-700: #15803D;
  --green-800: #166534;
  --green-900: #14532D;

  /* ── Color Palette: Blue ── */
  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-300: #93C5FD;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;

  /* ── Color Palette: Purple ── */
  --purple-50:  #FAF5FF;
  --purple-100: #F3E8FF;
  --purple-200: #E9D5FF;
  --purple-300: #D8B4FE;
  --purple-400: #C084FC;
  --purple-500: #A855F7;
  --purple-600: #9333EA;
  --purple-700: #7C3AED;
  --purple-800: #6B21A8;
  --purple-900: #581C87;

  /* ── Color Palette: Slate (Neutrals) ── */
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* ── Semantic Tokens ── */
  --accent:       var(--fire-600);
  --accent-hover: var(--fire-700);
  --bg-body:      var(--slate-50);
  --bg-card:      #FFFFFF;
  --bg-inset:     var(--slate-100);
  --border:       var(--slate-200);
  --border-strong: var(--slate-300);

  --text-primary:   var(--slate-900);
  --text-secondary: var(--slate-500);
  --text-tertiary:  var(--slate-400);
  --text-inverse:   #FFFFFF;

  /* ── Severity Tokens ── */
  --sev-critical-bg:   var(--fire-600);
  --sev-critical-text: #FFFFFF;
  --sev-high-bg:       var(--amber-500);
  --sev-high-text:     var(--slate-900);
  --sev-medium-bg:     var(--amber-300);
  --sev-medium-text:   var(--slate-900);
  --sev-low-bg:        var(--blue-600);
  --sev-low-text:      #FFFFFF;

  /* ── Typography ── */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;

  /* ── Spacing ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* ── Radius ── */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);

  /* ── Transitions ── */
  --transition: 180ms ease;

  /* ── Layout ── */
  --fs-bottom-nav-height: 64px;
  --fs-header-height: 56px;

  /* ── Legacy aliases (backward compatibility) ── */
  --fs-primary:       var(--fire-600);
  --fs-primary-dark:  var(--fire-700);
  --fs-primary-light: var(--fire-400);
  --fs-secondary:     var(--slate-800);
  --fs-accent:        var(--blue-600);
  --fs-success:       var(--green-600);
  --fs-warning:       var(--amber-500);
  --fs-danger:        var(--fire-600);
  --fs-info:          var(--blue-600);
  --fs-light:         var(--slate-50);
  --fs-dark:          var(--slate-900);

  --fs-gray-100: var(--slate-50);
  --fs-gray-200: var(--slate-200);
  --fs-gray-300: var(--slate-300);
  --fs-gray-400: var(--slate-400);
  --fs-gray-500: var(--slate-500);
  --fs-gray-600: var(--slate-600);
  --fs-gray-700: var(--slate-700);
  --fs-gray-800: var(--slate-800);
  --fs-gray-900: var(--slate-900);

  --fs-spacing-xs: 4px;
  --fs-spacing-sm: 8px;
  --fs-spacing-md: 16px;
  --fs-spacing-lg: 24px;
  --fs-spacing-xl: 32px;

  --fs-radius-sm:   var(--radius-sm);
  --fs-radius-md:   var(--radius-md);
  --fs-radius-lg:   var(--radius-lg);
  --fs-radius-xl:   var(--radius-xl);
  --fs-radius-full: var(--radius-full);

  --fs-shadow-sm: var(--shadow-sm);
  --fs-shadow:    var(--shadow-sm);
  --fs-shadow-md: var(--shadow-md);
  --fs-shadow-lg: var(--shadow-lg);

  --fs-font-family: var(--font-body);
  --fs-font-size-xs:  10px;
  --fs-font-size-sm:  12px;
  --fs-font-size-base: 14px;
  --fs-font-size-lg:  16px;
  --fs-font-size-xl:  18px;
  --fs-font-size-2xl: 26px;

  --fs-transition: all var(--transition);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.inspector-pwa {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Hide Frappe default elements on inspector pages */
body.inspector-pwa .web-footer,
body.inspector-pwa .footer,
body.inspector-pwa footer:not(.fs-bottom-nav),
body.inspector-pwa .navbar,
body.inspector-pwa .web-sidebar,
body.inspector-pwa .page-header,
body.inspector-pwa .breadcrumb-container,
body.inspector-pwa [data-page-container]>footer,
body.inspector-pwa .website-footer,
body.inspector-pwa .frappe-control,
body.inspector-pwa .frappe-footer,
body.inspector-pwa #page-inspector>footer,
body.inspector-pwa .page-container>footer {
  display: none !important;
}

body.inspector-pwa .main-section,
body.inspector-pwa .page-content,
body.inspector-pwa [data-page-container] {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.inspector-pwa .container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ============================================
   ENTRANCE ANIMATION
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 350ms ease forwards;
}

/* ============================================
   PWA CONTAINER
   ============================================ */

.fs-pwa-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */

.fs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--fs-header-height);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  z-index: 1000;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
}

.fs-header__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0;
  flex: 1;
}

.fs-header__action {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: var(--space-2);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}

.fs-header__action:hover {
  background: var(--slate-100);
}

/* Header Avatar */
.fs-header__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--fire-600);
  color: white;
  text-decoration: none;
  margin-left: var(--space-2);
  transition: background var(--transition);
}

.fs-header__avatar:hover {
  background: var(--fire-700);
}

.fs-header__avatar svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.fs-main {
  flex: 1;
  margin-top: var(--fs-header-height);
  margin-bottom: var(--fs-bottom-nav-height);
  padding: var(--space-4);
  overflow-y: auto;
}

/* ============================================
   SUMMARY / KPI CARDS
   ============================================ */

.fs-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.fs-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  text-align: left;
  box-shadow: none;
  border-left: 3px solid var(--slate-300);
  transition: box-shadow var(--transition), transform var(--transition);
}

.fs-summary-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.fs-summary-card__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.fs-summary-card__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
}

.fs-summary-card--pending {
  border-left-color: var(--amber-500);
}

.fs-summary-card--pending .fs-summary-card__value {
  color: var(--amber-600);
}

.fs-summary-card--completed {
  border-left-color: var(--green-500);
}

.fs-summary-card--completed .fs-summary-card__value {
  color: var(--green-600);
}

.fs-summary-card--issues {
  border-left-color: var(--fire-500);
}

.fs-summary-card--issues .fs-summary-card__value {
  color: var(--fire-600);
}

.fs-summary-card--rate {
  border-left-color: var(--blue-500);
}

.fs-summary-card--rate .fs-summary-card__value {
  color: var(--blue-600);
}

.fs-summary-card--in-progress {
  border-left-color: var(--blue-500);
}

.fs-summary-card--in-progress .fs-summary-card__value {
  color: var(--blue-600);
}

.fs-summary-card--overdue {
  border-left-color: var(--fire-500);
}

.fs-summary-card--overdue .fs-summary-card__value {
  color: var(--fire-600);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.fs-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.fs-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0;
}

.fs-section-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-600);
  text-decoration: none;
}

/* ============================================
   CHECKLIST CARD
   ============================================ */

.fs-checklist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.fs-checklist-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.fs-checklist-card:active {
  transform: scale(0.98);
}

.fs-checklist-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.fs-checklist-card__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  margin: 0 0 var(--space-1) 0;
}

.fs-checklist-card__location {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.fs-checklist-card__location svg {
  width: 14px;
  height: 14px;
}

.fs-checklist-card__status {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.fs-checklist-card__status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 4px;
}

.fs-checklist-card__status--scheduled {
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-checklist-card__status--scheduled::before {
  background: var(--slate-400);
}

.fs-checklist-card__status--in-progress {
  background: var(--blue-100);
  color: var(--blue-700);
}

.fs-checklist-card__status--in-progress::before {
  background: var(--blue-500);
}

.fs-checklist-card__status--completed {
  background: var(--green-100);
  color: var(--green-700);
}

.fs-checklist-card__status--completed::before {
  background: var(--green-500);
}

.fs-checklist-card__body {
  padding: var(--space-4);
}

.fs-checklist-card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.fs-checklist-card__due {
  font-size: 12px;
  color: var(--text-secondary);
}

.fs-checklist-card__due--overdue {
  color: var(--fire-600);
  font-weight: 600;
}

.fs-checklist-card__progress {
  width: 100%;
  height: 6px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.fs-checklist-card__progress-bar {
  height: 100%;
  background: var(--green-500);
  border-radius: var(--radius-full);
  transition: width 600ms ease;
}

.fs-checklist-card__actions {
  display: flex;
  gap: var(--space-2);
}

/* ============================================
   BUTTONS
   ============================================ */

.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.fs-btn:hover {
  transform: translateY(-1px);
}

.fs-btn svg {
  width: 16px;
  height: 16px;
}

.fs-btn--primary {
  background: var(--fire-600);
  color: white;
}

.fs-btn--primary:hover {
  background: var(--fire-700);
}

.fs-btn--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.fs-btn--secondary:hover {
  background: var(--slate-50);
  border-color: var(--border-strong);
}

.fs-btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.fs-btn--outline:hover {
  background: var(--slate-50);
  border-color: var(--border-strong);
}

.fs-btn--success {
  background: var(--green-600);
  color: white;
}

.fs-btn--success:hover {
  background: var(--green-700);
}

.fs-btn--danger {
  background: var(--fire-600);
  color: white;
}

.fs-btn--danger:hover {
  background: var(--fire-700);
}

.fs-btn--block {
  width: 100%;
}

.fs-btn--lg {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile button sizing */
@media (max-width: 767px) {
  .fs-btn {
    font-size: 11px;
    padding: 6px 12px;
  }

  .fs-btn--lg {
    font-size: 13px;
    padding: 9px 18px;
  }
}

/* ============================================
   ISSUE CARD
   ============================================ */

.fs-issue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: var(--space-4);
  overflow: hidden;
  border-left: 4px solid var(--slate-300);
  transition: box-shadow var(--transition), transform var(--transition);
}

.fs-issue-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.fs-issue-card--critical {
  border-left-color: var(--fire-600);
}

.fs-issue-card--high {
  border-left-color: var(--amber-500);
}

.fs-issue-card--medium {
  border-left-color: var(--amber-300);
}

.fs-issue-card--low {
  border-left-color: var(--blue-600);
}

.fs-issue-card__content {
  padding: var(--space-4);
}

.fs-issue-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2);
}

.fs-issue-card__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  margin: 0;
}

/* Severity Badges (on issue cards) */
.fs-issue-card__severity {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fs-issue-card__severity--critical {
  background: var(--sev-critical-bg);
  color: var(--sev-critical-text);
}

.fs-issue-card__severity--high {
  background: var(--sev-high-bg);
  color: var(--sev-high-text);
}

.fs-issue-card__severity--medium {
  background: var(--sev-medium-bg);
  color: var(--sev-medium-text);
}

.fs-issue-card__severity--low {
  background: var(--sev-low-bg);
  color: var(--sev-low-text);
}

.fs-issue-card__location {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.fs-issue-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-tertiary);
}

.fs-issue-card__status {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.fs-issue-card__status--open,
.fs-issue-card__status--reopened {
  background: var(--fire-50);
  color: var(--fire-700);
}

.fs-issue-card__status--acknowledged {
  background: var(--amber-100);
  color: var(--amber-600);
}

.fs-issue-card__status--in-progress {
  background: var(--blue-100);
  color: var(--blue-700);
}

.fs-issue-card__status--resolved,
.fs-issue-card__status--verified {
  background: var(--green-100);
  color: var(--green-700);
}

.fs-issue-card__status--closed,
.fs-issue-card__status--rejected {
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-issue-card__overdue {
  color: var(--fire-600);
  font-weight: 600;
}

/* ============================================
   CHECKLIST EXECUTION
   ============================================ */

.fs-checklist-header {
  background: var(--bg-card);
  padding: var(--space-4);
  margin: calc(-1 * var(--space-4));
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.fs-checklist-header__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0 0 var(--space-2) 0;
}

.fs-checklist-header__location {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.fs-checklist-progress {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.fs-checklist-progress__bar {
  flex: 1;
  height: 6px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.fs-checklist-progress__fill {
  height: 100%;
  background: var(--green-500);
  border-radius: var(--radius-full);
  transition: width 600ms ease;
}

.fs-checklist-progress__text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

/* ============================================
   CHECKLIST ITEM
   ============================================ */

.fs-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.fs-item__content {
  padding: var(--space-4);
}

.fs-item__question {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 var(--space-4) 0;
}

.fs-item__code {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.fs-item__buttons {
  display: flex;
  gap: var(--space-2);
}

.fs-item__btn {
  flex: 1;
  padding: var(--space-4);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: white;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.fs-item__btn:focus {
  outline: none;
}

.fs-item__btn:active {
  opacity: 0.9;
}

.fs-item__btn--pass {
  color: var(--green-600);
}

.fs-item__btn--pass:hover,
.fs-item__btn--pass.active {
  background: var(--green-600);
  border-color: var(--green-600);
  color: white;
}

.fs-item__btn--fail {
  color: var(--fire-600);
}

.fs-item__btn--fail:hover,
.fs-item__btn--fail.active {
  background: var(--fire-600);
  border-color: var(--fire-600);
  color: white;
}

.fs-item__btn--na {
  color: var(--slate-600);
}

.fs-item__btn--na:hover,
.fs-item__btn--na.active {
  background: var(--slate-600);
  border-color: var(--slate-600);
  color: white;
}

/* Failure Details */
.fs-item__failure {
  padding: var(--space-4);
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
}

.fs-item__failure-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.fs-item__textarea {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  resize: vertical;
  min-height: 80px;
  margin-bottom: var(--space-4);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-item__textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fs-item__photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.fs-item__photo-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.fs-item__photo-preview {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */

.fs-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--fs-bottom-nav-height);
  background: white !important;
  display: flex;
  border-top: 1px solid var(--border);
  box-shadow: none;
  z-index: 1000;
}

.fs-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--slate-400);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  transition: color var(--transition);
  padding: var(--space-2);
  border: none;
  background: transparent !important;
  cursor: pointer;
}

.fs-bottom-nav__item svg {
  width: 24px;
  height: 24px;
  margin-bottom: var(--space-1);
}

.fs-bottom-nav__item.active,
.fs-bottom-nav__item:hover {
  color: var(--slate-800);
}

.fs-bottom-nav__item--scan {
  position: relative;
}

.fs-bottom-nav__item--scan::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: var(--fire-600);
  border-radius: 50%;
  z-index: 0;
  box-shadow: var(--shadow-lg);
}

.fs-bottom-nav__item--scan svg {
  color: white;
  position: relative;
  z-index: 1;
  transform: translateY(-14px);
}

.fs-bottom-nav__item--scan span {
  color: var(--fire-600);
  position: relative;
  z-index: 1;
}

/* ============================================
   QR SCANNER
   ============================================ */

.fs-scanner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  z-index: 2000;
}

.fs-scanner__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.fs-scanner__close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-scanner__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-scanner__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border: 3px solid white;
  border-radius: var(--radius-lg);
}

.fs-scanner__overlay::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit;
  border: 3px solid transparent;
  border-top-color: var(--fire-600);
  animation: scanner-spin 2s linear infinite;
}

@keyframes scanner-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.fs-scanner__hint {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
}

/* ============================================
   FORM CONTROLS
   ============================================ */

.fs-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-4);
}

.fs-form__group {
  margin-bottom: var(--space-4);
}

.fs-form__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.fs-form__input,
.fs-form__select,
.fs-form__textarea {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-form__input:focus,
.fs-form__select:focus,
.fs-form__textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fs-form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Severity Chips */
.fs-severity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.fs-severity-chip {
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  background: white;
}

.fs-severity-chip--critical {
  color: var(--fire-600);
}

.fs-severity-chip--critical.active,
.fs-severity-chip--critical:hover {
  background: var(--fire-600);
  border-color: var(--fire-600);
  color: white;
}

.fs-severity-chip--high {
  color: var(--amber-600);
}

.fs-severity-chip--high.active,
.fs-severity-chip--high:hover {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--slate-900);
}

.fs-severity-chip--medium {
  color: var(--amber-600);
}

.fs-severity-chip--medium.active,
.fs-severity-chip--medium:hover {
  background: var(--amber-300);
  border-color: var(--amber-300);
  color: var(--slate-900);
}

.fs-severity-chip--low {
  color: var(--blue-600);
}

.fs-severity-chip--low.active,
.fs-severity-chip--low:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: white;
}

/* Location scope chip styles */
.fs-location-mode-chip {
  color: var(--blue-600);
}

.fs-location-mode-chip.active,
.fs-location-mode-chip:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: white;
}

/* ============================================
   OFFLINE INDICATOR
   ============================================ */

.fs-offline-indicator {
  position: fixed;
  top: var(--fs-header-height);
  left: 0;
  right: 0;
  background: var(--amber-500);
  color: white;
  text-align: center;
  padding: var(--space-1);
  font-size: 12px;
  font-weight: 600;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.fs-offline-indicator.visible {
  transform: translateY(0);
}

/* ============================================
   PENDING BADGE
   ============================================ */

.fs-pending-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--amber-500);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.fs-toast {
  position: fixed;
  bottom: calc(var(--fs-bottom-nav-height) + var(--space-4));
  left: var(--space-4);
  right: var(--space-4);
  background: var(--slate-800);
  color: white;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  font-size: 13px;
}

.fs-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fs-toast:empty {
  display: none !important;
}

.fs-toast--success {
  background: var(--green-600);
}

.fs-toast--error {
  background: var(--fire-600);
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.fs-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--slate-200);
  border-top-color: var(--slate-800);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: var(--text-secondary);
}

.fs-loading__text {
  margin-top: var(--space-4);
  font-size: 12px;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.fs-empty {
  text-align: center;
  padding: var(--space-8);
  color: var(--text-secondary);
}

.fs-empty__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.fs-empty__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.fs-empty__text {
  font-size: 12px;
}

/* ============================================
   MODAL
   ============================================ */

.fs-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.fs-modal.visible {
  opacity: 1;
  visibility: visible;
}

.fs-modal__content {
  width: 100%;
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.fs-modal.visible .fs-modal__content {
  transform: translateY(0);
}

.fs-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.fs-modal__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.fs-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-inset);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-modal__body {
  padding: var(--space-4);
}

/* Section Divider */
.fs-section-divider {
  padding: var(--space-2) var(--space-4);
  background: var(--bg-inset);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin: var(--space-4) calc(-1 * var(--space-4));
}

/* Submit Bar */
.fs-submit-bar {
  padding: var(--space-4);
  background: white;
  border-top: 1px solid var(--border);
}

/* ============================================
   UTILITIES
   ============================================ */

.fs-hidden {
  display: none !important;
}

.fs-text-center {
  text-align: center;
}

.fs-text-danger {
  color: var(--fire-600);
}

.fs-text-success {
  color: var(--green-600);
}

.fs-text-muted {
  color: var(--text-secondary);
}

.fs-mb-0 {
  margin-bottom: 0 !important;
}

.fs-mb-sm {
  margin-bottom: var(--space-2) !important;
}

.fs-mb-md {
  margin-bottom: var(--space-4) !important;
}

.fs-mb-lg {
  margin-bottom: var(--space-6) !important;
}

/* Safe area for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .fs-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--fs-bottom-nav-height) + env(safe-area-inset-bottom));
  }

  .fs-main {
    margin-bottom: calc(var(--fs-bottom-nav-height) + env(safe-area-inset-bottom));
  }
}

/* ============================================
   ISSUE DETAIL VIEW
   ============================================ */

.fs-issue-detail {}

.fs-issue-detail__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.fs-back-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-inset);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.fs-back-btn:hover {
  background: var(--slate-200);
}

.fs-issue-detail__title-wrap {
  flex: 1;
}

.fs-issue-detail__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.3;
}

.fs-issue-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ============================================
   SEVERITY BADGES (standalone)
   ============================================ */

.fs-severity-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fs-severity-badge--critical {
  background: var(--sev-critical-bg);
  color: var(--sev-critical-text);
}

.fs-severity-badge--high {
  background: var(--sev-high-bg);
  color: var(--sev-high-text);
}

.fs-severity-badge--medium {
  background: var(--sev-medium-bg);
  color: var(--sev-medium-text);
}

.fs-severity-badge--low {
  background: var(--sev-low-bg);
  color: var(--sev-low-text);
}

/* ============================================
   STATUS BADGES (with colored dots)
   ============================================ */

.fs-status-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.fs-status-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
}

.fs-status-badge--open {
  background: var(--fire-50);
  color: var(--fire-700);
}

.fs-status-badge--open::before {
  background: var(--fire-500);
}

.fs-status-badge--acknowledged {
  background: var(--amber-100);
  color: var(--amber-600);
}

.fs-status-badge--acknowledged::before {
  background: var(--amber-500);
}

.fs-status-badge--in-progress {
  background: var(--blue-100);
  color: var(--blue-700);
}

.fs-status-badge--in-progress::before {
  background: var(--blue-500);
}

.fs-status-badge--resolved {
  background: var(--green-100);
  color: var(--green-700);
}

.fs-status-badge--resolved::before {
  background: var(--green-500);
}

.fs-status-badge--verified {
  background: var(--green-100);
  color: var(--green-700);
}

.fs-status-badge--verified::before {
  background: var(--green-500);
}

.fs-status-badge--closed {
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-status-badge--closed::before {
  background: var(--slate-400);
}

.fs-status-badge--reopened {
  background: var(--fire-50);
  color: var(--fire-700);
}

.fs-status-badge--reopened::before {
  background: var(--fire-500);
}

/* ============================================
   ISSUE INFO CARD
   ============================================ */

.fs-issue-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.fs-issue-info__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--bg-inset);
}

.fs-issue-info__row:last-child {
  border-bottom: none;
}

.fs-issue-info__row--danger {
  background: var(--fire-50);
}

.fs-issue-info__row--danger .fs-issue-info__value {
  color: var(--fire-600);
  font-weight: 600;
}

.fs-issue-info__label {
  font-size: 12px;
  color: var(--text-secondary);
}

.fs-issue-info__value {
  font-size: 12px;
  color: var(--text-primary);
  text-align: right;
  max-width: 60%;
}

/* ============================================
   ISSUE SECTIONS
   ============================================ */

.fs-issue-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.fs-issue-section__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0 0 var(--space-4) 0;
}

.fs-issue-section__content {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Evidence Photo */
.fs-evidence-photo {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ============================================
   ACTIVITY TIMELINE
   ============================================ */

.fs-timeline {
  position: relative;
  padding-left: var(--space-6);
}

.fs-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.fs-timeline__item {
  position: relative;
  padding-bottom: var(--space-4);
}

.fs-timeline__item:last-child {
  padding-bottom: 0;
}

.fs-timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-6) + 2px);
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-400);
  border: 2px solid white;
}

.fs-timeline__item--created .fs-timeline__dot {
  background: var(--blue-600);
}

.fs-timeline__item--acknowledged .fs-timeline__dot {
  background: var(--amber-500);
}

.fs-timeline__item--in-progress .fs-timeline__dot {
  background: var(--blue-500);
}

.fs-timeline__item--resolved .fs-timeline__dot {
  background: var(--green-500);
}

.fs-timeline__item--escalated .fs-timeline__dot {
  background: var(--fire-500);
}

.fs-timeline__item--note .fs-timeline__dot {
  background: var(--blue-600);
}

.fs-timeline__content {
  background: var(--bg-inset);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}

.fs-timeline__event {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: var(--space-1);
}

.fs-timeline__details {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}

.fs-timeline__meta {
  font-size: 10px;
  color: var(--text-tertiary);
  display: flex;
  gap: var(--space-2);
}

.fs-timeline__attachment {
  max-width: 100%;
  max-height: 150px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-2);
}

/* Issue Action Buttons */
.fs-issue-actions {
  padding: var(--space-4);
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-2);
}

.fs-issue-actions .fs-btn {
  flex: 1;
}

/* Add Note Section */
.fs-add-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  border-left: 4px solid var(--blue-600);
}

.fs-add-note .fs-form__textarea {
  margin-bottom: var(--space-4);
  min-height: 80px;
}

.fs-add-note .fs-btn--secondary {
  margin-bottom: var(--space-4);
}

/* Resolution Summary */
.fs-resolution-summary {
  border-left: 4px solid var(--green-600);
}

.fs-resolution-summary p {
  margin: 0 0 var(--space-2) 0;
  font-size: 12px;
  color: var(--slate-600);
}

.fs-resolution-summary strong {
  color: var(--slate-800);
}

/* Image Overlay */
.fs-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.fs-image-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fs-image-overlay__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   PROFILE VIEW
   ============================================ */

.fs-profile {
  max-width: 480px;
  margin: 0 auto;
}

.fs-profile__card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  margin-bottom: var(--space-4);
}

.fs-profile__avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-4);
  cursor: pointer;
  border-radius: var(--radius-full);
}

.fs-profile__avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

.fs-profile__avatar--initials {
  background: var(--slate-800);
  color: white;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-profile__avatar-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: var(--slate-800);
  border: 2px solid white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
}

.fs-profile__avatar-overlay svg {
  width: 16px;
  height: 16px;
}

.fs-profile__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0;
}

.fs-profile__info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.fs-profile__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--bg-inset);
}

.fs-profile__row:last-child {
  border-bottom: none;
}

.fs-profile__label {
  font-size: 12px;
  color: var(--text-secondary);
}

.fs-profile__value {
  font-size: 12px;
  color: var(--text-primary);
  text-align: right;
}

.fs-profile__actions {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.fs-profile__sites {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.fs-profile__section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0 0 var(--space-4) 0;
}

.fs-profile__site-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: 12px;
  color: var(--slate-600);
  border-bottom: 1px solid var(--bg-inset);
}

.fs-profile__site-item:last-child {
  border-bottom: none;
}

.fs-profile__site-item svg {
  flex-shrink: 0;
  color: var(--text-tertiary);
}

.fs-profile__logout {
  margin-top: var(--space-6);
}

.fs-form--no-shadow {
  box-shadow: none;
  padding: 0;
  border: none;
}

/* ============================================
   RESPONSIVE / TABLET
   ============================================ */

@media (min-width: 768px) {
  .fs-main {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .fs-bottom-nav {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .fs-header {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}

/* ============================================
   DATA RICHNESS STYLES
   ============================================ */

/* Category Badge */
.fs-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 500;
  background: var(--blue-50);
  color: var(--blue-600);
  white-space: nowrap;
}

/* Tag Pills */
.fs-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 500;
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-tag--source {
  background: var(--purple-100);
  color: var(--purple-800);
}

.fs-tag--category {
  background: var(--blue-50);
  color: var(--blue-600);
}

/* Checklist Card Enhancements */
.fs-checklist-card__category {
  margin-top: var(--space-1);
}

.fs-checklist-card__duration {
  font-size: 10px;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.fs-checklist-card__duration svg {
  width: 12px;
  height: 12px;
}

.fs-checklist-card__counts {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

/* Count Chips */
.fs-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.fs-count-chip--pass {
  background: var(--green-100);
  color: var(--green-700);
}

.fs-count-chip--fail {
  background: var(--fire-100);
  color: var(--fire-700);
}

.fs-count-chip--na {
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-count-chip--issues {
  background: var(--amber-100);
  color: var(--amber-700);
}

.fs-count-chip--critical {
  background: var(--fire-600);
  color: white;
}

/* Enriched Checklist Card Styles */
.fs-checklist-card--critical {
  border-left: 3px solid var(--fire-600);
}

.fs-checklist-card__header-left {
  min-width: 0;
  flex: 1;
}

.fs-checklist-card__scope {
  margin: 2px 0 var(--space-1);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.fs-checklist-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.fs-scope-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-600);
}

.fs-scope-badge--zone {
  background: var(--blue-100);
  color: var(--blue-800);
}

.fs-scope-badge--asset {
  background: var(--amber-100);
  color: var(--amber-800);
}

.fs-scope-badge--zone-with-assets {
  background: var(--purple-100);
  color: var(--purple-800);
}

.fs-checklist-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.fs-checklist-card__progress-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.fs-checklist-card__progress-row .fs-checklist-card__progress {
  flex: 1;
  margin-bottom: 0;
}

.fs-checklist-card__progress-text {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Issue Card Enhancements */
.fs-issue-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.fs-issue-card__date {
  font-size: 10px;
  color: var(--text-tertiary);
}

.fs-issue-card__assignee {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.fs-issue-card__assignee svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ============================================
   SLA TIMER
   ============================================ */

.fs-sla-timer {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.fs-sla-timer--normal {
  background: var(--green-100);
  color: var(--green-600);
}

.fs-sla-timer--warning {
  background: var(--amber-100);
  color: var(--amber-600);
}

.fs-sla-timer--critical {
  background: var(--fire-100);
  color: var(--fire-600);
}

.fs-sla-timer--overdue {
  background: var(--fire-600);
  color: white;
  font-weight: 600;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.fs-dashboard-greeting {
  margin-bottom: var(--space-6);
}

.fs-greeting__text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0 0 var(--space-1) 0;
}

.fs-greeting__date {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.fs-summary-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   CHECKLIST EXECUTION STYLES
   ============================================ */

/* Mandatory item indicator */
.fs-item--mandatory {
  border-left: 3px solid var(--fire-600);
}

.fs-item__mandatory {
  color: var(--fire-600);
  font-weight: 700;
  margin-left: var(--space-1);
}

/* Help text under question */
.fs-item__help {
  font-size: 10px;
  color: var(--text-tertiary);
  font-style: italic;
  margin: calc(-1 * var(--space-2)) 0 var(--space-4) 0;
}

/* NBC clause badge */
.fs-item__nbc {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  background: var(--amber-100);
  color: var(--amber-700);
  margin-bottom: var(--space-2);
}

/* Numeric input */
.fs-item__number-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.fs-item__number-input {
  width: 120px;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-item__number-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fs-item__unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.fs-item__range {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* Text input for checklist */
.fs-item__text-input {
  width: 100%;
  padding: var(--space-2);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  resize: vertical;
  min-height: 60px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-item__text-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Select input */
.fs-item__select-input {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.fs-item__select-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Date input */
.fs-item__date-input {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-item__date-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Fail severity badge on item */
.fs-item__severity {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  margin-top: var(--space-1);
  letter-spacing: 0.5px;
}

.fs-item__severity--critical {
  background: var(--sev-critical-bg);
  color: var(--sev-critical-text);
}

.fs-item__severity--high {
  background: var(--sev-high-bg);
  color: var(--sev-high-text);
}

.fs-item__severity--medium {
  background: var(--sev-medium-bg);
  color: var(--sev-medium-text);
}

/* Section accordion */
.fs-section-accordion {
  background: var(--bg-inset);
  padding: var(--space-2) var(--space-4);
  margin: var(--space-4) calc(-1 * var(--space-4));
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.fs-section-accordion__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
}

.fs-section-accordion__icon {
  transition: transform 0.2s ease;
  color: var(--text-tertiary);
}

.fs-section-accordion.collapsed .fs-section-accordion__icon {
  transform: rotate(-90deg);
}

.fs-section-accordion.collapsed + .fs-section-items {
  display: none;
}

/* Assets section */
.fs-assets-section {
  margin-bottom: var(--space-4);
}

.fs-asset-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 10px;
  background: var(--slate-100);
  color: var(--slate-800);
  margin: 0 var(--space-1) var(--space-1) 0;
}

.fs-asset-chip__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-400);
}

.fs-asset-chip__status--active {
  background: var(--green-500);
}

/* Execution header enhancements */
.fs-checklist-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-2);
}

/* ============================================
   FILTER BAR STYLES
   ============================================ */

.fs-filter-bar {
  margin-bottom: var(--space-4);
}

.fs-filter-bar__search {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  padding-left: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  margin-bottom: var(--space-2);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fs-filter-bar__search:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fs-filter-bar__chips {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.fs-filter-chip {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  background: var(--slate-100);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.fs-filter-chip:hover {
  border-color: var(--slate-300);
  color: var(--slate-800);
}

.fs-filter-chip.active {
  background: var(--slate-100);
  border-color: var(--slate-300);
  color: var(--slate-800);
}

.fs-filter-chip--severity.active {
  background: var(--slate-800);
  border-color: var(--slate-800);
  color: white;
}

/* Status-based color coding for active filter chips */
.fs-filter-chip[data-filter-status="Scheduled"].active {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
}

.fs-filter-chip[data-filter-status="In Progress"].active {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-700);
}

.fs-filter-chip[data-filter-status="Overdue"].active {
  background: var(--fire-50);
  border-color: var(--fire-200);
  color: var(--fire-700);
}

.fs-filter-chip[data-filter-status="Open"].active {
  background: var(--fire-50);
  border-color: var(--fire-200);
  color: var(--fire-700);
}

.fs-filter-chip[data-filter-status="Acknowledged"].active {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}

/* ============================================
   UX POLISH STYLES
   ============================================ */


/* Improved empty states */
.fs-empty--checklists .fs-empty__icon,
.fs-empty--issues .fs-empty__icon {
  opacity: 0.3;
}

.fs-empty__action {
  margin-top: var(--space-4);
}

/* ============================================
   Zone / Asset Tab UI
   ============================================ */

/* --- Zone / Asset tab selector (pill design) --- */
.fs-zone-tabs-bar {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 16px;
  background: var(--slate-50, #f8fafc);
  border-bottom: 1px solid var(--border, #e2e8f0);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fs-zone-tabs-bar::-webkit-scrollbar {
  display: none;
}

.fs-zone-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  min-height: 36px;
  border-radius: 20px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-card, white);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  transition: all 180ms ease;
}

.fs-zone-tab__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--slate-300, #cbd5e1);
  flex-shrink: 0;
}

.fs-zone-tab__name {
  font: inherit;
}

.fs-zone-tab__count {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary, #94a3b8);
  opacity: 0.8;
}

/* --- Active tab (solid blue) --- */
.fs-zone-tab--active {
  background: var(--blue-600, #2563eb);
  border-color: var(--blue-600, #2563eb);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.fs-zone-tab--active .fs-zone-tab__dot {
  background: white;
}

.fs-zone-tab--active .fs-zone-tab__count {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Status dot colors (inactive tabs) --- */
.fs-tab--not-started .fs-zone-tab__dot {
  background: var(--slate-300, #cbd5e1);
}

.fs-tab--in-progress .fs-zone-tab__dot {
  background: var(--blue-500, #3b82f6);
}

.fs-tab--done .fs-zone-tab__dot {
  background: var(--green-500, #22c55e);
}

.fs-tab--has-fail .fs-zone-tab__dot {
  background: var(--fire-500, #ef4444);
}

/* Active tab dot is always white regardless of status */
.fs-zone-tab--active .fs-zone-tab__dot {
  background: white;
}

/* --- Active zone/asset divider --- */
.fs-active-zone-divider {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2, 8px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: var(--font-sm, 12px);
  color: var(--text-primary, #0f172a);
  background: var(--bg-card, #ffffff);
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.fs-active-zone-divider__label {
  font-weight: 400;
  color: var(--text-tertiary, #94a3b8);
}

.fs-active-zone-divider__name {
  font-family: var(--font-display, 'DM Sans', sans-serif);
  font-size: var(--font-base, 14px);
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}

.fs-active-zone-divider__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all var(--transition, 180ms ease);
}

.fs-active-zone-divider__badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
}

.fs-active-zone-divider__badge--in-progress {
  background: var(--blue-100, #dbeafe);
  color: var(--blue-700, #1d4ed8);
}

.fs-active-zone-divider__badge--in-progress::before {
  background: var(--blue-500, #3b82f6);
}

.fs-active-zone-divider__badge--completed {
  background: var(--green-100, #dcfce7);
  color: var(--green-700, #15803d);
}

.fs-active-zone-divider__badge--completed::before {
  background: var(--green-500, #22c55e);
}

.fs-active-zone-divider__progress {
  margin-left: auto;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
}

/* --- Placeholder & utility --- */
.fs-zone-placeholder {
  text-align: center;
  padding: 48px var(--space-4, 16px);
  color: var(--text-tertiary, #94a3b8);
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: 14px;
}

.fs-loading-inline {
  text-align: center;
  padding: 32px var(--space-4, 16px);
  color: var(--text-tertiary, #94a3b8);
  font-size: 14px;
}

.fs-error-inline {
  text-align: center;
  padding: 32px var(--space-4, 16px);
  color: var(--fire-600, #dc2626);
  font-size: 14px;
}

.fs-zone-tabs-search {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px;
  padding: var(--space-2, 8px) var(--space-3, 12px);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: 13px;
  background: white;
  transition: border-color 180ms ease;
}

.fs-zone-tabs-search:focus {
  outline: none;
  border-color: var(--blue-500, #3b82f6);
}

/* ============================================
   SCAN RESULT VIEW
   ============================================ */

.fs-scan-result {
  padding: 0 0 24px;
}

.fs-scan-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.fs-scan-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color, #1f2937);
}

.fs-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100, #f3f4f6);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-color, #374151);
}

.fs-back-btn:active {
  background: var(--gray-200, #e5e7eb);
}

.fs-scan-entity-card {
  margin: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fs-scan-entity-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary, #2563eb);
  margin-bottom: 4px;
}

.fs-scan-entity-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color, #1f2937);
  margin-bottom: 6px;
}

.fs-scan-entity-location {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
  margin-bottom: 10px;
}

.fs-scan-entity-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: var(--blue-50, #eff6ff);
  color: var(--blue-700, #1d4ed8);
}

.fs-scan-section-header {
  padding: 12px 16px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color, #374151);
}

.fs-scan-checklists {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-scan-checklist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border-color, #e5e7eb);
  gap: 12px;
}

.fs-scan-checklist-info {
  flex: 1;
  min-width: 0;
}

.fs-scan-checklist-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color, #1f2937);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-scan-checklist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted, #6b7280);
  margin-bottom: 6px;
}

.fs-scan-checklist-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 6px;
}

.fs-scan-status {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
}

.fs-scan-status--scheduled {
  background: var(--blue-50, #eff6ff);
  color: var(--blue-700, #1d4ed8);
}

.fs-scan-status--in-progress {
  background: var(--amber-50, #fffbeb);
  color: var(--amber-700, #b45309);
}

.fs-scan-start-btn {
  flex-shrink: 0;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}

.fs-scan-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted, #6b7280);
}

.fs-scan-empty svg {
  margin-bottom: 12px;
  color: var(--green-400, #4ade80);
}

.fs-scan-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
