/* ─── PROFILE: Profile Page, Accordion, Inputs ─────────────────────────── */
  /* INPUT FORM */
  .form-section-label {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 800;
    letter-spacing: -0.3px;
  }
  .form-section-sub { font-size: 13px; color: var(--text3); font-family: var(--font-mono); margin-top: 2px; }
  .input-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .input-row {
    display: flex; align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
  }
  .input-row:last-child { border-bottom: none; }
  .input-row-label { flex: 1; }
  .input-row-label .lbl { font-size: 14px; font-weight: 500; }
  .input-row-label .sub { font-size: 11px; color: var(--text3); font-family: var(--font-mono); margin-top: 2px; }
  .input-row input[type="number"] {
    background: var(--surface3);
    border: 1px solid var(--border2);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700;
    width: 100px; text-align: right;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .input-row input[type="number"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124,255,196,0.1);
  }
  .input-row .unit-lbl {
    font-size: 12px; color: var(--text3);
    font-family: var(--font-mono); width: 30px;
  }

  /* PROFILE */
  .prof-section-header {
    font-family: var(--font-mono);
    font-size: 10px; color: var(--text3);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 10px; padding-left: 2px;
  }

  /* PROFILE ACCORDION */
  .prof-accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .prof-acc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; cursor: pointer;
    background: var(--surface);
    transition: background 0.15s;
    user-select: none;
    -webkit-user-select: none;
  }
  .prof-acc-header:active { background: var(--surface2); }
  .prof-acc-title {
    font-family: var(--font-display); font-size: 15px; font-weight: 700;
    letter-spacing: -0.2px; color: var(--text);
  }
  .prof-acc-chevron {
    font-size: 12px; color: var(--text3);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .prof-accordion.open .prof-acc-chevron { transform: rotate(180deg); }
  .prof-acc-body {
    display: none;
    border-top: 1px solid var(--border);
  }
  .prof-accordion.open .prof-acc-body { display: block; }
  /* Unified profile input classes */
  .prof-input, .prof-input-wide, .prof-select {
    background: var(--surface3);
    border: 1px solid var(--border2);
    color: var(--text); font-family: var(--font-display);
    padding: 9px 11px; border-radius: var(--radius-sm);
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  }
  .prof-input { font-size: 17px; font-weight: 700; width: 100px; text-align: right; }
  .prof-input-wide { font-size: 14px; font-weight: 600; width: 160px; text-align: right; }
  .prof-select { font-size: 13px; font-weight: 600; max-width: 160px; }
  .prof-input:focus, .prof-input-wide:focus, .prof-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124,255,196,0.1);
  }
  .prof-input::placeholder, .prof-input-wide::placeholder { color: var(--text3); font-weight: 400; }
  #page-profile input:focus, #page-profile select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(124,255,196,0.1) !important; outline: none;
  }

  /* Toggle (kept for any legacy references) */
  .toggle-row { display: flex; gap: 0; }
  .toggle-btn {
    flex: 1; padding: 8px;
    background: var(--surface3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-family: var(--font-mono); font-size: 11px;
    cursor: pointer; transition: all 0.2s;
  }
  .toggle-btn:first-child { border-radius: 8px 0 0 8px; border-right: none; }
  .toggle-btn:last-child { border-radius: 0 8px 8px 0; }
  .toggle-btn.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }

  /* Toggle (kept for any legacy references) */
  .toggle-row { display: flex; gap: 0; }
  .toggle-btn {
    flex: 1; padding: 8px;
    background: var(--surface3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-family: var(--font-mono); font-size: 11px;
    cursor: pointer; transition: all 0.2s;
  }
  .toggle-btn:first-child { border-radius: 8px 0 0 8px; border-right: none; }
  .toggle-btn:last-child { border-radius: 0 8px 8px 0; }
  .toggle-btn.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
