.simple-profile{display:grid;gap:24px}.simple-profile .simple-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.simple-profile .simple-section-heading{display:flex;align-items:center;gap:8px;margin-bottom:20px}.simple-profile h3{margin:0}.simple-profile small{color:#71859b;font-weight:400}.simple-profile .simple-section-heading>small{margin-left:auto}.simple-profile .simple-identity{border-top:1px solid #dce6ef;padding-top:24px}.simple-profile fieldset{border:0;padding:0;margin:24px 0 0;min-width:0}.simple-profile legend{font-weight:600;margin-bottom:12px}.simple-profile .simple-long-term{justify-content:flex-end;margin-bottom:14px}.simple-date-grid{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center}.simple-profile input,.simple-profile textarea{min-width:0;width:100%;box-sizing:border-box}.simple-profile input[type=checkbox]{width:auto}.simple-profile #ocr-status:empty{display:none}.simple-profile #ocr-status{font-size:13px;color:#52758b;margin:12px 0}.simple-profile .ocr-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#eff5f8;border-radius:6px;font-size:13px}.simple-profile #long-term-label{white-space:nowrap}.simple-profile [hidden]{display:none!important}@media(max-width:560px){.simple-profile .simple-contact-grid{grid-template-columns:1fr}.simple-date-grid{gap:8px}.simple-date-grid input{font-size:14px}.simple-profile .ocr-result{align-items:flex-start;flex-wrap:wrap}}

.simple-profile .simple-id-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 12px;
 max-width: 420px;
 margin: 12px 0 16px;
}
.simple-profile .simple-id-upload {
 display: grid;
 align-content: start;
 gap: 8px;
 min-width: 0;
 padding: 10px;
 border: 1px solid #d9e4ee;
 border-radius: 12px;
 background: #fff;
}
.simple-profile .simple-id-upload h4 {
 margin: 0;
 color: #17324d;
 font-size: 13px;
 line-height: 1.4;
}
.simple-profile .simple-id-frame {
 display: grid;
 place-items: center;
 position: relative;
 isolation: isolate;
 height: clamp(84px, 18vw, 116px);
 border: 1px solid #e1eaf1;
 border-radius: 8px;
 background: #f1f6fa;
}
.simple-profile .simple-id-placeholder {
 display: grid;
 justify-items: center;
 gap: 4px;
 color: #5d768a;
 font-size: 12px;
}
.simple-profile .simple-id-placeholder svg { width: 24px; height: 24px; }
.simple-profile button.simple-id-thumb {
 position: absolute;
 inset: 0;
 display: grid;
 place-items: center;
 width: 100%;
 height: 100%;
 padding: 3px;
 border: 0;
 border-radius: 7px;
 color: inherit;
 background: transparent;
 cursor: zoom-in;
}
.simple-profile .simple-id-thumb canvas {
 display: block;
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 border-radius: 4px;
}
.simple-profile button.simple-id-remove,
.simple-profile button.simple-id-lightbox-close {
 display: grid;
 place-items: center;
 width: 36px;
 height: 36px;
 min-width: 36px;
 min-height: 36px;
 padding: 0;
 border: 1px solid #d9e4ee;
 border-radius: 50%;
 color: #304d66;
 background: #fff;
}
.simple-profile button.simple-id-remove {
 position: absolute;
 z-index: 1;
 top: 4px;
 right: 4px;
 box-shadow: 0 1px 4px #17324d18;
}
.simple-profile button.simple-id-remove:hover { color: #922e32; background: #fff5f5; }
.simple-profile button.simple-id-lightbox-close:hover { background: #eef4fa; }
.simple-profile .simple-id-remove svg,
.simple-profile .simple-id-lightbox-close svg { width: 18px; height: 18px; }
.simple-profile button.simple-id-pick {
 justify-self: start;
 min-height: 36px;
 padding: 4px 10px;
 border: 1px solid #d9e4ee;
 border-radius: 7px;
 color: #244966;
 background: #f7fafd;
 font-size: 12px;
}
.simple-profile button.simple-id-pick:hover { background: #edf4fa; }
.simple-profile .simple-id-upload button:focus-visible,
.simple-profile .simple-id-lightbox button:focus-visible {
 outline: 2px solid #276394;
 outline-offset: 2px;
}
.simple-profile .simple-id-feedback { margin: 0; color: #6a4550; font-size: 12px; }
.simple-profile .simple-id-feedback:empty { display: none; }

.simple-profile .simple-id-lightbox {
 box-sizing: border-box;
 width: min(900px, calc(100% - 24px));
 max-width: calc(100% - 24px);
 max-height: calc(100dvh - 24px);
 margin: auto;
 padding: 0;
 border: 1px solid #d9e4ee;
 border-radius: 14px;
 background: #fff;
 color: #17324d;
 box-shadow: 0 22px 70px #10283f40;
}
.simple-profile .simple-id-lightbox::backdrop { background: #10283fb3; }
.simple-profile .simple-id-lightbox-heading {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding: 10px 14px;
 border-bottom: 1px solid #e3ebf2;
}
.simple-profile .simple-id-lightbox-heading strong { font-size: 14px; }
.simple-profile .simple-id-lightbox img {
 display: block;
 margin: 0 auto;
 max-width: 100%;
 max-height: calc(100dvh - 88px);
 width: auto;
 height: auto;
 object-fit: contain;
}
@media (max-width: 400px) {
 .simple-profile .simple-id-grid { gap: 8px; }
 .simple-profile .simple-id-upload { padding: 8px; }
 .simple-profile .simple-id-upload h4 { font-size: 12px; }
}
