/* RoleBreeze Bright — final visual layer, loaded after midnight.css. Print pages stay white. */
/* Arabic follows native reading direction; authored resumes and URLs keep their own direction. */
html[dir="rtl"] body :is(nav button,.card,.rb-modal,.calendar-list,.rb-finances){text-align:start}
html[dir="rtl"] body aside{border-right:0!important;border-left:1px solid var(--rb-line)!important}
html[dir="rtl"] body .question-list li .btn{margin-left:0;margin-inline-start:auto}
html[dir="rtl"] body :is(.brand,.brand-word,.resume,.resume-paper,#liveResumePaper,input[type="email"],input[type="url"],input[type="tel"]){direction:ltr}
html[lang="ar"] body :is(h1,h2,h3,p,span,label,button,select){letter-spacing:0!important;line-height:1.6}
html[lang="hi"] body :is(h1,h2,h3,p,label,button,select){letter-spacing:0!important;line-height:1.6}
:root{
  --rb-bg:#fff5ee;--rb-surface:#ffffff;--rb-soft:#fde9de;--rb-line:#f5dccd;
  --rb-ink:#2b1a33;--rb-muted:#76596e;
  --rb-blue:#d9486b;--rb-coral:#ff6b5b;--rb-sun:#ffb547;--rb-mint:#f2823a;--rb-pink:#ff4fa3;
  --rb-grad:linear-gradient(120deg,#d9486b 0%,#f2823a 55%,#ffb547 100%);
  --rb-grad-hot:linear-gradient(120deg,#ff6b5b,#ffb547);
  --rb-shadow:0 1px 2px #2b1a330d,0 8px 24px #2b1a330f;
  --rb-shadow-lg:0 18px 40px #d9486b26;
  --rb-on-primary:#fff;
  --rb-field-bg:linear-gradient(165deg,var(--rb-surface) 0%,var(--rb-bg) 100%);
  --rb-field-shadow:inset 0 2px 4px #2b1a330a,0 1px 0 var(--rb-surface),0 4px 10px #2b1a3308;
  --rb-field-focus-shadow:inset 0 1px 3px #2b1a3308,0 0 0 3px #d9486b20,0 6px 16px #d9486b12;
  --rb-control-shadow:inset 0 1px 0 #ffffff38,0 2px 0 #ad3655,0 6px 16px #d9486b30;
  --rb-control-hover-shadow:inset 0 1px 0 #ffffff38,0 2px 0 #ad3655,0 9px 20px #d9486b40;
  --rb-neutral-control-shadow:inset 0 1px 0 var(--rb-surface),0 2px 0 var(--rb-line),0 4px 10px #2b1a3308;
  --ink:var(--rb-ink);--muted:var(--rb-muted);--bg:var(--rb-bg);--line:var(--rb-line);
  --green:var(--rb-mint);--purple:var(--rb-blue);--cyan:var(--rb-blue);--coral:var(--rb-coral);
  color-scheme:light;
}
html body{background:var(--rb-bg)!important;color:var(--rb-ink)!important;font-family:"Plus Jakarta Sans","Avenir Next","Segoe UI",Arial,sans-serif!important;-webkit-font-smoothing:antialiased}
html body:before{background:radial-gradient(ellipse,#d9486b,transparent 65%)!important;opacity:.10!important}
html body:after{background:radial-gradient(ellipse,#ffb547,transparent 65%)!important;opacity:.12!important}
html body h1{font-weight:800!important;letter-spacing:-.03em!important;color:var(--rb-ink)!important}
html body h2,html body h3{color:var(--rb-ink)!important;letter-spacing:-.01em}

/* Sidebar */
html body aside{background:var(--rb-surface)!important;border-right:1px solid var(--rb-line)!important;box-shadow:none!important}
html body .brand,html body .brand-word{color:var(--rb-ink)!important}
html body .brand-word b{background:var(--rb-grad);-webkit-background-clip:text;background-clip:text;color:transparent!important}
html body .brand-word i{color:var(--rb-coral)!important}
html body .brand-symbol{background:var(--rb-grad)!important;color:#fff!important;border-radius:12px!important}
html body nav button{color:var(--rb-muted)!important;border:1px solid transparent!important;border-radius:12px!important;font-weight:600;transition:background .2s,color .2s,transform .2s}
html body nav button:hover{background:var(--rb-soft)!important;color:var(--rb-ink)!important;transform:translateX(2px)}
html body nav button.active{background:#d9486b14!important;color:var(--rb-blue)!important;border-color:#d9486b33!important}
html body nav button.active svg{color:var(--rb-blue)!important}
html body .sidefoot{background:var(--rb-grad)!important;color:#fff!important;border:0!important;border-radius:16px!important}
html body .sidefoot *{color:#fff!important}
html body .sidefoot .badge{background:#ffffff33!important}
html body .nav-group-title,html body nav h4,html body nav .group-label{color:#b48f9f!important;text-transform:uppercase;letter-spacing:.08em;font-size:11px}

/* Header */
html body header.top{border-bottom:1px solid var(--rb-line)!important}

/* Surfaces */
html body .card,html body .grid>div>.card:first-child,html body .grid>div>.card:nth-child(2),html body .network-path-card,html body .alumni-provider,html body .network-provider,html body .network-next,html body .network-how,html body .network-guide,html body .connection-card,html body .connection-summary,html body .connection-limit,html body .school-setup,html body .alumni-school,html body .pop-feature,html body .pop-tile,html body .task-card,html body .application-card,html body .kanban-column{
  background:var(--rb-surface)!important;border:1px solid var(--rb-line)!important;color:var(--rb-ink)!important;box-shadow:var(--rb-shadow)!important;border-radius:18px!important;transition:transform .2s,box-shadow .2s,border-color .2s}
html body .network-path-card:hover,html body .connection-card:hover,html body .pop-tile:hover,html body .application-card:hover{transform:translateY(-3px);box-shadow:var(--rb-shadow-lg)!important;border-color:#d9486b55!important}
html body .kanban-column{background:var(--rb-soft)!important}
html body .card p,html body .card li{color:#41475f!important}
html body .card b,html body .card h2,html body .card h3,html body .network-path-card h2,html body .alumni-provider h3{color:var(--rb-ink)!important}
html body .network-path-card p,html body .alumni-provider p,html body .path-action{color:#41475f!important}
html body .path-icon,html body .provider-monogram{background:#d9486b14!important;color:var(--rb-blue)!important}
html body .path-number{color:var(--rb-coral)!important}
html body .network-path-card .path-action{border-top-color:var(--rb-line)!important}

/* Hero blocks become bright gradients */
html body .pop-hero,html body .hero,html body .ai-hero{background:var(--rb-grad)!important;color:#fff!important;border:0!important;box-shadow:var(--rb-shadow-lg)!important;border-radius:24px!important}
html body .pop-hero *,html body .hero *{color:#fff!important}
html body .pop-hero .btn,html body .hero .btn,html body .hero button{background:#fff!important;color:var(--rb-ink)!important}
html body .pop-dashboard,html body .pop-bento,html body .pop-journey{background:var(--rb-surface)!important}
html body .workspace-banner,html body .recruiter-intro,html body .connection-summary,html body .live-source-banner{background:linear-gradient(120deg,#d9486b10,#f2823a12)!important;color:var(--rb-ink)!important;border-color:#d9486b26!important}

/* Text */
html body .muted,html body .tiny,html body footer{color:var(--rb-muted)!important}
html body .section-label,html body h1 em,html body h2 em{color:var(--rb-coral)!important;font-weight:700}
html body .ai-hero h1 em{background:linear-gradient(100deg,#fff,#fff3c4)!important;-webkit-background-clip:text;background-clip:text;color:transparent!important}
html body a,html body .text-button,html body summary,html body a.source-link{color:var(--rb-blue)!important}
html body .salary{color:var(--rb-mint)!important}

/* Buttons */
html body .btn,html body .pop-primary{background:var(--rb-blue)!important;color:#fff!important;border:0!important;border-radius:12px!important;font-weight:700!important;box-shadow:0 6px 16px #d9486b40;transition:transform .15s,box-shadow .2s,filter .2s}
html body .btn:hover,html body .pop-primary:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 10px 22px #d9486b55}
html body .btn.secondary,html body .pop-secondary{background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;box-shadow:none!important}
html body .btn.secondary:hover{border-color:var(--rb-blue)!important;color:var(--rb-blue)!important}
html body .tabs button{background:var(--rb-surface)!important;color:var(--rb-muted)!important;border:1px solid var(--rb-line)!important;border-radius:999px!important;font-weight:600}
html body .tabs button.active{background:var(--rb-ink)!important;color:#fff!important;border-color:var(--rb-ink)!important}

/* Chips */
html body .badge,html body .tag,html body .pill,html body .connection-status{background:#d9486b12!important;color:var(--rb-blue)!important;border-color:#d9486b22!important;font-weight:600}
html body .message-count{background:var(--rb-coral)!important;color:#fff!important}

/* Forms */
html body input,html body textarea,html body select{background-color:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid #d6dbe7!important;border-radius:12px!important}
html body input:focus,html body textarea:focus,html body select:focus{outline:3px solid #d9486b33!important;border-color:var(--rb-blue)!important}
html body select,html body .top select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2376596e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
/* Remove number spinner arrows (e.g. Target annual pay) */
html body input[type=number]{-moz-appearance:textfield;appearance:textfield}
html body input[type=number]::-webkit-outer-spin-button,html body input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* Resume builder "Enter a job below" picker: no arrow */
html body select#resumeJobSelect{background-image:none!important;padding-right:14px!important}

/* Suggestions + outputs */
html body .rb-suggestions{background:var(--rb-surface)!important;border:1px solid var(--rb-line)!important;box-shadow:0 18px 40px #2b1a3322!important}
html body .rb-suggestions button{color:var(--rb-ink)!important}
html body .rb-suggestions button:hover,html body .rb-suggestions button[aria-selected=true]{background:#d9486b14!important}
html body .ai-review-grid section,html body .output,html body .message-item{background:var(--rb-soft)!important;color:var(--rb-ink)!important}
html body .ai-match-ring{background:conic-gradient(var(--rb-mint) var(--match),#f5dccd 0)!important}
html body .ai-match-ring:before{background:var(--rb-surface)!important}
html body .career-scene{filter:none!important}
html body .toast{background:var(--rb-ink)!important;color:#fff!important;border-radius:14px!important}
html body .account-loading{background:var(--rb-bg)!important;color:var(--rb-ink)!important}

/* Resume paper stays white and readable */
html body .resume-paper,html body .resume-paper *{color:#172034!important}
html body .resume-paper{background:#fff!important}

/* New: linked accounts, internships, radius */
.rb-linked-grid,.rb-intern-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin:18px 0}
.rb-linked-card .rb-logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px}
.rb-linked-card .rb-state{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--rb-soft);color:var(--rb-muted)}
.rb-linked-card .rb-state.on{background:#f2823a1f;color:#008a6c}
.rb-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rb-note{border-left:4px solid var(--rb-sun);background:#ffb54714;padding:12px 16px;border-radius:12px;color:var(--rb-ink);font-size:13px;margin:14px 0}
.rb-intern-hero{background:var(--rb-grad-hot);color:#fff;border-radius:24px;padding:28px;margin:18px 0;box-shadow:0 18px 40px #ff6b5b33}
.rb-intern-hero h1,.rb-intern-hero p{color:#fff!important}
.rb-radius-row{display:grid;grid-template-columns:1fr 160px;gap:12px;align-items:end}
.rb-kit{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}
@media(max-width:720px){.rb-radius-row{grid-template-columns:1fr}}
@media print{html body{background:#fff!important}html body:before,html body:after{display:none!important}}
/* Fix faint legacy text on light surfaces */
html body label{color:var(--rb-ink)!important;font-weight:600!important}
html body .pop-kicker{color:var(--rb-coral)!important}
html body .hero .badge,html body .pop-hero .badge{background:#ffffff2e!important;color:#fff!important;border-color:#ffffff55!important}
html body .account-status{background:#f2823a14!important;color:#008a6c!important;border:1px solid #f2823a33!important}
html body .account-status[data-state=pending]{background:#ffb54718!important;color:#a76a00!important}
html body .account-status[data-state=error]{background:#ff6b5b14!important;color:#d6363c!important}
html body .avatar{background:var(--rb-grad)!important;color:#fff!important}
html body .card [class*=icon]:not(svg),html body .pop-tile [class*=icon]:not(svg){background:#d9486b14!important;color:var(--rb-blue)!important}
html body .pop-tile:nth-child(3n+2) [class*=icon]:not(svg){background:#ff6b5b14!important;color:var(--rb-coral)!important}
html body .pop-tile:nth-child(3n) [class*=icon]:not(svg){background:#f2823a14!important;color:#008a6c!important}
html body .shell header.top .row span.avatar{background-color:var(--rb-blue)!important;background-image:var(--rb-grad)!important;color:#fff!important}

/* ===== Sunset layer: warm dusk gradient sky, motion, Discover ===== */
:root{--rb-grad:linear-gradient(120deg,#7a4fd0 0%,#d9486b 40%,#f2823a 72%,#ffb547 100%);--rb-dusk:#7a4fd0}
html body{background:linear-gradient(170deg,#fff1e6 0%,#ffe3d6 35%,#fbd5de 65%,#ece0f7 100%) fixed!important}
html body:before,html body:after{content:"";position:fixed;z-index:0;pointer-events:none;width:60vw;height:60vw;border-radius:50%;filter:blur(60px);animation:rbFloat 22s ease-in-out infinite alternate}
html body:before{top:-20vw;right:-15vw;background:radial-gradient(circle,#ffb547,transparent 65%)!important;opacity:.35!important}
html body:after{bottom:-25vw;left:-10vw;background:radial-gradient(circle,#d9486b,transparent 65%)!important;opacity:.22!important;animation-duration:28s}
@keyframes rbFloat{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-4vw,3vw) scale(1.08)}100%{transform:translate(3vw,-2vw) scale(.95)}}
html body aside{background:#fffaf6cc!important;backdrop-filter:blur(14px)}
html body .card{background:#ffffffd9!important;backdrop-filter:blur(8px)}
html body .card:hover{transform:translateY(-3px);box-shadow:0 18px 40px #d9486b22!important}
html body #view>*{animation:rbRise .55s cubic-bezier(.2,.8,.2,1) both}
html body #view>*:nth-child(2){animation-delay:.06s}html body #view>*:nth-child(3){animation-delay:.12s}html body #view>*:nth-child(4){animation-delay:.18s}
@keyframes rbRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
html body .btn{transition:transform .2s,box-shadow .2s,filter .2s!important}
html body .btn:not(.secondary){background:var(--rb-grad)!important;background-size:200% 100%!important;animation:rbShift 8s ease infinite;color:#fff!important;border:0!important}
html body .btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px #d9486b40!important}
@keyframes rbShift{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
html body h1{background:linear-gradient(90deg,#2b1a33,#7a4fd0 50%,#d9486b);-webkit-background-clip:text;background-clip:text;color:transparent!important}

/* Discover */
.rb-hero{position:relative;overflow:hidden;border-radius:26px;padding:34px 30px;color:#fff;background:linear-gradient(125deg,#4b2c7a,#d9486b 50%,#f2823a 80%,#ffb547);background-size:220% 220%;animation:rbShift 14s ease infinite;box-shadow:0 24px 50px #d9486b33;margin-bottom:22px}
.rb-hero:after{content:"";position:absolute;right:-60px;bottom:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#ffe8a3,#ffb54700 70%);animation:rbFloat 9s ease-in-out infinite alternate}
.rb-hero>*{position:relative;z-index:1}
html body .rb-hero h1{color:#fff!important;background:none;-webkit-text-fill-color:#fff;font-size:clamp(28px,4vw,42px);margin:6px 0}
.rb-hero p{color:#fff;opacity:.92;max-width:620px}
.rb-hero .section-label{color:#fff!important;opacity:.85}
.rb-search{display:grid;grid-template-columns:2fr 1.4fr 1.2fr auto;gap:10px;margin-top:18px;align-items:end}
.rb-search label{color:#fff!important;font-size:12px}
.rb-search input,.rb-search select{background:#fffffff2!important;border:0!important;border-radius:14px!important;height:46px;padding:0 14px;color:#2b1a33!important;width:100%}
.rb-search .btn{height:46px;background:#2b1a33!important;animation:none}
.rb-seg{display:inline-flex;gap:4px;margin-top:14px;background:#ffffff2e;padding:4px;border-radius:999px}
.rb-seg button{border:0;background:none;color:#fff;padding:8px 16px;border-radius:999px;font-weight:700;cursor:pointer;transition:background .25s,color .25s}
.rb-seg button.on{background:#fff;color:#d9486b}
.rb-results-head{margin:6px 2px 14px}
.rb-job-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.rb-job{background:#ffffffe6;border:1px solid #f5dccd;border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 6px 20px #d9486b14;animation:rbRise .5s both;animation-delay:var(--d);transition:transform .25s,box-shadow .25s}
.rb-job:hover{transform:translateY(-4px);box-shadow:0 20px 40px #d9486b2b}
.rb-job-top{display:flex;gap:12px;align-items:flex-start}
.rb-co{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--rb-grad);font-size:18px}
.rb-job-head{flex:1;min-width:0}.rb-job-head h3{margin:0;font-size:16px;line-height:1.3}.rb-job-head p{margin:4px 0 0;color:#76596e;font-size:13px}
.rb-ring{flex:none;width:62px;height:62px;border-radius:50%;display:grid;place-content:center;text-align:center;background:conic-gradient(var(--c) calc(var(--p)*1%),#f8e6dc 0);position:relative;line-height:1}
.rb-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}
.rb-ring b,.rb-ring span{position:relative;z-index:1}.rb-ring b{font-size:15px;color:#2b1a33}.rb-ring span{font-size:9px;color:#76596e;text-transform:uppercase}
.rb-ring.great{--c:#2fae7a}.rb-ring.good{--c:#f2823a}.rb-ring.low{--c:#d9486b}
.rb-why{margin:0;font-size:13px;color:#5b3a63;background:#f6ecfb;border-radius:12px;padding:8px 10px}
.rb-meta{display:flex;flex-wrap:wrap;gap:6px}
.rb-chip{font-size:11.5px;font-weight:600;padding:4px 9px;border-radius:999px;background:#fde9de;color:#8a3c3c}
.rb-chip.open{background:#e3f6ec;color:#1f7a52}
.rb-reviews{border-top:1px dashed #f0d2c2;padding-top:10px;font-size:12.5px;display:grid;gap:6px}
.rb-reviews div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.rb-reviews span{color:#76596e;min-width:74px}
.rb-reviews a{color:#7a4fd0;font-weight:600;text-decoration:none}.rb-reviews a:hover{text-decoration:underline}
.rb-job .rb-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
.rb-loading{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.rb-loading p{grid-column:1/-1;text-align:center;color:#76596e}
.rb-skel{height:220px;border-radius:20px;background:linear-gradient(90deg,#fde9de,#fff5ee,#fde9de);background-size:200% 100%;animation:rbShift 1.4s linear infinite}
@media (max-width:900px){.rb-search{grid-template-columns:1fr 1fr}.rb-search .btn{grid-column:1/-1}}
@media (max-width:560px){.rb-search{grid-template-columns:1fr}.rb-job-grid{grid-template-columns:1fr}.rb-hero{padding:24px 18px}}
@media (prefers-reduced-motion:reduce){html body *,html body:before,html body:after{animation:none!important;transition:none!important}}
@media print{html body:before,html body:after{display:none}html body{background:#fff!important}}
.rb-upload{border:2px dashed #f0b9a6;border-radius:16px;padding:14px 16px;margin:6px 0 14px;background:linear-gradient(120deg,#fff5ee,#fbe7f0);display:grid;gap:6px;justify-items:start}
.rb-upload p{margin:0}.rb-upload-btn{cursor:pointer}
.rb-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end}
.rb-unk{grid-column:1/-1;display:flex;gap:8px;align-items:center;color:#fff!important;font-size:13px}
.rb-unk input{width:auto!important;height:auto!important}
.rb-chip.pay{background:#fff1d6;color:#8a5a00}
@media (max-width:900px){.rb-filters{grid-template-columns:1fr 1fr}}

/* ---------- Tailor modal, pipeline help, free plan ---------- */
.rb-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:color-mix(in oklab,#2b1a33 45%,transparent);backdrop-filter:blur(6px);animation:rbFade .25s ease}
.rb-modal-card{position:relative;width:min(760px,100%);max-height:88vh;overflow:auto;background:#fffaf6;border-radius:24px;padding:28px;box-shadow:0 30px 80px -20px #7a4fd066;animation:rbPop .45s cubic-bezier(.2,1.4,.4,1)}
.rb-x{position:absolute;top:14px;right:16px;border:0;background:#f3e6ee;border-radius:50%;width:34px;height:34px;font-size:20px;cursor:pointer;transition:transform .3s}.rb-x:hover{transform:rotate(90deg)}
.rb-modal-card h3{margin:20px 0 8px;color:#7a4fd0}
.rb-tailor-top{display:flex;gap:18px;align-items:flex-start}
.rb-kw{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.rb-kw span{padding:5px 10px;border-radius:999px;font-size:13px;font-weight:600;animation:rbRise .5s both}
.rb-kw .have{background:#e3f7ec;color:#11734a}.rb-kw .miss{background:#ffe9dc;color:#b4501a}
.rb-kw span:nth-child(n){animation-delay:calc(var(--i,0)*40ms)}
.rb-out{background:#fff;border:1px solid #f1dfe6;border-radius:14px;padding:14px 16px;line-height:1.6}.rb-letter{white-space:normal}
.rb-spin{width:46px;height:46px;margin:30px auto 10px;border-radius:50%;border:4px solid #ffe2d2;border-top-color:#d9486b;border-right-color:#7a4fd0;animation:rbSpin .9s linear infinite}
.rb-glow{position:relative;overflow:hidden}.rb-glow::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,#ffffffaa 50%,transparent 70%);transform:translateX(-100%);animation:rbSheen 3.2s ease-in-out infinite}
.rb-pipe-help{border-left:5px solid #f2823a}.rb-due-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed #f1dfe6;flex-wrap:wrap}.rb-due-row>div{flex:1}
.rb-pulse{width:12px;height:12px;border-radius:50%;background:#d9486b;box-shadow:0 0 0 0 #d9486b88;animation:rbPulse 1.8s infinite}
.rb-q{background:#fff;border:1px solid #f1dfe6;border-radius:14px;padding:12px 14px;margin:8px 0;transition:box-shadow .3s}.rb-q[open]{box-shadow:0 10px 30px -14px #d9486b66}.rb-q summary{cursor:pointer;font-weight:700}.rb-q textarea{width:100%;margin-top:8px}
.rb-free{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;background:linear-gradient(120deg,#fff4e8,#ffe6ee 55%,#efe4ff);animation:rbRise .6s both}
.rb-free-up{background:#ffffffb3;border-radius:16px;padding:14px}@media(max-width:720px){.rb-free{grid-template-columns:1fr}.rb-tailor-top{flex-direction:column}}

/* ---------- Extra motion ---------- */
@keyframes rbFade{from{opacity:0}}
@keyframes rbPop{from{opacity:0;transform:translateY(30px) scale(.94)}}
@keyframes rbRise{from{opacity:0;transform:translateY(16px)}}
@keyframes rbSpin{to{transform:rotate(360deg)}}
@keyframes rbSheen{0%,60%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes rbPulse{70%{box-shadow:0 0 0 12px transparent}100%{box-shadow:0 0 0 0 transparent}}
@keyframes rbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes rbHue{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
#view>*{animation:rbRise .55s cubic-bezier(.2,.8,.2,1) both}
#view>*:nth-child(2){animation-delay:.06s}#view>*:nth-child(3){animation-delay:.12s}#view>*:nth-child(4){animation-delay:.18s}#view>*:nth-child(5){animation-delay:.24s}#view>*:nth-child(n+6){animation-delay:.3s}
#view h1{background:linear-gradient(90deg,#2b1a33,#d9486b,#f2823a,#7a4fd0,#2b1a33);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:rbHue 12s ease-in-out infinite}
.card,.rb-job{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.card:hover,.rb-job:hover{transform:translateY(-4px);box-shadow:0 22px 44px -22px #d9486b66}
.btn{transition:transform .2s,box-shadow .25s,filter .25s}.btn:hover{transform:translateY(-2px) scale(1.03);filter:saturate(1.15)}.btn:active{transform:scale(.97)}
.rb-ring{animation:rbFloat 4s ease-in-out infinite}
nav button,.nav button,aside button{transition:transform .25s,background .25s}nav button:hover,.nav button:hover,aside button:hover{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){#view>*,#view h1,.rb-ring,.rb-glow::after,.rb-pulse,.rb-modal,.rb-modal-card,.rb-kw span,.rb-free{animation:none!important}.card:hover,.rb-job:hover,.btn:hover{transform:none}}
@media print{#view h1{color:#000!important;background:none!important}#view>*{animation:none!important}}
#rbCritiques .rb-critique{background:#fff8f3;border:1px solid #f3d6d0;border-radius:18px;padding:18px 20px;margin-top:16px;color:#2b1a33}
#rbCritiques .rb-critique h3{color:#2b1a33;font-size:1.05rem;margin:0 0 10px}
#rbCritiques .rb-critique p{color:#4a3550}
.rb-std-panel .rb-checks{list-style:none;padding:0;margin:12px 0;display:grid;gap:6px}
.rb-std-panel .rb-checks li{padding:8px 12px;border-radius:12px;background:#fff5ef;font-size:.92rem}
.rb-std-panel .rb-checks li.ok{background:#eefaf3;color:#1d6b45}
.rb-std-panel .rb-checks li.no{color:#9a3b52}
.rb-polish{margin-top:14px;padding:16px;border-radius:16px;background:#fff;border:1px solid #f3d6dc}
.rb-polish h4{margin:10px 0 4px}
.rb-ms-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}
.rb-ms-list li{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.6)}
.rb-ms-list li small{display:block;opacity:.75}
.rb-ms-list li.is-done{background:rgba(255,181,71,.18)}
.rb-ms-dot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:#fff;color:#d9486b;border:2px solid #d9486b}
.rb-ms-list li.is-done .rb-ms-dot{background:linear-gradient(135deg,#f2823a,#d9486b);color:#fff;border-color:transparent}
@media (max-width:640px){.rb-ms-list li{grid-template-columns:auto 1fr}.rb-ms-list li .btn{grid-column:span 1}}
.rb-alt{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
.rb-alt a{font-size:.85rem;font-weight:600}
.rb-wait h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rb-spin{width:18px;height:18px;border-radius:50%;border:3px solid color-mix(in srgb,var(--rb-rose,#d9486b) 25%,transparent);border-top-color:var(--rb-rose,#d9486b);animation:rbSpin .9s linear infinite;display:inline-block}
@keyframes rbSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rb-spin{animation:none}}
.rb-results-head.rb-wait{background:var(--card,#fff8);border:1px solid var(--line);border-radius:18px;padding:18px 20px}
.rb-results-head.rb-wait h2{display:flex!important;justify-content:flex-start!important;text-align:left!important;width:auto}
.rb-results-head.rb-wait h2 .rb-spin{flex:0 0 18px}
.rb-scanner{padding:24px 0;border-top:1px solid var(--rb-line)}
.rb-scanner-heading{margin-bottom:24px}.rb-scanner-heading h2{max-width:650px;line-height:1.35}
.rb-scanner-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.rb-scanner-inputs>div{min-width:0}.rb-scanner label{display:block;margin:10px 0 8px;font-size:13px}
.rb-scanner textarea,.rb-scanner select{width:100%;box-sizing:border-box;border-radius:6px!important;color:var(--rb-ink)!important;background:var(--rb-surface)!important;border:1px solid var(--rb-line)!important}
.rb-scanner textarea{resize:vertical;min-height:280px;line-height:1.7;padding:14px}
.rb-scanner-text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--rb-soft);border:1px solid var(--rb-line);border-radius:6px;padding:14px;height:280px;overflow:auto;font:13px/1.7 inherit;color:var(--rb-muted);margin:10px 0}
.rb-scanner-report{margin-top:24px;border-top:1px solid var(--rb-line);padding-top:24px}
.rb-scanner-score{display:flex;gap:24px;align-items:center}.rb-scanner-score strong{font-size:48px;color:var(--rb-blue);min-width:125px}.rb-scanner-score h2{margin:0}
.rb-scanner-report ul{padding-left:20px;line-height:1.9}.rb-scanner-error{color:var(--rb-blue);border-left:3px solid var(--rb-blue);padding:12px}
.rb-scanner-suggestion{padding:18px 0;border-top:1px solid var(--rb-line)}.rb-scanner-suggestion label{display:flex;align-items:center;gap:10px}.rb-scanner-suggestion input{width:18px;height:18px;flex:none}.rb-scanner-suggestion p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:760px){.rb-scanner-inputs{grid-template-columns:1fr}.rb-scanner-score{gap:12px;align-items:flex-start}.rb-scanner-score strong{font-size:36px;min-width:90px}}
@media print{.rb-scanner{display:none!important}}
.rb-outreach-band{padding:24px 0;border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line);margin:20px 0}.rb-outreach-band select{max-width:480px;width:100%}.rb-outreach-due{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.rb-outreach-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.rb-outreach label,.rb-outreach-band label{display:block;font-size:13px;margin:12px 0 6px}.rb-outreach input,.rb-outreach textarea,.rb-outreach select{width:100%;box-sizing:border-box;background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;border-radius:6px!important}.rb-outreach textarea{line-height:1.7;resize:vertical}.rb-outreach-draft{border-top:1px solid var(--rb-line);padding-top:16px;margin-top:20px}.rb-outreach .rb-outreach-approval{display:flex;gap:10px;align-items:center}.rb-outreach-approval input{width:18px;height:18px;flex:none}.rb-outreach-history{margin-top:18px}.rb-outreach-history article{padding:16px 0;border-bottom:1px solid var(--rb-line);overflow-wrap:anywhere}.rb-contact-trigger{width:100%;margin-top:12px}.rb-outreach .rb-actions{flex-wrap:wrap}
@media(max-width:600px){.rb-outreach-fields{grid-template-columns:1fr}}
html body .cards .rb-overview-metric{position:relative;min-height:116px;padding-right:74px!important}
html body .cards .rb-overview-metric:after{display:none!important;content:none!important}
.rb-metric-icon{position:absolute;right:20px;top:50%;transform:translateY(-50%);width:38px;height:38px;color:var(--rb-blue);display:grid;place-items:center}
.rb-metric-icon svg{width:32px;height:32px}.rb-overview-metric .tiny{position:relative;z-index:1;overflow-wrap:anywhere}
@media(max-width:1100px){html body .cards .rb-overview-metric{padding-right:16px!important;padding-top:46px!important}.rb-metric-icon{width:26px;height:26px;top:12px;right:12px;transform:none}.rb-metric-icon svg{width:24px;height:24px}}
.rb-quick-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rb-quick-tools .btn{display:inline-flex;align-items:center;gap:8px;min-height:40px}.rb-quick-tools svg{width:20px;height:20px;flex:none}
.rb-quick-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.rb-quick-wide{grid-column:1/-1}.rb-quick-form label,.rb-quick-paste label,.rb-quick-setup label{display:block;margin:12px 0 6px;font-size:13px}
.rb-quick-form input,.rb-quick-form textarea,.rb-quick-paste textarea,.rb-quick-setup textarea{width:100%;box-sizing:border-box;border:1px solid var(--rb-line)!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-radius:6px!important;padding:12px}.rb-quick-form textarea,.rb-quick-paste textarea,.rb-quick-setup textarea{line-height:1.6;resize:vertical;overflow-wrap:anywhere}.rb-quick-paste{border-top:1px solid var(--rb-line);padding-top:16px;margin-top:18px}.rb-quick-paste summary{cursor:pointer;font-size:13px}.rb-quick-setup ol{padding-left:22px;line-height:1.8;color:var(--rb-muted)}#rbQuickError{color:var(--rb-blue);overflow-wrap:anywhere}
@media(max-width:600px){.rb-quick-fields{grid-template-columns:1fr}.rb-quick-tools{width:100%}.rb-quick-tools .btn:first-child{flex:1;justify-content:center}}
@media print{.rb-quick-tools{display:none!important}}

/* Research panels share theme-matched surfaces and readable text. */
html body .question-context,html body .company-event,html body .research-source,html body .research-columns>div,html body .ai-review-grid>section,html body .ai-research-sources{background:var(--rb-soft)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;line-height:1.7;overflow-wrap:anywhere}
html body .question-context p,html body .company-event p,html body .company-event b,html body .company-event time,html body .research-columns p,html body .research-columns li,html body .research-source,html body #aiCompanyResearch p,html body #aiCompanyResearch li{color:var(--rb-ink)!important;opacity:1!important}
html body .research-columns>div{padding:18px;border-radius:8px;min-width:0}
html body .research-source{padding:12px;border-radius:6px}
html body .research-columns a:not(.btn),html body #aiCompanyResearch a:not(.btn){color:var(--rb-blue)!important;text-decoration:underline;overflow-wrap:anywhere}

/* Editor-preview link note */
.rb-frame-note{margin:0 0 18px;padding:14px 16px;border-radius:16px;border:1px solid color-mix(in oklab,currentColor 18%,transparent);background:color-mix(in oklab,Canvas 82%,transparent);color:inherit;font-size:.92rem;line-height:1.45}
.rb-frame-note p{margin:0 0 10px}
.rb-frame-note .rb-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media print{.rb-frame-note{display:none}}
.rs-studio{margin-bottom:20px}.rs-studio textarea,.rs-studio input{width:100%}.rs-intent{background:var(--rb-soft,#fff4ec);padding:12px 14px;border-radius:12px;margin:16px 0;color:inherit}.rs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.rs-reply{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid color-mix(in oklab,currentColor 18%,transparent);border-radius:14px;background:transparent}.rs-reply .tag{align-self:flex-start}.rs-reply textarea{min-height:190px;font-size:13px;line-height:1.5}
@media print{.rs-studio{display:none}}
/* No message counts */
.message-count,.folder-grid .folder>span{display:none!important}
.rb-pay-banner{background:color-mix(in oklab,orange 18%,var(--card,#fff));border:1px solid color-mix(in oklab,orange 45%,transparent);border-radius:12px;padding:.6rem .9rem;font-size:.85rem;margin-bottom:.75rem}
.rb-pay-banner.warn{background:color-mix(in oklab,crimson 12%,var(--card,#fff))}
.rb-plan-now{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:.9rem}
.rb-plan-now span{opacity:.75;font-size:.88rem}
.rb-checkout-modal{position:fixed;inset:0;z-index:9999;background:rgba(10,10,20,.55);display:grid;place-items:center;padding:1rem}
.rb-checkout-card{background:#fff;color:#111;border-radius:16px;width:min(560px,100%);max-height:92vh;overflow:auto;padding:1.25rem;position:relative}
.rb-checkout-close{position:absolute;top:.4rem;right:.6rem;border:0;background:none;font-size:1.6rem;cursor:pointer;color:#333}
.rb-voice-mins{margin:14px 0 0;padding:8px 12px;border-radius:10px;background:color-mix(in srgb,var(--accent,#f08a4b) 12%,transparent)}
.rb-voice-mins[data-low="1"]{background:color-mix(in srgb,#d9486b 16%,transparent)}

/* Beta program */
.rb-feedback-btn{position:fixed;right:16px;bottom:16px;z-index:60;padding:9px 16px;border-radius:999px;border:1px solid var(--line,rgba(0,0,0,.14));background:var(--card,#fff);color:inherit;font-size:13px;font-weight:600;box-shadow:0 4px 16px rgba(0,0,0,.14);cursor:pointer}
.rb-feedback-btn:hover{transform:translateY(-1px)}
.rb-beta-badge{position:fixed;right:16px;bottom:58px;z-index:60;padding:7px 14px;border-radius:999px;border:1px solid rgba(180,120,40,.4);background:rgba(255,244,220,.95);color:#7a5410;font-size:12px;font-weight:700;cursor:pointer}
.rb-beta-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line,rgba(0,0,0,.08))}
.rb-beta-row p{margin:4px 0 0;font-size:14px;white-space:pre-wrap}
.rb-beta-limits{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rb-beta-limits label{font-size:12px;display:flex;align-items:center;gap:4px}
.rb-beta-limits input{width:64px;padding:4px 6px;border-radius:8px;border:1px solid var(--line,rgba(0,0,0,.14));background:transparent;color:inherit}
@media (max-width:640px){.rb-feedback-btn{right:10px;bottom:10px}.rb-beta-badge{right:10px;bottom:52px}}

/* Admin finances: unframed section, shared Sunset tokens. */
.rb-finances{margin:28px 0;padding:28px 0;border-top:1px solid var(--rb-line);color:var(--rb-ink);min-width:0}
.rb-finance-heading,.rb-finance-controls{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.rb-finance-heading h2{margin:8px 0 20px}.rb-finance-controls{justify-content:flex-start;margin:16px 0}
.rb-finances label{display:grid;gap:8px;font-size:12px}.rb-finances input,.rb-finances select{width:100%;min-width:0;padding:10px;border:1px solid var(--rb-line)!important;border-radius:6px!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important}
.rb-finance-notice{padding:12px 16px;background:var(--rb-soft);border-left:3px solid var(--rb-coral);font-size:13px}
.rb-finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.rb-finance-metrics article{background:var(--rb-surface);border:1px solid var(--rb-line);border-radius:8px;padding:18px;display:grid;gap:10px;min-width:0}
.rb-finance-metrics svg{color:var(--rb-blue)}.rb-finance-metrics span{font-size:12px;color:var(--rb-muted)}.rb-finance-metrics strong{font-size:23px;overflow-wrap:anywhere}
.rb-finance-summary{display:flex;justify-content:space-between;gap:24px;padding:18px 0;border-block:1px solid var(--rb-line);flex-wrap:wrap}.rb-finance-summary div{display:grid;gap:8px}.rb-finance-summary strong{font-size:26px}.rb-finance-summary span{font-size:12px;color:var(--rb-muted)}
.rb-finances h3{margin-top:28px}.rb-finance-table{overflow:auto}.rb-finance-table table{width:100%;border-collapse:collapse;font-size:12px}.rb-finance-table th,.rb-finance-table td{padding:14px 10px;text-align:left;border-bottom:1px solid var(--rb-line)}.rb-finance-table td small{display:block;margin-top:6px;color:var(--rb-muted);overflow-wrap:anywhere}
.rb-finance-budgets{display:grid;gap:10px}.rb-finance-budgets>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid var(--rb-line);border-radius:6px}.rb-finance-budgets span{font-size:12px}.rb-finance-budgets [data-level=near],.rb-finance-budgets [data-level=over]{background:var(--rb-soft);border-color:var(--rb-coral)}
.rb-finance-settings{margin-top:24px;border-top:1px solid var(--rb-line);padding-top:20px}.rb-finance-settings summary{cursor:pointer;font-weight:700}.rb-finance-settings h4{margin:24px 0 12px}.rb-finance-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.rb-finances fieldset{margin:16px 0;border:1px solid var(--rb-line);padding:14px;min-width:0}.rb-finances legend{font-size:12px;overflow-wrap:anywhere}
.rb-finance-chart{height:300px;width:100%;min-width:0;overflow:hidden;margin:20px 0}.rb-finances .recharts-default-tooltip{background:var(--rb-surface)!important;border-color:var(--rb-line)!important;color:var(--rb-ink)!important}
.rb-finances button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid var(--rb-line);border-radius:6px;background:var(--rb-blue);color:var(--rb-surface);font:inherit;font-size:13px;cursor:pointer}.rb-finances button:disabled{opacity:.5;cursor:wait}.rb-finances button[aria-label="Refresh finances"]{background:var(--rb-surface);color:var(--rb-ink)}
.rb-finances label,.rb-finances legend,.rb-finances .rb-finance-budgets b{overflow-wrap:anywhere;min-width:0}
@media(max-width:900px){.rb-finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-finance-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.rb-finance-fields{grid-template-columns:1fr}.rb-finance-metrics strong{font-size:18px}.rb-finance-controls label{width:100%}}
/* Homepage sparkle: richer sphere color, more motion, detailed step images, spacing fix. */
.orbit-halo{background:radial-gradient(circle at 30% 22%,#ffe1a6,transparent 46%),radial-gradient(circle at 78% 18%,#8fd8ff59,transparent 52%),radial-gradient(circle at 18% 82%,#ff8fd23d,transparent 58%),radial-gradient(circle at 35% 25%,#ffc2a2,#fc72af 40%,#8a62c4 78%,#6f9be8);box-shadow:inset -22px -22px 50px #77479740,inset 16px 20px 70px #ffb46b30,0 25px 70px #70407726;filter:saturate(1.18)}
.orbit-ring{border-width:1.5px;border-color:#ff9ac46e;box-shadow:0 0 0 1px #a58ff52e}
.ring-two{border-color:#ffd9a899}
.orbit-star{background:linear-gradient(160deg,#fff6d8,#ffd0e2 45%,#cbb5ff);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 12px 30px #7a3f7a38)}
.orbit-caption{bottom:27%;left:19%}
.pop-orbit:before,.pop-orbit:after{content:'';position:absolute;border-radius:50%;z-index:2}
.pop-orbit:before{width:26px;height:26px;left:5%;top:40%;background:radial-gradient(circle at 30% 30%,#ffe08a,#ff8fb0);box-shadow:0 8px 22px #7a3f7a33}
.pop-orbit:after{width:18px;height:18px;right:7%;bottom:24%;background:radial-gradient(circle at 30% 30%,#a8d8ff,#8f7bff);box-shadow:0 8px 22px #4c3a8a33}
.feature-document{background:linear-gradient(160deg,#fff7ef,#ffe9f3);border:1px solid #ffd9c2;border-radius:8px;box-shadow:0 14px 34px #6139542e;transition:transform .25s ease}
.feature-document b{display:flex;align-items:center;gap:7px;color:#3c2140}
.feature-document b:before{content:'';width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,#ffb080,#fa87c6);flex:none;box-shadow:0 0 0 2px #fff}
.feature-document span{height:4px;border-radius:3px;background:linear-gradient(90deg,#f7a8c8,#c9b3f5);opacity:.85}
.feature-document span:nth-child(3n){width:65%;background:linear-gradient(90deg,#ffc296,#f7a8c8)}
.feature-document strong{font-size:8px;letter-spacing:1.2px;color:#b0527f}
.feature-document strong:after{content:'';display:block;width:44px;height:3px;margin-top:5px;border-radius:3px;background:linear-gradient(90deg,#ff8fb0,#8f7bff)}
.feature-board i{background:#ffffff59;border:1px solid #ffffffa8;border-radius:10px;box-shadow:0 10px 24px #3d2a5e26}
.feature-board i:nth-child(1){background:linear-gradient(170deg,#ffd9e8,#ffffff9c)}
.feature-board i:nth-child(2){background:linear-gradient(170deg,#e2dcff,#ffffff9c)}
.feature-board i:nth-child(3){background:linear-gradient(170deg,#ffe4d1,#ffffff9c)}
.feature-board b{color:#43305f;display:flex;align-items:center;gap:4px}
.feature-board b:before{content:'';width:6px;height:6px;border-radius:50%;flex:none}
.feature-board i:nth-child(1) b:before{background:#f26fa7}
.feature-board i:nth-child(2) b:before{background:#7c6cf0}
.feature-board i:nth-child(3) b:before{background:#ff9d5c}
.feature-board span{background:linear-gradient(180deg,#fff,#ffeef5);position:relative;box-shadow:0 2px 6px #4c2a6b14}
.feature-board span:after{content:'';position:absolute;left:5px;right:12px;top:6px;height:3px;border-radius:2px;background:linear-gradient(90deg,#f7a8c8,#c9b3f5)}
.feature-wave i{background:linear-gradient(180deg,#ffd08a,#ff7fae 55%,#8f6cf0);box-shadow:0 6px 18px #4c2a6b33}
.feature-wave i:nth-child(3n+1){background:linear-gradient(180deg,#a8d8ff,#7c9bff 55%,#c66df0)}
.feature-wave i:nth-child(3n+2){background:linear-gradient(180deg,#c4f0d3,#66d0b0 55%,#7c6cf0)}
body[data-motion=on] .orbit-halo{animation:orb-float 7s ease-in-out infinite,orb-shift 16s ease-in-out infinite alternate}
body[data-motion=on] .ring-one{animation:ring-spin 46s linear infinite}
body[data-motion=on] .ring-two{animation:ring-spin-rev 64s linear infinite}
body[data-motion=on] .orbit-star{animation:star-pulse 5s ease-in-out infinite}
body[data-motion=on] .pop-orbit:before{animation:dot-drift 9s ease-in-out infinite}
body[data-motion=on] .pop-orbit:after{animation:dot-drift 11s ease-in-out infinite reverse}
body[data-motion=on] .pop-orbit{animation:rise-in .9s .08s cubic-bezier(.2,.7,.2,1) both}
body[data-motion=on] .home-hero-copy{animation:rise-in .7s cubic-bezier(.2,.7,.2,1) both}
body[data-motion=on] .pop-word-strip i{display:inline-block;animation:spin-slow 14s linear infinite}
body[data-motion=on] .feature-document{animation:doc-float 6s ease-in-out infinite}
body[data-motion=on] .pop-feature:hover .feature-document{animation:none;transform:rotate(-5deg) scale(1.04)}
body[data-motion=on] .pop-feature:hover .feature-board{transform:rotate(-3deg) scale(1.03)}
body[data-motion=on] .feature-wave i{animation:wave-breathe 1.5s ease-in-out var(--delay) infinite alternate}
body[data-motion=on] .pop-feature:hover .feature-wave i{animation-duration:.7s}
@keyframes orb-shift{from{filter:saturate(1.15) hue-rotate(0deg)}to{filter:saturate(1.32) hue-rotate(26deg)}}
@keyframes ring-spin{from{transform:rotate(-28deg) scaleY(.56)}to{transform:rotate(332deg) scaleY(.56)}}
@keyframes ring-spin-rev{from{transform:rotate(40deg) scaleY(.6)}to{transform:rotate(-320deg) scaleY(.6)}}
@keyframes star-pulse{50%{transform:rotate(-6deg) scale(1.05)}}
@keyframes dot-drift{50%{transform:translate(-8px,-18px)}}
@keyframes doc-float{50%{transform:rotate(-8deg) translateY(-7px)}}
@keyframes rise-in{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes spin-slow{to{transform:rotate(360deg)}}

/* ---------- Visual polish pass (Oct 2026): spacing, alignment, consistency. Palette unchanged. ---------- */

/* Restore natural word spacing: an earlier layer set a global -0.15px letter-spacing that cramped body text. Headings keep their intentional tight tracking. */
html body{letter-spacing:0}

/* Consistent buttons: one height scale, no awkward mid-word wraps. */
html body .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;white-space:nowrap;text-align:center}
html body .btn.small{min-height:34px}
@media(max-width:720px){html body .btn{white-space:normal}}

/* Visible, on-palette focus indicator for keyboard users. */
html body :focus-visible{outline:2px solid var(--rb-blue)!important;outline-offset:2px}

/* Plan pricing: keep the price and its cadence on one baseline instead of orphaning words. */
html body .plan-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
html body .plan-price span{white-space:nowrap}

/* Plan feature lists: softer separators, no line after the last item. */
html body .plan-features li{border-bottom-color:#f6e7db}
html body .plan-features li:last-child{border-bottom:0}

/* Practice questions: question text and its button align as one row. */
html body .question-list li{display:flex;align-items:center;justify-content:space-between;gap:14px}
html body .question-list li .btn{flex:none}

/* Feedback button: compact on small screens so it covers less content. */
@media(max-width:640px){.rb-feedback-btn{padding:7px 12px;font-size:12px;box-shadow:0 3px 10px rgba(0,0,0,.12)}}

/* Mobile top bar: tighter, orderly wrapping. */
@media(max-width:720px){html body header.top{gap:10px}html body header.top .row{gap:8px;flex-wrap:wrap}}

/* Practice questions: keep visible numbering now that rows are flex. */
html body .question-list{list-style:none;counter-reset:rb-q;padding-left:0}
html body .question-list li{counter-increment:rb-q}
html body .question-list li:before{content:counter(rb-q) ". ";font-weight:600;color:var(--rb-muted);flex:none}

/* Polish fixes: keep question text left with its number, button at the row end. */
html body .question-list li{justify-content:flex-start}
html body .question-list li .btn{margin-left:auto}

/* On phones, keep the feedback pill clear of centered primary actions. */
@media(max-width:640px){.rb-feedback-btn{left:10px;right:auto}}

/* Phones: metric cards stack instead of squeezing three-across, and page content can scroll clear of the feedback pill. */
@media(max-width:720px){
  html body .cards{grid-template-columns:1fr!important}
  html body{padding-bottom:64px}
}

/* ===== Phase 3: design-system polish — 8pt spacing, unified controls, calm motion ===== */

/* Consistent control heights and radii: 40px standard, 32px compact, 8px radius. */
html body .btn{min-height:40px;border-radius:8px;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .12s ease}
html body .btn.small{min-height:32px;border-radius:8px}
html body .btn:active{transform:translateY(1px)}
html body input,html body select,html body textarea{border-radius:8px;transition:border-color .18s ease,box-shadow .18s ease}
html body input,html body select{min-height:40px}

/* Crisp brand focus ring on every interactive element. */
html body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--rb-blue);outline-offset:2px;border-radius:8px}

/* Cards: one clean border, no nested double borders, 8pt rhythm. */
html body .card{border-radius:12px}
html body .card .card{border-width:0 0 1px 0;box-shadow:none}
html body .card .card:last-child{border-bottom:0}

/* Recruiter directory: filter tags and badges. */
.rb-filter-row{display:flex;gap:12px;align-items:flex-start;margin:8px 0}
.rb-filter-row .section-label{flex:none;margin-top:10px}
.rb-filter-tags{display:flex;flex-wrap:wrap;gap:8px}
.rb-filter-tag{border:1px solid var(--rb-line,#e8ddd2);background:var(--rb-paper,#fff);color:var(--rb-ink);border-radius:999px;min-height:32px;padding:4px 14px;font-size:12.5px;font-weight:600;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.rb-filter-tag:hover{border-color:var(--rb-blue)}
.rb-filter-tag.active{background:var(--rb-blue);border-color:var(--rb-blue);color:#fff}
.rb-recruiter-badges{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.rb-badge{font-size:11px;font-weight:700;letter-spacing:.02em;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--rb-blue) 10%,transparent);color:var(--rb-ink)}
.rb-badge.market{background:color-mix(in srgb,var(--rb-ink,#3b2f2f) 8%,transparent)}

/* Progress meters and limit indicators: calm, transparent usage. */
html body progress,html body .meter,html body .progress{height:8px;border-radius:999px;overflow:hidden}
html body progress::-webkit-progress-bar{border-radius:999px}
html body progress::-webkit-progress-value{border-radius:999px;transition:width .2s ease}

/* Smooth microinteractions on expandable sections and tab-like controls. */
html body details>summary{transition:color .18s ease}
html body details[open]>summary{margin-bottom:8px}
html body .folder,html body .template-card,html body .network-resource{transition:border-color .18s ease,box-shadow .18s ease,transform .15s ease}
html body .folder:hover,html body .template-card:hover,html body .network-resource:hover{transform:translateY(-1px)}

@media(prefers-reduced-motion:reduce){
  html body .btn,html body input,html body select,html body textarea,html body .rb-filter-tag,html body .folder,html body .template-card,html body .network-resource,html body progress::-webkit-progress-value{transition:none}
  html body .folder:hover,html body .template-card:hover,html body .network-resource:hover{transform:none}
  html body .btn:active{transform:none}
}

html body #rbGuestNotice{min-height:0;padding:12px 16px;margin:0 0 16px;font-size:14px;line-height:1.5;color:var(--rb-ink)!important;animation:none;opacity:1}
html body #rbGuestNotice a{color:var(--rb-blue);text-decoration:underline}

/* ===== Journey-aware focus, header cleanup, overview date ===== */
/* Career-mode picker removed from the top bar (owner request). */
html body header.top #mode{display:none}
/* Overview date: larger and bolder so it reads at a glance. */
html body .dashboard-date span{font-size:19px;font-weight:800;letter-spacing:-.01em;color:var(--rb-ink)}
html body .dashboard-date b{font-size:13px}
/* Cookie consent popup */
html body #rbCookie{position:fixed;left:16px;right:16px;bottom:16px;max-width:440px;z-index:9999;background:#fff;color:var(--rb-ink);border:1px solid rgba(0,0,0,.1);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.14);padding:16px;font-size:14px;line-height:1.5}
html body #rbCookie p{margin:0 0 12px}
html body #rbCookie a{color:var(--rb-blue);text-decoration:underline}
html body #rbCookie div{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
html body #rbCookie button{min-height:40px;padding:0 16px;border-radius:8px;border:1px solid rgba(0,0,0,.15);background:#fff;color:var(--rb-ink);font-weight:600;cursor:pointer}
html body #rbCookie button[data-c=accepted]{background:var(--rb-blue);color:#fff;border-color:transparent}

/* Language control uses the existing Sunset tokens and remains accessible on mobile. */
html body .rb-language-control{display:flex;align-items:center;gap:4px;flex-shrink:0;color:var(--rb-muted)}
html body .rb-language-control select{height:40px;max-width:140px;padding:0 8px;border:1px solid var(--rb-line);border-radius:8px;background:var(--rb-surface);color:var(--rb-ink);font:inherit;font-size:13px}
html body .rb-language-control select:focus-visible{outline:2px solid var(--rb-blue);outline-offset:2px}
html body header.top>.row{flex-wrap:wrap}
@media(max-width:640px){html body header.top{gap:8px;flex-wrap:wrap}html body .rb-language-control select{max-width:124px}}
@media print{#rbLanguageControl{display:none!important}}

/* An honest community-reviews empty state, without a fabricated star rating. */
html body .rb-home-reviews{border-top:1px solid var(--rb-line);border-bottom:1px solid var(--rb-line);background:var(--rb-surface)}
html body .rb-home-reviews-heading{margin-bottom:32px}
html body .rb-home-reviews-heading h2{margin-top:12px}
html body .rb-home-reviews-empty{display:flex;align-items:flex-start;gap:24px;max-width:720px}
html body .rb-review-symbol{color:var(--rb-muted);font-size:40px;line-height:1;flex:0 0 40px}
html body .rb-home-reviews-empty h3{font-size:20px;line-height:1.4;margin:0 0 8px}
html body .rb-home-reviews-empty p{font-size:16px;line-height:1.65;color:var(--rb-muted);max-width:60ch;margin:0 0 20px}
html body .rb-home-reviews-empty .tiny{font-size:13px;margin:12px 0 0}
@media(max-width:640px){html body .rb-home-reviews-empty{gap:16px}html body .rb-home-reviews-heading{margin-bottom:24px}}

/* The same Sunset composition, with a compact phone toolbar and aligned content. */
html body .main,html body #view{min-width:0}
html body .btn,html body .text-button,html body nav a,html body nav button{font-variant-emoji:text}
@media(display-mode:standalone){html body .home-topline{padding-top:max(12px,env(safe-area-inset-top))}html body .main{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
html body .application-board{max-width:100%;min-width:0}
html body .board-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}
html body .board-heading>div:first-child{min-width:0;grid-column:1/-1}
html body .board-heading>.btn{margin:0;white-space:normal}
html body .rb-quick-tools{min-width:0;justify-self:end}
html body .home-topline .draft-actions{display:flex;align-items:center;gap:8px;min-width:0}
html body .home-topline #rbLanguageControl{margin:0}
html body :is(.home-section,.pop-next-section,.home-final,.pop-home-hero)>*{min-width:0}
html body :is(.fields,.rb-search,.rb-filters,.rb-scanner-inputs,.rb-outreach-fields)>div{min-width:0}
html body :is(.card,.rb-job,.pop-feature,.home-section) :is(p,h2,h3,label){overflow-wrap:break-word}
@media(max-width:720px){
  html body .home-topline{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 20px}
  html body .home-topline .home-brand{font-size:22px;line-height:28px;justify-self:start;min-width:0}
  html body .home-topline .home-brand span{font-size:24px}
  html body .home-topline .draft-actions{display:grid;grid-template-columns:104px minmax(0,.9fr) minmax(0,1.2fr);gap:6px;width:100%;margin:0}
  html body .home-topline .draft-actions .text-button{display:block;position:absolute;right:20px;top:14px;padding:4px 0;font-size:12px}
  html body .home-topline .draft-actions :is(.btn,select){height:32px;min-height:32px;font-size:11px;line-height:1.2;padding:4px 8px;margin:0;white-space:normal;max-width:100%;width:100%;border-radius:8px}
  html body .home-topline #rbLanguageControl{gap:4px;min-width:0;width:100%}
  html body .home-topline #rbLanguageControl select{min-width:0;font-size:11px;padding-right:20px!important;background-position:right 4px center!important}
  html body .pop-home-hero{padding:36px 20px;gap:24px;min-height:0;grid-template-columns:minmax(0,1fr)}
  html body .home-hero-copy{width:100%;max-width:none}
  html body .home-hero-copy h1{font-size:44px;line-height:1.08;letter-spacing:0;margin:20px 0 24px;overflow-wrap:break-word}
  html body .home-hero-copy>p{font-size:16px;line-height:1.65;margin:0;max-width:60ch}
  html body .home-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:24px}
  html body .home-hero-actions .btn{padding:10px;font-size:12px;min-height:44px;max-width:none;width:100%}
  html body :is(.home-section,.home-final,.pop-next-section){padding:40px 20px}
  html body :is(.home-section,.home-final,.pop-next-section) h2{font-size:32px;line-height:1.15;letter-spacing:0;margin:16px 0}
  html body .home-section-heading{margin-bottom:24px}
  html body .pop-feature-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  html body .pop-feature{padding:24px;min-height:400px}
  html body .pop-feature h3{font-size:28px;line-height:1.15;letter-spacing:0}
  html body .pop-next-section{grid-template-columns:minmax(0,1fr);gap:16px}
  html body .pop-next-section>div:last-child{padding-top:0}
  html body .main{padding-left:20px!important;padding-right:20px!important}
  html body[data-page=home] .main{padding:0!important}
  html body .rb-hero{padding:24px 16px}
  html body .rb-search{grid-template-columns:minmax(0,1fr)}
  html body .rb-filters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  html body .rb-filters label{min-height:32px;margin:8px 0;display:flex;align-items:end}
  html body :is(.fields,.rb-outreach-fields,.rb-quick-fields){gap:16px;grid-template-columns:minmax(0,1fr)}
  html body .rb-filter-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  html body header.top{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  html body header.top>.row{min-width:0;display:flex;gap:8px;align-items:center}
  html body .rb-modal-card{padding:24px 16px;max-height:calc(100dvh - 32px)}
  html body .rb-modal-card :is(input,textarea,select){max-width:100%}
}

/* Tactile Sunset controls: preserve sizes and the native form behavior. */
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]),textarea,select,[contenteditable=true]){
  background-color:var(--rb-bg)!important;
  background-image:var(--rb-field-bg)!important;
  border-color:var(--rb-line)!important;
  box-shadow:var(--rb-field-shadow)!important;
  transition:border-color .18s,box-shadow .18s;
}
html body select{background-image:var(--rb-field-bg)!important;appearance:auto}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]),textarea,select,[contenteditable=true]):focus{
  border-color:var(--rb-blue)!important;box-shadow:var(--rb-field-focus-shadow)!important;outline:2px solid transparent!important;
}
html body :is(input,textarea,select):disabled{box-shadow:none!important;opacity:.65}
html body .btn.secondary{box-shadow:var(--rb-neutral-control-shadow)!important}
html body :is(#homeMotionSetting,#soundSetting,.rb-language-control select){
  background:var(--rb-blue)!important;color:var(--rb-on-primary)!important;
  border:0!important;border-radius:12px!important;font-weight:700!important;
  box-shadow:var(--rb-control-shadow)!important;
  transition:box-shadow .18s,filter .18s,transform .18s;
}
html body .rb-language-control select{padding-right:8px!important;appearance:auto}
html body .rb-language-control select option{background:var(--rb-surface);color:var(--rb-ink)}
@media(hover:hover){
  html body :is(#homeMotionSetting,#soundSetting,.rb-language-control select):hover{
    color:var(--rb-on-primary)!important;box-shadow:var(--rb-control-hover-shadow)!important;filter:brightness(1.06);transform:translateY(-1px);
  }
}
html body :is(#homeMotionSetting,#soundSetting,.rb-language-control select):active{transform:translateY(1px);box-shadow:var(--rb-control-shadow)!important}
html body :is(#homeMotionSetting,#soundSetting,.rb-language-control select):focus-visible{outline:2px solid var(--rb-blue)!important;outline-offset:4px}
@media(max-width:720px){html body .home-topline :is(#homeMotionSetting,.rb-language-control select){border-radius:8px!important}}
@media(prefers-reduced-motion:reduce){
  html body :is(input,textarea,select,[contenteditable=true],#homeMotionSetting,#soundSetting){transition:none!important;transform:none!important}
}
@media print{
  html body :is(input,textarea,select,[contenteditable=true]){background:var(--rb-surface)!important;box-shadow:none!important}
}

/* Home: hide "Open workspace" top button; sharper colors; richer motion */
html body .pop-home .home-topline .draft-actions button[onclick="go('journey')"]{display:none!important}
html body .pop-home{filter:saturate(1.22) contrast(1.06)}
html body .pop-home h1 em,html body .pop-home h2 em{background:linear-gradient(100deg,#ff2d6f,#ff7a2f,#8b3dff,#ff2d6f);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media (prefers-reduced-motion:no-preference){
body[data-motion=on] .pop-home h1 em,body[data-motion=on] .pop-home h2 em{animation:rbShimmer 6s linear infinite}
body[data-motion=on] .pop-home-hero{position:relative;isolation:isolate}
body[data-motion=on] .pop-home-hero::before{content:"";position:absolute;inset:-10%;z-index:-1;pointer-events:none;background:radial-gradient(40% 50% at 20% 30%,#ff4d8d55,transparent 70%),radial-gradient(35% 45% at 80% 60%,#8b5cff4d,transparent 70%),radial-gradient(30% 40% at 55% 10%,#ffb02e4d,transparent 70%);filter:blur(30px);animation:rbAurora 14s ease-in-out infinite alternate}
body[data-motion=on] .home-hero-copy h1{animation:rbPop .9s cubic-bezier(.2,.9,.2,1.2) both}
body[data-motion=on] .home-hero-copy>p{animation:rise-in .8s .25s cubic-bezier(.2,.7,.2,1) both}
body[data-motion=on] .home-hero-actions{animation:rise-in .8s .45s cubic-bezier(.2,.7,.2,1) both}
body[data-motion=on] .home-hero-actions .pop-primary{animation:rbGlow 2.8s ease-in-out 1.2s infinite}
body[data-motion=on] .pop-word-strip i{display:inline-block;animation:rbSpin 22s linear infinite}
body[data-motion=on] .pop-feature{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
body[data-motion=on] .pop-feature:hover{transform:translateY(-8px) rotate(-.6deg) scale(1.015);box-shadow:0 24px 50px -18px #ff2d6f66}
body[data-motion=on] .pop-feature:nth-child(1){animation:rbFloat 6s ease-in-out infinite}
body[data-motion=on] .pop-feature:nth-child(2){animation:rbFloat 6s ease-in-out 1s infinite}
body[data-motion=on] .pop-feature:nth-child(3){animation:rbFloat 6s ease-in-out 2s infinite}
}
@keyframes rbShimmer{to{background-position:300% 0}}
@keyframes rbAurora{0%{transform:translate(0,0) scale(1)}50%{transform:translate(3%,-4%) scale(1.08)}100%{transform:translate(-3%,3%) scale(1.04)}}
@keyframes rbPop{0%{opacity:0;transform:translateY(30px) scale(.94);filter:blur(8px)}100%{opacity:1;transform:none;filter:none}}
@keyframes rbGlow{0%,100%{box-shadow:0 0 0 0 #ff2d6f55}50%{box-shadow:0 0 0 12px #ff2d6f00,0 10px 30px -8px #ff2d6f88}}
@keyframes rbSpin{to{transform:rotate(360deg)}}
@keyframes rbFloat{0%,100%{translate:0 0}50%{translate:0 -6px}}

/* Centered control text (selects, buttons) site-wide */
html body select{text-align:center!important;text-align-last:center!important;padding-left:28px!important;padding-right:28px!important;background-position:right 10px center!important}
html body select option{text-align:center}
html body #rbLanguage{padding-left:22px!important;padding-right:22px!important}
html body .btn,html body button.btn{justify-content:center;text-align:center}

/* Home: jaw-dropping pass */
html body .pop-word-strip{overflow:hidden;background:linear-gradient(90deg,#ef3b6b,#ff8a53 35%,#8b5cf6 70%,#ef3b6b)!important;background-size:200% 100%!important;border:0!important}
html body .pop-word-strip span{color:#fff!important;opacity:1!important;font-weight:800;letter-spacing:.1em;text-shadow:0 1px 6px #00000026}
html body .pop-word-strip i{color:#fff!important}
html body .pop-home-hero .home-hero-copy h1{text-shadow:0 18px 40px #ff2d6f22}
html body .pop-feature{position:relative;overflow:hidden}
html body .pop-feature::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:linear-gradient(135deg,#ff2d6f,#ffb02e,#8b3dff);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.0;transition:opacity .4s;pointer-events:none}
html body .pop-feature:hover::after{opacity:1}
html body .home-final{background:transparent!important;color:var(--rb-ink)!important;border-radius:0!important;border-top:1px solid var(--rb-line);box-shadow:none!important}
html body .home-final *{color:var(--rb-ink)!important;-webkit-text-fill-color:var(--rb-ink)!important}
html body .home-final h2{font-size:48px!important;line-height:1.2!important;letter-spacing:0!important}
html body .home-final h2 em{background:none!important;font-style:normal;color:var(--rb-blue)!important;-webkit-text-fill-color:var(--rb-blue)!important;animation:none!important}
html body .home-final .pop-kicker{color:var(--rb-muted)!important;-webkit-text-fill-color:var(--rb-muted)!important}
html body .home-final .btn{background:var(--rb-blue)!important;color:var(--rb-on-primary)!important;-webkit-text-fill-color:var(--rb-on-primary)!important;box-shadow:var(--rb-control-shadow)!important}
@media(max-width:640px){html body .home-final h2{font-size:36px!important}}
@media (prefers-reduced-motion:no-preference){
body[data-motion=on] .pop-word-strip{animation:rbSlide 22s linear infinite}
body[data-motion=on] .pop-home-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,#ff2d6f 1.5px,transparent 2px),radial-gradient(circle,#8b3dff 1.5px,transparent 2px),radial-gradient(circle,#ffb02e 2px,transparent 2.5px);background-size:180px 180px,240px 240px,300px 300px;background-position:0 0,60px 90px,120px 40px;opacity:.45;animation:rbSparkle 22s linear infinite}
body[data-motion=on] .pop-home-hero>:last-child{animation:rbOrbitIn 1.2s .2s cubic-bezier(.2,.9,.2,1.1) both,rbBob 7s ease-in-out 1.4s infinite}
body[data-motion=on] .pop-reveal .home-section-heading>*,body[data-motion=on] .pop-next-section>div>*{animation:rise-in .9s cubic-bezier(.2,.7,.2,1) both;animation-timeline:view();animation-range:entry 0% cover 30%}
body[data-motion=on] .pop-feature{animation-timeline:auto}
body[data-motion=on] .home-faq details{transition:transform .3s,box-shadow .3s}
body[data-motion=on] .home-faq details:hover{transform:translateX(6px);box-shadow:-4px 0 0 #ff2d6f}
}
@keyframes rbSlide{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes rbBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes rbSparkle{to{background-position:0 -720px,60px -870px,120px -1160px}}
@keyframes rbOrbitIn{0%{opacity:0;transform:scale(.7) rotate(-12deg);filter:blur(10px)}100%{opacity:1;transform:none;filter:none}}
@keyframes rbBob{0%,100%{translate:0 0}50%{translate:0 -14px}}
html body .pop-word-strip span[data-rb-link]{cursor:pointer;font-size:clamp(20px,2.8vw,40px)!important;font-weight:800!important;letter-spacing:.12em;text-shadow:0 2px 10px #6b0f3a33;transition:transform .25s cubic-bezier(.2,.9,.2,1.15)}
html body .pop-word-strip span[data-rb-link]:hover,html body .pop-word-strip span[data-rb-link]:focus-visible{transform:translateY(-2px) scale(1.04);text-shadow:0 4px 16px #6b0f3a40;outline:none}

/* Calm utility controls; Rewards keeps its existing accent. */
html body :is(#homeMotionSetting,#motionSetting,.rb-language-control select),
html body :is(#homeMotionSetting,#motionSetting,.rb-language-control select):is(:hover,:active){
  background:var(--rb-soft)!important;color:var(--rb-ink)!important;
  box-shadow:none!important;border:0!important;font-weight:600!important;
  transform:none!important;filter:none!important;animation:none!important;
}
html body #rbLanguage{padding-inline:12px!important;min-width:100px;max-width:100%}

/* The opening wordmark uses the same Sunset accents as the workspace. */
html body .account-loading strong{
  display:inline-block;background:var(--rb-grad);background-size:240% 100%;
  background-clip:text;-webkit-background-clip:text;color:transparent!important;
  -webkit-text-fill-color:transparent;letter-spacing:0;
}
@media(prefers-reduced-motion:no-preference){
  html body:not([data-motion=off]) .account-loading strong{animation:rbWelcomeColors 3s ease-in-out infinite alternate}
}
@keyframes rbWelcomeColors{from{background-position:0% 50%}to{background-position:100% 50%}}

/* Phone surfaces are separated by space and tone, never decorative borders.
   Focus outlines and the white printable document remain intact. */
@media screen and (max-width:720px){
  html body *:not(.resume-paper):not(.resume-paper *){border-width:0!important}
  html body *::before,html body *::after{border-width:0!important}
  html[dir="rtl"] body aside,html body aside{border:0!important}
  html body :is(.card,.pop-dashboard,.pop-bento,.pop-journey,.rb-ms,.form-section){min-width:0;max-width:100%}
  html body :is(h1,h2,h3,p,b,small,label,.badge,.tag,.btn,.text-button){overflow-wrap:anywhere;letter-spacing:0!important}
  html body :is(.btn,.badge,.tag){max-width:100%;white-space:normal;line-height:1.45;height:auto}
  html body :is(input,textarea,select){min-width:0;max-width:100%;font-size:14px}
  html body :is(.row,.draft-actions)>*{min-width:0}
  html body .home-topline .draft-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center}
  html body .home-topline #rbLanguage{width:100%;min-width:0;height:36px;min-height:36px;padding-inline:8px!important;font-size:12px}
  html body .home-topline #homeMotionSetting{height:auto;min-height:36px;font-size:12px}
  html body .mobile-nav{margin-top:20px}
  html body .mobile-nav label{font-size:11px;margin-bottom:8px}
  html body #mobilePageSelect{min-height:48px;padding:12px 20px!important;font-size:16px;font-weight:700;box-shadow:none!important}
  html body[data-page=journey] #mobilePageSelect{background:var(--rb-grad)!important;color:var(--rb-on-primary)!important}
  html body #mobilePageSelect option{background:var(--rb-surface);color:var(--rb-ink)}
  html body .dashboard-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
  html body .dashboard-date{text-align:start}
  html body .pop-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:24px!important}
  html body .pop-dashboard-hero>div:first-child{max-width:100%;min-width:0}
  html body .pop-dashboard-hero h2{font-size:26px;line-height:1.3}
  html body .pop-dashboard-hero .ring{
    width:140px;height:140px;min-width:140px;aspect-ratio:1;flex:none;
    justify-self:center;align-self:center;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:4px;padding:20px;box-sizing:border-box;
  }
  html body .pop-dashboard-hero .ring strong{font-size:30px;line-height:1.2}
  html body .pop-dashboard-hero .ring div{width:92px;max-width:100%;font-size:12px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}
  html body .rb-ms-list li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start}
  html body .rb-ms-list li>div{min-width:0}
  html body .rb-ms-list li>.btn{width:100%;min-height:40px}
  html body .rb-ms-list li>.btn:first-of-type{grid-column:1/-1}
  html body .rb-ms-list li>.btn:last-of-type{grid-column:1/-1}
  html body .rb-ms h2{font-size:22px;line-height:1.4}
  html body .question-list li{flex-wrap:wrap}
  html body .question-list li .btn{margin-inline-start:24px}
  html body .pop-feature::after{display:none}
}
