:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#193322;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--brand-green:#166534;--brand-aqua:#ccfbf1;--brand-aqua-strong:#0f766e;--surface:#fff;--border:#bed9ca;--danger:#9f1239;background:#f4faf6;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f4faf6;min-width:320px;min-height:100%}body{min-width:320px;min-height:100svh;margin:0}button,input{font:inherit}.shell{width:min(100% - 2rem,30rem);padding-bottom:max(1rem, env(safe-area-inset-bottom));margin:1rem auto}.brand{color:var(--brand-green);align-items:center;gap:.7rem;margin:0 0 1.5rem .25rem;font-size:1.25rem;font-weight:750;display:flex}.brand-mark{aspect-ratio:1;background:var(--brand-green);width:2.25rem;color:var(--surface);border-radius:.75rem;place-items:center;display:grid}.panel{border:1px solid var(--border);background:var(--surface);border-radius:1rem;padding:clamp(1.25rem,5vw,2rem)}h1{color:var(--brand-green);margin:0 0 .5rem;font-size:clamp(1.5rem,7vw,2rem)}.screen-heading:focus{outline:3px solid var(--brand-aqua-strong);outline-offset:3px}.panel>p{margin:.5rem 0 1.5rem}form{gap:.65rem;display:grid}label{margin-top:.35rem;font-weight:650}input{color:#193322;background:#fff;border:1px solid #537662;border-radius:.5rem;width:100%;min-height:2.9rem;padding:.65rem .75rem}input:focus-visible,button:focus-visible{outline:3px solid var(--brand-aqua-strong);outline-offset:2px}button{background:var(--brand-green);color:#fff;cursor:pointer;border:0;border-radius:.55rem;min-height:3rem;margin-top:.75rem;padding:.65rem 1rem;font-weight:700}button:disabled{cursor:wait;opacity:.7}.secondary-button{background:var(--brand-aqua);color:var(--brand-green)}.role{background:var(--brand-aqua);width:fit-content;color:var(--brand-green);border-radius:999px;padding:.4rem .7rem}.error{border-left:.25rem solid var(--danger);color:var(--danger);background:#fff1f2;margin:1rem 0;padding:.75rem}.success{border-left:.25rem solid var(--brand-green);color:var(--brand-green);background:#ecfdf5;margin:1rem 0;padding:.75rem}select{color:#193322;background:#fff;border:1px solid #537662;border-radius:.5rem;width:100%;min-height:2.9rem;padding:.65rem .75rem}.link-button{width:100%;color:var(--brand-green);background:0 0;text-decoration:underline;display:block}textarea{color:#193322;width:100%;min-height:2.9rem;font:inherit;resize:vertical;background:#fff;border:1px solid #537662;border-radius:.5rem;padding:.65rem .75rem}textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand-aqua-strong);outline-offset:2px}.filters{margin:1rem 0}.intervention-list{gap:1rem;margin:1.25rem 0 0;padding:0;list-style:none;display:grid}.intervention-list li{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:.75rem;padding:1rem}.intervention-list h2{color:var(--brand-green);margin:0 0 .75rem;font-size:1.15rem}.intervention-list p{margin:.4rem 0}.detail-panel{width:100%}.detail-panel h2{color:var(--brand-green);margin-top:1.5rem}.documents-section>p{margin:.5rem 0}.document-list{gap:.45rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.document-row{border:1px solid var(--border);border-radius:.55rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:2.75rem;padding:.4rem .5rem;display:grid}.document-row-info{align-items:center;gap:.45rem;min-width:0;display:flex}.document-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.88rem;font-weight:650;overflow:hidden}.document-status{border-radius:999px;flex:none;padding:.15rem .35rem;font-size:.7rem;line-height:1.2}.document-status.is-signed{color:var(--brand-green);background:#ecfdf5}.document-status.is-pending{color:#9a3412;background:#fff7ed}.document-row-actions{align-items:center;gap:.3rem;display:flex}.small-action-button{background:var(--brand-aqua);min-height:2rem;color:var(--brand-green);text-align:center;white-space:nowrap;cursor:pointer;border:0;border-radius:.4rem;justify-content:center;align-items:center;margin:0;padding:.3rem .45rem;font-size:.75rem;font-weight:700;line-height:1.2;text-decoration:none;display:inline-flex}.small-action-button:hover{background:#99f6e4}.small-action-button:disabled{cursor:not-allowed;opacity:.6}.signing-panel{width:100%}.signing-panel h2{color:var(--brand-green);margin:1rem 0 .6rem;font-size:1.1rem}.document-preview{border:1px solid var(--border);background:#f8faf9;border-radius:.5rem;width:100%;height:min(65vh,52rem);min-height:24rem;display:block}.signature-section{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1rem}.signature-section>p{margin:.4rem 0 1rem}.signature-section label{display:block}.signature-section canvas{max-width:100%;display:block}.signature-section .secondary-button{min-height:2.5rem;margin-top:.5rem}.detail-actions{grid-template-columns:1fr;display:grid}.assignment-form{border:1px solid var(--border);background:#f4faf6;border-radius:.75rem;margin:1rem 0 1.5rem;padding:1rem}.admin-recovery-form{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.attachment-list{overflow-wrap:anywhere;gap:.75rem;padding-left:1.25rem;display:grid}.attachment-list li{padding:.5rem 0}.upload-progress{gap:.4rem;margin-top:.75rem;display:grid}.upload-progress p{color:var(--brand-green);margin:0;font-weight:650}.upload-progress progress{width:100%;min-height:.75rem;accent-color:var(--brand-green)}.audit-history{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1rem}.audit-history-list{gap:.75rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.audit-history-entry{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:.65rem;padding:.85rem}.audit-history-entry h3{color:var(--brand-green);margin:0 0 .5rem;font-size:1rem}.audit-history-entry p{margin:.35rem 0}.danger-button{background:#9f1239;min-height:2.5rem}@media (width>=40rem){.shell{margin:clamp(2rem,8vh,5rem) auto}.shell:has(.detail-panel){width:min(100% - 2rem,44rem)}.shell:has(.signing-panel){width:min(100% - 2rem,60rem)}.detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
