/* Explicit foreground/surface pairs replace ambiguous inherited legacy tokens. */
.family-page{--fx-paper:#f8f4eb;--fx-night:#081e2d;--fx-copy:#e4edf2;--fx-muted:#c4d5df;--fx-cyan:#b0e4f3;--fx-gold:#edcd8a}
.family-page .legacy-content{color:#e4edf2}.family-page .legacy-content .soft,.family-page .legacy-content .card,.family-page .legacy-content .panel,.family-page .legacy-content .prose,.family-page .legacy-content .details{background:#12364b;color:#e4edf2;border-color:#64889b}.family-page .legacy-content .soft p,.family-page .legacy-content .card p,.family-page .legacy-content .panel p,.family-page .legacy-content .prose p{color:#d5e3eb}.family-page .legacy-content .muted,.family-page .legacy-content .fine{color:#c4d5df}
.family-page .button.primary,.family-page .legacy-content .button.primary{background:#b0e4f3!important;color:#082031!important;border-color:#b0e4f3!important}.family-page .button.secondary,.family-page .legacy-content .button.secondary{background:#12384e!important;color:#f8f4eb!important;border-color:#91b2c3!important}.family-page .button span{color:inherit!important}.family-page .eyebrow{color:#edcd8a}.family-page a:focus-visible,.family-page button:focus-visible,.family-page input:focus-visible,.family-page select:focus-visible,.family-page textarea:focus-visible{outline:3px solid #c99835;outline-offset:4px}
.family-page .legacy-content .number,.family-page .legacy-content li>span:first-child{color:#b0e4f3!important}.family-page .skip-link{background:#edcd8a!important;color:#082031!important}.family-page .legacy-content .btn{background:#143d52!important;color:#fffdf7!important;border-color:#91b2c3!important}.family-page .legacy-content .action.gold{background:#edcd8a!important;background-image:none!important;color:#082031!important}.bookstore .legacy-content a.btn,.bookstore .legacy-content button.btn{background:#143d52!important;color:#fffdf7!important;border-color:#678fa4!important}
.bookstore .legacy-content,.bookstore .legacy-content .muted,.bookstore .legacy-content .fine{color:#25495d!important}.bookstore .legacy-content .card,.bookstore .legacy-content .panel,.bookstore .legacy-content .soft,.bookstore .legacy-content .prose{background:#fffdf7!important;color:#173448!important}.bookstore .legacy-content .card p,.bookstore .legacy-content .panel p,.bookstore .legacy-content .soft p,.bookstore .legacy-content .prose p{color:#25495d!important}.bookstore .legacy-content a.button,.bookstore .legacy-content a[class*="bg-gold"],.bookstore .legacy-content a[class*="bg-emerald"],.bookstore .legacy-content a[class*="bg-teal"]{background:#143d52!important;color:#fffdf7!important;border-color:#143d52!important}.bookstore .legacy-content a[class*="border-gold"]{background:#fffdf7!important;color:#173448!important}.bookstore .new-chapter h1,.bookstore .new-chapter h2,.bookstore .new-chapter h3{color:#173448}.bookstore .new-chapter p{color:#25495d}.bookstore .new-chapter .eyebrow{color:#71501e}.bookstore .watchers-poem{color:#173448}.bookstore .watchers-poem p{color:#173448}.bookstore .watchers-poem .cap{color:#35566a}
.catalog-tools{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin:35px 0}.catalog-tools label{display:grid;gap:10px;font-size:18px;font-weight:600;color:#173448}.catalog-tools input,.catalog-tools select{background:#fffdf7;color:#173448;border:1px solid #617f90;border-radius:6px;padding:15px;font:inherit;min-width:0;width:100%}.catalog-tools p{grid-column:1/-1;margin:0}.full-shelf{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:25px!important}.full-shelf .shelf-book{border:1px solid #b4c6d0;border-radius:9px;padding:20px;box-shadow:0 6px 20px #143d5208;gap:13px;overflow:hidden}.full-shelf .shelf-book h3{font-size:24px;line-height:1.25}.full-shelf .shelf-book img{height:270px;object-fit:contain;background:#e8edf0}.full-shelf .shelf-book p{margin:0;font-size:17px;line-height:1.55}.full-shelf .shelf-book .book-author{color:#4b6471}.full-shelf .shelf-book footer{display:grid;gap:16px;margin-top:auto;padding-top:15px}.full-shelf .shelf-book .button{min-height:52px;font-size:17px;width:100%;margin:0}.availability{font-size:15px;line-height:1.5;font-weight:650;color:#234d60;background:#e0edf1;align-self:flex-start;border-radius:4px;padding:5px 9px}.cover-placeholder{height:270px;display:grid;place-items:center;font:100px Georgia;background:#143d52;color:#edcd8a}
.service-directory{display:grid;grid-template-columns:1fr 1fr;gap:28px}.service-directory article{display:flex;flex-direction:column;padding:32px;border-top:1px solid #88afc1;background:linear-gradient(135deg,#173e54,#0c283a);border-radius:4px 40px 4px 4px;gap:18px}.service-directory h3{font-size:32px;color:#f8f4eb}.service-directory p{color:#d6e5ed;line-height:1.65}.service-directory footer{margin-top:auto;display:grid;gap:18px}.service-directory footer span{font-size:17px;color:#edcd8a}.service-directory .button{width:100%}
.concierge-illustrated{position:relative;overflow:hidden;min-height:320px;grid-template-columns:1.4fr 1fr!important;padding-right:36%!important;background:#102c40!important;border-color:#69889c}.concierge-illustrated>div{position:relative;z-index:1}.concierge-illustrated .concierge-portrait{position:absolute;inset:0 0 0 55%;width:45%;height:100%;display:block}.concierge-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#102c40,transparent 60%)}.concierge-portrait img{width:100%;height:100%;object-fit:cover;object-position:80% 50%}.concierge-illustrated h2,.concierge-illustrated p,.bookstore .new-chapter .concierge-illustrated p{color:#eef3f5!important}.concierge-illustrated .eyebrow{color:#edcd8a!important}.concierge-illustrated .button{position:relative;z-index:2}
@media(max-width:1100px){.full-shelf{grid-template-columns:repeat(3,minmax(0,1fr))!important}.concierge-illustrated{grid-template-columns:1fr!important}}
@media(max-width:760px){.full-shelf{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.full-shelf .shelf-book{padding:14px}.full-shelf .shelf-book img{height:230px}.full-shelf .shelf-book h3{font-size:22px}.catalog-tools{grid-template-columns:1fr}.service-directory{grid-template-columns:1fr}.concierge-illustrated{padding:230px 24px 28px!important}.concierge-illustrated .concierge-portrait{inset:0 0 auto 0;width:100%;height:250px}.concierge-portrait:after{background:linear-gradient(0deg,#102c40,transparent 80%)}.concierge-portrait img{object-position:75% 35%}}
@media(max-width:450px){.full-shelf{grid-template-columns:1fr!important}.full-shelf .shelf-book{display:grid;grid-template-columns:95px 1fr;column-gap:18px}.full-shelf .book-cover-link{grid-column:1;grid-row:1/6;align-self:start}.full-shelf .shelf-book img{height:auto}.full-shelf .shelf-book footer{grid-column:1/-1}.full-shelf .shelf-book .book-description{grid-column:2}.full-shelf .shelf-book .availability{font-size:14px}.cover-placeholder{height:150px;font-size:50px}}
/* The assistant is a focused workspace with stable artwork and a usable desk. */
.atlas-key{display:flex;gap:20px;flex-wrap:wrap;color:#edcd8a;margin:30px 0;font-size:16px}.fusion-list{display:grid;gap:12px}.fusion-row{display:grid;grid-template-columns:190px 1fr 145px;gap:25px;align-items:start;border:1px solid #5c8297;background:linear-gradient(100deg,#173c52,#0c293c);border-radius:7px;padding:24px}.fusion-row h3{font-size:25px;color:#f8f4eb;margin:8px 0}.fusion-row h4{font-size:22px;color:#edf4f7;margin:0 0 10px}.fusion-row p{font-size:17px;color:#cbdfe9;line-height:1.6;margin:0 0 12px}.fusion-row .eyebrow{font-size:13px;color:#edcd8a}.fusion-row span{font-size:13px;color:#b0dfef}.fusion-row .fusion-unknown{font-size:15px;color:#c1d5e0;margin:0}.fusion-row .button{font-size:15px;min-height:50px;padding:12px;align-self:center;text-align:center}.atlas-archive summary{cursor:pointer;padding:22px;border:1px solid #648da3;border-radius:6px;color:#edcd8a;background:#12354b}.archive-notice{padding:24px;background:#344156;color:#f8f4eb;border-bottom:1px solid #b09a6d}.archive-notice p{font-size:17px;margin:10px 0 0;max-width:1000px;color:#e1e9ee}.research-brief{max-width:900px}.research-brief h3{font-size:27px;margin:30px 0 12px}.research-brief p{line-height:1.75;color:#d6e5ed}.research-reference{font-size:17px;padding-top:20px;border-top:1px solid #63879b}
@media(max-width:850px){.fusion-row{grid-template-columns:160px 1fr;gap:18px}.fusion-row>.button{grid-column:2;justify-self:start}}@media(max-width:540px){.fusion-row{grid-template-columns:1fr;padding:20px}.fusion-row>.button{grid-column:1;justify-self:stretch}.fusion-row>div:first-child{border-bottom:1px solid #557e95;padding-bottom:14px}}
.sm-launcher{padding:7px 18px 7px 7px;gap:12px;background:#102f44;color:#f8f4eb;border:1px solid #d6b775}.sm-launcher>img{width:54px;height:54px;object-fit:cover;object-position:83% 35%;border-radius:50%;border:1px solid #d6b775}.sm-launcher .sm-launch-label{background:none;border-radius:0;width:auto;height:auto;display:grid;text-align:left;color:#f8f4eb;font-family:CraftSans,Arial,sans-serif}.sm-launch-label strong{font-size:18px}.sm-launch-label small{font-size:14px!important;color:#c9dfe9}
.sm-workspace,.sm-workspace *{box-sizing:border-box}.sm-workspace{width:min(1420px,96vw);height:min(1000px,95dvh);max-height:95dvh;margin:auto;padding:0;background:#0c2639;color:#eef3f5;border:1px solid #8ba8b7;border-radius:15px;box-shadow:0 32px 120px #000b;font:18px/1.55 CraftSans,Arial,sans-serif;color-scheme:dark}.sm-workspace::backdrop{background:#03111eee;backdrop-filter:blur(6px)}.sm-workspace[open]{display:flex;flex-direction:column}.sm-workspace button,.sm-workspace input,.sm-workspace select,.sm-workspace textarea{font:inherit}.sm-workspace button,.sm-workspace a{cursor:pointer}.sm-workspace a{color:#c4e9f4}.sm-top{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid #4e7186;background:#0a2031;gap:20px;flex:none}.sm-home{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;letter-spacing:2px;text-decoration:none;color:#f8f4eb!important}.sm-home span{font:36px Georgia;color:#edcd8a}.sm-top p{font-size:13px;letter-spacing:2px;color:#c9dce7;margin:0}.sm-close{height:44px;width:44px;flex:none;border-radius:50%;border:1px solid #8ba8b7;background:#14384f;color:#fff;font-size:28px!important;line-height:1}.sm-layout{display:grid;grid-template-columns:270px 1fr;flex:1;min-height:0}.sm-sidebar{background:linear-gradient(160deg,#183d53,#0a2031);border-right:1px solid #4e7186;padding:28px 18px;overflow:auto}.sm-sidebar h2{font:30px/1.2 CraftDisplay,Georgia,serif;margin:0 10px 26px;color:#f8f4eb}.sm-sidebar h2 em{color:#edcd8a;font-weight:400}.sm-roles{display:grid;gap:8px}.sm-roles button{display:flex;align-items:center;gap:13px;border:1px solid transparent;background:transparent;color:#f1f5f6;padding:13px 10px;border-radius:7px;text-align:left;min-height:70px}.sm-roles button[aria-pressed=true]{border-color:#9ac6d8;background:#c1e7f4;color:#0b283b}.sm-role-icon{font:27px Georgia;width:30px;text-align:center;color:#edcd8a}.sm-roles button[aria-pressed=true] .sm-role-icon{color:#123d53}.sm-roles strong{display:block;font-size:17px}.sm-roles small{display:block;font-size:13px;color:#c8dbe6}.sm-roles button[aria-pressed=true] small{color:#294d62}.sm-sidebar-note{font-size:13px;color:#bbd2df;margin:28px 10px 0;line-height:1.7}.sm-main{overflow:auto;min-width:0}.sm-welcome{position:relative;min-height:285px;overflow:hidden;border-bottom:1px solid #577f94;background:#102e43}.sm-welcome>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% 40%}.sm-welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b263be8,transparent 75%);pointer-events:none}.sm-welcome>div{position:relative;z-index:1;padding:32px 40px;width:57%}.sm-kicker{font-size:12px!important;line-height:1.5;letter-spacing:2px;color:#edcd8a;margin:0 0 12px}.sm-welcome h3{font:46px/1.06 CraftDisplay,Georgia,serif;margin:10px 0;color:#fffaf0}.sm-welcome p{font-size:17px;line-height:1.6;color:#e4eff3;margin:16px 0 0}.sm-art-open{position:absolute;z-index:2;right:16px;bottom:14px;background:#092133e8;color:#f8f4eb;border:1px solid #96b2c0;border-radius:5px;padding:8px 12px;font-size:12px!important}.sm-desk{padding:28px 36px 34px}.sm-heading{display:flex;justify-content:space-between;gap:18px;align-items:start}.sm-heading h3{font:30px/1.2 CraftDisplay,Georgia,serif;color:#f8f4eb;margin:0}.sm-mode{font-size:12px;white-space:nowrap;border:1px solid #6a93a9;background:#16384e;color:#d7e9f1;border-radius:30px;padding:5px 10px}.sm-quick{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.sm-quick button{border:1px solid #7299ad;background:#173d54;color:#eef6f8;border-radius:40px;padding:9px 15px;font-size:14px;min-height:42px}.sm-status{color:#edcd8a;font-size:14px;margin:18px 0}.sm-response{font-size:18px;line-height:1.75;color:#d8e6ed;border-left:2px solid #d6b775;padding-left:20px;margin:22px 0;white-space:pre-wrap}.sm-results{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.sm-result{display:flex;gap:16px;text-decoration:none;border:1px solid #577f94;border-radius:8px;background:linear-gradient(140deg,#173b51,#102d41);padding:18px;min-width:0}.sm-result img{width:74px;height:111px;object-fit:contain;align-self:start;background:#071d2e;flex:none}.sm-result-symbol{font:34px Georgia;color:#edcd8a;width:30px;flex:none}.sm-result h4{font:22px/1.25 CraftDisplay,Georgia,serif;color:#f8f4eb;margin:8px 0}.sm-result p{font-size:14px;color:#c8dce6;line-height:1.65;margin:8px 0}.sm-result-label{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#edcd8a}.sm-result strong{display:block;color:#e7f1f5;font-size:15px;margin:10px 0}.sm-source{display:block;font-size:13px;color:#b7e4f4;margin-top:12px}.sm-result>div{min-width:0;display:flex;flex-direction:column}.sm-source{margin-top:auto;padding-top:12px}.sm-planner{padding:24px;background:#173b51;border:1px solid #7ca1b4;border-radius:8px;margin:24px 0}.sm-planner h4{font:27px/1.25 CraftDisplay,Georgia,serif;color:#f8f4eb;margin:0 0 10px}.sm-planner p{font-size:15px;line-height:1.65;color:#d6e5ed;margin:12px 0 20px}.sm-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sm-workspace label{display:grid;gap:9px;font-size:14px;color:#e1edf3}.sm-workspace input,.sm-workspace select,.sm-workspace textarea{border:1px solid #9bb8c8;background:#082438;color:#f8f4eb;border-radius:5px;padding:12px;width:100%;min-width:0;font-size:16px}.sm-workspace input::placeholder,.sm-workspace textarea::placeholder{color:#acc7d6}.sm-workspace textarea{resize:vertical}.sm-wide-label{margin:18px 0}.sm-build-draft,.sm-draft-actions button,.sm-draft-actions a,.sm-ai button{border:1px solid #b0e4f3;border-radius:5px;background:#b0e4f3;color:#082438;padding:12px 18px;min-height:46px;font-size:15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.sm-calculation{display:block;margin-top:24px;font-size:20px;line-height:1.6;color:#c5eaf6}.sm-draft-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.sm-draft-actions>*{flex:1;min-width:130px}.sm-ai{border-top:1px solid #52768a;padding-top:18px;color:#d6e5ed}.sm-ai summary{cursor:pointer;font-size:14px}.sm-ai p{font-size:14px;line-height:1.7}.sm-ai button:disabled{opacity:.7;cursor:wait}.sm-compose{padding:15px 28px 20px;border-top:1px solid #577f94;background:#0a2133;flex:none}.sm-compose label{margin-bottom:8px}.sm-compose>div{display:flex;gap:12px}.sm-compose input{flex:1}.sm-compose button{background:#b0e4f3;color:#082438;border:1px solid #b0e4f3;border-radius:6px;padding:10px 24px;font-weight:650;font-size:16px;min-height:48px;white-space:nowrap}.sm-workspace :focus-visible{outline:3px solid #edcd8a;outline-offset:3px}
@media(min-width:1500px){.sm-welcome{min-height:330px}.sm-welcome>div{padding:38px 42px}}
@media(max-width:1000px){.sm-layout{grid-template-columns:215px 1fr}.sm-sidebar{padding:22px 12px}.sm-sidebar h2{font-size:25px}.sm-roles strong{font-size:15px}.sm-roles small{font-size:12px}.sm-desk{padding:24px}.sm-results{grid-template-columns:1fr}.sm-welcome>div{padding:28px;width:60%}.sm-welcome h3{font-size:40px}}
@media(max-width:700px){.sm-workspace{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.sm-top{padding:10px 15px}.sm-top>p{font-size:10px;letter-spacing:1px;max-width:160px;text-align:center}.sm-layout{display:flex;flex-direction:column}.sm-sidebar{padding:10px 14px;flex:none;border-right:0;border-bottom:1px solid #577f94;overflow:visible}.sm-sidebar h2,.sm-sidebar-note{display:none}.sm-roles{display:flex;overflow:auto;gap:8px;padding:3px}.sm-roles button{min-height:44px;padding:8px 12px;gap:8px;flex:none;white-space:nowrap;border:1px solid #587e94}.sm-roles small{display:none}.sm-role-icon{font-size:20px;width:21px}.sm-main{flex:1}.sm-welcome{min-height:230px}.sm-welcome>div{padding:22px;width:65%}.sm-welcome h3{font-size:35px}.sm-welcome p{font-size:14px}.sm-welcome .sm-kicker{font-size:9px!important;max-width:130px}.sm-art-open{font-size:10px!important;padding:6px 8px;bottom:10px;right:10px}.sm-desk{padding:24px 18px}.sm-heading h3{font-size:26px}.sm-mode{font-size:10px}.sm-response{font-size:17px;padding-left:15px}.sm-fields{grid-template-columns:1fr}.sm-planner{padding:18px}.sm-compose{padding:12px 15px}.sm-compose label{font-size:12px}.sm-compose>div{gap:8px}.sm-compose button{padding:10px 12px;font-size:14px}.sm-compose input{font-size:16px}.sm-launcher{padding:6px;border-radius:50%;right:13px;bottom:13px}.sm-launcher>img{width:52px;height:52px}.sm-launcher .sm-launch-label{display:none}}
.sm-workspace .sm-roles small{font-size:13px!important}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome{min-height:150px}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome>div{padding:20px 36px}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome h3{font-size:32px}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome p{display:none}.sm-workspace .sm-planner h4,.sm-workspace .sm-heading h3{color:#f8f4eb!important}.sm-workspace .sm-planner p,.sm-workspace .sm-result p,.sm-workspace .sm-response{color:#d6e5ed!important}.sm-workspace .sm-welcome h3{color:#fffaf0!important}.sm-workspace .sm-welcome p{color:#e4eff3!important}.sm-workspace .sm-kicker{color:#edcd8a!important}
@media(max-width:700px){.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome{min-height:120px}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome>div{padding:18px 22px}.sm-workspace[data-role]:not([data-role=guide]) .sm-welcome h3{font-size:27px}}
/* Grid children must shrink inside the dialog, rather than run behind its composer. */
html:has(.sm-workspace[open]){overflow:hidden}.sm-workspace[open]{overflow:hidden}.sm-workspace .sm-layout{overflow:hidden;grid-template-rows:minmax(0,1fr)}.sm-workspace .sm-main{min-height:0;height:100%;overscroll-behavior:contain}.sm-workspace .sm-sidebar{min-height:0;overscroll-behavior:contain}.sm-workspace .sm-compose{position:relative;z-index:1}.sm-workspace .sm-main{scroll-padding-bottom:24px}
@media(max-width:700px){.sm-workspace .sm-main{height:auto;flex:1;min-height:0}.sm-workspace .sm-sidebar{overflow:visible}}
.sm-workspace .sm-model-label{margin:20px 0 12px;max-width:100%}.sm-workspace .sm-model-note{font-size:14px;color:#c5dce8;line-height:1.65}.sm-result:hover,.sm-result:focus-visible{background:#1b4259;border-color:#d9be83}.sm-quick button:hover{background:#254f67}.sm-workspace button:hover:not(:disabled){border-color:#edcd8a}.sm-workspace .sm-roles button:hover:not([aria-pressed=true]){background:#20465d}.sm-result,.sm-quick button{transition:background-color .15s,border-color .15s}@media(prefers-reduced-motion:reduce){.sm-result,.sm-quick button{transition:none}}
