:root{--ink: #0f172a;--muted: #475569;--on-dark-muted: #b6c6dc;--accent: #2563eb;--accent-strong: #1d4ed8;--success: #16a34a;--danger: #dc2626;--surface: #ffffff;--radius: 1.1rem;--page-bg: #0b2240;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%}body{color:var(--ink);background-color:var(--page-bg);background-image:radial-gradient(60rem 40rem at 10% -10%,rgba(56,189,248,.35),transparent 60%),radial-gradient(50rem 40rem at 110% 10%,rgba(37,99,235,.45),transparent 60%),radial-gradient(40rem 30rem at 50% 120%,rgba(20,184,166,.3),transparent 60%),linear-gradient(160deg,#0b2240,#0f2a4a 55%,#0b1f3a);background-attachment:fixed;line-height:1.5;-webkit-font-smoothing:antialiased}@supports (-webkit-touch-callout: none){body{background-attachment:scroll}}h1,h2,h3{line-height:1.2}a{color:inherit}:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.page-title{margin:.5rem 0 1.25rem;color:#fff}.page-title h1{margin:0;font-size:clamp(1.4rem,2.5vw,2rem)}.page-title p{margin:.4rem 0 0;color:var(--on-dark-muted)}.panel{border-radius:var(--radius);background:var(--surface);box-shadow:0 20px 50px #020c1b59}.glass{color:#fff;border-radius:var(--radius);background:#ffffff1a;border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.glass{background:#143256eb}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.9rem;padding:.65rem 1.2rem;border:1px solid transparent;border-radius:.8rem;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:background-color .2s,border-color .2s,box-shadow .2s,opacity .2s}.btn:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--accent),#3b82f6);box-shadow:0 8px 22px #2563eb59}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--accent-strong),var(--accent))}.btn-success{color:#fff;background:linear-gradient(135deg,#15803d,var(--success));box-shadow:0 8px 22px #16a34a59}.btn-ghost{color:var(--ink);background:#fff;border-color:#cbd5e1}.btn-ghost:hover:not(:disabled){background:#f1f5f9}.btn-glass{color:#fff;background:#ffffff1a;border-color:#ffffff4d}.btn-glass:hover:not(:disabled){background:#ffffff2e}.btn-block{width:100%}.spinner{width:1.1rem;height:1.1rem;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert{display:flex;gap:.65rem;align-items:flex-start;padding:.85rem 1rem;border-radius:.9rem;font-size:.93rem;border:1px solid transparent}.alert svg{flex:none;margin-top:.1rem}.alert-error{color:#7f1d1d;background:#fef2f2;border-color:#fecaca}.alert-info{color:#1e3a8a;background:#eff6ff;border-color:#bfdbfe}.alert-warning{color:#713f12;background:#fefce8;border-color:#fde68a}.alert-success{color:#14532d;background:#f0fdf4;border-color:#bbf7d0}.field{display:flex;flex-direction:column;gap:.35rem}.field label{font-weight:600;font-size:.92rem}.field .hint{font-size:.8rem;color:var(--muted)}.input{width:100%;min-height:3rem;padding:.7rem .9rem;border:1px solid #cbd5e1;border-radius:.75rem;background:#fff;color:var(--ink);font:inherit;font-size:16px}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb33;outline:none}.input[aria-invalid=true]{border-color:var(--danger)}.esign-widget{position:absolute;z-index:30;container-type:size;border:2px dashed var(--accent);border-radius:6px;background:#eff6ffe0;color:#1e3a8a;box-shadow:0 6px 18px #0f2a4a40;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;transition:box-shadow .15s,background-color .15s}.esign-widget:hover,.esign-widget:focus-visible{background:#dbeafef0;box-shadow:0 0 0 4px #2563eb40,0 8px 22px #0f2a4a4d;outline:none}.esign-widget.dragging{cursor:grabbing;border-style:solid;box-shadow:0 0 0 4px #2563eb4d,0 14px 30px #0f2a4a59}.esign-widget .esign-widget-body{display:flex;flex-direction:column;justify-content:center;gap:4cqh;height:100%;padding:8cqh 10cqh;overflow:hidden}.esign-widget .esign-widget-icon{width:22cqh;height:22cqh}.esign-widget .esign-widget-title{font-size:15cqh;font-weight:800;line-height:1.1}.esign-widget .esign-widget-meta{font-size:11cqh;line-height:1.2;opacity:.85}.esign-widget .esign-widget-grip{position:absolute;right:-.7rem;bottom:-.7rem;display:grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--accent);color:#fff;box-shadow:0 2px 6px #0000004d}.esign-placing .page{cursor:crosshair}.esign-placing #toolbarSidebarLeft{display:none}@media(max-width:1023px){html:has(app-document-page .actions){scroll-padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
