/* R217: beginner-first group protection, compatible with existing R216 fields. */
.r217-simple-settings{display:grid;gap:14px;max-width:100%;box-sizing:border-box}
.r217-simple-settings .r217-intro{display:grid;gap:6px}
.r217-simple-settings .r217-intro strong{font-size:18px;letter-spacing:-.015em}
.r217-simple-settings .r217-intro p,.r217-ai-quick p{margin:0;color:#b9d2df;font-size:13px;line-height:1.55}
.r217-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.r217-presets>button{min-width:0;min-height:90px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:13px 14px;text-align:left;border-radius:12px;border:1px solid #688aa368;background:#12354e;color:#e9f7ff;cursor:pointer;font:inherit;transition:background-color .14s,border-color .14s,transform .14s}
.r217-presets>button:hover:not(:disabled){background:#235470;border-color:#67bedc;transform:translateY(-1px)}
.r217-presets>button.selected,.r217-presets>button[aria-pressed="true"]{background:#194c6e;border:2px solid #79d4f1;padding:12px 13px}
.r217-presets>button:disabled{opacity:.48;cursor:not-allowed}
.r217-presets strong{font-size:14px;font-weight:750}.r217-presets small{font-size:12px;color:#b9d7e7;line-height:1.4}
.r217-main-toggle{padding:14px;border:1px solid #638daa75;border-radius:12px;background:#163950}
.r217-main-toggle .r216-choice{align-items:center!important;font-size:14px!important}
.r217-main-toggle .r216-choice input{width:20px;height:20px;accent-color:#4ab1d3}
.r217-main-toggle .r216-choice span{display:grid;gap:3px}.r217-main-toggle .r216-choice small{font-size:12px;font-weight:400;opacity:.8}
.r217-safe-note{padding:11px 12px;border-radius:10px;background:#0e3144;color:#c7e1ee;font-size:12px;line-height:1.5}
.r217-options{padding:0;border:1px solid #7196b34d;border-radius:12px;overflow:hidden;background:#0e2a3e}
.r217-options>summary{padding:15px 14px;display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;min-height:24px}
.r217-options>summary::-webkit-details-marker{display:none}
.r217-options>summary:after{content:'⌄';font-size:19px;line-height:1;margin-left:auto;opacity:.75}
.r217-options[open]>summary:after{content:'⌃'}
.r217-options>summary strong{font-size:13px;font-weight:750}.r217-options>summary small{font-size:11px;color:#aecaDC}
.r217-options[open]>summary{border-bottom:1px solid #7992a23b}
.r217-options>.r216-fieldset{margin:12px;border-radius:10px}
.r217-options>p,.r217-options>label,.r217-options>textarea,.r217-options>button,.r217-options>output,.r217-options>.r214-grid,.r217-options>.r214-field{margin:12px;max-width:calc(100% - 24px)}
.r217-options .r216-fieldset .r216-choice{font-size:12px}
.r217-danger{border-color:#c597704d}
.r217-danger>summary{background:#805b281d}
.r217-setup-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;position:sticky;bottom:-16px;padding:14px 0;background:#142d41;z-index:2}
.r217-setup-footer .btn{min-height:38px;padding:9px 12px}
.r217-ai-quick{display:grid;gap:11px;margin:10px 0 15px}
.r217-ai-quick h3{font-size:16px;margin:0}
.r217-ai-quick>small{font-size:12px;color:#b9d7e7}
.r217-note{font-size:12px;line-height:1.55;color:#bdd8e6;margin:10px 0}
.r214-agent-settings>.r217-options{margin:10px 0}
.r214-agent-settings>.r217-options>div,.r214-agent-settings>.r217-options>label,.r214-agent-settings>.r217-options>small,.r214-agent-settings>.r217-options>p{margin:11px;display:block}
.r214-agent-settings>.r217-options .r214-grid{display:grid}
.r216-popup [data-r216-section="agent"] .r214-review{margin-top:20px}
:root[data-business-theme="light"] .r217-presets>button{background:#eff8fd;color:#16364a;border-color:#bad1df}
:root[data-business-theme="light"] .r217-presets>button.selected{background:#d8f1fa;border-color:#2182a8}
:root[data-business-theme="light"] .r217-presets>button small,:root[data-business-theme="light"] .r217-options>summary small,:root[data-business-theme="light"] .r217-ai-quick>small{color:#4e7189}
:root[data-business-theme="light"] .r217-main-toggle{background:#f1faff;border-color:#b5d5e3}
:root[data-business-theme="light"] .r217-safe-note,:root[data-business-theme="light"] .r217-options{background:#f6fbfe;color:#17405a}
:root[data-business-theme="light"] .r217-intro p,:root[data-business-theme="light"] .r217-ai-quick p,:root[data-business-theme="light"] .r217-note{color:#45687d}
:root[data-business-theme="light"] .r217-setup-footer{background:#fff}
@media(max-width:650px){.r217-presets{grid-template-columns:1fr}.r217-presets>button{min-height:59px;padding:10px 12px;gap:4px}.r217-presets>button.selected{padding:9px 11px}.r217-options>summary{flex-wrap:wrap}.r217-options>summary small{width:100%;margin-top:-5px}}
@media(prefers-reduced-motion:reduce){.r217-presets>button{transition:none}.r217-presets>button:hover{transform:none}}

/* R283: native, compact one-click non-AI review categories */
.r283-fast-rules{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 5px}
.r283-category{font:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--line,#607d9070);border-radius:11px;background:transparent;color:inherit;cursor:pointer;min-height:43px;max-width:210px}
.r283-category small{font-size:10px;opacity:.76}
.r283-category.active{border-color:#47b1cf;background:rgba(61,166,203,.13)}
.r283-category:hover:not(:disabled){border-color:#4ab9d4}
.r283-category:disabled{opacity:.5;cursor:default}
.r283-caution{font-size:11px;line-height:1.35;opacity:.8;margin:4px 0 10px}
@media(max-width:620px){.r283-category{flex:1 1 120px;max-width:none}}

/* R286: preset tabs own their native settings immediately below the selected tab. */
.r217-simple-settings .r286-preset-body{margin-top:-15px;padding:11px 12px;border:1px solid #6489a680;border-top:0;border-radius:0 0 12px 12px;background:#102f43}
.r217-simple-settings .r217-presets>button{border-radius:11px 11px 0 0;margin-bottom:0;min-height:76px}
.r286-preset-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 12px;align-items:center}
.r286-preset-heading strong{font-size:13px}.r286-preset-heading small{font-size:11px;opacity:.74}
.r286-preset-body .r283-fast-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:5px;margin:9px 0 4px}
.r286-preset-body .r283-category{max-width:none;width:100%;min-height:42px;padding:6px 9px;gap:3px;border-radius:8px;box-sizing:border-box}
.r286-preset-body .r283-category span{font-size:12px;font-weight:650}
.r286-preset-body .r283-category small{font-size:11px}
.r286-preset-body .r283-caution{font-size:11px;margin:8px 0 1px}
:root[data-business-theme="light"] .r286-preset-body{background:#f6fbfe;color:#184257;border-color:#b5d5e3}
@media(max-width:650px){.r286-preset-body .r283-fast-rules{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}
