*{box-sizing:border-box}body{margin:0;background:#f3efdf;color:#172d33;font-family:system-ui,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,summary,label[for]{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #397783}#restore{display:block;max-width:230px}.ia-window-chrome{display:none!important}.web-notice{position:fixed;right:14px;bottom:14px;color:white;background:#17303d;border-radius:8px;padding:12px;z-index:99999}.modal{max-width:min(90vw,780px);max-height:86vh;overflow:auto;border:1px solid #bcaa80;background:#fffcf4;color:#172e35;padding:22px}.modal::backdrop{background:#071e2dbb}.modal .web-close{margin-top:14px}[hidden]{display:none!important}
body.atlas-study-page,
body.atlas-study-page #app,
body.atlas-study-page #app .ia-master-viewport { background: #f3ead8 !important; }
body.atlas-study-page #app { position: fixed !important; inset: 0 !important; z-index: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden; }
#app :is(.ia-master-viewport,.ia-master-surface,.ia-master-canvas,.ia-master-canvas > .ia-desktop-shell) {
  width: 100% !important; height: 100% !important;
}
#app .ia-master-canvas { transform: none !important; }
.study-startup-problem { padding: clamp(1rem, 4vw, 2rem); }
.study-startup-problem button { min-height: 44px; padding: .55rem .9rem; }
.web-notice { max-width: min(34rem,calc(100vw - 90px)); overflow-wrap: anywhere; pointer-events: none; }
#app .ia-backup-section > :is(small,.ia-backup-restore-row) { display: none; }
.study-help-page { width: min(100%, 850px); margin: 0 auto; padding: clamp(22px,4vw,52px); color: #172d33; }
.study-help-page h1 { margin: 8px 0 20px; font-size: clamp(26px,3.3vw,40px); }
.study-help-page h2 { margin: 0 0 10px; font-size: 20px; }
.study-help-page p,.study-load-problem p { line-height: 1.75; overflow-wrap: anywhere; }
.study-help-eyebrow { font-size: 12px; letter-spacing: .12em; color: #786647; }
.study-help-card { margin: 24px 0; padding: clamp(18px,3vw,28px); border: 1px solid #d4c8af; border-radius: 10px; background: #fffdf6; }
.study-help-page button,.study-load-problem button { min-height: 44px; margin-right: 12px; padding: 9px 18px; border: 1px solid #8c9b9d; border-radius: 6px; color: #fffdf5; background: #173744; }
.study-help-footnote { font-size: 14px; color: #58686a; }
.study-load-problem { width: min(92%,720px); margin: 8vh auto; padding: clamp(22px,4vw,44px); border: 1px solid #d4c8af; border-radius: 12px; background: #fffdf6; }
.study-readonly-banner { left: 50% !important; transform: translateX(-50%); top: 10px !important; bottom: auto !important; max-width: calc(100vw - 90px); pointer-events: none; font-size: 13px; }

.atlas-account-page {
  margin: 0;
  min-height: 100vh;
  padding: clamp(1rem, 5vw, 3rem);
  background: #f3efdf;
  color: #172d33;
  font: 1rem/1.55 system-ui, sans-serif;
}
.atlas-account-card {
  width: min(100%, 36rem);
  margin-inline: auto;
  padding: clamp(1.15rem, 5vw, 2.5rem);
  background: #fffcf4;
  border: 1px solid #bcae91;
  border-radius: .8rem;
  box-shadow: 0 12px 44px #43392619;
}
.atlas-account-header h1 {
  margin: .25rem 0 .75rem;
  font: 600 clamp(1.65rem, 6vw, 2.35rem)/1.18 Georgia, serif;
}
.atlas-brand {
  margin: 0;
  color: #775624;
  font: 600 .78rem Georgia, serif;
  letter-spacing: .16em;
}
.atlas-account-page h2 { margin: 0 0 .55rem; font-size: 1.25rem; }
.atlas-account-page p { margin: .55rem 0; }
.atlas-account-page label { display: block; margin: .75rem 0; }
.atlas-account-page input:not([type=checkbox]) {
  display: block;
  min-height: 44px;
  width: 100%;
  margin-top: .35rem;
  padding: .6rem .7rem;
  border: 1px solid #8d856f;
  border-radius: .35rem;
  background: #fffef9;
}
.atlas-account-page input:focus-visible,
.atlas-account-page summary:focus-visible,
.study-season:focus-visible { outline: 2px solid #397783; outline-offset: 2px; }
.atlas-account-page summary { padding: .65rem 0; font-weight: 650; }
.atlas-account-card > section > details,
.atlas-account-card > section > section { border-top: 1px solid #ded5c2; margin-top: 1.1rem; padding-top: .85rem; }
.atlas-account-page .atlas-check { display: flex; gap: .55rem; align-items: baseline; }
.atlas-account-page .atlas-check input { flex: none; margin: 0; }
.atlas-account-page button, .atlas-account-page .atlas-primary,
.study-session-banner button, .study-session-banner a {
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid #8d856f;
  border-radius: .35rem;
  background: #fffcf4;
  text-decoration: none;
}
.atlas-account-page .atlas-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #153744;
  color: #fffdf5;
  background: #153744;
}
.atlas-account-page button:disabled { cursor: wait; opacity: .75; }
.atlas-account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.atlas-account-dialog {
  width: min(30rem, calc(100vw - 2rem));
  padding: clamp(1rem, 4vw, 1.6rem);
  border: 1px solid #bcae91;
  border-radius: .7rem;
  background: #fffcf4;
  color: #172d33;
}
.atlas-account-dialog::backdrop { background: #071e2dbb; }
.atlas-account-dialog .atlas-account-actions { margin-top: 1rem; }
#session-list ul { margin: .6rem 0; padding: 0; list-style: none; }
#session-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; padding: .65rem 0; border-bottom: 1px solid #ded5c2; }
#session-list span { display: block; color: #4a5b5d; font-size: .88rem; }

.study-season {
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: .35rem .8rem;
  background: #faf4e8;
  color: #152a31;
  border: 1px solid #b6a686;
  border-radius: .5rem;
}
.study-season-control { display: flex; align-items: center; gap: .65rem; color: #4a5a5b; white-space: nowrap; min-width: 0; }
.study-season-control > span { font-weight: 600; }
.study-account-menu { inset: auto auto 1rem 1rem; margin: 0; width: min(350px,calc(100vw - 2rem)); border-radius: .7rem; box-shadow: 0 10px 38px #061a2a38; }
.study-account-menu::backdrop { background: #10232d44; }
.study-account-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.study-account-heading h2 { margin: 0; font: 650 1.35rem/1.4 var(--atlas-serif,Georgia,serif); }
.study-account-menu :is(a,button,summary) { color: #153744; min-height: 44px; padding: .55rem .25rem; text-align: left; }
.study-account-menu :is(a,button,label) { display: block; }
.study-account-menu button { border: 0; background: transparent; }
.study-account-menu :is(a,button,summary):hover { color: #275d67; }
.study-account-menu .study-season-control { display: flex; margin-block: .5rem; }
.study-account-menu input[type=file] { width: 100%; margin: .4rem 0 .6rem; }
.study-account-menu #sync-status { color: #50615e; overflow-wrap: anywhere; }
.study-account-menu .study-backup { border-block: 1px solid #d9ccb4; margin: .2rem 0 .45rem; }
.study-session-banner {
  position: fixed;
  inset: auto .75rem 1.25rem auto;
  z-index: 100000;
  max-width: min(32rem, calc(100vw - 1.5rem));
  padding: .75rem 1rem;
  border: 1px solid #b77f37;
  border-radius: .5rem;
  background: #fffcf4;
  box-shadow: 0 6px 24px #0003;
}
.study-session-banner p { margin: 0 0 .65rem; }
.study-session-banner a { display: inline-flex; align-items: center; color: #153744; }
.study-readonly-banner {
  position: fixed;
  inset: auto auto .75rem .75rem;
  z-index: 99998;
  padding: .45rem .7rem;
  border-radius: .35rem;
  background: #fff7e5;
  border: 1px solid #b77f37;
  color: #172d33;
  pointer-events: none;
}

/* Browser study uses the published catalog and the account menu. */
.ia-browser-hidden{display:none!important}
.study-scene-words { margin-block: .5rem .75rem; }
.study-scene-words summary {
  width: fit-content;
  min-height: 44px;
  align-content: center;
  padding-inline: .5rem;
  color: #153744;
  font-weight: 650;
}
.study-scene-words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
  gap: .35rem;
  max-height: 42vh;
  overflow: auto;
}
.study-scene-words-grid button {
  min-height: 44px;
  padding: .4rem .5rem;
  border: 1px solid #bcae91;
  border-radius: .35rem;
  background: #fffdf5;
  color: #172d33;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.study-file-preview p { margin: .35rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.study-file-preview blockquote { margin: .5rem 0; padding: .4rem .65rem; border-inline-start: 3px solid #bcae91; }
.study-file-preview h3 { margin: 1rem 0 .5rem; }
@media print {
  body:has(.study-file-preview[open]) > :not(.study-file-preview),
  .study-file-actions { display: none !important; }
  .study-file-preview[open] {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    background: white;
    color: black;
  }
  .study-file-preview::backdrop { background: transparent; }
}
.study-conflicts > details { margin-top: .85rem; border-top: 1px solid #ded5c2; padding-top: .55rem; }
.study-conflict-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: .8rem; }
.study-conflict-compare section { min-width: 0; }
.study-conflict-compare pre {
  max-height: 36vh;
  overflow: auto;
  padding: .55rem .8rem;
  background: #f6f0e4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* The study shell fills the browser, with a scrollable nav above its account control. */
#app .ia-desktop-shell[data-left-expanded] { --ia-left-rail: clamp(224px,18.75vw,314px) !important; }
#app .ia-desktop-shell[data-left-expanded="false"] { --ia-left-rail: 64px !important; }
#app .ia-chrome-brand-version,
#app .ia-chrome-footer { display: none !important; }
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-brand {
  height: 112px !important; flex-basis: 112px;
  grid-template-columns: clamp(36px,3.3vw,55px) minmax(0,1fr) !important;
  grid-template-rows: 1.6rem 1.35rem !important;
  column-gap: 1rem !important;
  padding: 0 2.3rem 0 clamp(14px,1.6vw,27px) !important;
}
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-brand-mark {
  width: clamp(36px,3.3vw,55px) !important; height: clamp(36px,3.3vw,55px) !important;
  border-color: #bf8c39; font-size: clamp(17px,1.5vw,25px) !important;
}
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-brand strong {
  font: 600 clamp(14px,1.36vw,23px)/1.2 var(--atlas-serif,Georgia,serif) !important;
}
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-brand small { font-size: clamp(11px,1.06vw,18px) !important; }
#app .ia-desktop-shell[data-left-expanded] .ia-master-toggle--left {
  position: absolute !important; display: grid !important; place-items: center; visibility: visible !important; z-index: 65;
  top: 34px !important; left: calc(var(--ia-left-rail) - 44px) !important;
  width: 39px !important; height: 44px !important; padding: 0 !important; border: 0 !important; font-size: 0 !important;
  background: transparent !important; box-shadow: none !important; color: #f3ead8 !important;
}
#app .ia-desktop-shell[data-left-expanded="false"] .ia-master-toggle--left { left: 10px !important; }
#app .ia-desktop-shell[data-left-expanded] .ia-master-toggle--left::before {
  content: ''; position: absolute; top: calc(50% - 9px); left: calc(50% - 9px); width: 18px; height: 18px;
  background: currentColor; mask: url('/library/plugin/assets/icons/arrow-right.svg') center / contain no-repeat;
}
#app .ia-desktop-shell[data-left-expanded="true"] .ia-master-toggle--left::before { transform: rotate(180deg); }
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-navigation { padding: 14px 18px !important; }
#app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-nav {
  grid-template-columns: 34px minmax(0,1fr) !important;
  flex-basis: 48px; height: 48px !important;
  padding-inline: 18px !important; border-radius: 5px;
  font: 500 clamp(14px,1.18vw,20px)/1.3 var(--atlas-sans,system-ui,sans-serif) !important;
}
#app .ia-chrome-nav[aria-current="page"] { background: #193342 !important; border-inline-start: 4px solid #d6a14d !important; }
#study-account-control { margin: 0 18px; border-top: 1px solid #c7b69255; padding: 10px 0 15px; flex: none; }
#study-account-toggle {
  appearance: none; width: 100%; min-height: 50px; display: flex; align-items: center; gap: clamp(6px,1.02vw,17px);
  padding: .35rem .55rem; border: 0; border-radius: 5px; background: transparent; color: #f3ead8;
  font: 500 clamp(13px,1.15vw,19px)/1.3 var(--atlas-sans,system-ui,sans-serif); white-space: nowrap;
}
#study-account-toggle:is(:hover,:focus-visible) { background: #193342; }
.study-account-icon,
.study-account-arrow { display: block; flex: none; background: currentColor; }
.study-account-icon { width: 27px; height: 27px; mask: url('/library/plugin/assets/icons/users-group.svg') center / contain no-repeat; }
.study-account-arrow { width: 16px; height: 16px; mask: url('/library/plugin/assets/icons/arrow-right.svg') center / contain no-repeat; transform: rotate(-90deg); margin-left: auto; }
#study-sync-indicator { display: flex; align-items: center; gap: .4rem; color: #e2d5bc; font-size: clamp(10px,.86vw,14px); }
#study-sync-indicator::before { content: ''; width: .46rem; height: .46rem; background: #ba9562; border-radius: 50%; }
#study-sync-indicator[data-state="synced"]::before { background: #8cba89; }
#study-sync-indicator[data-state="attention"]::before,
#study-sync-indicator[data-state="ended"]::before { background: #e0a487; }
#app [data-left-expanded="false"] #study-account-control { margin-inline: 7px; }
#app [data-left-expanded="false"] #study-account-toggle { justify-content: center; padding-inline: 0; }
#app [data-left-expanded="false"] :is(.study-account-label, #study-sync-indicator, .study-account-arrow) { display: none; }

/* The catalog uses its own page header and one consistent row per module. */
#app .ia-desktop-shell[data-atlas-shell="library"] { grid-template-columns: var(--ia-left-rail) minmax(0,1fr) !important; }
#app [data-atlas-shell="library"] > :is(.ia-chrome-right, .ia-master-toggle--right) { display: none !important; }
#app [data-atlas-shell="library"] > .ia-paper-workspace { min-width: 0; width: 100% !important; min-height: 0; }
#app [data-atlas-shell="library"] .ia-library-page {
  max-width: 1600px !important; width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(24px,2.8vw,47px) clamp(20px,3.25vw,55px) 48px !important;
}
#app .ia-library-page .ia-content-library-header {
  display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 1.5rem; align-items: center;
  width: 100%; max-width: none; margin: 0 0 clamp(24px,2.8vw,46px) !important; padding: 0 !important;
}
#app .ia-content-library-header::after,
#app .ia-library-page :is(.ia-support-eyebrow,.ia-season-card),
#app .ia-library-footer > :is(p,small),
#app .ia-library-module-copy > small:empty { display: none !important; }
#app .ia-content-library-header .ia-support-title {
  grid-area: 1 / 1; margin: 0 !important; color: #142831;
  font: 700 clamp(34px,2.85vw,48px)/1.16 var(--atlas-serif,Georgia,serif) !important;
}
#app .ia-content-library-header .ia-support-summary {
  grid-area: 2 / 1; margin: 10px 0 0 !important; color: #47595d;
  font: 500 clamp(15px,1.3vw,22px)/1.55 var(--atlas-sans,system-ui,sans-serif) !important;
}
#app .ia-content-library-header .study-season-control {
  grid-area: 1 / 2 / 3; align-self: center;
  font-size: clamp(14px,1.25vw,20px);
}
#app .ia-content-library-header .study-season { min-width: clamp(140px,13.5vw,226px); }
#app .ia-library-page .ia-support-section { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
#app .ia-library-page .ia-support-section-heading {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#app .ia-library-page .ia-library-module-list { width: 100%; max-width: none; grid-template-columns: minmax(0,1fr) !important; gap: clamp(12px,1.1vw,18px); margin: 0 !important; }
#app .ia-library-page .ia-library-module-row {
  grid-template-columns: clamp(38px,3.7vw,62px) minmax(0,1fr) clamp(90px,9.2vw,154px) clamp(106px,10.8vw,180px) !important;
  grid-template-rows: auto !important; align-items: center !important; align-content: center !important;
  gap: clamp(12px,1.9vw,32px); min-height: clamp(112px,8.15vw,136px) !important;
  padding: 22px clamp(16px,1.9vw,32px) !important; border: 1px solid #b8a88b;
  border-radius: 11px; background: #f8f2e5;
}
#app .ia-library-page :is(.ia-library-module-index,.ia-library-module-copy) { grid-column: auto !important; min-height: 0 !important; }
#app .ia-library-page .ia-library-module-index {
  display: flex; align-items: center; min-height: 53px !important; border-inline-end: 1px solid #cdb997;
  color: #9b620e; letter-spacing: .06em;
  font: 700 clamp(15px,1.44vw,24px)/1.2 var(--atlas-serif,Georgia,serif) !important;
}
#app .ia-library-page .ia-library-module-title {
  color: #142831; font: 600 clamp(21px,1.9vw,32px)/1.25 var(--atlas-serif,Georgia,serif) !important;
}
#app .ia-library-page .ia-library-module-description,
#app .ia-library-page .ia-library-count {
  color: #485a60; font: 400 clamp(14px,1.28vw,21px)/1.45 var(--atlas-sans,system-ui,sans-serif) !important;
}
#app .ia-library-page .ia-library-state { font-size: clamp(13px,1.12vw,19px); }
#app .ia-library-page .ia-library-module-row > .ia-support-action {
  width: 100%; min-width: 0; min-height: clamp(44px,3.85vw,65px) !important;
  border: 1px solid #143643; background: #0b2736; color: #fff8eb;
  border-radius: 8px; font: 600 clamp(14px,1.31vw,22px)/1.2 var(--atlas-sans,system-ui,sans-serif) !important;
}
#app .ia-library-page .ia-library-module-row > .ia-support-action:hover { background: #174252; }
#app .ia-library-page .ia-library-footer {
  width: 100%; max-width: none !important;
  padding: 17px 0 0 !important; margin: clamp(26px,2.7vw,45px) 0 0 !important; gap: .8rem;
  color: #485a60; font-size: clamp(15px,1.2vw,20px);
}
#app .ia-library-page .ia-library-footer > .ia-support-action {
  min-width: 0; margin: 0; padding: .25rem .2rem; border: 0; background: transparent;
  color: #132d38; font: inherit !important; font-weight: 650 !important; text-decoration: underline; text-underline-offset: .25rem;
}

