.settings-section{margin-bottom:14px}.settings-section h2,.settings-section h3{margin-top:0}.settings-hero{align-items:center;margin-bottom:12px}.settings-hero h1{display:none}.settings-hero p{margin-bottom:0}.settings-master{padding:16px 18px}.settings-section-head,.settings-group-head,.employee-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.settings-section-head h2,.settings-group-head h3,.employee-settings-head h2{margin-bottom:4px}.settings-section-head p,.settings-group-head p,.employee-settings-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.master-toggle{display:flex;align-items:center;gap:8px;font-weight:800;flex:0 0 auto}.master-toggle input{width:auto}.settings-compact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);gap:12px}.settings-group{padding:16px}.setting-tile-grid{display:grid;gap:8px;margin-top:12px}.dashboard-tiles{grid-template-columns:1fr}.alert-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.setting-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff;cursor:pointer;min-height:58px}.setting-tile:hover{border-color:#d8bd5d;background:#fffdf5}.setting-tile-copy{min-width:0}.setting-tile-copy b{display:block;font-size:14px}.setting-tile-copy small{display:block;margin-top:3px;color:var(--muted);line-height:1.25}.setting-switch{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:700}.setting-switch input{width:auto}.threshold-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.threshold-row>label,.employee-thresholds>label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}.threshold-row label>div,.employee-thresholds label>div{display:flex;align-items:center;gap:7px}.threshold-row small,.employee-thresholds small{color:var(--muted);font-weight:400}.settings-number{width:82px}.employee-settings-card{padding:16px 18px}.employee-settings-head{align-items:flex-end}.employee-settings-head>div:first-child{flex:1}.employee-picker{width:min(360px,100%);flex:0 0 auto}.employee-picker label{font-size:12px;color:var(--muted);margin-bottom:4px}.employee-picker select{margin:0}.employee-override-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}.override-field{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff}.override-field label{font-size:13px;font-weight:800}.override-field select{margin:5px 0 0;padding:8px 9px}.override-field small{display:block;color:var(--muted);font-size:11px;line-height:1.25;margin-top:5px}.employee-thresholds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.employee-thresholds>label{border:1px solid var(--line);border-radius:10px;padding:10px 12px}.employee-thresholds input{width:95px;margin:0}.settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.settings-effective{margin-top:12px;padding:10px 12px;border:1px solid #e7d58b;background:#fff9df;border-radius:10px;font-size:12px;line-height:1.4}.compact-effective{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}.compact-effective>b{margin-right:4px}.compact-effective span{white-space:nowrap}.settings-master-off{border-left:4px solid #8a3412;background:#fff8f5}@media(max-width:1100px){.employee-override-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-compact-grid{grid-template-columns:1fr}.dashboard-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.alert-tiles,.dashboard-tiles,.employee-override-grid,.employee-thresholds,.threshold-row{grid-template-columns:1fr 1fr}.employee-settings-head{align-items:flex-start;flex-direction:column}.employee-picker{width:100%}}@media(max-width:600px){.settings-hero{align-items:flex-start}.settings-hero>button{width:100%}.settings-section-head{align-items:flex-start}.alert-tiles,.dashboard-tiles,.employee-override-grid,.employee-thresholds,.threshold-row{grid-template-columns:1fr}.setting-tile{min-height:54px}.threshold-row>label,.employee-thresholds>label{align-items:flex-start;flex-direction:column}.threshold-row label>div,.employee-thresholds label>div{width:100%}.threshold-row input,.employee-thresholds input{flex:1;width:auto}.settings-actions button{flex:1;min-height:44px}.compact-effective{display:grid;grid-template-columns:1fr 1fr}.compact-effective>b{grid-column:1/-1}}
