#gbs-photo-ai.gbs-ns{max-width:1080px!important;width:100%!important;margin:0 auto!important;padding:18px 16px 110px!important;background:#fff!important;color:#213345!important;font:15px/1.55 'Malgun Gothic','Apple SD Gothic Neo',sans-serif!important;box-sizing:border-box}
#gbs-photo-ai.gbs-ns *{box-sizing:border-box}#gbs-photo-ai.gbs-ns [hidden]{display:none!important}
.gbs-ns .ns-header{padding:12px 0 18px;border-bottom:1px solid #dce4ea;display:block!important}.gbs-ns .ns-eyebrow{font-size:12px;color:#456581;font-weight:700}.gbs-ns h1{font-size:clamp(22px,3vw,30px)!important;margin:5px 0 8px!important;line-height:1.3!important}.gbs-ns p{margin:8px 0}.gbs-ns h2{font-size:20px;margin:0}.gbs-ns h3{font-size:16px;margin:4px 0}
.gbs-ns button,.gbs-ns select,.gbs-ns input{font:inherit;max-width:100%;min-width:0}.gbs-ns button,.gbs-ns .ns-file{border:1px solid #165f73;background:#165f73;color:white;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer;line-height:1.3;min-height:42px}.gbs-ns button:disabled{opacity:.45;cursor:not-allowed}.gbs-ns .secondary{background:#f7fafb;color:#234358;border:1px solid #cbd9e2}.gbs-ns input[type=text],.gbs-ns select{border:1px solid #b6c8d4;border-radius:8px;padding:9px;background:#fff;color:#132d43;min-height:42px}.gbs-ns input[type=checkbox]{width:19px;height:19px;margin:0;vertical-align:middle;accent-color:#165f73}.gbs-ns button:focus-visible,.gbs-ns select:focus-visible,.gbs-ns input:focus-visible,.gbs-ns summary:focus-visible{outline:3px solid #1c8edf;outline-offset:2px}
.gbs-ns .ns-upload{border:2px dashed #9eb8c9;border-radius:12px;padding:22px 16px;margin:18px 0 10px;text-align:center;background:#f8fbfd}.gbs-ns .ns-upload.drag{background:#e9f4ff}.gbs-ns .ns-choose{display:inline-block;background:#165f73;padding:13px 22px;color:white;border-radius:9px;font-weight:800;cursor:pointer;position:relative;overflow:hidden}.gbs-ns .ns-choose input,.gbs-ns .ns-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.gbs-ns .ns-upload span{display:block;font-size:13px;color:#546e80;margin-top:8px}.gbs-ns .ns-status{background:#edf6f5;color:#16574c;padding:10px 13px;border-radius:9px}.gbs-ns #ns-errors{color:#963d21;overflow-wrap:anywhere;font-size:13px}.gbs-ns progress{width:100%;height:16px}
.gbs-ns .ns-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:20px 0 12px}.gbs-ns .ns-toolbar label{display:grid;gap:4px;font-size:13px;font-weight:700}.gbs-ns .ns-toolbar button{margin-left:auto}.gbs-ns .ns-summary{font-size:17px;font-weight:800;padding:12px 0}.gbs-ns .ns-hint{color:#637684;font-size:12px;line-height:1.7}.gbs-ns .ns-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.gbs-ns .ns-actions button{font-size:13px}.gbs-ns .ns-card{border:1px solid #cfdce4;border-radius:14px;padding:16px;margin:14px 0;background:#fff}.gbs-ns .ns-card.confirmed{border-color:#66a28c}.gbs-ns .ns-card.excluded{opacity:.65}.gbs-ns .ns-card-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gbs-ns .ns-card-head input[type=text]{font-size:19px;font-weight:800;width:170px}.gbs-ns .ns-card-head .ns-badge{font-size:12px;background:#f1f5f8;padding:5px 9px;border-radius:14px;margin-left:auto}.gbs-ns .ns-card.confirmed .ns-badge{background:#e9f5ed;color:#196247}.gbs-ns .ns-caption{font-size:12px;color:#556c7d;line-height:1.6}.gbs-ns .ns-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gbs-ns .ns-face{min-width:0}.gbs-ns .ns-image{padding:0;border:1px solid #d8e2e8;background:#f4f6f7;width:100%;border-radius:8px;display:block;overflow:hidden}.gbs-ns .ns-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block;background:#eaf0f4}.gbs-ns figure{margin:0}.gbs-ns figcaption{font-size:12px;overflow-wrap:anywhere;margin:4px 0 8px}.gbs-ns .ns-empty{height:90px;display:grid;place-items:center;background:#f5f6f7;border:1px dashed #bccbd3;font-size:13px;color:#688090}
.gbs-ns details{border-top:1px solid #e0e7ed;padding:10px 0 0;margin-top:10px}.gbs-ns summary{cursor:pointer;font-weight:700;font-size:13px}.gbs-ns .ns-history{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.gbs-ns .ns-history label{display:flex;align-items:center;gap:5px;font-size:12px;overflow-wrap:anywhere}.gbs-ns .ns-history button{font-size:11px;min-height:34px;padding:6px}.gbs-ns .ns-history select{font-size:11px;width:100%;padding:6px;min-height:34px}.gbs-ns .ns-file{display:inline-flex;align-items:center;position:relative;overflow:hidden;font-size:13px}.gbs-ns .ns-project{margin-top:22px;font-size:13px}.gbs-ns .ns-original-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:6px;border-bottom:1px solid #e5edf3}.gbs-ns .ns-original-row span{min-width:150px}.gbs-ns .ns-original-row select{font-size:12px;min-height:34px;padding:4px}.gbs-ns dialog{border:1px solid #c4d4df;border-radius:12px;max-width:96vw;max-height:94vh;padding:14px;color:#173247}.gbs-ns dialog::backdrop{background:#182b3cbb}.gbs-ns dialog img{display:block;max-width:88vw;max-height:77vh;width:auto;height:auto;margin:8px auto}.gbs-ns dialog p{font-size:13px}
@media(max-width:640px){#gbs-photo-ai.gbs-ns{padding:12px 9px 115px!important}.gbs-ns .ns-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gbs-ns .ns-toolbar button{grid-column:1/-1;margin:0}.gbs-ns .ns-toolbar select{width:100%;font-size:12px}.gbs-ns .ns-card{padding:10px}.gbs-ns .ns-card-head input[type=text]{width:125px;font-size:18px}.gbs-ns .ns-badge{font-size:11px!important}.gbs-ns .ns-photos{gap:7px}.gbs-ns .ns-history{grid-template-columns:repeat(2,minmax(0,1fr))}.gbs-ns .ns-actions button{flex-grow:1}.gbs-ns .ns-caption{font-size:11px}.gbs-ns figcaption{font-size:11px}.gbs-ns .ns-summary{font-size:14px}}

/* 1.3.1 evidence preview host. Internal IMG styling is isolated. */
#gbs-photo-ai.gbs-ns .ns-photo-protected{display:block!important;width:100%;min-width:0;content:normal!important;background-image:none!important;}
#gbs-photo-ai.gbs-ns #ns-lightbox-photo{width:auto;max-width:88vw;}
