    :root{
      --bg:#0b0d10;
      --panel:#111317;
      --panel2:#0f1115;
      --border:#2a2f3a;
      --text:#e8eaee;
      --muted:#a9afbd;
      --blue:#3b82f6;
      --blue2:#2563eb;
      --red:#ef4444;
      --red2:#dc2626;
      --shadow: 0 28px 80px rgba(0,0,0,.55);
      --radius: 22px;
    }

    *{ box-sizing:border-box; }

    body{
      margin:0;
      min-height:100vh;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:flex-start;
      padding:28px;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:var(--text);
      background:
        radial-gradient(900px 520px at 25% -10%, rgba(59,130,246,.18) 0%, transparent 60%),
        radial-gradient(900px 520px at 110% 30%, rgba(34,197,94,.12) 0%, transparent 55%),
        var(--bg);
    }

    .card{
      width:min(980px, 100%);
      background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02) 22%, rgba(255,255,255,0.00) 60%), var(--panel);
      border:1px solid rgba(255,255,255,0.10);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 26px 26px 22px;
      position:relative;
      overflow:hidden;
    }

    .card:before{
      content:"";
      position:absolute;
      inset:-2px;
      background: radial-gradient(420px 200px at 10% 0%, rgba(255,255,255,0.10), transparent 60%);
      pointer-events:none;
      opacity:.55;
    }

    .header{
      position:relative;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:16px;
      margin-bottom: 14px;
    }

    h1{
      margin:0;
      font-size: 34px;
      letter-spacing:.2px;
      font-weight: 800;
    }

    .sub{
      margin:10px 0 0;
      color:var(--muted);
      line-height:1.55;
      font-size: 14px;
    }

    .tools{
      display:flex;
      flex-direction:column;
      gap:10px;
      align-items:flex-end;
      min-width: 220px;
      position:relative;
      z-index:2;
    }

    .pill{
      font-size: 12px;
      color: var(--muted);
      padding: 6px 10px;
      border-radius: 999px;
      border:1px solid rgba(255,255,255,0.12);
      background: rgba(0,0,0,0.18);
      white-space: nowrap;
    }

    .btn{
      border:0;
      cursor:pointer;
      border-radius: 12px;
      padding: 10px 14px;
      font-weight: 800;
      font-size: 13px;
      color: #fff;
      letter-spacing:.2px;
      box-shadow: 0 10px 20px rgba(0,0,0,.25);
      transition: transform .05s ease, filter .12s ease, opacity .12s ease;
    }
    .btn:active{ transform: translateY(1px); }
    .btn:disabled{ opacity:.6; cursor:not-allowed; }
    .btn-blue{ background: linear-gradient(180deg, var(--blue), var(--blue2)); }
    .btn-red{ background: linear-gradient(180deg, var(--red), var(--red2)); }

    .row{
      position:relative;
      z-index:2;
      margin-top: 18px;
    }

    .input{
      width:100%;
      background: rgba(0,0,0,0.25);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      padding: 12px 12px;
      color: var(--text);
      outline:none;
      font-size: 14px;
    }
    .input:focus{
      border-color: rgba(59,130,246,0.55);
      box-shadow: 0 0 0 4px rgba(59,130,246,0.16);
    }

    .results{
      margin-top:10px;
      background: rgba(0,0,0,0.22);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 14px;
      max-height: 320px;
      overflow:auto;
      display:none;
    }
    .item{
      padding: 10px 12px;
      font-size: 13px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      cursor:pointer;
      line-height: 1.35;
    }
    .item:last-child{ border-bottom:0; }
    .item:hover{ background: rgba(255,255,255,0.04); }
    .item.selected{
      background: rgba(59,130,246,0.18);
    }

    .actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      align-items:center;
      margin-top: 14px;
    }
    .tiny{
      font-size: 12px;
      color: var(--muted);
    }
    .ok{ color:#22c55e; font-weight:800; }
    .err{ color:#fca5a5; font-weight:800; }

    .section-title{
      font-size: 24px;
      font-weight: 900;
      margin: 18px 0 10px;
    }

    .out{
      width:100%;
      background: rgba(0,0,0,0.25);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 14px;
      padding: 12px;
      color: var(--text);
      font-size: 13px;
      outline:none;
      resize: vertical;
    }

    .hint{
      margin-top: 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    code{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      background: rgba(0,0,0,0.25);
      border: 1px solid rgba(255,255,255,0.10);
      padding: 2px 6px;
      border-radius: 8px;
      color: #dbeafe;
    }