/* Shared store controls: consistent sizing across registration, profile and shift editors. */
.venue-choices{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0;min-width:0}
.venue-choice,.admin-page [data-screen="shifts"] .admin-shift-editor .venue-choice{position:relative;display:block;flex:1 1 0;min-width:0;margin:0;cursor:pointer}
.venue-choice>input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
.venue-choice>.venue-choice-label{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 20px;border:1px solid #dce0e7;border-radius:12px;background:#fff;color:#475569;font-size:14px;font-weight:650;line-height:1.4;pointer-events:none}
.venue-icon{flex:none;font-size:20px;line-height:1.2}
.venue-name{white-space:nowrap}
.venue-choice input:checked+.venue-choice-label{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:var(--red-soft);color:#b90020}
.venue-choice input:checked+.venue-choice-label:after{content:'✓';position:absolute;right:6px;top:4px;font-size:11px;line-height:1}
.venue-choice input:focus-visible+.venue-choice-label{outline:3px solid #7189ce;outline-offset:3px}
.venue-choice input:disabled+.venue-choice-label{opacity:.5}
.venue-choice[hidden],[data-support-options][hidden]{display:none!important}
.venue-registration{min-width:0;padding:0;margin:0 0 18px;border:0}
.venue-registration legend{padding:0;color:#344054;font-size:14px;font-weight:650}
.venue-required{margin-left:6px;color:#667085;font-size:12px;font-weight:400}
[data-home-venue-panel]{padding:20px 0;margin-bottom:20px;border-bottom:1px solid #e5e7eb;min-width:0}
[data-home-venue-panel] h3{margin:0 0 6px;font-size:17px;line-height:1.4}
[data-home-venue-panel] p{margin:8px 0 0;line-height:1.6}
[data-home-venue-panel] .venue-choices{margin:12px 0}
.venue-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.venue-profile-actions .btn{min-height:44px;margin:0;font-size:14px}
.venue-support{min-width:0;margin:18px 0;padding:10px 14px 14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafbfc}
.venue-support legend{padding:0 6px;font-size:14px;font-weight:650;color:#344054}
.venue-support .support-toggle,.admin-page [data-screen="shifts"] .admin-shift-editor .support-toggle{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;color:#344054;font-size:14px;font-weight:600;cursor:pointer}
.venue-support .support-toggle input{appearance:auto;flex:0 0 18px;width:18px!important;height:18px;min-height:18px;margin:0;padding:0;border-radius:4px;accent-color:var(--red);box-shadow:none}
.venue-support .support-toggle input:focus-visible{outline:2px solid #7189ce;outline-offset:3px}
.venue-support .account-meta{margin:8px 0 0;font-size:13px;line-height:1.5}
.venue-badge{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;max-width:100%;min-height:26px;padding:3px 8px;background:#f2f4f7;border-radius:8px;font-size:12px;font-weight:600;line-height:1.5;color:#475569;margin:0;white-space:nowrap}
.venue-payroll-group{display:grid;gap:12px;margin-bottom:24px;min-width:0}
.venue-payroll-heading{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e5e7eb}
.venue-payroll-heading h3{margin:0;font-size:17px;line-height:1.4}
.venue-payroll-heading>span{font-size:13px;color:#64748b;line-height:1.6}
.venue-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 20px}
.venue-filter label{margin:0;font-size:14px;white-space:nowrap}
.venue-filter select{width:200px;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid #dce0e7;border-radius:10px;background:#fff;font-size:14px}
.venue-transfer{padding:12px 14px;border-top:1px solid #e5e7eb;font-size:13px;background:#fafbfc}
.venue-transfer-description{margin:0 0 10px;font-weight:600;color:#475569}
.venue-transfer-actions,.venue-transfer [data-venue-confirmation]{display:flex;flex-wrap:wrap;gap:8px}
.venue-transfer .btn{min-height:44px;margin:0;font-size:13px;padding:0 14px}
.venue-transfer [data-venue-confirmation]{margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb}
.venue-transfer [data-venue-confirmation] p{flex-basis:100%;margin:0;line-height:1.6}

/* Personnel is organized by home store, with account status inside each section. */
.staff-venue-section{min-width:0;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff}
.staff-venue-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#f8fafc;border-bottom:1px solid #e5e7eb}
.staff-venue-header h3{margin:0;font-size:18px;line-height:1.4;color:#1e293b}
.staff-venue-count{flex:none;min-width:48px;padding:3px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#475569;font-size:13px;text-align:center}
.staff-venue-body{padding:16px 18px}
.staff-venue-body .admin-staff-group{margin:0 0 18px}
.staff-venue-body .admin-staff-group:last-child{margin-bottom:0}
.staff-venue-body .admin-staff-group-title{font-size:14px}
.staff-venue-body .admin-staff-group-body{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:start}
.staff-venue-note,.staff-venue-empty{margin:0;color:#64748b;font-size:13px;line-height:1.6}
.staff-venue-note{margin-bottom:14px}
.staff-venue-empty{padding:12px 0}
@media(max-width:700px){
  .staff-venue-header{padding:13px 12px}
  .staff-venue-header h3{font-size:17px}
  .staff-venue-body{padding:12px}
  .staff-venue-body .admin-staff-group-body{grid-template-columns:minmax(0,1fr)}
  .admin-page [data-screen="staff"] [data-admin-staff-list] .staff-venue-section .admin-staff-card-trigger{padding:12px 10px;gap:8px}
}

/* Contain employee identity without squeezing its name, store or action buttons. */
.staff-demo .page{min-width:0}
.staff-demo .guest-shell{max-width:640px;margin-left:auto;margin-right:auto}
.staff-demo.is-staff-logged-in .logged-shell{width:100%!important;max-width:760px;min-width:0;grid-template-columns:minmax(0,1fr);margin:24px auto 0!important}
.logged-shell>.account-card{width:100%!important;min-width:0;display:grid!important;grid-template-columns:minmax(0,1fr) 112px;gap:16px!important}
.logged-shell .account-card .account-left{width:auto!important;min-width:0!important;flex:1 1 auto!important}
.account-identity{min-width:0;flex:1}
.account-name-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
.logged-shell .account-card .account-name{min-width:0;white-space:normal!important;overflow-wrap:anywhere;line-height:1.4!important}
.logged-shell .account-card .account-meta{margin-top:4px;white-space:normal!important;overflow-wrap:anywhere}
.logged-shell .account-card .account-actions{margin:0!important}
.avatar-setting-card .account-left{flex:1;min-width:0}
.avatar-setting-card .account-name{font-size:16px!important;white-space:normal;line-height:1.4}
.avatar-setting-card .avatar-select-btn{flex:none;min-height:44px;font-size:14px}
.guest-shell .staff-card{padding:24px!important}
.guest-shell .staff-card .card-title,.guest-shell .staff-card h2,.guest-shell .staff-card .card-desc,.guest-shell .field label{padding-left:0!important;margin-left:0!important}
.guest-shell .field label{font-size:14px;font-weight:650}
.guest-shell .staff-card .note{margin:4px 0 14px}
.guest-shell .staff-card>.btn-primary{min-height:48px}

/* Keep navigation backgrounds and labels centered without a downward shadow. */
@media(min-width:701px){
  .admin-page .admin-tabs{grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:8px;padding:8px}
  .admin-page .admin-tabs .tab{display:flex;align-items:center;justify-content:center;min-width:0;height:44px;min-height:44px;margin:0;padding:0 8px;line-height:1.4}
  .admin-page .admin-tabs .tab.active{box-shadow:none}
}

/* Keep shift facts and actions aligned at every breakpoint, not just desktop. */
.admin-page [data-screen="shifts"] .admin-shift-primary-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:8px;color:#64748b;font-size:13px;line-height:1.6}
.admin-page [data-screen="shifts"] .admin-shift-primary-meta>span{max-width:100%}
.admin-page [data-screen="shifts"] .admin-shift-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.admin-page [data-screen="shifts"] .admin-shift-venue-title{flex:none}
.admin-page [data-screen="shifts"] .admin-shift-card-main{min-width:0}
.admin-page [data-screen="shifts"] .admin-shift-card-main>.shift-head{min-width:0}
.admin-page [data-screen="shifts"] .admin-shift-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-page [data-screen="shifts"] .admin-shift-editor-grid>label,.admin-page [data-screen="shifts"] .admin-shift-position-editor>label{display:grid;gap:6px;min-width:0;margin:0;color:#475569;font-size:13px;font-weight:650}
.admin-page [data-screen="shifts"] .admin-shift-editor-wide{grid-column:1/-1}
.admin-page [data-screen="shifts"] .admin-shift-position-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.admin-page [data-screen="shifts"] .admin-shift-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.admin-page [data-screen="shifts"] .admin-shift-editor-actions .btn{min-height:44px;min-width:88px}
.admin-page [data-screen="staff"] [data-admin-staff-list] .admin-staff-card{padding:0;gap:0;overflow:hidden}
.admin-page .staff-card-badges{align-items:center;gap:6px;margin-top:6px}
.admin-page .staff-card-badges .badge,.admin-page .staff-card-badges .venue-badge{min-height:26px;font-size:12px!important;line-height:1.5}
.admin-page [data-screen="staff"] [data-admin-staff-list] .staff-name{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.att-export-date-row{align-items:flex-end}
.att-export-date-row>span{padding-bottom:12px}
.att-export-date-wrapper .export-date-label{font-size:12px;font-weight:500;color:#667085;margin:0 0 6px}
@media(min-width:1101px){
  .admin-page [data-screen="shifts"] .position-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px}
  .admin-page [data-screen="shifts"] .position-item{display:grid;grid-template-columns:minmax(0,1fr) 52px 96px;grid-template-rows:44px!important;gap:8px;align-items:center;padding:6px 10px}
  .admin-page [data-screen="shifts"] .position-item>span{min-height:0!important;margin:0!important;text-align:left!important;font-size:13px}
  .admin-page [data-screen="shifts"] .position-item input{min-height:44px}
  .admin-page [data-screen="shifts"] .position-stepper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0!important;height:44px!important}
  .admin-page [data-screen="shifts"] .position-stepper button{height:44px!important;min-width:0;font-size:20px}
}
@media(min-width:701px) and (max-width:1100px){
  .admin-demo .admin-page{width:calc(100% - 40px);max-width:960px}
  .admin-page .admin-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
  .admin-page .admin-tabs .tab{min-width:0;padding:0 5px;font-size:14px}
  .admin-page .metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-page .metric{padding:16px}
  .admin-page>.admin-shell>.topbar{display:flex;align-items:center}
  .admin-page .topbar .title{font-size:25px}
  .admin-page [data-screen="shifts"] .grid-admin{grid-template-columns:minmax(0,1fr)}
  .admin-page [data-screen="shifts"] .grid-admin>.card:first-child>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-page [data-screen="shifts"] .admin-shift-card-main{display:grid;gap:12px}
  .admin-page [data-screen="shifts"] .admin-shift-card-main>.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;justify-self:end;width:100%;max-width:360px;margin:0}
  .admin-page [data-screen="shifts"] .admin-shift-card-main>.actions .btn{min-width:0;min-height:44px;width:100%;padding:0 8px;font-size:13px}
  .admin-page [data-screen="shifts"] .position-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px}
  .admin-page [data-screen="shifts"] .position-item{min-width:0;padding:10px 8px}
  .admin-page [data-screen="shifts"] .position-item>span{font-size:13px;white-space:nowrap;text-align:center}
  .admin-page [data-screen="shifts"] .position-stepper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
  .admin-page [data-screen="shifts"] .position-stepper button{min-width:0;min-height:44px;padding:0;border:1px solid #dce0e7;border-radius:8px;background:#fff;font-size:20px}
}
@media(max-width:700px){
  .staff-demo .page{width:calc(100% - 24px)!important;margin:16px auto 96px!important}
  .staff-demo.is-staff-logged-in .logged-shell{margin-top:16px!important;gap:14px!important}
  .logged-shell>.account-card{grid-template-columns:minmax(0,1fr) 88px;padding:14px!important;gap:10px!important}
  .logged-shell .account-card .account-left{gap:10px!important}
  .logged-shell .account-card .account-avatar{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:22px!important}
  .logged-shell .account-card .account-name{font-size:16px!important}
  .logged-shell .account-card .account-meta{font-size:12px!important}
  .logged-shell .account-card .account-actions{width:88px!important;min-width:0!important;grid-template-columns:minmax(0,1fr);gap:6px!important}
  .logged-shell .account-card .account-actions .btn{width:88px!important;min-height:44px!important;padding:0 6px!important;font-size:13px!important}
  .account-name-row{gap:4px 6px}
  .guest-shell .staff-card{padding:20px!important}
  .venue-choice>.venue-choice-label{flex-direction:column;gap:6px;min-height:76px;padding:10px 6px;font-size:13px}
  .venue-icon{font-size:24px}
  .venue-choices{gap:8px}
  .venue-support .venue-choice>.venue-choice-label{min-height:48px;flex-direction:row;font-size:14px}
  .venue-support .venue-icon{font-size:20px}
  .venue-support{padding:8px 12px 12px;margin:16px 0}
  .venue-payroll-heading{align-items:flex-start;flex-direction:column;padding:10px 0}
  .venue-filter{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px}
  .venue-filter select{width:100%;min-width:0}
  .venue-profile-actions .btn{flex:1;min-width:0;padding:0 10px}
  .admin-page [data-screen="shifts"] .admin-shift-title-row .shift-title{font-size:15px;line-height:1.45}
  .admin-page [data-screen="shifts"] .admin-shift-card-main>.actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .admin-page [data-screen="shifts"] .admin-shift-card-main>.actions .btn{min-height:44px;padding:0 4px;font-size:13px}
  .admin-page [data-screen="shifts"] .admin-shift-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .admin-page [data-screen="shifts"] .admin-shift-editor-grid>label:first-child{grid-column:1/-1}
  .admin-page [data-screen="shifts"] .admin-shift-editor-actions .btn{flex:1;min-width:0}
}
@media(max-width:360px){
  .logged-shell .account-card .account-avatar{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:19px!important}
  .logged-shell>.account-card{padding:12px!important;gap:8px!important}
  .logged-shell .account-card .account-left{gap:8px!important}
  .venue-choice>.venue-choice-label{font-size:12px}
}
