/* Academic directory pilot. Intentionally scoped to the two approved pages.
   Existing global !important mobile rules are neutralized only within this scope. */
body[data-scholar-ui] { background:var(--bg-card); }
body[data-scholar-ui] :is(#scholar-page,.exp-hero,.exp-layout,.seo-directory) { font-family:var(--f-sans); letter-spacing:0; }
body[data-scholar-ui] :is(h1,h2,h3,p) { overflow-wrap:anywhere; }
body[data-scholar-ui] :is(#scholar-page,.exp-hero,.exp-layout,.seo-directory) :focus-visible { outline:3px solid var(--brand); outline-offset:4px; }
body[data-scholar-ui] .breadcrumb { background:var(--bg-alt); border-bottom:1px solid var(--line); }
body[data-scholar-ui] .breadcrumb .wrap { padding-top:14px; padding-bottom:14px; font-size:13px; }

/* Directory: an index, not a promotional landing page. */
body[data-scholar-ui] .expert-library-heading { padding:32px 0 24px; border-bottom:3px solid var(--brand); }
body[data-scholar-ui] .expert-library-heading h1 { font-family:var(--f-sans); font-size:30px; font-weight:600; line-height:1.5; letter-spacing:0; color:var(--fg); }
body[data-scholar-ui] .expert-library-heading p { margin-top:10px; font-size:15px; line-height:1.9; color:var(--fg-muted); }
body[data-scholar-ui] #scholar-page .experts-page { display:block; padding:24px 0 42px; }
body[data-scholar-ui] #scholar-page .filter-panel { position:static; padding:24px; max-height:none; overflow:visible; border:1px solid var(--line); border-radius:0; background:var(--bg-alt); margin-bottom:28px; }
body[data-scholar-ui] #scholar-filters { scroll-margin-top:88px; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; }
body[data-scholar-ui] .scholar-search-row { grid-column:1/-1; display:grid; grid-template-columns:80px minmax(0,1fr) 92px; gap:16px; align-items:center; }
body[data-scholar-ui] .scholar-search-row label { font-size:15px; font-weight:600; }
body[data-scholar-ui] :is(#scholar-search,.scholar-filter-fields select) { box-sizing:border-box; font-family:var(--f-sans); font-size:15px; color:var(--fg); background:var(--bg-card); border:1px solid var(--line-strong); border-radius:0; width:100%; min-width:0; height:46px; padding:10px 12px; line-height:1.5; }
body[data-scholar-ui] .scholar-search-button { height:46px; padding:10px 18px; background:var(--brand); color:var(--bg-card); border:1px solid var(--brand); font:inherit; font-size:15px; cursor:pointer; border-radius:0; }
body[data-scholar-ui] .scholar-search-button:hover { background:var(--brand-deep); }
body[data-scholar-ui] .scholar-filter-options { grid-column:1/-1; min-width:0; margin-top:20px; }
body[data-scholar-ui] .scholar-filter-options summary { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:56px; padding:14px 16px; border:1px solid var(--line-strong); background:var(--bg-card); color:var(--brand); cursor:pointer; font-size:15px; font-weight:600; line-height:26px; list-style:none; }
body[data-scholar-ui] .scholar-filter-options summary::-webkit-details-marker { display:none; }
body[data-scholar-ui] .scholar-filter-options summary::marker { content:''; }
body[data-scholar-ui] .scholar-filter-options summary:hover { border-color:var(--brand); }
body[data-scholar-ui] .scholar-filter-label { min-width:0; }
body[data-scholar-ui] .scholar-filter-state { flex-shrink:0; display:flex; align-items:center; gap:10px; font-size:13px; font-weight:400; }
body[data-scholar-ui] .scholar-filter-state::before { content:'展开'; }
body[data-scholar-ui] .scholar-filter-state::after { content:''; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
body[data-scholar-ui] .scholar-filter-options[open] .scholar-filter-state::before { content:'收起'; }
body[data-scholar-ui] .scholar-filter-options[open] .scholar-filter-state::after { transform:translateY(2px) rotate(225deg); }
body[data-scholar-ui] #scholar-filter-summary { white-space:nowrap; color:var(--brand); margin-left:6px; }
body[data-scholar-ui] .scholar-filter-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:20px; padding-top:20px; }
/* The original sidebar's :first-of-type margin must not offset the first grid cell. */
body[data-scholar-ui] #scholar-page .scholar-filter-fields .filter-group { margin:0; min-width:0; display:grid; grid-template-rows:24px 46px; gap:8px; }
body[data-scholar-ui] .scholar-filter-fields .group-label { display:block; font:inherit; font-size:14px; line-height:24px; color:var(--fg-muted); letter-spacing:0; margin:0; }
body[data-scholar-ui] .expert-filter-actions { grid-column:1/-1; display:flex; justify-content:flex-end; margin-top:20px; padding-top:12px; border-top:1px solid var(--line); }
body[data-scholar-ui] #scholar-reset { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:96px; padding:8px 12px; border:1px solid var(--line-strong); color:var(--fg-muted); background:var(--bg-card); font-size:13px; line-height:24px; text-decoration:none; }
body[data-scholar-ui] #scholar-reset:hover { color:var(--brand); border-color:var(--brand); }
body[data-scholar-ui] .experts-main-header { align-items:center; margin:0; padding:0 0 16px; border-bottom:1px solid var(--line-strong); gap:16px; flex-wrap:wrap; }
body[data-scholar-ui] #scholar-results-heading { font-family:var(--f-sans); font-size:16px; color:var(--fg-muted); line-height:1.8; }
body[data-scholar-ui] #scholar-count { padding:0 4px; font-weight:600; }
body[data-scholar-ui] #scholar-sort-links { gap:20px; font-size:14px; }
body[data-scholar-ui] #scholar-sort-links a { padding:6px 0; }
body[data-scholar-ui] #scholar-sort-links a.active { color:var(--brand); text-decoration:underline; text-underline-offset:7px; }
body[data-scholar-ui] #scholar-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:0 30px; }
body[data-scholar-ui] #scholar-grid .expert-big { padding:24px 0; align-items:flex-start; gap:18px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none; transform:none; transition:none; }
body[data-scholar-ui] #scholar-grid .expert-big:hover { box-shadow:none; border-color:var(--line-strong); }
body[data-scholar-ui] #scholar-grid .expert-big:hover .name { color:var(--brand); text-decoration:underline; text-underline-offset:5px; }
body[data-scholar-ui] #scholar-grid .avatar { width:88px; height:110px; border-radius:0; background:var(--bg-alt); border:1px solid var(--line); color:var(--fg-muted); font-family:var(--f-sans); font-size:30px; }
body[data-scholar-ui] #scholar-grid .name { font-family:var(--f-sans); font-size:20px; letter-spacing:0; line-height:1.5; font-weight:600; }
body[data-scholar-ui] #scholar-grid .pos { margin:6px 0 8px; font-size:14px; color:var(--fg-muted); line-height:1.85; overflow-wrap:anywhere; }
body[data-scholar-ui] #scholar-grid .fields { display:block; margin:0; line-height:1.85; }
body[data-scholar-ui] #scholar-grid .f { display:inline; font-size:12px; padding:0; color:var(--fg-muted); background:none; border-radius:0; overflow-wrap:anywhere; }
body[data-scholar-ui] #scholar-grid .f+.f::before { content:' / '; color:var(--line-strong); }
body[data-scholar-ui] #scholar-pager { margin:30px 0 0; gap:8px; }
body[data-scholar-ui] #scholar-pager :is(button,a) { font-family:var(--f-sans); font-size:14px; min-height:42px; min-width:42px; border-radius:0; }
body[data-scholar-ui] #scholar-pager button:disabled:not(.active) { opacity:.65; }
body[data-scholar-ui] #scholar-pager .active { color:var(--bg-card); background:var(--brand); }
body[data-scholar-ui] .expert-page-summary { font-size:13px; }
body[data-scholar-ui] .expert-directory-note { font-size:13px; line-height:1.9; color:var(--fg-muted); padding-top:24px; margin-top:24px; border-top:1px solid var(--line); }
body[data-scholar-ui] .scholar-status { padding-top:12px; }
body[data-scholar-ui] .scholar-status button { padding:8px 14px; min-height:42px; border:1px solid var(--line-strong); background:var(--bg-card); color:var(--brand); font:inherit; cursor:pointer; }
body[data-scholar-ui] .seo-directory { border-radius:0; margin:0 0 40px; padding:20px 0; border:0; border-top:1px solid var(--line); background:transparent; font-size:14px; }
body[data-scholar-ui] .seo-directory summary { width:fit-content; cursor:pointer; padding:8px 0; color:var(--fg-muted); }

/* Profile: a restrained masthead followed by a continuous academic document. */
body[data-scholar-ui] .exp-hero { background:var(--bg-card); color:var(--fg); padding:32px 0 0 !important; overflow:visible; }
body[data-scholar-ui] .exp-hero::before,body[data-scholar-ui] .exp-hero::after { content:none; }
body[data-scholar-ui] .exp-hero .wrap { display:grid; grid-template-columns:168px minmax(0,1fr) !important; align-items:start; gap:24px 32px !important; text-align:left !important; }
body[data-scholar-ui] .profile-portrait { margin:0; }
body[data-scholar-ui] .exp-portrait { width:160px !important; height:200px !important; margin:0 !important; border:1px solid var(--line); border-radius:0; box-shadow:none; background:var(--bg-alt); color:var(--fg-muted); font-family:var(--f-sans); font-size:60px !important; font-weight:500; letter-spacing:0; }
body[data-scholar-ui] .exp-portrait::after { content:none; }
body[data-scholar-ui] .profile-portrait figcaption { color:var(--fg-muted); max-width:168px; font-size:11px; line-height:1.8; margin-top:8px; }
body[data-scholar-ui] .exp-meta .titles { font-family:var(--f-sans); color:var(--fg-muted); font-size:13px; letter-spacing:0; margin:2px 0 12px; }
body[data-scholar-ui] .exp-meta h1 { font-family:var(--f-sans); font-size:34px !important; font-weight:600; letter-spacing:0 !important; line-height:1.4; text-align:left; color:var(--fg); }
body[data-scholar-ui] .exp-meta .pinyin { font-family:var(--f-sans); font-size:13px; letter-spacing:.04em; color:var(--fg-muted); margin-top:6px; }
body[data-scholar-ui] .exp-meta .role { font-family:var(--f-sans); margin-top:18px; font-size:17px !important; letter-spacing:0; line-height:1.9; color:var(--fg); text-align:left; }
body[data-scholar-ui] .exp-badges { display:flex; flex-wrap:wrap; justify-content:flex-start !important; gap:8px 16px; margin-top:16px; }
body[data-scholar-ui] .exp-badges .b { font-family:var(--f-sans); font-size:13px; letter-spacing:0; padding:0; border:0; background:none; border-radius:0; color:var(--brand); font-weight:400; line-height:1.8; }
body[data-scholar-ui] .exp-badges .b+.b { padding-left:16px; border-left:1px solid var(--line); }
body[data-scholar-ui] .exp-quick { grid-column:1/-1 !important; display:flex; flex-direction:row !important; flex-wrap:wrap !important; justify-content:flex-start; max-width:none; gap:0 !important; padding:8px 0; border-top:1px solid var(--line); border-bottom:3px solid var(--brand); }
body[data-scholar-ui] .exp-quick .qbtn { display:block; flex:0 1 auto; color:var(--fg-muted); background:none; border:0; padding:12px 18px !important; min-height:44px; font-family:var(--f-sans); font-size:15px !important; letter-spacing:0; text-decoration:none; line-height:1.5; }
body[data-scholar-ui] .exp-quick .qbtn:hover { color:var(--brand); background:var(--bg-alt); text-decoration:underline; text-underline-offset:5px; }
body[data-scholar-ui] .exp-layout { display:grid; grid-template-columns:minmax(0,1fr) 264px !important; align-items:start; gap:48px !important; padding:8px 0 48px; }
body[data-scholar-ui] .exp-section { background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:28px 0 24px !important; margin:0; scroll-margin-top:90px; }
body[data-scholar-ui] .exp-section h2 { display:block; font-family:var(--f-sans); color:var(--brand); font-size:21px !important; font-weight:600; line-height:1.5; letter-spacing:0 !important; border:0; margin:0 0 20px; padding:0; }
body[data-scholar-ui] .exp-section p { font-family:var(--f-sans); font-size:16px; line-height:2; text-indent:0; margin:0 0 16px; color:var(--fg); }
body[data-scholar-ui] .profile-references { border:0; padding-top:0; margin-top:16px; font-size:12px; line-height:1.85; color:var(--fg-muted); }
body[data-scholar-ui] .profile-references a { padding:5px; text-underline-offset:3px; }
body[data-scholar-ui] .career-timeline { margin:0; }
body[data-scholar-ui] .career-row { display:grid; grid-template-columns:142px minmax(0,1fr) !important; gap:18px !important; padding:14px 0; border-bottom:1px solid var(--line); }
body[data-scholar-ui] .career-row:first-child { padding-top:0; }
body[data-scholar-ui] .career-row:last-child { border-bottom:0; padding-bottom:0; }
body[data-scholar-ui] .career-row .yrs { color:var(--fg-muted); font-family:var(--f-sans); font-size:14px; font-weight:400; letter-spacing:0; line-height:1.9; }
body[data-scholar-ui] .career-row .desc { font-size:15px; line-height:1.95; color:var(--fg); }
body[data-scholar-ui] .career-row .desc b { color:var(--fg); font-family:inherit; letter-spacing:0; }
body[data-scholar-ui] .career-evidence { font-size:12px; margin-top:7px; line-height:1.8; }
body[data-scholar-ui] .directions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 28px; }
body[data-scholar-ui] .dir-card { padding:0; border:0; background:none; border-radius:0; }
body[data-scholar-ui] .dir-card .nm { font-family:inherit; font-size:16px; line-height:1.8; font-weight:500; color:var(--fg); letter-spacing:0; }
body[data-scholar-ui] .dir-card .dc { font-size:14px; line-height:1.9; color:var(--fg-muted); margin-top:4px; }
body[data-scholar-ui] .pub-list { list-style:none; padding:0; margin:0; }
body[data-scholar-ui] .pub-list li { display:grid; grid-template-columns:32px minmax(0,1fr) !important; align-items:baseline; gap:10px; padding:16px 0; border-bottom:1px solid var(--line); font-size:15px; line-height:1.9; }
body[data-scholar-ui] .pub-list li:first-child { padding-top:0; }
body[data-scholar-ui] .pub-list li:last-child { border-bottom:0; }
body[data-scholar-ui] .pub-list :is(.num,.pub-title,.pub-meta,.venue) { font-family:inherit; letter-spacing:0; }
body[data-scholar-ui] .pub-list .num { color:var(--fg-muted); font-size:13px; }
body[data-scholar-ui] .pub-list .venue { font-size:14px; color:var(--fg-muted); font-style:normal; margin-top:5px; }
body[data-scholar-ui] .pub-list li .pub-meta { font-size:13px !important; color:var(--fg-muted); line-height:1.9; margin-top:4px; white-space:normal; }
body[data-scholar-ui] .project-grid { display:block; }
body[data-scholar-ui] .project-card { padding:16px 0; border:0; border-bottom:1px solid var(--line); background:none; }
body[data-scholar-ui] .project-card:first-child { padding-top:0; }
body[data-scholar-ui] .project-card:last-child { border:0; }
body[data-scholar-ui] .project-card :is(.pkind,.pname,.pmeta) { font-family:inherit; letter-spacing:0; }
body[data-scholar-ui] .project-card .pkind { font-size:12px; color:var(--fg-muted); font-weight:400; line-height:1.8; }
body[data-scholar-ui] .project-card .pname { font-size:16px; color:var(--fg); font-weight:500; line-height:1.9; margin:4px 0; }
body[data-scholar-ui] .project-card .pmeta { font-size:13px; color:var(--fg-muted); line-height:1.9; }
body[data-scholar-ui] .project-card .pmeta span+span::before { content:' · '; }
body[data-scholar-ui] .awards-list { display:block; }
body[data-scholar-ui] .award { display:grid; grid-template-columns:110px minmax(0,1fr); gap:18px; background:none; border:0; border-bottom:1px solid var(--line); padding:14px 0; font-size:15px; }
body[data-scholar-ui] .award:first-child { padding-top:0; }
body[data-scholar-ui] .award:last-child { border:0; }
body[data-scholar-ui] .award .yr { font-family:inherit; color:var(--fg-muted); font-size:14px; letter-spacing:0; font-weight:400; line-height:1.9; }
body[data-scholar-ui] .award .nm { font-family:inherit; color:var(--fg); letter-spacing:0; line-height:1.9; }
body[data-scholar-ui] .exp-side { position:static; padding-top:28px; }
body[data-scholar-ui] .side-card { background:var(--bg-alt); padding:22px; margin:0 0 24px; border:0; border-radius:0; }
body[data-scholar-ui] .side-card h3 { font-family:inherit; font-size:17px; line-height:1.8; color:var(--fg); letter-spacing:0; padding:0 0 12px; margin:0 0 16px; border-bottom:1px solid var(--line); }
body[data-scholar-ui] .side-card h3::before { content:none; }
body[data-scholar-ui] .profile-facts { font-size:14px; line-height:1.9; }
body[data-scholar-ui] .profile-facts dt { font-size:12px; }
body[data-scholar-ui] .profile-official { font-size:14px; text-underline-offset:4px; }
body[data-scholar-ui] .profile-sidebar-note { font-size:12px; line-height:1.9; }
body[data-scholar-ui] .related-experts a { display:block; padding:12px 0; border-bottom:1px solid var(--line); color:var(--fg); text-decoration:none; }
body[data-scholar-ui] .related-experts a:first-child { padding-top:0; }
body[data-scholar-ui] .related-experts a:last-child { border:0; padding-bottom:0; }
body[data-scholar-ui] .related-experts a:hover { padding-left:0; }
body[data-scholar-ui] .related-experts .av { display:none; }
body[data-scholar-ui] .related-experts .n { font-family:inherit; font-size:16px; font-weight:500; line-height:1.8; letter-spacing:0; }
body[data-scholar-ui] .related-experts a:hover .n { color:var(--brand); text-decoration:underline; }
body[data-scholar-ui] .related-experts .t { font-size:12px; color:var(--fg-muted); line-height:1.9; margin-top:4px; }
body[data-scholar-ui] .student-list { display:grid; gap:14px; }
body[data-scholar-ui] .student { font-size:14px; line-height:1.8; }
body[data-scholar-ui] .student .role { color:var(--fg-muted); font-size:12px; }
body[data-scholar-ui] .stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
body[data-scholar-ui] .stat { padding:0; }
body[data-scholar-ui] .stat .num { font-size:22px; color:var(--brand); line-height:1.8; }
body[data-scholar-ui] .stat .lbl { font-size:12px; color:var(--fg-muted); }
body[data-scholar-ui] #sources .profile-source-summary { font-size:13px; line-height:1.9; color:var(--fg-muted); }
body[data-scholar-ui] .scholar-source-list { font-size:14px; line-height:1.9; padding-left:22px; margin-bottom:20px; }
body[data-scholar-ui] .scholar-source-list li { margin:14px 0; scroll-margin-top:90px; }
body[data-scholar-ui] .scholar-source-list small { font-size:12px; }
body[data-scholar-ui] :is(.profile-gaps,.profile-editorial-notes) { padding:10px 0; font-size:13px; }
body[data-scholar-ui] :is(.profile-gaps,.profile-editorial-notes) summary { min-height:38px; line-height:1.9; }
body[data-scholar-ui] #sources :is(.profile-gaps p,.scholar-source-notice) { font-size:13px; line-height:1.9; color:var(--fg-muted); }
body[data-scholar-ui] #sources .scholar-source-notice { margin-top:16px; }
body[data-scholar-ui] .profile-bottom { padding:22px 0 0; gap:12px 24px; }
body[data-scholar-ui] .profile-bottom .btn { border-radius:0; font-family:inherit; font-size:14px; letter-spacing:0; }
body[data-scholar-ui] .profile-feedback-link { font-size:13px; line-height:1.9; }

@media(max-width:1100px) {
  body[data-scholar-ui] #scholar-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  body[data-scholar-ui] .exp-layout { gap:32px !important; grid-template-columns:minmax(0,1fr) 236px !important; }
}
@media(max-width:1024px) {
  body[data-scholar-ui] .scholar-filter-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:768px) {
  body[data-scholar-ui] .expert-library-heading { padding:20px 0 16px; }
  body[data-scholar-ui] .expert-library-heading h1 { font-size:25px; }
  body[data-scholar-ui] .expert-library-heading p { font-size:14px; }
  body[data-scholar-ui] #scholar-page .experts-page { padding-top:20px; }
  body[data-scholar-ui] #scholar-page .filter-panel { padding:16px; margin-bottom:16px; }
  body[data-scholar-ui] .scholar-search-row { grid-template-columns:minmax(0,1fr) 76px; gap:8px 12px; }
  body[data-scholar-ui] :is(#scholar-search,.scholar-filter-fields select) { font-size:16px; }
  body[data-scholar-ui] .scholar-search-row label { grid-column:1/-1; font-size:14px; line-height:24px; }
  body[data-scholar-ui] .scholar-search-button { padding:10px; }
  body[data-scholar-ui] .scholar-filter-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  body[data-scholar-ui] #scholar-grid { grid-template-columns:minmax(0,1fr) !important; }
  body[data-scholar-ui] #scholar-grid .expert-big { padding:22px 0; gap:18px; }
  body[data-scholar-ui] #scholar-grid .avatar { width:80px; height:100px; }
  body[data-scholar-ui] #scholar-grid .name { font-size:19px; }
  body[data-scholar-ui] #scholar-grid .pos { font-size:14px; }
  body[data-scholar-ui] .exp-hero { padding:24px 0 0 !important; }
  body[data-scholar-ui] .exp-hero .wrap { grid-template-columns:108px minmax(0,1fr) !important; gap:20px !important; }
  body[data-scholar-ui] .exp-portrait { width:104px !important; height:130px !important; font-size:44px !important; }
  body[data-scholar-ui] .profile-portrait figcaption { max-width:108px; font-size:10px; }
  body[data-scholar-ui] .exp-meta .titles { margin:0 0 8px; font-size:12px; }
  body[data-scholar-ui] .exp-meta h1 { font-size:28px !important; }
  body[data-scholar-ui] .exp-meta .role { margin-top:12px; font-size:15px !important; line-height:1.9; }
  body[data-scholar-ui] .exp-badges { margin-top:12px; gap:6px 10px; }
  body[data-scholar-ui] .exp-badges .b { font-size:12px; }
  body[data-scholar-ui] .exp-badges .b+.b { padding-left:10px; }
  body[data-scholar-ui] .exp-quick .qbtn { padding:10px 12px !important; font-size:14px !important; }
  body[data-scholar-ui] .exp-layout { grid-template-columns:minmax(0,1fr) !important; gap:24px !important; padding-bottom:32px; }
  body[data-scholar-ui] .exp-section { padding:24px 0 !important; }
  body[data-scholar-ui] .exp-section h2 { font-size:20px !important; margin-bottom:16px; }
  body[data-scholar-ui] .exp-section p { font-size:16px; line-height:1.95; }
  body[data-scholar-ui] .career-row { grid-template-columns:minmax(0,1fr) !important; gap:6px !important; }
  body[data-scholar-ui] .career-row .yrs { color:var(--brand); }
  body[data-scholar-ui] .directions { grid-template-columns:minmax(0,1fr); }
  body[data-scholar-ui] .award { grid-template-columns:minmax(0,1fr); gap:6px; }
  body[data-scholar-ui] .exp-side { display:block; padding:0; }
  body[data-scholar-ui] .profile-bottom { align-items:flex-start; flex-direction:column; }
}
@media(max-width:480px) {
  body[data-scholar-ui] .scholar-filter-fields { grid-template-columns:minmax(0,1fr); gap:16px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-scholar-ui] :is(.expert-big,.qbtn) { transition:none; scroll-behavior:auto; }
}
@media print {
  body[data-scholar-ui="profile"] :is(#chrome-top,#chrome-bot,.breadcrumb,.exp-quick,.exp-side,.profile-bottom) { display:none; }
  body[data-scholar-ui="profile"] .exp-layout { display:block; }
  body[data-scholar-ui="profile"] .exp-section { break-inside:auto; }
  body[data-scholar-ui="profile"] .exp-section h2 { break-after:avoid; }
}
