.person-document-modal [hidden]{display:none!important}.person-document-modal{align-items:center;background:rgba(5,27,40,.72);display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1400}.person-document-modal__dialog{background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(2,24,37,.28);color:#173447;display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 40px);max-width:940px;overflow:hidden;width:100%}.person-document-modal__header{align-items:flex-start;border-bottom:1px solid #dce7ec;display:flex;justify-content:space-between;padding:24px 28px 18px}.person-document-modal__header p,.person-document-modal__header h2{margin:0}.person-document-modal__header p{color:#39718d;font-size:.75rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.person-document-modal__header h2{font-size:1.65rem;line-height:1.2;margin-top:3px}.person-document-modal__header span{color:#58717e;display:block;margin-top:5px}.person-document-modal__header button{background:transparent;border:0;border-radius:10px;font-size:1.8rem;min-height:44px;min-width:44px}.person-document-modal__body{overflow:auto;padding:18px 28px 28px;scrollbar-color:#aac0ca transparent;scrollbar-gutter:stable}.person-document-modal__status{color:#58717e;margin:0 0 14px}.person-document-modal__status:empty{display:none}.person-document-modal__status[data-tone=error]{color:#a32626;font-weight:700}.person-document-modal__components{align-items:center;display:flex;gap:6px;margin-bottom:12px}.person-document-modal__components button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:8px 10px}.person-document-modal__components button[aria-current=true]{border-bottom-color:#197da3;color:#126b8e}.person-document-modal__photo{margin-bottom:25px}.person-document-modal__photo-toolbar{align-items:end;display:flex;gap:16px;justify-content:space-between;margin-bottom:10px}.person-document-modal__tabs{display:flex;gap:22px}.person-document-modal__tabs button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:#58717e;font-weight:750;min-height:42px;padding:8px 1px 7px}.person-document-modal__tabs button[aria-selected=true]{border-bottom-color:#197da3;color:#173447}.person-document-modal__tabs button:disabled{color:#9babb2;cursor:not-allowed}.person-document-modal__text-action{background:transparent!important;color:#197da3!important;padding-inline:4px!important}.person-document-modal__preview{background:#092131;border-radius:16px;display:grid;height:clamp(310px,52vh,560px);overflow:hidden;place-items:center;position:relative}.person-document-modal__preview img,.person-document-modal__preview iframe{border:0;display:block;height:100%;max-width:100%;object-fit:contain;width:100%}.person-document-modal__expand{align-items:center!important;background:rgba(7,34,49,.82)!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:10px!important;color:#fff!important;display:flex!important;height:44px;inset:14px 14px auto auto;min-height:44px!important;min-width:44px!important;padding:10px!important;position:absolute;z-index:2}.person-document-modal__expand svg{fill:none;height:22px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:22px}.person-document-modal__expand span{background:#092131;border-radius:7px;font-size:.75rem;opacity:0;padding:5px 8px;pointer-events:none;position:absolute;right:0;top:calc(100% + 6px);white-space:nowrap}.person-document-modal__expand:hover span,.person-document-modal__expand:focus-visible span{opacity:1}.person-document-modal__fields{border-top:1px solid #dce7ec;padding-top:20px}.person-document-modal__fields+ .person-document-modal__fields{margin-top:22px}.person-document-modal__fields h3,.person-document-modal__additional summary{font-size:1.05rem;font-weight:780;margin:0 0 13px}.person-document-modal__fields dl,.person-document-modal__additional dl{display:grid;gap:0;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.person-document-modal__fields dl>div,.person-document-modal__additional dl>div{border-bottom:1px solid #e5edf1;min-width:0;padding:11px 18px 11px 0}.person-document-modal dt{color:#58717e;font-size:.82rem;font-weight:700;margin-bottom:3px}.person-document-modal dd{font-size:1rem;margin:0;overflow-wrap:anywhere}.person-document-modal dd span{background:#fff3d7;border-radius:999px;color:#7c5200;display:inline-block;font-size:.72rem;font-weight:750;margin-left:5px;padding:3px 7px}.person-document-modal__additional{border-top:1px solid #dce7ec;margin-top:22px;padding-top:18px}.person-document-modal__additional summary{cursor:pointer}.person-document-modal__additional>p{color:#58717e}.person-document-modal__footer{background:#fff;border-top:1px solid #dce7ec;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;padding:16px 28px}.person-document-modal button,.person-document-modal__button{align-items:center;background:#edf4f7;border:0;border-radius:10px;box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-weight:700;justify-content:center;min-height:44px;padding:10px 16px}.person-document-modal button:hover,.person-document-modal__button:hover{background:#dfecef}.person-document-modal button:focus-visible,.person-document-modal__button:focus-within,.person-document-modal summary:focus-visible{outline:3px solid rgba(25,125,163,.35);outline-offset:2px}.person-document-modal .primary{background:#197da3;color:#fff}.person-document-modal .danger{color:#9d2424}.person-document-modal__panel-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.person-document-modal form{display:grid;gap:12px}.person-document-modal form label{display:grid;font-weight:700;gap:6px}.person-document-modal input,.person-document-modal select{border:1px solid #abc5d2;border-radius:11px;box-sizing:border-box;font:inherit;min-height:44px;padding:9px 11px;width:100%}.person-document-modal__warning{background:#fff4db;border-radius:12px;padding:12px}.person-document-modal__share{align-items:center;border-top:1px solid #dce7ec;display:flex;gap:12px;justify-content:space-between;padding:12px 0}
.person-document-viewer{align-items:center;background:rgba(3,15,23,.92);display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:20}.person-document-viewer__panel{color:#fff;display:grid;gap:12px;grid-template-rows:auto minmax(0,1fr) auto;height:min(900px,calc(100dvh - 48px));max-width:1400px;width:min(96vw,1400px)}.person-document-viewer__panel>header,.person-document-viewer__panel>footer{align-items:center;display:flex;gap:9px}.person-document-viewer__panel>header{justify-content:space-between}.person-document-viewer__panel>footer{justify-content:center}.person-document-viewer button{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:9px;color:#fff;min-height:40px;padding:8px 13px}.person-document-viewer button:focus-visible{outline:3px solid #77c7e4;outline-offset:2px}.person-document-viewer output{color:#dbe8ed;font-variant-numeric:tabular-nums;min-width:52px;text-align:center}.person-document-viewer__stage{display:grid;overflow:hidden;place-items:center;touch-action:none}.person-document-viewer__stage img{height:100%;max-width:100%;object-fit:contain;transform-origin:center;width:100%;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.person-document-crop{align-items:center;background:rgba(3,15,23,.9);display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:21}.person-document-crop__panel{background:#fff;border-radius:18px;box-sizing:border-box;max-height:calc(100dvh - 48px);max-width:1000px;overflow:auto;padding:22px;width:min(96vw,1000px)}.person-document-crop__panel header p,.person-document-crop__panel header h3{margin:0}.person-document-crop__panel header p{color:#39718d;font-size:.75rem;font-weight:750;text-transform:uppercase}.person-document-crop__stage{background:#092131;margin:18px auto;max-height:62vh;max-width:100%;overflow:hidden;position:relative;touch-action:none;user-select:none;-webkit-touch-callout:none;-webkit-user-select:none}.person-document-crop__stage canvas,.person-document-crop__stage svg{height:100%;inset:0;position:absolute;width:100%}.person-document-crop__stage canvas{object-fit:contain;position:relative}.person-document-crop__stage polygon{fill:rgba(25,125,163,.14);stroke:#77d5f4;stroke-width:.65;vector-effect:non-scaling-stroke}.person-document-crop__stage [data-document-crop-handle]{background:#fff;border:4px solid #197da3;border-radius:50%;height:34px;margin:-17px 0 0 -17px;min-height:34px;min-width:34px;padding:0;position:absolute;width:34px;z-index:3}.person-document-crop__stage [data-document-crop-handle]:focus-visible{outline:4px solid rgba(119,213,244,.7);outline-offset:3px}.person-document-crop__loupe{background-color:#092131;background-repeat:no-repeat;border:3px solid #fff;border-radius:18px;box-shadow:0 8px 30px rgba(0,0,0,.38);height:142px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:142px;z-index:4}.person-document-crop__loupe:before,.person-document-crop__loupe:after{background:#ffcc4d;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.person-document-crop__loupe:before{height:2px;width:30px}.person-document-crop__loupe:after{height:30px;width:2px}.person-document-crop__tools,.person-document-crop__actions{display:flex;flex-wrap:wrap;gap:9px}.person-document-crop__actions{justify-content:flex-end;margin-top:15px}.person-document-crop__busy{align-items:center;background:rgba(255,255,255,.9);display:flex;flex-direction:column;inset:0;justify-content:center;position:absolute;text-align:center;z-index:6}.person-document-crop__panel{position:relative}.person-document-crop__busy>span{animation:person-document-spin .8s linear infinite;border:4px solid #c9dce4;border-radius:50%;border-top-color:#197da3;height:38px;width:38px}.person-document-crop__error{color:#a32626;font-weight:700}.person-document-crop[data-busy=true] .person-document-crop__stage{opacity:.5}@keyframes person-document-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.person-document-modal{align-items:stretch;padding:0}.person-document-modal__dialog{border-radius:0;max-height:100dvh;min-height:100dvh}.person-document-modal__header,.person-document-modal__body,.person-document-modal__footer{padding-left:16px;padding-right:16px}.person-document-modal__fields dl,.person-document-modal__additional dl{grid-template-columns:1fr}.person-document-modal__preview{height:40vh;min-height:240px}.person-document-modal__footer{overflow-x:auto}.person-document-viewer,.person-document-crop{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.person-document-viewer__panel{height:100%;width:100%}.person-document-crop__panel{max-height:100%;width:100%}}
