
/* Native mobile chrome repair. All changes are limited to <=767px.
   Home composition is handled by mobile-home-fix.css; source prose is untouched. */
@media (max-width:767px) {
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nb-header {
    position:static!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) 136px!important;
    align-items:center!important;gap:8px!important;
    width:calc(100% - 32px)!important;max-width:none!important;
    min-height:66px!important;margin-inline:auto!important;padding:9px 0!important;
    box-sizing:border-box!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nb-brand {
    min-width:0!important;max-width:none!important;width:auto!important;
    font-size:clamp(18px,4.8vw,22px)!important;line-height:1.25!important;
    letter-spacing:-.045em!important;white-space:nowrap!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nb-header-actions {
    display:grid!important;grid-template-columns:repeat(3,44px)!important;
    align-items:center!important;justify-content:end!important;
    width:136px!important;min-width:136px!important;gap:2px!important;margin:0!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell :is(.nb-icon-button,.nd-labelled-control) {
    width:44px!important;min-width:44px!important;max-width:44px!important;
    height:44px!important;min-height:44px!important;
    padding:10px!important;gap:0!important;border-radius:7px!important;
    box-sizing:border-box!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell :is(.np-primary-links,.np-my-reading,.nd-control-label) { display:none!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-panel {
    top:100%!important;left:16px!important;right:16px!important;bottom:auto!important;
    width:auto!important;min-width:0!important;max-width:none!important;
    max-height:calc(100dvh - 130px)!important;
    padding:18px!important;border-radius:9px!important;
    box-sizing:border-box!important;overflow-y:auto!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-menu-panel ul {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-menu-panel a {
    min-width:0!important;min-height:52px!important;padding:12px 0!important;
    font-size:16px!important;line-height:1.7!important;white-space:normal!important;
    overflow-wrap:anywhere;gap:16px!important;
  }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-menu-panel a :is(svg,span[aria-hidden=true]) { flex:0 0 auto; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-search-row { display:flex!important;gap:8px!important;min-width:0!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-search-row input { flex:1 1 0!important;width:0!important;min-width:0!important;font-size:16px!important;min-height:48px!important;padding-inline:11px!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-search-row button { flex:0 0 auto!important;min-width:68px!important;min-height:48px!important;padding-inline:14px!important;font-size:15px!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-notification-head { flex-wrap:wrap!important;gap:8px 15px!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-notification-head button { min-height:44px!important;font-size:14px!important;line-height:1.6!important;padding:8px 0!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-notification-settings { gap:4px 15px!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-notification-settings label:not([hidden]) { display:flex!important;align-items:center!important;gap:9px!important;min-height:44px!important;line-height:1.8!important; }
  #nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell .nd-notification-settings select { min-height:44px!important;max-width:100%!important;font-size:16px!important; }

  /* A short, predictable footer rather than three narrow link columns. */
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-footer.np-premium-footer { padding:48px 0 22px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-inner { width:calc(100% - 40px)!important;min-width:0!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-top { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-intro h2 { font-size:25px!important;line-height:1.65!important;max-width:24ch!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-note { font-size:14px!important;line-height:1.9!important;max-width:40ch!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-links { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 22px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-links>div { min-width:0!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-links h3 { margin-bottom:8px!important;font-size:14px!important;line-height:1.8!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-links a { min-height:44px!important;font-size:15px!important;line-height:1.8!important;white-space:normal!important;overflow-wrap:anywhere; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-wordmark { max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important;font-size:clamp(30px,8vw,54px)!important;line-height:1.2!important;letter-spacing:-.055em!important;margin:38px 0 22px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .np-footer-footnote { flex-wrap:wrap!important;gap:8px 18px!important;font-size:12px!important;line-height:1.8!important; }

  /* Reading preferences remain native and retain dark/sepia/focus/hidden state. */
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nd-reader-tools { padding:17px!important;max-width:100%!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nd-reader-preferences,
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nx-reader-plus .nx-search-grid { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nd-reader-row { flex-wrap:wrap!important;gap:8px 14px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nx-reader-plus { padding:17px!important;max-width:100%!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading :is(.nd-reader-preferences,.nx-reader-plus) :is(select,textarea,input[type=text]) { min-width:0!important;max-width:100%!important;min-height:46px!important;font-size:16px!important;box-sizing:border-box!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading :is(.nd-reader-tools,.nx-reader-plus) :is(button,summary) { min-height:44px!important;white-space:normal!important;line-height:1.8!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .nw-reading .nx-reader-plus .nx-actions { flex-wrap:wrap!important;gap:9px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .ns-search-shell form.ns-search { grid-template-columns:minmax(0,1fr)!important;gap:14px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .ns-search-shell form.ns-search .ns-field-label { flex-wrap:wrap!important;gap:3px 9px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .ns-search-shell form.ns-search :is(input,select) { min-width:0!important;max-width:100%!important;min-height:46px!important;font-size:16px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .wp-block-query-pagination { flex-wrap:wrap!important;gap:8px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) .dua-reader-tools-inner:not([hidden]) { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:14px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) :is(.dua-reader-size,.dua-reader-actions,.nwa-reader-tools) { min-width:0!important;flex-wrap:wrap!important;gap:8px!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) :is(.dua-reader-size,.nwa-reader-tools)>span { flex-basis:100%!important;font-size:13px!important;line-height:1.8!important; }
  body:has(#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell#nd-shell.nd-premium-shell) :is(.dua-reader-tools,.nwa-reader-tools) :is(button,a) { min-height:44px!important;font-size:14px!important;line-height:1.7!important;white-space:normal!important; }
}


/* Mobile Home refinement only. Native DOM, text, URLs, utilities and scripts stay intact.
   The five-ID scope beats the retained legacy native Home rules. Desktop is unchanged.
   Folio/canvas/card presentation is supplied separately by the motion audit. */
@media (max-width:767px) {
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home {
    --gutter:20px;
    --paper:#f8f9fc;
    --ink:#172429;
    --muted:#506168;
    --line:#d2dce5;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    color:#172429!important;
    background:#f8f9fc!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-wrap {
    box-sizing:border-box!important;
    width:calc(100% - 40px)!important;
    max-width:640px!important;
    min-width:0!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:28px!important;
    min-height:0!important;
    padding-block:36px 32px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero-copy {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero-copy h1 {
    max-width:none!important;
    margin:0!important;
    font:600 clamp(36px,9vw,52px)/1.12 Geist,Arial,system-ui,sans-serif!important;
    letter-spacing:-.045em!important;
    overflow-wrap:normal!important;
    color:#172429!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero-copy h1 .hero-brand {
    display:block!important;
    font-size:clamp(30px,7.8vw,42px)!important;
    line-height:1.16!important;
    white-space:normal!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero-copy h1 .hero-close {
    display:block!important;
    margin-top:12px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-hero-copy > p:not(.hero-purpose) {
    max-width:34ch!important;
    margin:20px 0 0!important;
    font-size:18px!important;
    line-height:1.85!important;
    color:#506168!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-command {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    min-height:56px!important;
    margin-top:23px!important;
    padding:5px!important;
    gap:6px!important;
    border-radius:10px!important;
    box-shadow:none!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-command input {
    box-sizing:border-box!important;
    flex:1 1 0!important;
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:9px 8px 9px 12px!important;
    font-size:16px!important;
    line-height:1.6!important;
    color:#fff!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-command button {
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    padding:10px!important;
    border-radius:7px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-links {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:0 22px!important;
    margin-top:11px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-links > a {
    display:inline-flex!important;
    align-items:center!important;
    min-height:44px!important;
    font-size:14px!important;
    line-height:1.7!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .hero-purpose {
    display:block!important;
    max-width:100%!important;
    margin-top:13px!important;
    font-size:14px!important;
    line-height:1.8!important;
    color:#506168!important;
  }

  /* Three useful readings, each with its own full-width tap target. */
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
    margin-bottom:0!important;
    padding:0 16px!important;
    background:#edf3f6!important;
    border:1px solid #d0dde5!important;
    border-radius:8px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility > a {
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:1px 12px!important;
    min-width:0!important;
    min-height:76px!important;
    padding:14px 0!important;
    border:0!important;
    border-bottom:1px solid #d0dde5!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility > a:last-child { border-bottom:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility svg {
    display:block!important;
    grid-row:1 / span 3!important;
    width:22px!important;
    height:22px!important;
    margin-top:4px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility strong { font-size:17px!important;line-height:1.7!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .ref-utility :is(small,.utility-detail) { font-size:12px!important;line-height:1.7!important;color:#506168!important; }

  /* Section rhythm follows a single reading column, including 601–767px. */
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-section {
    margin-block:0!important;
    padding-block:52px!important;
    scroll-margin-top:20px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-discovery { margin-top:28px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-section-head {
    display:block!important;
    max-width:100%!important;
    margin:0 0 22px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-section-head > .clarity-kicker {
    display:block!important;
    width:auto!important;
    max-width:none!important;
    margin:0 0 12px!important;
    padding-right:36px!important;
    font-size:12px!important;
    line-height:1.8!important;
    letter-spacing:0!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-section-head h2 {
    max-width:none!important;
    margin:0!important;
    font-size:clamp(28px,6.8vw,34px)!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    color:#172429!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-section-head > p:not(.clarity-kicker) {
    max-width:42ch!important;
    margin:14px 0 0!important;
    font-size:16px!important;
    line-height:1.85!important;
    color:#506168!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .journal-ornament { width:25px!important;height:25px!important;right:0!important;top:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-open-search { display:inline-flex!important;align-items:center!important;min-height:44px!important;margin:0 0 18px!important;font-size:15px!important; }

  /* Native topic URLs stay native; the mobile reading room uses a light surface. */
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .library-frame {
    width:100%!important;
    min-width:0!important;
    border:1px solid #cad5e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#172429!important;
    transform:none!important;
    box-shadow:none!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-topbar {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:7px 15px!important;
    min-height:58px!important;
    padding:15px 17px!important;
    border-bottom:1px solid #d5dfe9!important;
    background:#fff!important;
    color:#172429!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-logo { font-size:18px!important;line-height:1.4!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-library-label { font-size:12px!important;line-height:1.8!important;color:#506168!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-layout {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    min-height:0!important;
    width:100%!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-topics {
    display:block!important;
    min-width:0!important;
    padding:17px 15px!important;
    border-right:0!important;
    border-bottom:1px solid #d5dfe9!important;
    background:#f0f4fa!important;
    color:#172429!important;
    overflow:visible!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-topics > p { display:block!important;margin:0 0 12px!important;font-size:13px!important;color:#506168!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(.clarity-primary-topics,.clarity-extra-topics) {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-topic-link {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:46px!important;
    padding:9px 10px!important;
    border:1px solid #d3deea!important;
    border-radius:6px!important;
    background:#fff!important;
    color:#273e55!important;
    font-size:14px!important;
    line-height:1.7!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-topic-link:is(:hover,:focus-visible) { background:#e7ecfa!important;color:#273c9b!important;border-color:#8b9dcf!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-more-topics { margin-top:13px!important;border-top:1px solid #cad5e2!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-more-topics > summary { min-height:48px!important;padding:10px 0!important;color:#344bb2!important;font-size:14px!important;line-height:1.7!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-main { min-width:0!important;padding:19px 17px 22px!important;background:#fff!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-main-head { display:block!important;margin-bottom:4px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-main-head h3 { font-size:21px!important;line-height:1.6!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-main-head > a { display:inline-flex!important;align-items:center!important;min-height:44px!important;font-size:14px!important;color:#344bb2!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .journal-reading-layout { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-result { display:block!important;min-height:0!important;padding:18px 29px 18px 0!important;border-bottom:1px solid #d5dfe9!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-result small { display:block!important;margin-bottom:6px!important;color:#5b6975!important;font-size:12px!important;line-height:1.7!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-result h3 { margin:0!important;font-size:19px!important;line-height:1.75!important;font-weight:400!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-result .arrow { color:#4259c5!important;font-size:22px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .desk-result:is(:hover,:focus-visible) h3 { color:#344bb2!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(#library-status,.journal-opening-meta,#journal-folio-status) { color:#52615e!important;font-size:13px!important;line-height:1.85!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-archive-link { min-height:44px!important;color:#344bb2!important;font-size:14px!important;line-height:1.8!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .journal-opening { min-width:0!important;padding:21px 18px 20px!important;border-radius:4px 8px 8px 4px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .journal-opening-title { max-width:none!important;font-size:20px!important;line-height:1.75!important;color:#172429!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .journal-opening-body { max-width:100%!important;font-size:18px!important;line-height:1.95!important;color:#273b35!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(.journal-opening-link,.journal-folio-native-link) { min-height:44px!important;font-size:14px!important;line-height:1.8!important;color:#344bb2!important; }

  /* Five shelves become five consistent, readable list items. */
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-grid { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-card {
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    grid-column:auto!important;
    align-items:center!important;
    gap:20px!important;
    min-width:0!important;
    padding:19px 0!important;
    border-bottom:1px solid #d2dce5!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-card:first-child { padding-top:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-art { box-sizing:border-box!important;width:104px!important;min-height:155px!important;padding:16px 10px 14px 18px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-art > small { max-width:100%!important;font-size:10px!important;line-height:1.5!important;letter-spacing:-.025em!important;white-space:normal!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-art > b { margin:14px 0!important;padding:0!important;font-size:17px!important;line-height:1.6!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-art > span:not(.journal-cover-ornament) { font-size:11px!important;line-height:1.6!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-caption { min-width:0!important;padding:0!important;gap:7px 10px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-caption > small { font-size:12px!important;line-height:1.75!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-series-caption h3 { font-size:19px!important;line-height:1.7!important; }

  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-layout { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-copy { margin-bottom:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-copy > .primary-button { display:inline-flex!important;align-items:center!important;min-height:48px!important;margin-top:22px!important;padding:10px 18px!important;font-size:15px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-scene { width:min(100%,300px)!important;height:225px!important;min-height:0!important;margin:0 auto!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-letter { font-size:76px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-letter > span { bottom:14px!important;font-size:12px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-paths { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin-top:22px!important;padding-top:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-paths > a { min-height:0!important;padding:20px 28px 20px 0!important;border-bottom:1px solid #b7a77d61!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-paths h3 { font-size:22px!important;line-height:1.6!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-paths p { max-width:100%!important;font-size:16px!important;line-height:1.8!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-kids-paths > a > span { top:47px!important;right:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-layout { display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:30px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-copy { margin-bottom:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-links { margin-top:24px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-links > a { min-height:83px!important;padding:16px 0!important;gap:14px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-links h3 { font-size:22px!important;line-height:1.6!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-links p { max-width:100%!important;font-size:15px!important;line-height:1.85!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .clarity-resource-still-life { box-sizing:border-box!important;width:min(100%,260px)!important;max-width:260px!important;padding:10px!important;align-self:center!important; }

  /* Collapsed personal tools remain available; their local data behavior is unchanged. */
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(.native-reader-companion,.native-feature-directory) { margin-top:24px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(.native-reader-companion,.native-feature-directory) > summary { min-height:60px!important;gap:15px!important;padding-block:13px!important;font-size:15px!important;line-height:1.85!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-reader-companion-body { min-width:0!important;padding:15px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-reader-companion-body .nhp-reading-grid { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-reader-companion-body :is(.nhp-today-shelf,.nhp-journey) { min-width:0!important;min-height:0!important;padding:18px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-directory-body .nd-panel { position:static!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;padding:17px!important;overflow:visible!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-directory-body ul { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-directory-body li > a { min-height:48px!important;padding:12px 0!important;font-size:14px!important;line-height:1.8!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-daily-directory { padding-block:18px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-daily-directory :is(.nhp-practice-links,.nhp-daily-links) { display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-daily-directory a { min-height:44px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-widget-grid { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-prayer-dialog { box-sizing:border-box!important;width:calc(100vw - 20px)!important;max-width:none!important;max-height:calc(100dvh - 20px)!important;padding:16px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-dialog-heading { gap:14px!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .native-dialog-heading h2 { font-size:23px!important;line-height:1.6!important; }
  #nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home :is(a,button,input,select,summary):focus-visible { outline:2px solid #4259c5!important;outline-offset:3px!important; }

  /* Stronger than this layer's layout rules: no saved-data/utility state is exposed. */
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home [hidden] { display:none!important; }
}


/* Mobile-only folio composition repair. Original titles, dates, links and controls stay native. */
@media(max-width:767px){
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene{
    --mobile-folio-height:clamp(220px,58vw,264px);
    position:relative!important;isolation:isolate;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;justify-self:stretch!important;box-sizing:border-box!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-stack{
    display:block!important;position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;transform:none!important;perspective:none!important;transition:none!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-card{
    display:none!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;min-width:0!important;box-sizing:border-box!important;padding:16px 17px!important;overflow:visible!important;border:1px solid #d5e0e5!important;border-radius:11px!important;background:var(--cover-stock,#edf3f5)!important;color:var(--cover-ink,#172429)!important;box-shadow:inset 3px 0 0 var(--cover-spine,#829caf)!important;transform:none!important;filter:none!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-card[data-position="0"]{
    display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-card::before,
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-card::after,
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-detail,
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-spine{display:none!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-top{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 12px!important;min-width:0!important;margin:0!important;padding:0 0 8px!important;font-size:11px!important;line-height:1.7!important;color:#506168!important;opacity:1!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-top .cover-brand{font-size:13px!important;line-height:1.5!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-top>span:last-child{max-width:100%!important;text-align:left!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-card h2{
    max-width:100%!important;margin:10px 0 9px!important;padding:0!important;color:#172429!important;font-family:NahwaDigitOneSans,"Hind Siliguri",sans-serif!important;font-size:clamp(20px,5.5vw,23px)!important;font-weight:500!important;line-height:1.55!important;letter-spacing:0!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-wrap:pretty;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-bottom{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px 16px!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.7!important;color:#506168!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-bottom a{display:inline-flex!important;align-items:center!important;min-height:44px!important;gap:10px!important;color:#172429!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-controls{
    display:block!important;margin:12px 0 0!important;padding:0!important;width:100%!important;max-width:100%!important;min-width:0!important;color:#506168!important;font-size:12px!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-controls>span{display:none!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-controls>div{
    display:grid!important;grid-template-columns:minmax(34px,1fr) 44px 44px minmax(104px,max-content)!important;align-items:center!important;justify-content:stretch!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;flex-wrap:nowrap!important;
  }
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-count{padding:0!important;font-size:11px!important;line-height:1.5!important;white-space:nowrap!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .cover-controls .icon-button{display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .native-motion-toggle{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;min-height:44px!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:8px 10px!important;font-size:11px!important;line-height:1.5!important;white-space:nowrap!important;}
  /* A static mode has one genuine HTML cover; extra pseudo-book art is suppressed. */
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .nh-folio-stage{visibility:hidden!important;position:absolute!important;top:0!important;bottom:auto!important;left:0!important;right:0!important;height:var(--mobile-folio-height)!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;pointer-events:none!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene .nh-folio-static{display:none!important;}
  /* Genuine WebGL motion remains available, in a compact area above readable HTML. */
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene[data-folio-presentation="ready"]{padding-top:calc(var(--mobile-folio-height) + 8px)!important;}
  #nd-home#nd-home#nd-home#nd-home#nd-home#nd-home.native-reference-home .cover-scene[data-folio-presentation="ready"] .nh-folio-stage{visibility:visible!important;}
}

