:root{--color-primary:#07395b;--color-primary-hover:#052d49;--color-page:#fff;--color-surface:#eaf4ff;--color-surface-soft:#f5f9fd;--color-surface-blue:#dceaff;--color-control-border:#d6e0ea;--color-border:#c7d9ed;--color-text-primary:#002f50;--color-text-secondary:#4c6a82;--color-warning:#c96c00;--radius-card:11px;--shadow-card:0 16px 44px #133e5e1c}*{box-sizing:border-box}body{background:var(--color-page);color:var(--color-text-primary);margin:0;font-family:Inter,Segoe UI,Arial,sans-serif}button,input{font:inherit}.site-header{background:var(--color-page);border-top:3px solid #edf3f7;border-bottom:1px solid #dce3e9;height:78px}.site-header__inner{align-items:center;width:min(1234px,100% - 48px);height:100%;margin:0 auto;display:flex}.brand-logo{object-fit:contain;width:auto;max-width:100%;height:61px;display:block}.page-shell{width:100%;max-width:760px;margin:0 auto;padding:24px 20px 48px}.app-card{border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);overflow:hidden}.patient-header{background:#dbe8ff;border-bottom:1px solid #bdd4ef;align-items:center;gap:16px;min-height:91px;padding:20px 32px;display:flex}.patient-avatar{background:var(--color-primary);color:#fff;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;font-size:13px;font-weight:800;display:grid}.patient-summary{flex:1;min-width:0}.patient-summary>strong{overflow-wrap:anywhere;margin-bottom:8px;font-size:16px;display:block}.patient-meta{flex-wrap:wrap;gap:8px;display:flex}.patient-meta>span{color:#174c70;background:#fff;border-radius:14px;align-items:center;gap:6px;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.2;display:inline-flex}.patient-meta>span .anticon{vertical-align:0;margin:0;font-size:12px}.questionnaire{padding:30px 32px 34px}.page-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.page-header h1{margin:0;font-size:21px;line-height:1.25}.eyebrow{color:#ea9000;letter-spacing:1.25px;margin:0 0 11px;font-size:11px;font-weight:800}.subtitle{max-width:540px;color:var(--color-text-secondary);margin:8px 0 0;font-size:13px;line-height:1.5}.question-count{color:#718ba4;flex:none;padding-bottom:3px;font-size:11px;font-weight:700}.progress{z-index:2;background:var(--color-surface);margin-bottom:20px;padding:10px 0;position:sticky;top:0}.progress__meta{color:var(--color-text-secondary);justify-content:space-between;margin-bottom:6px;font-size:13px;display:flex}.progress__track{background:var(--color-surface-blue);border-radius:999px;height:6px;overflow:hidden}.progress__bar{border-radius:inherit;background:var(--color-primary);height:100%;transition:width .3s}.questions{gap:14px;margin-top:16px;display:grid}.question{background:#ffffff8c;border:1px solid #c7d9edb3;border-radius:10px;min-width:0;margin:0;padding:18px 20px 20px;box-shadow:0 2px 8px #133e5e0a}.question legend{float:left;width:100%;padding:0;font-size:14px;font-weight:600;line-height:1.45}.question legend+.choice-group{clear:both;margin-top:0;padding-top:14px}.choice-group{flex-wrap:wrap;gap:8px;display:flex}.choice{background:var(--color-page);cursor:pointer;border:1px solid #d7e0e8;border-radius:8px;align-items:center;gap:9px;min-width:95px;padding:9px 13px;font-size:12px;font-weight:600;display:flex;position:relative;box-shadow:0 2px 5px #24476212}.choice input{width:13px;height:13px;accent-color:var(--color-primary);margin:0}.choice:has(input:checked){background:#f7fbff;border-color:#769dbb;box-shadow:0 0 0 1px #07395b1a}.choice:has(input:disabled){opacity:.5;cursor:not-allowed}.choice--mode{padding:9px 14px}.choice--mode input{opacity:0;pointer-events:none;position:absolute}.choice--mode:has(input:focus-visible){outline:2px solid var(--color-primary);outline-offset:2px}.choice__icon{flex:none;font-size:18px}.choice__icon--email{color:#ea4335}.choice__icon--sms{color:#1677ff}.choice__icon--whatsapp{color:#25d366}.field-error{color:var(--color-warning);margin-top:7px;font-size:12px}.communication{border-top:1px solid #cbdced;margin-top:28px;padding-top:24px}.communication h2{margin:0 0 13px;font-size:15px}.mode-row{flex-wrap:wrap;gap:9px;display:flex}.receiver{color:var(--color-text-secondary);overflow-wrap:anywhere;margin:12px 0 0;font-size:12px}.actions{border-top:1px solid #cbdced;justify-content:flex-end;gap:10px;margin-top:27px;padding-top:20px;display:flex}.app-button{cursor:pointer;border:1px solid #0000;border-radius:7px;min-height:39px;padding:9px 17px;font-size:12px;font-weight:700}.app-button .anticon{vertical-align:-2px;margin-right:6px;font-size:14px}.app-button:disabled{opacity:.55;cursor:not-allowed}.app-button--primary{background:var(--color-primary);color:#fff}.app-button--primary:hover:not(:disabled){background:var(--color-primary-hover)}.app-button--secondary{background:var(--color-page);color:var(--color-text-primary);border-color:#cfdae4}.app-alert{color:#825000;background:#fff9eb;border:1px solid #f0cf93;border-radius:8px;margin:16px 0;padding:12px 14px;font-size:13px}.empty{color:var(--color-text-secondary);text-align:center;padding:45px 16px}.empty h1{color:var(--color-text-primary)}.status-message{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 16px 24px;display:flex}.status-message h2{margin:0;font-size:21px}.status-message p{max-width:420px;color:var(--color-text-secondary);margin:0 0 12px;font-size:14px;line-height:1.5}.status-icon{color:#fff;background:#2e8b22;border-radius:50%;place-items:center;width:96px;height:96px;margin-bottom:12px;font-size:56px;animation:.5s cubic-bezier(.34,1.56,.64,1) both icon-pop;display:grid;position:relative;box-shadow:0 0 28px #2e8b2273}.status-icon:after{content:"";opacity:0;border-radius:50%;animation:1.1s ease-out .55s both icon-pulse;position:absolute;inset:0;box-shadow:0 0 #2e8b22}.status-icon>*{animation:.35s ease-out .3s both icon-check}.spinner{border:3px solid var(--color-surface-blue);border-top-color:var(--color-primary);border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.spinner--sm{border-width:2px;width:16px;height:16px}.skeleton-list{gap:18px;padding-top:6px;display:grid}.skeleton-heading{color:var(--color-text-secondary);align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.skeleton-heading p{margin:0}.skeleton-question{border:1px solid var(--color-control-border);background:var(--color-page);border-radius:10px;gap:14px;padding:16px;display:flex}.skeleton-question__body{flex:1;gap:10px;min-width:0;display:grid}.skeleton-circle,.skeleton-line,.skeleton-pill{background:linear-gradient(90deg, var(--color-surface-blue) 25%, var(--color-surface-soft) 50%, var(--color-surface-blue) 75%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer;display:block}.skeleton-circle{border-radius:50%;flex:none;width:28px;height:28px}.skeleton-line{border-radius:6px;height:14px}.skeleton-options{gap:8px;margin-top:4px;display:flex}.skeleton-pill{border-radius:8px;width:110px;height:34px}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0}.drawer-backdrop{z-index:100;background:#0f172a73;justify-content:flex-end;display:flex}.document-drawer{background:var(--color-page);flex-direction:column;width:min(720px,100%);height:100%;animation:.25s ease-out drawer-in;display:flex;box-shadow:-8px 0 24px #0f172a33}.document-drawer__header{border-bottom:1px solid #e3e7ee;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.document-drawer__header h2{margin:0;font-size:1.1rem}.document-drawer__close{cursor:pointer;background:0 0;border:0;font-size:1.8rem;line-height:1}.document-drawer__body{flex:1;min-height:0;position:relative}.document-drawer__body>.document-drawer__frame{border:0;width:100%;height:100%;display:block}.document-drawer .document-skeleton{background:var(--color-surface-blue);flex-direction:column;align-items:center;gap:14px;padding:20px;display:flex;position:absolute;inset:0;overflow:hidden}.document-drawer .document-skeleton__label{color:var(--color-text-secondary);margin:0;font-size:14px}.document-drawer .document-skeleton__page{background:var(--color-page);border-radius:6px;flex-direction:column;gap:12px;width:min(560px,100%);padding:28px;display:flex;box-shadow:0 4px 18px #0f172a1f}.document-drawer__status{background:var(--color-page);color:var(--color-text-secondary);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:0}.modal-backdrop{z-index:1000;background:#001f3594;place-items:center;padding:20px;display:grid}.signing-confirmation{background:var(--color-page);text-align:center;border-radius:12px;width:min(440px,100%);padding:28px;box-shadow:0 22px 65px #001d3147}.signing-confirmation .status-icon{margin:0 auto 15px}.signing-confirmation h2{margin:0 0 8px;font-size:17px}.signing-confirmation p{color:var(--color-text-secondary);margin:0;font-size:14px;line-height:1.55}.confirmation-actions{justify-content:center;gap:10px;margin-top:22px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}@keyframes icon-pop{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes icon-check{0%{opacity:0;transform:scale(.4)rotate(-12deg)}to{opacity:1;transform:none}}@keyframes icon-pulse{0%{opacity:.35;box-shadow:0 0 #2e8b22}to{opacity:0;box-shadow:0 0 0 16px #2e8b22}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media (prefers-reduced-motion:reduce){.skeleton-circle,.skeleton-line,.skeleton-pill,.document-drawer,.status-icon,.status-icon:after,.status-icon>*{animation:none}}@media (width<=900px){.questionnaire,.patient-header{padding-inline:24px}}@media (width<=640px){.site-header{height:68px}.site-header__inner{width:calc(100% - 32px)}.brand-logo{height:51px}.page-shell{padding:16px 10px 30px}.patient-header{padding:17px 18px}.questionnaire{padding:24px 18px 26px}.page-header{flex-direction:column;align-items:flex-start;gap:6px}.question{padding:16px}.choice,.choice--mode{flex:90px}.skeleton-pill{flex:1;width:auto}.actions,.confirmation-actions{flex-direction:column-reverse}.actions .app-button,.confirmation-actions .app-button{width:100%}.document-drawer__header{padding:12px 16px}}
