/* Styles limited to the optional personal space. */
.my-space{--ms-bg:#eff7f6;--ms-card:#fff;--ms-ink:#193b43;--ms-muted:#50686e;--ms-line:#c7d9da;--ms-accent:#256573;--ms-soft:#e1efed;--ms-warm:#f4ecdf;--ms-violet:#eee8f4;max-width:1160px;margin:0 auto;padding:clamp(18px,4vw,48px) 24px 56px;color:var(--ms-ink);font:inherit;line-height:1.55;isolation:isolate}
html[data-theme=dark] .my-space,body[data-theme=dark] .my-space{--ms-bg:#11282e;--ms-card:#19373e;--ms-ink:#edf6f5;--ms-muted:#b9ced1;--ms-line:#46656d;--ms-accent:#b1e1df;--ms-soft:#254951;--ms-warm:#414239;--ms-violet:#383c54}
.my-space *{box-sizing:border-box}.my-space [hidden]{display:none!important}
.my-space h1,.my-space h2,.my-space p{margin:0;color:inherit}.my-space h1,.my-space h2{letter-spacing:-.035em;line-height:1.12}.my-space h1{font-size:clamp(2.4rem,5vw,4.5rem);font-weight:750}.my-space h2{font-size:clamp(1.45rem,2.4vw,1.95rem);font-weight:700}
.my-space .ms-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;border-radius:36px 36px 72px 36px;padding:clamp(28px,5vw,56px);background:linear-gradient(125deg,#1d5663,#337e88);color:#fff;box-shadow:0 18px 45px -30px #0e414c80}
.my-space .ms-hero:after{content:'';position:absolute;width:330px;height:330px;border:1px solid #ffffff24;border-radius:50%;right:-100px;bottom:-210px;box-shadow:0 0 0 44px #ffffff08,0 0 0 88px #ffffff05;pointer-events:none}.my-space .ms-hero-copy{position:relative;z-index:1;max-width:720px;min-width:0}.my-space .ms-eyebrow{font-size:.76rem;font-weight:750;letter-spacing:.14em;margin-bottom:14px;overflow-wrap:anywhere;color:#d5efed}.my-space .ms-welcome{font-size:clamp(1.1rem,2vw,1.4rem);margin-top:18px;font-weight:600}.my-space .ms-intro{max-width:530px;margin-top:8px;color:#e2f1f1;font-size:1rem}.my-space .ms-brand{position:relative;z-index:1;width:clamp(80px,12vw,150px);height:auto;flex:none;border-radius:50%;filter:drop-shadow(0 12px 18px #082e3d30)}
.my-space .ms-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 4px 12px}.my-space a.ms-profile,.my-space button.ms-refresh,.my-space a.ms-help-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--ms-line);border-radius:999px;padding:9px 18px;background:var(--ms-card);color:var(--ms-accent);font:inherit;font-size:.93rem;font-weight:650;text-decoration:none;cursor:pointer;box-shadow:none}.my-space button.ms-refresh:disabled{opacity:.6;cursor:wait}
.my-space .ms-status{font-size:.93rem;color:var(--ms-muted);padding:0 4px}.my-space .ms-status p{margin:8px 0}.my-space .ms-badges{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 14px}.my-space .ms-badges span{padding:4px 11px;border:1px solid var(--ms-line);border-radius:999px;color:var(--ms-ink);background:var(--ms-soft);font-size:.8rem}
.my-space .ms-search{display:flex;align-items:center;gap:12px;width:100%;padding:4px 18px;margin-top:22px;border:1px solid var(--ms-line);border-radius:20px;background:var(--ms-card);color:var(--ms-muted)}.my-space .ms-search input{width:100%;min-width:0;min-height:48px;padding:10px 0;border:0;background:transparent;color:var(--ms-ink);font:inherit;outline:none;box-shadow:none}.my-space .ms-search input::placeholder{color:var(--ms-muted);opacity:1}.my-space .ms-search:focus-within{outline:3px solid var(--ms-accent);outline-offset:3px}
.my-space svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.my-space .ms-count{font-size:.85rem;color:var(--ms-muted);min-height:1.5em;margin-top:5px}.my-space .ms-section{margin-top:22px}.my-space .ms-section-heading{margin:0 0 18px}.my-space .ms-section-heading p,.my-space .ms-complete>p{margin-top:7px;color:var(--ms-muted)}.my-space .ms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.my-space a.ms-card{display:flex;align-items:center;gap:18px;min-height:150px;padding:26px;text-decoration:none;color:var(--ms-ink);background:var(--ms-card);border:1px solid var(--ms-line);border-radius:26px;box-shadow:0 9px 24px -23px #123c4480;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.my-space .ms-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:19px;background:var(--ms-soft);color:var(--ms-ink)}.my-space .ms-card:nth-child(3n+2) .ms-icon{background:var(--ms-warm)}.my-space .ms-card:nth-child(3n) .ms-icon{background:var(--ms-violet)}.my-space .ms-icon svg{width:27px;height:27px}.my-space .ms-card-text{display:block;min-width:0;flex:1}.my-space .ms-card strong{display:block;font-size:1.14rem;line-height:1.3;letter-spacing:-.015em;font-weight:700}.my-space .ms-description{display:block;color:var(--ms-muted);font-size:.94rem;line-height:1.5;margin-top:7px}.my-space .ms-arrow{color:var(--ms-accent);align-self:center}.my-space .ms-arrow svg{width:20px;height:20px}
.my-space .ms-complete{margin-top:38px;padding:28px;border:1px solid var(--ms-line);border-radius:28px;background:var(--ms-soft)}.my-space .ms-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.my-space a.ms-destination{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--ms-line);border-radius:16px;padding:12px 16px;min-height:46px;background:var(--ms-card);color:var(--ms-ink);font-weight:600;font-size:.95rem;text-decoration:none}.my-space .ms-destination svg{width:18px;height:18px}.my-space .ms-help{display:flex;align-items:center;gap:30px;justify-content:space-between;padding:32px 4px 0}.my-space .ms-help h2{font-size:1.2rem}.my-space .ms-help p{color:var(--ms-muted);margin-top:8px;max-width:660px;font-size:.95rem}.my-space .ms-help-link{flex-shrink:0}.my-space .ms-empty{padding:26px;border:1px solid var(--ms-line);border-radius:24px;background:var(--ms-card)}.my-space .ms-empty p{margin:12px 0 20px;color:var(--ms-muted)}.my-space .ms-empty a{margin:0 8px 8px 0}
.my-space :is(a,button):focus-visible{outline:3px solid var(--ms-accent);outline-offset:4px}.my-space :is(a,button):active{transform:scale(.985)}
@media(hover:hover){.my-space a.ms-card:hover{transform:translateY(-3px);border-color:var(--ms-accent);box-shadow:0 15px 25px -22px #16434b99}.my-space :is(a.ms-destination,a.ms-profile,button.ms-refresh,a.ms-help-link):hover{border-color:var(--ms-accent)}}
@media(max-width:680px){.my-space{padding:20px 16px 36px}.my-space .ms-grid{grid-template-columns:1fr;gap:12px}.my-space .ms-hero{padding:28px 24px;border-radius:28px 28px 52px 28px}.my-space .ms-hero-copy{max-width:100%}.my-space .ms-brand{position:absolute;right:16px;top:18px;width:62px;opacity:.15}.my-space .ms-eyebrow{padding-right:36px}.my-space a.ms-card{padding:20px;min-height:124px;gap:14px}.my-space .ms-icon{flex-basis:46px;width:46px;height:46px;border-radius:16px}.my-space .ms-card strong{font-size:1.08rem}.my-space .ms-complete{padding:23px}.my-space .ms-links{flex-direction:column}.my-space .ms-help{align-items:flex-start;flex-direction:column;gap:18px}.my-space .ms-section{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.my-space *, .my-space *:before,.my-space *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.my-space :is(a,button):is(:hover,:active){transform:none!important}}
@media print{.my-space .ms-tools,.my-space .ms-search{display:none}.my-space .ms-hero{background:#fff;color:#000;box-shadow:none}.my-space .ms-hero p{color:#000}}

/* A single welcoming composition, with the same hierarchy in both themes. */
.my-space{--ms-hero-bg:#f7f3e9;--ms-hero-line:#deded0;--ms-hero-ink:#214951;--ms-hero-muted:#496267}
html[data-theme=dark] .my-space,body[data-theme=dark] .my-space{--ms-hero-bg:#19373e;--ms-hero-line:#46656d;--ms-hero-ink:#edf6f5;--ms-hero-muted:#bdd3d4}
.my-space .ms-hero{display:block;padding:clamp(18px,2vw,24px);border:1px solid var(--ms-hero-line);border-radius:32px;background:var(--ms-hero-bg);color:var(--ms-hero-ink);box-shadow:0 16px 36px -30px #123c4450}
.my-space .ms-hero:after{display:none;content:none;border:0;box-shadow:none}
.my-space .ms-hero-watermark{position:absolute;right:-108px;bottom:-258px;width:363px;height:363px;object-fit:contain;opacity:.08;pointer-events:none;z-index:0;border:0;border-radius:0;filter:none}
html[data-theme=dark] .my-space .ms-hero-watermark,body[data-theme=dark] .my-space .ms-hero-watermark{opacity:.1}
.my-space .ms-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) clamp(130px,16vw,175px);column-gap:18px;row-gap:6px;width:100%;max-width:none;align-items:center}
.my-space .ms-eyebrow{grid-column:1;grid-row:1;margin:0;padding:0;color:var(--ms-hero-muted);font-size:.7rem;letter-spacing:.12em}
.my-space .ms-title-row{display:contents}
.my-space .ms-title-row h1{grid-column:1;grid-row:2;font-size:clamp(1.15rem,2.4vw,2rem);line-height:1.18;overflow-wrap:anywhere;margin:2px 0 4px}
.my-space .ms-sagrato-art{grid-column:2;grid-row:1 / span 4;position:relative;width:100%;min-width:0;pointer-events:none;align-self:center;transform:translateY(-8px)}
.my-space .ms-sagrato-scene{display:block;width:100%;height:auto;max-width:100%;background:transparent;filter:none;border:0;border-radius:0}
.my-space .ms-sagrato-logo{position:absolute;top:2%;right:1%;width:16%;height:auto;max-width:none;filter:none;border:0;border-radius:0}
.my-space .ms-welcome{grid-column:1;grid-row:3;max-width:620px;margin:0;font-size:clamp(.95rem,1.5vw,1.05rem);font-weight:450;color:var(--ms-hero-muted)}
.my-space .ms-intro{grid-column:1;grid-row:4;margin:0;font-size:1.05rem;font-weight:650;color:var(--ms-hero-ink)}
.my-space .ms-tools{grid-column:1 / -1;grid-row:5;justify-content:flex-start;gap:8px;margin-top:6px;padding:10px 0 0;border-top:1px solid var(--ms-hero-line)}
.my-space .ms-refresh-note{flex-basis:100%;font-size:.85rem;color:var(--ms-hero-muted)}
.my-space .ms-refresh-note:empty{display:none}
.my-space a.ms-profile,.my-space button.ms-refresh{background:transparent!important;color:var(--ms-hero-ink);border-color:var(--ms-hero-line);font-size:.85rem;padding:8px 14px}
.my-space .ms-status{padding-top:16px}
@media(max-width:680px){.my-space .ms-hero-copy{grid-template-columns:minmax(0,1fr) 90px;column-gap:8px;row-gap:8px}.my-space .ms-title-row h1{grid-column:1 / -1;font-size:clamp(.9375rem,4vw,1.35rem);margin:0}.my-space .ms-sagrato-art{grid-column:2;grid-row:3 / span 2;transform:translateY(-6px)}.my-space .ms-hero{padding:18px 16px;border-radius:26px}.my-space .ms-eyebrow{grid-column:1 / -1;font-size:.62rem;letter-spacing:.08em}.my-space .ms-intro{font-size:.95rem}.my-space .ms-tools{gap:8px}.my-space a.ms-profile,.my-space button.ms-refresh{padding:8px 11px;font-size:.8rem}.my-space .ms-hero-watermark{width:264px;height:264px;right:-107px;bottom:-169px}}
@media print{.my-space .ms-hero{background:#fff;color:#000}.my-space .ms-tools{display:none}}

/* Account identity markers: descriptive text remains readable in both themes. */
.ms-account-marks{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.ms-account-mark{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:24px;background:var(--surface,#fff);border:1px solid var(--line,#cad7d7);color:var(--ink,#19383b);font:600 13px/1.35 system-ui}.ms-account-mark:before{content:'';width:11px;height:11px;border-radius:50%;background:var(--role-mark);box-shadow:0 0 0 3px color-mix(in srgb,var(--role-mark) 16%,transparent);flex:none}:root[data-theme=dark] .ms-account-mark{background:#19383b;color:#ecf5f2;border-color:#405e63}:root[data-theme=dark] .ms-account-mark:before{filter:brightness(1.55) saturate(.8)}
