/* A calm reading desk. These rules never change the studio canvas or dialogs. */
#research-page { --research-ink:#202c3c; --research-muted:#7a8190; --research-line:#e8e6df; --research-blue:#3159d8; color:var(--research-ink); }
#research-page .mv-research-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:12px 0 32px; }
#research-page .mv-research-heading .page-title { margin:12px 0; font-family:Georgia,"Noto Serif SC","Songti SC",SimSun,serif; font-size:clamp(30px,3vw,43px); line-height:1.3; font-weight:500; letter-spacing:-.035em; }
#research-page .mv-research-intro { color:var(--research-muted); margin:0; font-size:14px; line-height:1.8; }
#research-page .mv-research-total { flex:none; font-size:12px; color:var(--research-muted); padding:9px 12px; border:1px solid var(--research-line); border-radius:8px; background:#fffefa; }
#research-page .mv-research-tabs { display:flex; gap:24px; margin-bottom:24px; border-bottom:1px solid var(--research-line); }
#research-page .mv-research-tabs button { background:transparent; border:0; border-bottom:2px solid transparent; border-radius:0; color:var(--research-muted); padding:12px 2px 14px; font-size:15px; box-shadow:none; }
#research-page .mv-research-tabs button.selected { color:var(--research-ink); border-bottom-color:var(--research-ink); font-weight:650; }
#research-page .mv-research-auth { display:flex; justify-content:space-between; gap:20px; align-items:center; border:1px solid #dce4f8; border-radius:12px; padding:17px 20px; background:#f2f6ff; margin-bottom:22px; }
#research-page .mv-research-auth strong { font-size:14px; font-weight:600; }
#research-page .mv-research-auth p { color:#737f96; font-size:12px; line-height:1.6; margin:6px 0 0; }
#research-page .mv-research-auth button { flex-shrink:0; }
#research-page .mv-research-search { background:white; border:1px solid var(--research-line); border-radius:14px; padding:24px; box-shadow:0 3px 12px #28395b03; }
#research-page .mv-research-search-row { display:grid; grid-template-columns:126px minmax(0,1fr) auto; gap:10px; }
#research-page input,#research-page select,#research-page textarea { color:var(--research-ink); border:1px solid var(--research-line); border-radius:8px; background:#fff; font:inherit; font-size:13px; box-sizing:border-box; }
#research-page input:focus,#research-page select:focus,#research-page textarea:focus { outline:2px solid #3159d833; outline-offset:1px; border-color:#9eb2e8; }
#research-page .mv-research-search-row input,#research-page .mv-research-search-row select { width:100%; height:47px; padding:0 13px; }
#research-page .mv-research-search-row input { font-size:14px; }
#research-page .mv-research-search-row input::placeholder { color:#a0a7b4; }
#research-page .primary-button { background:var(--research-blue); color:white; border-color:var(--research-blue); border-radius:8px; box-shadow:none; font-size:13px; font-weight:500; }
#research-page button { font-family:inherit; cursor:pointer; }
#research-page button:focus-visible,#research-page a:focus-visible { outline:2px solid #3159d8; outline-offset:3px; }
#research-page button:disabled { opacity:.5; cursor:wait; }
#research-page .mv-research-sources { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:18px; }
#research-page .mv-research-sources>span { font-size:12px; color:var(--research-muted); margin-right:3px; }
#research-page .mv-research-source { display:flex; align-items:center; gap:6px; background:#fafbfef0; border:1px solid #e5e9f3; border-radius:20px; padding:6px 11px; font-size:12px; color:#56627b; cursor:pointer; }
#research-page input[type=checkbox] { width:13px; height:13px; margin:0; accent-color:var(--research-blue); flex:none; }
#research-page .mv-research-consent { display:flex; align-items:flex-start; gap:8px; margin:16px 0 0; font-size:11px; line-height:1.6; color:var(--research-muted); cursor:pointer; }
#research-page .mv-research-consent input { margin-top:2px; }
#research-page .mv-research-examples { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-top:18px; margin-top:18px; border-top:1px solid #f0efeb; }
#research-page .mv-research-examples>span { color:#969da9; font-size:11px; margin-right:5px; }
#research-page .mv-research-examples button { border:0; padding:3px 6px; border-radius:5px; color:#6c7892; background:transparent; font-size:12px; box-shadow:none; }
#research-page .mv-research-examples button:hover { color:var(--research-blue); background:#f1f4fc; }
#research-page .mv-research-results-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:35px 0 20px; }
#research-page .mv-research-results-heading h2 { margin:0; font-family:Georgia,"Noto Serif SC","Songti SC",SimSun,serif; font-size:23px; font-weight:500; letter-spacing:-.025em; overflow-wrap:anywhere; }
#research-page .mv-research-results-heading>span { font-size:12px; flex:none; }
#research-page .mv-research-source-status { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
#research-page .mv-research-source-status:empty { display:none; }
#research-page .mv-research-source-badge { background:#eef6f2; color:#538470; font-size:10px; padding:5px 8px; border-radius:4px; }
#research-page .mv-research-source-badge.is-unavailable { background:#fff4e6; color:#a47a35; }
#research-page .mv-research-source-error { font-size:11px; color:#9a763f; }
#research-page .mv-research-source-note { flex-basis:100%; font-size:11px; color:var(--research-muted); margin:4px 0; line-height:1.7; }
#research-page .mv-research-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#research-page .mv-research-card { border:1px solid var(--research-line); border-radius:12px; background:#fff; padding:22px; display:flex; flex-direction:column; min-width:0; transition:border-color .18s,box-shadow .18s; }
#research-page .mv-research-card:hover { border-color:#c8d2eb; box-shadow:0 5px 18px #202c3c05; }
#research-page .mv-research-card-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
#research-page .mv-research-kind { font-size:10px; color:#5776a0; background:#eef3fa; padding:5px 8px; border-radius:4px; }
#research-page .mv-research-kind.is-book { background:#f2ede4; color:#99805c; }
#research-page .mv-research-provider { font-size:11px; color:#8e96a4; }
#research-page .mv-research-card h3 { font-size:16px; line-height:1.6; font-weight:600; margin:17px 0 8px; overflow-wrap:anywhere; }
#research-page .mv-research-card h3 a { color:var(--research-ink); text-decoration:none; }
#research-page .mv-research-card h3 a:hover { color:var(--research-blue); }
#research-page .mv-research-meta { font-size:11px; line-height:1.8; color:#969da9; margin:0 0 14px; overflow-wrap:anywhere; }
#research-page .mv-research-summary { border:0; padding:0; margin:0 0 16px; color:#68748a; font-size:12px; }
#research-page .mv-research-summary summary { cursor:pointer; font-size:12px; color:#707c91; }
#research-page .mv-research-summary p { white-space:pre-wrap; line-height:1.8; overflow-wrap:anywhere; max-height:300px; overflow:auto; }
#research-page .mv-research-no-summary { color:#a0a5ae; font-size:12px; line-height:1.7; margin:0 0 18px; }
#research-page .mv-research-subjects { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:17px; }
#research-page .mv-research-subjects span { font-size:10px; line-height:1.5; color:#8b93a0; border:1px solid #eeede9; border-radius:3px; padding:2px 6px; }
#research-page .mv-research-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:16px; border-top:1px solid #efeeeb; }
#research-page .mv-research-link { color:var(--research-blue); font-size:12px; text-decoration:none; }
#research-page .mv-research-link:hover { text-decoration:underline; }
#research-page .mv-research-card-bottom button { border:1px solid #dfe6f5; background:#f8faff; color:#4969ba; border-radius:6px; font-size:11px; padding:7px 10px; box-shadow:none; }
#research-page .mv-research-card-bottom button.mv-research-saved { color:#718375; background:#f6faf7; border-color:#dfe9df; }
#research-page .mv-research-guide-grid { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
#research-page .mv-research-guide { padding:24px; border:1px solid var(--research-line); border-radius:12px; background:#fffefa; }
#research-page .mv-research-guide-icon { display:flex; width:40px; height:40px; border-radius:9px; background:#edf2fa; align-items:center; justify-content:center; font:24px Georgia,serif; color:#7390c0; margin-bottom:24px; }
#research-page .mv-research-guide:nth-child(2) .mv-research-guide-icon { background:#f2ede3; color:#b39c73; }
#research-page .mv-research-guide:nth-child(3) .mv-research-guide-icon { background:#eaf3ef; color:#7fa99a; }
#research-page .mv-research-guide h3 { margin:0 0 9px; font-size:14px; font-weight:600; }
#research-page .mv-research-guide p { font-size:12px; line-height:1.9; color:#969da8; margin:0 0 22px; }
#research-page .mv-research-text-button { border:0; background:none; color:#5679bc; font-size:12px; padding:0; box-shadow:none; }
#research-page .mv-research-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px dashed var(--research-line); border-radius:12px; padding:45px 22px; background:#ffffff55; min-height:220px; }
#research-page .mv-research-empty-mark { width:48px; height:48px; display:flex; align-items:center; justify-content:center; border:1px solid var(--research-line); background:#f7f5ee; border-radius:50%; color:#939aab; font:25px Georgia,serif; margin-bottom:18px; }
#research-page .mv-research-empty h3 { font-size:15px; font-weight:500; margin:0 0 9px; }
#research-page .mv-research-empty p { color:var(--research-muted); font-size:12px; line-height:1.8; margin:0; max-width:470px; }
#research-page .mv-research-empty button { margin-top:20px; font-size:12px; }
#research-page .mv-research-library-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
#research-page .mv-research-filters { display:flex; gap:5px; flex-wrap:wrap; }
#research-page .mv-research-filters button { border:0; background:none; color:var(--research-muted); border-radius:7px; box-shadow:none; padding:8px 14px; font-size:12px; }
#research-page .mv-research-filters button.selected { background:#eceff6; color:#4a648e; }
#research-page .mv-research-exports { display:flex; gap:7px; }
#research-page .mv-research-exports button { font-size:11px; padding:7px 10px; border:1px solid var(--research-line); border-radius:6px; color:#818b9d; background:#fff; box-shadow:none; }
#research-page .mv-research-library-message { font-size:12px; color:#8b94a6; line-height:1.7; margin:0 0 14px; }
#research-page .mv-research-library-message:empty { display:none; }
#research-page .mv-research-library-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.9fr); align-items:start; gap:23px; }
#research-page .mv-research-shelves { display:flex; flex-direction:column; gap:10px; min-width:0; }
#research-page .mv-research-shelf { display:flex; text-align:left; gap:16px; align-items:flex-start; padding:18px; background:#fff; border:1px solid var(--research-line); border-radius:10px; box-shadow:none; width:100%; }
#research-page .mv-research-shelf:hover,#research-page .mv-research-shelf.selected { border-color:#b6c7ed; background:#fcfdff; }
#research-page .mv-research-book-mark { width:35px; height:46px; flex:none; display:flex; align-items:center; justify-content:center; border-radius:3px 7px 7px 3px; background:#eef3fa; color:#6580a8; border-left:3px solid #ccdaed; font:22px Georgia,serif; }
#research-page .mv-research-book-mark.is-book { background:#f4eee4; border-left-color:#e5d9c4; color:#a89575; }
#research-page .mv-research-shelf-copy { display:flex; flex-direction:column; min-width:0; }
#research-page .mv-research-shelf-title { font-size:13px; font-weight:600; line-height:1.65; color:var(--research-ink); margin-bottom:6px; overflow-wrap:anywhere; }
#research-page .mv-research-shelf .mv-research-meta { font-size:10px; margin-bottom:9px; }
#research-page .mv-research-shelf-status { font-size:10px; color:#8d9c92; }
#research-page .mv-research-detail { background:#fff; border:1px solid var(--research-line); border-radius:12px; padding:24px; min-width:0; position:sticky; top:24px; }
#research-page .mv-research-detail:empty { display:none; }
#research-page .mv-research-detail-top { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:22px; }
#research-page .mv-research-detail-top .eyebrow { font-size:9px; letter-spacing:.12em; }
#research-page .mv-research-detail-top a { font-size:10px; flex:none; }
#research-page .mv-research-detail h2 { font-size:18px; font-family:Georgia,"Noto Serif SC","Songti SC",SimSun,serif; line-height:1.55; font-weight:500; margin:0 0 10px; overflow-wrap:anywhere; }
#research-page .mv-research-field { display:flex; flex-direction:column; gap:8px; margin:18px 0 0; font-size:11px; color:#7f899a; }
#research-page .mv-research-field select { height:38px; padding:0 10px; width:100%; }
#research-page .mv-research-field textarea { padding:12px; font-size:12px; line-height:1.8; width:100%; min-height:200px; resize:vertical; background:#fffefa; }
#research-page .mv-research-field textarea::placeholder { color:#b4b6b9; }
#research-page .mv-research-note-bottom { display:flex; justify-content:space-between; margin-top:9px; font-size:10px; color:#a0a7b2; }
#research-page .mv-research-save-status { color:#819d8a; }
#research-page .mv-research-detail-actions { display:flex; gap:12px; justify-content:space-between; align-items:center; margin-top:20px; }
#research-page .mv-research-detail-actions button { padding:9px 14px; }
#research-page .mv-research-remove { border:0; color:#a0908c; background:none; font-size:11px; box-shadow:none; }
#research-page .mv-research-citation { margin:24px 0 0; padding:16px 0 0; border:0; border-top:1px solid var(--research-line); font-size:11px; color:#8e97a6; }
#research-page .mv-research-citation summary { cursor:pointer; }
#research-page .mv-research-citation p { font-size:11px; line-height:1.8; word-break:break-word; }
#research-page .mv-research-footnote { border-top:1px solid var(--research-line); padding-top:20px; margin:36px 0 6px; font-size:10px; color:#9aa1ae; line-height:1.8; }
@media(max-width:1050px){
  #research-page .mv-research-guide-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  #research-page .mv-research-guide { padding:18px; }
  #research-page .mv-research-library-body { grid-template-columns:minmax(0,1fr) minmax(280px,1fr); gap:15px; }
  #research-page .mv-research-library-toolbar { flex-wrap:wrap; }
}
@media(max-width:760px){
  #research-page .mv-research-heading { align-items:flex-start; flex-direction:column; gap:14px; margin-bottom:22px; }
  #research-page .mv-research-heading .page-title { font-size:30px; }
  #research-page .mv-research-total { padding:6px 10px; font-size:10px; }
  #research-page .mv-research-auth { align-items:flex-start; padding:15px; }
  #research-page .mv-research-search { padding:17px; }
  #research-page .mv-research-search-row { grid-template-columns:105px minmax(0,1fr); gap:8px; }
  #research-page .mv-research-search-row input { font-size:12px; }
  #research-page .mv-research-search-row button { grid-column:1/-1; padding:11px; }
  #research-page .mv-research-grid { grid-template-columns:1fr; }
  #research-page .mv-research-guide-grid { grid-template-columns:1fr; }
  #research-page .mv-research-guide { padding:20px; }
  #research-page .mv-research-guide-icon { margin-bottom:16px; }
  #research-page .mv-research-guide p { margin-bottom:15px; }
  #research-page .mv-research-library-body { grid-template-columns:1fr; }
  #research-page .mv-research-detail { position:static; padding:20px; }
  #research-page .mv-research-results-heading h2 { font-size:21px; }
  #research-page .mv-research-card { padding:19px; }
  #research-page .mv-research-filters button { padding:7px 10px; }
}
@media(prefers-reduced-motion:reduce){#research-page .mv-research-card{transition:none;}}
