:root{
      --bg0:#050812; --bg2:#0A1327;
      --txt:#fff;
      --muted:rgba(255,255,255,.72);
      --gold: rgba(255,215,128,.95);
      --gold2: rgba(255,200,90,.92);
    }
    body{
      margin:0; min-height:100vh; color:var(--txt);
      background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 80% 18%, rgba(255,255,255,.06), transparent 55%),
        linear-gradient(180deg, var(--bg0), var(--bg2));
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    }
    .wrap{max-width:980px;margin:0 auto;padding:18px 12px 26px}

    /* ✅ topbar only title (back moved down into actions) */
    .topbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:12px}

    .cardx{
      border:0;border-radius:20px;overflow:hidden;
      background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      box-shadow:0 22px 64px rgba(0,0,0,.32);
      backdrop-filter: blur(12px);
    }
    .band{
      display:flex;align-items:center;justify-content:space-between;gap:10px;
      padding:12px 14px;
      background:rgba(0,0,0,.18);
      box-shadow: inset 0 -1px 0 rgba(255,255,255,.10);
    }
    .badgeL{
      display:inline-flex;align-items:center;gap:8px;
      font-size:12.5px;color:rgba(255,255,255,.90);
      opacity:.95;font-weight:800;letter-spacing:.2px;
    }
    .badgeL svg{width:18px;height:18px;stroke:#fff;stroke-width:1.25;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.95}

    .holo{
      position:relative;width:56px;height:38px;border-radius:12px;overflow:hidden;
      background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.30), rgba(255,255,255,0) 55%),
        linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 10px 22px rgba(0,0,0,.22);
    }
    .holo:before{
      content:""; position:absolute;inset:-40%;
      background: conic-gradient(from 180deg,
        rgba(255,255,255,0),
        rgba(255,255,255,.22),
        rgba(255,255,255,0),
        rgba(255,255,255,.14),
        rgba(255,255,255,0)
      );
      animation:holoSpin 3.6s linear infinite;
      opacity:.85;mix-blend-mode:screen;
    }
    .holo:after{
      content:"AKF"; position:absolute;inset:0; display:grid;place-items:center;
      font-size:11px;font-weight:800;letter-spacing:1px;
      color:rgba(255,255,255,.88);
      text-shadow:0 1px 12px rgba(255,255,255,.28);
    }
    @keyframes holoSpin{to{transform:rotate(360deg)}}

    .bodyx{padding:14px}
    .rowx{display:flex;gap:14px;align-items:center}

    .photoRing{
      width:78px;aspect-ratio:3/4;border-radius:13px;
      background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.05));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
      display:grid;place-items:center;flex:0 0 78px;
    }
    .photo{
      width:72px;aspect-ratio:3/4;border-radius:11px;
      overflow:hidden;display:grid;place-items:center;
      background:rgba(255,255,255,.08);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    }
    .photo img{width:100%;height:100%;object-fit:cover;display:block}
    .photoViewButton{
      position:relative;padding:0;border:0;color:inherit;cursor:zoom-in;
      transition:transform .16s ease, box-shadow .16s ease;
    }
    .photoViewButton:hover{transform:scale(1.025);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 9px 24px rgba(0,0,0,.24)}
    .photoViewButton:focus-visible{outline:2px solid rgba(255,255,255,.96);outline-offset:4px}
    .photoZoomMark{
      position:absolute;right:5px;bottom:5px;display:grid;place-items:center;
      width:22px;height:22px;border-radius:8px;color:#fff;
      background:rgba(3,9,18,.76);box-shadow:0 5px 14px rgba(0,0,0,.28);
      pointer-events:none;
    }
    .photoZoomMark svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
    .ini{font-weight:900;letter-spacing:.8px;opacity:.92;font-size:14px}

    .name{margin:0;font-size:18px;font-weight:750;letter-spacing:.2px}
    .sub{margin:6px 0 0;color:var(--muted);font-size:13px}

    .pillRow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .pill{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;
      background:rgba(255,255,255,.06);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
      font-size:12.5px;color:rgba(255,255,255,.90);
      opacity:.95;
    }
    .pill svg{width:16px;height:16px;stroke:#fff;stroke-width:1.25;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.95}

    .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
    @media(max-width:840px){.rowx{flex-direction:column;align-items:stretch}.photoRing{margin:0 auto}.grid2{grid-template-columns:1fr}}

    .panel{
      border-radius:18px;
      background:rgba(255,255,255,.04);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
      padding:12px;
    }
    .ptitle{margin:0 0 10px;font-weight:650;font-size:13.5px;letter-spacing:.2px;color:rgba(255,255,255,.92)}
    .kv{display:grid;grid-template-columns:180px 1fr;gap:10px;padding:7px 0;border-top:1px solid rgba(255,255,255,.08)}
    .kv:first-of-type{border-top:0}
    .k{color:rgba(255,255,255,.70);font-size:12.5px;display:flex;align-items:flex-start;gap:8px}
    .v{color:rgba(255,255,255,.92);font-size:12.5px;min-width:0}

    .v a{color:#fff;text-decoration:none;opacity:.9}
    .v a:hover{opacity:1;text-decoration:underline}

    .lines{display:grid;gap:6px}
    .line{
      display:flex;gap:8px;align-items:flex-start;
      white-space:normal;word-break:break-word;overflow-wrap:anywhere;
      line-height:1.6;
    }
    .line .ico{flex:0 0 auto;margin-top:2px;opacity:.95}
    .line .txt{flex:1 1 auto;min-width:0}
    .addressGrid{grid-template-columns:minmax(0,1fr);padding-top:2px}
    .addressValue,.addressLines{width:100%;min-width:0}
    .addressLines{gap:8px}
    .addressLine{
      display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;
      width:100%;gap:9px;padding:8px 10px;border-radius:12px;
      color:rgba(255,255,255,.92);background:rgba(255,255,255,.035);
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.075);
      direction:ltr;text-align:left;
    }
    .addressLine .ico{display:grid;place-items:center;width:22px;height:22px;margin:0;color:inherit}
    .addressLine .ico svg{width:18px;height:18px;display:block}
    .addressLine .txt{width:100%;line-height:1.55;overflow-wrap:anywhere}

    .photoLightbox[hidden]{display:none !important}
    .photoLightbox{
      position:fixed;z-index:2100;inset:0;display:grid;place-items:center;
      padding:clamp(18px,4vw,42px);background:rgba(2,7,14,.88);
      backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    }
    .photoLightbox figure{
      display:grid;gap:10px;justify-items:center;max-width:min(92vw,760px);margin:0;
    }
    .photoLightbox img{
      display:block;max-width:100%;max-height:82vh;width:auto;height:auto;
      border-radius:18px;background:#eef3f7;
      box-shadow:0 26px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.16);
    }
    .photoLightbox figcaption{color:#fff;font-size:13px;font-weight:700;text-align:center}
    .photoLightboxClose{
      position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));
      display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.24);
      border-radius:14px;color:#fff;background:rgba(8,18,31,.84);cursor:pointer;
    }
    .photoLightboxClose:hover{background:rgba(20,40,62,.96)}
    .photoLightboxClose:focus-visible{outline:2px solid #fff;outline-offset:3px}
    .photoLightboxClose svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
    body.photoLightboxOpen{overflow:hidden}

    /* ✅ ACTIONS (back moved here) */
    .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .abtn{
      display:inline-flex;align-items:center;gap:8px;
      padding:8px 10px;border-radius:14px;
      background:rgba(255,255,255,.06);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 26px rgba(0,0,0,.18);
      color:#fff;text-decoration:none;opacity:.92;
      font:inherit;font-size:12.5px;user-select:none;
      border:0;cursor:pointer;
      transition:.16s ease;
    }
    .abtn:hover{opacity:1;transform:translateY(-1px)}
    .abtn svg{width:18px;height:18px;flex:0 0 18px}
    .abtn:focus-visible{outline:2px solid rgba(255,255,255,.95);outline-offset:3px}
    .abtn-back{
      padding:8px 13px 8px 9px;
      border:1px solid rgba(255,255,255,.24);
      background:linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.13), 0 12px 26px rgba(0,0,0,.22);
      font-weight:750;
      opacity:1;
    }
    .abtn-back svg{
      width:20px;height:20px;flex-basis:20px;
      padding:2px;border-radius:50%;
      background:rgba(255,255,255,.10);
      transition:transform .16s ease, background .16s ease;
    }
    .abtn-back:hover{background:linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.10))}
    .abtn-back:hover svg{transform:translateX(-2px);background:rgba(255,255,255,.16)}

    .toastx{
      position:fixed;left:50%;bottom:16px;transform:translateX(-50%);
      background:rgba(0,0,0,.70);
      color:#fff;padding:10px 12px;border-radius:14px;
      box-shadow:0 18px 46px rgba(0,0,0,.35);
      opacity:0;pointer-events:none;
      transition:opacity .18s ease, transform .18s ease;
      font-size:12.5px;
    }
    .toastx.show{opacity:1;transform:translateX(-50%) translateY(-2px)}

    @media print{
      .topbar, .actions, header, footer, .toastx, .photoLightbox{display:none !important}
      body{background:#fff !important;color:#000 !important}
      .cardx{box-shadow:none !important;backdrop-filter:none !important}
      .band, .foot{background:#fff !important;box-shadow:none !important}
      .panel{background:#fff !important;box-shadow:none !important;border:1px solid #e7e7e7}
      .k{color:#333 !important}
      .v{color:#111 !important}
      .sub{color:#222 !important}
    }

    .foot{padding:12px 14px;background:rgba(0,0,0,.14);box-shadow: inset 0 1px 0 rgba(255,255,255,.10)}
