:root{color:#17202a;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17202a;--muted:#64727d;--line:#dce4e7;--navy:#173f55;--teal:#137b76;--teal-dark:#0c625e;--soft:#e8f3f1;--danger:#a63838;--white:#fff;background:#f4f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #c8d3d7;border-radius:8px;outline:none;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #137b7622}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.03em;font:600 clamp(2rem,4vw,3.25rem)/1.06 Georgia,serif}h2{font:600 1.65rem/1.15 Georgia,serif}.button{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:10px 16px;font-weight:650;display:inline-flex}.button.primary{background:var(--teal);color:#fff}.button.primary:hover{background:var(--teal-dark)}.button.secondary{color:var(--navy);background:#fff;border-color:#b9c8cd}.button.danger{color:var(--danger);background:#fff;border-color:#e2b8b8}.button.success{color:#fff;background:#28724e}.button.ghost{padding:7px 11px}.button.wide{width:100%;margin-top:12px}.link-button,.back{color:var(--teal-dark);text-underline-offset:3px;background:0 0;border:0;padding:4px;text-decoration:underline}.centered{margin:12px auto 0;display:block}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--teal-dark);font-size:.74rem;font-weight:800}.alert{background:#edf3f5;border-radius:8px;margin:12px 0;padding:12px 15px}.alert.error{color:#8d2929;background:#faeaea}.loading{min-height:180px;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.spinner{border:2px solid #c3d4d5;border-top-color:var(--teal);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.shell{min-height:100vh}.app-header{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:68px;padding:0 max(22px,50vw - 610px);display:flex;position:sticky;top:0}.brand{color:var(--navy);background:0 0;border:0;align-items:center;gap:12px;font-size:1.05rem;font-weight:750;display:flex}.brand-logo{object-fit:contain;width:96px;height:auto;display:block}.brand-title{white-space:nowrap}.brand.large{font-size:1.15rem}.brand.large .brand-logo{width:124px}.header-user{color:var(--muted);align-items:center;gap:16px;font-size:.88rem;display:flex}.admin-switch{background:var(--soft);color:var(--teal-dark);border:0;border-radius:20px;padding:7px 12px}.app-main{width:min(1180px,100% - 32px);margin:0 auto;padding:54px 0 90px}.global-alert{width:min(1180px,100% - 32px);margin:16px auto}.welcome{margin-bottom:45px}.welcome h1{margin-bottom:10px}.welcome>p:last-child{color:var(--muted);font-size:1.05rem}.section-title{align-items:center;gap:10px;margin-bottom:16px;display:flex}.section-title h2{margin:0}.section-title span{color:var(--muted);background:#e2e9eb;border-radius:20px;padding:2px 9px}.template-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.template-card{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:auto 1fr;gap:18px;padding:25px;display:grid;box-shadow:0 4px 20px #1837470a}.template-card .button{grid-column:2;justify-self:start}.template-card h3,.questionnaire-card h3{margin:0 0 7px}.template-card p,.questionnaire-card p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.5}.country-mark{color:#fff;border-radius:9px;place-items:center;width:46px;height:46px;font-weight:800;display:grid}.country-mark.usa{background:#244f71}.country-mark.poland{background:#9e3150}.list-section{margin-top:48px}.cards{flex-direction:column;gap:10px;display:flex}.questionnaire-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:auto minmax(220px,1fr) auto auto;align-items:center;gap:18px;padding:18px;display:grid}.card-main{justify-content:space-between;align-items:center;gap:20px;display:flex}.card-progress{color:var(--muted);align-items:center;gap:8px;font-size:.8rem;display:flex}.card-progress>div{background:#e4eaec;border-radius:9px;width:110px;height:6px;overflow:hidden}.card-progress i,.progress-track i{background:var(--teal);height:100%;display:block}.status,.review-state{white-space:nowrap;background:#e7ecee;border-radius:20px;padding:6px 10px;font-size:.75rem;font-weight:750}.status.accepted,.review-state.accepted{color:#28623f;background:#e4f2e9}.status.changes_requested,.review-state.needs_changes{color:#963b36;background:#f9e6e4}.status.submitted,.status.in_review{color:#365c82;background:#e5eef8}.card-actions{gap:5px;display:flex}.icon-button{background:0 0;border:0;font-size:1.5rem}.empty{text-align:center;color:var(--muted);background:#fff;border:1px dashed #bdc9cd;border-radius:10px;padding:35px}.auth-page{background:#eef4f4;grid-template-columns:1.15fr .85fr;min-height:100vh;display:grid}.auth-copy{background:radial-gradient(circle at 20% 90%,#cae1de 0,#0000 35%);flex-direction:column;justify-content:center;padding:8vh max(7vw,30px);display:flex}.auth-copy .brand{position:absolute;top:34px}.auth-copy h1{color:var(--navy);margin:14px 0 22px;font-size:clamp(2.8rem,5vw,5rem)}.auth-copy>p:not(.eyebrow){color:#536773;max-width:670px;font-size:1.1rem;line-height:1.65}.trust{color:#38515c;flex-wrap:wrap;gap:18px;margin-top:40px;font-size:.87rem;display:flex}.auth-panel{background:#fff;place-items:center;padding:28px;display:grid}.auth-card{width:min(400px,100%)}.auth-card h2{margin-bottom:10px;font-size:2rem}.auth-card>p:not(.eyebrow){color:var(--muted);margin-bottom:25px;line-height:1.55}.auth-card .field-label{margin-top:16px}.otp{letter-spacing:.35em;text-align:center;font-size:1.5rem}.field-label{color:#2c3d45;margin-bottom:7px;font-weight:700;display:block}.required{color:#a54141}.hint{color:var(--muted);margin:-2px 0 8px;font-size:.84rem;line-height:1.45}.unit{color:var(--muted);margin-left:8px;font-size:.85rem}.na{color:#53646c;align-items:center;gap:7px;margin-top:9px;font-size:.86rem;display:flex}.na input,.choice input,.consent input{width:auto}.field{margin-bottom:23px}.field-error input,.field-error select,.field-error textarea{border-color:#b94c4c}.error-text{color:#a02c2c;margin:6px 0 0;font-size:.82rem}.choice-row,.choice-grid{flex-wrap:wrap;gap:10px;display:flex}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.choice{border:1px solid var(--line);border-radius:7px;align-items:flex-start;gap:8px;padding:9px 11px;display:flex}.consent{background:#f1f6f6;border-radius:8px;align-items:flex-start;gap:10px;padding:14px;line-height:1.5;display:flex}.group-row{border:1px solid var(--line);border-radius:9px;margin:10px 0;padding:20px}.group-row legend{padding:0 6px;font-weight:750}.group-list>.button{margin-top:7px}.month-year-control{grid-template-columns:minmax(0,1fr) minmax(120px,.55fr);gap:10px;display:grid}@media (width<=560px){.month-year-control{grid-template-columns:1fr}}.editor-top{justify-content:space-between;margin-bottom:25px;display:flex}.save-state{color:var(--muted);font-size:.82rem}.save-state.error{color:var(--danger)}.editor-heading{justify-content:space-between;align-items:flex-end;gap:25px;display:flex}.admin-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.editor-heading h1{margin:4px 0 5px;font-size:2.5rem}.total-progress{text-align:right}.total-progress strong{color:var(--teal-dark);font:600 2.2rem Georgia,serif;display:block}.total-progress span{color:var(--muted);font-size:.8rem}.progress-track{background:#dfe7e8;border-radius:10px;height:7px;margin:18px 0 35px;overflow:hidden}.editor-layout{grid-template-columns:265px minmax(0,1fr);align-items:start;gap:25px;display:grid}.section-nav{flex-direction:column;max-height:calc(100vh - 115px);display:flex;position:sticky;top:92px;overflow:auto}.section-nav button{text-align:left;color:#50616a;background:0 0;border:0;border-left:3px solid #0000;padding:10px 10px 10px 13px}.section-nav button span{font-size:.84rem;display:block}.section-nav button small{color:#819097;font-size:.7rem}.section-nav button.active{border-left-color:var(--teal);color:var(--navy);background:#e7f0ef;font-weight:700}.form-card,.admin-review-section{border:1px solid var(--line);background:#fff;border-radius:11px;padding:clamp(20px,4vw,42px)}.section-heading{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;margin-bottom:28px;padding-bottom:20px;display:flex}.section-heading h2{margin:3px 0 7px}.section-heading p:last-child{color:var(--muted);margin:0}.section-heading>span{color:var(--teal-dark);font-weight:750}.review-note{color:#743b3b;background:#f6eded}.section-actions{border-top:1px solid var(--line);justify-content:space-between;margin-top:32px;padding-top:20px;display:flex}.sticky-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.review-section{margin:0 0 28px}.review-title{justify-content:space-between;align-items:center;gap:20px;display:flex}.review-title h2,.review-title h3{margin:0 0 10px}.answer-line{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #edf1f2;grid-template-columns:minmax(180px,.8fr) 1.2fr;gap:18px;padding:9px 0;font-size:.88rem;display:grid}.answer-line>span:first-child{color:var(--muted)}.answer-line.invalid{background:#fff0ef;margin:0 -8px;padding:9px 8px}.missing{color:#a03d37;font-style:italic}.review-group{padding:7px 0}.review-group>div{margin-top:4px}.review-comment{color:#8a3935;background:#f9e9e7;border-radius:6px;padding:9px}.filters{grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin:0 0 22px;display:grid}.admin-table-wrap{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:auto}.admin-table{border-collapse:collapse;width:100%;min-width:850px}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid var(--line);padding:13px 15px;font-size:.84rem}.admin-table th{color:var(--muted);background:#f0f4f5}.admin-table td small{color:var(--muted);margin-top:3px;display:block}.admin-detail>.editor-heading{margin:20px 0 30px}.admin-review-section{margin-bottom:16px;padding:28px}.review-controls{border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.review-controls>div{justify-content:flex-end;gap:9px;margin-top:9px;display:flex}.review-answers{margin-top:8px}@media (width<=800px){.app-header{align-items:flex-start;height:auto;min-height:62px;padding:10px 16px}.header-user{flex-wrap:wrap;justify-content:flex-end;gap:8px}.header-user>span{display:none}.app-main{padding-top:32px}.template-grid{grid-template-columns:1fr}.questionnaire-card{grid-template-columns:auto 1fr}.questionnaire-card>.status,.questionnaire-card>.card-actions{grid-column:2}.card-main{display:block}.card-progress{margin-top:12px}.editor-layout{grid-template-columns:1fr}.section-nav{flex-direction:row;padding-bottom:5px;display:flex;position:static;overflow:auto}.section-nav button{border-bottom:3px solid #0000;border-left:0;min-width:165px}.section-nav button.active{border-bottom-color:var(--teal)}.form-card{padding:20px 16px}.choice-grid{grid-template-columns:1fr}.answer-line{grid-template-columns:1fr;gap:3px}.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}.auth-page{grid-template-columns:1fr}.auth-copy{display:none}.auth-panel{min-height:100vh}.editor-heading{flex-direction:column;align-items:flex-start}.total-progress{text-align:left}.sticky-actions{background:#f4f7f8;padding:10px 0;position:sticky;bottom:0}.admin-review-section{padding:20px 15px}.review-controls>div{flex-direction:column}.review-controls .button{width:100%}}@media (width<=480px){.app-header .brand-title{display:none}.app-header .brand-logo{width:88px}}.signature-pad{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.signature-pad.disabled{background:#f7f8f8}.signature-canvas{cursor:crosshair;touch-action:none;background:#fff;width:100%;height:180px;display:block}.signature-pad.disabled .signature-canvas{cursor:default}.signature-actions{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:.8rem;display:flex}.signature-actions .button{padding:7px 12px}.signature-preview{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;max-width:320px;max-height:140px;padding:8px;display:block}.answer-line.correction-target{background:#fff6e8;border-left:3px solid #d9822b;padding-left:10px}.review-answers .answer-line:has(>input){grid-template-columns:24px minmax(180px,.8fr) 1.2fr}.answer-line>input[type=checkbox]{width:18px;height:18px;accent-color:var(--danger);margin:0}.correction-target-field{background:#fffaf3;border:2px solid #d9822b;border-radius:10px;padding:14px}.review-note ul{margin:8px 0 14px;padding-left:20px}.resend-email{margin-top:12px}@media (width<=800px){.review-answers .answer-line:has(>input){grid-template-columns:24px 1fr}.review-answers .answer-line:has(>input)>:last-child{grid-column:2}}.questionnaire-summary{border:1px solid var(--line);background:#fff;border-radius:11px;justify-content:space-between;align-items:center;gap:24px;margin:24px 0;padding:22px 24px;display:flex}.questionnaire-summary h2{margin:3px 0 6px}.questionnaire-summary p{color:var(--muted);margin:0}.questionnaire-summary .button{flex:none}.questionnaire-collapse-action{justify-content:flex-end;margin:18px 0 12px;display:flex}@media (width<=800px){.questionnaire-summary{flex-direction:column;align-items:stretch}.questionnaire-summary .button,.questionnaire-collapse-action .button{width:100%}}.documents-card{border:1px solid var(--line);background:#fff;border-radius:11px;margin:25px 0 0;padding:clamp(20px,4vw,42px)}.document-progress-copy{font-weight:700;color:var(--navy)!important;margin-top:10px!important}.document-progress-track{margin:-12px 0 24px}.document-table-head,.document-row{grid-template-columns:minmax(220px,1.4fr) 120px 120px minmax(230px,1fr);align-items:center;gap:14px;display:grid}.document-table-head{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:0 16px 9px;font-size:.72rem;font-weight:750}.document-list{gap:8px;display:grid}.document-row{border:1px solid var(--line);background:#fbfcfc;border-radius:10px;padding:14px 16px}.document-row.complete{border-color:#c8dcda}.document-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.document-copy>span{color:var(--muted);font-size:.82rem}.document-status{border-radius:999px;width:max-content;padding:5px 9px;font-size:.76rem;font-weight:750;display:inline-flex}.document-status.pending{color:#8a6200;background:#fff2cf}.document-status.uploaded{color:#197261;background:#e8f5f2}.document-status.accepted{color:#175f91;background:#e7f3ff}.document-status.needs_changes{color:#9a3f36;background:#fae8e6}.document-required{font-size:.78rem;font-weight:750}.document-required.mandatory{color:#b43b4d}.document-required.optional{color:#3577a3}.document-comment{color:#743b3b;background:#fff6e8;border-left:3px solid #d9822b;margin:6px 0 0;padding:8px 10px;font-size:.82rem}.document-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.document-upload{cursor:pointer;position:relative;overflow:hidden}.document-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.document-generated{color:var(--teal-dark);font-size:.82rem;font-weight:700}.document-review{gap:7px;width:100%;display:grid}.document-review textarea{resize:vertical;min-height:62px}.document-review>div{justify-content:flex-end;gap:7px;display:flex}@media (width<=800px){.documents-card{padding:20px 16px}.document-table-head{display:none}.document-row{grid-template-columns:1fr;align-items:start}.document-actions{justify-content:flex-start;width:100%}.document-actions>.button,.document-upload{text-align:center;flex:1}.document-review>div{flex-direction:column}.document-review .button{width:100%}}.correction-overview{background:#fff8ec;border:1px solid #e3b66f;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(240px,.55fr);align-items:start;gap:24px;margin:-12px 0 26px;padding:22px 24px;display:grid}.correction-overview h2{margin:3px 0 7px;font-size:1.55rem}.correction-overview p:last-child{color:#6f5739;max-width:720px;margin:0}.correction-links{gap:8px;display:grid}.correction-links button{text-align:left;color:var(--navy);cursor:pointer;background:#fff;border:1px solid #d9c6a8;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-weight:700;display:flex}.correction-links button.active{border-color:#bf721f;box-shadow:0 0 0 2px #bf721f1f}.correction-links button span{color:#7d4c17;background:#f4dfbd;border-radius:99px;place-items:center;min-width:24px;height:24px;font-size:.75rem;display:inline-grid}.section-correction-note{margin-bottom:18px}.field-correction-comment{color:#743b3b;border-bottom:1px solid #edd6b8;flex-direction:column;gap:3px;margin:-2px 0 12px;padding-bottom:10px;display:flex}.field-correction-comment strong{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem}.field-correction-comment span{font-size:.92rem}.correction-submit{background:#f1f8f7;border:1px solid #c8dcda;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:18px;display:flex}.correction-submit>div{flex-direction:column;gap:3px;display:flex}.correction-submit span{color:var(--muted);font-size:.82rem}.correction-submit .correction-submit-error{color:var(--danger);margin-top:5px;font-weight:700}.correction-submit .button{flex:none}@media (width<=800px){.correction-overview{grid-template-columns:1fr;padding:18px 16px}.correction-submit{flex-direction:column;align-items:stretch}.correction-submit .button{width:100%}}
