/* v16.4.42: spacious administration and settings, no global typography overrides. */
.stage42-shell{max-width:none;width:100%;margin:16px 0;box-sizing:border-box;font-family:inherit}
.stage42-shell .panel-head{flex-wrap:wrap;gap:14px}.stage42-actions{display:flex;gap:9px;flex-wrap:wrap}
.stage42-kpis{display:flex;flex-wrap:wrap;gap:14px;margin:4px 0 18px}
.stage42-kpis>div{min-width:130px;flex:1;background:var(--surface,#f5f8fc);padding:15px;border:1px solid #dce4ed;border-radius:12px;display:grid;gap:4px}
.stage42-kpis strong{font-size:24px;font-weight:750}.stage42-kpis span,.stage42-muted{color:var(--muted,#617283);font-size:13px;line-height:1.6}
.stage42-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;margin-bottom:12px}
.stage42-tabs button{font:inherit;font-size:13px;font-weight:650;padding:10px 13px;border:1px solid #cbd7e3;background:transparent;color:inherit;border-radius:9px;white-space:nowrap;cursor:pointer}
.stage42-tabs button.active{background:#147b73;color:white;border-color:#147b73}
.stage42-empty{padding:30px 22px;border:1px dashed #bcc9d6;border-radius:12px;text-align:center}
.stage42-empty p{margin:8px 0 0;color:#627386;font-size:13px}.stage42-branch-tools{margin:15px 0 4px;padding:12px;border:1px solid #dce4ed;border-radius:10px}
.stage42-branch-tools summary{cursor:pointer;font-weight:700}
.stage42-grant-grid{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:15px;align-items:end;margin:10px 0 20px}
.stage42-grant-grid .stage42-form-actions{grid-column:1/-1}.stage42-shell .form-field select,.stage42-shell .stage42-setting select,.stage42-shell .stage42-setting input,.stage42-shell .stage42-setting textarea{max-width:100%;min-width:0;width:100%;box-sizing:border-box}
.stage42-settings-tabs{flex-wrap:wrap;overflow:visible}.stage42-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.stage42-setting{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:650}
.stage42-setting input,.stage42-setting select,.stage42-setting textarea{padding:10px 12px;border:1px solid #bfceda;border-radius:9px;background:var(--card,#fff);color:inherit;font:inherit;min-height:42px}
.stage42-setting.stage42-wide{grid-column:1/-1}.stage42-switch{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #dce4ed;border-radius:10px;min-height:44px;font-weight:600;font-size:13px}
.stage42-switch input{width:18px;height:18px;flex:0 0 auto;accent-color:#087f75}
.stage42-email-panel{border:1px solid #dce4ed;border-radius:12px;padding:18px;margin-top:18px}.stage42-email-row{display:flex;gap:10px;flex-wrap:wrap}.stage42-email-row input{flex:1;min-width:220px;padding:11px;border:1px solid #bbc9d6;border-radius:9px}
.stage42-shell [hidden]{display:none!important}
@media(max-width:720px){.stage42-grant-grid,.stage42-settings-grid{grid-template-columns:1fr}.stage42-actions{width:100%}.stage42-shell .panel-head{align-items:flex-start}}
.stage42-shell .ops-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.stage42-shell .ops-table-wrap table{min-width:680px}
.stage42-shell .panel-body{min-width:0;max-width:100%;box-sizing:border-box}
.stage42-shell .panel-body>[data-stage42-loc-panel]{min-width:0;max-width:100%;overflow:hidden}
