:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f6f8;color:#1f2933}a{color:#1d4ed8;text-decoration:none}a:hover{text-decoration:underline}button{border:1px solid #d0d7de;background:#fff;padding:8px 12px;border-radius:8px;cursor:pointer}button:hover{background:#f3f4f6}button:disabled{cursor:not-allowed;opacity:.6}.primary-button{border-color:#2563eb;background:#2563eb;color:#fff}.primary-button:hover{background:#1d4ed8}.danger-button{border-color:#dc2626;background:#dc2626;color:#fff}.danger-button:hover{background:#b91c1c}input,select,textarea{border:1px solid #d0d7de;border-radius:8px;padding:8px 10px;font:inherit}.login-page{min-height:100vh;display:grid;place-items:center;background:#eef2f7}.login-card{width:360px;background:#fff;padding:24px;border-radius:14px;box-shadow:0 12px 30px #0f172a1f;display:grid;gap:14px}.login-card label{display:grid;gap:6px}.admin-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr}.sidebar{background:#111827;color:#fff;padding:20px}.brand{color:#fff;font-weight:700;display:block;margin-bottom:28px}.nav{display:grid;gap:8px}.nav a{color:#cbd5e1;padding:10px 12px;border-radius:8px}.nav a.active,.nav a:hover{background:#1f2937;color:#fff;text-decoration:none}.main-area{min-width:0}.topbar{height:64px;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.role-badge{margin-left:10px;font-size:12px;background:#eef2ff;color:#3730a3;padding:3px 8px;border-radius:999px}.content{padding:24px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin-bottom:18px}.panel-header,.actions-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.filters-bar{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;display:flex;gap:12px;margin-bottom:18px}.filters-bar input{min-width:320px}.data-table{width:100%;border-collapse:collapse;background:#fff}.data-table th,.data-table td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left;vertical-align:top}.data-table th{font-size:13px;color:#64748b;font-weight:600}.status-badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:12px;background:#e5e7eb;color:#374151}.status-waiting_admin_document_review{background:#fef3c7;color:#92400e}.status-documents_validated{background:#dcfce7;color:#166534}.status-error,.status-rejected{background:#fee2e2;color:#991b1b}.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.details-grid dt{color:#64748b;font-size:13px}.details-grid dd{margin:4px 0 0;font-weight:500}.detail-header{display:flex;justify-content:space-between;gap:16px}.timeline{list-style:none;padding:0;margin:0;display:grid;gap:12px}.timeline li{border-left:3px solid #dbeafe;padding-left:12px}.timeline-date{color:#64748b;font-size:13px}.timeline-body p{margin:4px 0 0}.simple-list{display:grid;gap:8px;padding-left:18px}.error{color:#b91c1c}.form-grid{display:grid;gap:14px}.form-grid label{display:grid;gap:6px}.form-grid textarea{min-height:90px;resize:vertical}.inline-field{display:flex!important;align-items:center;gap:8px}.nested-panel{margin-top:10px;background:#f8fafc}.question-card{border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:14px;display:grid;gap:12px;margin-top:12px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.participant-form{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) auto auto;gap:8px;margin-bottom:16px;align-items:end}.participant-form input,.participant-form select{min-width:0}@media (max-width: 1100px){.participant-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.answer-checkboxes{display:grid;gap:8px;padding:10px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}.answer-checkboxes>span{font-weight:600;color:#334155}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172aa6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:modal-backdrop-in .14s ease-out}.modal{width:min(1100px,100%);max-height:90vh;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0f172a59}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0}.modal-header p{margin:4px 0 0;color:#64748b}.action-modal{width:min(460px,100%);padding:0;border:1px solid rgba(148,163,184,.28);animation:action-modal-in .18s ease-out}.action-modal-header{display:grid;grid-template-columns:44px minmax(0,1fr) 32px;gap:14px;align-items:start;padding:22px 22px 12px}.action-modal-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;background:#e0f2fe;color:#0369a1;font-size:22px;font-weight:800}.action-modal-danger .action-modal-icon{background:#fee2e2;color:#b91c1c}.action-modal-copy h2{margin:1px 0 6px;color:#0f172a;font-size:1.1rem}.action-modal-copy p{margin:0;color:#64748b;line-height:1.5}.action-modal-close{display:grid;width:32px;height:32px;padding:0;place-items:center;border:0;border-radius:9px;background:transparent;color:#64748b;font-size:22px}.action-modal-close:hover{background:#f1f5f9;color:#0f172a}.action-modal-field{display:grid;gap:8px;padding:18px 20px 0}.action-modal-field span{color:#334155;font-weight:600}.action-modal-field textarea{min-height:110px;resize:vertical}.action-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 20px 20px;border-top:1px solid #f1f5f9;background:#f8fafc}.workflow-blocking-reason{margin:12px 0 16px;padding:10px 12px;border-left:3px solid #f59e0b;border-radius:8px;background:#fffbeb;color:#92400e;font-size:.92rem}@keyframes modal-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes action-modal-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.document-preview-modal{display:flex;flex-direction:column;width:min(1200px,100%);height:90vh}.document-preview-body{display:flex;flex:1;min-height:0;background:#1f2937}.pdf-viewer{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}.pdf-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;border-bottom:1px solid #374151;background:#111827;color:#f9fafb}.pdf-viewer-actions{display:flex;align-items:center;gap:8px}.pdf-viewer-scroll{flex:1;min-height:0;overflow:auto;padding:24px}.react-pdf__Document{display:flex;flex-direction:column;align-items:center;gap:20px}.react-pdf__Page{background:#fff;box-shadow:0 12px 32px #00000059}.react-pdf__Page canvas{display:block;max-width:100%;height:auto!important}.timeline{position:relative;display:flex;flex-direction:column;gap:18px;margin-top:18px;padding-left:28px}.timeline:before{content:"";position:absolute;top:8px;bottom:8px;left:8px;width:2px;background:#e2e8f0}.timeline-item{position:relative;display:flex;gap:14px}.timeline-marker{position:absolute;left:-25px;top:7px;width:14px;height:14px;border:3px solid #2563eb;border-radius:999px;background:#fff;box-shadow:0 0 0 4px #eff6ff}.timeline-content{width:100%;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.timeline-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.timeline-header strong{color:#0f172a;font-size:.98rem;font-weight:700}.timeline-header span{flex-shrink:0;color:#64748b;font-size:.85rem;white-space:nowrap}.timeline-content p{margin:0 0 10px;color:#334155;line-height:1.45}.timeline-metadata{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 16px;margin:0;padding-top:10px;border-top:1px solid #f1f5f9}.timeline-metadata div{min-width:0}.timeline-metadata dt{margin-bottom:3px;color:#64748b;font-size:.78rem;font-weight:600}.timeline-metadata dd{margin:0;color:#0f172a;font-size:.92rem;font-weight:500;word-break:break-word}.email-preview-modal{display:flex;flex-direction:column;width:min(1000px,100%);max-height:90vh}.email-preview-content{flex:1;min-height:0;overflow:auto;padding:20px}.email-attachments{margin-top:18px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.email-attachments h3{margin:0 0 10px}.email-attachments ul{margin:0;padding-left:20px}.email-body-preview{margin-top:18px}.email-body-preview h3{margin-bottom:10px}.email-html-preview{padding:18px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#0f172a;line-height:1.5}.overdue-card,.overdue-row{background:#fff1f2}.overdue-card{border-color:#fda4af}.archive-notice{padding:12px 16px;border:1px solid #94a3b8;border-radius:10px;background:#f1f5f9}.participant-editor{padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.create-submission-modal{display:flex;flex-direction:column;width:min(900px,100%);max-height:92vh}.create-submission-body{flex:1;min-height:0;overflow-y:auto;padding:20px}.create-submission-body .nested-panel{margin:0;padding:16px;border:1px solid #e2e8f0;border-radius:12px}.create-submission-body h3{margin:0}.create-submission-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e5e7eb;background:#fff}@media (max-width: 720px){.create-submission-modal .form-row{grid-template-columns:1fr}}.workflow-steps{display:grid;gap:10px;margin-top:16px}.workflow-step{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.workflow-step-number{display:grid;width:34px;height:34px;place-items:center;border-radius:999px;background:#cbd5e1;color:#0f172a;font-weight:700}.workflow-step-content{display:grid;gap:3px}.workflow-step-content span{color:#64748b;font-size:13px}.workflow-step-current{border-color:#60a5fa;background:#eff6ff}.workflow-step-current .workflow-step-number{background:#2563eb;color:#fff}.workflow-step-validated{border-color:#86efac;background:#f0fdf4}.workflow-step-validated .workflow-step-number{background:#16a34a;color:#fff}.workflow-step-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.success-notice{padding:12px 16px;border:1px solid #86efac;border-radius:10px;background:#f0fdf4;color:#166534}
