/* Squarewave v6: targeted admission and global layout repair */
:root{--sw-ink:#172c4d;--sw-accent:#0875b9;--sw-border:#e5ebf3}
html,body{max-width:100%;overflow-x:clip}*,*::before,*::after{box-sizing:border-box}
.main{width:100%;min-width:0;max-width:1600px;margin-inline:auto;padding:clamp(16px,2.2vw,32px)!important}
.page-intro{margin-bottom:20px!important}.page-intro h1{font-size:clamp(24px,2.5vw,32px)!important}
.card{border:1px solid var(--sw-border)!important;border-radius:16px!important;box-shadow:0 3px 15px rgba(23,44,77,.035)!important;padding:clamp(16px,2vw,26px)!important;margin-bottom:18px!important}
.card h2{font-size:18px!important;margin-bottom:22px!important;color:var(--sw-ink)}
.admission-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;border-bottom:1px solid var(--sw-border);padding-bottom:12px}
.admission-tabs a{display:inline-flex;align-items:center;padding:11px 16px;border-radius:10px;text-decoration:none;color:#53627b;font-size:13px;font-weight:700;background:#f3f6fa}
.admission-tabs a.active{background:#e6f4fb;color:#08689d}
.data-grid{min-width:660px!important;border-collapse:separate!important;border-spacing:0!important}
.data-grid th{font-size:11px!important;letter-spacing:.04em!important;color:#66758b!important;background:#f6f8fb!important}
.data-grid td{font-size:13px!important;color:#243650!important;line-height:1.5;overflow-wrap:anywhere}
.data-grid td:last-child{min-width:170px;width:195px;max-width:230px}
.data-grid td:last-child form{display:inline-block!important;width:auto!important;max-width:100%;margin:2px 4px 2px 0!important;vertical-align:middle}
.data-grid td:last-child form button,.data-grid td:last-child form .btn{width:auto!important;min-width:0!important;min-height:34px!important;padding:8px 11px!important;font-size:11px!important;border-radius:8px!important;white-space:nowrap;box-shadow:none!important}
.data-grid td:last-child form:nth-of-type(2) button{background:#fff!important;color:#b42336!important;border:1px solid #f3c4cc!important}
.data-grid details{max-width:310px}.data-grid details summary{cursor:pointer;color:#0875b9;font-size:12px}.sw-details{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto;font-size:11px}
.dt-container,.dt-layout-row,.tablewrap{min-width:0;max-width:100%}
.field select,.field input,.select2-container{max-width:100%!important}
.select2-dropdown{max-width:min(90vw,550px)}
.formgrid{align-items:end}.formgrid .btn{width:auto!important;max-width:100%}
@media(max-width:767px){.main{padding:14px!important}.admission-tabs a{flex:1;justify-content:center;text-align:center;font-size:12px;padding:10px 7px}.card{padding:15px!important}.data-grid{min-width:620px!important}.data-grid td:last-child{min-width:150px;width:160px}.page-intro{margin-top:8px}}
