/* Internal staff screens only. The public price reader does not load this file. */
@media screen {
 .staff-page,.staff-auth{--staff-ink:#17313f;--staff-muted:#647781;--staff-line:#dde5e9;--staff-red:#d92d3c;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#f4f6f7!important;color:var(--staff-ink);min-height:100vh;min-height:100dvh;line-height:1.45}
 .staff-page *,.staff-auth *{box-sizing:border-box}
 .staff-page [hidden],.staff-auth [hidden]{display:none!important}
 .staff-page a,.staff-auth a{color:var(--staff-ink);text-underline-offset:3px}
 .staff-page button,.staff-page input,.staff-page select,.staff-auth button{font:inherit}
 .staff-page button,.staff-page .btn,.staff-auth .btn{min-height:44px;border-radius:11px;font-weight:700;cursor:pointer}
 .staff-page .primary,.staff-auth .primary{background:var(--staff-red);color:#fff}
 .staff-page .secondary,.staff-auth .secondary{background:#fff;color:var(--staff-ink);border:1px solid var(--staff-line)}
 .staff-page :is(button,a,input,select):focus-visible,.staff-auth :is(button,a,input,select):focus-visible{outline:3px solid #257b71;outline-offset:3px}
 .staff-page :is(h1,h2,h3),.staff-auth h1{color:var(--staff-ink);letter-spacing:-.035em;line-height:1.18}
 .staff-page .muted{color:var(--staff-muted)}
 .staff-page .eyebrow,.staff-auth .eyebrow{color:#aa2835;letter-spacing:.1em}
 .staff-page .staff-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--staff-line);border-radius:11px;padding:10px 16px;background:white;text-decoration:none;font-weight:700}
 .staff-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
 /* The sign-in form stays in document flow when the software keyboard opens. */
 .staff-auth .auth-shell{width:min(460px,calc(100% - 32px));padding:36px 0 calc(28px + env(safe-area-inset-bottom))}
 .staff-auth .auth-brand{margin:0 0 20px}
 .staff-auth .auth-brand img{width:205px;background:transparent;border-radius:0;padding:0;max-height:76px;object-fit:contain}
 .staff-auth .auth-card{padding:28px;border:1px solid var(--staff-line);border-radius:20px;box-shadow:0 10px 34px #17313f08}
 .staff-auth .auth-card h1{font-size:28px;margin-bottom:8px}
 .staff-auth .auth-card>p{font-size:14px;color:var(--staff-muted);margin-bottom:20px}
 .staff-auth .field input,.staff-auth .field select{border-color:#cbd6dc;border-radius:10px;min-height:48px;font-size:16px;scroll-margin-block:16px}
 .staff-auth .auth-access-modes{background:#f4f6f7;border-color:var(--staff-line);margin-bottom:16px}
 .staff-auth .auth-access-modes a{min-height:44px}
 .staff-auth .auth-access-modes a[aria-current]{background:var(--staff-ink);color:white}
 .staff-auth .btn.wide{min-height:48px}
 /* Module home shows only the capabilities returned for this account. */
 .staff-modules .staff-workspace{max-width:1200px;margin:auto;padding:32px 28px calc(32px + env(safe-area-inset-bottom))}
 .staff-module-header{display:flex;align-items:center;gap:24px;justify-content:space-between;margin-bottom:28px;padding:24px 28px;background:white;border:1px solid var(--staff-line);border-radius:18px}
 .staff-module-header img{display:block;width:175px;height:auto}
 .staff-module-header h1{font-size:30px;margin:14px 0 6px}
 .staff-module-header p{margin:0;color:var(--staff-muted)}
 .staff-modules .prep-module-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .staff-modules .module-card{display:flex;align-items:flex-start;gap:16px;position:relative;padding:25px 22px;border:1px solid var(--staff-line);border-radius:16px;background:white;color:var(--staff-ink);text-decoration:none;min-height:170px;transition:border-color .15s,box-shadow .15s}
 .staff-modules .module-card:hover{border-color:#91aab6;box-shadow:0 6px 20px #17313f09}
 .module-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#fff0f1;color:#bd2634}
 .module-icon svg{width:24px;height:24px}
 .module-card strong{display:block;font-size:18px;margin:2px 0 9px;line-height:1.3}
 .module-card p{margin:0;color:var(--staff-muted);font-size:14px;line-height:1.5}
 .module-arrow{position:absolute;right:20px;bottom:14px;color:#8a9ca5;font-size:20px}
 /* Desktop directory and creation panel use the available width. */
 .staff-users .users-shell{width:min(1320px,calc(100% - 48px));margin:auto;padding:24px 0 40px}
 .staff-users .module-nav{margin:0 0 24px;gap:8px}
 .staff-users .module-nav a{min-height:44px;padding:10px 16px;border-color:var(--staff-line);color:var(--staff-ink);border-radius:11px}
 .staff-users .users-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
 .staff-users .users-head>.actions{display:flex!important;flex-shrink:0}
 .staff-users .users-title-wrap{display:flex;align-items:center;gap:24px}
 .staff-users .users-title-wrap>img{display:block!important;width:155px!important;height:auto;background:transparent;padding:0;border-radius:0}
 .staff-users .users-head h1{font-size:32px;margin:0 0 8px}
 .staff-users .users-head p{max-width:600px;font-size:14px;margin:0}
 .staff-users .users-summary{gap:14px;margin:24px 0}
 .staff-users .summary-card{border-color:var(--staff-line);box-shadow:none;border-radius:13px;padding:18px}
 .staff-users .summary-card strong{color:var(--staff-ink)}
 .staff-users .users-grid{grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start}
 .staff-users .panel{padding:22px;border-color:var(--staff-line);border-radius:16px}
 .staff-users .user-row{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:18px;border-color:var(--staff-line)}
 .staff-users .user-copy strong{white-space:normal;overflow-wrap:anywhere;font-size:16px}
 .staff-users .user-actions{max-width:none;justify-content:flex-start;align-items:end;padding-top:14px;border-top:1px solid #edf1f3}
 .staff-users .user-home-control{flex:1;min-width:180px}
 .staff-users .prep-permissions{flex:1;min-width:210px;align-self:stretch;border-color:var(--staff-line);font-size:13px}
 .staff-users .user-actions .btn{min-height:42px;font-size:13px}
 .staff-users .user-home-control select{min-height:44px;font-size:14px}
 .staff-users .users-search input{min-height:48px;background:#f7f9fa;border-color:var(--staff-line)}
 .staff-users .field input,.staff-users .field select{border-color:#cbd6dc;border-radius:10px}
 /* Settings cards retain every existing control and connection. */
 .staff-settings .wrap{max-width:1320px;margin:auto;padding:28px 24px 40px}
 .staff-settings header{gap:24px;margin-bottom:24px;flex-wrap:wrap}
 .staff-settings header img{width:155px}
 .staff-settings h1{font-size:32px;margin:14px 0 0}
 .staff-settings nav{gap:8px}
 .staff-settings .staff-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
 .staff-settings .staff-settings-grid>section{min-width:0;margin:0;padding:25px;border:1px solid var(--staff-line);border-radius:16px;box-shadow:none}
 .staff-settings .staff-settings-grid>section:last-child{grid-column:1/-1}
 .staff-settings h2{font-size:21px;margin:0 0 12px}
 .staff-settings p{font-size:14px;color:var(--staff-muted)}
 .staff-settings .row{gap:14px;padding:18px 0}
 .staff-settings .row strong{min-width:100%;font-size:16px;overflow-wrap:anywhere}
 .staff-settings .row strong small{display:block;font-weight:400;margin-top:4px}
 .staff-settings label{min-height:44px;font-size:14px;gap:10px}
 .staff-settings input[type=checkbox]{accent-color:#167554;width:21px;height:21px;flex-shrink:0}
 .staff-settings .table{border:1px solid var(--staff-line);border-radius:11px;margin-top:18px}
 .staff-settings th{background:#f5f7f8;color:var(--staff-muted);white-space:nowrap}
 .staff-settings td{overflow-wrap:anywhere;min-width:110px}
 .staff-settings #message:empty{display:none}
 .staff-settings #message:not(:empty){padding:14px;background:#fff5e3;border-radius:10px}
 /* Label screen only: the 70 x 30 mm artwork is unchanged. */
 .staff-labels>header{padding:22px max(24px,calc((100vw - 1272px)/2));gap:20px}
 .staff-labels main{max-width:1320px;padding:24px}
 .staff-labels .card{padding:24px;border-color:var(--staff-line);border-radius:15px}
 .staff-labels .stationbar{gap:20px;padding:18px 22px}
 .staff-labels .stationbar label{min-width:240px}
 .staff-labels .stationbar select{min-height:46px}
 .staff-labels #workspace>nav{gap:8px;margin:20px 0;padding:6px;background:#e9eef0;border-radius:13px;flex-wrap:wrap}
 .staff-labels .tab{flex:1;padding:12px 16px;white-space:nowrap;font-size:14px;color:var(--staff-muted)}
 .staff-labels .tab.active{background:var(--staff-ink);color:white}
 .staff-labels .scan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0}
 .staff-labels .scan-grid>.card{min-width:0;margin:0}
 .staff-labels .row{flex-wrap:wrap}
 .staff-labels button:not(.secondary):not(.tab):not(.match){background:var(--staff-red);color:white}
 .staff-labels .controls{align-items:end}
 .staff-labels .controls button{margin-left:0}
 .staff-labels .item{padding:20px;border-radius:13px;gap:18px}
 .staff-labels .item .description{overflow-wrap:anywhere}
 .staff-labels .settings{max-width:none}
 .staff-labels .settings form{max-width:620px}
 .staff-labels .preview{width:100%;max-width:600px;min-width:0}
 .staff-labels .preview.empty{min-height:0;max-width:100%;padding:12px;text-align:center}
 .staff-labels footer{padding:24px 24px calc(24px + env(safe-area-inset-bottom));max-width:1320px;line-height:1.5}
 @media(min-width:1550px){.staff-users .users-shell{width:min(1440px,calc(100% - 64px))}.staff-users .users-grid{grid-template-columns:340px minmax(0,1fr)}}
 @media(max-width:1050px){
  .staff-users .users-shell{width:100%!important;padding:22px!important;margin:auto!important}
  .staff-users .users-head{display:flex!important;padding:0!important;align-items:flex-start;flex-direction:column}
  .staff-users .users-title-wrap{display:flex}.staff-users .users-title-wrap>img{width:130px!important}
  .staff-users .users-head h1{font-size:28px!important}.staff-users .users-head p{font-size:14px!important}
  .staff-users .users-grid{grid-template-columns:1fr!important}.staff-users .panel{padding:22px!important}
  .staff-modules .prep-module-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 @media(max-width:760px){
  .staff-auth .auth-shell{width:min(440px,calc(100% - 24px));padding-top:max(16px,env(safe-area-inset-top))}
  .staff-auth .auth-brand{margin-bottom:12px}.staff-auth .auth-brand img{width:145px;max-height:52px}
  .staff-auth .auth-card{padding:20px;border-radius:16px}.staff-auth .auth-card h1{font-size:25px}
  .staff-auth .auth-card>p{margin-bottom:16px}.staff-auth .field{margin:12px 0}
  .staff-auth.staff-field-focus .auth-brand{margin-bottom:6px}.staff-auth.staff-field-focus .auth-brand img{width:100px;max-height:32px}
  .staff-auth.staff-field-focus .auth-card{padding:16px}.staff-auth.staff-field-focus .auth-card>.eyebrow,.staff-auth.staff-field-focus .auth-card>p:not(.eyebrow){display:none}
  .staff-auth.staff-field-focus .auth-card h1{font-size:21px;margin-bottom:12px}
  .staff-auth.staff-field-focus .auth-access-modes{margin-bottom:10px;padding:3px}.staff-auth.staff-field-focus .auth-access-modes a{min-height:38px;font-size:13px}
  .staff-modules .staff-workspace{padding:16px 14px calc(24px + env(safe-area-inset-bottom))}
  .staff-module-header{display:block;padding:22px;margin-bottom:16px}.staff-module-header img{width:140px}.staff-module-header h1{font-size:27px}
  .staff-module-header .staff-link{margin-top:16px}.staff-modules .prep-module-list{grid-template-columns:1fr;gap:12px}
  .staff-modules .module-card{min-height:135px;padding:20px}.module-card strong{font-size:17px;margin-bottom:6px}
  .staff-users .users-shell{padding:18px 14px calc(24px + env(safe-area-inset-bottom))!important}
  .staff-users .users-title-wrap{display:block}.staff-users .users-title-wrap>img{margin-bottom:18px}
  .staff-users .users-head>.actions{width:100%}.staff-users .users-head>.actions .btn{margin-left:auto}
  .staff-users .summary-card{padding:14px}.staff-users .panel{padding:18px!important}
  .staff-users .user-row{padding:16px}.staff-users .user-actions .btn{flex:1;min-width:110px}
  .staff-users .user-home-control,.staff-users .prep-permissions{min-width:100%;width:100%}
  .staff-settings .wrap{padding:20px 14px calc(24px + env(safe-area-inset-bottom))}.staff-settings header{display:block}
  .staff-settings h1{font-size:27px}.staff-settings header nav{margin-top:18px}
  .staff-settings .staff-settings-grid{grid-template-columns:1fr;gap:16px}.staff-settings .staff-settings-grid>section{padding:20px}
  .staff-settings .btn{font-size:14px}.staff-settings th,.staff-settings td{padding:12px}
  .staff-labels>header{padding:18px 16px;display:block}.staff-labels .staff-header-actions{margin-top:16px}
  .staff-labels main{padding:16px}.staff-labels h1{font-size:25px}.staff-labels .card{padding:20px}
  .staff-labels .stationbar{display:grid;grid-template-columns:1fr;gap:12px}.staff-labels .stationbar label{min-width:0}
  .staff-labels #workspace>nav{flex-wrap:nowrap;overflow-x:auto;padding:5px}.staff-labels .tab{flex:none;font-size:13px;padding:12px}
  .staff-labels .scan-grid{grid-template-columns:1fr;gap:16px}.staff-labels .item .price{margin:0;font-size:20px}
  .staff-labels .sectionhead{align-items:stretch;flex-direction:column;gap:12px}.staff-labels .item .actions{width:100%}
  .staff-labels .item .actions button{flex:1}.staff-labels .login{margin:12px auto}.staff-labels footer span{float:none;display:block;margin-top:6px}
 }
 @media(max-height:480px) and (max-width:760px){.staff-auth .auth-shell{padding-top:8px}.staff-auth .auth-brand{margin-bottom:6px}.staff-auth .auth-brand img{width:100px;max-height:32px}.staff-auth .auth-card{padding:16px}.staff-auth .auth-card>.eyebrow{display:none}}
 @media(prefers-reduced-motion:reduce){.staff-modules .module-card{transition:none}}
}
