/* The current front page owns the mobile layout. The old page-380 mobile renderer
   may still be mounted by its plugin, but must not create a second homepage. */
body.zmt-fh-preview-page #zmt-mobile-home { display:none!important; }

@media (max-width:1179px) {
  body.zmt-fh-preview-page .zmt-fh { width:100%; min-width:0; overflow:visible; }
  body.zmt-fh-preview-page .zmt-fh-top { padding:18px 20px 0!important; }
  body.zmt-fh-preview-page .zmt-fh-content { padding:0 20px 36px!important; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub { display:flex; flex-direction:column; height:auto; min-height:0; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel { flex:none; width:100%; height:286px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-entry-panel { height:auto; min-height:0; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-card { height:auto; min-height:0; }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-core,.fh-business,.fh-utilities,.fh-resources,.sd-solutions,.sd-learning,.fh-solution-suite,.fh-resource-dock) { min-width:0; }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-core,.fh-business,.fh-utilities,.fh-resources) { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; gap:16px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core:has(> .hg-guide) { grid-template-rows:auto; }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-core,.fh-business,.fh-utilities,.fh-resources) > .fh-module { grid-column:auto!important; grid-row:auto!important; min-width:0; height:auto; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .hg-guide { grid-column:1/-1!important; grid-row:1!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-workbench { grid-column:1/-1!important; grid-row:2!important; }
  body.zmt-fh-preview-page .zmt-fh :is(.sd-solutions,.sd-learning,.fh-suite-libraries) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  body.zmt-fh-preview-page .zmt-fh .sd-solutions > .sd-card { grid-column:auto!important; grid-row:auto!important; min-width:0; height:auto; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-module,.sd-card,.fh-suite-library,.fh-resource-card) { min-width:0; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-grid { grid-auto-rows:minmax(54px,auto); }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-library[data-library=opc] .fh-suite-grid { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile { height:auto; min-height:70px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile-copy :is(strong,small) { white-space:normal; overflow-wrap:anywhere; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-footer { flex-wrap:wrap; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card { min-height:190px; }
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading { min-height:64px; }
  body.zmt-fh-preview-page .zmt-fh a:focus-visible,
  body.zmt-fh-preview-page .zmt-fh button:focus-visible { outline-offset:2px; }
}

@media (max-width:767px) {
  body.zmt-fh-preview-page .zmt-fh-top { padding:12px 14px 0!important; }
  body.zmt-fh-preview-page .zmt-fh-content { padding:0 14px 32px!important; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub { display:flex; flex-direction:column; width:100%; height:auto; min-height:0; gap:10px; padding:8px; border-radius:19px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel { flex:none; width:100%; height:200px; min-height:0; margin:0; border-radius:12px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub :is(.qykc-home-carousel-track,.qykc-home-carousel-slide,.qykc-home-carousel-link) { border-radius:12px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-copy { width:100%; max-width:100%; justify-content:flex-start; padding:13px 16px 40px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-kicker { margin-bottom:7px!important; font-size:10px!important; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-copy strong,
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-slide.is-light .qykc-home-carousel-copy strong { font-size:clamp(21px,6vw,27px)!important; line-height:1.28; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-copy>span:not(.qykc-home-carousel-kicker) { display:-webkit-box; overflow:hidden; margin-top:5px; font-size:11px!important; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-copy em { min-width:0; min-height:40px; margin-top:9px; padding:0 13px; font-size:12px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-pagination { position:absolute; top:auto; right:auto; bottom:0; left:7px; width:auto; min-width:0; height:44px; padding:0; gap:2px; border:0; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-pagination button,
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-pagination button.is-current { display:grid; width:44px; height:44px; min-height:44px; place-items:center; padding:0; border:0; box-shadow:none; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-pagination button .fh-banner-nav-index { grid-column:1; grid-row:1; font-size:11px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel-pagination button :is(.fh-banner-nav-copy,.fh-hero-nav-detail) { display:none; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-entry-panel { display:block; height:auto; min-height:0; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-card { height:auto; min-height:0; padding:16px 16px 8px; border-radius:13px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-intro { display:none; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-intro p { max-width:64%; font-size:12px; line-height:1.6; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-card .mh-profile-icon { top:0; max-height:85px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-card .mh-header h2 { font-size:29px; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .mh-card .mh-status { height:auto; min-height:32px; }
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading { min-height:54px; gap:8px; }
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading h2 { font-size:17px; }
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading > span { font-size:11px; text-align:right; }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-core,.fh-business,.fh-utilities,.fh-resources,.sd-solutions,.sd-learning,.fh-suite-libraries) { grid-template-columns:minmax(0,1fr); gap:14px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > :is(.hg-guide,.fh-workbench) { grid-column:1!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-module { border-radius:15px; }
  body.zmt-fh-preview-page .zmt-fh .fh-module h2 { font-size:20px; }
  body.zmt-fh-preview-page .zmt-fh .fh-module :is(a,button) { min-height:44px; }
  body.zmt-fh-preview-page .zmt-fh .hg-guide { padding:14px 16px 0; border-radius:17px; }
  body.zmt-fh-preview-page .zmt-fh .hg-header { gap:8px; }
  body.zmt-fh-preview-page .zmt-fh .hg-intro { min-height:150px; }
  body.zmt-fh-preview-page .zmt-fh .hg-character { width:72px; right:0; opacity:.75; }
  body.zmt-fh-preview-page .zmt-fh .hg-character img { width:63px; left:3px; }
  body.zmt-fh-preview-page .zmt-fh .hg-form textarea { font-size:16px; }
  body.zmt-fh-preview-page .zmt-fh .hg-tasks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.zmt-fh-preview-page .zmt-fh .hg-tasks button { min-height:58px; }
  body.zmt-fh-preview-page .zmt-fh .hg-footer { margin:0 -16px; padding:0 16px; }
  body.zmt-fh-preview-page .zmt-fh .hg-steps { gap:6px; flex-wrap:wrap; }
  body.zmt-fh-preview-page .zmt-fh .hg-steps span { gap:3px; }
  body.zmt-fh-preview-page .zmt-fh .hg-related { flex-wrap:wrap; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench { padding:19px 15px 11px; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-tool { grid-template-columns:30px minmax(0,1fr); gap:5px; min-height:58px; padding:6px; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-tool::after { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-icon { width:30px; height:30px; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-copy strong { font-size:11px; white-space:normal; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-copy small { font-size:9px; white-space:normal; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-summary { flex-wrap:wrap; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-grid.is-mobile-collapsed > :nth-child(n+7),
  body.zmt-fh-preview-page .zmt-fh .fh-template-directory.is-mobile-collapsed > :nth-child(n+5) { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-mobile-more { display:block; width:100%; min-height:44px; margin-top:10px; padding:8px 12px; border:1px solid #d5dde4; border-radius:10px; color:#335c79; background:#f7fafc; font-size:13px; font-weight:600; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench .fh-mobile-more { color:#a9d7f8; border-color:#6b859b70; background:#32414d; }
  body.zmt-fh-preview-page .zmt-fh .fh-mobile-more[hidden] { display:none!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-creator-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  body.zmt-fh-preview-page .zmt-fh .fh-research-path { flex-wrap:wrap; justify-content:flex-start; gap:4px 8px; }
  body.zmt-fh-preview-page .zmt-fh .fh-template-tabs { overflow-x:auto; justify-content:flex-start; scrollbar-width:thin; }
  body.zmt-fh-preview-page .zmt-fh .fh-template-tabs button { flex:none; min-width:80px; }
  body.zmt-fh-preview-page .zmt-fh .fh-template-directory { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-library-index { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.zmt-fh-preview-page .zmt-fh .fh-library-subject p { white-space:normal; }
  body.zmt-fh-preview-page .zmt-fh .fh-books-desk { grid-template-columns:minmax(0,1fr); gap:13px; }
  body.zmt-fh-preview-page .zmt-fh .fh-books .fh-book-volume { max-width:180px; }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite { margin:20px -2px 0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite[data-shell="refined"] > .fh-suite-heading { min-height:36px; margin:0 3px 10px; padding-left:13px; }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite[data-shell="refined"] > .fh-suite-heading h2 { font-size:21px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-mobile-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; margin:14px 0; padding:4px; border-radius:12px; background:#e4e9e9; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-mobile-tabs[hidden] { display:none!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-mobile-tabs button { min-width:0; min-height:44px; padding:4px; border:0; border-radius:9px; color:#5d6d74; background:transparent; font-size:12px; font-weight:600; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-mobile-tabs button[aria-selected="true"] { color:#294b68; background:#fff; box-shadow:0 1px 3px #314b5a25; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-heading { flex-wrap:wrap; gap:9px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-heading h2 { font-size:23px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-overview { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-library { padding:15px 12px 12px; border-radius:16px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-cover { min-height:44px; margin-bottom:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-cover h3 { font-size:21px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-bottom:14px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile { min-height:68px; padding:8px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile-copy strong { font-size:13px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile-copy small { font-size:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-tile-arrow { width:22px; height:22px; }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-footer > span { text-align:left; }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite[data-shell="refined"].is-mobile-switching {
    display:block;
    margin:20px -2px 0;
    padding:13px 9px 12px;
    border:1px solid #d5e0eb;
    border-radius:19px;
    background:linear-gradient(155deg,#f1f5fb,#e9f0f8);
    box-shadow:inset 0 1px 0 #fff,0 8px 22px -18px #29445d66;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite[data-shell="refined"] > .fh-suite-heading {
    position:absolute;
    width:1px;
    height:1px;
    min-height:0;
    margin:0;
    padding:0;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching > .fh-suite-mobile-tabs {
    min-height:48px;
    align-items:center;
    margin:0;
    padding:2px 2px 8px;
    gap:3px;
    border-bottom:1px solid #d5e0ea;
    border-radius:0;
    background:transparent;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching > .fh-suite-mobile-tabs button {
    min-width:0;
    min-height:44px;
    padding:5px 2px;
    border-radius:8px;
    font-size:clamp(14px,3.8vw,15px);
    font-weight:700;
    line-height:1.25;
    white-space:nowrap;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching > .fh-suite-libraries {
    margin-top:0;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching .fh-suite-library {
    padding:12px 3px 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching .fh-suite-cover {
    display:flex;
    min-height:0;
    margin:0 0 10px;
    padding:0 2px;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching .fh-suite-cover h3 {
    font-size:17px;
    line-height:1.35;
    white-space:nowrap;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-solution-suite.is-mobile-switching .fh-suite-cover-icon {
    display:none;
  }
  body.zmt-fh-preview-page .zmt-fh .sd-learning { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .sd-ask > div { min-width:0; }
  body.zmt-fh-preview-page .zmt-fh .sd-subjects { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card { min-height:0; padding:16px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-title { margin-top:8px; font-size:20px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-description { min-height:0; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-tags { flex-wrap:wrap; }
}

@media (max-width:359px) {
  body.zmt-fh-preview-page .zmt-fh-top { padding-inline:10px!important; }
  body.zmt-fh-preview-page .zmt-fh-content { padding-inline:10px!important; }
  body.home.zmt-fh-preview-page:has(.qykc-home-hub) .zmt-fh-top-hub.qykc-home-hub .qykc-home-carousel { height:228px; }
  body.zmt-fh-preview-page .zmt-fh .fh-workbench-grid { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-suite-grid { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-tool-grid { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock { grid-template-columns:minmax(0,1fr); }
}

/* Phone navigation already has "我的"; begin the homepage at its useful content. */
@media (max-width:767px) {
  body.home.zmt-fh-preview-page .zmt-fh-top { padding:0!important; }
  body.home.zmt-fh-preview-page .zmt-fh-top-hub.qykc-home-hub { display:none!important; }
  body.home.zmt-fh-preview-page .zmt-fh-content { padding-top:12px!important; }
}

/* Knowledge/advice pairing and the relocated reading/research modules. */
@media (max-width:1179px) {
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books { grid-column:1/-1!important; grid-row:3!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-research-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice .sd-learning { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:767px) {
  body.zmt-fh-preview-page .zmt-fh .fh-research-row { grid-template-columns:minmax(0,1fr); gap:14px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books { padding:14px 16px 10px; gap:9px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-desk { grid-template-columns:100px minmax(0,1fr); gap:12px; padding:0; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-volume { height:154px; padding:8px 8px 0 14px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-volume > strong { font-size:19px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-foot { margin-left:-14px; margin-right:-8px; padding:4px 2px 4px 6px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-paths a { grid-template-columns:minmax(0,1fr) 14px; min-height:51px; gap:5px; padding:4px 0; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-step { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-paths strong { font-size:12px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-paths small { font-size:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-bottom { margin:0 -16px -10px; padding:5px 16px 8px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice {
    margin:20px -2px 0;
    padding:9px 9px 12px;
    border:1px solid #3b5a4a;
    border-radius:19px;
    background:radial-gradient(ellipse at 90% 0,#3d634c46,transparent 55%),linear-gradient(145deg,#172923,#101d1a 78%);
    box-shadow:inset 0 1px 0 #ffffff24,0 9px 24px -19px #122a2166;
  }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice[data-active-panel="advisors"] {
    border-color:#665447;
    background:linear-gradient(125deg,#191b17,#29271e);
  }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice > .fh-section-heading { min-height:50px; padding:0 5px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice.has-mobile-tabs > .fh-section-heading { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; margin:0; padding:2px 2px 9px; border-bottom:1px solid #9eb9a434; border-radius:0; background:transparent; box-shadow:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs[hidden] { display:none!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button { min-width:0; min-height:44px; padding:8px 6px; border:0; border-radius:9px; color:#d2d7ca; background:transparent; font-family:inherit; font-size:14px; font-weight:650; line-height:1.4; cursor:pointer; transition:background-color 160ms ease,color 160ms ease,box-shadow 160ms ease,transform 160ms ease; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button[aria-selected="true"] { color:#213f33; background:#c9dfcb; box-shadow:inset 0 1px 0 #eff9eab3,0 2px 4px #091d2333; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button:nth-child(2)[aria-selected="true"] { color:#452c20; background:#e7bb9e; box-shadow:inset 0 1px 0 #fff0deb3,0 2px 4px #091d2333; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button:active { transform:scale(.96); }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button:focus-visible { outline:2px solid #fff2d8!important; outline-offset:1px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice [role="tabpanel"]:focus-visible { outline:2px solid #597b6d!important; outline-offset:3px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice .sd-learning { gap:0; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice .sd-wisdom { padding:16px 7px 2px; border:0; border-radius:0; background:transparent; box-shadow:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice .sd-ask input { font-size:16px; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-advice .fh-advisors { padding:20px 7px 4px; border:0; border-radius:0; background:transparent; box-shadow:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors h2 { font-size:27px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-intro { font-size:12px; margin-bottom:15px; }
}
@media (max-width:359px) {
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-desk { grid-template-columns:100px minmax(0,1fr); gap:12px; }
  body.zmt-fh-preview-page .zmt-fh :is(.fh-solution-suite,.fh-knowledge-advice) { margin-inline:0; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-volume > strong { font-size:18px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-badge { font-size:9px; padding:5px 6px; }
}
@media (max-width:767px) {
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-footer { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; gap:7px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-footer a { min-width:0; min-height:44px; padding:4px 7px; white-space:normal; text-align:center; font-size:12px; line-height:1.4; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-open > svg { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-books-footer .zmt-fh-arrow { flex:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-note { flex-wrap:wrap; gap:3px 5px; font-size:11px; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-books .fh-book-note small { flex-basis:auto; margin-left:auto; font-size:9px; }
}
@media (max-width:767px) {
  body.zmt-fh-preview-page .zmt-fh .fh-advisor-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisor-choice { min-height:52px; padding:9px 10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisor-choice strong { font-size:13px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisor-choice small { font-size:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-backdrop { object-fit:contain; object-position:center top; opacity:.85; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-ask { padding:12px 11px 9px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-input { gap:8px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-input textarea { min-height:64px; height:64px; font-size:16px; line-height:1.4; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-input button { padding:0 10px; min-height:44px; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-footer { flex-wrap:wrap; }
  body.zmt-fh-preview-page .zmt-fh .fh-advisors-footer a { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button { transition:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-knowledge-mobile-tabs button:active { transform:none; }
}

/* Paired book/technique module keeps the original position and stacks on phones. */
@media(min-width:1180px) and (max-width:1499px){
 .zmt-fh .fh-learning-pair{gap:12px!important}
 .zmt-fh .fh-learning-pair .fh-books,.zmt-fh .fh-learning-pair .fh-techniques{padding:14px 16px 12px}
 .zmt-fh .fh-learning-pair .fh-books-desk{grid-template-columns:minmax(114px,31%) minmax(0,1fr);gap:12px}
 .zmt-fh .fh-learning-pair .fh-books-bottom{margin-inline:-16px;margin-bottom:-12px;padding-inline:16px;padding-bottom:10px}
 .zmt-fh .fh-techniques-heading{padding-right:78px}.zmt-fh .fh-techniques-heading p{margin-right:-78px}
 .zmt-fh .fh-techniques-art{transform:scale(.78);transform-origin:top right}
 .zmt-fh .fh-technique-row{gap:7px;padding-inline:8px}.fh-technique-badge{width:51px;gap:4px;font-size:11px}.fh-technique-badge svg{width:16px;height:16px}
 .zmt-fh .fh-technique-copy strong{font-size:13px}.zmt-fh .fh-techniques-footer>span{font-size:9px;max-width:8em}
 .zmt-fh .fh-learning-pair .fh-books-footer a,.zmt-fh .fh-techniques .fh-techniques-open{font-size:12px;padding-inline:8px}
 .fh-learning-pair .fh-books-open>svg{display:none}
}
@media(max-width:1179px){
 body.zmt-fh-preview-page .zmt-fh .fh-core>.fh-learning-pair{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .zmt-fh .fh-learning-pair .fh-books-desk{grid-template-columns:minmax(114px,31%) minmax(0,1fr);gap:12px}
 .fh-learning-pair .fh-books,.zmt-fh .fh-techniques{padding:14px 16px 12px}
 .zmt-fh .fh-learning-pair .fh-books-bottom{margin-inline:-16px;margin-bottom:-12px;padding-inline:16px;padding-bottom:10px}
 .zmt-fh .fh-techniques-heading{padding-right:80px}.zmt-fh .fh-techniques-heading p{margin-right:-80px}.fh-techniques-art{transform:scale(.8);transform-origin:top right}
 .zmt-fh .fh-learning-pair .fh-books-footer a{font-size:12px;padding-inline:6px}.fh-learning-pair .fh-books-open>svg{display:none}
}
@media(max-width:767px){
 body.zmt-fh-preview-page .zmt-fh .fh-core>.fh-learning-pair{grid-template-columns:minmax(0,1fr);gap:14px}
 .zmt-fh .fh-learning-pair .fh-books{padding:14px 16px 12px;gap:12px}
 .zmt-fh .fh-learning-pair .fh-books h2{font-size:23px}
 .zmt-fh .fh-learning-pair .fh-books .fh-heading{min-height:0}
 body.zmt-fh-preview-page .zmt-fh .fh-learning-pair .fh-books-desk{grid-template-columns:110px minmax(0,1fr);gap:15px}
 body.zmt-fh-preview-page .zmt-fh .fh-learning-pair .fh-book-volume{height:176px;padding:10px 8px 0 14px}
 .zmt-fh .fh-learning-pair .fh-book-volume>strong{font-size:20px}.fh-learning-pair .fh-book-subtitle{font-size:10px}
 .fh-learning-pair .fh-book-step{display:none}.fh-learning-pair .fh-books .fh-book-paths a{grid-template-columns:minmax(0,1fr) 14px;min-height:58px;padding-block:7px}
 .fh-learning-pair .fh-book-paths strong{font-size:13px}.fh-learning-pair .fh-book-paths small{font-size:10px}
 .zmt-fh .fh-learning-pair .fh-books-footer a{min-height:44px;font-size:12px}
 .zmt-fh .fh-techniques{padding:14px 16px 12px;border-radius:18px}
 .zmt-fh .fh-techniques h2{font-size:25px}.fh-techniques-wordmark{font-size:16px}
 .zmt-fh .fh-techniques-heading p{font-size:12px}
 .fh-technique-list{grid-template-rows:repeat(3,68px)}
 .zmt-fh .fh-technique-row{gap:8px;padding-inline:9px}.fh-technique-badge{width:56px;gap:4px;font-size:11px}.fh-technique-badge svg{width:17px;height:17px}
 .fh-technique-copy strong{font-size:14px}.zmt-fh .fh-technique-controls button{min-width:40px;width:40px}
 .zmt-fh .fh-techniques-footer{margin-top:8px;padding-top:8px}.zmt-fh .fh-techniques .fh-techniques-open{min-height:44px;font-size:13px;padding-inline:10px}
 .fh-techniques-footer>span{font-size:10px;max-width:8em}
 body.zmt-fh-preview-page .zmt-fh .fh-research-row--standalone{grid-template-columns:minmax(0,1fr)}
 .fh-research-row--standalone .fh-report-types{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:359px){
 .zmt-fh .fh-learning-pair .fh-books h2{font-size:20px}.zmt-fh .fh-techniques h2{font-size:23px}
 .zmt-fh .fh-techniques-heading{padding-right:60px}.zmt-fh .fh-techniques-heading p{margin-right:-60px}.fh-techniques-art{transform:scale(.64)}
 .zmt-fh .fh-technique-filters button{padding-inline:6px;font-size:11px}.zmt-fh .fh-technique-filters button:first-child{padding-right:7px}
 .fh-technique-badge{width:45px}.fh-technique-badge svg{display:none}.fh-technique-copy strong{font-size:13px}
 .zmt-fh .fh-techniques .fh-techniques-open{font-size:12px;padding-inline:9px}.fh-techniques-open>svg{display:none}
 .zmt-fh .fh-learning-pair .fh-books-footer a{font-size:11px}.fh-learning-pair .fh-books-footer .zmt-fh-arrow{margin-left:2px}
}

@media(max-width:359px){.zmt-fh .fh-technique-toolbar{flex-wrap:wrap;column-gap:4px;row-gap:0}.zmt-fh .fh-technique-controls{margin-left:auto}}

/* Keep the phone homepage focused; retain all four features on desktop. */
@media (max-width:767px) {
  /* Module names already identify each card; omit the extra group-label rows. */
  body.home.zmt-fh-preview-page .zmt-fh-content > .fh-section-heading { display:none!important; }
  /* The analytics center below already leads to subscription management. */
  body.home.zmt-fh-preview-page .fh-analytics .fha-inline-link { display:none!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-workbench,
  body.zmt-fh-preview-page .zmt-fh .fh-research-row--standalone,
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock > .fh-resource-card[data-theme="navigation"],
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading:has(+ .fh-research-row--standalone),
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading:has(+ .fh-resources) { display:none!important; }

  body.zmt-fh-preview-page .zmt-fh .fh-core > .fh-learning-pair { grid-row:2!important; }
  body.zmt-fh-preview-page .zmt-fh .fh-resources { grid-template-columns:minmax(0,1fr); }
  body.zmt-fh-preview-page .zmt-fh .fh-section-heading:has(+ .fh-resource-dock) > .fh-resource-dock-hint { display:none; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-dock > .fh-resource-card[data-theme="monetization"] {
    order:-1;
    grid-column:1/-1;
    min-height:0;
    padding:18px 18px 15px;
    border-radius:18px;
    background:radial-gradient(circle at 96% 0,#efd6a46b,transparent 52%),linear-gradient(125deg,#fffaf0,#f8ead0);
  }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card[data-theme="monetization"] .fh-resource-title { margin-top:10px; font-size:24px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card[data-theme="monetization"] .fh-resource-description { min-height:0; margin-top:5px; font-size:13px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card[data-theme="monetization"] .fh-resource-tags { flex-wrap:wrap; margin-top:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card[data-theme="monetization"] .fh-resource-tags > span { font-size:10px; }
  body.zmt-fh-preview-page .zmt-fh .fh-resource-card[data-theme="monetization"] .fh-resource-footer { margin-top:13px; }
}
