/* WiFi V28 · Shared VOLT identity, admin workspace and private student access */
/* Admin: uses the same responsive institutional header and sidebar as other modules */
.ci-v28-wifi-admin .wrap{max-width:1440px}
.ci-v28-wifi-admin .ci-v12-content{display:grid;gap:18px;align-content:start}
.ci-v28-wifi-page-head{background:#fff;border:1px solid #deeaf0;border-radius:18px;padding:23px 26px 22px;box-shadow:0 5px 24px rgba(0,48,73,.035);min-width:0}
.ci-v28-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;line-height:1.6;color:#70899b;margin-bottom:15px}
.ci-v28-breadcrumb a{color:#345e76;text-decoration:none;font-weight:750}
.ci-v28-breadcrumb a:hover{text-decoration:underline}
.ci-v28-breadcrumb strong{color:#003049}
.ci-v28-wifi-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;flex-wrap:wrap}
.ci-v28-wifi-heading{flex:1 1 360px;min-width:0}
.ci-v28-wifi-heading .ci-overline,.ci-v28-card-heading .ci-overline{font-size:10px;font-weight:850;letter-spacing:.095em;color:#527f98}
.ci-v28-wifi-heading h1{font:800 clamp(25px,3vw,34px)/1.17 Outfit,'DM Sans',system-ui,sans-serif!important;letter-spacing:-.022em!important;color:#003049;margin:8px 0 10px!important;overflow-wrap:anywhere}
.ci-v28-wifi-heading p{font-size:13px;line-height:1.75;color:#617d8d;max-width:630px;margin:0}
.ci-v28-wifi-head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ci-v28-wifi-head-actions .ci-v12-btn{font-size:11px;padding:9px 11px}
.ci-v28-head-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e8f0f4;gap:15px;margin-top:21px;padding-top:18px}
.ci-v28-head-meta div{display:grid;gap:5px;min-width:0}
.ci-v28-head-meta span{font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.06em;color:#768fa0;font-weight:800}
.ci-v28-head-meta strong{color:#003049;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ci-v28-status{margin:0!important;border:1px solid #d9e9f1}
.ci-v28-admin-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:17px;align-items:start;min-width:0}
.ci-v28-admin-grid[hidden]{display:none!important}
.ci-v28-admin-card{min-width:0;margin:0!important;padding:23px!important}
.ci-v28-card-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}
.ci-v28-card-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;border-radius:10px;color:#003049;background:#eaf3f8;font-size:11px;font-weight:900;letter-spacing:.04em}
.ci-v28-card-heading h2{font:800 19px/1.3 Outfit,'DM Sans',system-ui,sans-serif!important;letter-spacing:-.01em;margin:4px 0 5px!important}
.ci-v28-card-heading p{margin:0;color:#687f8d;font-size:12px;line-height:1.65}
.ci-v28-guide-form{gap:17px!important}
.ci-v28-form-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ci-v28-guide-form label,.ci-v28-profile-field{font-size:12px;color:#294c61;font-weight:750}
.ci-v28-guide-form input:not([type=file]),.ci-v28-guide-form textarea,.ci-v28-profile-field input{width:100%;box-sizing:border-box;border:1px solid #cedfe9;background:#fff;color:#003049;border-radius:11px;padding:12px;font:600 13px/1.6 'DM Sans',system-ui,sans-serif}
.ci-v28-guide-form textarea{min-height:190px;resize:vertical;font-weight:500}
.ci-v28-guide-form input:focus-visible,.ci-v28-guide-form textarea:focus-visible,.ci-v28-profile-field input:focus-visible{outline:2px solid #669bbc;outline-offset:2px}
.ci-v28-guide-form label small,.ci-v28-profile-field small{font-size:11px;color:#768e9d;font-weight:500}
.ci-v28-upload-area{border:1px dashed #b7d0df;background:#f8fbfd;border-radius:13px;padding:17px;display:grid;gap:9px}
.ci-v28-upload-area strong{color:#003049;font-size:13px}
.ci-v28-upload-area p{margin:3px 0 0!important;font-size:11px!important;line-height:1.6;color:#687f8d}
.ci-v28-upload-area>label{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-weight:700;font-size:12px}
.ci-v28-upload-area input[type=file]{font-size:11px;max-width:100%;color:#537185}
.ci-v28-upload-area input[type=file]::file-selector-button{border:1px solid #d0e0e8;border-radius:8px;background:#fff;padding:8px 10px;margin-right:10px;color:#003049;font:700 11px 'DM Sans',system-ui,sans-serif;cursor:pointer}
.ci-v28-file-description{color:#59768b;font-size:11px;line-height:1.6}
.ci-v28-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.ci-v28-actions button{min-width:0}
.ci-v28-secure-note{padding:14px 16px;border-radius:12px;border:1px solid #f1dfba;background:#fffaf0;margin-bottom:17px;color:#785623}
.ci-v28-secure-note strong{font-size:12px;color:#7a5218}
.ci-v28-secure-note p{font-size:11px;line-height:1.6;color:#805c2c;margin:5px 0 0}
.ci-v28-profile-field{display:grid;gap:7px;margin-bottom:16px!important}
.ci-v28-profile-field input{min-width:0}
.ci-v28-export-actions{margin-bottom:14px}
.ci-v28-script-status{border:1px solid #dce9f0;border-radius:10px;background:#f4f9fc;color:#355c71;font-size:12px;line-height:1.6;padding:12px 14px;margin:0 0 16px}
.ci-v28-script-status[data-error=true]{background:#fff4f4;border-color:#f1c9cf;color:#982638}
.ci-v28-script-details{border:1px solid #dce7ed;border-radius:12px;background:#fbfdfe;overflow:hidden;margin:0 0 17px}
.ci-v28-script-details summary{list-style:none;padding:13px 16px;font-size:12px;color:#224c65;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
.ci-v28-script-details summary::-webkit-details-marker{display:none}
.ci-v28-script-details[open] summary{border-bottom:1px solid #e1ecf2;background:#f4f9fc}
.ci-v28-script-details label{font-size:11px;color:#6a8090;display:block;padding:14px 15px 0}
.ci-v27-script{display:block;width:calc(100% - 30px);min-height:210px;max-height:440px;resize:vertical;margin:10px 15px 15px;border:1px solid #d8e7ee;border-radius:9px;padding:12px;box-sizing:border-box;background:#fff;color:#284b60;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}
.ci-v28-bottom-note{padding:12px 14px;border-left:3px solid #669bbc;background:#f4f8fb;color:#536e7d;font-size:11px;line-height:1.75;margin:0!important;border-radius:0 9px 9px 0}

/* Student view: scoped to personal portal. No Hotspot status is claimed without router verification */
#ci-wifi .ci-v28-student-wifi{display:grid;gap:16px;min-width:0}
#ci-wifi .ci-v28-student-hero{background:linear-gradient(120deg,#003049 0%,#0b5273 100%);color:#fff;border-radius:17px;padding:24px 26px;display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap;overflow-wrap:anywhere}
#ci-wifi .ci-v28-student-hero h3{font:800 clamp(21px,2.5vw,28px)/1.2 Outfit,'DM Sans',system-ui,sans-serif;margin:8px 0!important;color:#fff}
#ci-wifi .ci-v28-student-hero p{color:#d6e7ef;font-size:13px;max-width:540px;line-height:1.7;margin:0}
#ci-wifi .ci-v28-student-hero .ci-overline{color:#bdd6e3;font-weight:850;font-size:10px;letter-spacing:.1em}
#ci-wifi .ci-v28-student-state{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:800;border-radius:999px;padding:8px 12px;white-space:normal;max-width:100%}
#ci-wifi .ci-v28-student-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:15px}
#ci-wifi .ci-v28-student-panel{border:1px solid #dce9f0;border-radius:15px;padding:22px;background:#fff;min-width:0;box-shadow:0 5px 20px rgba(0,48,73,.025)}
#ci-wifi .ci-v28-student-panel h4{font:800 17px/1.4 Outfit,'DM Sans',system-ui,sans-serif;color:#003049;margin:0 0 6px}
#ci-wifi .ci-v28-student-panel .ci-v28-panel-lead{font-size:12px;color:#688292;line-height:1.65;margin:0 0 17px}
#ci-wifi .ci-v28-credential-grid{display:grid;gap:9px}
#ci-wifi .ci-v28-credential{background:#f5f9fb;border:1px solid #e2edf3;border-radius:11px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
#ci-wifi .ci-v28-credential-label{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
#ci-wifi .ci-v28-credential-label small{font-size:10px;letter-spacing:.035em;text-transform:uppercase;font-weight:750;color:#7891a0}
#ci-wifi .ci-v28-credential-label strong{font-size:15px;color:#003049;font-weight:850;overflow-wrap:anywhere;line-height:1.45}
#ci-wifi .ci-v28-credential button{flex-shrink:0;padding:8px 10px;font-size:11px}
#ci-wifi .ci-v28-credential strong.ci-v28-secret{letter-spacing:.04em}
#ci-wifi .ci-v28-student-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
#ci-wifi .ci-v28-step-list{counter-reset:wifi-step;list-style:none;display:grid;gap:13px;padding:0;margin:15px 0 0}
#ci-wifi .ci-v28-step-list li{display:flex;gap:12px;align-items:flex-start;font-size:12px;color:#3c6175;line-height:1.65}
#ci-wifi .ci-v28-step-list li::before{counter-increment:wifi-step;content:counter(wifi-step);display:flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;border-radius:9px;background:#e7f1f7;color:#003049;font-size:11px;font-weight:900}
#ci-wifi .ci-v28-step-list strong{color:#003049}
#ci-wifi .ci-v28-custom-guide{border-top:1px solid #e4edf2;padding-top:15px;margin-top:16px}
#ci-wifi .ci-v28-custom-guide h4{font-size:13px;margin-bottom:8px}
#ci-wifi .ci-v28-custom-guide p{font-size:12px;line-height:1.75;color:#506f81;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}
#ci-wifi .ci-v28-student-notice{border:1px solid #dce9f1;background:#f5f9fc;color:#466679;padding:15px 17px;border-radius:12px;line-height:1.7;font-size:12px}
#ci-wifi .ci-v28-student-notice strong{color:#003049}
#ci-wifi .ci-v28-student-notice--warning{background:#fff9f0;border-color:#f0dfc1;color:#78542b}
#ci-wifi .ci-v28-student-notice--warning strong{color:#754820}
#ci-wifi .ci-v28-student-feedback{margin:0;font-size:12px;line-height:1.6;color:#426b81}
#ci-wifi .ci-v28-student-feedback.error{color:#a02434}
@media(max-width:1320px){.ci-v28-admin-grid{grid-template-columns:1fr}}
@media(max-width:1000px){#ci-wifi .ci-v28-student-grid{grid-template-columns:1fr}}
@media(max-width:750px){.ci-v28-wifi-page-head{padding:19px}.ci-v28-admin-card{padding:18px!important}.ci-v28-form-two{grid-template-columns:1fr}.ci-v28-head-meta{grid-template-columns:repeat(2,minmax(0,1fr))}#ci-wifi .ci-v28-student-hero{padding:20px}#ci-wifi .ci-v28-student-panel{padding:18px}}
@media(max-width:430px){.ci-v28-head-meta{grid-template-columns:1fr}.ci-v28-wifi-head-actions{width:100%}.ci-v28-wifi-head-actions .ci-v12-btn{flex:1}#ci-wifi .ci-v28-credential{align-items:stretch;flex-direction:column}#ci-wifi .ci-v28-credential button{align-self:flex-start}}

/* Keep the existing portal mount point, but remove the extra outer card */
#ci-wifi>.ci-panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible}
#ci-wifi #ci-wifi-content{min-width:0}
