/* Extend the approved REBUILD manufactured cream planes and resource header. */
html.my-rebuild-open,html.my-rebuild-open body{overflow:hidden}
html.my-rebuild-open :is(.top,.nav,.community-entry-dock,[data-codex-toolbar]){visibility:hidden;pointer-events:none}
#rebuild .my-rebuild-experience{
  position:fixed;inset:0;z-index:300;overflow:auto;overscroll-behavior:contain;
  color:#17252c;background:radial-gradient(circle at 16% 7%,rgba(255,255,255,.5),transparent 31%),radial-gradient(circle at 86% 35%,rgba(36,86,216,.035),transparent 38%),linear-gradient(164deg,#eee6de 0%,#e5dad1 48%,#dcd0c5 100%);
  font-family:Arial,Helvetica,sans-serif;scroll-padding-top:80px;
}
#rebuild .my-rebuild-experience[hidden]{display:none}
.my-rebuild-shell{width:min(760px,100%);min-height:100dvh;margin-inline:auto}
.my-rebuild-topbar{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);align-items:center;min-height:64px;padding:0 14px;border-bottom:1px solid rgba(78,69,61,.3);background:#f7f0e7;box-shadow:inset 0 1px 0 #fff,0 4px 12px rgba(53,47,42,.12)}
.my-rebuild-topbar button{justify-self:start;min-width:44px;min-height:44px;padding:0 4px;border:0;background:transparent;color:#26333a;font:900 .8125rem Arial,Helvetica,sans-serif;letter-spacing:.025em}
.my-rebuild-topbar span{text-align:center;line-height:1.15}
.my-rebuild-topbar b{display:block;color:#193a48;font-size:.75rem;letter-spacing:.1em}
.my-rebuild-topbar small{display:block;margin-top:3px;font-size:.8125rem;font-weight:800}
.my-rebuild-topbar i{min-width:44px}
.my-rebuild-screen{padding:24px 18px max(32px,env(safe-area-inset-bottom))}
.my-rebuild-screen *{box-sizing:border-box;overflow-wrap:anywhere}
.my-rebuild-opening{margin-bottom:22px}
.my-rebuild-eyebrow{color:#193a48;font-size:.75rem;font-weight:900;letter-spacing:.065em;line-height:1.45}
.my-rebuild-opening h1{margin:9px 0 12px;color:#17252c;font-size:clamp(2.25rem,8vw,3rem);font-weight:950;letter-spacing:-.045em;line-height:1.02}
#rebuild .my-rebuild-opening h1::before,#rebuild .my-rebuild-opening h1::after{content:none!important;display:none!important}
.my-rebuild-opening p{margin:0;font-size:1rem;line-height:1.5;color:#4e595e}
.my-rebuild-period{display:flex;gap:8px;padding:6px;border:1px solid rgba(91,80,69,.3);border-radius:16px;background:linear-gradient(145deg,#ded0c3,#eee5da);box-shadow:inset 1px 2px 4px rgba(59,48,40,.12)}
.my-rebuild-period button{flex:1;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:11px;color:#4e595e;background:transparent;font:900 .875rem Arial,Helvetica,sans-serif;letter-spacing:.04em}
.my-rebuild-period button[aria-pressed="true"]{border-color:rgba(35,107,131,.55);background:linear-gradient(145deg,#fffdf8,#f5eee5 58%,#e7ddd2);color:#193a48;box-shadow:inset 0 1px 0 #fff,1px 2px 0 rgba(91,80,69,.18),0 3px 8px rgba(45,42,39,.12)}
.my-rebuild-range{margin:12px 0 22px;color:#4e595e;font-size:.8125rem;line-height:1.4}
.my-rebuild-card{min-width:0;margin:0 0 22px;padding:20px;border:1px solid rgba(91,80,69,.56);border-radius:18px;background:linear-gradient(145deg,#fffdf8 0%,#f5eee5 58%,#e7ddd2 100%);box-shadow:-1px -1px 0 rgba(255,255,255,.96),2px 3px 0 rgba(91,80,69,.18),0 9px 18px rgba(45,42,39,.11),inset 0 1px 0 rgba(255,255,255,.98)}
.my-rebuild-card h2{margin:0 0 13px;font-size:.875rem;line-height:1.3;letter-spacing:.035em;color:#193a48;font-weight:900}
.my-rebuild-card h3{margin:9px 0 12px;font-size:1.5rem;line-height:1.15;letter-spacing:-.02em;color:#17252c}
.my-rebuild-card p{margin:0 0 12px;font-size:1rem;line-height:1.5;color:#4e595e}
.my-rebuild-card p:last-child{margin-bottom:0}
.my-rebuild-card .my-rebuild-main-message{font-size:1.5rem;line-height:1.32;color:#17252c;letter-spacing:-.02em}
.my-rebuild-main-message strong,.my-rebuild-area-message strong{color:#193a48;font-weight:900}
.my-rebuild-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:20px 0 15px;padding:0;list-style:none}
.my-rebuild-days li{min-width:0}
.my-rebuild-days :is(button,li>span){position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:66px;padding:7px 2px 12px;border:1px solid rgba(91,80,69,.16);border-radius:11px;background:rgba(255,255,255,.2);color:#4e595e;font-family:inherit}
.my-rebuild-days small{font-size:.75rem;line-height:1.1}
.my-rebuild-days b{font-size:1.0625rem;line-height:1.1}
.my-rebuild-days button{border-color:rgba(35,107,131,.45);background:#e4edf1;color:#193a48;box-shadow:inset 0 1px 0 #fff,1px 2px 0 rgba(91,80,69,.12);cursor:pointer}
.my-rebuild-days button[aria-pressed="true"]{outline:2px solid #236b83;outline-offset:1px}
.my-rebuild-days i{position:absolute;bottom:6px;width:4px;height:4px;border-radius:50%;background:#236b83}
.my-rebuild-day-detail{padding-top:16px;border-top:1px solid rgba(91,80,69,.22)}
.my-rebuild-day-detail h3{margin:0 0 11px;font-size:.875rem;letter-spacing:0;line-height:1.5}
.my-rebuild-day-detail ul{margin:0;padding-left:20px;color:#4e595e;font-size:.875rem;line-height:1.65}
.my-rebuild-areas{display:grid;grid-template-columns:1fr;gap:0 20px}
.my-rebuild-activity-list{list-style:none;margin:16px 0 0;padding:0}
.my-rebuild-activity-list li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid rgba(91,80,69,.2);font-size:.875rem;color:#24343b;line-height:1.45}
.my-rebuild-activity-list span{min-width:0;overflow-wrap:anywhere}
.my-rebuild-activity-list small{flex-shrink:0;color:#4e595e;font-size:.8125rem}
.my-rebuild-primary,#sosExperience .rebuild-manufactured-primary{min-height:48px;width:100%;margin-top:8px;padding:12px 16px;border:1px solid rgba(16,47,61,.65);border-radius:13px;color:#fffaf4;background:linear-gradient(145deg,#20313a,#111f26);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),2px 3px 0 rgba(72,63,55,.14);font:900 .875rem Arial,Helvetica,sans-serif;letter-spacing:.03em}
.my-rebuild-support{margin:0 0 22px;padding:0 4px;color:#193a48;font-size:1rem;line-height:1.5}
.my-rebuild-support p{margin:7px 0 0;color:#4e595e}
.my-rebuild-footnote{color:#4e595e;font-size:.8125rem;line-height:1.55;padding:0 4px}
.my-rebuild-footnote p{margin:0 0 12px}
.my-rebuild-notice{margin-bottom:22px;padding:16px;border:1px solid rgba(91,80,69,.45);border-radius:14px;background:#fffaf2;color:#4e595e;font-size:.875rem;line-height:1.5}
.my-rebuild-notice p{margin:0 0 10px}
.my-rebuild-notice button{min-height:44px;padding:8px 14px;border:1px solid rgba(35,107,131,.45);border-radius:11px;background:#f5eee5;color:#193a48;font:900 .8125rem Arial,Helvetica,sans-serif}
.my-rebuild-experience button:focus-visible,#rebuild #openMyRebuild:focus-visible{outline:3px solid #236b83;outline-offset:3px}
.my-rebuild-experience button:active{transform:translateY(1px)}
#rebuild #openMyRebuild{grid-template-columns:44px minmax(0,1fr) 28px!important;width:100%;text-align:left}
#rebuild #openMyRebuild span:nth-child(2){min-width:0}
#rebuild #openMyRebuild b,#rebuild #openMyRebuild small{display:block}
#today .my-rebuild-today-summary{display:block;width:100%;max-width:620px;margin:28px auto 8px;padding:19px 20px;border:1px solid rgba(91,80,69,.56);border-radius:20px;background:linear-gradient(145deg,#fffdf8 0%,#f5eee5 58%,#e7ddd2 100%);box-shadow:-1px -1px 0 rgba(255,255,255,.96),2px 3px 0 rgba(91,80,69,.18),0 9px 18px rgba(45,42,39,.11),inset 0 1px 0 rgba(255,255,255,.98);color:#17252c;font-family:Arial,Helvetica,sans-serif;text-align:left}
#today .my-rebuild-today-summary>*{display:block}
#today .my-rebuild-today-summary>small{color:#193a48;font-size:.8125rem;line-height:1.4;font-weight:900;letter-spacing:.055em}
#today .my-rebuild-today-summary>strong{margin:9px 0;font-size:1.125rem;line-height:1.35;letter-spacing:-.02em}
#today .my-rebuild-today-summary>span{font-size:.875rem;line-height:1.5;color:#4e595e}
#today .my-rebuild-today-summary #myRebuildSummaryDetail{margin-top:8px;font-size:.8125rem;letter-spacing:0;font-weight:400;color:#4e595e}
#today .my-rebuild-today-summary #myRebuildSummaryDetail[hidden]{display:none}
#today .my-rebuild-today-summary>em{margin-top:15px;color:#193a48;font-size:.875rem;line-height:1.4;font-weight:900;font-style:normal}
#today .my-rebuild-today-summary:focus-visible{outline:3px solid #236b83;outline-offset:3px}
#today .my-rebuild-today-summary:active{transform:translateY(1px)}
@media(min-width:680px){.my-rebuild-areas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.my-rebuild-screen{padding-inline:16px}.my-rebuild-card{padding:17px}.my-rebuild-days{gap:4px}.my-rebuild-opening h1{font-size:2.125rem}}
@media(max-width:360px){.my-rebuild-card{padding:15px}.my-rebuild-screen{padding-inline:14px}.my-rebuild-card .my-rebuild-main-message{font-size:1.375rem}}
@media(prefers-reduced-motion:reduce){.my-rebuild-experience button:active,#today .my-rebuild-today-summary:active{transform:none}.my-rebuild-experience *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active){.my-rebuild-card,.my-rebuild-period,.my-rebuild-days :is(button,li>span),.my-rebuild-primary,#today .my-rebuild-today-summary{border:1px solid CanvasText;background:Canvas;color:CanvasText;box-shadow:none}.my-rebuild-days button[aria-pressed="true"],.my-rebuild-experience button:focus-visible,#today .my-rebuild-today-summary:focus-visible{outline-color:Highlight}.my-rebuild-days i{background:CanvasText}}

/* Use the approved homepage cream rim, porcelain pucks and raised controls. */
.my-rebuild-opening,.my-rebuild-card,#sosExperience .rebuild-raised-cream,#today .my-rebuild-today-summary{
  border:0;border-radius:20px;background:linear-gradient(145deg,#f1e7dc 0%,#eee2d4 54%,#ded0c3 100%);
  box-shadow:0 0 0 2px #eee2d4,-1px -1px 0 4px #fffaf4,1px 2px 0 4px #d6c4b3,0 7px 7px 4px rgba(59,48,40,.22),0 14px 22px 5px rgba(50,42,35,.15);
}
.my-rebuild-screen{padding-top:26px;padding-inline:22px}
.my-rebuild-opening{position:relative;padding:22px 20px;margin-bottom:28px}
.my-rebuild-opening .my-rebuild-eyebrow{max-width:calc(100% - 58px);color:#193a48;font-size:.6875rem;letter-spacing:.08em;line-height:1.45}
.my-rebuild-opening h1{margin-top:18px;font-size:clamp(2rem,8vw,3rem);color:#25292d}
.my-rebuild-opening p{font-size:1rem}
.my-rebuild-opening>.my-rebuild-icon{position:absolute;right:18px;top:17px}
.my-rebuild-icon,#sosExperience .rebuild-manufactured-puck{display:inline-grid;flex:0 0 42px;place-items:center;width:42px;height:42px;border:1px solid #efe4d7;border-radius:50%;background:linear-gradient(145deg,#263038 0%,#111920 62%,#090f14 100%);color:#20d5ef;box-shadow:inset 0 0 0 1px rgba(32,213,239,.42),inset 0 2px 0 rgba(255,255,255,.14),0 1px 0 rgba(255,250,244,.9),0 4px 7px rgba(22,20,18,.28)}
.my-rebuild-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.my-rebuild-card{margin-bottom:28px}
.my-rebuild-card h2{display:flex;align-items:center;gap:12px;min-height:42px;margin-bottom:16px;color:#25292d;letter-spacing:.035em}
.my-rebuild-showed h2{padding-bottom:12px;border-bottom:1px solid rgba(25,58,72,.23);min-height:0;color:#193a48}
.my-rebuild-main-message strong,.my-rebuild-area-message strong{color:#193a48}
.my-rebuild-period{border:1px solid #a99c8e;background:linear-gradient(145deg,#ded0c3,#eee5da);box-shadow:inset 1px 2px 4px rgba(59,48,40,.18),0 1px 0 #fffaf4}
.my-rebuild-period button[aria-pressed="true"]{border-color:#236b83;color:#fffaf4;background:linear-gradient(145deg,#263038,#111920);box-shadow:inset 0 -3px 0 #20d5ef,inset 0 1px 0 rgba(255,255,255,.2),0 3px 6px rgba(22,20,18,.22)}
.my-rebuild-primary,#sosExperience .rebuild-manufactured-primary{border:1px solid #193a48;border-radius:14px;background:linear-gradient(145deg,#263038,#111920);box-shadow:inset 0 -2px 0 #20d5ef,inset 0 1px 0 rgba(255,255,255,.2),0 3px 6px rgba(22,20,18,.2)}
.my-rebuild-days button{background:linear-gradient(145deg,#fffaf4,#e4edf1);border-color:#236b83}
.my-rebuild-support{color:#193a48}
#today .my-rebuild-today-summary{position:relative;width:94%;margin:24px auto 12px;padding:18px 20px 20px;overflow:visible}
#today .my-rebuild-today-summary>small:first-child{display:flex;align-items:center;gap:12px;color:#25292d;font-size:.875rem;min-height:42px}
#today .my-rebuild-today-summary>strong{margin-top:14px;color:#25292d;font-weight:800}
#today .my-rebuild-today-summary>em{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#193a48;margin-top:16px}
#today .my-rebuild-today-summary>em>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(33,62,75,.26);border-radius:50%;background:linear-gradient(145deg,#fffaf4,#e4d7c6);color:#193a48;font-size:25px;line-height:1;box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(35,30,26,.25)}
@media(max-width:390px){.my-rebuild-screen{padding-inline:20px}.my-rebuild-opening{padding:20px 17px}.my-rebuild-opening h1{font-size:2.125rem}.my-rebuild-card h2{font-size:.8125rem;gap:10px}}
@media(max-width:360px){.my-rebuild-screen{padding-inline:18px}.my-rebuild-opening h1{font-size:2rem}}
@media(forced-colors:active){.my-rebuild-opening,.my-rebuild-card,#today .my-rebuild-today-summary,.my-rebuild-icon,.my-rebuild-period button[aria-pressed="true"]{border:1px solid CanvasText;background:Canvas;color:CanvasText;box-shadow:none}.my-rebuild-period button[aria-pressed="true"]{outline:2px solid Highlight}.my-rebuild-primary,#today .my-rebuild-today-summary>em>span{background:Canvas;color:CanvasText;box-shadow:none}}

/* Compact TODAY entry reuses the raised surface, icon puck and action disc. */
#today .my-rebuild-today-summary{min-height:96px;margin-top:8px;padding:15px 62px 15px 72px;box-sizing:border-box}
#today .my-rebuild-today-summary>small:first-child{display:block;min-height:0;font-size:.6875rem;line-height:1.4;letter-spacing:.055em}
#today .my-rebuild-today-summary>small:first-child>.my-rebuild-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%)}
#today .my-rebuild-today-summary>strong{margin:5px 0 0;font-size:.875rem;line-height:1.35;letter-spacing:-.01em;overflow-wrap:anywhere}
#today .my-rebuild-today-summary>.my-rebuild-summary-meta{display:flex;flex-wrap:wrap;column-gap:8px;row-gap:2px;margin-top:5px;font-size:.75rem;line-height:1.5;color:#4e595e}
#today .my-rebuild-today-summary #myRebuildSummaryDetail{margin:0;font-size:inherit;line-height:inherit;font-weight:400;color:inherit}
#today .my-rebuild-today-summary #myRebuildSummaryDetail:not([hidden])::before{content:"·";margin-right:8px}
#today .my-rebuild-today-summary>em{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:38px;height:38px;margin:0;font-size:0;line-height:0}
#today .my-rebuild-today-summary:focus-visible{outline:3px solid #193a48;outline-offset:8px}
@media(max-width:360px){#today .my-rebuild-today-summary{width:95%;padding-left:67px;padding-right:58px}#today .my-rebuild-today-summary>small:first-child>.my-rebuild-icon{left:12px}#today .my-rebuild-today-summary>em{right:12px}}

/* Journey geometry lives inside the same approved raised cream card. */
.my-rebuild-opening .my-rebuild-main-message{font-size:1.5rem;line-height:1.32;margin:16px 0 12px;color:#193a48}
.my-rebuild-opening p+p{margin-top:8px}
.my-rebuild-journey{list-style:none;margin:20px 0 0;padding:0}
.my-rebuild-journey-step{position:relative;display:flex;align-items:flex-start;gap:14px;padding:0 0 24px;min-width:0}
.my-rebuild-journey-step:last-child{padding-bottom:0}
.my-rebuild-journey-step:not(:last-child)::before{content:"";position:absolute;left:15px;top:32px;bottom:0;width:1px;background:rgba(25,58,72,.23)}
.my-rebuild-journey-point{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid rgba(91,80,69,.3);border-radius:50%;background:linear-gradient(145deg,#fffaf4,#e4d7c6);color:#193a48;box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(35,30,26,.25)}
.my-rebuild-journey-point.is-earned{border-color:#236b83;background:linear-gradient(145deg,#fffaf4,#e4edf1)}
.my-rebuild-journey-step>div{min-width:0;padding-top:2px}
.my-rebuild-journey-step b{display:block;font-size:.875rem;line-height:1.4;color:#193a48}
.my-rebuild-journey-step span:not(.my-rebuild-journey-point),.my-rebuild-journey-step small{display:block;font-size:.8125rem;line-height:1.5;color:#4e595e;margin-top:4px}
.my-rebuild-journey-step[aria-current="step"] b{color:#17252c}
@media(forced-colors:active){.my-rebuild-journey-point{border-color:CanvasText;background:Canvas;color:CanvasText;box-shadow:none}.my-rebuild-journey-step:not(:last-child)::before{background:CanvasText}}

/* My REBUILD records consistency; guided routes belong to REBUILD Plus. */
#myRebuildContent .my-rebuild-opening .my-rebuild-eyebrow{display:block;max-width:none;margin-bottom:10px}
#myRebuildContent .my-rebuild-opening h1{margin-bottom:16px}
#myRebuildContent .my-rebuild-next-milestone{margin:12px 0;font-weight:700;color:#193a48}
#myRebuildContent .rebuild-earned-summary{margin:12px 0 16px}
#myRebuildContent .rebuild-earned-summary>div{min-width:0}
#myRebuildContent .my-rebuild-milestones summary,
#myRebuildContent .my-rebuild-activity-details>summary{min-height:48px;padding:12px 0;cursor:pointer;font-size:.875rem;font-weight:900;color:#193a48;line-height:1.5}
#myRebuildContent .my-rebuild-milestones summary:focus-visible,
#myRebuildContent .my-rebuild-activity-details>summary:focus-visible{outline:3px solid #236b83;outline-offset:3px;border-radius:8px}
#myRebuildContent .my-rebuild-milestone-list{padding:0;margin:8px 0 0;list-style:none}
#myRebuildContent .my-rebuild-milestone-list button{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 0;border:0;border-top:1px solid rgba(91,80,69,.2);background:transparent;color:#193a48;text-align:left;font:inherit;cursor:pointer}
#myRebuildContent .my-rebuild-milestone-list button>span:nth-child(2){flex:1;min-width:0}
#myRebuildContent .my-rebuild-milestone-list b{display:block;font-size:.875rem;line-height:1.4}
#myRebuildContent .my-rebuild-milestone-list small{display:block;margin-top:5px;font-size:.8125rem;line-height:1.5;color:#4e595e}
#myRebuildContent .my-rebuild-milestone-list .rebuild-crest-badge{flex:0 0 48px;width:48px;height:54px}
#myRebuildContent .my-rebuild-milestone-list .rebuild-extra-crest,
#myRebuildContent .my-rebuild-milestone-list .rebuild-earned-badge{flex:0 0 48px;width:48px;height:48px}
#myRebuildContent .my-rebuild-milestone-list .rebuild-earned-badge svg{width:28px;height:28px}
#myRebuildContent .my-rebuild-activity-details{margin:0 0 28px;padding:0 4px}
#myRebuildContent .my-rebuild-activity-details[open]>.my-rebuild-areas{padding-top:18px}
#myRebuildContent .my-rebuild-plus-invitation h2{min-height:0;margin:10px 0 12px}
#myRebuildContent .my-rebuild-plus-invitation .my-rebuild-primary{margin:0 0 14px}
#myRebuildContent .my-rebuild-plus-invitation p:last-child{font-size:.8125rem}
#rebuildPlusContent .plus-guidance-intro{font-size:.9375rem;line-height:1.5;color:#4e595e;margin:16px 0 0}
html body #today #myRebuildTodayJourney{font-size:.8125rem;line-height:1.5;margin-top:6px}
html body #today #myRebuildTodayJourney[hidden]{display:none}
@media(forced-colors:active){#myRebuildContent .my-rebuild-milestone-list button{color:CanvasText;border-color:CanvasText}#myRebuildContent summary:focus-visible{outline-color:Highlight}}
