/* Readable interface for visitors who prefer clear text and familiar controls. */
:root {
  --ink: #211b35;
  --line: #d8d3de;
  --body-font: 'Be Vietnam Pro', Arial, sans-serif;
  --display-font: 'Be Vietnam Pro', Arial, sans-serif;
}
body {
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
h1,
h2,
h3,
.hero h1,
.content-banner h1,
.sector h3,
.askbar h3,
.detailtitle {
  font-family: var(--display-font);
  text-transform: none;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
h2,
.city-overview h2,
.content-columns h2 {
  font-size: 1.875rem;
  line-height: 1.4;
}
.kicker {
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 1px;
  color: #80523b;
}
.crumb {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #6d6376;
}
.ui-icon {
  display: inline-block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
  vertical-align: middle;
}
button,
input,
select,
a {
  touch-action: manipulation;
}
button,
select,
.darkbtn,
.lightbtn {
  min-height: 46px;
  font-size: 0.9375rem;
}
button {
  font-weight: 500;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
input {
  font-size: 1.0625rem;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b16421;
  outline-offset: 4px;
}
a {
  text-underline-offset: 4px;
}
header .actions {
  gap: 14px;
  font-size: 0.9375rem;
}
.actions select {
  max-width: 145px;
  padding: 9px;
}
.actions button,
.actions > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  padding: 10px 14px;
}
.headtitle {
  font-size: 0.75rem;
  letter-spacing: 1px;
}
#sidebar {
  width: 280px;
  padding: 28px 18px;
  overflow-y: auto;
}
.shell {
  margin-left: 280px;
}
.brand {
  gap: 8px;
}
.brand b {
  font-size: 1.9375rem;
}
.brand small {
  font-size: 0.5rem;
}
.edition {
  font-size: 0.6875rem;
  letter-spacing: 1px;
}
#nav a {
  padding: 12px 11px;
  gap: 11px;
  min-height: 48px;
  transform: none !important;
}
#nav a .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  flex: 0 0 22px;
}
#nav a .nav-label {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 400;
}
#nav a .nav-count {
  font-size: 0.75rem;
  opacity: 0.9;
}
#nav > a:first-child {
  font-size: 0.9375rem;
}
.about {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.875rem !important;
}
.about > span:last-child {
  float: none;
}
.sidefoot {
  display: none;
}
.brand b span,
.hero-brand strong span {
  display: none;
}
main {
  padding: 30px 38px 50px;
}
.sectionhead {
  gap: 25px;
}
.sectionhead > p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #655b70;
  max-width: 290px;
}
.source-note {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #716477;
}
.back {
  font-size: 0.9375rem;
  color: #704b7b;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.city-overview {
  gap: 36px;
}
.city-overview p:not(.kicker),
.content-columns > div > p:not(.kicker),
.panel p,
.strategy-block > p:not(.kicker) {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #51475c;
  max-width: 68ch;
}
.city-overview .back {
  font-size: 0.9375rem;
}
.content-columns {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  gap: 35px;
}
.content-banner p:not(.kicker) {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #f3eaf5;
  max-width: 60ch;
}
.content-banner h1 {
  font-size: clamp(2rem, 3.2vw, 3.0625rem);
  max-width: 800px;
}
.content-banner .kicker {
  color: #ffcfaa;
}
.content-banner .lightbtn {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #22172c;
  background: #f4b98d;
  font-size: 0.9375rem;
  box-shadow: none;
}
.copy-sector {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 15px 0 0 14px;
  padding: 11px 15px;
  border: 1px solid #e5d9e9;
  border-radius: 6px;
  background: #ffffff12;
  color: #fff;
  font-size: 0.9375rem;
}
.project-search {
  padding: 12px 16px;
  gap: 12px;
}
.project-search input {
  font-size: 1.0625rem;
  padding: 5px 0;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e0d9e5;
  padding: 6px 0;
}
.project-row > .project-link {
  flex: 1;
  border: 0;
  min-width: 0;
  padding: 19px 10px;
}
.project-link strong {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #32283e;
}
.project-link small {
  font-size: 0.6875rem;
  letter-spacing: 0.5px;
  color: #74627e;
}
.project-page {
  font-size: 0.875rem;
  color: #734c63;
}
.copy-project {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: nowrap;
  background: #fff;
  color: #594366;
  border: 1px solid #cfc3d7;
  padding: 10px 13px;
  border-radius: 7px;
}
.count-badge {
  font-size: 1rem;
}
.project-directory #project-status {
  font-size: 0.9375rem;
}
.content-next {
  padding: 28px;
  gap: 25px;
}
.content-next h3 {
  font-size: 1.4375rem;
}
.content-next p {
  font-size: 1.0625rem;
}
.content-next a {
  font-size: 1rem;
  white-space: normal;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sectors {
  gap: 18px;
}
.sector {
  min-height: 260px;
  padding: 24px;
}
.sector h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.sector p {
  font-size: 0.875rem;
  color: #eee7f0;
}
.sector .num {
  font-size: 0.75rem;
  color: white;
}
.sector .symbol {
  width: 36px;
  height: 36px;
}
.sector .symbol .ui-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
.sector:hover {
  transform: translateY(-2px);
}
.contact-card {
  padding: 28px;
}
.contact-card dt {
  font-size: 0.875rem;
  color: #756080;
}
.contact-card dd {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-top: 8px;
}
.contact-card .source-note {
  font-size: 0.8125rem;
}
.contact-card dd a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
}
.contact-card dd .ui-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
.contact-card h3 {
  font-size: 1.875rem;
}
.immersive-home .hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 1.7px;
}
.immersive-home .hero h1 {
  font-family: var(--display-font);
  font-size: clamp(2.3125rem, 3.5vw, 3.6875rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.04em;
  max-width: 830px;
}
.immersive-home .herocopy {
  width: 92%;
  max-width: 950px;
  padding: 145px 42px 155px;
}
.immersive-home .herocopy > p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fff;
  max-width: 52ch;
  text-shadow: 0 1px 12px #201532;
}
.immersive-home .hero-brand small {
  font-size: 0.5625rem;
  letter-spacing: 0.5px;
}
.immersive-home .actions button,
.immersive-home .actions > a {
  font-size: 0.9375rem;
  min-height: 46px;
}
.immersive-home .actions select {
  font-size: 0.9375rem;
  max-width: 142px;
  min-height: 46px;
  padding: 8px;
}
.hero-assistant,
.chatfloat {
  display: none !important;
}
.clear-hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.clear-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 1.0625rem;
  font-weight: 500;
}
.primary-action {
  background: #f5bd92;
  color: #251732;
}
.secondary-action {
  background: #21172c70;
  border: 1px solid #ffffff80;
  color: #fff;
}
.immersive-home .introstrip b {
  font-family: var(--body-font);
  font-size: 1.9375rem;
  letter-spacing: -1px;
}
.immersive-home .introstrip span {
  font-size: 0.8125rem;
  color: #f4ecf6;
  line-height: 1.7;
  letter-spacing: 0;
}
.immersive-home .hero > .introstrip {
  padding-top: 25px;
  padding-bottom: 25px;
}
.immersive-home .hero {
  min-height: 780px;
}
.hero-brand strong,
.brand b {
  font-family: var(--body-font);
}
footer {
  font-size: 0.8125rem !important;
  line-height: 1.8;
  padding: 25px 35px;
}
/* One page at a time; familiar controls, clear table of contents, no continuous scroll. */
.reading-mode #sidebar,
.reading-mode .shell > header,
.reading-mode footer {
  display: none;
}
.reading-mode .shell {
  margin: 0;
  background: #f6f7fa;
}
.reading-mode #main {
  padding: 0;
  max-width: none;
  margin: 0;
  perspective: none;
}
.reading-toolbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border-bottom: 1px solid #d6d8e0;
  padding: 16px 25px;
  min-height: 84px;
}
.reading-toolbar > strong {
  font-size: 1.125rem;
  font-weight: 600;
  flex: 1;
  line-height: 1.5;
}
.reading-toolbar .reader-home {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  color: #574064;
}
.reading-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.reading-tools button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c9c0cf;
  border-radius: 7px;
  background: #fff;
  color: #483351;
  padding: 10px 14px;
  font-size: 0.9375rem;
}
.reading-tools #download-reading {
  background: #36253f;
  color: #fff;
  border-color: #36253f;
}
.reading-tools #toggle-index {
  display: none;
}
.reading-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  max-width: 1650px;
  margin: 0 auto;
  min-height: calc(100svh - 84px);
}
.reading-index {
  display: block;
  position: sticky;
  top: 84px;
  align-self: start;
  height: calc(100svh - 84px);
  overflow: auto;
  background: #fff;
  border-right: 1px solid #dce0e6;
  padding: 25px 20px;
}
.reading-index h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  text-transform: none;
}
.reading-index > p {
  font-size: 0.875rem;
  color: #766580;
  margin: 0 0 20px;
}
.reading-index > a,
.reading-index details > a {
  display: block;
  padding: 11px 10px;
  font-size: 0.9375rem;
  line-height: 1.7;
  border-radius: 6px;
  border: 0;
  color: #483851;
  min-height: 44px;
}
.reading-index details > a {
  padding-left: 20px;
  font-size: 0.875rem;
}
.reading-index details > a.selected {
  background: #eee5f3;
  color: #372043;
  font-weight: 600;
}
.reading-index a:hover {
  background: #f4eff7;
}
.reading-index details {
  border-top: 1px solid #e9e3ec;
  padding: 8px 0;
}
.reading-index summary {
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 500;
  color: #392342;
  padding: 10px 3px;
  min-height: 48px;
}
.reading-index summary span {
  font-size: 0.75rem;
  color: #806b8b;
  margin-left: 8px;
}
.reading-index .index-sector {
  font-weight: 500;
  color: #895332;
}
.reading-stream {
  padding: 28px 35px 45px;
  min-width: 0;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
.reading-intro h1 {
  font-size: 1.8125rem;
  line-height: 1.5;
  text-transform: none;
  margin: 0 0 8px;
  color: #30213c;
}
.reading-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: #65536e;
  margin: 0 0 22px;
}
.reading-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid #d8d0de;
  padding: 12px;
  border-radius: 9px;
}
.reading-progress button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #cbbdd3;
  color: #493254;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  min-height: 46px;
  font-size: 0.9375rem;
}
.reading-progress label {
  font-size: 0.9375rem;
  white-space: nowrap;
}
.reading-progress input {
  width: 65px;
  min-height: 46px;
  text-align: center;
  border: 1px solid #cbbdd3;
  border-radius: 5px;
  font-size: 1.0625rem;
  color: #30203b;
  margin: 0 5px;
}
.page-size-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 16px 0;
  font-size: 0.9375rem;
  color: #6a5574;
}
.page-size-control label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-size-control select {
  font-size: 0.9375rem;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cbbdd3;
  border-radius: 6px;
  background: white;
  color: #402b4c;
}
.page-size-control > span {
  font-size: 0.875rem;
}
.single-page-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-radius: 2px;
}
.single-page-scroll .page-stage {
  width: calc(100% * var(--reading-zoom, 1));
  max-width: none;
  min-width: 100%;
  margin: 0;
  perspective: 1600px;
}
.single-page-scroll .page-sheet {
  box-shadow: 0 4px 18px #2916391a;
  background: #fff;
}
.single-page-scroll img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.reading-help {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #665172;
  margin-top: 20px;
}
.shared-project {
  padding: 20px;
  background: #f0e8f5;
  border-left: 4px solid #8c659b;
  border-radius: 7px;
  margin-bottom: 18px;
  color: #3d2850;
}
.shared-project strong {
  font-size: 0.875rem;
}
.shared-project p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 8px 0;
}
.shared-project small {
  font-size: 0.875rem;
  line-height: 1.8;
  display: block;
}
#share-dialog {
  padding: 28px;
  max-width: min(560px, 92vw);
}
#share-dialog h2 {
  font-size: 1.5625rem;
}
#share-dialog p {
  font-size: 1rem;
}
#share-dialog input {
  width: 100%;
  padding: 13px;
  border: 1px solid #bcaac6;
  border-radius: 5px;
}
#share-dialog button {
  margin-top: 20px;
  padding: 10px 22px;
  background: #382544;
  color: white;
  border-radius: 6px;
}
#toast {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 90vw;
  padding: 14px 22px;
}
.source-note .ui-icon {
  height: 16px;
  width: 16px;
  flex-basis: 16px;
}
@media (min-width: 1450px) {
  .immersive-home .hero h1 {
    font-size: 4rem;
  }
  .immersive-home .herocopy {
    max-width: 1030px;
    padding-left: 60px;
  }
  .immersive-home .herocopy > p {
    font-size: 1.1875rem;
    max-width: 53ch;
  }
  .sector h3 {
    font-size: 1.5625rem;
  }
}
@media (max-width: 1100px) {
  #sidebar {
    width: 250px;
  }
  .shell {
    margin-left: 250px;
  }
  main {
    padding: 28px;
  }
  .actions button,
  .actions > a {
    padding: 10px;
    font-size: 0.875rem;
  }
  .headtitle {
    display: none;
  }
  .content-columns {
    grid-template-columns: 1fr;
  }
  .reading-layout {
    grid-template-columns: 265px minmax(0, 1fr);
  }
  .reading-toolbar {
    gap: 15px;
    padding: 14px 18px;
  }
  .reading-toolbar > strong {
    font-size: 1rem;
  }
  .reading-tools button {
    font-size: 0.875rem;
    padding: 10px;
  }
  .reading-stream {
    padding: 25px 22px;
  }
  .reading-progress {
    flex-wrap: wrap;
  }
  .reading-progress label {
    margin-left: auto;
  }
  .reading-progress #next-page {
    margin-left: auto;
  }
  .project-row {
    gap: 10px;
  }
  .copy-project {
    white-space: normal;
    max-width: 165px;
  }
  .immersive-home .herocopy {
    width: 100%;
    padding-left: 35px;
    padding-right: 35px;
  }
  .immersive-home .hero h1 {
    font-size: 2.6875rem;
  }
  .immersive-home .herocopy > p {
    font-size: 1.0625rem;
    max-width: 45ch;
  }
}
@media (max-height: 850px) {
  #nav a {
    padding: 10px 11px;
  }
}
@media (max-width: 900px) {
  .reading-layout {
    grid-template-columns: 1fr;
  }
  .reading-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .reading-toolbar > strong {
    font-size: 1rem;
  }
  .reading-tools {
    width: 100%;
    justify-content: space-between;
  }
  .reading-tools #toggle-index {
    display: inline-flex;
  }
  .reading-index {
    display: none;
    position: sticky;
    top: 137px;
    max-height: 65svh;
    height: auto;
    border: 1px solid #d5c9df;
    z-index: 14;
    margin: 0 16px;
    box-shadow: 0 12px 30px #27163420;
  }
  .index-open .reading-index {
    display: block;
  }
  .reading-stream {
    padding: 24px 20px;
  }
  .reading-progress {
    flex-wrap: nowrap;
  }
  .reading-progress label {
    margin: 0;
  }
  .reading-progress #next-page {
    margin: 0;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 1.0625rem;
  }
  #sidebar {
    width: min(315px, 87vw);
    padding: 25px 18px;
  }
  .shell {
    margin: 0;
  }
  header {
    height: auto;
    min-height: 85px;
    padding: 14px 18px;
    gap: 14px;
    flex-wrap: wrap;
  }
  #mobile {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9375rem;
    background: transparent;
    min-height: 44px;
    padding: 8px 3px;
  }
  .actions {
    gap: 8px;
    flex: 1;
    width: auto;
  }
  .actions select {
    font-size: 0.875rem;
    max-width: 115px;
  }
  .actions .textbtn span {
    display: inline;
  }
  .actions button,
  .actions > a {
    font-size: 0.875rem;
    padding: 10px;
    gap: 7px;
  }
  .actions button .ui-icon,
  .actions > a .ui-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  header .actions #download {
    display: none;
  }
  main {
    padding: 22px 18px 35px;
  }
  .crumb {
    font-size: 0.75rem;
  }
  .kicker {
    font-size: 0.6875rem;
  }
  .city-overview {
    padding: 35px 20px 0;
  }
  .city-overview p:not(.kicker),
  .content-columns > div > p:not(.kicker),
  .strategy-block > p:not(.kicker),
  .panel p {
    font-size: 1.0625rem;
    line-height: 1.9;
  }
  .city-overview h2,
  .content-columns h2,
  h2 {
    font-size: 1.6875rem;
  }
  .city-overview .back {
    font-size: 0.9375rem;
  }
  .sectionhead > p {
    font-size: 0.9375rem;
  }
  .content-banner {
    padding: 28px 22px;
  }
  .content-banner h1 {
    font-size: 1.9375rem;
    line-height: 1.4;
  }
  .content-banner p:not(.kicker) {
    font-size: 1rem;
    line-height: 1.9;
  }
  .copy-sector {
    margin-left: 0;
    display: flex;
    width: max-content;
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .content-banner .lightbtn {
    font-size: 0.9375rem;
  }
  .project-row {
    display: block;
    padding: 13px 0;
  }
  .project-row > .project-link {
    padding: 8px 0 12px;
    align-items: start;
  }
  .project-link strong {
    font-size: 1.0625rem;
  }
  .project-page {
    font-size: 0.8125rem;
    min-width: 70px;
    padding-top: 23px;
  }
  .copy-project {
    font-size: 0.875rem;
    max-width: none;
    min-height: 44px;
    margin-bottom: 8px;
  }
  .project-link small {
    font-size: 0.6875rem;
  }
  .project-search input {
    font-size: 1rem;
  }
  .contact-card {
    padding: 25px;
  }
  .contact-card dd {
    font-size: 1.0625rem;
  }
  .source-note,
  .contact-card .source-note {
    font-size: 0.875rem;
  }
  .content-next h3 {
    font-size: 1.375rem;
  }
  .content-next a {
    font-size: 1rem;
  }
  .sectors {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sector {
    min-height: 250px;
    padding: 25px;
  }
  .sector h3 {
    font-size: 1.5625rem;
    max-width: 95%;
    margin-top: 42px;
  }
  .sector p {
    font-size: 0.9375rem;
  }
  .sector .num {
    font-size: 0.75rem;
  }
  .sector .symbol {
    width: 36px;
    height: 36px;
  }
  .immersive-home header {
    min-height: 90px;
    height: auto;
    padding: 15px 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .immersive-home .hero-brand {
    display: flex;
    margin-right: auto;
  }
  .immersive-home .hero-brand strong {
    font-size: 1.75rem;
  }
  .immersive-home #mobile {
    font-size: 0.875rem;
    gap: 6px;
    padding: 9px 0;
  }
  .immersive-home #mobile span:last-child {
    display: none;
  }
  .immersive-home .actions {
    width: auto;
    flex: 0 1 auto;
    gap: 8px;
  }
  .immersive-home .actions select {
    max-width: 100px;
    font-size: 0.8125rem;
    min-height: 44px;
  }
  .immersive-home .actions > a {
    font-size: 0.8125rem;
    padding: 10px;
    min-height: 44px;
  }
  .immersive-home .actions #download {
    display: none;
  }
  .immersive-home .actions > a .ui-icon {
    display: none;
  }
  .immersive-home .hero {
    min-height: 850px;
    height: 100svh;
  }
  .immersive-home .herocopy {
    padding: 125px 25px 155px;
    max-width: none;
    width: 100%;
  }
  .immersive-home .hero h1 {
    font-size: clamp(2rem, 8.6vw, 2.6875rem);
    line-height: 1.35;
    margin-bottom: 23px;
    letter-spacing: -0.035em;
  }
  .immersive-home .hero .eyebrow {
    font-size: 0.625rem;
    line-height: 1.9;
    letter-spacing: 1px;
    margin-bottom: 22px;
  }
  .immersive-home .herocopy > p {
    font-size: 1.0625rem;
    line-height: 1.85;
    max-width: none;
  }
  .clear-hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 25px;
  }
  .clear-hero-actions a {
    font-size: 1.0625rem;
    justify-content: center;
    min-height: 52px;
  }
  .immersive-home .hero > .introstrip {
    padding: 22px 20px;
    gap: 10px;
  }
  .immersive-home .introstrip b {
    font-size: 1.5rem;
  }
  .immersive-home .introstrip span {
    font-size: 0.625rem;
    line-height: 1.7;
  }
  .immersive-home .introstrip > div {
    display: block;
    padding: 0 9px;
  }
  .immersive-home .introstrip span {
    display: block;
    margin-top: 8px;
  }
  .reading-toolbar {
    padding: 12px 15px;
    min-height: 126px;
  }
  .reading-toolbar .reader-home {
    font-size: 0.9375rem;
  }
  .reading-toolbar > strong {
    font-size: 0.9375rem;
  }
  .reading-tools {
    gap: 7px;
    flex-wrap: wrap;
  }
  .reading-tools button {
    font-size: 0.8125rem;
    padding: 9px;
    gap: 6px;
    min-height: 44px;
  }
  .reading-tools .ui-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
  .reading-index {
    top: 136px;
  }
  .reading-stream {
    padding: 22px 15px;
  }
  .reading-intro h1 {
    font-size: 1.625rem;
  }
  .reading-intro p {
    font-size: 1rem;
    line-height: 1.8;
  }
  .reading-progress {
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
  }
  .reading-progress button {
    font-size: 0.875rem;
    padding: 9px 10px;
    min-height: 44px;
    justify-content: center;
  }
  .reading-progress #previous-page,
  .reading-progress #next-page {
    width: calc(50% - 4px);
    order: 0;
  }
  .reading-progress #next-page {
    order: 1;
  }
  .reading-progress label {
    order: 2;
    font-size: 0.9375rem;
    flex: 1;
    margin-top: 5px;
  }
  .reading-progress #go-reading {
    order: 3;
    margin-top: 5px;
  }
  .reading-progress input {
    width: 60px;
  }
  .page-size-control {
    font-size: 0.875rem;
    flex-wrap: wrap;
  }
  .page-size-control select {
    font-size: 0.875rem;
    max-width: 170px;
  }
  .page-size-control > span {
    font-size: 0.8125rem;
  }
  .reading-help {
    font-size: 0.9375rem;
    line-height: 1.8;
  }
  .shared-project p {
    font-size: 1.0625rem;
  }
  .shared-project small {
    font-size: 0.875rem;
  }
  .reading-index summary {
    font-size: 1rem;
  }
  .reading-index details > a {
    font-size: 0.9375rem;
    line-height: 1.8;
  }
  footer {
    font-size: 0.75rem !important;
    padding: 22px 20px;
  }
}
.reading-progress {
  position: sticky;
  top: calc(var(--reading-toolbar-height, 84px) + 8px);
  z-index: 10;
  box-shadow: 0 5px 18px #26163310;
}
.reading-index {
  top: var(--reading-toolbar-height, 84px);
  height: calc(100svh - var(--reading-toolbar-height, 84px));
}
@media (max-width: 900px) {
  .reading-index {
    top: var(--reading-toolbar-height, 136px);
    height: auto;
    max-height: calc(85svh - var(--reading-toolbar-height, 136px));
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (max-width: 720px) {
  .reading-tools {
    display: grid;
    grid-template-columns: 0.85fr 1.45fr 1fr;
    gap: 7px;
  }
  .reading-tools button {
    font-size: 0.8125rem;
    line-height: 1.5;
    padding: 8px 6px;
    justify-content: center;
    min-height: 50px;
  }
  .reading-tools .ui-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .reading-toolbar {
    gap: 8px;
  }
  .reading-index summary span {
    display: block;
    margin-left: 0;
    font-size: 0.8125rem;
  }
}
