/* Shared portal identity only. Source artwork is unchanged; transparent canvas
   margins are framed in CSS. No authentication or workspace controls are styled. */
.capest-identity { display:flex; align-items:center; gap:14px; min-width:0; max-width:100%; color:#17467e; text-decoration:none; font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif; line-height:1.4; letter-spacing:0; }
.capest-identity:focus-visible { outline:3px solid #76b9ec; outline-offset:5px; }
.capest-identity__seal { position:relative; display:block; width:52px; flex:0 0 52px; aspect-ratio:5396 / 5394; overflow:hidden; }
.capest-identity__seal img { position:absolute; display:block; width:157.598221%; max-width:none !important; height:auto; left:-28.317272%; top:-2.354468%; }
.capest-identity__text { display:grid; min-width:0; gap:8px; }
.capest-identity__wordmark { display:block; position:relative; width:100%; aspect-ratio:8178 / 1012; overflow:hidden; }
.capest-identity__wordmark img { position:absolute; display:block; width:103.986305%; max-width:none !important; height:auto; left:-1.968697%; top:-37.252964%; }
.capest-identity__label { display:block; font-size:11px; font-weight:500; line-height:1.5; letter-spacing:.06em; opacity:.8; }
.capest-identity--wide { width:440px; flex:0 1 440px; }
.capest-identity--wide,.capest-identity--screen { display:grid; grid-template-columns:52px minmax(0,1fr); column-gap:14px; row-gap:6px; }
.capest-identity--wide .capest-identity__text,.capest-identity--screen .capest-identity__text { display:contents; }
.capest-identity--wide .capest-identity__label,.capest-identity--screen .capest-identity__label { grid-column:2; }
.capest-identity--light { color:#fff; }
.capest-identity--light img { filter:brightness(0) invert(1); }
.capest-identity--side { padding:0 4px 24px; flex-shrink:0; gap:10px; }
.capest-identity--side .capest-identity__seal { width:42px; flex-basis:42px; }
.capest-identity--side .capest-identity__text { gap:6px; }
.capest-identity__name { display:block; font-size:14px; font-weight:600; line-height:1.65; white-space:normal; }
.capest-identity--side .capest-identity__label { font-size:10px; letter-spacing:0; }
.dash-side .capest-identity--side { padding:24px 18px; border-bottom:1px solid var(--office-line,#dbe2e9); }
.capest-identity--card { flex-direction:column; width:100%; margin:0 auto 22px; gap:15px; }
.capest-identity--card .capest-identity__seal { width:64px; flex-basis:auto; }
.capest-identity--card .capest-identity__text { width:min(100%,330px); }
.capest-identity--card .capest-identity__label { display:none; }
.capest-identity--screen { width:460px; }
.capest-mobile-brand { display:none; }
.capest-visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.capest-mobile-brand { background:var(--office-paper,#fff); border-bottom:1px solid var(--office-line,#dde5ef); }
.capest-mobile-brand .capest-identity { max-width:430px; }
html[data-mode="dark"] body[data-office-ui="academic"] .capest-identity,
html[data-mode="dark"] body[data-site-ui="academic"] .capest-identity { color:#e5f0fc; }
html[data-mode="dark"] body[data-office-ui="academic"] .capest-identity img,
html[data-mode="dark"] body[data-site-ui="academic"] .capest-identity img { filter:brightness(0) invert(1); }
@media(max-width:1100px) {
  .rail .capest-identity--side { gap:8px; padding-inline:0; }
  .rail .capest-identity--side .capest-identity__seal { width:34px; flex-basis:34px; }
  .rail .capest-identity__name { font-size:13px; }
}
@media(max-width:1023px) {
  .dash-main > .capest-mobile-brand { display:block; padding:14px 18px; }
}
@media(max-width:767px) {
  .capest-identity--wide,.capest-identity--screen { width:100%; flex:0 1 100%; grid-template-columns:42px minmax(0,1fr); column-gap:10px; }
  .capest-identity--wide .capest-identity__seal,.capest-identity--screen .capest-identity__seal { width:42px; flex-basis:42px; }
  .capest-identity__text { gap:6px; }
  .capest-identity__label { font-size:10px; }
  .capest-mobile-brand { display:block; padding:14px 18px; }
  .capest-screen-identity { min-width:0; width:100%; }
}
@media(forced-colors:active) {
  .capest-identity { color:CanvasText; }
  .capest-identity img { filter:brightness(0); forced-color-adjust:none; }
  .capest-identity__wordmark { overflow:visible; aspect-ratio:auto; }
  .capest-identity__wordmark img { display:none; }
  .capest-identity__wordmark::after { content:'中体能（厦门）体育科技研究院'; font-size:15px; }
}
