    :root{
      --brand:#22c55e;
      --brand-2:#16a34a;
      --muted:#64748b;
      --bg:#f6f7fb;
      --card:#ffffff;
      --border:#e5e7eb;
      --soft:#f1f5f9;
      --grey:#6b7280;
      --blue:#2196F3;
      --blue-2:#1976D2;
      --amber:#f59e0b;
      --slate:#0f172a;
      --danger:#ef4444;
      --success:#16a34a;
      --warn:#f59e0b;

      --radius:16px;
      --shadow: 0 12px 28px rgba(2, 6, 23, .06);
      --shadow-soft: 0 8px 20px rgba(2, 6, 23, .05);
    }

    *{ box-sizing:border-box; }
    [data-depends]{ display:none; }

    body{
      background:
        radial-gradient(circle at top left, rgba(34,197,94,.10), transparent 30%),
        radial-gradient(circle at top right, rgba(33,150,243,.08), transparent 26%),
        linear-gradient(180deg, #f8fbf8 0%, #f4f7fb 52%, #eef3f8 100%);
      color:#111827;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
      padding-bottom:78px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .topbar{
      position:sticky; top:0; z-index:1000;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(10px);
      border-bottom:1px solid var(--border);
    }
    .topbar-inner{
      max-width:1200px; margin:0 auto;
      padding:12px 14px;
      display:flex; align-items:center; justify-content:space-between; gap:12px;
    }
    .brand-title{ margin:0; font-weight:950; font-size:18px; color:#0b1220; letter-spacing:-.2px; }
    .brand-subtitle{ margin:3px 0 0 0; color:var(--muted); font-size:12px; }

    .lang-wrap{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
    .lang-button{
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 10px;
      border-radius:12px;
      border:1px solid var(--border);
      background:#fff;
      color:#0b1220;
      text-decoration:none !important;
      font-size:13px;
      font-weight:800;
      transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
      box-shadow: 0 1px 0 rgba(0,0,0,.02);
    }
    .lang-button:hover{
      transform: translateY(-1px);
      border-color: rgba(34,197,94,.35);
      box-shadow: 0 10px 22px rgba(2,6,23,.06);
    }

    .page{ max-width:1200px; margin:18px auto; padding:0 14px; }
    .app-shell{
      display:grid;
      grid-template-columns: 260px minmax(0, 1fr);
      gap:18px;
      align-items:start;
    }
    .app-sidebar{
      position:sticky;
      top:86px;
    }
    .sidebar-card{
      background: rgba(255,255,255,.84);
      border:1px solid rgba(255,255,255,.7);
      border-radius: 24px;
      box-shadow: 0 18px 40px rgba(15,23,42,.08);
      padding:16px;
      backdrop-filter: blur(12px);
    }
    .sidebar-title{
      margin:0 0 6px 0;
      font-size:12px;
      font-weight:950;
      color:#0f172a;
      letter-spacing:.24px;
      text-transform:uppercase;
    }
    .sidebar-copy{
      margin:0 0 14px 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.6;
    }
    .sidebar-nav{
      display:grid;
      gap:8px;
    }
    .sidebar-link{
      display:flex;
      align-items:center;
      gap:12px;
      text-decoration:none !important;
      color:#0f172a;
      border:1px solid transparent;
      border-radius:16px;
      padding:12px 14px;
      font-size:14px;
      font-weight:900;
      background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,250,252,.92));
      transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
    }
    .sidebar-link i{
      width:20px;
      text-align:center;
      color:var(--brand-2);
      font-size:16px;
    }
    .sidebar-link:hover{
      transform:translateY(-1px);
      border-color:rgba(34,197,94,.20);
      box-shadow:0 12px 24px rgba(15,23,42,.06);
    }
    .sidebar-link.active{
      color:#fff;
      background:linear-gradient(135deg, #0f172a, #166534);
      border-color:transparent;
      box-shadow:0 16px 32px rgba(15,23,42,.18);
    }
    .sidebar-link.active i{ color:#bbf7d0; }
    .page-main{
      min-width:0;
      display:grid;
      gap:16px;
    }
    .mobile-tabs{
      display:none;
      gap:10px;
      overflow:auto;
      padding-bottom:4px;
    }
    .mobile-tabs .sidebar-link{
      min-width:max-content;
      box-shadow:none;
      border-color:rgba(226,232,240,.9);
    }
    .page-hero{
      position:relative;
      overflow:hidden;
      border-radius:28px;
      padding:24px;
      background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.28), transparent 18%),
        linear-gradient(135deg, #0f172a 0%, #14532d 52%, #16a34a 100%);
      color:#fff;
      box-shadow:0 20px 48px rgba(15,23,42,.16);
    }
    .page-hero::after{
      content:"";
      position:absolute;
      inset:auto -40px -70px auto;
      width:220px;
      height:220px;
      border-radius:50%;
      background:rgba(255,255,255,.08);
    }
    .hero-badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:7px 12px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.18);
      background:rgba(255,255,255,.10);
      font-size:12px;
      font-weight:900;
      margin-bottom:12px;
    }
    .page-hero h2{
      margin:0;
      font-size:28px;
      font-weight:950;
      letter-spacing:-.4px;
    }
    .page-hero p{
      max-width:700px;
      margin:10px 0 0 0;
      color:rgba(255,255,255,.86);
      font-size:14px;
      line-height:1.7;
    }
    .content-focus{
      display:grid;
      gap:16px;
    }
    .content-focus.narrow{
      max-width:900px;
    }
    .grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:16px; align-items:start; }
    @media (max-width:992px){ .grid{ grid-template-columns:1fr; } }

    .stack{ display:grid; gap:16px; }

    .card{
      background: var(--card);
      border:1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .card-hd{
      padding:14px 16px;
      border-bottom:1px solid var(--border);
      background: linear-gradient(180deg,#fff,#fbfbfd);
      display:flex; align-items:center; justify-content:space-between; gap:10px;
    }
    .card-title{
      display:flex;
      align-items:center;
      gap:10px;
      min-width:0;
    }
    .card-title i{
      width:34px;
      height:34px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:12px;
      background:rgba(34,197,94,.10);
      color:var(--brand-2);
      font-size:15px;
      flex-shrink:0;
    }
    .card-hd h3{ margin:0; font-size:14px; font-weight:950; letter-spacing:.2px; color:#0b1220; }
    .badge-soft{
      font-size:12px;
      padding:4px 10px;
      border-radius:999px;
      background: rgba(34,197,94,.10);
      border:1px solid rgba(34,197,94,.22);
      color:#14532d;
      font-weight:900;
      white-space:nowrap;
    }
    .card-bd{ padding:14px 16px; }

    .form-group label{
      font-size:12px; color:#334155; font-weight:900; margin-bottom:6px;
    }

    input[type="text"], input[type="number"], select{
      width:100%;
      border:1px solid var(--border);
      background:#fff;
      border-radius:14px;
      padding:10px 12px;
      height:44px;
      outline:none !important;
      box-shadow:none !important;
      transition: box-shadow .12s ease, border-color .12s ease;
    }
    input[type="text"]:focus, input[type="number"]:focus, select:focus{
      border-color: rgba(34,197,94,.55);
      box-shadow: 0 0 0 4px rgba(34,197,94,.14) !important;
    }

    .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
    @media (max-width:520px){ .two-col{ grid-template-columns:1fr; } }

    .radio-inline{ margin-right:12px; font-weight:800; color:#0b1220; }
    .radio-inline input{ margin-top:0; }
    .gender-checkbox-group{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:12px;
      margin-top:8px;
    }
    .gender-checkbox-item{
      min-height:56px;
      cursor:pointer;
      transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease, background .12s ease;
      box-shadow:0 8px 18px rgba(15,23,42,.04);
    }
    .gender-checkbox-item:hover{
      transform:translateY(-1px);
      border-color:rgba(34,197,94,.30);
      box-shadow:0 14px 24px rgba(15,23,42,.08);
    }
    .gender-checkbox-item input{
      flex-shrink:0;
    }
    .gender-checkbox-item input:checked{
      accent-color:var(--brand-2);
    }
    .gender-checkbox-item:has(input:checked){
      border-color:rgba(34,197,94,.55);
      background:linear-gradient(180deg, rgba(34,197,94,.16), rgba(34,197,94,.08));
      box-shadow:0 0 0 4px rgba(34,197,94,.14), 0 16px 28px rgba(34,197,94,.12);
    }
    .gender-checkbox-item:has(input:focus){
      border-color:rgba(34,197,94,.55);
      box-shadow:0 0 0 4px rgba(34,197,94,.14);
    }
    .checkbox-grid{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:12px;
      margin:8px 0 4px;
    }
    .checkbox-item{
      display:flex;
      align-items:center;
      gap:10px;
      padding:12px 14px;
      border:1px solid var(--border);
      border-radius:16px;
      background:#fff;
    }
    .checkbox-item input{
      width:18px;
      height:18px;
      margin:0;
      accent-color:var(--brand-2);
      flex-shrink:0;
    }
    .checkbox-item label{
      margin:0;
      display:flex;
      flex-direction:column;
      gap:2px;
      cursor:pointer;
    }
    .checkbox-title{
      font-size:13px;
      font-weight:900;
      color:#0f172a;
      line-height:1.2;
    }
    .checkbox-subtitle{
      font-size:11px;
      color:var(--muted);
      font-weight:800;
      line-height:1.4;
    }
    .inline-status{
      display:flex;
      align-items:center;
      gap:10px;
    }
    .status-label{
      color:#475569;
      font-size:13px;
      font-weight:900;
    }
    .status-loader{
      width:16px;
      height:16px;
      border-radius:50%;
      border:2px solid rgba(34,197,94,.20);
      border-top-color:var(--brand-2);
      display:none;
      animation:spin 1s linear infinite;
      flex-shrink:0;
    }
    .status-loader.active{ display:inline-block; }
    @keyframes spin{ to { transform:rotate(360deg); } }
    .input-icon-group{
      position:relative;
    }
    .input-icon-group i{
      position:absolute;
      left:14px;
      top:50%;
      transform:translateY(-50%);
      color:#64748b;
      font-size:15px;
      pointer-events:none;
    }
    .input-icon-group input{
      padding-left:40px;
    }

    .number-input{ display:flex; align-items:center; gap:8px; margin-top:6px; }
    .number-input button{
      width:44px; height:44px;
      border-radius:14px;
      border:1px solid var(--border);
      background: #0b1220;
      color:#fff;
      font-size:18px;
      font-weight:950;
      cursor:pointer;
      transition: transform .08s ease, opacity .12s ease, box-shadow .12s ease;
      box-shadow: var(--shadow-soft);
    }
    .number-input button:hover{ opacity:.92; transform: translateY(-1px); }
    .number-input input{ height:44px; text-align:center; max-width:120px; font-weight:950; border-radius:14px; }

    .section{
      border:1px solid var(--border);
      border-radius: var(--radius);
      overflow:hidden;
      margin-top:12px;
      background:#fff;
    }
    .section-hd{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding:12px 14px;
      background: var(--soft);
      cursor:pointer;
      user-select:none;
    }
    .section-hd strong{ font-size:13px; letter-spacing:.2px; font-weight:950; }
    .section-hd .toggle{
      border:1px solid var(--border);
      background:#fff;
      border-radius:12px;
      padding:6px 10px;
      font-size:12px;
      font-weight:950;
      cursor:pointer;
      color:#0f172a;
      line-height:1;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:40px;
      min-height:36px;
    }
    .section-hd .toggle .toggle-glyph{
      display:block;
      font-size:16px;
      transition: transform .15s ease;
    }
    .section.open .section-hd .toggle .toggle-glyph{ transform: rotate(180deg); }
    .section-bd{ padding:12px 14px; display:none; }
    .section.open .section-bd{ display:block; }

    .btn-main{
      width:100%;
      border:none;
      background: linear-gradient(180deg, var(--brand), var(--brand-2));
      color:#fff;
      padding:12px 14px;
      border-radius: 16px;
      font-weight:950;
      font-size:14px;
      cursor:pointer;
      transition: transform .08s ease, opacity .12s ease, box-shadow .12s ease;
      box-shadow: 0 12px 24px rgba(34,197,94,.18);
    }
    .btn-main:hover{ opacity:.96; transform: translateY(-1px); }
    .helper{ font-size:12px; color:var(--muted); margin-top:10px; line-height:1.5; }

    .screen-preloader{
      position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      background:rgba(15,23,42,.72);
      backdrop-filter:blur(6px);
      z-index:12000;
      padding:24px;
    }
    .screen-preloader.active{ display:flex; }
    .screen-preloader-card{
      width:min(100%, 420px);
      text-align:center;
      border-radius:24px;
      background:linear-gradient(180deg, #ffffff, #f8fafc);
      border:1px solid rgba(226,232,240,.9);
      padding:28px 24px;
      box-shadow:0 28px 60px rgba(2,6,23,.28);
    }
    .screen-preloader-card h3{
      margin:16px 0 8px 0;
      color:#0f172a;
      font-size:22px;
      font-weight:950;
    }
    .screen-preloader-card p{
      margin:0;
      color:#475569;
      font-size:14px;
      line-height:1.7;
      font-weight:800;
    }
    .screen-preloader-spinner,
    .pay-processing-spinner{
      display:inline-block;
      width:54px;
      height:54px;
      border-radius:50%;
      border:4px solid rgba(34,197,94,.18);
      border-top-color:var(--brand-2);
      animation:spin 1s linear infinite;
    }

    .pay-note{
      background: rgba(34,197,94,.08);
      border:1px dashed rgba(34,197,94,.45);
      border-radius:14px;
      padding:10px 12px;
      color:#14532d;
      font-weight:900;
      margin-bottom:10px;
    }
    .pay-status{
      margin-top:10px;
      padding:10px 12px;
      border-radius:14px;
      background:#fff;
      border:1px solid var(--border);
      font-size:13px;
      white-space: pre-line;
      color:#0b1220;
    }
    .pay-modal-body{
      min-height:340px;
      display:flex;
      align-items:stretch;
    }
    .pay-modal-panel{
      width:100%;
    }
    .pay-processing-view{
      min-height:280px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      text-align:center;
      gap:14px;
      padding:10px 4px;
    }
    .pay-processing-view h4{
      margin:0;
      color:#0f172a;
      font-size:22px;
      font-weight:950;
    }
    .pay-processing-view p{
      margin:0;
      max-width:380px;
      color:#475569;
      font-size:14px;
      line-height:1.7;
      font-weight:800;
    }
    .pay-processing-meta{
      width:100%;
      border:1px solid var(--border);
      border-radius:18px;
      background:linear-gradient(180deg, #ffffff, #f8fafc);
      padding:14px 16px;
      display:grid;
      gap:6px;
      color:#0f172a;
      font-size:13px;
      font-weight:900;
      box-shadow:var(--shadow-soft);
    }
    .btn-pay{
      background: linear-gradient(180deg, var(--brand), var(--brand-2)) !important;
      border-color: rgba(34,197,94,.35) !important;
      color:#fff !important;
      font-weight:950;
      border-radius:14px !important;
      padding:10px 14px !important;
      min-height:44px;
      box-shadow: 0 12px 24px rgba(34,197,94,.16);
    }
    .btn-check{
      background:#eef2f7 !important;
      border-color:#e2e8f0 !important;
      color:#0b1220 !important;
      font-weight:950;
      border-radius:14px !important;
      padding:10px 14px !important;
      min-height:44px;
    }
    .btn-view{
      background: linear-gradient(180deg, var(--blue), var(--blue-2)) !important;
      border-color: rgba(33,150,243,.35) !important;
      color:#fff !important;
      font-weight:950;
      border-radius:14px !important;
      padding:10px 14px !important;
      min-height:44px;
      text-decoration:none !important;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      box-shadow: 0 12px 24px rgba(33,150,243,.16);
    }
    .btn-icon{
      display:inline-flex !important;
      align-items:center;
      justify-content:center;
      gap:8px;
    }
    .btn:disabled{ opacity:.6; cursor:not-allowed; }

    .modal-dialog{ margin-top: 10vh; }
    @media (max-width:520px){
      .modal-dialog{ width:auto; margin: 8vh 10px 0 10px; }
      .modal-content{ border-radius: 16px !important; }
    }
    .modal{
      z-index: 1050 !important;
    }
    .modal-backdrop{
      z-index: 1040 !important;
    }
    #payModal{
      padding-right: 0 !important;
    }
    #payModal .modal-dialog{
      position: relative;
      z-index: 1055;
      pointer-events: none;
    }
    #payModal .modal-content{
      pointer-events: auto;
      box-shadow: 0 24px 60px rgba(2, 6, 23, .24);
    }

    footer{
      position:fixed; bottom:0; left:0; width:100%;
      text-align:center;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(8px);
      border-top: 1px solid var(--border);
      color: var(--brand-2);
      font-size:13px;
      padding:10px 0;
      z-index:999;
    }

    @media screen { #printSection{ display:none; } }
    @media print {
      body > *:not(#printSection){ display:none; }
      #printSection, #printSection *{ visibility: visible; }
      #printSection{ position:absolute; left:0; top:0; }
    }

    .help-hero{
      border:1px solid rgba(34,197,94,.22);
      background: linear-gradient(180deg, rgba(34,197,94,.12), rgba(34,197,94,.04));
      border-radius: var(--radius);
      padding:12px 12px;
      margin-bottom:12px;
      display:flex;
      gap:10px;
      align-items:flex-start;
      box-shadow: var(--shadow-soft);
    }
    .help-hero .icon{
      width:40px; height:40px;
      border-radius:14px;
      display:flex; align-items:center; justify-content:center;
      background:#ffffff;
      border:1px solid rgba(34,197,94,.22);
      box-shadow: 0 10px 20px rgba(2,6,23,.05);
      font-size:18px;
      flex-shrink:0;
      color:var(--brand-2);
    }
    .help-hero h4{
      margin:0;
      font-weight:950;
      font-size:13px;
      color: var(--slate);
      letter-spacing:.15px;
    }
    .help-hero p{
      margin:6px 0 0 0;
      font-size:12px;
      color:#334155;
      line-height:1.65;
      white-space: pre-line;
    }
    .help-tags{
      display:flex; flex-wrap:wrap; gap:8px;
      margin-top:10px;
    }
    .help-tag{
      font-size:11px;
      font-weight:950;
      padding:6px 10px;
      border-radius:999px;
      border:1px solid rgba(148,163,184,.35);
      background:#fff;
      color:#0b1220;
    }
    .help-tag em{ font-style:normal; color: var(--brand-2); }

    .help-list{
      padding-left:18px;
      color:#475569;
      line-height:1.7;
      margin:0;
      font-size:12px;
    }
    .help-subtitle{
      margin:0;
      color:#334155;
      font-weight:900;
      font-size:12px;
    }

    .lookup-note{
      background:#f8fafc;
      border:1px solid var(--border);
      border-radius:14px;
      padding:10px 12px;
      margin-bottom:12px;
      font-size:12px;
      color:#334155;
      line-height:1.6;
    }
    .lookup-actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:12px;
    }
    .lookup-actions .btn{
      border-radius:14px !important;
      min-height:44px;
      font-weight:950;
      padding:10px 14px !important;
    }
    .lookup-status{
      margin-top:12px;
      padding:10px 12px;
      border-radius:14px;
      border:1px solid var(--border);
      background:#fff;
      white-space:pre-line;
      font-size:13px;
      color:#0b1220;
    }
    .lookup-hint{
      margin-top:10px;
      color:var(--muted);
      font-size:12px;
      line-height:1.6;
    }

    .txn-list{
      display:grid;
      gap:12px;
      margin-top:12px;
    }
    .txn-item{
      border:1px solid var(--border);
      border-radius:16px;
      background:#fff;
      padding:12px;
      box-shadow: var(--shadow-soft);
    }
    .txn-top{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:12px;
      margin-bottom:8px;
    }
    .txn-ref{
      font-size:13px;
      font-weight:950;
      color:#0b1220;
      word-break:break-all;
      margin:0;
    }
    .txn-date{
      font-size:11px;
      color:var(--muted);
      margin-top:4px;
    }
    .status-pill{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:86px;
      padding:6px 10px;
      border-radius:999px;
      font-size:11px;
      font-weight:950;
      border:1px solid transparent;
      text-transform:uppercase;
      letter-spacing:.3px;
      white-space:nowrap;
    }
    .status-pill.paid{
      background:rgba(22,163,74,.10);
      border-color:rgba(22,163,74,.25);
      color:#166534;
    }
    .status-pill.pending{
      background:rgba(245,158,11,.10);
      border-color:rgba(245,158,11,.25);
      color:#92400e;
    }
    .status-pill.failed,
    .status-pill.expired{
      background:rgba(239,68,68,.10);
      border-color:rgba(239,68,68,.25);
      color:#991b1b;
    }
    .status-pill.initiated{
      background:rgba(33,150,243,.10);
      border-color:rgba(33,150,243,.25);
      color:#1d4ed8;
    }

    .txn-meta{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:8px 12px;
      margin-top:10px;
    }
    @media (max-width:520px){ .txn-meta{ grid-template-columns:1fr; } }

    .txn-meta-item{
      background:#f8fafc;
      border:1px solid var(--border);
      border-radius:12px;
      padding:8px 10px;
    }
    .txn-meta-label{
      font-size:11px;
      color:var(--muted);
      font-weight:900;
      margin-bottom:3px;
    }
    .txn-meta-value{
      font-size:12px;
      color:#0b1220;
      font-weight:800;
      word-break:break-word;
      white-space:pre-line;
    }
    .txn-actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:12px;
    }
    .txn-support{
      margin-top:10px;
      padding:10px 12px;
      border-radius:12px;
      border:1px dashed rgba(245,158,11,.35);
      background:rgba(245,158,11,.06);
      color:#92400e;
      font-size:12px;
      font-weight:900;
      line-height:1.6;
      white-space:pre-line;
    }

    .empty-box{
      text-align:center;
      padding:18px 12px;
      border:1px dashed var(--border);
      border-radius:16px;
      background:#fff;
      color:var(--muted);
      font-size:12px;
      font-weight:800;
    }

    .share-table th, .share-table td { padding: 0 15px; }
.share-row td { padding-bottom: 15px; }

    @media (max-width:992px){
      .app-shell{ grid-template-columns:1fr; }
      .app-sidebar{ display:none; }
      .mobile-tabs{ display:flex; }
      .page-hero{ padding:20px; border-radius:24px; }
      .page-hero h2{ font-size:24px; }
    }
    @media (max-width:520px){
      .checkbox-grid{ grid-template-columns:1fr; }
      .gender-checkbox-group{ grid-template-columns:1fr; }
    }

    .admin-page{
      display:grid;
      gap:16px;
      padding-bottom:32px;
    }
    .admin-hero{
      background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.22), transparent 18%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #0f766e 100%);
    }
    .admin-top-actions{
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .admin-user-chip{
      display:inline-flex;
      align-items:flex-start;
      flex-direction:column;
      gap:2px;
      padding:8px 12px;
      border-radius:14px;
      background:#ffffff;
      border:1px solid var(--border);
      color:#0f172a;
      min-width:140px;
    }
    .admin-user-chip strong{
      font-size:13px;
      font-weight:900;
    }
    .admin-user-chip span{
      font-size:11px;
      color:var(--muted);
      font-weight:800;
      letter-spacing:.16px;
    }
    .admin-login-shell{
      max-width:500px;
      margin:36px auto 0;
      display:grid;
      gap:16px;
    }
    .admin-login-card .card-bd{
      padding:24px;
    }
    .admin-form{
      display:grid;
      gap:14px;
    }
    .admin-alert{
      border-radius:14px;
      padding:12px 14px;
      font-size:13px;
      font-weight:800;
      margin-bottom:14px;
    }
    .admin-alert-danger{
      background:#fef2f2;
      border:1px solid #fecaca;
      color:#991b1b;
    }
    .admin-alert-success{
      background:#f0fdf4;
      border:1px solid #bbf7d0;
      color:#166534;
    }
    .admin-summary-grid{
      display:grid;
      grid-template-columns:repeat(4, minmax(0, 1fr));
      gap:16px;
    }
    .admin-stat-card{
      background:#fff;
      border:1px solid var(--border);
      border-radius:20px;
      padding:18px;
      box-shadow:var(--shadow);
      display:grid;
      gap:8px;
    }
    .admin-stat-card span{
      color:var(--muted);
      font-size:12px;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.18px;
    }
    .admin-stat-card strong{
      font-size:30px;
      line-height:1;
      color:#0f172a;
      font-weight:950;
    }
    .admin-filter-grid{
      display:grid;
      grid-template-columns:repeat(4, minmax(0, 1fr));
      gap:14px;
      align-items:end;
    }
    .admin-filter-actions{
      display:flex;
      gap:10px;
      align-items:center;
      flex-wrap:wrap;
    }
    .admin-table-wrap{
      overflow:auto;
    }
    .admin-table{
      width:100%;
      border-collapse:collapse;
      min-width:880px;
    }
    .admin-table th,
    .admin-table td{
      padding:12px 14px;
      border-bottom:1px solid #e2e8f0;
      text-align:left;
      vertical-align:top;
      font-size:13px;
    }
    .admin-table th{
      color:#475569;
      font-size:12px;
      text-transform:uppercase;
      letter-spacing:.18px;
      font-weight:900;
    }
    .admin-muted{
      color:var(--muted);
      font-size:11px;
      margin-top:4px;
    }
    .admin-empty{
      border:1px dashed #cbd5e1;
      border-radius:16px;
      padding:18px;
      color:#64748b;
      font-weight:700;
      background:#f8fafc;
    }
    .status-pill.status-paid{
      background:#dcfce7;
      color:#166534;
      border-color:transparent;
    }
    .status-pill.status-pending,
    .status-pill.status-initiated{
      background:#fef3c7;
      color:#92400e;
      border-color:transparent;
    }
    .status-pill.status-failed,
    .status-pill.status-expired{
      background:#fee2e2;
      color:#991b1b;
      border-color:transparent;
    }
    .admin-staff-grid,
    .admin-detail-grid{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:16px;
      align-items:start;
    }
    .admin-detail-list{
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:14px 18px;
      margin:0;
    }
    .admin-detail-list div{
      padding:14px;
      border-radius:16px;
      background:#f8fafc;
      border:1px solid #e2e8f0;
    }
    .admin-detail-list dt{
      color:#64748b;
      font-size:11px;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.14px;
      margin-bottom:8px;
    }
    .admin-detail-list dd{
      margin:0;
      color:#0f172a;
      font-size:14px;
      font-weight:800;
      word-break:break-word;
    }
    .admin-action-grid{
      display:grid;
      gap:14px;
    }
    .admin-note-form{
      margin-bottom:16px;
    }
    .admin-audit-list{
      display:grid;
      gap:12px;
    }
    .admin-audit-item{
      border:1px solid #e2e8f0;
      background:#f8fafc;
      border-radius:16px;
      padding:14px;
    }
    .admin-audit-item header{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      margin-bottom:8px;
    }
    .admin-audit-item header strong{
      color:#0f172a;
      font-size:12px;
      font-weight:950;
    }
    .admin-audit-item header span,
    .admin-audit-item header time{
      color:#64748b;
      font-size:12px;
      font-weight:800;
    }
    .admin-audit-item p{
      margin:0;
      color:#0f172a;
      line-height:1.7;
      font-size:13px;
    }
    .admin-code-block + .admin-code-block{
      margin-top:14px;
    }
    .admin-code-block h4{
      margin:0 0 8px 0;
      font-size:13px;
      font-weight:900;
      color:#0f172a;
    }
    .admin-code-block pre{
      margin:0;
      padding:14px;
      border-radius:16px;
      background:#0f172a;
      color:#e2e8f0;
      overflow:auto;
      font-size:12px;
      line-height:1.6;
      min-height:70px;
    }
    @media (max-width:992px){
      .admin-summary-grid,
      .admin-filter-grid,
      .admin-staff-grid,
      .admin-detail-grid,
      .admin-detail-list{
        grid-template-columns:1fr;
      }
    }


