:root {
  color-scheme: light;
  --ink: #352b28;
  --muted: #62544f;
  --accent: #a64418;
  --link: #944014;
  --line: #ebd6c5;
  --paper: #fffcf8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(140deg, #fff9f1, #ffe5c9 53%, #faf8f5);
  color: var(--ink);
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
}
button, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #af5128; outline-offset: 3px; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
.shell { width: min(1040px, 100%); margin: auto; padding: 18px clamp(14px, 3vw, 36px) 36px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top a, .guide a { font-weight: 650; }
.top select {
  max-width: 55%; padding: 8px 12px;
  border: 1px solid #dfc8b7; border-radius: 12px;
  background: #fff; color: inherit;
}
.hero { padding: clamp(24px, 5vw, 60px) 0 26px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 700; }
.hero p { max-width: 720px; margin-top: 12px; color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.main-column { min-width: 0; }
.panel { min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 32px #894b2011; }
h2 { font-size: 1.28rem; line-height: 1.35; font-weight: 700; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 6px; }
.field-label { font-size: .88rem; font-weight: 650; }
#key-count { color: #887368; font-size: .76rem; font-variant-numeric: tabular-nums; }
#key-count.over-limit { color: #913b2b; }
#session-key { display: block; width: 100%; min-height: 173px; resize: vertical; padding: 11px 12px; border: 1px solid #bba99c; border-radius: 9px; background: #fff; color: var(--ink); }
#session-key::placeholder { color: #827970; opacity: 1; }
#session-key[aria-invalid="true"] { border-color: #b54a37; }
.storage-note { margin-top: 12px; font-size: .9rem; line-height: 1.5; color: #624d40; }
.primary { display: block; width: 100%; margin-top: 15px; padding: 11px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--accent); font-weight: 700; transition: background .15s; }
.primary:hover { background: #913812; }
.primary:disabled { opacity: .72; cursor: wait; }
.clear-results { display: block; margin: 8px auto 0; padding: 6px 12px; border: 0; background: transparent; color: #873c15; text-decoration: underline; text-underline-offset: 3px; }
.clear-results:disabled { color: #71665e; text-decoration: none; }
.notice { margin-top: 12px; padding: 10px 13px; border-radius: 8px; color: #70491f; background: #fff0d9; font-size: .9rem; overflow-wrap: anywhere; }
.notice.error { color: #913b2b; background: #fff0eb; }
.notice.success { color: #345e45; background: #ecf5ed; }
.guide ol { padding: 0; margin: 16px 0; list-style: none; counter-reset: guide; }
.guide li { counter-increment: guide; position: relative; padding-left: 35px; margin: 14px 0; overflow-wrap: anywhere; }
.guide li::before { content: counter(guide, decimal-leading-zero); position: absolute; top: 2px; left: 0; padding: 1px 5px; border-radius: 6px; background: #fae2cf; color: #843d1b; font-size: .74rem; font-weight: 700; }
.step-title { font-weight: 650; }
.guide li p { margin-top: 3px; font-size: .9rem; color: var(--muted); }
.guide-preview { display: block; width: 100%; padding: 8px; border: 1px solid #e6cfba; border-radius: 10px; background: #fff; color: #873c15; text-align: start; cursor: zoom-in; }
.guide-preview:hover { border-color: #b68c70; }
.guide-preview img { display: block; width: 100%; height: auto; }
.guide-preview span { display: block; padding-top: 6px; font-size: .9rem; font-weight: 650; }
.results { margin-top: 20px; scroll-margin-top: 16px; }
.results-link { display: inline-block; margin-top: 12px; font-size: .9rem; }
.results-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.plan { display: inline-block; padding: 4px 11px; border-radius: 20px; background: #fae6d4; color: #743b20; font-size: .78rem; font-weight: 500; }
.account-result { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ead6c4; }
.account-result h3 { margin-bottom: 12px; font-size: 1rem; }
.account-summary { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .93rem; }
.account-summary th, .account-summary td { padding: 8px 10px; text-align: start; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid #efdfd2; }
.account-summary th { width: clamp(6.3rem, 35%, 11rem); color: #705d53; background: #fbf1e7; font-weight: 600; }
.uid { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.uid code { font-size: .82rem; }
.copy-id { padding: 2px 0; border: 0; background: transparent; color: var(--link); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.status { font-size: .82rem; display: inline-block; padding: 3px 9px; border-radius: 20px; }
.status.ok { color: #34634a; background: #eaf3e9; }
.status.warn { color: #81511c; background: #fff0d9; }
.status.error { color: #913b2b; background: #ffede8; }
.preview-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: #7e685b; font-size: .78rem; }
.preview-footer button { border: 0; padding: 3px 0; margin-left: auto; background: transparent; color: var(--link); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #bd8c62; }
dialog { width: min(1120px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #39221633; }
dialog::backdrop { background: #2d221e88; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.icon-button { border: 0; background: transparent; color: #806657; font-size: 28px; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.icon-button:hover { background: #fae6d4; }
.dialog-description { margin: 8px 0 16px; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.guide-viewport { max-height: 65dvh; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.guide-viewport img { display: block; width: 100%; height: auto; }
.guide-viewport img.original { width: 1863px; max-width: none; }
.dialog-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; }
.secondary { padding: 7px 14px; border: 1px solid #dfc8b7; border-radius: 8px; background: #fff; color: #873c15; font-weight: 600; font-size: .9rem; }
.secondary:hover { background: #fff3e6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 700px) {
  .layout { grid-template-columns: 1fr; gap: 12px; }
  .results { margin-top: 12px; }
  .preview-footer { gap: 6px; }
  .preview-footer button { margin-left: 14px; }
  dialog { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Independent GPTishka theme: local assets, no storefront scripts or imports. */
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{color-scheme:dark;--ink:#f3f5f7;--muted:#b5bec9;--accent:#35d7a0;--link:#86e4cd;--line:#3e464f;--paper:#232930}
body{background:#191d22;font:15px/1.65 Manrope,system-ui,sans-serif}a:hover{color:#c4f6e9}:focus-visible{outline:2px solid #a7eee5;outline-offset:4px}
.skip-link{position:fixed;left:20px;top:10px;z-index:100;padding:10px 16px;background:var(--accent);color:#112820;border-radius:8px;transform:translateY(-150%)}.skip-link:focus{transform:none}
.site-header{width:min(1400px,calc(100% - 64px));min-height:82px;margin:auto;display:flex;align-items:center;gap:22px;border-bottom:1px solid #ffffff0b}.brand{display:inline-flex;align-items:center;flex:none}.brand img{width:164px;height:auto;display:block;filter:brightness(0) invert(1)}.product-pill{padding:7px 12px;border:1px solid var(--line);border-radius:100px;color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap}.site-nav{display:flex;align-items:center;gap:24px;margin-left:auto}.site-nav a{color:#c6ccd3;font-size:13px;font-weight:650;text-decoration:none}.site-nav a:hover{color:#fff}#language{max-width:140px;border:1px solid var(--line);border-radius:10px;background:#232930;color:var(--ink);padding:8px 12px;font-size:13px;cursor:pointer}
.shell{width:min(1180px,calc(100% - 48px));padding:28px 0 32px}.hero{padding:0 0 30px}.hero .breadcrumb{display:flex;align-items:center;gap:12px;margin:0 0 23px;color:#9da7b2;font-size:13px}.breadcrumb a{color:#9da7b2;text-decoration:none}h1{display:flex;align-items:center;gap:14px;font-size:clamp(28px,3.6vw,44px);font-weight:750;letter-spacing:-.045em;line-height:1.2}h1 img{flex:none;width:44px;height:44px}.hero>p:not(.breadcrumb){max-width:760px;margin-top:12px;font-size:16px}.trust-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:19px;font-size:12px;color:#a8b6b1}.trust-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.trust-divider{margin:0 4px;color:#64716f}
.layout{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:22px}.panel{padding:28px;border-radius:18px;box-shadow:none}.panel-heading,.results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}h2{font-size:21px;line-height:1.4;font-weight:750;letter-spacing:-.02em}.plan{padding:4px 10px;border:1px solid #426252;background:#234236;color:#a1e8cd;font-size:11px;font-weight:650}
.field-heading{margin:24px 0 9px}.field-label{font-size:13px}#key-count{font-size:12px;color:#a5afb9}#key-count.over-limit{color:#ffb6a1}#session-key{min-height:185px;padding:14px 15px;border-color:#505964;border-radius:11px;background:#191e24;color:var(--ink);font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}#session-key::placeholder{color:#87939f;font:13px/1.8 Manrope,system-ui,sans-serif}#session-key:hover{border-color:#78838d}#session-key[aria-invalid=true]{border-color:#e0927b}#session-key:disabled{opacity:.7}.storage-note{font-size:12px;line-height:1.7;color:#a9b3be}
.primary{min-height:49px;margin-top:22px;border:1px solid var(--accent);border-radius:10px;background:var(--accent);color:#112e24;font-size:14px;font-weight:800}.primary:hover{background:#60e4b8;border-color:#60e4b8}.primary:disabled{opacity:.6}.clear-results{font-size:12px;color:#b5c2c1}.clear-results:disabled{color:#87929b}
.notice{margin-top:16px;padding:12px 14px;border:1px solid #665444;border-radius:10px;background:#39312a;color:#f2d7b4;font-size:12px}.notice.error{border-color:#704c45;background:#3b2e2d;color:#ffbda9}.notice.success{border-color:#3d6754;background:#243b30;color:#b6eed2}
.guide ol{margin:22px 0}.guide li{padding-left:37px;margin:19px 0}.guide li::before{top:1px;width:25px;height:25px;display:grid;place-items:center;border:1px solid #4b5d5a;border-radius:7px;background:#2a3935;color:#9bdbc5;font-size:10px;font-weight:800}.step-title{font-size:13px;font-weight:750}.guide a{color:var(--link)}.guide li p{margin-top:5px;font-size:12px;line-height:1.8}.guide-preview{padding:7px;border-color:var(--line);background:#1b2026;color:#b9d6ce}.guide-preview:hover{border-color:#7b9c92}.guide-preview img{border-radius:5px}.guide-preview span{padding:8px 4px 4px;font-size:12px}
.results-link{font-size:12px}.account-result{margin-top:24px;padding-top:22px;border-top-color:var(--line)}.account-result h3{font-size:16px;font-weight:750;margin-bottom:14px}.account-summary{font-size:12px}.account-summary th,.account-summary td{padding:10px 12px;border-bottom-color:#3a424c}.account-summary th{width:37%;color:#b6c0cb;font-weight:550;background:#1e242b}.account-summary td{color:#ebeff3}.status{padding:3px 9px;border-radius:6px;font-size:11px;line-height:1.6}.status.ok{color:#abe9ca;background:#284b39}.status.warn{color:#f4d2a6;background:#4b3d2c}.status.error{color:#ffbda9;background:#573b34}.status.neutral{color:#c2cbd5;background:#35404a}
.organization{padding:16px;margin-top:15px;border:1px solid #46505a;border-radius:12px;background:#1e242b}.organization h4{font-size:13px;margin-bottom:13px}.org-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.org-data dt{color:#a6b3bf;font-size:11px;margin-bottom:3px}.org-data dd{font-size:12px;overflow-wrap:anywhere}.org-data .wide{grid-column:1/-1}.uid code{font-size:12px}.copy-id{color:var(--link);font-size:11px}.kyc-link{display:inline-block;margin-top:8px;color:var(--link);font-size:11px}.partial-note{margin:12px 0 0;font-size:11px;color:#e4c49b}
.check-progress{display:flex;align-items:center;gap:9px;margin-top:18px;font-size:12px;color:#a9e6ce}.spinner{width:15px;height:15px;border:2px solid #4b6b5e;border-top-color:#8ce6c3;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.resume-button{margin-top:12px}
.preview-footer{justify-content:space-between;border-top:1px solid #ffffff0b;margin-top:30px;padding-top:21px;color:#9eabb6;font-size:11px}.preview-footer>span{max-width:740px}.preview-footer button{color:#a4c9bc;font-size:11px}
dialog{border-color:#5a656f;box-shadow:none}dialog::backdrop{background:#05090dde;backdrop-filter:blur(4px)}.icon-button{color:#b5bec9}.icon-button:hover{background:#36414c}.dialog-description{font-size:12px}.secondary{border-color:#5a6872;background:#2c353e;color:#d3e2dd;font-size:12px}.secondary:hover{background:#36434d}
@media(max-width:900px){.site-header{width:calc(100% - 36px);gap:14px}.site-nav{gap:14px}.product-pill{display:none}.shell{width:calc(100% - 36px)}.layout{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px}.panel{padding:22px}h2{font-size:19px}}
@media(max-width:700px){.site-header{min-height:72px;flex-wrap:wrap;gap:12px;padding:12px 0}.brand img{width:143px}.site-nav{display:none}#language{margin-left:auto}.shell{padding-top:23px}.hero{padding-bottom:23px}.hero .breadcrumb{margin-bottom:19px}h1{font-size:clamp(27px,7vw,36px);gap:10px}h1 img{width:32px;height:32px}.hero>p:not(.breadcrumb){font-size:14px}.trust-line{font-size:10px;gap:7px}.trust-divider{margin:0}.layout{grid-template-columns:1fr;gap:16px}.panel{padding:20px}.field-heading{margin-top:22px}.guide li{margin:18px 0}.org-data{gap:14px 12px}.organization{padding:13px}.account-summary th{width:40%;padding-left:9px}.account-summary td{padding-right:8px}.preview-footer{margin-top:24px}dialog{padding:18px}}
@media(max-width:370px){.shell{width:calc(100% - 24px)}.panel{padding:17px}.org-data{grid-template-columns:1fr}.org-data .wide{grid-column:auto}.panel-heading .plan{font-size:10px}h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-color:#8ce6c3}}
/* Optional normal-browser KYC reader, isolated from the main website. */
.browser-connection { margin: 1.1rem 0 1.3rem; padding: 1rem; border: 1px solid var(--line, #3e464f); border-radius: 12px; background: #1d2329; }
.browser-connection strong { font-size: .9rem; }
.browser-connection p { margin: .45rem 0; font-size: .82rem; }
.browser-connection a { display: inline-block; margin-top: .4rem; margin-right: .8rem; font-size: .8rem; color: #68e4bd; }
.browser-connection .browser-connected { color: #68e4bd; }
.setup-shell { max-width: 850px; margin: 3rem auto; padding: 0 1.2rem; }
.setup-shell h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.setup-shell li { margin: .9rem 0; line-height: 1.65; }
.setup-shell code { overflow-wrap: anywhere; }