@media (max-width: 900px) {
  #app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-brand { flex-basis: 86px; height: 86px !important; }
  #app .ia-desktop-shell[data-left-expanded] .ia-master-toggle--left { top: 19px !important; min-width: 44px !important; }
  #app .ia-desktop-shell[data-left-expanded="true"] .ia-chrome-navigation { padding-inline: 10px !important; }
}
@media (max-width: 640px) {
  #app .ia-library-tabs { display: grid; width: 100% !important; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app .ia-library-tabs .ia-library-tab { width: 100%; min-width: 0 !important; padding-inline: 10px; }
  #app .ia-rewards-top { grid-template-columns: minmax(0,1fr); min-width: 0; }
  #app :is(.ia-rewards-points,.ia-rewards-hero,.ia-rewards-hero-info) { min-width: 0; max-width: 100%; }
  #app .ia-rewards-hero { padding: 16px; }
  #app .ia-chest-panel { flex-wrap: wrap; justify-content: center; width: 100%; min-width: 0; padding-inline: 0; }
  #app .ia-chest-panel-copy { min-width: 0; }
  #app [data-atlas-shell="knowledge-graph"] .ia-kg-toolbar { flex-wrap: wrap !important; padding-inline: 12px !important; }
  #app [data-atlas-shell="knowledge-graph"] .ia-kg-toolbar .ia-kg-search { flex: 1 0 100%; min-width: 0 !important; }
  #app [data-atlas-shell="p2-learning"] :is(.ia-p2-master-view,.ia-p2-personal-view,.ia-p2-coverage-view) { grid-template-columns: minmax(0,1fr) !important; }
  #app [data-atlas-shell="p2-learning"] .ia-p2-reader-header { grid-template-columns: minmax(0,1fr) !important; }
  #app [data-atlas-shell="p2-learning"] .ia-p2-reader-story-title h1 { width: auto; white-space: normal; overflow-wrap: anywhere; }
  #app [data-atlas-shell="p2-learning"] .ia-p2-reader-tabs { flex-wrap: wrap; }
  #app [data-atlas-shell="p2-learning"] .ia-p2-entry-header h1::after { width: 100%; max-width: 100%; }
  #app .ia-desktop-shell[data-atlas-shell="library"][data-left-expanded="true"] { grid-template-columns: 64px minmax(0,1fr) !important; }
  #app [data-atlas-shell="library"][data-left-expanded="true"] > .ia-chrome-left {
    position: absolute !important; inset: 0 auto 0 0; width: var(--ia-left-rail) !important;
    z-index: 60; box-shadow: 4px 0 16px #12222f55;
  }
  #app .ia-library-page .ia-content-library-header { grid-template-columns: minmax(0,1fr); gap: 6px; }
  #app .ia-content-library-header .study-season-control { grid-area: 3 / 1; margin-top: 10px; }
  #app .ia-content-library-header .ia-support-summary { margin-top: 0 !important; }
  #app .ia-library-page .ia-library-module-row { grid-template-columns: 32px minmax(0,1fr) auto !important; gap: 11px; padding: 14px !important; }
  #app .ia-library-page .ia-library-module-index { grid-area: 1 / 1 !important; }
  #app .ia-library-page .ia-library-module-copy { grid-area: 1 / 2 / 2 / -1 !important; }
  #app .ia-library-page .ia-library-module-status { grid-area: 2 / 1 / 3 / 3; }
  #app .ia-library-page .ia-support-unavailable,
  #app .ia-library-page .ia-library-module-row > .ia-support-action { grid-area: 2 / 3; padding-inline: 8px; white-space: nowrap; }
}

