/* ═══════════════════════════════════════════════════════════
     REPORTER FLOW
  ═══════════════════════════════════════════════════════════ */
  #view-reporter {
    min-height: 100vh;
    background: var(--cream);
    display: flex;
    flex-direction: column;
  }
  .reporter-header {
    background: #fff;
    border-bottom: 1px solid var(--cream-dark);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .reporter-header-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
  }
  .reporter-header-logo .logo-icon {
    width: 32px; height: 32px;
    background: var(--green-700);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .reporter-header-logo .logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-900);
  }
  .reporter-header-logo .logo-tag {
    font-size: .65rem;
    color: var(--slate-500);
    letter-spacing: .04em;
    line-height: 1;
  }
  .btn-back {
    width: 32px; height: 32px;
    background: var(--cream);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--cream-dark);
    color: var(--slate-600);
    flex-shrink: 0;
  }
  .btn-back:hover { background: var(--cream-dark); }

  /* Step indicator */
  .step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 1.25rem 1.25rem 0;
  }
  .step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--cream-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
    font-weight: 600;
    color: var(--slate-400);
    background: #fff;
    transition: var(--transition);
    flex-shrink: 0;
  }
  .step-dot.active {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
  }
  .step-dot.done {
    background: var(--green-100);
    border-color: var(--green-400);
    color: var(--green-600);
  }
  .step-line {
    flex: 1;
    height: 2px;
    background: var(--cream-dark);
    max-width: 32px;
    transition: var(--transition);
  }
  .step-line.done { background: var(--green-400); }

  /* Reporter body */
  .reporter-body {
    flex: 1;
    padding: 1.5rem 1.25rem 6rem;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  .step-label {
    font-size: .75rem;
    color: var(--slate-400);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
  }
  .step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-900);
    line-height: 1.2;
    margin-bottom: .5rem;
  }
  .step-subtitle {
    color: var(--slate-500);
    font-size: .9rem;
    margin-bottom: 1.5rem;
  }

  /* Choice cards */
  .choice-card {
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
    margin-bottom: .75rem;
    position: relative;
  }
  .choice-card:hover { border-color: var(--green-400); }
  .choice-card:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
  .choice-card.selected { border-color: var(--green-700); background: var(--green-50); }
  .choice-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .choice-icon.muted { background: var(--slate-200); }
  .choice-text h3 { font-size: .95rem; font-weight: 600; color: var(--green-900); margin-bottom: .2rem; }
  .choice-text p { font-size: .8rem; color: var(--slate-500); line-height: 1.4; }
  .choice-radio {
    margin-left: auto;
    width: 20px; height: 20px;
    border: 2px solid var(--slate-300);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
  }
  .choice-card.selected .choice-radio {
    border-color: var(--green-700);
    background: var(--green-700);
  }
  .choice-radio-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    display: none;
  }
  .choice-card.selected .choice-radio-dot { display: block; }

  /* Alert box */
  .alert {
    border-radius: var(--radius-md);
    padding: .875rem 1rem;
    font-size: .85rem;
    line-height: 1.5;
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
  }
  .alert-warning {
    background: var(--red-50);
    border: 1px solid #fca5a5;
    color: var(--red-600);
  }
  .alert-info {
    background: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
  }
  .alert-amber {
    background: var(--amber-50);
    border: 1px solid #fcd34d;
    color: var(--amber-500);
  }
  .alert strong { font-weight: 600; }
  .alert a { text-decoration: underline; font-weight: 600; }

  /* Form fields */
  .form-group { margin-bottom: 1.25rem; }
  .form-label { display: block; font-size: .85rem; font-weight: 500; color: var(--green-900); margin-bottom: .45rem; }
  .form-label .opt { color: var(--slate-400); font-weight: 400; font-size: .8rem; }
  .form-input, .form-select, .form-textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-md);
    font-size: .9rem;
    color: var(--green-900);
    background: #fff;
    transition: var(--transition);
    outline: none;
    appearance: none;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(51,107,69,.12);
  }
  .form-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
  .form-select-wrap { position: relative; }
  .form-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--slate-500);
    pointer-events: none;
  }
  .form-select-wrap .form-select { padding-right: 2.5rem; }
  .form-input-icon { position: relative; }
  .form-input-icon svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
  .form-input-icon input { padding-left: 2.25rem; }
  .char-count { text-align: right; font-size: .75rem; color: var(--slate-400); margin-top: .3rem; }

  /* Toggle row */
  .toggle-row {
    background: #fff;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    transition: var(--transition);
  }
  .toggle-row.active { border-color: var(--green-600); background: var(--green-50); }
  .toggle-text h4 { font-size: .9rem; font-weight: 600; color: var(--green-900); margin-bottom: .2rem; }
  .toggle-text p { font-size: .8rem; color: var(--slate-500); line-height: 1.3; }
  .toggle-switch {
    width: 44px; height: 26px;
    background: var(--slate-200);
    border-radius: 13px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border: none;
  }
  .toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
  }
  .toggle-switch.on { background: var(--green-600); }
  .toggle-switch.on::after { left: calc(100% - 23px); }

  /* File upload */
  .file-upload {
    border: 2px dashed var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
  }
  .file-upload:hover { border-color: var(--green-400); background: var(--green-50); }
  .file-upload:focus-within { border-color: var(--green-700); outline: 3px solid #1d4ed8; outline-offset: 3px; }
  .file-upload svg { color: var(--slate-400); margin-bottom: .75rem; }
  .file-upload p { font-size: .85rem; color: var(--slate-500); }
  .file-upload strong { color: var(--green-700); }
  .file-upload small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--slate-400); }

  /* Reporter footer */
  .reporter-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--cream-dark);
    padding: 1rem 1.25rem;
    max-width: 480px;
    margin: 0 auto;
  }
  .btn-full {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: var(--transition);
  }

  /* Submission screen */
  .submission-screen {
    text-align: center;
    padding: 2rem 0;
  }
  .submission-icon {
    width: 72px; height: 72px;
    background: var(--green-700);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    animation: popIn .4s ease-out;
  }
  @keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  .submission-screen h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: .5rem;
  }
  .submission-screen p { color: var(--slate-500); font-size: .95rem; margin-bottom: 2rem; }
  .reference-card {
    background: #fff;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: left;
  }
  .reference-label { font-size: .75rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
  .reference-id {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-900);
    letter-spacing: .05em;
  }
  .passphrase-box {
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-md);
    padding: .875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
  }
  .passphrase-words {
    font-family: 'Courier New', monospace;
    font-size: .95rem;
    color: var(--green-900);
    font-weight: 600;
    letter-spacing: .03em;
  }
  .btn-copy {
    background: transparent;
    border: none;
    color: var(--green-600);
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
  }
  .lock-notice {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: .875rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .82rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .tracking-help { margin-top: 1rem; color: var(--slate-600); font-size: .82rem; line-height: 1.55; }

  /* Follow-up (anonymous correspondence) */
  .followup-header {
    background: var(--green-900);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .followup-case-info { display: flex; gap: 2rem; margin-bottom: 1rem; }
  .followup-case-info div label { font-size: .72rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .04em; }
  .followup-case-info div p { font-size: .85rem; font-weight: 600; color: var(--green-900); }
  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
  }
  .status-badge.in-progress { background: #dcfce7; color: #166534; }
  .status-badge.new { background: #eff6ff; color: #1d4ed8; }
  .status-badge.awaiting { background: #fef9c3; color: #854d0e; }
  .status-badge.escalated { background: #fee2e2; color: #991b1b; }
  .status-badge.closed { background: var(--slate-100); color: var(--slate-600); }
  .risk-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 600;
  }
  .risk-badge.immediate { background: #fee2e2; color: #991b1b; }
  .risk-badge.safeguarding { background: #fff7ed; color: #9a3412; }
  .anon-notice {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: .6rem .875rem;
    font-size: .78rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
  }
  .messages-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
  .message-item { display: flex; gap: .75rem; }
  .message-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--green-700);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  .message-avatar.anon { background: var(--slate-600); }
  .message-content { flex: 1; }
  .message-meta { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .35rem; }
  .message-sender { font-size: .82rem; font-weight: 600; color: var(--green-900); }
  .message-time { font-size: .72rem; color: var(--slate-400); }
  .message-bubble {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    padding: .75rem 1rem;
    font-size: .85rem;
    color: var(--slate-600);
    line-height: 1.5;
  }
  .message-item.self .message-bubble {
    background: var(--green-50);
    border-color: var(--green-200);
    border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
  }
  .reply-box {
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
    transition: var(--transition);
  }
  .reply-box:focus-within { border-color: var(--green-600); }
  .reply-textarea {
    width: 100%;
    border: none;
    padding: .875rem 1rem;
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--green-900);
    resize: none;
    min-height: 80px;
    outline: none;
    background: transparent;
  }
  .reply-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .875rem;
    border-top: 1px solid var(--cream-dark);
    background: var(--cream);
  }
  .reply-footer small { font-size: .72rem; color: var(--slate-400); }
  .btn-send {
    background: var(--green-700);
    color: #fff;
    padding: .45rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 600;
    display: flex; align-items: center; gap: .35rem;
    border: none;
    cursor: pointer;
  }
  .btn-send:hover { background: var(--green-600); }

  /* MVP reporter extensions */
  .named-contact-fields {
    background: #fff;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin: -.25rem 0 1rem;
  }
