@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.skystaff-app,.skystaff-login-shell{--purple:#10294b;--purple2:#183b64;--gold:#d7ad38;--ink:#26364b;--muted:#746b80;--line:#e2e8f0;--bg:#f6f8fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);box-sizing:border-box}
.skystaff-app *,.skystaff-login-shell *{box-sizing:border-box}
.skystaff-app{min-height:760px;background:var(--bg);display:flex;border-radius:20px;overflow:hidden;box-shadow:0 18px 55px rgba(16,41,75,.10)}
.skystaff-sidebar{width:270px;flex:0 0 270px;background:linear-gradient(180deg,var(--purple),#21002f);color:#fff;display:flex;flex-direction:column;min-height:760px;position:relative;z-index:20}
.skystaff-brand{height:86px;padding:18px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.10)}
.skystaff-mark{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:var(--gold);color:var(--purple);font-weight:800;font-size:23px;box-shadow:0 8px 22px rgba(215,173,56,.20)}
.skystaff-brand strong{display:block;font-size:14px;letter-spacing:1.7px}.skystaff-brand small{display:block;color:#d9cce0;font-size:9px;letter-spacing:2px;margin-top:4px}.skystaff-close{display:none}
.skystaff-nav{padding:22px 12px;overflow:auto}.skystaff-nav-label{font-size:9px;font-weight:800;letter-spacing:1.7px;color:#aa94b7;padding:0 12px 9px;margin-top:10px}.skystaff-nav-label:not(:first-child){margin-top:25px}
.skystaff-nav-item{width:100%;border:0;background:transparent;color:#dce5ef;text-align:left;padding:11px 13px;border-radius:10px;display:flex;align-items:center;gap:11px;font:600 12px Inter,sans-serif;cursor:pointer;margin:3px 0;transition:.18s}
.skystaff-nav-item .dashicons{font-size:17px;width:18px;height:18px}.skystaff-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}.skystaff-nav-item.active{background:var(--gold);color:var(--purple);box-shadow:0 8px 18px rgba(215,173,56,.15)}
.skystaff-sidebar-foot{margin-top:auto;padding:17px 20px;border-top:1px solid rgba(255,255,255,.10);font-size:10px;color:#bca9c5;display:flex;justify-content:space-between}.skystaff-sidebar-foot b{color:#d7ad38}
.skystaff-main{min-width:0;flex:1}.skystaff-topbar{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:18px;position:sticky;top:0;z-index:10}.skystaff-menu{display:none;border:0;background:transparent}.skystaff-top-title{flex:1}.skystaff-top-title strong{display:block;font-size:17px}.skystaff-top-title span{font-size:11px;color:var(--muted);display:block;margin-top:4px}.skystaff-top-actions{display:flex;align-items:center;gap:16px;font-size:11px}.skystaff-view{color:var(--purple);text-decoration:none;font-weight:700}.skystaff-view .dashicons{vertical-align:middle;font-size:15px}.skystaff-user{display:flex;align-items:center;gap:8px;font-weight:700}.skystaff-user-dot{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#edf2f7;color:var(--purple);font-size:11px}.skystaff-logout{color:#9b4050;text-decoration:none;font-weight:700}
.skystaff-content{padding:30px;max-width:1500px;margin:auto}.skystaff-panel{display:none}.skystaff-panel.active{display:block}.skystaff-eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#8c6f98}.skystaff-welcome{background:linear-gradient(135deg,var(--purple),var(--purple2));border-radius:18px;padding:31px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px;overflow:hidden;position:relative}.skystaff-welcome:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(215,173,56,.16);border-radius:50%;right:-80px;top:-90px}.skystaff-welcome .skystaff-eyebrow{color:#d5bddf}.skystaff-welcome h1{font-size:28px;margin:7px 0 6px}.skystaff-welcome p{margin:0;color:#dce5ef;font-size:12px}.skystaff-primary,.skystaff-outline,.skystaff-danger{border:0;border-radius:9px;padding:11px 15px;font:700 11px Inter,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s}.skystaff-primary{background:var(--gold);color:var(--purple)}.skystaff-primary:hover{filter:brightness(.96);transform:translateY(-1px)}.skystaff-outline{background:#fff;color:var(--purple);border:1px solid #ddd5e3}.skystaff-danger{background:#9e3045;color:#fff}.skystaff-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.skystaff-stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;text-align:left;display:flex;align-items:center;gap:12px;cursor:pointer;min-width:0}.skystaff-stat:hover{border-color:#cdbed5;box-shadow:0 8px 20px rgba(16,41,75,.06)}.skystaff-stat-icon{width:39px;height:39px;border-radius:10px;background:#edf2f7;color:var(--purple);display:grid;place-items:center;flex:0 0 auto}.skystaff-stat b{display:block;font-size:19px}.skystaff-stat small{display:block;color:var(--muted);font-size:9px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skystaff-two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.skystaff-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px}.skystaff-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.skystaff-card h3{margin:0;font-size:14px}.skystaff-card p{margin:5px 0 0;color:var(--muted);font-size:10px}.skystaff-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:19px}.skystaff-quick button{border:1px solid var(--line);background:#f7f9fc;border-radius:9px;padding:13px 7px;color:var(--ink);font:600 10px Inter;cursor:pointer}.skystaff-quick button:hover{border-color:#cbbad4;color:var(--purple);background:#fff}.skystaff-quick .dashicons{display:block;margin:0 auto 6px;color:var(--purple);font-size:18px}.skystaff-status{font-size:9px;color:#2d8059;font-weight:800;display:flex;align-items:center;gap:5px}.skystaff-status i{width:7px;height:7px;border-radius:50%;background:#38a86e}.skystaff-status-list{margin-top:17px;border-top:1px solid var(--line)}.skystaff-status-list div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:10px}.skystaff-status-list span{color:var(--muted)}.skystaff-status-list b{font-size:10px}
.skystaff-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.skystaff-section-head h1{margin:6px 0 4px;font-size:25px}.skystaff-section-head p{margin:0;color:var(--muted);font-size:11px}.skystaff-toolbar{display:flex;gap:10px;margin-bottom:14px}.skystaff-search{background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 12px;flex:1}.skystaff-search .dashicons{color:#8f8298;font-size:17px}.skystaff-search input,.skystaff-toolbar select{border:0;background:transparent;outline:0;padding:11px 0;width:100%;font:500 11px Inter;color:var(--ink)}.skystaff-toolbar select{background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 12px;width:170px}.skystaff-table-wrap{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:auto}.skystaff-table{width:100%;border-collapse:collapse;min-width:720px}.skystaff-table th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8d8294;background:#f7f9fc;text-align:left;padding:12px 15px}.skystaff-table td{padding:12px 15px;border-top:1px solid var(--line);font-size:10px}.skystaff-title-cell{display:flex;align-items:center;gap:10px}.skystaff-title-cell strong{display:block;font-size:11px}.skystaff-title-cell small{display:block;color:#998da0;margin-top:4px}.skystaff-thumb{width:42px;height:42px;border-radius:8px;object-fit:cover;background:#eee6f1;flex:0 0 auto}.skystaff-thumb.placeholder{display:grid;place-items:center;color:#687789}.skystaff-badge{display:inline-flex;border-radius:30px;padding:5px 8px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.skystaff-badge.published{background:#e8f7ef;color:#25754f}.skystaff-badge.draft{background:#f0edf2;color:#6f6574}.skystaff-badge.scheduled{background:#fff4d6;color:#8a6900}.skystaff-badge.archived{background:#f8e9ec;color:#8e3a4c}.skystaff-row-actions{display:flex;gap:5px}.skystaff-icon-btn{width:31px;height:31px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--purple);cursor:pointer}.skystaff-icon-btn.danger{color:#a13d50}.skystaff-icon-btn:hover{background:#f7f2f8}.skystaff-loading{padding:40px;text-align:center;color:var(--muted);font-size:11px}.skystaff-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-3px;animation:skystaffspin .65s linear infinite}@keyframes skystaffspin{to{transform:rotate(360deg)}}.skystaff-empty{padding:45px;text-align:center;color:var(--muted)}.skystaff-empty .dashicons{display:block;font-size:30px;width:30px;height:30px;margin:0 auto 10px;color:#b9a8c1}.skystaff-empty strong,.skystaff-empty small{display:block}.skystaff-empty strong{font-size:12px;color:var(--ink)}.skystaff-empty small{margin-top:5px;font-size:10px}.skystaff-empty.error strong{color:#9e3045}
.skystaff-modal,.skystaff-confirm{position:fixed;inset:0;background:rgba(16,41,75,.64);z-index:99999;display:none;align-items:center;justify-content:center;padding:18px}.skystaff-modal.open,.skystaff-confirm.open{display:flex}.skystaff-modal-box{width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.skystaff-modal-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.skystaff-modal-head h2{margin:5px 0 0;font-size:18px}.skystaff-modal-close{border:0;background:#f5f1f6;color:var(--purple);width:34px;height:34px;border-radius:50%;cursor:pointer}.skystaff-form-grid{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:15px}.skystaff-form-grid label{display:block;font-size:10px;font-weight:700;color:#4f4555}.skystaff-form-grid label.full{grid-column:1/-1}.skystaff-form-grid label>span{display:block;margin-bottom:6px}.skystaff-form-grid input,.skystaff-form-grid select,.skystaff-form-grid textarea{width:100%;border:1px solid #ddd5e2;border-radius:9px;padding:10px 11px;outline:0;font:500 11px Inter;color:var(--ink);background:#fff}.skystaff-form-grid textarea{resize:vertical;min-height:100px}.skystaff-form-grid input:focus,.skystaff-form-grid select:focus,.skystaff-form-grid textarea:focus{border-color:#9bb0c4;box-shadow:0 0 0 3px rgba(24,59,100,.07)}.skystaff-form-grid small{font-size:9px;color:var(--muted);font-weight:400}.skystaff-form-actions{padding:16px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.skystaff-confirm-box{background:#fff;width:min(390px,100%);border-radius:17px;padding:27px;text-align:center}.skystaff-confirm-icon{width:42px;height:42px;border-radius:50%;background:#f8e9ec;color:#a13d50;display:grid;place-items:center;font-weight:800;margin:0 auto 13px}.skystaff-confirm-box h3{margin:0;font-size:16px}.skystaff-confirm-box p{font-size:10px;color:var(--muted);line-height:1.6}.skystaff-confirm-box>div:last-child{display:flex;justify-content:center;gap:8px}.skystaff-toast-wrap{position:fixed;right:22px;bottom:22px;z-index:100001;display:grid;gap:8px}.skystaff-toast{background:#fff;border:1px solid var(--line);box-shadow:0 14px 35px rgba(16,41,75,.14);padding:12px 15px;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700;min-width:240px;animation:skystafftoast .2s ease}.skystaff-toast .dashicons{color:#27825a}.skystaff-toast.error .dashicons{color:#a13d50}.skystaff-toast.hide{opacity:0;transform:translateY(8px);transition:.25s}@keyframes skystafftoast{from{opacity:0;transform:translateY(8px)}}
.skystaff-login-shell{min-height:720px;background:linear-gradient(135deg,#f7f9fc,#eee8f2);display:grid;place-items:center;padding:25px;border-radius:20px}.skystaff-login-card{width:min(450px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 25px 70px rgba(16,41,75,.12)}.skystaff-login-brand{display:flex;gap:12px;align-items:center;margin-bottom:30px}.skystaff-login-brand strong{display:block;letter-spacing:2px;font-size:14px}.skystaff-login-brand span{display:block;font-size:9px;letter-spacing:1.8px;color:#687789;margin-top:4px}.skystaff-login-heading h1{font-size:28px;margin:7px 0}.skystaff-login-heading p{font-size:11px;color:var(--muted);margin:0 0 22px}.skystaff-login-form label{display:block;font-size:10px;font-weight:700;margin:14px 0}.skystaff-login-form input[type=text],.skystaff-login-form input[type=password]{display:block;width:100%;margin-top:6px;border:1px solid #ddd5e2;border-radius:9px;padding:12px;font:500 11px Inter;outline:0}.skystaff-login-form input:focus{border-color:#9bb0c4;box-shadow:0 0 0 3px rgba(24,59,100,.07)}.skystaff-check{display:flex!important;align-items:center;gap:7px;color:var(--muted)}.skystaff-check input{accent-color:var(--purple)}.skystaff-login-btn{width:100%;margin-top:8px}.skystaff-login-note{font-size:9px;color:#978c9d;line-height:1.6;text-align:center;margin:20px 0 0}.skystaff-alert{background:#f9e9ed;color:#8f3448;border:1px solid #f0ccd4;border-radius:9px;padding:10px;font-size:10px;font-weight:600}

@media(max-width:1100px){.skystaff-stat-grid{grid-template-columns:repeat(3,1fr)}.skystaff-two-col{grid-template-columns:1fr}}
@media(max-width:760px){.skystaff-app{border-radius:0;min-height:100vh}.skystaff-sidebar{position:fixed;left:0;top:0;bottom:0;height:100vh;transform:translateX(-105%);transition:.25s;box-shadow:15px 0 40px rgba(0,0,0,.18)}.skystaff-app.sidebar-open .skystaff-sidebar{transform:translateX(0)}.skystaff-overlay{position:fixed;inset:0;background:rgba(16,41,75,.48);z-index:15;display:none}.skystaff-app.sidebar-open .skystaff-overlay{display:block}.skystaff-close{display:block;margin-left:auto;background:transparent;color:#fff;border:0}.skystaff-topbar{padding:0 15px;height:72px}.skystaff-menu{display:block;color:var(--purple);width:34px}.skystaff-top-title span{display:none}.skystaff-top-title strong{font-size:14px}.skystaff-top-actions{gap:8px}.skystaff-view{display:none}.skystaff-user>span:last-child{display:none}.skystaff-logout{font-size:9px}.skystaff-content{padding:18px 14px}.skystaff-welcome{padding:23px;display:block}.skystaff-welcome h1{font-size:23px}.skystaff-welcome .skystaff-primary{margin-top:18px}.skystaff-stat-grid{grid-template-columns:repeat(2,1fr);gap:8px}.skystaff-stat{padding:12px}.skystaff-quick{grid-template-columns:repeat(2,1fr)}.skystaff-section-head{align-items:flex-start;flex-direction:column}.skystaff-section-head .skystaff-primary{width:100%}.skystaff-toolbar{flex-direction:column}.skystaff-toolbar select{width:100%;height:40px}.skystaff-form-grid{grid-template-columns:1fr}.skystaff-form-grid label.full{grid-column:auto}.skystaff-modal-box{max-height:95vh}.skystaff-login-shell{min-height:100vh;border-radius:0;padding:14px}.skystaff-login-card{padding:25px 20px}.skystaff-toast-wrap{left:14px;right:14px;bottom:14px}.skystaff-toast{min-width:0}}


/* =========================================================
   STUDENT MANAGEMENT
   ========================================================= */
.skystaff-student-table{min-width:980px}
.skystaff-student-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;background:#f0e8f5;color:var(--purple);font-weight:800;font-size:13px}
.skystaff-student-avatar.large{width:54px;height:54px;border-radius:15px;font-size:19px}
.skystaff-view-student{padding:8px 11px;font-size:9px}
.skystaff-outstanding{color:#a23c50}
.skystaff-progress{height:7px;min-width:90px;background:#eee9f1;border-radius:20px;overflow:hidden}
.skystaff-progress span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,var(--purple),var(--gold))}
.skystaff-progress-label{display:block;margin-top:4px;font-size:8px;color:var(--muted);font-weight:700}
.skystaff-student-box{width:min(920px,100%)}
.skystaff-student-detail-body{padding:22px;max-height:calc(92vh - 90px);overflow:auto}
.skystaff-profile-hero{display:flex;align-items:center;gap:14px;padding:17px;border-radius:15px;background:linear-gradient(135deg,#f7f9fc,#fff9df);border:1px solid var(--line);margin-bottom:16px}
.skystaff-profile-hero h3{margin:3px 0 2px;font-size:19px}.skystaff-profile-hero p{margin:0;color:var(--muted);font-size:10px}.skystaff-profile-hero .skystaff-badge{margin-left:auto}
.skystaff-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.skystaff-detail-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px}.skystaff-detail-card>span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.skystaff-detail-card>strong{display:block;font-size:11px;overflow-wrap:anywhere}
.skystaff-finance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.skystaff-finance-card{padding:15px;border-radius:12px;background:#f4f7fb;border:1px solid var(--line)}.skystaff-finance-card span{display:block;color:var(--muted);font-size:9px}.skystaff-finance-card strong{display:block;margin-top:5px;color:var(--purple);font-size:18px}.skystaff-finance-card.paid{background:#eef8f2}.skystaff-finance-card.paid strong{color:#27734f}.skystaff-finance-card.due{background:#fbf0f2}.skystaff-finance-card.due strong{color:#a23c50}
.skystaff-progress-card{margin-bottom:16px}.skystaff-detail-card-head{display:flex;justify-content:space-between;margin-bottom:12px}.skystaff-detail-card-head span{display:block}.skystaff-detail-card-head strong{display:block;font-size:11px;margin-top:3px;color:var(--purple)}.skystaff-progress-card .skystaff-progress{height:10px}
.skystaff-detail-section{margin-top:17px}.skystaff-detail-section-head{margin-bottom:10px}.skystaff-detail-section-head h4{margin:0;font-size:13px}.skystaff-detail-section-head p{margin:4px 0 0;color:var(--muted);font-size:9px}.skystaff-payment-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}.skystaff-payment-row{display:flex;justify-content:space-between;gap:15px;padding:12px 14px;border-bottom:1px solid var(--line)}.skystaff-payment-row:last-child{border-bottom:0}.skystaff-payment-row strong{display:block;font-size:10px}.skystaff-payment-row small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.skystaff-payment-row>div:last-child{text-align:right}.skystaff-payment-row b{display:block;font-size:10px;color:var(--purple)}.skystaff-payment-status{display:inline-block;margin-top:4px;font-size:8px;color:#2c7c56}.skystaff-detail-empty{padding:20px;text-align:center;color:var(--muted);font-size:10px}
@media(max-width:760px){.skystaff-detail-grid{grid-template-columns:1fr}.skystaff-finance-grid{grid-template-columns:1fr}.skystaff-profile-hero{align-items:flex-start;flex-wrap:wrap}.skystaff-profile-hero .skystaff-badge{margin-left:0}.skystaff-student-detail-body{padding:14px}.skystaff-student-box{border-radius:14px}.skystaff-payment-row{align-items:flex-start;flex-direction:column}.skystaff-payment-row>div:last-child{text-align:left}}


/* =========================================================
   TUITION PAYMENTS
   ========================================================= */
.skystaff-nav-count{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:20px;background:#b71c1c;color:#fff;display:inline-grid;place-items:center;font-size:8px;font-weight:800}.skystaff-nav-item.active .skystaff-nav-count{background:var(--purple);color:#fff}.skystaff-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}.skystaff-payment-summary>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 15px}.skystaff-payment-summary span{display:block;font-size:9px;color:var(--muted)}.skystaff-payment-summary b{display:block;font-size:20px;color:var(--purple);margin-top:4px}.skystaff-payment-table{min-width:1120px}.skystaff-cell-sub{display:block;color:var(--muted);font-size:8px;margin-top:4px}.skystaff-payment-actions{display:flex;gap:5px;flex-wrap:wrap}.skystaff-payment-actions button{border:0;border-radius:7px;padding:7px 9px;font:700 9px Inter,sans-serif;cursor:pointer;white-space:nowrap}.skystaff-payment-actions .skystaff-payment-view{background:var(--gold);color:var(--purple)}.skystaff-payment-confirm{background:#2e7d32!important;color:#fff!important;border:0;border-radius:8px;padding:9px 12px;font:700 10px Inter,sans-serif;cursor:pointer}.skystaff-payment-reject{background:#b71c1c!important;color:#fff!important;border:0;border-radius:8px;padding:9px 12px;font:700 10px Inter,sans-serif;cursor:pointer}.skystaff-payment-box{width:min(900px,100%)}.skystaff-payment-detail-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.skystaff-payment-detail-actions button{min-width:150px}.skystaff-badge.pending-verification{background:#fff4d6;color:#8a6900}.skystaff-badge.verified{background:#e8f7ef;color:#25754f}.skystaff-badge.rejected{background:#f8e9ec;color:#8e3a4c}.skystaff-alert{background:#fff4d6;color:#725600;border:1px solid #ead79c;border-radius:9px;padding:10px;font-size:10px;line-height:1.5}
@media(max-width:760px){.skystaff-payment-summary{grid-template-columns:1fr}.skystaff-payment-detail-actions{flex-direction:column}.skystaff-payment-detail-actions button{width:100%}.skystaff-payment-actions{flex-direction:column}}

/* =========================================================
   v2.3.0 SIMPLE CONTENT EDITOR
========================================================= */
.skystaff-editor-box{max-width:820px!important}
.skystaff-modal-head p{margin:5px 0 0;color:#75677d;font-size:13px;line-height:1.5}
.skystaff-special-note{display:none;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(215,173,56,.35);background:rgba(215,173,56,.10);border-radius:12px;color:#4b3b00;font-size:13px;line-height:1.5}
.skystaff-special-note:not(:empty){display:block}
.skystaff-field{min-width:0}
.skystaff-field label{display:block}
.skystaff-field label>span{display:block;font-weight:700;color:#26364b;font-size:12px;margin:0 0 7px}
.skystaff-field input,.skystaff-field select,.skystaff-field textarea{width:100%;box-sizing:border-box;border:1px solid #e2dce7;background:#fff;border-radius:11px;padding:12px 13px;font:inherit;color:#10294b;outline:none;transition:.2s}
.skystaff-field textarea{resize:vertical;min-height:105px}
.skystaff-field input:focus,.skystaff-field select:focus,.skystaff-field textarea:focus{border-color:#285780;box-shadow:0 0 0 3px rgba(108,41,144,.09)}
.skystaff-upload-box{position:relative;min-height:120px;border:1.5px dashed #cfc2d7;border-radius:14px;background:#f7f9fc;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.skystaff-upload-box input{position:absolute!important;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer;padding:0;border:0;z-index:2}
.skystaff-upload-copy{text-align:center;color:#67566e;pointer-events:none}
.skystaff-upload-copy .dashicons{display:block;margin:0 auto 7px;font-size:28px;width:28px;height:28px;color:#285780}
.skystaff-upload-copy strong{display:block;color:#183b64;font-size:13px}
.skystaff-upload-copy small{display:block;margin-top:4px;font-size:11px}
.skystaff-image-preview{position:relative;margin-top:10px;display:inline-block;max-width:180px}
.skystaff-image-preview:empty{display:none}
.skystaff-image-preview img{display:block;width:180px;height:115px;object-fit:cover;border-radius:12px;border:1px solid #e5dfea}
.skystaff-remove-image{position:absolute!important;right:7px;top:7px;width:28px;height:28px;border:0;border-radius:50%;background:#10294b;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.skystaff-remove-image .dashicons{font-size:16px;width:16px;height:16px}
.skystaff-help{display:block;margin-top:7px;color:#687789;font-size:11px;line-height:1.45}
.skystaff-announcement-targets{padding:15px;border:1px solid #e2e8f0;border-radius:13px;background:#f7f9fc}
.skystaff-announcement-targets>strong{display:block;color:#351d40;font-size:13px}
.skystaff-announcement-targets>small{display:block;color:#796a80;margin:4px 0 12px}
.skystaff-toggle{display:flex!important;align-items:center;gap:9px;margin:9px 0;color:#39233f;font-size:13px;font-weight:600}
.skystaff-toggle input{position:absolute!important;opacity:0;width:1px!important;height:1px!important}
.skystaff-toggle span{position:relative;width:38px;height:22px;background:#d8d0dc;border-radius:30px;display:inline-block;flex:0 0 auto;transition:.2s}
.skystaff-toggle span:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.2s}
.skystaff-toggle input:checked+span{background:#285780}
.skystaff-toggle input:checked+span:after{transform:translateX(16px)}
.skystaff-editor-box .skystaff-form-actions{position:sticky;bottom:-1px;background:#fff;border-top:1px solid #eee8f1;padding-top:15px;margin-top:20px;z-index:3}

@media (max-width:700px){
  .skystaff-editor-box{width:calc(100vw - 22px)!important;max-height:92vh!important;border-radius:18px!important}
  .skystaff-editor-box .skystaff-modal-head{padding:16px}
  .skystaff-editor-box form{padding:0 16px 16px}
  .skystaff-editor-box .skystaff-form-grid{grid-template-columns:1fr!important;gap:13px}
  .skystaff-editor-box .skystaff-form-actions{margin-left:-16px;margin-right:-16px;padding:13px 16px}
  .skystaff-upload-box{min-height:105px}
}

/* =========================================================
   v2.7.0 GALLERY BULK UPLOAD
========================================================= */
.skystaff-bulk-gallery-card{margin:0 0 16px;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,#f7f9fc)}
.skystaff-bulk-gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}.skystaff-bulk-gallery-head h3{margin:4px 0 5px;color:var(--purple);font-size:17px}.skystaff-bulk-gallery-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.5;max-width:700px}.skystaff-bulk-badge{padding:7px 10px;border-radius:99px;background:#fff3bd;color:#715900;font-size:9px;font-weight:900;white-space:nowrap}.skystaff-bulk-gallery-controls{display:grid;grid-template-columns:minmax(230px,1.5fr) 1fr .7fr auto;gap:10px;align-items:end}.skystaff-bulk-gallery-controls label:not(.skystaff-bulk-picker){display:block}.skystaff-bulk-gallery-controls label>span{display:block;font-size:9px;font-weight:800;color:#5c4964;margin-bottom:5px}.skystaff-bulk-gallery-controls select{width:100%;box-sizing:border-box;border:1px solid #e2dce7;background:#fff;border-radius:10px;padding:11px 10px;font:inherit;font-size:11px}.skystaff-bulk-picker{position:relative;min-height:74px;border:1.5px dashed #cbbbd3;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;overflow:hidden}.skystaff-bulk-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.skystaff-bulk-picker .dashicons{color:#285780}.skystaff-bulk-picker strong{font-size:11px;color:#183b64}.skystaff-bulk-picker small{font-size:8px;color:#8b7b92}.skystaff-bulk-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.skystaff-bulk-row{display:flex;align-items:center;gap:8px;min-width:0;padding:7px;border:1px solid #ebe4ee;border-radius:10px;background:#fff}.skystaff-bulk-thumb{width:34px;height:34px;flex:0 0 34px;border-radius:7px;background:#eee center/cover no-repeat}.skystaff-bulk-name{min-width:0;flex:1;font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skystaff-bulk-state{font-size:8px;color:#897a90;white-space:nowrap}.skystaff-bulk-row.working{border-color:#d7b8e4}.skystaff-bulk-row.done{border-color:#b8dfc9;background:#f4fbf7}.skystaff-bulk-row.done .skystaff-bulk-state{color:#2d8559;font-weight:800}.skystaff-bulk-row.failed{border-color:#e6bdc5;background:#fff7f8}.skystaff-bulk-row.failed .skystaff-bulk-state{color:#a23c50;font-weight:800}

/* =========================================================
   v2.7.0 COMMUNITY MODERATION
========================================================= */
.skystaff-community-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}.skystaff-community-summary>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 15px}.skystaff-community-summary span{display:block;color:var(--muted);font-size:9px}.skystaff-community-summary b{display:block;margin-top:4px;color:var(--purple);font-size:21px}.skystaff-community-table{min-width:980px}.skystaff-community-message-cell{max-width:330px;white-space:normal;line-height:1.45;font-size:10px;color:#4b3a52}.skystaff-community-remove,.skystaff-community-restore{border:0;border-radius:8px;padding:7px 9px;font:700 9px Inter,sans-serif;cursor:pointer}.skystaff-community-remove{background:#f8e9ec;color:#8e3a4c}.skystaff-community-restore{background:#e8f7ef;color:#25754f}
@media(max-width:900px){.skystaff-bulk-gallery-controls{grid-template-columns:1fr 1fr}.skystaff-bulk-gallery-controls .skystaff-primary{grid-column:1/-1}.skystaff-bulk-queue{grid-template-columns:1fr}}
@media(max-width:700px){.skystaff-bulk-gallery-head{flex-direction:column}.skystaff-bulk-gallery-controls{grid-template-columns:1fr}.skystaff-bulk-gallery-controls .skystaff-primary{grid-column:auto}.skystaff-community-summary{grid-template-columns:1fr}}


/* =========================================================
   v2.8.0 STAFF-INITIATED COMMUNITY + PRIVATE CHAT
========================================================= */
.skystaff-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.skystaff-community-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:14px;margin:0 0 16px}.skystaff-community-threads-card,.skystaff-community-chat-card{background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0;overflow:hidden}.skystaff-mini-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid #eee8f1}.skystaff-mini-head strong{display:block;color:var(--purple);font-size:12px}.skystaff-mini-head small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.skystaff-icon-btn{width:32px;height:32px;border:1px solid #e3dce7;background:#fff;border-radius:9px;color:var(--purple);cursor:pointer}.skystaff-live-pill{padding:5px 8px;border-radius:99px;background:#e8f7ef;color:#23764d;font-size:8px;font-weight:900}.skystaff-community-threads{max-height:360px;overflow:auto;padding:6px}.skystaff-thread-item{width:100%;display:flex;align-items:center;gap:9px;padding:10px;border:0;border-bottom:1px solid #f0ebf3;background:#fff;text-align:left;cursor:pointer;border-radius:10px}.skystaff-thread-item:hover,.skystaff-thread-item.active{background:#faf5fd}.skystaff-thread-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#183b64;color:#d7ad38;font-weight:900;font-size:10px}.skystaff-thread-copy{min-width:0;flex:1}.skystaff-thread-copy strong{display:block;color:#26364b;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skystaff-thread-copy small{display:block;color:#687789;font-size:8px;margin-top:2px}.skystaff-thread-copy em{display:block;color:#6c5b73;font-size:8px;font-style:normal;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skystaff-thread-item time{font-size:7px;color:#8d7d95;white-space:nowrap}.skystaff-staff-chat-feed{height:360px;overflow:auto;padding:15px;background:linear-gradient(180deg,#f7f9fc,#fff)}.skystaff-staff-chat-bubble{max-width:78%;margin:0 0 11px;padding:10px 12px;border:1px solid #e9e2ed;border-radius:13px 13px 13px 4px;background:#fff}.skystaff-staff-chat-bubble.mine{margin-left:auto;border-color:#d8c2e3;background:#f4f7fb;border-radius:13px 13px 4px 13px}.skystaff-staff-chat-author{display:flex;align-items:center;gap:6px;margin-bottom:5px}.skystaff-staff-chat-author strong{font-size:9px;color:#183b64}.skystaff-staff-chat-author span{font-size:7px;color:#8b7b92}.skystaff-staff-chat-author time{font-size:7px;color:#9b8ba2;margin-left:auto}.skystaff-staff-chat-text{font-size:10px;line-height:1.55;color:#49394f;white-space:pre-wrap;word-break:break-word}.skystaff-staff-chat-form{display:flex;gap:8px;padding:11px;border-top:1px solid #eee8f1;background:#fff}.skystaff-staff-chat-form textarea{flex:1;min-width:0;resize:none;border:1px solid #e2dce7;border-radius:10px;padding:10px;font:inherit;font-size:11px}.skystaff-staff-chat-form button{align-self:flex-end}.skystaff-community-start-box{max-width:680px!important}.skystaff-conversation-type{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 22px 16px}.skystaff-conversation-type button{border:1px solid #e1d9e6;background:#fff;border-radius:12px;padding:12px 10px;color:#55435d;font-weight:800;font-size:11px;cursor:pointer}.skystaff-conversation-type button.active{border-color:#285780;background:#f4f7fb;color:#21466f;box-shadow:0 0 0 2px rgba(108,41,144,.07)}.skystaff-conversation-fields{padding:0 22px}.skystaff-conversation-fields .skystaff-field{margin-bottom:14px}.skystaff-conversation-fields select,.skystaff-conversation-fields textarea{width:100%;box-sizing:border-box;border:1px solid #e2dce7;border-radius:11px;padding:12px;font:inherit;color:#10294b}.skystaff-conversation-fields textarea{resize:vertical}.skystaff-community-start-box .skystaff-form-actions{padding:15px 22px;border-top:1px solid #eee8f1;display:flex;justify-content:flex-end;gap:9px}.skystaff-community-start-box .skystaff-form-actions .skystaff-primary{display:inline-flex;align-items:center;gap:6px}
@media(max-width:900px){.skystaff-community-workspace{grid-template-columns:1fr}.skystaff-community-threads{max-height:230px}.skystaff-staff-chat-feed{height:320px}}
@media(max-width:700px){.skystaff-head-actions{align-items:stretch;flex-direction:column}.skystaff-head-actions>*{width:100%;box-sizing:border-box}.skystaff-staff-chat-bubble{max-width:90%}.skystaff-conversation-type{grid-template-columns:1fr;padding:0 16px 13px}.skystaff-conversation-fields{padding:0 16px}.skystaff-community-start-box{width:calc(100vw - 18px)!important}.skystaff-community-start-box .skystaff-modal-head{padding:16px}.skystaff-community-start-box .skystaff-form-actions{padding:13px 16px;flex-direction:column-reverse}.skystaff-community-start-box .skystaff-form-actions button{width:100%}}
.skystaff-nav-count.portal-request-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:auto;border-radius:999px;background:#d7ad38;color:#10294b;font-size:11px;font-weight:900;}
.portal-request-stat .skystaff-stat-icon{background:#d7ad38!important;color:#10294b!important;}
.skystaff-portal-approve{border:0;cursor:pointer;padding:9px 13px!important;font-size:12px!important;}
.skystaff-portal-alert{position:relative;cursor:pointer;}
.skystaff-portal-alert em{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#d7ad38;color:#10294b;font-size:9px;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:17px;}

.skystaff-sidebar-logout{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;border:1px solid rgba(215,173,56,.35);border-radius:10px;color:#fff;text-decoration:none;font-weight:800;background:rgba(255,255,255,.06)}.skystaff-sidebar-logout:hover{background:rgba(215,173,56,.14);color:#d7ad38}.skystaff-sidebar-logout .dashicons{font-size:17px;width:17px;height:17px}

/* Community Chat mobile refinement */
.skystaff-community-workspace{align-items:stretch;}
.skystaff-community-threads-card,.skystaff-community-chat-card{min-height:0;}
@media(max-width:700px){
  .skystaff-community-workspace{display:flex;flex-direction:column;gap:10px;}
  .skystaff-community-threads-card,.skystaff-community-chat-card{width:100%;box-sizing:border-box;}
  .skystaff-community-threads{max-height:190px;}
  .skystaff-staff-chat-feed{height:300px;max-height:52vh;}
  .skystaff-staff-chat-form{display:flex;align-items:stretch;padding:10px;gap:7px;}
  .skystaff-staff-chat-form textarea{min-height:44px;font-size:12px;}
  .skystaff-staff-chat-form button{min-width:76px;padding-left:12px;padding-right:12px;}
  .skystaff-thread-item{padding:9px 8px;}
  .skystaff-thread-avatar{width:32px;height:32px;flex-basis:32px;}
  .skystaff-staff-chat-bubble{max-width:88%;font-size:10px;}
}
