.return-school-layer{position:fixed;inset:0;z-index:500;pointer-events:none;font:12px/1.5 "Segoe UI","Microsoft YaHei",sans-serif;color:#000}
.has-return-school-errors .browser-toolbar{position:sticky;top:0;z-index:501}
/* Windows 7 Aero: native references/provenance in assets/ui/WIN7-REFERENCES.md.
 * Glass/close-glyph details adapted from 7.css (MIT); all selectors are scoped.
 * The old-style scene deliberately follows the separate modern Win11 hang.
 */
.return-school-window{
 --aero-glass:rgba(166,202,232,.62);
 position:absolute;box-sizing:border-box;pointer-events:auto;
 width:min(364px,calc(100vw - 16px));max-height:calc(100dvh - 80px);
 left:clamp(8px,var(--window-x),calc(100vw - 372px));
 top:clamp(64px,var(--window-y),calc(100dvh - 180px));
 z-index:calc(1 + var(--window-z));padding:0 6px 6px;
 border:1px solid rgba(36,55,70,.84);border-radius:7px;
 background:linear-gradient(115deg,#ffffff83 0%,#ffffff25 20%,#355a7233 42%,#ffffff42 57%,#a1b1c21c 80%),var(--aero-glass);
 backdrop-filter:blur(5px) saturate(1.15);-webkit-backdrop-filter:blur(5px) saturate(1.15);
 box-shadow:inset 0 0 0 1px #ffffffe6,0 0 1px 1px #0003,0 5px 15px 3px #0006;
 font:400 12px/1.5 "Segoe UI","Microsoft YaHei",sans-serif;
 color:#000;letter-spacing:normal;text-shadow:none;filter:none;
}
.return-school-single .return-school-window{left:50%;top:45%;transform:translate(-50%,-50%)}
.return-school-window[hidden]{display:none!important}
.return-school-window .return-school-caption{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 position:relative;box-sizing:border-box;height:26px;min-height:26px;
 padding:0;margin:0;border:0;background:transparent;color:#000;
}
.return-school-caption strong{
 flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
 margin:0;padding:0 0 1px 1px;font:400 12px/17px "Segoe UI","Microsoft YaHei",sans-serif;
 letter-spacing:0;text-shadow:0 0 3px #fff,0 0 7px #fff,0 0 9px #fff,0 0 10px #fff;
}
.return-school-caption button{
 display:grid;place-items:center;align-self:flex-start;position:relative;flex:none;
 box-sizing:border-box;width:42px;min-width:42px;height:19px;min-height:19px;
 margin:-1px 0 0;padding:0;border:1px solid #5f3b358c;border-top:0;
 border-radius:0 0 4px 4px;
 background:linear-gradient(#ffffff80,#ffffff4d 45%,#0000001a 50%,#0000001a 75%,#ffffff60),linear-gradient(#d7a69a,#c57564 49%,#b83b22 50%,#ca5940);
 box-shadow:inset 0 0 0 1px #fffa,0 1px 0 #fffa,1px 0 0 #fffa,-1px 0 0 #fffa;
 color:#fff;outline:none;cursor:default;
}
.return-school-caption button img{display:block;flex:none;width:11px;height:10px;margin:0;padding:0;border:0;box-shadow:none;filter:none}
.return-school-caption button:hover,.return-school-caption button:focus-visible{
 background:linear-gradient(#ffffff80,#ffffff3d 45%,#0000001a 50%,#0000001a 75%,#ffffff60),radial-gradient(ellipse at 50% 170%,#f6e684 10%,transparent 65%),linear-gradient(#fb9d8b,#ee6d56 49%,#d42809 50%);
 box-shadow:0 0 7px 2px #e68e75,inset 0 0 0 1px #fffa;
}
.return-school-caption button:active{background:linear-gradient(#d1a894,#b67562 49%,#7d0d01 50%);box-shadow:inset 0 0 0 1px #fffa}
.return-school-client{overflow:hidden;border:1px solid #647786;box-shadow:0 0 0 1px #ffffffb3;background:#fff}
.return-school-message{display:flex;align-items:center;gap:16px;min-height:82px;padding:21px 16px;box-sizing:border-box;background:#fff}
.return-school-error-icon{
 display:block;width:32px;height:32px;flex:0 0 32px;
 /* Genuine 32px icon, from the unchanged Microsoft Windows 7 UX screenshot. */
 background:#fff url("assets/ui/win7-error-reference.png") no-repeat -47px -68px;
}
.return-school-message p{margin:0;padding:0;color:#000;font:400 12px/18px "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0;text-indent:0;text-shadow:none;overflow-wrap:break-word}
.return-school-window footer{display:flex;justify-content:flex-end;box-sizing:border-box;min-height:46px;margin:0;padding:11px 11px 10px;border-top:1px solid #dfdfdf;background:#f0f0f0;text-align:right}
.return-school-window footer button{
 display:inline-block;box-sizing:border-box;width:75px;min-width:75px;height:23px;min-height:23px;
 margin:0;padding:0 12px;border:1px solid #707070;border-radius:3px;
 color:#000;background:linear-gradient(#f2f2f2 0%,#ebebeb 48%,#ddd 49%,#cfcfcf 100%);
 box-shadow:inset 0 0 0 1px #fffc;font:400 12px/19px "Segoe UI","Microsoft YaHei",sans-serif;
 letter-spacing:0;text-shadow:none;cursor:default;
}
.return-school-window footer button:hover{border-color:#3c7fb1;background:linear-gradient(#eaf6fd 0%,#d9f0fc 48%,#bee6fd 49%,#a7d9f5 100%)}
.return-school-window footer button:focus{border-color:#3c7fb1;box-shadow:inset 0 0 0 1px #7ecdf7,inset 0 0 0 2px #fff;outline:none}
.return-school-window footer button:focus-visible::after{content:"";display:block;position:absolute;inset:3px;border:1px dotted #333;pointer-events:none}
.return-school-window footer button{position:relative}
.return-school-window footer button:active{border-color:#2c628b;background:linear-gradient(#c4e5f6,#98d1ef);box-shadow:inset 0 0 0 1px #fff9}
/* Other windows lose the active red close control, as on an Aero desktop. */
.return-school-wave .return-school-window:not(:focus-within){--aero-glass:rgba(211,224,237,.65);border-color:#6d7983;box-shadow:inset 0 0 0 1px #fffe,0 3px 10px #0005}
.return-school-wave .return-school-window:not(:focus-within) .return-school-caption button{border-color:#7e89918c;background:linear-gradient(#ffffff80,#ffffff4d 45%,#00000012 50%,#ffffff50);box-shadow:inset 0 0 0 1px #fff8,0 1px 0 #fff8}
.return-school-wave .return-school-window:not(:focus-within) .return-school-caption button img{opacity:.65}
.return-school-wave .return-school-window:not(:focus-within) .return-school-caption button:hover{background:linear-gradient(#ffffff80,#ffffff4d 45%,#0000001a 50%),linear-gradient(#fb9d8b,#ee6d56 49%,#d42809 50%);box-shadow:0 0 7px 2px #e68e75,inset 0 0 0 1px #fffa}
.return-school-blank{min-height:52vh}
.notice-list a[href="#article/academic-notice"],.school-directory a[href="#article/academic-notice"]{font-weight:700!important;letter-spacing:normal!important;color:#173f65!important;text-shadow:none!important;filter:none!important}

/* Simulated browser hang: keep both page and existing native dialog in place. */
.is-identity-crashing #app{visibility:visible;filter:none}
.is-identity-crashing #correction-dialog::backdrop{background:transparent;backdrop-filter:none}
.is-identity-crashing *,.is-identity-crashing *::before,.is-identity-crashing *::after{animation-play-state:paused!important;transition:none!important;cursor:wait!important}
.crash-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:20px;border:0;border-radius:0;box-sizing:border-box;overflow:auto;background:transparent;box-shadow:none;color:#1b1b1b;font:14px/1.5 "Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;text-align:left;outline:none;animation:none}
.crash-dialog[open]{display:grid;place-items:center}
.crash-dialog::backdrop{background:rgba(255,255,255,.57);backdrop-filter:none;cursor:wait}
.crash-status-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.unresponsive-window{position:relative;width:min(350px,100%);border:1px solid #d2d2d2;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 12px 27px #0005,0 2px 7px #0002;letter-spacing:normal}
.unresponsive-titlebar{display:flex;align-items:center;gap:6px;height:29px;padding-left:8px;background:#f3f3f3;color:#000;font:12px/1 "Segoe UI","Microsoft YaHei UI",sans-serif}
.unresponsive-titlebar>span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unresponsive-app-icon{width:16px;height:16px;flex:none}
.unresponsive-titlebar>button{display:grid;place-items:center;align-self:stretch;width:30px;flex:none;padding:0;border:0;border-radius:0;background:transparent;color:#000;box-shadow:none}
.unresponsive-titlebar>button svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1}
.unresponsive-content{padding:10px 9px 14px}
.unresponsive-content h2{margin:0 0 13px;font:400 16px/1.5 "Segoe UI","Microsoft YaHei UI",sans-serif;letter-spacing:normal;color:#003399}
.unresponsive-content p{margin:0;color:#000;font:12px/1.5 "Segoe UI","Microsoft YaHei UI",sans-serif;letter-spacing:normal;text-indent:0}
.unresponsive-actions{display:flex;flex-direction:column;gap:0;padding:0 9px 9px;background:#fff}
.unresponsive-actions button{display:flex;align-items:center;gap:7px;min-height:41px;width:100%;padding:8px 6px;border:1px solid transparent;border-radius:0;background:#fff;color:#0078d7;font:15px/1.5 "Segoe UI","Microsoft YaHei UI",sans-serif;text-align:left;box-shadow:none;letter-spacing:normal}
.unresponsive-command-arrow{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:square;stroke-linejoin:miter}
.unresponsive-actions button:focus{border-color:#add4ff;outline:none}
.unresponsive-titlebar>button:focus-visible{outline:1px dotted #333;outline-offset:-4px}
.unresponsive-window.is-frozen::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.6);pointer-events:auto}
@media(hover:hover) and (pointer:fine){.unresponsive-window:not(.is-frozen) .unresponsive-actions button:hover{border-color:#7eb4ea;background:linear-gradient(#f7fbff,#edf5fc)}.unresponsive-window:not(.is-frozen) .unresponsive-titlebar button:hover{background:#c42b1c;color:#fff}}
@media(max-width:500px){.crash-dialog{padding:14px}}
@media(prefers-reduced-motion:reduce){.crash-dialog,.crash-dialog *{animation:none!important;transition:none!important}}
