@charset "UTF-8";
/* Kimsh's shared palette. Keep report data, charts and embedded products independent. */
:root{
  --brand-bg:#0b1423;--brand-surface:#111e30;--brand-raised:#17263a;
  --brand-gold:#d8b982;--brand-gold-light:#ead1a5;--brand-text:#f6f1e9;
  --brand-muted:#a4b0c3;--brand-line:#d8b98230;--brand-paper:#f4f0e9;
  --brand-ink:#243247;--brand-paper-muted:#586273;--brand-paper-line:#ded7ca;
  --brand-link:#775725;--brand-font:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --ui-bg:var(--brand-bg);--ui-surface:var(--brand-surface);--ui-raised:var(--brand-raised);
  --ui-line:var(--brand-line);--ui-text:var(--brand-text);--ui-muted:var(--brand-muted);
  --ui-accent:var(--brand-gold);--ui-radius:5px;--ui-font:var(--brand-font);
  color-scheme:dark;
}
body:is(.profile-home,.portfolio-page,.site-shell,.reader-shell){
  --ink:var(--brand-text);--muted:var(--brand-muted);--paper:var(--brand-bg);
  --white:var(--brand-surface);--line:var(--brand-line);--accent:var(--brand-gold);
  --green:var(--brand-gold);--soft:var(--brand-raised);--max:1264px;
}
html:has(body.reader-tree-page){background:var(--brand-bg)}
body:is(.portfolio-page,.site-shell,.reader-shell){margin:0;font-family:var(--brand-font);background:var(--brand-bg);color:var(--brand-text);line-height:1.8}
:is(.portfolio-page,.site-shell,.reader-shell) *,#reader-project-tree *{box-sizing:border-box}
:is(.portfolio-page,.site-shell) .wrap{width:min(1264px,calc(100% - 112px))}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar{background:#0b1423f2;border-bottom:1px solid #ffffff0c;backdrop-filter:blur(16px)}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .nav{min-height:88px;height:auto;gap:32px}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .brand{display:inline-block;font:700 34px/1 Georgia,"Times New Roman",serif;letter-spacing:-1.4px;color:var(--brand-text);white-space:nowrap}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .brand span{color:var(--brand-gold)}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks{font:13px/1.7 var(--brand-font);letter-spacing:.03em;gap:26px;color:#c7cbd2}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks a{color:inherit}
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks a:is(:hover,[aria-current]){color:var(--brand-gold)}
:is(.portfolio-page,.site-shell) .contact-link{border:0;border-bottom:1px solid var(--brand-line);padding:3px 0;border-radius:0;color:var(--brand-gold)}
:is(.portfolio-page,.site-shell) :is(h1,h2,h3){font-weight:500;letter-spacing:-.025em;line-height:1.45}
:is(.portfolio-page,.site-shell) h1{font-size:clamp(30px,3.2vw,46px)}
:is(.portfolio-page,.site-shell,.reader-shell) :is(a,button,input,textarea,select,summary):focus-visible,
#reader-project-tree a:focus-visible{outline:2px solid var(--brand-gold);outline-offset:4px}
:is(.portfolio-page,.site-shell,.reader-shell) :is(input,textarea,select){accent-color:var(--brand-gold)}
:is(.portfolio-page,.site-shell,.reader-shell) :is(input,textarea)::placeholder{color:#8d9bb0;opacity:1}
:is(.portfolio-page,.site-shell) .button,.reader-shell button,#document-publish-toolbar button{
  color:#172031;background:var(--brand-gold);border:1px solid var(--brand-gold);
  border-radius:2px;box-shadow:none;min-height:44px;padding:12px 20px;font:600 13px/1.6 var(--brand-font);
}
:is(.portfolio-page,.site-shell) .button:hover,.reader-shell button:hover,#document-publish-toolbar button:hover{background:var(--brand-gold-light);border-color:var(--brand-gold-light);color:#172031}
:is(.portfolio-page,.site-shell) .button.secondary{background:transparent;color:var(--brand-text);border-color:var(--brand-line)}
:is(.portfolio-page,.site-shell) .button.secondary:hover{background:var(--brand-raised)}
:is(.portfolio-page,.site-shell) footer{border-color:var(--brand-line);color:var(--brand-muted)}
:is(.portfolio-page,.site-shell) .kicker{color:var(--brand-gold);font:500 10px/1.8 ui-monospace,monospace;letter-spacing:.16em}
.portfolio-page .case-detail{max-width:860px;padding-block:64px 80px}
.portfolio-page .case-detail h1{margin-block:24px;font-size:clamp(30px,3.5vw,46px)}
.portfolio-page .case-detail :is(p,li){color:var(--brand-muted);line-height:1.95}
.portfolio-page .case-detail .lead{font-size:17px}
.portfolio-page :is(.back,.case-detail .back span){color:var(--brand-muted)}
.portfolio-page .evidence-row{gap:8px}.portfolio-page .evidence-row span{color:#b8ad98;border-color:var(--brand-line);font-size:11px}
.portfolio-page .case-detail :is(.case-art,.case-art.radar,.case-art.research){background:linear-gradient(135deg,#192b40,#101c2d);border:1px solid var(--brand-line);border-radius:3px}
.portfolio-page .case-detail .mini{background:#0b1423;border-color:#d8b98235;color:var(--brand-text);border-radius:2px}
.portfolio-page .case-detail .mini i{color:var(--brand-gold)}
.portfolio-page .case-detail .art-caption{color:var(--brand-muted)}
.portfolio-page .case-detail section{border-color:var(--brand-line);padding-block:30px}
.site-shell .workspace{padding-block:56px 80px;min-height:calc(100vh - 200px)}
.site-shell .workspace>h1{font-size:clamp(30px,3.2vw,44px);font-weight:500;margin-bottom:28px}
.site-shell .workspace :is(article,aside,.chat-turn){background:var(--brand-surface);border-color:var(--brand-line);border-radius:4px}
.site-shell .workspace p{color:var(--brand-muted)}
.site-shell .workspace :is(input:not([type=checkbox]),textarea,select),
dialog:is(#email-dialog,#document-publish-dialog) :is(input,textarea,select){background:#0c1728;color:var(--brand-text);border-color:#d8b98245;border-radius:3px}
.site-shell .workspace :is(small,.blog-meta,.blog-breadcrumb,.blog-suggest-status){color:var(--brand-muted)}
.site-shell .workspace .consult-grid{gap:36px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.site-shell .workspace .consult-grid>*{min-width:0}
.site-shell .chat-turn{border-left:2px solid #d8b98288}
.site-shell .chat-turn h3,.site-shell .chat-turn a{color:var(--brand-gold)}
.site-shell .workspace #quota{color:var(--brand-gold);font-size:12px}
.site-shell dialog,dialog#document-publish-dialog{background:var(--brand-surface);color:var(--brand-text);border:1px solid #d8b98255;border-radius:5px}
.site-shell dialog::backdrop,dialog#document-publish-dialog::backdrop{background:#060c16cc;backdrop-filter:blur(6px)}
.site-shell .studio-login-card{border-radius:4px;border-top:2px solid var(--brand-gold);background:var(--brand-surface)}
.site-shell .studio-login-card :is(h2,.login-badge){color:var(--brand-text)}
.site-shell .studio-login-card .login-badge{color:var(--brand-gold)}
.site-shell .workspace .admin-sidebar{background:#101c2d;border-color:var(--brand-line);border-radius:3px}
.site-shell .admin-sidebar nav a{color:var(--brand-muted);border-radius:2px}
.site-shell .admin-sidebar nav a:first-child:not([aria-current=location]){color:var(--brand-muted)}
.site-shell .admin-sidebar nav a[aria-current=location]{color:var(--brand-gold);background:#d8b9820e}
.site-shell .admin-sidebar nav b{color:#a79577}
.site-shell :is(.admin-intro .section-eyebrow,.admin-link-card .link-type){color:#baa583}
.site-shell .admin-access{background:#d8b98208;color:var(--brand-gold);border-color:#d8b98245;border-radius:3px}
.site-shell .admin-link-card{border-radius:3px;transition:border-color .18s,background .18s}
.site-shell .admin-link-card:hover{border-color:#d8b98288;background:#17263a}
.site-shell .admin-category[data-category=common] .admin-link-card:first-child{border-color:#d8b98265;background:#1b2635}
.site-shell .admin-category[data-category=common] .admin-link-card:first-child strong{color:var(--brand-gold)}
.site-shell .admin-tool{background:var(--brand-surface);border-color:var(--brand-line);border-radius:3px}
.site-shell .admin-tool button{background:var(--brand-raised);color:var(--brand-text);border-color:#d8b98245;border-radius:3px;min-height:44px}
.site-shell .admin-tool button.button{color:#172031;background:var(--brand-gold);border-color:var(--brand-gold)}
.site-shell .admin-search input[type=search]{background:#0c1728;border-color:#d8b98245;border-radius:3px}
.site-shell .blog-intro{border-color:var(--brand-line)}
.site-shell .blog-card{border-top:2px solid #d8b98265!important;transition:border-color .18s}
.site-shell .blog-card:hover{border-color:#d8b98288}
.site-shell .blog-card h2{font-size:25px;font-weight:500}
.site-shell .blog-tag{color:#d7c29f;border-color:#d8b98245;border-radius:2px}
.site-shell .blog-empty{border-color:var(--brand-line);border-radius:3px}
.site-shell .blog-language-switch a{border-color:var(--brand-line);border-radius:2px}
.site-shell .blog-language-switch [aria-current]{background:var(--brand-gold);color:#172031}
/* A warm reading surface repeats the homepage's light expertise section. */
.site-shell .workspace .blog-article{--ink:var(--brand-ink);--muted:var(--brand-paper-muted);--accent:var(--brand-link);background:var(--brand-paper);color:var(--brand-ink);border-color:var(--brand-paper-line);border-radius:4px;color-scheme:light}
.site-shell .blog-article :is(p,.blog-meta,.blog-breadcrumb){color:var(--brand-paper-muted)}
.site-shell .blog-article :is(h1,h2,h3,h4){color:var(--brand-ink);font-weight:500}
.site-shell .blog-article a{color:var(--brand-link);text-decoration:underline;text-underline-offset:4px}
.site-shell .blog-article .blog-meta{border-color:var(--brand-paper-line)}
.site-shell .blog-article .blog-tag{color:var(--brand-link);border-color:#b9a37f;text-decoration:none}
.site-shell .blog-article .blog-toc{background:#ebe6dc;border-color:var(--brand-paper-line);border-radius:3px}
.site-shell .blog-article :is(th,td){border-color:var(--brand-paper-line)}
.site-shell .blog-article th{background:#e8e1d5;color:var(--brand-ink)}
.site-shell .blog-article pre{background:#111e30;color:#efe7d7;border-color:#d8b98235;border-radius:3px}
.site-shell .blog-article blockquote{border-color:#b39a6e;color:#65553b}
.site-shell .blog-article hr{border-color:var(--brand-paper-line)}
.site-shell .blog-tag-input,.site-shell .blog-translation,.site-shell .article-preview-panel{background:#101c2d;border-color:#d8b98245;border-radius:3px}
.site-shell .blog-tag-chip{background:#d8b9821a;color:var(--brand-gold);border-radius:2px}
#document-publish-toolbar{background:#152235;color:var(--brand-text);border-color:#d8b98245;border-radius:3px;font-family:var(--brand-font)}
dialog#document-publish-dialog :is(h2,label,summary){color:var(--brand-text)}
dialog#document-publish-dialog p{color:var(--brand-muted)}
dialog#document-publish-dialog :is(button,.blog-primary){background:var(--brand-gold);color:#172031;border-color:var(--brand-gold);border-radius:2px}
dialog#document-publish-dialog .document-publish-actions{background:var(--brand-surface)}
dialog#document-publish-dialog .document-preview{background:#0b1423;color:var(--brand-text);border-color:var(--brand-line);border-radius:3px}
dialog#document-publish-dialog :is(a,.blog-body h1,.blog-body h2,.blog-body h3){color:var(--brand-gold)}
dialog#document-publish-dialog :is(details,.blog-tag-input){border-color:var(--brand-line)}
dialog#document-publish-dialog .blog-tag-input{background:#0c1728}
dialog#document-publish-dialog .blog-tag-chip{background:#d8b9821a;color:var(--brand-gold)}
.reader-shell>main{padding-block:56px;font-size:15px}
.reader-shell>.topbar .nav{max-width:1264px;width:calc(100% - 112px);padding-inline:0}
.reader-shell h1{font-size:clamp(28px,3vw,40px);font-weight:500;letter-spacing:-.025em}
.reader-shell input{background:#0c1728;border-color:#d8b98245;border-radius:3px}
.reader-shell article{background:var(--brand-surface);border-color:var(--brand-line);border-radius:3px}
.reader-shell a{color:var(--brand-gold)}
.reader-tree-page{--reader-paper:var(--brand-paper);--reader-ink:var(--brand-ink);--reader-muted:var(--brand-paper-muted);--reader-line:var(--brand-paper-line);--reader-link:var(--brand-link);background:var(--brand-bg)!important}
#reader-project-tree{background:#101c2d;border-color:var(--brand-line);border-radius:4px;box-shadow:none;color:var(--brand-text);scrollbar-color:#70624e transparent}
#reader-project-tree h2{color:#aa9c85;font:500 11px/1.6 ui-monospace,monospace;letter-spacing:.15em}
#reader-project-tree nav>a,#reader-project-tree nav a,#reader-project-tree .reader-folder>summary{color:#b7bfcb}
#reader-project-tree nav>details,#reader-project-tree ul{border-color:var(--brand-line)}
#reader-project-tree nav a:hover{background:#d8b9820c;color:var(--brand-gold)}
#reader-project-tree nav a[aria-current=page]{background:#d8b98216;color:var(--brand-gold)}
#reader-project-tree nav a{border-radius:2px}
#reader-project-tree .reader-folder small{color:#a89576}
.reader-tree-page #reader-document{border-radius:4px;border-color:var(--brand-paper-line)}
.reader-shell #reader-document :is(h1,h2),.reader-article #reader-document :is(h1,h2,h3){color:var(--brand-ink);font-weight:500}
.reader-shell #reader-document :is(article,section),.reader-article #reader-document :is(article,section,.card,.panel){background:#faf7f1;border-color:var(--brand-paper-line);border-radius:3px}
.reader-shell #reader-document article li{border-color:var(--brand-paper-line)}
.reader-article #reader-document :is(header,.hero,.ov-mast){background:#ebe5d9;border-color:var(--brand-paper-line);border-radius:3px}
.reader-article #reader-document :is(header,.hero,.ov-mast) p{color:var(--brand-paper-muted)}
.reader-article #reader-document :is(.notice,.note,.callout,blockquote){background:#ebe5d9;color:#645238;border-color:#c5b28e;border-radius:3px}
.reader-article #reader-document table{background:#faf7f1}
.reader-article #reader-document th{background:#e8e1d5;color:var(--brand-ink)}
.reader-article #reader-document tr:nth-child(even){background:#eee8de}
.reader-article #reader-document pre{background:#111e30;color:#efe7d7;border-color:#d8b98235;border-radius:3px}
.reader-article #reader-document :not(pre)>code{background:#e8e1d5;color:#6e532e;border-radius:2px}
.reader-article #reader-document main>nav[aria-label="报告目录"]>a{background:#faf7f1;border-color:var(--brand-paper-line);color:var(--brand-link);border-radius:2px}
.reader-article #reader-document main>nav[aria-label="报告目录"]>a:hover{background:#e8e1d5;border-color:#b29c77}
.reader-title-search{background:#faf7f1;border-color:var(--brand-paper-line);border-radius:3px;color:var(--brand-ink);font-family:var(--brand-font)}
.reader-title-search label,.reader-title-search>[role=status]{color:var(--brand-paper-muted)}
.reader-title-search input[type=search]{background:#f4f0e9;border-color:#c4b9a5;color:var(--brand-ink);border-radius:2px}
.reader-title-search input[type=search]::placeholder{color:var(--brand-paper-muted)}
.reader-title-search input:focus-visible{outline-color:#93713c}
.reader-title-search>ul>li>a,.reader-shell #reader-document .reader-folder>summary{color:var(--brand-link)}
.reader-title-search>ul>li>a{border-color:var(--brand-paper-line)}
.reader-title-search>ul>li>a:hover{background:#ebe5d9}
.kimsh-vnc-home{background:#101c2df2;color:var(--brand-gold);border-color:var(--brand-line);border-radius:3px;font-family:var(--brand-font)}
.noVNC_panel{background:#111e30!important;border-color:#d8b98245!important;border-radius:4px!important}
.noVNC_panel .noVNC_heading{background:#0b1423!important;color:var(--brand-text)!important}
.noVNC_panel input[type=submit]{background:var(--brand-gold)!important;color:#172031!important;border-radius:2px!important}
@media(max-width:900px){:is(.portfolio-page,.site-shell) .wrap{width:calc(100% - 64px)}.reader-shell>.topbar .nav{width:calc(100% - 48px)}}
@media(max-width:700px){
  :is(.portfolio-page,.site-shell) .wrap{width:calc(100% - 40px)}
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar .nav{min-height:76px;padding-block:18px;gap:16px;flex-wrap:wrap;align-items:center}
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar .brand{font-size:29px}
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks{font-size:11px;gap:10px 16px;justify-content:flex-start}
  .portfolio-page>.topbar .navlinks{width:100%;order:2}
  .portfolio-page>.topbar .navlinks>a:first-child{display:inline}
  .site-shell .workspace{padding-block:34px 52px}
  .site-shell .workspace .consult-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .portfolio-page .case-detail{padding-block:36px 52px}
  .site-shell .blog-card h2{font-size:22px}
  .reader-shell>.topbar .nav{width:calc(100% - 40px)}
  .reader-shell>.topbar .navlinks{width:100%}
  .reader-tree-page #reader-document{border-radius:3px}
}
@media(prefers-reduced-motion:reduce){.site-shell :is(.admin-link-card,.blog-card){transition:none}}
@media print{
  body:is(.portfolio-page,.site-shell,.reader-shell),.reader-tree-page{background:white!important;color:#222!important}
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar,.site-shell footer{display:none}
  .site-shell .workspace .blog-article{background:white;border:0;padding:0}
  .reader-tree-page #reader-document{background:white;border:0}
}

/* A shared editorial rhythm, without restyling embedded products or report charts. */
:root {
  --brand-control-line: #63748d;
  --brand-panel-line: #35465c;
  --brand-radius: 8px;
}
.site-skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 50;
  transform: translateY(calc(-100% - 20px));
  padding: 8px 16px;
  background: var(--brand-paper);
  color: var(--brand-ink);
}
.site-skip:focus { transform: none; }
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar { border-bottom-color: var(--brand-panel-line); }
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .nav { min-height: 72px; gap: 24px; }
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .brand { font-size: 32px; }
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks { font-size: 14px; }
:is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; }
.site-shell>.topbar .navlinks [lang=en] { font-size: 12px; color: var(--brand-muted); }
:is(.portfolio-page,.site-shell) .button,.reader-shell button,#document-publish-toolbar button {
  border-radius: 6px; font-size: 14px; min-height: 44px;
}
.site-shell .workspace { padding-block: 48px 72px; }
.site-shell .workspace>h1 { line-height: 1.24; margin: 0 0 24px; }
.site-shell .workspace>:is(.lead,#conversation) { max-width: 46rem; }
.site-shell .workspace>.lead { font-size: 17px; line-height: 1.7; }
.site-shell .workspace>.lead [lang=en] { display: inline-block; margin-top: 4px; font-size: 15px; }
.site-shell .workspace :is(input:not([type=checkbox]),textarea,select),
dialog:is(#email-dialog,#document-publish-dialog) :is(input,textarea,select) {
  border-color: var(--brand-control-line); border-radius: 6px; min-height: 44px;
}
.site-shell .workspace #quota {
  font-size: 14px; width: fit-content; padding: 4px 12px;
  border: 1px solid var(--brand-panel-line); border-radius: 6px;
}
.site-shell .workspace .consult-grid { align-items: start; gap: 20px; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); margin-top: 24px; }
.site-shell .consult-grid :is(form,aside) {
  padding: clamp(16px, 3vw, 28px); border: 1px solid var(--brand-panel-line);
  border-radius: var(--brand-radius); background: var(--brand-surface);
}
.site-shell .consult-grid label,.site-shell .consult-grid aside h2 { margin-top: 0; }
.site-shell .consult-grid aside h2 { font-size: 18px; }
.site-shell .consult-grid aside ul { padding-inline-start: 1.25em; margin-block: 12px; color: var(--brand-muted); }
.site-shell .consult-grid aside a { display: inline-flex; align-items: center; min-height: 44px; }
.site-shell .consult-grid form p { font-size: 14px; }
.site-shell .consult-grid form label [lang=en] { color: var(--brand-muted); }
.site-shell #question-status:empty { display: none; }
.site-shell .studio-login-card,.reader-shell .reader-login-card {
  max-width: 440px; margin: 12px auto 0; padding: clamp(20px, 4vw, 36px);
  background: var(--brand-surface); border: 1px solid var(--brand-panel-line);
  border-top: 2px solid var(--brand-gold); border-radius: var(--brand-radius);
}
.site-shell .studio-login-card h2,.reader-shell .reader-login-card h1 { font-size: 25px; margin: 0; }
.reader-shell .reader-login-card p { color: var(--brand-muted); }
.reader-shell .reader-login-card input {
  display: block; width: 100%; min-height: 44px; margin-top: 6px;
  color: var(--brand-text); border: 1px solid var(--brand-control-line); border-radius: 6px;
}
.reader-shell .reader-login-card button { width: 100%; }
.reader-shell .reader-login-card [role=status]:empty,.site-shell .studio-login-card [role=status]:empty { display: none; }
.site-shell .workspace .admin-sidebar { border-color: var(--brand-panel-line); border-radius: var(--brand-radius); }
.site-shell .admin-sidebar .sidebar-label { font-size: 12px; letter-spacing: .02em; }
.site-shell .admin-sidebar nav a { min-height: 44px; align-items: center; border-radius: 5px; }
.site-shell .admin-content .admin-intro { align-items: center; padding-bottom: 16px; }
.site-shell .admin-content .admin-intro h2 { margin: 0; }
.site-shell .admin-access { padding: 4px 10px; border-radius: 5px; white-space: nowrap; }
.site-shell .admin-search input[type=search] { border-color: var(--brand-control-line); }
.site-shell .admin-category-head h3 { font-weight: 650; }
.site-shell .admin-category .admin-link-card {
  position: relative; padding: 16px 32px 16px 16px; min-height: 100px;
  gap: 4px; background: var(--brand-surface); border: 1px solid var(--brand-panel-line); border-radius: var(--brand-radius);
}
.site-shell .admin-category .admin-link-card::after { content: "↗" / ""; position: absolute; inset: 16px 13px auto auto; color: var(--brand-gold); }
.site-shell .admin-category .admin-link-card:hover { border-color: var(--brand-gold); background: var(--brand-raised); }
.site-shell .admin-link-card strong { font-size: 15px; }
.site-shell .admin-link-card span { font-size: 13px; }
.site-shell .admin-tool { border-color: var(--brand-panel-line); border-radius: var(--brand-radius); }
.site-shell .workspace .blog-card { border-color: var(--brand-panel-line); border-radius: var(--brand-radius); }
.site-shell .workspace .blog-article { border-radius: var(--brand-radius); }
.portfolio-page .case-detail { max-width: 928px; }
.portfolio-page .case-detail h1 { line-height: 1.23; }
.portfolio-page .case-detail .lead { max-width: 42em; }
.portfolio-page .case-detail .case-art { border-radius: var(--brand-radius); border-color: var(--brand-panel-line); }
.portfolio-page .case-detail section h2 { font-weight: 650; }
.portfolio-page .case-detail section p { max-width: 46em; }
#reader-project-tree { border-color: var(--brand-panel-line); border-radius: var(--brand-radius); }
#reader-project-tree h2 { font: 650 13px/1.5 var(--brand-font); letter-spacing: 0; color: var(--brand-text); }
#reader-project-tree nav>a { padding-block: 9px; }
#reader-project-tree nav a { border-radius: 5px; }
.reader-tree-page #reader-document { border-radius: var(--brand-radius); }
.reader-shell #reader-document article,.reader-title-search { border-radius: 6px; }
.reader-title-search input[type=search] { border-radius: 5px; min-height: 44px; }
.noVNC_panel { border-radius: var(--brand-radius) !important; }
.noVNC_panel input[type=submit] { min-height: 44px; border-radius: 6px !important; }
@media (max-width: 760px) {
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar .nav { padding-block: 10px; gap: 4px 16px; min-height: 0; }
  :is(.portfolio-page,.site-shell,.reader-shell)>.topbar .navlinks { gap: 4px 14px; font-size: 13px; }
  .site-shell>.topbar .navlinks [lang=en] { display: none; }
  .site-shell .workspace { padding-block: 32px 48px; }
  .site-shell .workspace .consult-grid { grid-template-columns: minmax(0, 1fr); }
  .site-shell .admin-content .admin-intro h2 { font-size: 20px; }
  .site-shell .admin-category .admin-link-card { min-height: 0; }
}

.site-shell .workspace:has(>.studio-login-card) { max-width: 440px; }
.site-shell .workspace:has(>.studio-login-card)>h1 { font-size: 16px; color: var(--brand-muted); margin-bottom: 12px; }
.site-shell .workspace>.studio-login-card { margin-top: 0; }
@media (max-width: 700px) {
  .site-shell .admin-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; overflow: visible; }
}
@media (max-width: 540px) {
  .site-shell .admin-category .admin-link-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .site-shell .admin-category .admin-link-card { padding-block: 12px; }
}
