/* Settings follows the existing Tebing graphite, red and Barlow system. */
.settings-layout{display:grid;grid-template-columns:196px minmax(0,1fr);gap:24px;align-items:start}
.settings-menu{min-width:0;position:sticky;top:16px}
#settingsSections{display:grid;gap:4px}
#settingsSections button{position:relative;display:block;width:100%;min-height:64px;padding:12px 16px;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;color:#55565d;transition:background-color .15s,border-color .15s,color .15s}
#settingsSections button span{display:block;font-size:14px;font-weight:500}
#settingsSections button small{display:block;font-size:12px;color:#73737a;margin-top:4px}
#settingsSections button:hover{background:#eaeaec}
#settingsSections button[aria-pressed=true]{background:#fff;border-color:#dedee2;color:#202124}
#settingsSections button[aria-pressed=true]::before{content:"";position:absolute;left:-1px;top:16px;bottom:16px;width:3px;border-radius:0 2px 2px 0;background:#e00000}
.workspace-app #settings .settings-mobile-picker{display:none}
.settings-content{min-width:0}
#settings .settings-content>[data-settings-panel]{margin:0;min-width:0}
#settings .settings-content>[hidden]{display:none}
#settings .settings-section{margin:0;box-shadow:none;border:1px solid #dedee2;border-radius:12px;overflow:hidden}
.settings-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid #e6e6e8}
.settings-section-head>div{min-width:0;flex:1}
.settings-scope{display:block;font-size:12px;color:#73737a;margin-bottom:8px}
.settings-section-head h2{font-size:28px;font-weight:600;line-height:1.2;margin:0 0 8px}
.settings-section-head p{font-size:13px;line-height:1.5;color:#626269;margin:0;max-width:520px}
.settings-section-head>button{flex:none;min-height:40px;padding:8px 16px;font-size:13px;white-space:nowrap}
.settings-count{flex:none;white-space:nowrap;font-size:12px;color:#626269;font-variant-numeric:tabular-nums}
.settings-section-body{padding:0 24px 24px;min-width:0}
.settings-section-body>.mechanic-add{margin-top:20px;max-width:none}
.settings-section-body>.notice,.settings-section-body>.settings-demo-note,.settings-section-body>.settings-empty,.settings-section-body>#staffList{margin-top:20px}
.settings-detail-row{padding:20px 0;border-bottom:1px solid #ededee}
.settings-detail-row h3{font:500 14px Barlow,sans-serif;margin:0 0 4px}
.settings-detail-row p,.settings-note{font-size:13px;line-height:1.6;color:#626269;margin:0}
.settings-note{font-size:12px;margin-top:16px;max-width:640px}
#settings .branch-list{display:block;margin:0}
#settings .branch-card{padding:16px 0;border:0;border-bottom:1px solid #ededee;border-radius:0;background:transparent;gap:16px;align-items:center}
#settings .branch-card:last-child{border-bottom:0;padding-bottom:0}
#settings .branch-card>div{min-width:0}
#settings .branch-card b{font-size:15px;font-weight:500;overflow-wrap:anywhere}
#settings .branch-card small{margin-top:4px;font-size:12px;color:#73737a}
#settings .branch-card p{font-size:13px;line-height:1.5;margin:8px 0 0;color:#626269}
#settings .branch-card p+p{margin-top:4px}
#settings .branch-card button{flex:none;min-height:36px;font-size:12px;padding:8px 16px}
#settings .mechanic-list li{padding:16px 0}
#settings .mechanic-list b{font-size:15px;font-weight:500}
#settings .mechanic-list small{margin-top:4px;color:#73737a}
#settings .mechanic-empty,.settings-empty{padding:20px;background:#f6f6f7;border:1px solid #e6e6e8;border-radius:8px;font-size:13px;color:#626269;line-height:1.6}
.settings-empty b{font-size:14px;font-weight:500;color:#292a2d}.settings-empty p{margin:4px 0 0}
#settings .mechanic-footnote{margin-top:16px;color:#73737a;line-height:1.6}
.settings-staff-list{list-style:none;margin:0;padding:0}
.settings-staff-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ededee}
.settings-staff-list li:first-child{padding-top:0}.settings-staff-list li:last-child{border-bottom:0}
.settings-staff-list li>div{min-width:0}
.settings-staff-list b{font-size:15px;font-weight:500;overflow-wrap:anywhere}
.settings-staff-list small{display:block;font-size:12px;color:#73737a;overflow-wrap:anywhere;margin-top:4px}
.settings-staff-list p{font-size:12px;color:#626269;line-height:1.5;overflow-wrap:anywhere;margin:8px 0 0}
.settings-staff-state{font-size:12px;color:#626269}
.settings-staff-list button{font-size:12px;min-height:36px;padding:8px 12px;white-space:nowrap}
.settings-help{border-top:1px solid #e6e6e8;padding-top:16px;margin-top:20px}
.settings-help summary{cursor:pointer;font-size:12px;font-weight:500;color:#55565d;width:fit-content;padding:4px 0}
.settings-help p{font-size:12px;line-height:1.7;color:#73737a;max-width:640px;margin:12px 0 0}
#settings #branchForm,#settings #staffForm{margin:20px 0 4px;padding:20px;background:#f8f8f9;border:1px solid #e2e2e5;border-radius:8px}
#settings :is(#branchForm,#staffForm) h3{font-size:22px;font-weight:500;margin:0 0 16px}
#settings :is(#branchForm,#staffForm) .fields{gap:16px}
#settings :is(#branchForm,#staffForm) .counter-actions{gap:8px;margin-top:16px}
#settings :is(#branchForm,#staffForm) .form-status:empty{display:none}
#settings .branch-choices{padding:12px;margin:16px 0;gap:12px}
.settings-demo-note{padding:20px;background:#f6f6f7;border:1px solid #e6e6e8;border-radius:8px}
.settings-demo-note b{font-size:14px;font-weight:500}.settings-demo-note p{font-size:13px;color:#626269;margin:8px 0 16px}
.settings-demo-note a{display:inline-flex;align-items:center;min-height:40px;font-size:13px;text-decoration:none;padding:8px 16px}
@media(max-width:1100px){.settings-layout{grid-template-columns:168px minmax(0,1fr);gap:16px}#settingsSections button{padding-inline:12px}.settings-section-head{align-items:flex-start;flex-wrap:wrap;padding:20px}.settings-section-head>div{flex-basis:70%}.settings-section-body{padding:0 20px 20px}.settings-staff-list li{grid-template-columns:minmax(0,1fr) auto}.settings-staff-list li>button{grid-column:1/-1;justify-self:start}.settings-staff-state{align-self:start}}
@media(max-width:700px){.settings-layout{display:block}.settings-menu{position:static;margin-bottom:12px}#settingsSections{display:none}.workspace-app #settings .settings-mobile-picker{display:grid;gap:8px;font-size:12px;color:#626269}.settings-mobile-picker select{min-height:44px}.settings-section-head{padding:16px;gap:16px}.settings-section-head h2{font-size:24px;margin-bottom:8px}.settings-section-head>div{flex-basis:100%}.settings-section-head>button{min-height:44px}.settings-scope{margin-bottom:8px}.settings-section-body{padding:0 16px 16px}.settings-detail-row{padding:16px 0}.settings-note{margin-top:16px}#settings .branch-card button,.settings-staff-list button{min-height:44px}#settings :is(#branchForm,#staffForm){padding:16px;margin-top:16px}#settings :is(#branchForm,#staffForm) .fields{grid-template-columns:minmax(0,1fr)}#settings .branch-choices{padding:12px;gap:12px}.settings-staff-list li{gap:12px}.settings-demo-note{padding:16px}.settings-demo-note a{min-height:44px}}

#posSettings{display:grid;gap:16px}#posSettings[hidden]{display:none}.pos-device-panel{padding:24px}#posSettings #posDeviceSettings{margin:0;padding:0;border:0}@media(max-width:600px){.pos-device-panel{padding:16px}}
