/* My Recovery Plan premium guided journey · 2026-09-17 */
.recovery-tools-experience.recovery-plan-premium-v1{
  --rp-canvas:#eee7dc;
  --rp-canvas-high:#f8f3ea;
  --rp-canvas-low:#e3d9cc;
  --rp-face:#fbf5eb;
  --rp-face-high:#fffaf1;
  --rp-face-low:#e6dbce;
  --rp-support:#c6b7a7;
  --rp-ink:#29262c;
  --rp-muted:#625d63;
  --rp-violet:#7045b8;
  --rp-violet-deep:#533286;
  --rp-violet-soft:#eee5f5;
  --rp-graphite:#17151d;
  background:#d4cabd;
  color:var(--rp-ink)
}
.recovery-plan-premium-v1 .recovery-tools-shell{
  background:linear-gradient(180deg,var(--rp-canvas-high),var(--rp-canvas) 42%,var(--rp-canvas-low));
  color:var(--rp-ink)
}
.recovery-plan-premium-v1 .recovery-tools-bar{
  min-height:calc(64px + env(safe-area-inset-top));
  padding:max(10px,env(safe-area-inset-top)) 16px 10px;
  border-bottom:1px solid rgba(152,92,255,.56);
  background:linear-gradient(180deg,#292630,#15131a);
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 6px 17px rgba(38,30,45,.2);
  backdrop-filter:none
}
.recovery-plan-premium-v1 .recovery-tools-bar button{min-width:44px;min-height:44px;color:#fffaf0}
.recovery-plan-premium-v1 .recovery-tools-bar b{color:#fffaf0}
.recovery-plan-premium-v1 .recovery-tools-bar small{color:#cbb9e7}
.recovery-plan-premium-v1 .recovery-tools-screen{
  min-height:calc(100dvh - 64px);
  padding:20px 16px max(42px,calc(28px + env(safe-area-inset-bottom)));
  overflow-x:clip;
  background:linear-gradient(180deg,rgba(255,255,255,.42),transparent 180px),linear-gradient(180deg,var(--rp-canvas-high),var(--rp-canvas) 54%,var(--rp-canvas-low));
  color:var(--rp-ink)
}
.recovery-plan-premium-v1 .rp-orientation{margin:0 0 20px}
.recovery-plan-premium-v1 .rp-orientation .rt-eyebrow{
  color:var(--rp-violet-deep);
  font-size:12px;
  font-weight:950;
  line-height:1.25;
  letter-spacing:.13em
}
.recovery-plan-premium-v1 .rp-orientation .rt-title{
  max-width:12ch;
  margin:9px 0 12px;
  color:var(--rp-ink);
  font-size:clamp(31px,9.3vw,40px);
  font-weight:950;
  line-height:.94;
  letter-spacing:-.055em;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal
}
.recovery-plan-premium-v1 .rp-orientation .rt-lead{
  max-width:37ch;
  margin:0;
  color:var(--rp-muted);
  font-size:15px;
  font-weight:620;
  line-height:1.5
}
.recovery-plan-premium-v1 .rp-progress{
  margin:0 0 20px;
  padding:11px 12px 12px;
  border:1px solid rgba(112,69,184,.3);
  border-radius:16px;
  background:linear-gradient(145deg,var(--rp-face-high),var(--rp-face) 68%,var(--rp-face-low));
  box-shadow:inset 1px 1px rgba(255,255,255,.96),inset -1px -2px rgba(101,81,64,.08),0 3px 0 var(--rp-support),0 8px 16px rgba(47,39,52,.1)
}
.recovery-plan-premium-v1 .rp-progress>span{display:block;margin-bottom:8px;color:var(--rp-violet-deep);font-size:12px;font-weight:950;letter-spacing:.11em}
.recovery-plan-premium-v1 .rp-progress>div{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.recovery-plan-premium-v1 .rp-progress i{
  height:10px;
  border:1px solid #b9aca1;
  border-radius:999px;
  background:#ddd4c9;
  display:grid;
  place-items:center;
  color:var(--rp-violet-deep);
  font-size:8px;
  font-style:normal;
  font-weight:950
}
.recovery-plan-premium-v1 .rp-progress i.complete{border-color:#8d71b9;background:var(--rp-violet-soft)}
.recovery-plan-premium-v1 .rp-progress i.current{border-color:var(--rp-violet);background:var(--rp-violet);box-shadow:inset 0 1px rgba(255,255,255,.35)}
.recovery-plan-premium-v1 :is(.rp-opening,.rp-workspace,.rp-review-section,.rp-saved-summary,.rp-complete,.rp-support-links,.rp-dialog){
  border:1px solid rgba(112,69,184,.29);
  background:linear-gradient(148deg,var(--rp-face-high),var(--rp-face) 66%,var(--rp-face-low));
  box-shadow:inset 1px 1px rgba(255,255,255,.98),inset -1px -2px rgba(89,70,54,.08),0 4px 0 var(--rp-support),0 12px 24px rgba(47,39,52,.13)
}
.recovery-plan-premium-v1 .rp-opening{
  min-height:104px;
  padding:17px 16px;
  border-radius:21px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:14px;
  align-items:center
}
.recovery-plan-premium-v1 .rp-opening-mark,
.recovery-plan-premium-v1 .rp-complete>span{
  width:44px;
  height:44px;
  border:1px solid #5c3891;
  border-radius:50%;
  background:linear-gradient(145deg,#8052c0,#5c3891);
  color:#fff9ed;
  display:grid;
  place-items:center;
  box-shadow:inset 1px 1px rgba(255,255,255,.26),0 4px 8px rgba(64,42,90,.2)
}
.recovery-plan-premium-v1 .rp-opening b{display:block;color:var(--rp-ink);font-size:14px;line-height:1.25;letter-spacing:.035em}
.recovery-plan-premium-v1 .rp-opening p{margin:6px 0 0;color:var(--rp-muted);font-size:14px;line-height:1.42}
.recovery-plan-premium-v1 :is(.rp-opening-actions,.rp-saved-actions,.rp-review-actions){display:grid;gap:10px;margin-top:18px}
.recovery-plan-premium-v1 :is(.rt-primary,.rt-secondary){
  min-height:52px;
  margin:0;
  padding:12px 16px;
  border-radius:17px;
  font-size:15px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:.035em;
  transition:transform 140ms ease,box-shadow 140ms ease
}
.recovery-plan-premium-v1 .rt-primary{
  border:1px solid #4f2e7d;
  background:linear-gradient(145deg,#8253c3,#67409e 66%,#54317f);
  color:#fffaf0;
  box-shadow:inset 1px 1px rgba(255,255,255,.28),inset -1px -2px rgba(35,17,59,.22),0 4px 0 #3e245f,0 10px 18px rgba(71,43,105,.21)
}
.recovery-plan-premium-v1 .rt-secondary{
  border:1px solid rgba(112,69,184,.32);
  background:linear-gradient(145deg,var(--rp-face-high),var(--rp-face) 66%,var(--rp-face-low));
  color:var(--rp-ink);
  box-shadow:inset 1px 1px rgba(255,255,255,.96),inset -1px -2px rgba(89,70,54,.08),0 3px 0 var(--rp-support),0 8px 15px rgba(47,39,52,.11)
}
.recovery-plan-premium-v1 :is(.rt-primary,.rt-secondary):active{transform:translateY(2px);box-shadow:inset 0 2px 3px rgba(45,32,54,.12),0 1px 0 #9d8e80,0 4px 8px rgba(47,39,52,.09)}
.recovery-plan-premium-v1 .rp-text-action{
  min-height:44px;
  padding:8px 12px;
  border:0;
  background:transparent;
  color:var(--rp-violet-deep);
  font:inherit;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  text-decoration:underline;
  text-underline-offset:4px
}
.recovery-plan-premium-v1 .rp-workspace{padding:16px;border-radius:22px}
.recovery-plan-premium-v1 .rp-entry-list{display:grid;gap:9px;margin:0 0 16px;padding:0;list-style:none}
.recovery-plan-premium-v1 .rp-entry-list li{
  min-width:0;
  padding:12px;
  border:1px solid rgba(112,69,184,.22);
  border-radius:16px;
  background:rgba(255,250,241,.78);
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:4px 10px;
  align-items:center;
  box-shadow:inset 1px 1px rgba(255,255,255,.9),0 2px 5px rgba(51,43,56,.07)
}
.recovery-plan-premium-v1 .rp-entry-marker{width:30px;height:30px;border:1px solid #8666b3;border-radius:50%;background:var(--rp-violet-soft);color:var(--rp-violet-deep);display:grid;place-items:center;font-size:14px;font-weight:950}
.recovery-plan-premium-v1 .rp-entry-list li>div{min-width:0}
.recovery-plan-premium-v1 .rp-entry-list b{display:block;color:var(--rp-ink);font-size:16px;line-height:1.35;overflow-wrap:normal;word-break:normal}
.recovery-plan-premium-v1 .rp-entry-list small{display:block;margin-top:4px;color:var(--rp-muted);font-size:13px;line-height:1.42;overflow-wrap:normal;word-break:normal}
.recovery-plan-premium-v1 .rp-entry-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:4px 12px}
.recovery-plan-premium-v1 .rp-entry-actions button{
  min-width:44px;
  min-height:44px;
  padding:6px 0;
  border:0;
  background:transparent;
  color:var(--rp-violet-deep);
  font:inherit;
  font-size:12px;
  font-weight:950;
  letter-spacing:.04em;
  text-align:left
}
.recovery-plan-premium-v1 .rp-entry-actions button:last-child{color:#6c4851}
.recovery-plan-premium-v1 .rp-empty{
  min-height:86px;
  margin-bottom:16px;
  padding:15px;
  border:1px solid rgba(112,69,184,.22);
  border-radius:16px;
  background:rgba(255,250,241,.72);
  display:flex;
  gap:12px;
  align-items:center
}
.recovery-plan-premium-v1 .rp-empty span{width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:var(--rp-violet-soft);color:var(--rp-violet-deep);display:grid;place-items:center;font-size:20px}
.recovery-plan-premium-v1 .rp-empty p{margin:0;color:var(--rp-muted);font-size:14px;line-height:1.4}
.recovery-plan-premium-v1 .rp-entry-form{padding-top:15px;border-top:1px solid rgba(83,50,134,.2)}
.recovery-plan-premium-v1 :is(.rp-entry-form,.rp-personal-form,.rp-matters)>label,
.recovery-plan-premium-v1 .rp-personal-form legend{
  display:block;
  margin:0 0 7px;
  color:var(--rp-violet-deep);
  font-size:12px;
  font-weight:950;
  line-height:1.3;
  letter-spacing:.07em
}
.recovery-plan-premium-v1 :is(.rp-entry-form,.rp-personal-form,.rp-matters) :is(input,textarea,select){
  box-sizing:border-box;
  width:100%;
  min-height:52px;
  padding:13px 14px;
  border:1px solid #a99bb1;
  border-radius:15px;
  background:linear-gradient(145deg,#fffdf7,#f1e9de);
  color:var(--rp-ink);
  font:inherit;
  font-size:16px;
  line-height:1.45;
  box-shadow:inset 1px 2px 3px rgba(58,45,66,.08),0 2px 0 rgba(255,255,255,.72)
}
.recovery-plan-premium-v1 :is(.rp-personal-form,.rp-matters) textarea{min-height:128px;resize:vertical}
.recovery-plan-premium-v1 :is(input,textarea)::placeholder{color:#817981;opacity:1}
.recovery-plan-premium-v1 .rp-inline-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:11px}
.recovery-plan-premium-v1 .rp-inline-actions .rt-secondary{min-height:48px}
.recovery-plan-premium-v1 .rp-step-actions{display:grid;grid-template-columns:minmax(100px,.42fr) minmax(0,1fr);gap:10px;margin-top:18px}
.recovery-plan-premium-v1 .rp-error{
  margin:10px 0 0;
  padding:11px 12px;
  border-left:4px solid var(--rp-violet);
  border-radius:10px;
  background:#f3eaf5;
  color:#4c304f;
  font-size:14px;
  font-weight:750;
  line-height:1.4
}
.recovery-plan-premium-v1 .rp-error[hidden]{display:none}
.recovery-plan-premium-v1 .rp-add-shared{margin-top:2px}
.recovery-plan-premium-v1 .rp-shared-note{margin:13px 2px 0;color:var(--rp-muted);font-size:13px;line-height:1.4}
.recovery-plan-premium-v1 .rp-personal-form{display:grid;gap:8px}
.recovery-plan-premium-v1 .rp-personal-form fieldset{min-width:0;margin:0 0 8px;padding:0;border:0}
.recovery-plan-premium-v1 .rp-suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.recovery-plan-premium-v1 .rp-suggestion-grid button{
  min-height:48px;
  padding:9px 10px;
  border:1px solid rgba(112,69,184,.27);
  border-radius:13px;
  background:linear-gradient(145deg,#fffdf7,#eee5da);
  color:var(--rp-ink);
  font:inherit;
  font-size:13px;
  font-weight:800;
  line-height:1.3;
  overflow-wrap:normal;
  word-break:normal;
  box-shadow:inset 1px 1px #fff,0 2px 0 #cabdaf
}
.recovery-plan-premium-v1 .rp-matters>p{margin:9px 2px 0;color:var(--rp-muted);font-size:13px;line-height:1.4}
.recovery-plan-premium-v1 .rp-review-list{display:grid;gap:12px}
.recovery-plan-premium-v1 .rp-review-section{padding:15px;border-radius:18px}
.recovery-plan-premium-v1 .rp-review-section>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.recovery-plan-premium-v1 .rp-review-section h2{margin:2px 0 0;color:var(--rp-ink);font-size:16px;line-height:1.28;letter-spacing:-.015em}
.recovery-plan-premium-v1 .rp-review-section button{min-width:44px;min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--rp-violet-deep);font:inherit;font-size:12px;font-weight:950}
.recovery-plan-premium-v1 .rp-review-section ul{display:grid;gap:7px;margin:8px 0 0;padding:0;list-style:none}
.recovery-plan-premium-v1 .rp-review-section li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;color:var(--rp-muted);font-size:14px;line-height:1.4;word-break:normal;overflow-wrap:normal}
.recovery-plan-premium-v1 .rp-review-section li span{width:22px;height:22px;border-radius:50%;background:var(--rp-violet-soft);color:var(--rp-violet-deep);display:grid;place-items:center;font-size:11px;font-weight:950}
.recovery-plan-premium-v1 .rp-review-section>p{margin:8px 0 0;color:#776f76;font-size:13px;font-weight:750;line-height:1.35}
.recovery-plan-premium-v1 .rp-review-validation{margin-top:16px;padding:14px;border:1px solid #8f6b93;border-left:5px solid var(--rp-violet);border-radius:14px;background:#f4eaf5;color:#4c304f}
.recovery-plan-premium-v1 .rp-review-validation b{display:block;font-size:14px;line-height:1.35}
.recovery-plan-premium-v1 .rp-review-validation button{width:100%;min-height:44px;margin-top:7px;padding:6px 0;border:0;background:transparent;color:var(--rp-violet-deep);font:inherit;font-size:14px;font-weight:850;text-align:left;text-decoration:underline;text-underline-offset:3px}
.recovery-plan-premium-v1 .rp-complete{padding:16px;border-radius:20px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:center}
.recovery-plan-premium-v1 .rp-complete b{display:block;color:var(--rp-ink);font-size:18px;line-height:1.25}
.recovery-plan-premium-v1 .rp-complete p{margin:4px 0 0;color:var(--rp-muted);font-size:14px;line-height:1.4}
.recovery-plan-premium-v1 .rp-saved-summary{margin-top:14px;padding:7px 14px;border-radius:19px}
.recovery-plan-premium-v1 .rp-saved-summary>div{min-height:49px;border-bottom:1px solid rgba(83,50,134,.16);display:flex;align-items:center;justify-content:space-between;gap:12px}
.recovery-plan-premium-v1 .rp-saved-summary>div:last-child{border-bottom:0}
.recovery-plan-premium-v1 .rp-saved-summary span{color:var(--rp-muted);font-size:13px;font-weight:800;line-height:1.3}
.recovery-plan-premium-v1 .rp-saved-summary b{width:32px;height:32px;border-radius:50%;background:var(--rp-violet-soft);color:var(--rp-violet-deep);display:grid;place-items:center;font-size:15px}
.recovery-plan-premium-v1 .rp-support-links{margin-top:18px;padding:15px;border-radius:19px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.recovery-plan-premium-v1 .rp-support-links>span{grid-column:1/-1;color:var(--rp-violet-deep);font-size:12px;font-weight:950;letter-spacing:.08em}
.recovery-plan-premium-v1 .rp-support-links button{min-height:48px;padding:8px;border:1px solid rgba(112,69,184,.26);border-radius:13px;background:#f9f2e8;color:var(--rp-ink);font:inherit;font-size:12px;font-weight:900;line-height:1.25;box-shadow:inset 1px 1px #fff,0 2px 0 #c7b9aa}
.recovery-plan-premium-v1 .rp-dialog{padding:18px;border-radius:22px;text-align:center}
.recovery-plan-premium-v1 .rp-dialog>span{width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:var(--rp-violet-soft);color:var(--rp-violet-deep);display:grid;place-items:center;font-size:21px;font-weight:950}
.recovery-plan-premium-v1 .rp-dialog p{margin:0;color:var(--rp-muted);font-size:15px;line-height:1.5}
.recovery-plan-premium-v1 .rp-dialog :is(.rt-primary,.rt-secondary){margin-top:12px}
.recovery-plan-premium-v1 .rp-danger{border-color:#66404b;background:linear-gradient(145deg,#7d505d,#62404a);box-shadow:inset 1px 1px rgba(255,255,255,.2),0 4px 0 #492e36,0 9px 16px rgba(76,47,55,.16)}
.recovery-plan-premium-v1 :is(button,a,input,textarea,select):focus-visible{
  outline:3px solid var(--rp-graphite);
  outline-offset:3px;
  box-shadow:0 0 0 6px rgba(255,250,240,.98),0 0 0 9px var(--rp-violet)
}
.recovery-plan-premium-v1 :is(input,textarea,select):focus-visible{border-color:var(--rp-violet)}
.recovery-plan-premium-v1 :is(input,textarea)[aria-invalid="true"]{border-color:#77505c;box-shadow:inset 0 0 0 1px #77505c}
.recovery-plan-premium-v1 button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:360px){
  .recovery-plan-premium-v1 .recovery-tools-screen{padding-left:13px;padding-right:13px}
  .recovery-plan-premium-v1 .rp-orientation .rt-title{font-size:30px}
  .recovery-plan-premium-v1 .rp-orientation .rt-lead{font-size:14px}
  .recovery-plan-premium-v1 .rp-workspace{padding:14px}
  .recovery-plan-premium-v1 .rp-suggestion-grid{grid-template-columns:1fr}
  .recovery-plan-premium-v1 .rp-support-links{grid-template-columns:1fr}
  .recovery-plan-premium-v1 .rp-support-links>span{grid-column:auto}
}
@media(max-width:330px){
  .recovery-plan-premium-v1 .rp-step-actions{grid-template-columns:1fr}
  .recovery-plan-premium-v1 .rp-step-actions .rt-primary{grid-row:1}
  .recovery-plan-premium-v1 .rp-inline-actions{grid-template-columns:1fr}
}
@media(max-width:240px){
  .recovery-plan-premium-v1 .recovery-tools-bar{padding-left:6px;padding-right:6px;grid-template-columns:44px minmax(0,1fr) 44px}
  .recovery-plan-premium-v1 .recovery-tools-bar button{min-width:44px;font-size:7px;letter-spacing:0}
  .recovery-plan-premium-v1 .recovery-tools-bar b{font-size:8px;letter-spacing:.06em;white-space:normal}
  .recovery-plan-premium-v1 .recovery-tools-bar small{font-size:6px;letter-spacing:.03em}
  .recovery-plan-premium-v1 .recovery-tools-screen{padding-left:10px;padding-right:10px}
  .recovery-plan-premium-v1 .rp-opening{grid-template-columns:1fr;text-align:center}
  .recovery-plan-premium-v1 .rp-opening-mark{margin:0 auto}
}
@media(orientation:landscape) and (max-height:520px){
  .recovery-plan-premium-v1 .recovery-tools-screen{padding-top:14px}
  .recovery-plan-premium-v1 .rp-orientation{margin-bottom:14px}
  .recovery-plan-premium-v1 .rp-orientation .rt-title{font-size:30px}
  .recovery-plan-premium-v1 .rp-progress{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){
  .recovery-plan-premium-v1 :is(.rt-primary,.rt-secondary){transition:none}
}
@media(forced-colors:active){
  .recovery-plan-premium-v1 :is(.rp-opening,.rp-workspace,.rp-review-section,.rp-saved-summary,.rp-complete,.rp-support-links,.rp-dialog,.rp-progress,.rp-entry-list li,.rp-empty){border:2px solid CanvasText;background:Canvas;box-shadow:none;color:CanvasText}
  .recovery-plan-premium-v1 :is(.rt-primary,.rt-secondary,.rp-suggestion-grid button,.rp-support-links button){border:2px solid ButtonText;background:ButtonFace;color:ButtonText;box-shadow:none}
  .recovery-plan-premium-v1 .rt-primary{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}
  .recovery-plan-premium-v1 :is(.rp-opening-mark,.rp-complete>span,.rp-entry-marker,.rp-saved-summary b,.rp-progress i){border:1px solid CanvasText;background:Canvas;color:CanvasText}
  .recovery-plan-premium-v1 .rp-progress i.current{forced-color-adjust:none;border-color:Highlight;background:Highlight;color:HighlightText}
}
