/* Phoenix Rising member room */
.rm-hero { position: relative; isolation: isolate; overflow: hidden; margin: 8px 0 22px; border-radius: 26px; color: #f6ecd9;
  background: radial-gradient(1000px 480px at 90% 115%, rgba(224,100,59,.5), transparent 60%), radial-gradient(700px 400px at 0% -20%, rgba(217,183,121,.2), transparent 60%), linear-gradient(160deg, #0d1f33, #07121f 70%);
  box-shadow: 0 40px 90px -50px rgba(7,18,31,.9), inset 0 0 0 1px rgba(217,183,121,.22); }
.rm-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.rm-hero-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 40px; align-items: end; padding: 56px 52px 48px; }
.rm-eyebrow { font: 600 11px/1.2 Inter, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #d9b779; }
.rm-eyebrow.dark { color: #a4462a; }
.rm-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: clamp(44px, 6vw, 78px); line-height: 1; margin: 14px 0 18px; color: #fff; }
.rm-hero h1 em { font-style: italic; color: #ffb27d; }
.rm-hero-copy p { font-size: 18px; line-height: 1.55; max-width: 44ch; color: #efe3cc; margin: 0; }
.rm-admin { display: inline-block; margin-top: 22px; color: #d9b779; font-weight: 600; font-size: 14px; text-decoration: none; }
.rm-next { padding: 26px; border-radius: 18px; background: rgba(7,18,31,.55); border: 1px solid rgba(217,183,121,.25); backdrop-filter: blur(14px); }
.rm-next h3 { font: 400 28px/1.15 'Playfair Display', Georgia, serif; color: #fff; margin: 8px 0; }
.rm-next p { color: rgba(246,236,217,.75); margin: 0 0 16px; }
.rm-count { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 14px 0 18px; }
.rm-count div { text-align: center; padding: 12px 0; border-radius: 12px; background: rgba(255,255,255,.06); }
.rm-count b { display: block; font: 400 36px/1 'Playfair Display', Georgia, serif; color: #fff; font-variant-numeric: tabular-nums; }
.rm-count span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #d9b779; }
.rm-next-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rm-in { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 99px; background: rgba(63,155,90,.18); color: #bfe8c9; font-weight: 600; font-size: 14px; }
.rm-in i { width: 8px; height: 8px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 4px rgba(95,208,138,.2); }
.rm-voices { margin-top: 16px; font-size: 13px; color: rgba(246,236,217,.7); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rm-voices span { padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.07); color: #fff; }
.rm-btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 11px; border: 0; cursor: pointer; font: 600 14px Inter, sans-serif; text-decoration: none; color: #1a0f08; background: linear-gradient(135deg,#ff9a5c,#e0643b); box-shadow: 0 12px 30px -12px rgba(224,100,59,.85); transition: transform .2s; }
.rm-btn:hover { transform: translateY(-1px); }
.rm-btn.ghost { background: transparent; color: #f6ecd9; border: 1px solid rgba(217,183,121,.35); box-shadow: none; }
.rm-btn.ghost-dark { background: transparent; color: #1a1a1a; border: 1px solid #d8ccb6; box-shadow: none; }
.rm-btn.small { padding: 10px 16px; font-size: 13px; }

.rm-today, .rm-rhythm { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.rm-tile { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #eee5d4; box-shadow: 0 24px 50px -44px rgba(7,18,31,.5); animation: rmIn .5s both; }
.rm-tile:nth-child(2) { animation-delay: .06s } .rm-tile:nth-child(3) { animation-delay: .12s }
@keyframes rmIn { from { opacity: 0; transform: translateY(10px); } }
.rm-tile h3 { font: 500 22px/1.2 'Playfair Display', Georgia, serif; margin: 8px 0 8px; }
.rm-tile p { margin: 0 0 14px; color: #5a5a5a; font-size: 14.5px; line-height: 1.55; }
.rm-link { font-weight: 600; font-size: 14px; color: #c44729; text-decoration: none; }
.rm-skel { height: 120px; margin-top: 12px; border-radius: 12px; background: linear-gradient(90deg,#f4ede0,#fbf7f0,#f4ede0); background-size: 200% 100%; animation: rmShim 1.4s infinite; }
@keyframes rmShim { to { background-position: -200% 0; } }
.rm-person { display: flex; gap: 14px; align-items: center; margin: 12px 0 10px; }
.rm-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e7c9a0; }
.rm-person h3 { margin: 0; }
.rm-person span { font-size: 13px; color: #5a5a5a; }
.rm-profile { display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: center; }
.rm-ring-wrap { position: relative; width: 108px; height: 108px; }
.rm-ring { width: 108px; height: 108px; transform: rotate(-90deg); }
.rm-ring-bg { fill: none; stroke: #f1e7d6; stroke-width: 9; }
.rm-ring-fg { fill: none; stroke: url(#none); stroke: #e0643b; stroke-width: 9; stroke-linecap: round; animation: rmRing 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rmRing { from { stroke-dashoffset: var(--c); } }
.rm-ring-val { position: absolute; inset: 0; display: grid; place-items: center; font: 500 28px 'Playfair Display', Georgia, serif; }
.rm-ring-val small { font-size: 14px; }
.rm-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-copied { display: block; min-height: 18px; margin-top: 8px; font-size: 12.5px; color: #3f7d52; }

.rm-vault { margin-bottom: 22px; }
.rm-sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.rm-sec-head h2 { font: 400 34px 'Playfair Display', Georgia, serif; margin: 6px 0 0; }
.rm-vault-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.rm-vault-card { position: relative; scroll-snap-align: start; display: grid; gap: 6px; align-content: end; min-height: 200px; padding: 22px; border-radius: 18px; text-decoration: none; color: #f6ecd9; overflow: hidden;
  background: radial-gradient(420px 220px at 100% 100%, rgba(224,100,59,.45), transparent 60%), linear-gradient(160deg,#13283f,#07121f); transition: transform .25s, box-shadow .25s; animation: rmIn .5s both; animation-delay: calc(var(--i) * 70ms); }
.rm-vault-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(224,100,59,.7); }
.rm-play { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(217,183,121,.4); }
.rm-play::after { content: ''; position: absolute; left: 17px; top: 13px; border-left: 13px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.rm-vault-date { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #d9b779; }
.rm-vault-card strong { font: 500 21px/1.2 'Playfair Display', Georgia, serif; color: #fff; }
.rm-vault-sub { font-size: 13px; color: rgba(246,236,217,.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rm-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid #f0e8da; font-size: 14px; }
.rm-row b { font-weight: 600; }
.rm-row em { font-style: normal; font-size: 12px; font-weight: 600; color: #3f7d52; }
.rm-dark { background: linear-gradient(160deg,#0d1f33,#07121f); color: #f6ecd9; border-color: transparent; }
.rm-dark h3 { color: #fff; } .rm-dark p { color: rgba(246,236,217,.75); }
.rm-more { display: grid; gap: 18px; margin-bottom: 40px; }

@media (max-width: 960px) {
  .rm-hero-inner { grid-template-columns: 1fr; padding: 36px 24px; }
  .rm-today, .rm-rhythm { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .rm-hero *, .rm-tile, .rm-vault-card, .rm-ring-fg { animation: none !important; } }

body.ah-dashboard #app { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.rm-dark p { color: #d9ccb4; }
.rm-pods { margin-top: 14px; display: grid; gap: 6px; font-size: 12.5px; color: #5a5a5a; }
.rm-pods-bar { height: 6px; border-radius: 99px; background: #f1e7d6; overflow: hidden; }
.rm-pods-bar i { display: block; height: 100%; background: linear-gradient(90deg,#d9b779,#e0643b); border-radius: inherit; animation: rmGrow 1.2s both; }
@keyframes rmGrow { from { width: 0; } }
.rm-rituals { margin: 36px 0; } .rm-h2 { font: 500 30px/1.15 'Playfair Display', Georgia, serif; margin: 6px 0 18px; }
.rm-rit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rm-rit-grid form { display: grid; gap: 8px; margin-top: 10px; } .rm-rit-grid textarea { width: 100%; box-sizing: border-box; border: 1px solid #eadfcb; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; background: #fffdf9; }
.rm-small { font-size: 13px !important; } .rm-chip { border: 1px solid #e3cfae; background: #fff7ec; border-radius: 99px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.rm-wins ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; max-height: 300px; overflow: auto; }
.rm-wins li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: #fbf6ee; font-size: 13.5px; } .rm-wins li b { grid-column: 1; } .rm-wins li span { grid-column: 1; color: #555; } .rm-wins li .rm-cheer { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.rm-cheer { border: 0; background: #fff; border-radius: 99px; padding: 6px 10px; cursor: pointer; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.06); } .rm-cheer.on { background: #ffe6d6; }
.rm-appr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; } .rm-appr span { flex: 1; }
