/* GOJD VD-07D — staff manager / mobile application shell.
   Sharp geometry, bounded forms, no horizontal scrolling. */
.gojd-staff-auth-form{display:grid;gap:12px;padding:18px 0;margin:10px 0;border-top:1px solid #dce5dd;min-width:0}
.gojd-staff-auth-form label,.gojd-staff-activation-form label,.staff-invite-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.8rem;font-weight:700;color:#294337}
.gojd-staff-auth-form input,.gojd-staff-activation-form input,.staff-invite-form input,.staff-invite-form select,.staff-member-actions select{
 min-width:0;width:100%;box-sizing:border-box;padding:11px 12px;min-height:43px;line-height:1.3;background:#fff;
 border:1px solid #c3d0c5;border-radius:0;color:#15251f;font-size:.84rem;outline-offset:1px}
.gojd-staff-auth-form input:focus,.gojd-staff-activation-form input:focus,.staff-invite-form input:focus,.staff-member-actions select:focus{outline:2px solid #bef784}
.gojd-staff-auth-form button,.gojd-staff-activation-form button,.staff-invite-form button{width:100%;min-height:44px;justify-content:center;border-radius:0}
.staff-activate-link{color:#224c2a;font-size:.78rem;text-decoration:underline}
.gojd-staff-activation .merchant-hero{margin-bottom:0}
.gojd-staff-activation .container{max-width:700px!important}
.gojd-staff-activation-form{max-width:500px;display:grid;gap:15px;margin:0 auto;padding:18px 0}
.gojd-staff-activation-form small{font-size:.73rem;color:#576d5c;line-height:1.5}
.staff-grid{display:grid;grid-template-columns:minmax(240px,350px) minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.staff-box{min-width:0;border:1px solid #dce4d9;background:#fff;padding:21px}
.staff-box h3{margin:0 0 17px;font-size:1.06rem}
.staff-invite-form{display:grid;gap:14px}
.staff-box-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #dce4da;padding-bottom:13px}
.staff-box-head h3{margin:0}.staff-box-head small{color:#647564}
.staff-members{display:flex;flex-direction:column;gap:0}
.staff-member{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:14px;padding:14px 0;border-bottom:1px solid #dce4da;min-width:0}
.staff-member:last-child{border:0}
.staff-member-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.staff-member-info strong,.staff-member-info small{overflow-wrap:anywhere}
.staff-member-info strong{font-size:.83rem}.staff-member-info small{color:#66796e;font-size:.72rem}
.staff-member-info span{font-size:.7rem;font-weight:700;color:#2c5939}
.staff-member-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:end;justify-content:flex-start;min-width:0}
.staff-member-actions label{flex:1 1 130px;min-width:110px;font-size:.66rem;color:#506654}
.staff-member-actions select{margin-top:5px;font-size:.73rem;min-height:38px;padding:6px}
.staff-member-actions button{min-height:38px;font-size:.72rem;padding:8px 11px;border-radius:0}
.staff-info{color:#667969;font-size:.74rem;line-height:1.5;margin:16px 0 0;max-width:85ch}
.staff-invite-once{background:#f1fae4;border:1px solid #a5c882;border-left:4px solid #8ccd42;margin-top:18px;padding:18px;display:flex;flex-direction:column;gap:10px}
.staff-invite-once strong{font-size:.9rem}.staff-invite-once p{font-size:.76rem;color:#38503e;margin:0}
.staff-invite-code{display:flex;align-items:center;gap:12px;min-width:0}
.staff-invite-code code{flex:1;display:block;background:#fff;border:1px solid #cadacb;padding:11px;overflow-wrap:anywhere;min-width:0;user-select:all;font-size:.76rem}
.staff-invite-code button{flex-shrink:0;border-radius:0}
.staff-invite-once>.btn{align-self:flex-start}
@media(max-width:1130px){.staff-grid{grid-template-columns:1fr}.staff-member{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.staff-box{padding:13px}.staff-member{gap:7px}.staff-member-actions{gap:6px}.staff-invite-code{flex-direction:column;align-items:stretch}.gojd-staff-activation-form{padding:12px 0}.staff-box-head{flex-wrap:wrap;gap:8px}}
