.schoolamo-id-page{width:min(100%,1100px);margin:0 auto;padding:12px 16px 110px;box-sizing:border-box}
.schoolamo-id-page>h1{margin:12px 0 6px}.schoolamo-id-page>.card{margin:14px 0}
.schoolamo-id-card{width:min(100%,420px);margin:18px auto;background:linear-gradient(155deg,#194cbb 0%,#336fdd 50%,#7955c5 100%);border-top:5px solid var(--schoolamo-id-accent,#AECDF5);border-radius:22px;color:#fff;box-shadow:0 20px 42px #173b8540;overflow:hidden;position:relative}
.schoolamo-id-card::before{content:"";position:absolute;width:250px;height:250px;right:-90px;top:-90px;border-radius:50%;background:#ffffff12;pointer-events:none}
.schoolamo-id-card .schoolamo-id-top{display:flex;justify-content:space-between;gap:10px;padding:20px 20px 6px;font-size:.76rem;font-weight:800;letter-spacing:.08em}
.schoolamo-id-live{color:#eaffd6;white-space:nowrap}.schoolamo-id-live::first-letter{color:#ffdf72}
.schoolamo-id-school{display:flex;align-items:center;gap:12px;padding:4px 20px 18px;font-size:1.2rem;font-weight:750}.schoolamo-id-school>span{min-width:0}.schoolamo-id-school small{display:block;margin-top:3px;font-size:.7rem;font-weight:600;opacity:.9}.schoolamo-id-school-logo{width:48px;height:48px;flex:none;object-fit:contain;box-sizing:border-box}
.schoolamo-id-person{display:flex;gap:14px;align-items:center;padding:0 20px 18px;min-height:88px}
.schoolamo-id-person h2{color:#fff;margin:0 0 4px;font-size:1.35rem}.schoolamo-id-person p{margin:2px 0;color:#eef5ff}
.schoolamo-id-photo{width:74px;height:88px;object-fit:cover;border-radius:9px;border:2px solid #fff}
.schoolamo-id-photo-missing{box-sizing:border-box;flex:none;display:grid;place-items:center;padding:5px;color:#fff;background:#ffffff1c;text-align:center;font-size:.68rem;font-weight:650;line-height:1.2}
.schoolamo-id-proof{background:#fff;color:#173b70;text-align:center;padding:16px;min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}
.schoolamo-id-proof img{display:block;width:min(100%,260px);height:260px;object-fit:contain}.schoolamo-id-proof small{font-size:.78rem}
.schoolamo-id-proof img[hidden]{display:none}
.schoolamo-id-scope{display:grid;gap:4px;width:min(100%,260px);text-align:left;font-size:.78rem;font-weight:700}.schoolamo-id-scope select{width:100%;min-height:38px;box-sizing:border-box;border:1px solid #cbd7ea;border-radius:9px;background:#fff;color:#173b70;padding:6px 10px}
.schoolamo-id-card footer{display:flex;justify-content:space-between;gap:10px;padding:14px 20px;font-size:.72rem;font-weight:700}
.schoolamo-id-wallet{display:flex;flex-direction:column;align-items:center;gap:7px;background:#fff;color:#435875;margin:0;padding:14px 20px 18px;text-align:center}.schoolamo-id-wallet[hidden]{display:none!important}.schoolamo-id-wallet .button{max-width:100%;box-sizing:border-box}.schoolamo-id-wallet small{font-size:.72rem;line-height:1.35}
.schoolamo-id-local-devices{max-width:620px;margin:18px auto}.schoolamo-id-local-devices>summary{cursor:pointer;font-weight:700}.schoolamo-id-local-device{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e3e8ef}.schoolamo-id-local-device span{min-width:0}.schoolamo-id-local-device small{display:block;color:#53667d;overflow-wrap:anywhere}.schoolamo-id-local-device button{flex:none}.schoolamo-id-local-devices [data-local-device-status]:empty{display:none}
.schoolamo-id-confirm{width:min(92vw,420px);max-height:calc(100dvh - 40px);box-sizing:border-box;border:0;border-radius:16px;padding:22px;color:#17304d;box-shadow:0 18px 60px #13294755}.schoolamo-id-confirm::backdrop{background:#10274799}.schoolamo-id-confirm h2{margin:0 0 8px}.schoolamo-id-confirm p{line-height:1.5}.schoolamo-id-confirm form{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.schoolamo-id-card [data-card-action][hidden]{display:none!important}
.schoolamo-id-verifier{display:grid;justify-items:center;gap:10px;background:#fff;color:#173b70;padding:14px 20px 18px;text-align:center}.schoolamo-id-verifier button{max-width:100%}.schoolamo-id-verifier video{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px}.schoolamo-id-verifier video[hidden],.schoolamo-id-verifier img[hidden]{display:none}.schoolamo-id-verifier img{display:block;width:min(100%,320px);background:#fff}.schoolamo-id-verifier p{margin:0;line-height:1.4}
.schoolamo-id-vc{display:grid;justify-items:center;gap:10px;background:#fff;color:#173b70;padding:14px 20px 18px;text-align:center}.schoolamo-id-vc button{max-width:100%}.schoolamo-id-vc [data-vc-qr]{width:min(100%,420px);background:#fff}.schoolamo-id-vc [data-vc-qr][hidden]{display:none}.schoolamo-id-vc [data-vc-qr] svg{display:block;width:100%;height:auto}.schoolamo-id-vc p{margin:0;line-height:1.4;font-size:.78rem}
.schoolamo-id-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.schoolamo-id-list article{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #e3e8ef}.schoolamo-id-list article>div{flex:1 1 220px}.schoolamo-id-list strong,.schoolamo-id-list small{display:block}.schoolamo-id-list form{margin:0}.schoolamo-id-list button{min-height:36px}
.schoolamo-id-renew{flex:0 0 100%;padding:2px 0}.schoolamo-id-renew>summary{width:max-content;cursor:pointer;color:#214b99;font-weight:650}.schoolamo-id-renew form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:9px 0 4px}.schoolamo-id-renew label{display:grid;gap:4px;min-width:180px}.schoolamo-id-renew input{min-height:36px}
.schoolamo-id-audit article{display:grid;grid-template-columns:minmax(130px,auto) minmax(130px,1fr) minmax(130px,1fr);gap:4px 12px;padding:9px 0;border-bottom:1px solid #e3e8ef}.schoolamo-id-audit article time{font-variant-numeric:tabular-nums}.schoolamo-id-audit article small{grid-column:2/-1;color:#53667d}.schoolamo-id-audit nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px}@media(max-width:600px){.schoolamo-id-audit article{grid-template-columns:1fr}.schoolamo-id-audit article small{grid-column:auto}}
.schoolamo-id-branding-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.schoolamo-id-branding-form label{display:grid;gap:5px;min-width:180px}.schoolamo-id-branding-preview{width:72px;height:72px;object-fit:contain;border-radius:10px;background:#f5f7fc;padding:6px;box-sizing:border-box}
@media(max-width:540px){.schoolamo-id-page{padding:10px 10px 110px}.schoolamo-id-dates{grid-template-columns:1fr}}
.schoolamo-id-policy-item{border-top:1px solid #dce5f2;padding:9px 0}.schoolamo-id-policy-item>summary{cursor:pointer;font-weight:700;list-style:none}.schoolamo-id-policy-item>summary::-webkit-details-marker{display:none}.schoolamo-id-policy-item>summary small{font-weight:400;margin-left:8px;color:#586b84}.schoolamo-id-policy-form{padding:12px 0 6px}.schoolamo-id-policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.schoolamo-id-policy-grid label{min-width:0}.schoolamo-id-policy-grid input,.schoolamo-id-policy-grid select{width:100%;box-sizing:border-box}.schoolamo-id-policy-translations{margin:12px 0}.schoolamo-id-policy-translations>summary{cursor:pointer}.schoolamo-id-policy-translations>.schoolamo-id-policy-grid{margin-top:10px}.schoolamo-id-policy-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.schoolamo-id-rule-flow{grid-column:1/-1;display:grid;justify-items:center;gap:4px;padding:18px;border:1px solid #dbe5f4;border-radius:16px;background:#f8fbff}.schoolamo-id-rule-node{width:min(100%,440px);padding:12px 16px;border:1px solid #cddcf0;border-radius:12px;background:#fff;text-align:center;box-sizing:border-box}.schoolamo-id-rule-node small,.schoolamo-id-rule-result small{display:block;color:#60718b;font-size:.78rem;margin-bottom:3px}.schoolamo-id-rule-node strong,.schoolamo-id-rule-result strong{display:block;font-size:.95rem;overflow-wrap:anywhere}.schoolamo-id-rule-arrow{color:#6a80a3;line-height:1.2}.schoolamo-id-rule-results{width:min(100%,550px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schoolamo-id-rule-result{min-width:0;padding:12px;border-radius:12px;text-align:center}.schoolamo-id-rule-result.is-yes{background:#e6f5ed;color:#195a38}.schoolamo-id-rule-result.is-no{background:#f0f2f6;color:#5d6878}.schoolamo-id-rule-privacy{margin:6px 0 0;color:#5b6e84;text-align:center;font-size:.82rem}@media(max-width:540px){.schoolamo-id-rule-results{grid-template-columns:1fr}}
.schoolamo-id-workflow{grid-column:1/-1;min-width:0}.schoolamo-id-workflow>p{margin:4px 0 12px;color:#5b6e84}.schoolamo-id-workflow>[data-schoolamo-id-steps]{display:grid;gap:12px}.schoolamo-id-step{min-width:0;padding:14px;border:1px solid #d4e1f1;border-radius:14px;background:#fff;box-shadow:0 2px 9px #173b7010}.schoolamo-id-step-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.schoolamo-id-step-head button{width:30px;height:30px;min-height:30px;padding:0;border-radius:8px}.schoolamo-id-step>label,.schoolamo-id-step-fields>label,.schoolamo-id-step-branches>label{display:grid;gap:4px;min-width:0}.schoolamo-id-step-fields,.schoolamo-id-step-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:10px}.schoolamo-id-step-branches{padding-top:11px;border-top:1px solid #e5ebf4}.schoolamo-id-workflow>[data-schoolamo-id-add-step]{margin-top:12px}
.schoolamo-id-policy-form [hidden]{display:none!important}
.schoolamo-id-workflow>[data-schoolamo-id-steps]{position:relative;gap:20px;padding-left:25px}.schoolamo-id-workflow>[data-schoolamo-id-steps]::before{content:"";position:absolute;left:12px;top:22px;bottom:22px;width:2px;background:#a9c2e5}.schoolamo-id-step{position:relative}.schoolamo-id-step::before{content:"";position:absolute;left:-26px;top:23px;width:25px;height:2px;background:#a9c2e5}.schoolamo-id-step-title,.schoolamo-id-step-tools{display:flex;align-items:center;gap:8px}.schoolamo-id-step-title{min-width:0}.schoolamo-id-step-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#294f9a;color:#fff;font-size:.8rem;font-weight:700}.schoolamo-id-step-grip{touch-action:none;cursor:grab;font-weight:900;letter-spacing:-4px;color:#294f9a}.schoolamo-id-step-grip:active{cursor:grabbing}.schoolamo-id-step-tools button,.schoolamo-id-step-grip{width:30px;height:30px;min-height:30px;padding:0;border:0;background:transparent;border-radius:7px}.schoolamo-id-step-tools button:hover,.schoolamo-id-step-grip:hover{background:#e9eff9}.schoolamo-id-step-tools button:disabled{opacity:.3}.schoolamo-id-step.is-moving{opacity:.55;border-color:#527bd1;background:#ecf3ff}.schoolamo-id-step.is-touch-moving{pointer-events:none}.schoolamo-id-step-branches>label:first-child{padding:8px;border-radius:9px;background:#e9f7ee}.schoolamo-id-step-branches>label:last-child{padding:8px;border-radius:9px;background:#f3f4f7}.schoolamo-id-step-branches select{background:#fff}@media(max-width:540px){.schoolamo-id-workflow>[data-schoolamo-id-steps]{padding-left:19px}.schoolamo-id-workflow>[data-schoolamo-id-steps]::before{left:8px}.schoolamo-id-step::before{left:-20px;width:19px}.schoolamo-id-step-head{align-items:flex-start}.schoolamo-id-step-title{flex-wrap:wrap}}
.schoolamo-id-policy-new>summary{color:#214b99;padding:5px 0}.schoolamo-id-step-add{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:40px;padding:8px 14px;border:1px solid #7398d0;border-radius:10px;background:#eef4ff;color:#173b70;font-weight:650;cursor:pointer}.schoolamo-id-workflow>.schoolamo-id-step-add:first-of-type{margin:0 0 14px}.schoolamo-id-workflow>.schoolamo-id-step-add:last-of-type{margin:14px 0 0}.schoolamo-id-step-add:disabled{opacity:.5;cursor:not-allowed}@media(max-width:540px){.schoolamo-id-policy-grid{grid-template-columns:minmax(0,1fr)}.schoolamo-id-step{padding:11px}.schoolamo-id-step-fields,.schoolamo-id-step-branches{grid-template-columns:minmax(0,1fr)}.schoolamo-id-step-add{width:100%}}
