:where(.skip-link, .sidebar, .site-shell, .info-dialog, .reference-dialog) { --purple: #7138f5; --purple-dark: #5020c7; --muted: #6f7395; --border: #e8e6f2; --focus: #6534d7; color: #171440; font-family: 'Segoe UI', Arial, sans-serif; }
body { background: #fcfcff; }
.site-layout { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--border); padding: 20px 18px 22px; display: flex; flex-direction: column; z-index: 10; }
.sidebar .brand { color: #171440; font-size: 24px; margin: 0 5px 34px; gap: 9px; }
.brand-logo { display: block; width: 38px; height: 38px; flex-shrink: 0; }
.brand-wordmark { display: block; width: 100px; height: auto; flex-shrink: 0; }
.sidebar .brand small { color: #4f4d79; font-size: 8px; line-height: 1.45; letter-spacing: .15px; }
.sidebar nav { display: grid; gap: 7px; }
.sidebar nav a { display: flex; align-items: center; gap: 15px; padding: 13px 14px; min-height: 46px; color: #504d7b; font-size: 14px; text-decoration: none; border-radius: 9px; }
.sidebar nav a:hover { background: #f5f1ff; }
.sidebar nav a[aria-current] { color: #6126ed; background: #eee6ff; font-weight: 600; }
.nav-icon { display: inline-block; width: 21px; font-size: 21px; line-height: 1; flex-shrink: 0; }
.sidebar nav a .nav-icon { width: 16.8px; font-size: 16.8px; }
.nav-divider { height: 1px; background: var(--border); margin: 21px 12px; }
.sidebar-bottom { margin-top: auto; display: flex; align-items: center; gap: 11px; color: #575078; font-size: 12px; padding: 25px 0 0; }
.guest-avatar { border-radius: 50%; background: #773bfa; color: white; width: 36px; height: 36px; display: grid; place-items: center; font-size: 18px; }
.account-button { display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0; padding: 5px 14px; border: 0; border-radius: 9px; background: transparent; color: #575078; font-size: 14px; text-align: left; }
.account-button:hover, .sidebar-bottom:hover .account-button { background: #f5f1ff; }
.account-button:not(:disabled):hover, .sidebar-bottom:hover .account-button:not(:disabled) { color: var(--purple); }
.account-button:disabled { opacity: 1; cursor: pointer; }
.account-button #authLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-shell { min-width: 0; }
.workspace-header { display: flex; align-items: center; gap: 24px; padding: 19px 30px; height: 76px; }
.workspace-header p { margin: 0; font-size: 13px; color: #8785a5; }
.workspace-header p a { color: #6f6897; text-decoration: none; }
.workspace-header p a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.workspace-header p span { padding: 0 12px; color: #b0a9c8; }
.workspace-header strong { color: var(--purple); font-weight: 500; }
.site-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(36vw, 390px); padding: 6px 9px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: #6f6897; }
.site-search:focus-within { border-color: #a995e5; box-shadow: 0 0 0 3px #7138f51a; }
.site-search-submit { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #635b90; }
.site-search-submit:hover { background: #f3efff; color: var(--purple); }
.site-search-submit .fa { font-size: 18px; line-height: 1; }
.site-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #322c57; font-size: 11px; }
.site-search input::placeholder { color: #6f6897; opacity: 1; }
.site-shell main { max-width: 1640px; padding: 0 30px 22px; }
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); overflow: hidden; border-radius: 19px; background: #eee8fc; min-height: 426px; }
.hero-copy { position: relative; z-index: 1; padding: 37px 0 25px 32px; }
.home-hero h1 { font-size: clamp(34px, 3.3vw, 60px); letter-spacing: -2.1px; line-height: 1.1; font-weight: 750; color: #131037; }
.home-hero h1 br { display: block; }
.hero-art { position: relative; overflow: hidden; }
.hero-art > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 35%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #eee8fc, transparent 25%); pointer-events: none; }
.ready-pill { position: absolute; z-index: 1; top: 35px; right: 20px; display: flex; align-items: center; gap: 8px; background: #fffffff2; padding: 10px 13px; border-radius: 30px; font-size: 11px; color: #343059; box-shadow: 0 4px 20px #39204b06; }
.ready-pill i { width: 7px; height: 7px; background: #23ad79; border-radius: 50%; box-shadow: 0 0 0 4px #23ad7915; }
.home-composer { margin-top: 25px; padding: 9px 12px 13px; border: 1px solid #e7dcff; border-radius: 15px; background: #fff; box-shadow: 0 4px 18px #673ab70a; }
.home-composer:focus-within { outline: 2px solid #a17bfa; outline-offset: 2px; }
.home-composer input { width: 100%; padding: 12px 8px 21px; border: 0; outline: none; background: transparent; color: #2c2452; font-size: 15px; }
.home-composer input::placeholder { color: #8f8ba9; }
.home-composer-toolbar { display: flex; gap: 10px; align-items: center; }
.home-primary { display: flex; align-items: center; justify-content: center; gap: 9px; margin-left: auto; background: var(--purple); color: white; border: 0; border-radius: 8px; padding: 13px 18px; font-size: 13px; text-decoration: none; }
.home-primary:hover { background: var(--purple-dark); }
.home-prompts { display: flex; gap: 9px; margin-top: 12px; }
.prompt-link { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--border); border-radius: 10px; padding: 17px; color: #26204c; background: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; min-width: 0; text-decoration: none; }
.prompt-link:hover { background: #f8f5ff; border-color: #cdb9f8; }
.prompt-link > .fa-icon { color: var(--purple); }
.prompt-link > .fa-icon:last-child { margin-left: auto; width: 17px; font-size: 17px; }
.site-shell .fa-arrow-right { opacity: 0; transform: translateX(-4px); transition: opacity .16s ease, transform .16s ease; }
.site-shell :is(a, button):hover .fa-arrow-right,
.site-shell :is(a, button):focus-visible .fa-arrow-right { opacity: 1; transform: translateX(0); }
.home-prompts .prompt-link { flex: 1; background: #ffffffb5; padding: 13px 10px; gap: 8px; font-size: 12px; }
.home-prompts .prompt-link > .fa-icon:first-child { width: 17px; font-size: 17px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 25px 0 13px; }
.section-heading h2 { font-size: 23px; font-weight: 650; color: #171440; }
.section-note { color: #827e9d; font-size: 10px; border: 1px solid var(--border); border-radius: 20px; padding: 7px 10px; }
.brief-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 17px; }
.home-card { border: 1px solid var(--border); border-radius: 13px; padding: 22px; background: #fff; }
.card-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.card-heading h3, .continue-card h3 { color: #201a48; font-size: 17px; margin: 0; }
.card-heading a { display: flex; gap: 8px; align-items: center; text-decoration: none; font-size: 11px; }
.card-heading a .fa-icon { width: 15px; font-size: 15px; }
.home-card > .prompt-link { width: 100%; border: 0; padding: 12px 0 4px; background: transparent; }
.row-description { margin: 0 24px 9px 33px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.continue-card { background: #f1edff; display: flex; flex-direction: column; }
.continue-card > p { color: #746b94; font-size: 12px; line-height: 1.7; margin: 12px 0 20px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.continue-button { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 15px; width: 100%; padding: 11px; color: #6426eb; border: 1px solid #ded1fd; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.resource-tile { display: flex; align-items: center; gap: 13px; border: 1px solid var(--border); border-radius: 12px; background: white; padding: 19px 15px; text-decoration: none; }
.resource-tile:hover { border-color: #cdb9f8; background: #fcfaff; }
.tile-icon { display: grid; place-items: center; width: 43px; height: 48px; flex-shrink: 0; border-radius: 13px; background: #f4efff; }
.resource-tile h3 { font-size: 13px; color: #211b49; margin: 0; }
.resource-tile > .fa-icon { margin-left: auto; width: 15px; font-size: 15px; }
.collection-page { min-height: 65vh; padding-top: 30px; }
.collection-page h1 { margin-bottom: 30px; font-weight: 700; color: #171440; }
.collection-intro { color: var(--muted); max-width: 650px; line-height: 1.8; margin: 20px 0 30px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.search-status { min-height: 24px; margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.search-results { display: grid; gap: 12px; max-width: 800px; }
.search-result { display: block; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: #211b49; text-decoration: none; }
.search-result:hover { border-color: #cdb9f8; background: #fcfaff; }
.search-result-type { display: block; margin-bottom: 6px; color: var(--purple); font-size: 11px; font-weight: 650; }
.search-result h2 { margin: 0 0 6px; color: #211b49; font-size: 17px; }
.search-result p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.search-empty { margin: 0; color: var(--muted); line-height: 1.7; }
.saved-answers { display: grid; gap: 16px; }
.saved-answer p { white-space: pre-wrap; line-height: 1.7; color: #625879; }
.saved-answer h2 { font-size: 18px; }
#askPage .intro { padding-top: 18px; }
#askPage .intro h1 { font-weight: 650; font-size: 35px; }
#askPage .workspace { grid-template-columns: .85fr 1.15fr; }
.site-footer { margin-top: 10px; color: #8b849d; }
@media (min-width: 1700px) { .home-hero { min-height: 470px; } .hero-copy { padding-top: 48px; } }
@media (max-width: 1150px) { .site-layout { grid-template-columns: 185px minmax(0, 1fr); } .sidebar { padding-inline: 12px; } .site-shell main { padding-inline: 22px; } .workspace-header { padding-inline: 22px; } .hero-copy { padding: 30px 0 23px 24px; } .home-hero { grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr); } .home-hero h1 { font-size: 37px; } .home-primary { padding: 11px; } .resource-tile { gap: 9px; padding: 15px 10px; } .home-prompts { flex-wrap: wrap; } .home-prompts .prompt-link { flex-basis: 30%; } }
@media (max-width: 900px) { .site-layout { grid-template-columns: 78px minmax(0, 1fr); } .sidebar { padding-top: 8px; padding-inline: 10px; } .sidebar .brand { margin: 0 3px 28px; justify-content: center; } .sidebar .brand > span:last-child, .sidebar nav a span, .account-button #authLabel { display: none; } .brand-wordmark { display: none; } .sidebar nav a .nav-icon { display: inline-block; } .sidebar nav a { justify-content: center; padding: 14px; } .sidebar-bottom { justify-content: center; padding-inline: 0; } .account-button { justify-content: center; padding-inline: 10px; } .nav-divider { margin-inline: 5px; } .resource-grid { grid-template-columns: 1fr; } .brief-grid { grid-template-columns: 1.2fr 1fr; } .home-hero h1 { font-size: 34px; } .collection-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .site-layout { display: block; } .sidebar { position: relative; top: auto; width: 100%; height: auto; padding: 15px 15px 9px; border-right: 0; border-bottom: 1px solid var(--border); } .sidebar .brand { margin: 0 54px 13px 0; font-size: 21px; } .sidebar .brand > span:last-child { display: block; } .sidebar-bottom { position: absolute; top: 19px; right: 17px; margin: 0; padding: 0; } .sidebar nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 5px; } .sidebar nav a { flex-shrink: 0; padding: 9px 11px; gap: 7px; min-height: 40px; font-size: 12px; } .sidebar nav a span { display: block; } .sidebar nav a .nav-icon { width: 13.6px; font-size: 13.6px; } .nav-divider { display: none; } .workspace-header { padding: 13px 18px; height: 54px; gap: 8px; } .workspace-header p { flex-shrink: 0; font-size: 11px; margin-right: auto; } .site-search { width: min(42vw, 190px); min-width: 112px; margin: 0; padding: 4px 6px; } .site-search-submit { width: 24px; height: 24px; } .site-search input { font-size: 11px; } .site-shell main { padding: 0 15px 20px; } .home-hero { display: flex; flex-direction: column-reverse; } .hero-art { height: 220px; } .hero-art > img { object-position: center 12%; } .hero-art::after { background: linear-gradient(0deg, #eee8fc, transparent 30%); } .ready-pill { top: 17px; right: 15px; font-size: 10px; } .home-hero h1 { font-size: clamp(29px, 7.6vw, 43px); letter-spacing: -1.3px; } .home-composer input { font-size: 12px; padding-inline: 2px; } .home-composer-toolbar { gap: 7px; } .home-primary { font-size: 11px; padding: 11px 10px; gap: 5px; } .home-primary .fa-icon { width: 16px; font-size: 16px; } .home-prompts { display: grid; grid-template-columns: 1fr; gap: 7px; } .home-prompts .prompt-link { padding: 10px; font-size: 12px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 23px; } .section-heading h2 { font-size: 21px; } .section-note { border: 0; padding: 0; } .brief-grid { grid-template-columns: 1fr; } .home-card { padding: 19px; } .resource-tile { padding: 17px; } #askPage .workspace { grid-template-columns: 1fr; } .collection-page h1 { font-size: 34px; } .collection-intro { font-size: 14px; } .site-footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .site-shell .fa-arrow-right { transition: none !important; } }
@media (min-width: 651px) and (max-width: 900px) { .sidebar .brand { width: 48px; height: 58px; overflow: hidden; } .brand-logo { width: 44px; height: 44px; } }
@media (max-width: 650px) { .sidebar .brand { width: auto; height: auto; overflow: visible; } .brand-logo { width: 38px; height: 38px; max-width: none; } .brand-wordmark { display: block; width: 100px; height: auto; max-width: 100%; } }

.mobile-menu-panel { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.mobile-menu-toggle { display: none; }

@media (max-width: 650px) {
  .sidebar { position: fixed; inset: 0 0 auto; width: 100%; height: 76px; padding: 12px 16px; flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--border); box-shadow: 0 4px 18px #2d18530d; }
  .sidebar .brand { width: auto; height: auto; margin: 0; gap: 9px; }
  .site-shell { padding-top: 76px; }
  .mobile-menu-toggle { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; margin-left: auto; border: 0; border-radius: 16px; background: #f1ecff; color: var(--purple); font-size: 25px; }
  .mobile-menu-toggle:hover { background: #e9e0ff; }
  .mobile-menu-toggle:focus-visible { outline-offset: 3px; }
  .mobile-menu-panel { display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 3; padding: 9px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 16px 36px #2d185326; }
  .sidebar[data-menu-open='true'] .mobile-menu-panel { display: flex; }
  .mobile-menu-panel nav { display: grid; gap: 4px; overflow: visible; padding: 0; }
  .mobile-menu-panel nav a { justify-content: flex-start; gap: 10px; min-height: 43px; padding: 10px 12px; font-size: 13px; }
  .mobile-menu-panel nav a span { display: block; }
  .mobile-menu-panel nav a .nav-icon { display: inline-block; width: 16.8px; font-size: 16.8px; }
  .mobile-menu-panel .nav-divider { display: block; margin: 8px 8px; }
  .mobile-menu-panel .sidebar-bottom { position: static; margin-top: 3px; padding: 8px 3px 2px; }
  .mobile-menu-panel .account-button { justify-content: flex-start; padding-inline: 10px; }
  .mobile-menu-panel .account-button #authLabel { display: block; }
  .workspace-header { height: auto; padding: 14px 16px 12px; gap: 8px; }
  .workspace-header p { display: none; }
  .site-search { flex: 1; width: auto; min-width: 0; margin: 0; min-height: 50px; padding: 7px 9px; border-radius: 14px; }
  .site-search-submit { width: 34px; height: 34px; }
  .site-search-submit .fa { font-size: 20px; }
  .site-search input { font-size: 13px; }
  .header-link { flex-shrink: 0; padding: 8px 2px; font-size: 10px; }
}
.resource-body { max-width: 820px; line-height: 1.75; }
.resource-body h2 { margin: 34px 0 12px; font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.45px; }
.resource-body h3 { margin: 24px 0 8px; font-size: 19px; }
.resource-body p, .resource-body ul { margin: 0 0 16px; }
.resource-body ul { padding-left: 24px; }
.resource-body li + li { margin-top: 8px; }
.resource-body a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
