:root {
  --blue: #3643ba;
  --blue-hover: #293595;
  --blue-soft: #f2f4ff;
  --ink: #17212b;
  --muted: #616875;
  --line: #d9dde3;
  --error: #b42332;
  --white: #fff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
button, a, input { transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
:focus-visible { outline: 3px solid #8c98ef; outline-offset: 4px; }
button:disabled { cursor: default; }
svg { flex: none; }
.page-header { min-height: 84px; padding: 16px clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #edf0f3; }
.brand { display: flex; align-items: center; gap: 18px; min-height: 44px; }
.brand strong { font: italic 900 35px/1 Arial, sans-serif; letter-spacing: -2px; }
.brand span:last-child { font: 600 12px/1.4 var(--font); letter-spacing: .06em; color: var(--ink); }
.brand-divider { height: 22px; width: 1px; background: var(--line); }
.preview-label { color: var(--muted); background: #f5f6f8; padding: 6px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.access-layout { width: min(1120px, calc(100% - 96px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 112px); padding: 28px 0; }
.brand-panel { position: relative; align-self: stretch; min-height: 480px; max-height: 630px; overflow: hidden; color: var(--white); background: var(--blue); border-radius: 8px; padding: 36px 40px; display: flex; flex-direction: column; }
.panel-heading { display: flex; gap: 13px; align-items: center; font-size: 13px; letter-spacing: .04em; }
.small-mark { font: italic 900 24px/1 Arial, sans-serif; letter-spacing: -1.5px; }
.panel-heading > span:last-child { padding-left: 14px; border-left: 1px solid #ffffff57; }
.panel-copy { position: relative; z-index: 1; margin: 55px 0 auto; }
.panel-copy h2 { font-size: clamp(34px, 3.55vw, 49px); line-height: 1.34; letter-spacing: -.04em; font-weight: 700; margin: 0 0 20px; }
.panel-copy p { font-size: 15px; letter-spacing: .03em; color: #e1e5ff; margin: 0; }
.track { position: absolute; width: 580px; height: 460px; bottom: 20px; left: -30px; pointer-events: none; }
.track path { stroke: #ffffff22; stroke-width: 1.2; }
.track .track-highlight { stroke: #b2bdff; stroke-width: 2; stroke-dasharray: 108 630; }
.panel-footer { position: relative; display: flex; align-items: center; gap: 14px; color: #e1e5ff; font-size: 12px; }
.panel-footer i { height: 3px; width: 3px; border-radius: 50%; background: #acb6fa; }
.form-panel { width: 100%; max-width: 420px; justify-self: center; padding: 12px 0; }
.form-head { margin-bottom: 30px; }
.eyebrow { display: block; color: var(--blue); font: 650 11px/1.4 var(--font); letter-spacing: .12em; margin-bottom: 13px; }
h1 { font-size: 32px; line-height: 1.35; letter-spacing: -.04em; margin: 0; font-weight: 700; outline: none; }
h1:focus-visible { outline: none; }
.form-head p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 11px 0 0; overflow-wrap: anywhere; }
.field { margin-bottom: 21px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; min-height: 22px; }
.label-row label { font-size: 14px; font-weight: 600; }
.label-row a { display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; font-size: 13px; }
.label-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.input-wrap { position: relative; }
input:not([type=radio]) { width: 100%; min-height: 54px; padding: 14px 15px; border: 1px solid #b7bec8; border-radius: 4px; color: var(--ink); background: var(--white); font-size: 16px; line-height: 24px; outline: none; }
input[type=email], .input-wrap.with-action input { font-weight: 600; }
input::placeholder { color: #767e8a; opacity: 1; }
input:not([type=radio]):hover { border-color: #7d8797; }
input:not([type=radio]):focus { border-color: var(--blue); box-shadow: 0 0 0 3px #3643ba14; }
input[aria-invalid=true] { border-color: var(--error); }
.input-wrap.with-action input { padding-right: 55px; }
.password-toggle { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--muted); border-radius: 3px; }
.password-toggle:hover { background: #f3f5f8; color: var(--ink); }
.field-hint, .field-error { font-size: 12px; line-height: 1.65; margin: 7px 0 0; }
.field-hint { color: var(--muted); }
.field-error { color: var(--error); }
.field-error:empty { display: none; }
.primary { display: flex; gap: 10px; justify-content: center; align-items: center; width: 100%; min-height: 54px; padding: 13px 20px; border: 1px solid var(--blue); border-radius: 4px; background: var(--blue); color: var(--white); font-size: 15px; font-weight: 650; margin-top: 28px; }
.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.primary:active { background: #20296f; }
.primary:disabled { opacity: .55; }
.account-actions { display: grid; gap: 12px; margin-top: 28px; }
.account-actions .primary { margin-top: 0; }
.account-actions .secondary { width: 100%; min-height: 54px; padding: 13px 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--muted); font-size: 15px; font-weight: 600; }
.account-actions .secondary:hover { background: #f5f6f8; border-color: #a5adb8; color: var(--ink); }
.account-actions .secondary:active { background: #edf0f3; }
.profile-summary { display: grid; gap: 5px; color: var(--muted); font-size: 14px; }
.profile-summary p { margin: 0; line-height: 1.6; }
.profile-loading-status { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.profile-spinner { flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: profile-loading-spin .8s linear infinite; }
@keyframes profile-loading-spin { to { transform: rotate(360deg); } }
#more-suggestions[hidden] { display: none; }
.profile-head { margin-bottom: 10px; }
.afd-profile-page .access-layout, .afd-profile-loading .access-layout { display: block; width: min(520px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 56px; }
.afd-profile-page .brand-panel, .afd-profile-loading .brand-panel { display: none; }
.afd-profile-page .form-panel, .afd-profile-loading .form-panel { max-width: none; padding: 0; }
.profile-head .back-link { margin: 0 0 8px; color: var(--blue); font-weight: 650; }
.profile-head h1 { font-size: 28px; }
.profile-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.profile-summary { margin-bottom: 18px; }
.personal-preferences { margin-top: 9px; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; }
.personal-preferences[open] { border-color: #bfc8e9; box-shadow: 0 7px 20px #1723390c; }
.personal-preferences > summary { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 12px 18px; color: var(--ink); cursor: pointer; list-style: none; }
.personal-preferences > summary::-webkit-details-marker { display: none; }
.personal-preferences > summary span { font-size: 16px; font-weight: 700; white-space: nowrap; }
.personal-preferences > summary small { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; }
.personal-preferences > summary::after { content: ''; flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 2px 0 2px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .18s ease; }
.personal-preferences[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.personal-preferences > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.personal-preferences-body { padding: 18px; border-top: 1px solid #edf0f5; }
.profile-security-links { display: grid; gap: 8px; }
.profile-security-links a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); font-size: 14px; font-weight: 650; }
.profile-security-links a:active { background: var(--blue-soft); }
.profile-logout { width: 100%; min-height: 42px; margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); }
.personal-preferences-head .eyebrow { margin-bottom: 6px; }
.personal-preferences h2 { margin: 0 0 16px; font-size: 20px; }
.preference-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; }
.preference-row span { display: grid; gap: 5px; }
.preference-row strong { font-size: 15px; }
.preference-row small, .preference-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.preference-hint { margin: 14px 0 0; }
.view-preferences { display:grid; gap:12px; }
.view-preferences label { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; font-weight:600; }
.view-preferences select { min-width:128px; border:1px solid var(--line); border-radius:8px; background:#fff; padding:9px; font:inherit; }
#suggestion-form { display:grid; gap:10px; }
#suggestion-form label { font-size:14px; font-weight:600; }
#suggestion-text { width:100%; box-sizing:border-box; min-height:100px; padding:12px; border:1px solid var(--line); border-radius:8px; font:inherit; resize:vertical; }
#suggestion-form .suggestion-submit { justify-self:end; position:relative; isolation:isolate; display:flex; align-items:center; min-height:44px; border:0; border-radius:11px; overflow:hidden; padding:0 .8em 0 .7em; background:transparent; color:#fff; font:600 14px/1 var(--font); transition:transform .2s; }
.suggestion-submit::before { content:''; position:absolute; z-index:0; inset:6px 0; border-radius:11px; background:royalblue; }
.suggestion-submit .svg-wrapper { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; flex:none; }
.suggestion-submit svg { display:block; transform-origin:center; transition:transform .3s ease-in-out; }
.suggestion-submit .submit-label { position:relative; z-index:1; display:block; margin-left:.3em; white-space:nowrap; transition:transform .3s ease-in-out; }
.suggestion-submit:disabled { opacity:.55; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .suggestion-submit:not(:disabled):hover .svg-wrapper { animation:suggestion-fly .6s ease-in-out infinite alternate; }
  .suggestion-submit:not(:disabled):hover svg { transform:translateX(1.2em) rotate(45deg) scale(1.1); }
  .suggestion-submit:not(:disabled):hover .submit-label { transform:translateX(5em); }
}
@media (prefers-reduced-motion:no-preference) { .suggestion-submit:not(:disabled):active { transform:scale(.95); } }
@keyframes suggestion-fly { from { transform:translateY(.1em); } to { transform:translateY(-.1em); } }
.personal-preferences h3 { font-size:15px; margin:20px 0 8px; }
.my-suggestions article { border-top:1px solid var(--line); padding:12px 0; }
.my-suggestions article p { margin:0 0 5px; overflow-wrap:anywhere; white-space:pre-wrap; line-height:1.5; }
.my-suggestions article small { color:var(--muted); }
.preference-status { margin: 6px 0 0; color: var(--blue); font-size: 12px; }
.preference-status:empty { display: none; }
.preference-status[data-error="true"] { color: var(--error); }
.share-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; border: 0; }
.share-choices legend { grid-column: 1 / -1; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.share-choice { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; line-height: 1.35; cursor: pointer; }
.share-choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.share-choice input[type=checkbox] { flex: none; width: 18px; min-height: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--blue); }
.share-choice:has(input:disabled) { opacity: .6; cursor: default; }
@media (max-width: 360px) { .share-choices { grid-template-columns: 1fr; } }
input#share-enabled { flex: none; appearance: none; width: 48px; height: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 999px; background: #aeb7c4 radial-gradient(circle 10px at 14px 50%, #fff 98%, transparent); }
input#share-enabled:checked { background: var(--blue) radial-gradient(circle 10px at 34px 50%, #fff 98%, transparent); }
input#share-enabled:focus-visible { outline: 3px solid #8c98ef; outline-offset: 3px; }
input#share-enabled:disabled { opacity: .55; }
.switch-flow { display: flex; gap: 4px; justify-content: center; align-items: center; margin-top: 25px; padding-top: 22px; border-top: 1px solid #e8ebef; font-size: 14px; color: var(--muted); }
.switch-flow a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 5px; font-weight: 600; }
.switch-flow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin: -8px 0 14px; font-size: 13px; color: var(--muted); }
.back-link:hover { color: var(--blue); }
.steps { display: flex; list-style: none; gap: 16px; padding: 0; margin: 22px 0 0; font-size: 12px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps b { width: 21px; height: 21px; display: grid; place-items: center; background: #eef0f4; border-radius: 50%; font-size: 11px; font-weight: 500; }
.steps .active { color: var(--blue); }
.steps .active b { background: var(--blue); color: var(--white); }
.steps .complete b { background: #e9edff; color: var(--blue); }
.otp-entry { position: relative; width: 100%; }
.otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; pointer-events: none; }
.store-entry { max-width: 320px; }
.store-cells { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.otp-cell { display: grid; place-items: center; height: 58px; border: 1.5px solid #b7bec8; border-radius: 11px; background: var(--white); color: var(--ink); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.otp-cell.filled { border-color: #8b96cc; }
.otp-entry:focus-within .otp-cell.current { border-color: var(--blue); box-shadow: 0 0 0 3px #3643ba1f; }
.otp-entry .otp-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; cursor: text; }
.otp-entry .otp-input:hover, .otp-entry .otp-input:focus { border: 0; background: transparent; box-shadow: none; }
.otp-entry .otp-input[aria-invalid=true] + .otp-cells .otp-cell { border-color: var(--error); }
.resend-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -10px; }
.resend-row button { border: 0; background: transparent; color: var(--blue); min-height: 44px; padding: 6px 0; font-size: 13px; }
.resend-row button:disabled { color: var(--muted); }
.resend-row span { color: var(--muted); font-size: 12px; }
.store-options { border: 0; margin: 0; padding: 0; }
.store-options legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.store-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 16px; border-radius: 5px; margin-bottom: 12px; min-height: 80px; cursor: pointer; }
.store-option:hover { border-color: #9aa3ce; }
.store-option:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); }
.store-option:has(input:focus-visible) { outline: 3px solid #8c98ef; outline-offset: 3px; }
.store-option input { margin: 0; width: 18px; height: 18px; accent-color: var(--blue); }
.store-icon { color: var(--blue); width: 40px; height: 40px; background: #eef1fa; display: grid; place-items: center; border-radius: 4px; }
.store-option .store-copy { display: grid; gap: 5px; flex: 1; }
.store-copy strong { font-size: 14px; font-weight: 600; }
.store-copy small { font-size: 12px; color: var(--muted); }
.store-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 14px; }
.success-icon { width: 56px; height: 56px; background: var(--blue-soft); color: var(--blue); border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; }
.success-detail { border-left: 3px solid var(--blue); padding: 4px 0 4px 17px; margin: 26px 0; }
.success-detail strong { display: block; font-size: 16px; margin-bottom: 6px; }
.success-detail p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px clamp(24px, 5vw, 80px); color: var(--muted); font-size: 11px; border-top: 1px solid #edf0f3; min-height: 68px; }
.preview-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; }
.preview-tools button { font-size: 12px; min-height: 44px; padding: 8px 0; color: var(--blue); border: 0; background: transparent; }
.preview-tools button:hover { text-decoration: underline; }
.preview-tools button[hidden] { display: none; }
#screen { animation: arrive 180ms ease-out; }
@keyframes arrive { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .access-layout { gap: 120px; padding: 70px 0; } .brand-panel { min-height: 590px; } }
@media (max-width: 1000px) { .access-layout { width: calc(100% - 64px); gap: 42px; } .brand-panel { padding: 30px 28px; } .panel-copy h2 { font-size: 36px; } .track { left: -75px; } }
@media (max-width: 760px) {
  .page-header { min-height: 80px; padding: 16px 24px; }
  .brand { gap: 12px; }
  .brand strong { font-size: 31px; }
  .brand span:last-child { font-size: 10px; letter-spacing: .015em; }
  .access-layout { width: min(420px, calc(100% - 48px)); display: block; padding: 46px 0; }
  .brand-panel { display: none; }
  .form-panel { padding: 0; }
  .page-footer { justify-content: center; padding: 12px 24px; font-size: 11px; }
  .page-footer > span { display: none; }
  .preview-tools { justify-content: center; column-gap: 14px; text-align: center; }
  .form-head { margin-bottom: 30px; }
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .personal-preferences > summary::after { transition: none; } }
@media (max-width: 360px) { .page-header { padding: 14px 20px; } .brand span:last-child { max-width: 75px; } .access-layout { width: calc(100% - 40px); } .steps { gap: 10px; } .otp-cells { gap: 6px; } .otp-cell { height: 52px; font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.afd-settings-section { margin: 24px 0; }
.afd-settings-section h2 { margin: 0 8px 8px; color: #77808e; font-size: 13px; font-weight: 600; }
.afd-settings-list { border: 1px solid #e1e6ef; border-radius: 14px; background: #fff; overflow: hidden; }
.afd-settings-row { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 18px; text-decoration: none; color: #172339; position: relative; }
.afd-settings-row + .afd-settings-row { border-top: 1px solid #edf0f5; }
.afd-settings-row > span:first-child { flex: 1; font-weight: 650; }
.afd-settings-row small { display: block; margin-top: 5px; color: #7a8595; font-size: 12px; font-weight: 400; }
.afd-settings-row .afd-notification-dot { right: 42px; top: 20px; }
.afd-settings-chevron { color: #98a2af; font-size: 25px; }
.afd-settings-return { display: block; margin: 26px auto; text-align: center; font-size: 14px; }
.afd-settings-back { display: inline-block; margin-bottom: 18px; color: #3643ba; text-decoration: none; font-size: 14px; }
.afd-settings-detail > details > summary { pointer-events: none; }
.afd-settings-detail > details > summary::after { display: none; }
.afd-profile-page #screen { animation: none; }
.afd-settings-list .afd-settings-option { margin:0; border:0; border-radius:0; box-shadow:none; }
.afd-settings-option + .afd-settings-option { border-top:1px solid #edf0f5; }
.afd-settings-option > summary { position:relative; min-height:66px; display:grid; grid-template-columns:minmax(0,1fr) 8px; gap:5px 10px; }
.afd-settings-option > summary span { grid-column:1; }
.afd-settings-option > summary small { grid-column:1; margin:0; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.afd-settings-option > summary::after { grid-column:2; grid-row:1 / 3; }
.afd-settings-option > summary .afd-notification-dot { right:38px; top:15px; }
.afd-settings-option[open] > .personal-preferences-body { animation:settings-open 140ms ease-out; }
@keyframes settings-open { from { opacity:.7; } to { opacity:1; } }
.afd-rules-host { padding:10px 12px 16px; }
.afd-rules-host iframe { display:block; width:100%; height:240px; border:0; min-width:0; background:#fff; }
.afd-rules-host iframe:not(.afd-rules-ready) { visibility:hidden; height:0!important; }
.afd-rules-loading { margin:8px; font-size:13px; color:var(--muted); }
.afd-rules-loading[hidden],.afd-rules-retry[hidden],.afd-inline-save[hidden] { display:none; }
.afd-rules-host iframe.afd-rules-modal { position:fixed; inset:0; width:100vw; height:100dvh!important; z-index:1000; }
body:has(iframe.afd-rules-modal) .afd-inline-save { display:none; }
.afd-inline-save { position:fixed; z-index:40; right:max(16px,env(safe-area-inset-right)); bottom:calc(16px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:flex-end; gap:6px; max-width:calc(100vw - 32px); }
.afd-inline-save .primary { min-width:88px; width:auto; min-height:44px; margin:0; padding:0 20px; border-radius:14px; box-shadow:0 6px 22px #17233924; }
.afd-inline-save .primary:disabled { opacity:.55; cursor:default; }
.afd-inline-save p { margin:0; background:#f7f8faf5; padding:5px 8px; border-radius:8px; color:var(--muted); font-size:12px; text-align:right; }
.afd-settings-section:has([data-profile-panel="rules"][open]) { padding-bottom:70px; }
@media (prefers-reduced-motion:reduce) { .afd-settings-option[open]>.personal-preferences-body { animation:none; } }

.afd-inline-save p:empty { display:none; }

.afd-rules-host {padding:0;border:1px solid #e1e6ef;border-radius:14px;overflow:hidden;background:#fff;}
.afd-rules-host iframe {height:264px;}
.afd-settings-section h2 small {font-size:11px;font-weight:400;}
.share-choices {display:flex;flex-wrap:wrap;gap:6px;}
.afd-small-toggle {min-height:44px;padding:6px 10px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#000;font:600 12px system-ui;cursor:pointer;}
button#share-enabled {flex:none;min-width:44px;white-space:nowrap;}
.afd-small-toggle[aria-pressed="true"] {background:#000;color:#fff;border-color:#000;}
.afd-small-toggle:disabled {opacity:.55;}

/* Four stable rows while the controlled editor reads its authoritative revision. */
.afd-rules-placeholder > div {height:66px;padding:12px 18px;display:grid;align-content:center;gap:7px;box-sizing:border-box;}
.afd-rules-placeholder > div + div {border-top:1px solid #edf0f5;}
.afd-rules-placeholder strong {font-size:14px;line-height:20px;}
.afd-rules-placeholder span {height:10px;width:40%;max-width:180px;border-radius:5px;background:#eef0f3;}
.afd-rules-host[data-rules-state="ready"] .afd-rules-placeholder {display:none;}
.afd-rules-retry {margin:0 8px 8px;}

.afd-rules-feedback {margin:0;padding:8px 18px;color:#616875;font-size:12px;}
.afd-rules-feedback[hidden] {display:none;}
