.staff-shell{width:min(1080px,100%);margin:0 auto;padding:48px clamp(18px,4vw,48px) 72px}
.staff-shell .page-header{align-items:flex-end;margin-bottom:28px}
.staff-shell .page-header h1{font-size:clamp(42px,6vw,68px);letter-spacing:-.07em;font-weight:500;margin:0}
.staff-shell .page-header p:not(.eyebrow){color:var(--muted);line-height:1.6;margin:12px 0 0}
.staff-shell .page-card{background:#e7e2d9;border-radius:18px;padding:clamp(22px,4vw,34px)}
.staff-shell .page-card h2{font-size:24px;font-weight:500;letter-spacing:-.04em;margin:0 0 16px}
#staff-auth-card{width:min(620px,100%);margin-inline:auto}
.staff-auth-form,.staff-product-form{display:grid;gap:16px;margin-top:20px}
.staff-auth-form[hidden]{display:none!important}
.staff-auth-form>.button{justify-self:center;width:auto;min-width:156px;min-height:44px;padding:11px 22px;border-radius:999px;font-size:11px}
.staff-auth-form label,.staff-product-form label{display:grid;gap:8px;font:11px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.staff-auth-form input,.staff-product-form input:not([type=file]),.staff-product-form select,.staff-product-form textarea{width:100%;min-height:46px;border:1px solid var(--line);border-radius:9px;background:#fffdfa;padding:12px 13px;color:var(--ink);font:14px Manrope,Arial,sans-serif;text-transform:none;letter-spacing:normal}
.staff-product-form textarea{resize:vertical;line-height:1.5}
.staff-product-form input[type=file]{width:100%;font:13px Manrope,Arial,sans-serif;text-transform:none;letter-spacing:normal}
.staff-product-form small{font:11px/1.5 Manrope,Arial,sans-serif;text-transform:none;letter-spacing:normal;color:var(--muted)}
.staff-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.staff-form-actions{display:flex;flex-wrap:wrap;gap:10px}
.staff-form-actions button{min-height:46px}
.staff-auth-switch{display:block;width:100%;min-height:46px;margin-top:16px;padding:12px 16px;border:1px solid var(--ink);border-radius:999px;background:transparent;text-decoration:none;cursor:pointer;color:var(--ink);font-size:12px;font-weight:600;transition:background .2s ease,color .2s ease}
.staff-auth-switch:hover{background:var(--ink);color:#fff}
.staff-permissions-note{margin-bottom:20px;background:#efe7d7!important;border:1px solid #ddcfae}
.staff-permissions-note h2{margin-bottom:8px!important}
.staff-permissions-note p:last-child{max-width:780px;color:#5e584e;line-height:1.7;margin-bottom:0}
.staff-work-grid{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(0,1.15fr);align-items:start;gap:20px}
.staff-product-list{display:grid;gap:12px}
.staff-product-row{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}
.staff-product-thumb{width:70px;aspect-ratio:.82;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:#d9d3c9;color:var(--muted);font-size:10px}
.staff-product-thumb img{width:100%;height:100%;object-fit:cover}
.staff-product-copy{min-width:0}
.staff-product-copy strong{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:600}
.staff-product-copy p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.staff-product-row button{min-height:40px;padding:8px 12px;font-size:10px}
.product-staff-list{margin-top:24px;border-top:1px solid var(--line)}
.product-staff-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}
.product-staff-row strong{font-size:13px;overflow-wrap:anywhere}
.product-staff-row small{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.product-staff-row button{min-height:40px;white-space:nowrap}
.staff-page .auth-status{min-height:18px;line-height:1.5}
.staff-page code{font-size:12px}
@media(max-width:820px){.staff-work-grid{grid-template-columns:minmax(0,1fr)}.staff-catalog-card{order:2}}
@media(max-width:560px){.staff-shell{padding:28px 16px 56px}.staff-shell .page-header{align-items:flex-start;flex-direction:column;gap:17px}.staff-shell .page-header .page-actions{width:100%}.staff-field-row{grid-template-columns:minmax(0,1fr)}.staff-product-row{grid-template-columns:56px minmax(0,1fr);gap:11px}.staff-product-thumb{width:56px}.staff-product-row button{grid-column:2;justify-self:start}.product-staff-row{align-items:flex-start;flex-direction:column}.product-staff-row button{width:100%}}
