/* Clean settings-center layout layered over the legacy component styles. */
#root{width:100%;border:0;background:#f5f6f8;text-align:left}
.container{width:100%;max-width:760px;padding:20px 18px 32px}
.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;padding:4px 2px}
.page-header .title{margin:2px 0 4px;font-size:22px;line-height:1.25;letter-spacing:-.3px}
.eyebrow{margin:0;color:#1456f0;font-size:12px;font-weight:600;letter-spacing:.5px}.page-subtitle{color:#646a73;font-size:13px;line-height:1.5}
.version-badge{flex:0 0 auto;color:#1456f0;background:#e8f2ff;border:1px solid #c9ddff;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:600}
.settings-nav{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 14px;padding:4px;background:#fff;border:1px solid #e1e3e6;border-radius:10px;box-shadow:0 2px 8px #1f232914}
.nav-btn{min-width:0;border:0;border-radius:7px;padding:9px 5px;color:#646a73;background:transparent;cursor:pointer;font-size:12px;white-space:nowrap}.nav-btn:hover{color:#1456f0;background:#f5f8ff}.nav-btn.active{color:#fff;background:#1456f0;font-weight:600;box-shadow:0 2px 5px #1456f038}
.card{border-color:#e1e3e6;border-radius:10px;margin-bottom:12px;padding:16px;box-shadow:0 1px 2px #1f23290a}
.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.card-heading h2{margin-bottom:4px;font-size:15px}.no-margin{margin:0}.protection-card{background:linear-gradient(135deg,#fff 0%,#f8faff 100%)}
.state-chip{flex:0 0 auto;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:600}.state-chip.safe{color:#00875a;background:#e8faf2}.state-chip.warning{color:#ad6800;background:#fff7e6}
.batch-status{margin-top:10px;padding:8px 10px;background:#f5f6f8;border-radius:6px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.span-2{grid-column:1/-1}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 16px;padding:12px;background:#f7f8fa;border-radius:8px}.switch-row strong{color:#1f2329;font-size:13px}
.field-help{margin:4px 0 0;color:#8f959e;font-size:11px;line-height:1.5}.secret-state{color:#00a870}.updated-at{text-align:right;margin-top:10px}.toggle{width:34px;height:18px;accent-color:#1456f0;cursor:pointer}
.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.actions .btn{margin:0}.ocr-card .text-input,.ocr-card input[type=number]{height:36px}.pricing-stack{display:contents}
.status{position:sticky;bottom:12px;z-index:6;margin-top:12px;box-shadow:0 4px 16px #1f232924}
.sync-readonly{display:flex;align-items:center;min-height:36px;padding:0 10px;border:1px solid #e1e3e6;border-radius:6px;color:#646a73;background:#f7f8fa;font-size:12px}.sync-scope{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;margin:10px 0 14px;padding:12px;border:1px solid #e8eaed;border-radius:8px}.sync-scope>strong{grid-column:1/-1;font-size:13px}.sync-scope label{display:flex;align-items:center;gap:7px;color:#3c4043;font-size:12px}.sync-scope input{margin:0;accent-color:#1456f0}.sync-history{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.sync-history div{display:flex;flex-direction:column;gap:3px;padding:10px;background:#f7f8fa;border-radius:7px}.sync-history span{color:#8f959e;font-size:11px}.sync-history strong{color:#1f2329;font-size:12px;font-weight:500}.sync-error{margin:10px 0;white-space:normal}
@media (width<=520px){.container{padding:14px 12px 28px}.page-header{gap:8px}.page-header .title{font-size:19px}.page-subtitle{font-size:12px}.settings-nav{gap:2px}.nav-btn{padding:8px 1px;font-size:10px}.settings-grid,.sync-scope,.sync-history{grid-template-columns:1fr}.sync-scope>strong{grid-column:auto}.span-2{grid-column:auto}.card-heading{flex-wrap:wrap}.actions{flex-direction:column}.actions .btn{width:100%}}

.inherit-field-picker{overflow:hidden;border:1px solid #d9dce1;border-radius:8px;background:#fff}
.inherit-field-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;color:#646a73;background:#f7f8fa;border-bottom:1px solid #e8eaed;font-size:12px}
.inherit-clear{border:0;padding:2px 6px;color:#1456f0;background:transparent;cursor:pointer;font-size:12px}
.inherit-field-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px;overflow:auto;padding:6px;gap:4px}
.inherit-field-option{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 8px;border:1px solid transparent;border-radius:6px;color:#1f2329;cursor:pointer;font-size:12px}
.inherit-field-option:hover{background:#f5f8ff}.inherit-field-option.selected{border-color:#b8d0ff;background:#edf4ff;color:#1456f0;font-weight:600}
.inherit-field-option input{flex:0 0 auto;margin:0;accent-color:#1456f0}.inherit-field-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inherit-field-picker .field-help{margin:0;padding:7px 10px;border-top:1px solid #eef0f2;background:#fbfbfc}
@media (width<=520px){.inherit-field-options{grid-template-columns:1fr}}
