/* Solarin staff visual v3: scoped to new pages; no original stylesheet or API changed. */
:root{--bg:#2F3B4C;--panel:#232C39;--cream:#E6D6BF;--muted:#c6d0d8;--edge:#445064;--green:#79A471}*{box-sizing:border-box}html{min-height:100%}body.staff-site{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--cream);font-family:Oswald,'Arial Narrow',Arial,sans-serif;position:relative}body.staff-site:before{content:"";position:fixed;z-index:-1;inset:auto 0 0;height:min(230px,24vh);background:url('hatarok-solarin.png') center bottom/100% 100% no-repeat;pointer-events:none}a{color:inherit}.staff-navbar{height:82px;min-height:82px;background:#232C39;border-bottom:1px solid #151b24;display:flex;align-items:center;justify-content:space-between;padding:8px 25px;position:relative;z-index:10;box-shadow:0 8px 24px rgba(0,0,0,.12);gap:20px}.staff-navbar .brand{display:flex;align-items:center;text-decoration:none}.staff-navbar .logo-box{display:flex;align-items:center;justify-content:center;width:174px;height:62px;background:#ECEDEF;border:1px solid #111923;border-radius:10px}.staff-navbar .logo-box img{display:block;max-width:145px;max-height:53px;object-fit:contain}.staff-navbar .navlinks{display:flex;align-items:center;gap:24px}.staff-navbar .navlinks a{font-size:16px;text-decoration:none;color:#DADEE2}.staff-navbar .navlinks a:hover{color:var(--cream)}.staff-navbar .menu-toggle{display:none;background:transparent;border:1px solid #607080;color:var(--cream);font:inherit;padding:5px 12px;border-radius:8px;cursor:pointer}.staff-main{position:relative;z-index:1;width:min(1250px,100%);margin:45px auto 90px;padding:0 24px;flex:1}.intro{text-align:center;margin:0 0 35px}.eyebrow{font-size:12px;letter-spacing:.23em;color:#bdcbd8}.intro h1{font-size:clamp(38px,5vw,58px);margin:12px 0;color:var(--cream)}.intro p{font-size:17px;color:#d3dce3}.intro-line{height:1px;width:92px;background:linear-gradient(90deg,transparent,var(--cream),transparent);margin:10px auto 20px}.staff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.staff-card{background:var(--panel);border:1px solid #536072;border-radius:16px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.staff-card:hover{transform:translateY(-5px);border-color:var(--cream);box-shadow:0 0 24px rgba(230,214,191,.27)}.staff-card img{display:block;width:100%;aspect-ratio:870/1080;object-fit:contain;background:#344251}.staff-card .info{padding:18px 20px}.staff-card h2{margin:0 0 7px;font-size:24px}.staff-card .role{margin:0 0 12px;font-size:17px}.staff-card .phone{color:#d8dce1;text-decoration:none}.staff-card .phone:hover{text-decoration:underline}.notice{padding:20px;text-align:center;color:var(--muted)}.notice:empty{display:none}.panel{background:#232C39;border:1px solid #455267;border-radius:16px;padding:22px;box-shadow:0 10px 28px rgba(0,0,0,.08)}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.admin-head h2{margin:0 0 12px}.staff-table{width:100%;border-collapse:collapse;margin-top:18px}.staff-table th,.staff-table td{padding:14px 12px;border-bottom:1px solid #3e495b;text-align:left}.staff-table th{color:var(--cream);background:#1e2835}.staff-table td{color:#dce0e5}.staff-table .staff-name{font-weight:500;color:var(--cream)}.staff-table img{width:52px;height:65px;object-fit:cover;border-radius:8px;border:1px solid #607085}.empty-photo{color:#aab6c3}.button{font:inherit;border-radius:8px;background:#304459;border:1px solid #587393;color:var(--cream);padding:9px 13px;cursor:pointer;transition:background .15s,border-color .15s}.button:hover:not(:disabled){background:#3b536c;border-color:#91a7bd}.button:disabled{opacity:.45;cursor:not-allowed}.button.primary{background:#235548;border-color:#39896f}.button.danger{background:#403039;border-color:#8a4550;color:#f4b7bf}.table-wrap{overflow-x:auto;border-radius:10px}.subtext{color:#b9c8d5;font-size:14px}.message{margin:14px 0;min-height:24px}.staff-switch{display:inline-flex;position:relative;width:47px;height:26px;cursor:pointer;vertical-align:middle}.staff-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.switch-track{width:100%;height:100%;background:#5b6572;border:1px solid #7b8592;border-radius:20px;transition:background .18s}.switch-track:before{content:"";display:block;width:18px;height:18px;margin:3px;background:#f0f2f3;border-radius:50%;transition:transform .18s}.staff-switch input:checked+.switch-track{background:#278664;border-color:#4bba93}.staff-switch input:checked+.switch-track:before{transform:translateX(21px)}.staff-switch input:focus-visible+.switch-track{outline:2px solid var(--cream);outline-offset:3px}.staff-switch input:disabled+.switch-track{opacity:.55}.staff-dialog{background:#232C39;color:var(--cream);border:1px solid #64768a;border-radius:16px;width:min(460px,calc(100vw - 26px));max-height:90vh;overflow:auto;padding:22px;box-shadow:0 25px 80px #0009;font:inherit}.staff-dialog::backdrop{background:#0b1421b8;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top h2{margin:0}.dialog-close{background:none;border:0;color:var(--cream);font:inherit;font-size:28px;cursor:pointer}.dialog-person{color:#c4d0dc}.dialog-preview{width:min(205px,100%);aspect-ratio:870/1080;background:#354456;border:1px dashed #728093;border-radius:12px;margin:15px auto;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;color:#c2cbd5}.dialog-preview img{width:100%;height:100%;object-fit:contain;border-radius:8px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.staff-site>footer{position:relative;z-index:2;background:rgba(35,44,57,.38);border-top:1px solid rgba(230,214,191,.12);backdrop-filter:blur(5px);padding:18px 27px;color:#99a5b1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}body.staff-site>footer .eco-link{grid-column:2;color:var(--cream);text-decoration:none;font-weight:500}body.staff-site>footer .copyright{grid-column:1;grid-row:1}@media(max-width:900px){.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.staff-navbar{height:70px;min-height:70px;padding:6px 13px}.staff-navbar .logo-box{height:54px;width:150px}.staff-navbar .logo-box img{max-width:125px}.staff-navbar .menu-toggle{display:block}.staff-navbar .navlinks{display:none;position:absolute;top:70px;left:12px;right:12px;flex-direction:column;align-items:stretch;background:#232C39f7;border:1px solid var(--edge);border-radius:14px;padding:12px;box-shadow:0 18px 38px #0005;gap:0}.staff-navbar .navlinks.open{display:flex}.staff-navbar .navlinks a{padding:10px;text-align:center}.staff-main{margin-top:28px;padding:0 16px}.staff-table{min-width:760px}body.staff-site>footer{display:flex;flex-direction:column;gap:10px;text-align:center}}@media(max-width:550px){.staff-grid{grid-template-columns:1fr}.panel{padding:14px}.intro h1{font-size:40px}}@media(prefers-reduced-motion:reduce){.staff-card{transition:none}.staff-card:hover{transform:none}}

/* V4: exact shared Solarin layout; disable v3 standalone background and navbar rules */
body.staff-site.staff-v4{display:flex;flex-direction:column;min-height:100vh;background-color:#2F3B4C;background-image:radial-gradient(circle at 50% -20%,rgba(230,214,191,.07),transparent 35rem),url('everest.png');background-repeat:no-repeat,repeat-x;background-position:center top,left bottom;background-size:auto,auto 245px;background-attachment:scroll,fixed;color:#E6D6BF}
body.staff-site.staff-v4::before{content:none!important;background:none!important}
body.staff-v4 .navbar{height:82px;min-height:82px;padding:8px 25px;position:sticky;top:0;display:flex;justify-content:initial;gap:0}
body.staff-v4 .navbar .logo-box{height:62px;width:220px;border:2px solid #080b0f;border-radius:8px;padding:6px 10px}
body.staff-v4 .navbar .logo-box img{max-width:none;max-height:none;width:100%;height:100%;object-fit:contain}
body.staff-v4 .navbar .navlinks{margin-left:auto;gap:8px;display:flex}
body.staff-v4 .navbar .navlinks a{font-size:17px;font-weight:600;padding:11px 14px;border-radius:11px}
body.staff-v4 .navbar .navlinks a:hover{background:rgba(230,214,191,.055)}
body.staff-v4 .navbar .navlinks .auth-only,body.staff-v4 .navbar .navlinks .admin-only{display:none}
body.staff-v4.logged-in .navbar .navlinks .auth-only{display:block}
body.staff-v4.is-admin .navbar .navlinks .admin-only{display:block}
body.staff-v4.logged-in .navbar .navlinks .guest-only{display:none}
body.staff-v4 .staff-main{width:min(1250px,100%);margin:42px auto 76px;padding:0 24px;flex:1;min-height:0}
body.staff-v4 .staff-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
body.staff-v4 .staff-card{min-width:0}
body.staff-v4 .staff-card img{width:100%;height:auto;aspect-ratio:870/1080;object-fit:contain}
body.staff-v4 .staff-card .info{padding:13px 15px 17px}
body.staff-v4 .staff-card h2{font-size:21px;overflow-wrap:anywhere}
body.staff-v4 .staff-card .role{font-size:15px}
body.staff-v4 .staff-main .intro{margin-bottom:30px}
body.staff-v4 .staff-main .intro h1{line-height:1.15}
body.staff-v4 .staff-main .panel{background:#232C39}
body.staff-v4 .staff-table{min-width:760px}
body.staff-v4 .table-wrap{overflow-x:auto;max-width:100%}
body.staff-v4 .staff-dialog{position:fixed;inset:0;margin:auto}
body.staff-v4>footer{margin-top:auto}
.staff-admin-toolbar-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;font-family:inherit;font-weight:600}
@media(max-width:1150px){body.staff-v4 .staff-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){body.staff-v4 .staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.staff-v4 .navbar{height:70px;min-height:70px;padding:6px 13px}body.staff-v4 .navbar .logo-box{height:54px;width:174px}body.staff-v4 .navbar .menu-toggle{display:block}body.staff-v4 .navbar .navlinks{display:none;position:absolute;top:70px;left:12px;right:12px;flex-direction:column;align-items:stretch;gap:0;padding:10px}body.staff-v4 .navbar .navlinks.open{display:flex}body.staff-v4 .staff-main{margin-top:25px;padding:0 16px}body.staff-v4 .staff-grid{gap:14px}}
@media(max-width:550px){body.staff-v4 .staff-grid{grid-template-columns:1fr;max-width:340px;margin-left:auto;margin-right:auto}}

/* v4.1: phone copy control */
body.staff-v4 .staff-card button.phone{display:inline-block;background:transparent;border:0;padding:0;color:#d8dce1;font:inherit;text-align:left;cursor:pointer;text-decoration:none}body.staff-v4 .staff-card button.phone:hover{text-decoration:underline;color:#E6D6BF}body.staff-v4 .staff-card button.phone:focus-visible{outline:2px solid #E6D6BF;outline-offset:4px;border-radius:2px}body.staff-v4 .staff-card .phone-copy-feedback{display:block;min-height:1.3em;font-size:13px;color:#9bdfb4;margin-top:5px}

/* v4.2: the phone number is the final visible card element. */
body.staff-v4 .staff-card .phone-copy-feedback{display:none!important}
body.staff-v4 .staff-card .info{padding-bottom:12px}
body.staff-v4 .staff-card .role{margin-bottom:8px}
