
:root{
 font-family:Arial,Helvetica,sans-serif;
 color:#e8eef8;background:#0f1724;-webkit-text-size-adjust:100%;
}
*{box-sizing:border-box}body{margin:0;background:#0f1724}
button,input,textarea{font:inherit}
.container{width:min(1040px,calc(100% - 28px));margin:26px auto 50px}
.hero{display:flex;justify-content:space-between;gap:20px;padding:26px;border-radius:18px;
background:linear-gradient(135deg,#111827,#1d4ed8);color:#fff;margin-bottom:18px}
.hero p{color:#dbe7ff}.eyebrow{color:#9fc2ff;text-transform:uppercase;font-size:13px}
.privacy{background:rgba(255,255,255,.1);padding:9px 12px;border-radius:999px}
.card{background:#182232;border:1px solid #2b3b55;border-radius:16px;padding:22px;margin-top:16px;
box-shadow:0 8px 30px rgba(0,0,0,.35)}
.card h2{margin:0 0 10px;color:#fff}
.hint,summary,.check,footer{color:#b7c5da}
.upload-box input{position:absolute;opacity:0}
.upload-box label{display:flex;flex-direction:column;align-items:center;justify-content:center;
min-height:145px;border:2px dashed #4a648a;border-radius:14px;cursor:pointer;background:#121c2b}
.upload-box label:hover{border-color:#60a5fa;background:#152235}
.preview-area{margin-top:18px;background:#090d14;padding:10px;border-radius:12px;overflow:auto;max-height:500px}
#documentCanvas{display:block;max-width:100%;margin:auto;background:#fff}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
button{border:0;border-radius:10px;padding:12px 17px;font-weight:700;cursor:pointer}
.primary{background:#2563eb;color:#fff}.secondary{background:#2b3b55;color:#e8eef8}
button:disabled{opacity:.45}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid label{font-weight:700;color:#dfe8f5}
.grid input,textarea{width:100%;margin-top:6px;padding:12px;border-radius:9px;
border:1px solid #3b4d68;background:#101926;color:#f4f8ff}
.grid input:focus,textarea:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.18)}
.status{margin-top:18px;padding:14px;border-radius:12px;background:#101926}
.progress-track{height:10px;background:#2b3b55;border-radius:999px;overflow:hidden}
.progress-bar{height:100%;width:0;background:#3b82f6}
.profile-result{display:flex;gap:18px;align-items:center;margin-top:18px}
.profile-result img{width:130px;height:130px;border-radius:50%;border:4px solid #2b3b55}
.hidden{display:none!important}
dialog{background:#182232;color:#fff;border:1px solid #2b3b55;border-radius:16px}
dialog::backdrop{background:rgba(0,0,0,.75)}
.crop-shell{padding:18px}.crop-stage{height:min(66vh,600px);background:#090d14;margin-top:14px}
code{background:#101926;color:#9fc2ff;padding:2px 5px;border-radius:4px}
@media(max-width:680px){.grid{grid-template-columns:1fr}.hero{flex-direction:column}.container{width:min(100% - 16px,1040px)}}