/* The overview artwork fits below its live recommendation, with a readable narrow layout. */
#app [data-atlas-page="home"] .ia-paper-workspace { overflow: auto !important; }
#app [data-atlas-page="home"] .ia-home-focus { min-width: 0; margin-top: 16px; }
#app .ia-master-torn-edge { display: none; }
#app .ia-paper-workspace.ia-paper--torn::before { display: none; }
@media (max-width: 640px) {
  #app .ia-desktop-shell[data-left-expanded="true"] { grid-template-columns: 64px minmax(0,1fr) var(--ia-right-rail,0px) !important; }
  #app .ia-desktop-shell:is(.ia-dome-shell,.ia-p3-journal-shell)[data-left-expanded="true"] { grid-template-columns: 64px minmax(0,1fr) !important; }
  #app .ia-desktop-shell[data-left-expanded="true"] > .ia-chrome-left {
    position: absolute !important; inset: 0 auto 0 0; width: var(--ia-left-rail) !important;
    z-index: 60; box-shadow: 4px 0 16px #12222f55;
  }
  #app [data-atlas-page="home"] .ia-home-focus {
    grid-template-columns: minmax(0,1fr) auto; margin: 16px 16px 8px; gap: 12px; padding: 14px;
  }
  #app [data-atlas-page="home"] .ia-home-focus__main,
  #app [data-atlas-page="home"] .ia-home-focus__side { grid-column: 1 / -1; }
  #app [data-atlas-page="home"] .ia-home-focus__title { white-space: normal; font-size: 18px; }
  #app [data-atlas-page="home"] .ia-home-reference { width: 100%; height: auto; zoom: 1 !important; overflow: hidden; padding-bottom: 20px; }
  #app [data-atlas-page="home"] .ia-master-masthead { height: auto; padding: 24px 18px 18px; overflow: visible; }
  #app [data-atlas-page="home"] .ia-master-masthead__copy { width: auto; min-width: 0; }
  #app [data-atlas-page="home"] .ia-master-eyebrow { font-size: 9px; }
  #app [data-atlas-page="home"] .ia-master-headline { font-size: clamp(27px,6.3vw,40px); letter-spacing: -.045em; white-space: normal; }
  #app [data-atlas-page="home"] .ia-master-brush { width: 100%; height: 14px; }
  #app [data-atlas-page="home"] .ia-master-tagline { font-size: 15px; }
  #app [data-atlas-page="home"] .ia-master-tagline em { font-size: 23px; }
  #app [data-atlas-page="home"] .ia-master-stamps { display: none; }
  #app [data-atlas-page="home"] .ia-master-edition { position: static; transform: none; padding: 10px 0 0; flex-direction: row; gap: 8px; align-items: baseline; }
  #app [data-atlas-page="home"] .ia-master-edition strong { font-size: 14px; }
  #app [data-atlas-page="home"] .ia-master-edition small { display: none; }
  #app [data-atlas-page="home"] .ia-home-stage { display: flex; flex-direction: column; height: auto; padding: 14px 18px 24px; gap: 28px; }
  #app [data-atlas-page="home"] .ia-season-book { flex: none; width: 100%; height: 330px; }
  #app [data-atlas-page="home"] .ia-season-book__cover { padding: 24px 25px 18px 46px; display: flex; flex-direction: column; gap: 5px; }
  #app [data-atlas-page="home"] .ia-season-book__cover > :is(span,h2,p,small,div) { position: static; width: auto; margin: 0; padding: 0; transform: none; }
  #app [data-atlas-page="home"] .ia-season-book__cover h2 { font-size: 38px; margin-top: 15px; }
  #app [data-atlas-page="home"] .ia-season-book__cover > p { font-size: 14px; }
  #app [data-atlas-page="home"] .ia-season-book__count { font-size: 57px; }
  #app [data-atlas-page="home"] .ia-season-book__metric { font-size: 12px; white-space: normal; }
  #app [data-atlas-page="home"] .ia-season-book__cover > :is(.ia-season-book__ticket,.ia-season-book__seal,.ia-season-book__ring,.ia-season-book__postmark-lines,.ia-season-book__series) { display: none; }
  #app [data-atlas-page="home"] .ia-season-book__action { left: 35px; right: 20px; bottom: 15px; height: 44px; font-size: 16px; padding: 0 12px; }
  #app [data-atlas-page="home"] .ia-orbit-stage { flex: none; width: 100%; height: 470px; }
  #app [data-atlas-page="home"] .ia-orbit-stage__header { flex-wrap: wrap; gap: 5px 10px; }
  #app [data-atlas-page="home"] .ia-orbit-stage__header strong { font-size: 14px; }
  #app [data-atlas-page="home"] .ia-orbit-stage__status { top: 44px; left: 0; right: 0; font-size: 11px; }
  #app [data-atlas-page="home"] .ia-orbit-carousel { inset: 70px 0 46px; }
  #app [data-atlas-page="home"] .ia-orbit-dots { left: 12px; bottom: 8px; gap: 12px; }
  #app [data-atlas-page="home"] .ia-orbit-pause { left: auto; right: 0; bottom: 0; }
  #app [data-atlas-page="home"] .ia-material-map { display: block; width: calc(100% - 36px); height: auto; margin: 0 18px; padding: 18px; transform: none; }
  #app [data-atlas-page="home"] .ia-material-map__title h2 { font-size: 25px; margin: 0 0 15px; }
  #app [data-atlas-page="home"] .ia-material-map__underline { max-width: 100%; }
  #app [data-atlas-page="home"] .ia-material-note { display: none; }
  #app [data-atlas-page="home"] .ia-material-map__routes { transform: none; }
  #app [data-atlas-page="home"] .ia-map-route { grid-template-columns: 32px minmax(0,1fr); height: auto; gap: 5px; margin: 12px 0; }
  #app [data-atlas-page="home"] .ia-map-route__part { font-size: 23px; }
  #app [data-atlas-page="home"] :is(.ia-map-route__input,.ia-map-route__output) { padding: 8px; font-size: 13px; }
  #app [data-atlas-page="home"] .ia-map-route__output { grid-column: 2; }
  #app [data-atlas-page="home"] :is(.ia-map-route__arrow,.ia-map-route__check,.ia-material-links) { display: none; }
}

