/* Rich Palette™ v29 — Launch Polish */
.section-pro-badge,.mini-pro{display:inline-flex;align-items:center;justify-content:center;padding:.18rem .42rem;border:1px solid rgba(201,166,92,.55);border-radius:999px;color:#d5b56e;font:700 .62rem/1 system-ui,sans-serif;letter-spacing:.08em;vertical-align:middle}
.mini-pro{font-size:.52rem;padding:.14rem .3rem;margin-left:.2rem}.rp29-pro-control{position:relative}.rp29-free-mode .rp29-pro-control:not(.selected):not(.active){box-shadow:inset 0 0 0 1px rgba(201,166,92,.18)}
.starter-palettes{margin-top:1rem;padding:1rem;border:1px solid rgba(215,194,150,.18);border-radius:16px;background:rgba(255,255,255,.025)}.starter-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.7rem}.starter-head span{font-weight:700}.starter-head small{color:#c9a65c;font-size:.68rem;letter-spacing:.08em}.starter-actions{display:grid;grid-template-columns:1fr;gap:.5rem}.starter-actions button{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);color:inherit;border-radius:11px;padding:.55rem .65rem;display:flex;align-items:center;gap:.65rem;text-align:left;cursor:pointer}.starter-actions button:hover{border-color:rgba(201,166,92,.45)}.starter-actions i{display:grid;grid-template-columns:repeat(5,1fr);width:70px;height:18px;border-radius:5px;overflow:hidden;background:linear-gradient(90deg,var(--s1) 0 20%,var(--s2) 20% 40%,var(--s3) 40% 60%,var(--s4) 60% 80%,var(--s5) 80%)}
.quick-copy-control{display:inline-flex;align-items:center;gap:.4rem;font-size:.7rem;color:var(--muted,#aaa)}.quick-copy-control select{max-width:112px;padding:.38rem .45rem;border-radius:8px}.quick-copy-control[hidden]{display:none!important}
.ai-lock-panel{margin:1rem 0;padding:.95rem;border:1px solid rgba(201,166,92,.25);border-radius:14px;background:rgba(201,166,92,.045)}.ai-lock-panel>div:first-child{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.ai-lock-panel small{color:var(--muted,#aaa)}.ai-lock-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}.ai-lock-chips button{display:flex;align-items:center;gap:.4rem;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.12);color:inherit;border-radius:999px;padding:.38rem .58rem;cursor:pointer}.ai-lock-chips button.locked{border-color:#c9a65c;background:rgba(201,166,92,.12)}.ai-lock-chips i{width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.25)}.ai-lock-chips span{font-size:.72rem}.ai-lock-clear{margin-top:.55rem}
.report-problem-button{position:fixed;right:18px;bottom:78px;z-index:40;border:1px solid rgba(201,166,92,.35);background:rgba(14,17,19,.94);color:#eee;border-radius:999px;padding:.65rem .82rem;box-shadow:0 12px 32px rgba(0,0,0,.28);cursor:pointer}.report-problem-button span{font-size:.75rem;margin-left:.35rem}
.rp29-tutorial{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem}.rp29-tutorial-backdrop{position:absolute;inset:0;border:0;background:rgba(3,5,6,.78);backdrop-filter:blur(8px)}.rp29-tutorial-card{position:relative;width:min(560px,100%);border:1px solid rgba(201,166,92,.38);background:#101417;border-radius:22px;padding:1.4rem 1.4rem 1.2rem;box-shadow:0 26px 90px rgba(0,0,0,.55)}.rp29-tutorial-card h2{font-size:clamp(1.55rem,4vw,2.25rem);margin:.35rem 0 .7rem}.rp29-tutorial-card p{line-height:1.65;color:#c9c7c1}.rp29-tutorial-skip{position:absolute;right:1rem;top:1rem;border:0;background:transparent;color:#aaa;cursor:pointer}.rp29-tutorial-progress{display:flex;gap:.35rem;margin-bottom:1.2rem}.rp29-tutorial-progress i{width:28px;height:3px;background:#3b4145;border-radius:4px}.rp29-tutorial-progress i.active{background:#c9a65c}.rp29-tutorial-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.2rem}
.rp29-pro-panel{position:relative}.rp29-free-mode .rp29-pro-panel::after{content:'PRO';position:absolute;top:.75rem;right:.75rem;z-index:3;padding:.25rem .48rem;border:1px solid rgba(201,166,92,.45);border-radius:999px;background:rgba(9,12,15,.86);color:#d5b56e;font:700 .62rem/1 system-ui,sans-serif;letter-spacing:.1em;pointer-events:none}
@media(max-width:760px){.report-problem-button{bottom:82px;right:12px;padding:.6rem .7rem}.report-problem-button span{display:none}.workspace-actions{gap:.4rem;flex-wrap:wrap}.quick-copy-control{width:100%;order:5}.ai-lock-panel>div:first-child{display:block}.ai-lock-panel small{display:block;margin-top:.25rem}.rp29-tutorial-card{padding:1.25rem}.starter-actions button{min-height:42px}}

.rp29-pro-lock-banner{display:none;margin:1rem 0;padding:.9rem 1rem;border:1px solid rgba(201,166,92,.28);border-radius:14px;background:rgba(201,166,92,.06);align-items:center;justify-content:space-between;gap:1rem}.rp29-pro-lock-banner div{display:grid;gap:.2rem}.rp29-pro-lock-banner span{font-size:.8rem;color:#aaa}.rp29-free-mode .rp29-pro-lock-banner{display:flex}.section-free-badge{display:inline-block;margin-left:.35rem;padding:.18rem .38rem;border:1px solid rgba(126,177,151,.35);border-radius:999px;color:#9bc9ad;font:700 .55rem/1 system-ui,sans-serif;letter-spacing:.06em;vertical-align:middle}.rp30-pro-subpanel{position:relative}.rp29-free-mode .rp30-pro-subpanel::after{content:'PRO · Advanced accessibility';position:absolute;inset:auto 1rem 1rem 1rem;z-index:5;padding:.55rem .7rem;border:1px solid rgba(201,166,92,.32);border-radius:10px;background:rgba(9,12,15,.92);color:#d5b56e;font:700 .66rem/1.2 system-ui,sans-serif;letter-spacing:.04em;text-align:center;pointer-events:none}.rp29-free-mode .rp30-pro-subpanel .vision-tabs,.rp29-free-mode .rp30-pro-subpanel .vision-strip,.rp29-free-mode .rp30-pro-subpanel .vision-note,.rp29-free-mode .rp30-pro-subpanel .readability-list{filter:blur(3px);opacity:.28;pointer-events:none;user-select:none}.rp29-free-mode #printMatchResults{filter:blur(4px);opacity:.35;pointer-events:none;user-select:none}.rp29-free-mode #previewRoleControls{filter:blur(2px);opacity:.48;pointer-events:none}.rp29-free-mode #typography .typography-shell{opacity:.58}.rp29-free-mode #image-lab .image-lab-shell{opacity:.58}.rp29-free-mode #formatTabs .rp29-pro-control::after,.rp29-free-mode #harmonyOptions .rp29-pro-control::after,.rp29-free-mode #styleOptions .rp29-pro-control::after{content:'PRO';font:700 .48rem/1 system-ui,sans-serif;color:#c9a65c;margin-left:.3rem;letter-spacing:.06em}
@media(max-width:760px){.rp29-pro-lock-banner{align-items:flex-start;flex-direction:column}.rp29-pro-lock-banner .button{width:100%}}

/* v30 balanced Free experience */
.free-local-shelf{margin:1rem 0 1.25rem;padding:1rem;border:1px solid rgba(201,166,92,.2);border-radius:16px;background:rgba(255,255,255,.018)}
.free-local-shelf-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}
.free-local-shelf-head>div{display:grid;gap:.25rem}.free-local-shelf-head strong{color:#e7e0d4}.free-local-shelf-head small{color:#92999b;max-width:700px;line-height:1.45}
#freeLocalCount{white-space:nowrap;border:1px solid rgba(201,166,92,.3);border-radius:999px;padding:.35rem .55rem;color:#d5b56e;font-size:.72rem}
.free-local-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.free-local-empty{padding:.85rem;border:1px dashed rgba(255,255,255,.12);border-radius:12px;color:#888;font-size:.82rem}
.free-local-card{border:1px solid rgba(255,255,255,.09);border-radius:13px;overflow:hidden;background:#0d1114}.free-local-swatches{display:grid;height:58px}.free-local-swatches span{min-width:0}
.free-local-body{padding:.7rem}.free-local-body strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:.45rem}.free-local-body small{display:block;color:#888;margin-bottom:.55rem}
.free-local-actions{display:flex;gap:.4rem;flex-wrap:wrap}.free-local-actions button{border:1px solid rgba(255,255,255,.12);background:transparent;color:#c9c7c1;border-radius:8px;padding:.35rem .5rem;font-size:.7rem;cursor:pointer}.free-local-actions button:hover{border-color:rgba(201,166,92,.4);color:#e4c77e}
.rp29-free-mode #savePalette::after{content:' Local';font-size:.68em;color:#b79b62}
@media(max-width:760px){.free-local-grid{grid-template-columns:1fr}.free-local-shelf-head{flex-direction:column}#freeLocalCount{align-self:flex-start}}


/* v31.22: premium accessible billing controls, with clear contrast in account modal */
#accountProButton.button-outline {
  background: #14191d !important;
  color: #f5ead6 !important;
  border: 1px solid #d4ad70 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
#accountProButton.button-outline:hover,
#accountProButton.button-outline:focus-visible {
  background: #24221d !important;
  color: #fff2d8 !important;
  box-shadow: 0 0 0 2px rgba(212,173,112,.25) !important;
}
#accountProButton.button-outline:disabled { color: #f5ead6 !important; }
.pro-plan-button:disabled, .pro-choice:disabled {cursor:not-allowed;opacity:.72;transform:none;}
.manage-subscription-link[hidden] {display:none!important;}
