  :root{
    --bg: #F6F1E7;
    --surface: #FFFDF8;
    --surface-2: #FBF6EC;
    --ink: #16233F;
    --ink-soft: #45527A;
    --ink-faint: #8B94AE;
    --line: #E3DAC4;
    --accent: #C08A2E;
    --accent-soft: #E7CE9C;
    --accent-ink: #4A3410;
    --panel-bg: #16233F;
    --panel-ink: #EDE6D4;
    --panel-ink-dim: #93A0C2;
    --panel-line: rgba(237,230,212,.14);
    --good: #4C7A5E;
    --warn: #B5473A;
    --warn-soft: #F3DCD8;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(22,35,63,.06), 0 20px 44px rgba(22,35,63,.14);
    --font-display: 'Fraunces', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
  }
  *{ box-sizing:border-box; }
  body{ margin:0; font-family:var(--font-body); background:var(--bg); color:var(--ink); }

  .auth-shell{ min-height:100vh; display:grid; grid-template-columns: 1fr 1fr; }
  @media (max-width: 900px){ .auth-shell{ grid-template-columns: 1fr; } .auth-panel{ display:none; } }

  /* ---------- Left brand panel ---------- */
  .auth-panel{
    background: var(--panel-bg); color:var(--panel-ink); position:relative; overflow:hidden;
    display:flex; flex-direction:column; justify-content:space-between; padding:44px 48px;
  }
  .auth-panel::before{
    content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
    background:
      linear-gradient(135deg, transparent 46%, rgba(192,138,46,.16) 47%, transparent 48%),
      linear-gradient(45deg, transparent 60%, rgba(192,138,46,.10) 61%, transparent 62%);
  }
  .auth-panel svg.polybg{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
  .auth-panel-content{ position:relative; z-index:1; display:flex; flex-direction:column; height:100%; justify-content:space-between; }

  .brand{ display:flex; align-items:center; gap:11px; }
  .brand-mark{
    width:38px; height:38px; border-radius:9px; flex-shrink:0;
    background: linear-gradient(155deg, var(--accent), #8C6420);
    display:flex; align-items:center; justify-content:center;
    font-family: var(--font-display); font-weight:700; color:#16233F; font-size:17px;
  }
  /* To use your own logo, replace the .brand-mark div above with:
     <img src="your-logo.png" alt="Helping Hand logo" style="width:38px;height:38px;border-radius:9px;object-fit:contain;"> */
  .brand-name{ font-family: var(--font-display); font-weight:600; font-size:18px; letter-spacing:.2px; }
  .brand-sub{ font-size:10.5px; color: var(--panel-ink-dim); letter-spacing:1.5px; text-transform:uppercase; margin-top:1px; }

  .panel-copy{ max-width:380px; }
  .panel-copy .eyebrow{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--accent-soft); font-weight:600; margin-bottom:14px; }
  .panel-copy h1{ font-family:var(--font-display); font-weight:600; font-size:34px; line-height:1.18; margin-bottom:14px; }
  .panel-copy p{ font-size:14px; line-height:1.7; color:var(--panel-ink-dim); }

  .panel-foot{ font-size:11.5px; color:var(--panel-ink-dim); display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--panel-line); padding-top:16px; }
  .panel-foot a{ color:var(--panel-ink-dim); text-decoration:none; }
  .panel-foot a:hover{ color:var(--panel-ink); }

  /* ---------- Right form panel ---------- */
  .auth-form-side{ display:flex; align-items:center; justify-content:center; padding:40px 24px; }
  .auth-card{ width:100%; max-width:380px; }
  .auth-card .mobile-brand{ display:none; align-items:center; gap:10px; margin-bottom:28px; }
  @media (max-width: 900px){ .auth-card .mobile-brand{ display:flex; } }
  .mobile-brand .brand-mark{ color:#16233F; }
  .mobile-brand .brand-name{ color:var(--ink); }

  .auth-card h2{ font-family:var(--font-display); font-weight:600; font-size:26px; margin-bottom:6px; }
  .auth-card .sub{ font-size:13.5px; color:var(--ink-faint); margin-bottom:28px; }

  .field{ margin-bottom:18px; }
  .field label{ display:block; font-size:12.5px; font-weight:600; color:var(--ink-soft); margin-bottom:6px; }
  .field input, .field select{
    width:100%; padding:11px 13px; border-radius:9px; border:1px solid var(--line);
    background:var(--surface); color:var(--ink); font-family:inherit; font-size:14px;
  }
  .field input:focus, .field select:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
  .field .hint{ font-size:11px; color:var(--ink-faint); margin-top:5px; }

  .row-between{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; font-size:13px; }
  .checkbox-row{ display:flex; align-items:center; gap:8px; color:var(--ink-soft); }
  .checkbox-row input{ width:15px; height:15px; accent-color:var(--accent); }
  .row-between a{ color:var(--accent-ink); font-weight:600; text-decoration:none; font-size:12.5px; }
  .row-between a:hover{ text-decoration:underline; }

  .btn-primary{
    width:100%; padding:12px; border-radius:9px; border:none; cursor:pointer;
    background: linear-gradient(155deg, var(--accent), #8C6420); color:#fff;
    font-family:inherit; font-size:14px; font-weight:600;
  }
  .btn-primary:hover{ filter:brightness(1.05); }

  .divider{ display:flex; align-items:center; gap:12px; margin:22px 0; font-size:11.5px; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.6px; }
  .divider::before, .divider::after{ content:""; flex:1; height:1px; background:var(--line); }

  .social-row{ display:flex; gap:10px; }
  .btn-social{
    flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
    padding:10px; border-radius:9px; border:1px solid var(--line); background:var(--surface);
    color:var(--ink-soft); font-family:inherit; font-size:13px; font-weight:600; cursor:pointer;
  }
  .btn-social:hover{ border-color:var(--accent); background:var(--surface-2); }
  .btn-social svg{ width:16px; height:16px; }

  .foot-links{ text-align:center; margin-top:26px; font-size:13px; color:var(--ink-faint); }
  .foot-links a{ color:var(--accent-ink); font-weight:600; text-decoration:none; }
  .foot-links a:hover{ text-decoration:underline; }

  .legal{ text-align:center; margin-top:34px; font-size:11px; color:var(--ink-faint); }
  .legal a{ color:var(--ink-faint); }