/* Browser-only artifacts reuse the paper palette and leave the verified artwork untouched. */
.study-report-preview { width: min(800px, calc(100vw - 2rem)); background: #fffaf0; color: #172d33; }
.study-report-image { display: block; width: 100%; height: auto; margin-block: .75rem; }
.study-report-image[hidden] { display: none; }
.study-report-preview .study-file-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.study-report-preview button,
.study-checklist-preview button,
.study-content-problem button { min-height: 44px; padding: .55rem .9rem; border: 1px solid #bcae91; border-radius: .4rem; background: #faf4e8; color: #153744; }
.study-report-preview button:disabled { opacity: .6; cursor: wait; }
.study-checklist-preview { width: min(850px, calc(100vw - 2rem)); background: #fffaf0; }
.study-checklist-preview .study-file-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.study-checklist-date { color: #52615d; }
.study-checklist-group { padding-block: .65rem; border-bottom: 1px solid #ddd1ba; }
.study-checklist-group > summary { min-height: 44px; padding-block: .55rem; font-weight: 700; }
.study-checklist-item { margin: .75rem 0 1rem; overflow-wrap: anywhere; }
.study-checklist-item h3 { font-size: 1.05rem; }
.study-checklist-item button { margin-top: .5rem; }
.study-checklist-print { position: fixed; inset: 0 auto auto -10000px; width: 800px; height: 1000px; border: 0; }
.study-current-season { display: inline-block; margin-block: .4rem; font: 600 .95rem/1.5 system-ui,sans-serif; color: #52615d; }
#app .study-season-control { flex-wrap: wrap; white-space: normal; margin-block: .65rem; }
#app .study-season-control select { max-width: 100%; min-width: 0; min-height: 44px; }
.study-content-problem { padding: .65rem; border: 1px solid #bcae91; border-radius: .4rem; background: #fffaf0; }
.study-content-problem button { margin: .25rem .25rem 0 0; }
@media (max-width: 640px) {
  .study-report-preview,.study-checklist-preview { max-width: calc(100vw - 1rem); width: calc(100vw - 1rem); padding: .85rem; }
  #app .study-season-control { flex: 1 0 100%; align-items: flex-start; gap: .35rem; }
}
