:root {
  --sidebar: #f4f7fb;
  --sidebar-deep: #e8f0f7;
  --sidebar-active: #2f6f9f;
  --sidebar-hover: #e8f0f7;
  --topbar: #ffffff;
  --canvas: #eef2f6;
  --panel: #ffffff;
  --line: #c7d3df;
  --ink: #173b5f;
  --muted: #6a7d90;
  --red: #c83a3a;
  --blue: #2f6f9f;
  --green: #16815c;
  --shadow: 0 12px 30px rgba(21, 34, 50, 0.12);
  --nav-sidebar: #082a43;
  --nav-brand: #061f33;
  --nav-active-group: #0c7f8d;
  --nav-active-marker: #18c0cc;
  --nav-child-panel: #102f4b;
  --nav-active-child: #1c4e78;
  --nav-main-text: #f2f7fa;
  --nav-secondary-text: #c5d4df;
  --nav-muted-text: #7892a6;
  --nav-border: rgba(143, 176, 199, 0.18);
  --nav-hover: #0d3654;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

html[data-mobile-fit="true"],
html[data-mobile-fit="true"] body {
  min-width: 320px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-canvas {
  display: contents;
}

.quote-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 210px;
  overflow-y: auto;
  border-right: 1px solid #17405e;
  background: var(--nav-sidebar);
  color: var(--nav-main-text);
  box-shadow: 8px 0 24px rgba(2, 19, 32, 0.24);
  transition: width 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease;
  user-select: none;
  contain: layout paint style;
  transform: translateZ(0);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--nav-border);
  background: var(--nav-brand);
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 42px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 174, 0.24);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(27, 96, 148, 0.14);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2px;
}

.brand-copy {
  min-width: 0;
}

.sidebar-brand strong,
.sidebar-brand small {
  display: block;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-brand strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.sidebar-brand small {
  margin-top: 2px;
  color: var(--nav-secondary-text);
  font-size: 11px;
  letter-spacing: 0;
}

.about-nav-button {
  display: flex;
  align-items: center;
  width: calc(100% - 16px);
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--nav-main-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  gap: 10px;
  margin: 10px 8px 4px;
  padding: 8px 10px;
  text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.about-nav-button:hover,
.about-nav-button:focus,
.about-nav-button.active {
  border-color: var(--nav-border);
  background: var(--nav-hover);
  color: var(--nav-main-text);
  outline: none;
}

.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  color: var(--nav-muted-text);
  font-size: 12px;
  font-weight: 850;
  padding: 12px 14px;
}

.sidebar-title strong {
  color: var(--nav-main-text);
}

.nav-static-icon,
.nav-group-icon {
  --nav-icon: url("/assets/navigation/route.svg");
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  mask-image: var(--nav-icon);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: var(--nav-icon);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.nav-icon-home { --nav-icon: url("/assets/navigation/home.svg"); }
.nav-icon-plane { --nav-icon: url("/assets/navigation/plane.svg"); }
.nav-icon-ship { --nav-icon: url("/assets/navigation/ship.svg"); }
.nav-icon-train { --nav-icon: url("/assets/navigation/train.svg"); }
.nav-icon-container { --nav-icon: url("/assets/navigation/container.svg"); }
.nav-icon-globe { --nav-icon: url("/assets/navigation/globe.svg"); }
.nav-icon-package { --nav-icon: url("/assets/navigation/package.svg"); }
.nav-icon-file-text { --nav-icon: url("/assets/navigation/file-text.svg"); }
.nav-icon-search { --nav-icon: url("/assets/navigation/search.svg"); }
.nav-icon-route { --nav-icon: url("/assets/navigation/route.svg"); }

.sheet-nav {
  padding: 4px 0 16px;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nav-group {
  margin: 0;
  padding: 4px 10px;
}

.nav-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nav-secondary-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  padding: 9px 8px;
  text-align: left;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.nav-group-toggle:hover,
.nav-group-toggle:focus {
  border-color: var(--nav-border);
  background: var(--nav-hover);
  color: var(--nav-main-text);
  outline: none;
}

.nav-group-toggle .nav-group-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-group-toggle b {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-group.open .nav-group-toggle {
  border-color: var(--nav-border);
  background: #0b3551;
  color: var(--nav-main-text);
}

.nav-group.active-group .nav-group-toggle {
  border-color: rgba(24, 192, 204, 0.34);
  background: var(--nav-active-group);
  color: var(--nav-main-text);
  box-shadow: inset 4px 0 0 var(--nav-active-marker);
}

.nav-group.open .nav-group-toggle b {
  transform: rotate(45deg);
}

.nav-group-items {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
  will-change: opacity, transform;
}

.nav-group.open .nav-group-items {
  max-height: 720px;
  opacity: 1;
  padding: 0 0 8px;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-group-items-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nav-border);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: var(--nav-child-panel);
  padding: 5px 0;
}

.nav-group-items-inner::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 1px;
  background: rgba(197, 212, 223, 0.24);
}

.sheet-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 34px;
  border-radius: 4px;
  background: transparent;
  color: var(--nav-secondary-text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  margin: 1px 5px;
  padding: 8px 8px 8px 34px;
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.sheet-nav a span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #607d91;
  box-shadow: 0 0 0 2px var(--nav-child-panel);
}

.sheet-nav a em {
  flex: 0 0 auto;
  border-radius: 3px;
  background: rgba(242, 247, 250, 0.08);
  color: var(--nav-secondary-text);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  padding: 2px 4px;
}

.sheet-nav a em.trend-up {
  background: rgba(211, 71, 80, 0.2);
  color: #ff969c;
}

.sheet-nav a em.trend-down {
  background: rgba(30, 108, 190, 0.24);
  color: #61b2ff;
}

.sheet-nav a em.trend-flat {
  background: rgba(242, 247, 250, 0.08);
  color: #d2dde5;
}

.sheet-nav a:hover,
.sheet-nav a:focus {
  border-color: rgba(143, 176, 199, 0.12);
  background: rgba(28, 78, 120, 0.56);
  color: var(--nav-main-text);
  outline: none;
}

.sheet-nav a.active {
  border-color: rgba(67, 142, 202, 0.16);
  background: var(--nav-active-child);
  color: var(--nav-main-text);
  box-shadow: none;
}

.sheet-nav a.active::before {
  left: 16px;
  width: 7px;
  height: 7px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(28, 78, 120, 0.92);
}

.sheet-nav a.active em,
.sheet-nav a:hover em {
  background: rgba(242, 247, 250, 0.1);
  color: var(--nav-secondary-text);
}

.sheet-nav a.active em.trend-up,
.sheet-nav a:hover em.trend-up {
  background: rgba(211, 71, 80, 0.24);
  color: #ff9fa4;
}

.sheet-nav a.active em.trend-down,
.sheet-nav a:hover em.trend-down {
  background: rgba(30, 108, 190, 0.3);
  color: #67b7ff;
}

.sheet-nav a.active em.trend-flat,
.sheet-nav a:hover em.trend-flat {
  background: rgba(242, 247, 250, 0.1);
  color: #dce5eb;
}

.quote-sidebar::-webkit-scrollbar-thumb,
.sheet-nav::-webkit-scrollbar-thumb {
  background: rgba(120, 146, 166, 0.42);
}

.page-shell {
  margin-left: 210px;
  transition: margin-left 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  contain: layout paint;
}

body.sidebar-collapsed .quote-sidebar {
  width: 54px;
  overflow: hidden;
  cursor: e-resize;
}

body.sidebar-collapsed .sidebar-brand {
  justify-content: center;
  padding: 10px 8px;
}

body.sidebar-collapsed .brand-copy,
body.sidebar-collapsed .about-nav-button,
body.sidebar-collapsed .sidebar-title,
body.sidebar-collapsed .sheet-nav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.sidebar-collapsed .page-shell {
  margin-left: 54px;
}

.quote-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  background: var(--topbar);
  box-shadow: 0 2px 14px rgba(20, 35, 56, 0.08);
  padding: 8px 18px;
}

.breadcrumb-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.breadcrumb-line strong {
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-content {
  background: #fff;
  padding: 16px;
}

.workbook-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(40, 74, 105, 0.1);
  margin-bottom: 14px;
  padding: 14px 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.workbook-summary h1 {
  max-width: 56vw;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbook-summary p:not(.eyebrow) {
  max-width: 56vw;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.sync-meta div {
  min-width: 110px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fbfd;
  padding: 7px 10px;
}

body.about-active {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #071a2b;
}

body.about-active .quote-sidebar,
body.about-active .quote-topbar,
body.about-active > .contact-rail {
  display: none;
}

body.about-active .page-shell,
body.about-active .quote-content {
  width: 100%;
  max-width: none;
  height: 100dvh;
  margin: 0;
  padding: 0;
  contain: none;
}

.about-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #071a2b;
  box-shadow: none;
  padding: 0;
}

.about-panel[hidden] {
  display: none;
}

.about-video-stage,
.about-video-poster,
.about-video,
.about-video-scrim {
  position: absolute;
  inset: 0;
}

.about-video-stage {
  overflow: hidden;
  background: #071a2b;
  isolation: isolate;
}

.about-video-poster {
  z-index: 0;
  background: #071a2b center / cover no-repeat;
}

.about-video {
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 320ms ease;
  will-change: opacity;
}

.about-video.is-active {
  opacity: 1;
}

.about-video-scrim {
  z-index: 2;
  background: rgba(3, 18, 31, 0.58);
  pointer-events: none;
}

.about-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: 68px;
  padding: 14px 28px;
}

.about-actions {
  display: flex;
  gap: 8px;
}

.about-actions button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 4px;
  background: rgba(7, 26, 43, 0.42);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: 7px 11px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.about-actions button:hover,
.about-actions button:focus-visible {
  border-color: #fff;
  background: rgba(47, 111, 159, 0.72);
  outline: none;
}

.about-content-layout {
  position: absolute;
  inset: 82px 34px 58px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 28px;
  color: #fff;
}

.about-copy {
  align-self: center;
  min-width: 0;
  max-width: 720px;
}

.about-eyebrow {
  margin: 0 0 7px;
  color: #a9c9df;
  font-size: 11px;
  font-weight: 800;
}

.about-copy h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
}

#aboutIntro {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.65;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.about-services li {
  min-width: 0;
}

.about-services strong,
.about-services span {
  display: block;
}

.about-services strong {
  color: #fff;
  font-size: 12px;
}

.about-services span {
  color: #b8c9d6;
  font-size: 10px;
}

.about-licenses {
  align-self: end;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(52%, 360px);
  gap: 8px;
  margin-bottom: 0;
}

.about-licenses[hidden] {
  display: none;
}

.about-license {
  margin: 0;
}

.about-license-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.48 / 1;
  height: auto;
  max-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
}

.about-footer-icons {
  position: absolute;
  right: 34px;
  bottom: 10px;
  left: 34px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: center;
  gap: 6px 12px;
  min-height: 36px;
  padding: 5px 14px;
  overflow: visible;
}

.about-footer-logo {
  display: block;
  width: 100%;
  max-width: 72px;
  height: 26px;
  margin: 0 auto;
  border: 1px solid rgba(199, 211, 223, 0.78);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(3, 18, 31, 0.18);
  object-fit: contain;
  padding: 2px;
}

.about-footer-icons[hidden] {
  display: none;
}

.about-contact-menu {
  position: absolute;
  top: 62px;
  right: 28px;
  z-index: 8;
  display: grid;
  gap: 7px;
  width: 190px;
  border: 1px solid #c7d3df;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(3, 18, 31, 0.24);
  color: #173b5f;
  padding: 12px;
}

.about-contact-menu[hidden] {
  display: none;
}

.about-contact-menu img {
  display: block;
  width: 142px;
  height: 142px;
  margin: 0 auto;
  object-fit: contain;
}

.about-contact-menu a,
.about-contact-menu span {
  color: #173b5f;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.about-noscript {
  position: absolute;
  inset: auto 24px 28px;
  z-index: 6;
  color: #fff;
}

.sync-meta dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.sync-meta dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

#syncStatus[data-status="实时"] {
  color: var(--green);
}

#syncStatus[data-status="同步中"] {
  color: #a66a00;
}

#syncStatus[data-status="离线"],
#syncStatus[data-status="异常"] {
  color: #c92a2a;
}

.sheet-shell {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(40, 74, 105, 0.1);
  overflow: hidden;
  contain: layout paint;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 12px 16px;
}

.sheet-head span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.sheet-head h2 {
  max-width: 58vw;
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sheet-viewport {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior-x: contain;
  background: #fff;
  padding: 12px;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  contain: layout paint style;
}

.sheet-viewport.is-refreshing {
  cursor: progress;
}

.sheet-viewport.is-loading {
  min-height: max(280px, calc(var(--visual-viewport-height, 100vh) - 84px));
}

.sheet-viewport.is-loading .loading-state {
  min-height: max(280px, calc(var(--visual-viewport-height, 100vh) - 108px));
}

.sheet-viewport::-webkit-scrollbar,
.quote-sidebar::-webkit-scrollbar,
.sheet-nav::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sheet-viewport::-webkit-scrollbar-thumb,
.quote-sidebar::-webkit-scrollbar-thumb,
.sheet-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(83, 105, 128, 0.45);
}

.sheet-canvas {
  position: relative;
  display: inline-block;
  min-width: max-content;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  contain: layout paint;
}

.sheet-scale-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
}

.sheet-announcement {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  padding-top: 25%;
  padding-bottom: 10px;
}

.sheet-announcement-banner {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: contain;
  object-position: center;
}

.sheet-notice-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
  margin-top: 10px;
  border: 1px solid #d7e3ee;
  border-top: 1px solid #d7e3ee;
  border-radius: 4px;
  background: #f2f7fc;
  padding: 9px 14px;
  color: #355e85;
  font-size: 14px;
  line-height: 1.4;
}

.sheet-notice-copy,
.sheet-update-date {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.sheet-notice-copy {
  flex: 1 1 auto;
}

.sheet-update-date {
  flex: 0 0 auto;
  font-size: 13px;
  white-space: nowrap;
}

.sheet-notice-copy strong,
.sheet-update-date strong {
  color: #214f79;
  font-weight: 850;
}

.sheet-notice-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: #2f6f9f;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.sheet-notice-icon-volume {
  mask-image: url("/assets/navigation/volume-2.svg");
  -webkit-mask-image: url("/assets/navigation/volume-2.svg");
}

.sheet-notice-icon-calendar {
  mask-image: url("/assets/navigation/calendar-days.svg");
  -webkit-mask-image: url("/assets/navigation/calendar-days.svg");
}

.sheet-excel-stage {
  position: relative;
  display: block;
  width: max-content;
  min-width: 100%;
  background: #fff;
  contain: layout paint;
}

.excel-image-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: visible;
  pointer-events: none;
}

.excel-floating-image {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
  user-select: none;
}

.sheet-viewport .excel-sheet-table {
  border-collapse: collapse;
  background: #fff;
}

.sheet-viewport .excel-cell {
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.loading-state,
.empty-state,
.error-state {
  display: grid;
  min-height: 280px;
  place-items: center;
  border: 1px dashed #aebdcb;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.error-state {
  color: #c92a2a;
}

.contact-rail {
  position: fixed;
  top: var(--contact-rail-top, calc(100vh - 52px));
  left: var(--contact-rail-left, calc(100vw - 52px));
  right: auto;
  bottom: auto;
  z-index: 70;
  width: var(--contact-rail-width, 36px);
  transform-origin: top left;
  transform: scale(var(--contact-rail-inverse-scale, 1));
  contain: style;
}

.contact-rail-items {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.contact-item {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.contact-icon-button,
.contact-rail-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(154, 184, 213, 0.78);
  border-radius: 5px 0 0 5px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 14px rgba(20, 35, 56, 0.14);
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.contact-icon-button {
  width: 36px;
  height: 36px;
  text-decoration: none;
}

.contact-icon-button img,
.contact-rail-toggle img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-rail-toggle {
  display: none;
}

.contact-rail.is-compact .contact-rail-toggle {
  display: grid;
}

.contact-rail.is-compact .contact-rail-items {
  position: absolute;
  top: auto;
  right: 0;
  bottom: calc(var(--contact-rail-width, 36px) + 8px);
  grid-auto-flow: row;
  grid-auto-rows: var(--contact-rail-width, 36px);
  grid-template-columns: repeat(2, var(--contact-rail-width, 36px));
  grid-template-rows: none;
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.16s;
}

.contact-rail.is-compact.is-expanded .contact-rail-items {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-popover {
  position: absolute;
  top: 50%;
  right: calc(var(--contact-rail-width, 36px) + 8px);
  z-index: 2;
  display: grid;
  gap: 3px;
  width: max-content;
  min-width: 132px;
  max-width: 180px;
  transform: translate(8px, -50%);
  border: 1px solid #c9d9e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 35, 56, 0.2);
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  text-align: left;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.16s;
}

.contact-popover strong,
.contact-popover span {
  display: block;
  overflow-wrap: anywhere;
}

.contact-popover strong {
  color: #17344d;
  font-size: 13px;
}

.contact-popover span {
  color: #5b7084;
  font-size: 12px;
}

.contact-popover-qr {
  width: 142px;
  min-width: 142px;
  max-width: 142px;
  text-align: center;
}

.contact-qr {
  display: block;
  width: 120px;
  height: 120px;
  margin: 4px auto;
  object-fit: contain;
}

.contact-item:hover .contact-icon-button:not(.is-hover-suppressed),
.contact-icon-button:focus-visible,
.contact-icon-button.is-pinned {
  border-color: #86bfee;
  background: #edf7ff;
  box-shadow: 0 12px 28px rgba(20, 35, 56, 0.2);
  outline: none;
  transform: translateX(-2px);
}

.contact-item:hover .contact-icon-button:not(.is-hover-suppressed) + .contact-popover,
.contact-icon-button:focus + .contact-popover,
.contact-icon-button.is-pinned + .contact-popover,
.contact-item.is-pinned .contact-popover {
  transform: translate(0, -50%);
  opacity: 1;
  visibility: visible;
}

.contact-icon-button:focus-visible,
.contact-rail-toggle:focus-visible {
  outline: 2px solid #2384c7;
  outline-offset: 2px;
}

.contact-item[data-contact-kind="facebook"] {
  display: none;
}

.contact-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(320px, calc(100vw - 36px));
  transform: translateY(18px);
  border-radius: 6px;
  background: #172033;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  body {
    overflow-x: hidden;
  }

  .quote-topbar {
    position: sticky;
    top: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 10px 12px;
  }

  .breadcrumb-line {
    max-width: calc(100vw - 24px);
  }

  .quote-content {
    padding: 10px;
  }

  .sheet-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }

  .sheet-head h2 {
    max-width: calc(100vw - 46px);
    font-size: 17px;
  }

  .sheet-viewport {
    min-height: 0;
    padding: 8px;
  }

  .sheet-viewport.is-loading {
    min-height: max(280px, calc(var(--visual-viewport-height, 100vh) - 62px));
  }

  .sheet-viewport.is-loading .loading-state {
    min-height: max(264px, calc(var(--visual-viewport-height, 100vh) - 78px));
  }

  .contact-rail {
    top: var(--contact-rail-top, calc(100vh - 54px));
    left: var(--contact-rail-left, calc(100vw - 54px));
    right: auto;
    bottom: auto;
    width: var(--contact-rail-width, 180px);
    transform-origin: top left;
    transform: scale(var(--contact-rail-inverse-scale, 1));
  }

  .contact-rail-items {
    grid-auto-flow: column;
    grid-auto-columns: 42px;
    grid-template-rows: 42px;
  }

  .contact-item {
    width: 42px;
  }

  .contact-icon-button,
  .contact-rail-toggle {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    padding: 5px;
    transform: none;
  }

  .contact-icon-button img,
  .contact-rail-toggle img {
    width: 24px;
    height: 24px;
  }

  .contact-rail.is-compact .contact-rail-items {
    right: 0;
  }

  .contact-popover {
    top: auto;
    right: 0;
    bottom: calc(100% + 8px);
    transform: translateY(8px);
  }

  .contact-item:hover .contact-icon-button:not(.is-hover-suppressed) + .contact-popover,
  .contact-icon-button:focus + .contact-popover,
  .contact-icon-button.is-pinned + .contact-popover,
  .contact-item.is-pinned .contact-popover {
    transform: translateY(0);
  }
}

html[data-mobile-fit="true"] body {
  display: block;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

html[data-mobile-fit="true"] .page-canvas {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-rows: auto;
  width: var(--mobile-layout-width, 1280px);
  zoom: var(--mobile-fit-scale, 1);
}

html[data-mobile-fit="true"] .quote-sidebar {
  position: sticky;
  grid-column: 1;
  grid-row: 1;
  inset: auto;
  top: 0;
  left: auto;
  width: 210px;
  height: var(--mobile-sidebar-height, 100vh);
  transform: none;
}

html[data-mobile-fit="true"] .page-shell {
  grid-column: 2;
  grid-row: 1;
  width: calc(var(--mobile-layout-width, 1280px) - 210px);
  min-width: 0;
  margin-left: 0;
  contain: none;
}

html[data-mobile-fit="true"] body.sidebar-collapsed .quote-sidebar {
  width: 210px;
  overflow-y: auto;
  cursor: default;
}

html[data-mobile-fit="true"] body.sidebar-collapsed .brand-copy,
html[data-mobile-fit="true"] body.sidebar-collapsed .about-nav-button,
html[data-mobile-fit="true"] body.sidebar-collapsed .sidebar-title,
html[data-mobile-fit="true"] body.sidebar-collapsed .sheet-nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html[data-mobile-fit="true"] body.sidebar-collapsed .page-shell {
  margin-left: 0;
}

html[data-mobile-fit="true"] .quote-content,
html[data-mobile-fit="true"] .sheet-shell {
  width: 100%;
  max-width: none;
}

html[data-mobile-fit="true"] .sheet-shell {
  contain: none;
}

html[data-mobile-fit="true"] .sheet-viewport {
  width: fit-content;
  max-width: none;
  overflow: visible;
  overscroll-behavior: none;
  contain: none;
}

html[data-mobile-fit="true"] .contact-rail {
  top: var(--contact-rail-top, calc(100vh - 54px));
  left: var(--contact-rail-left, calc(100vw - 54px));
  right: auto;
  bottom: auto;
  width: var(--contact-rail-width, 180px);
  transform-origin: top left;
  transform: scale(var(--contact-rail-inverse-scale, 1));
}

html[data-mobile-fit="true"] .contact-rail-items {
  grid-auto-flow: column;
  grid-auto-columns: 42px;
  grid-template-rows: 42px;
}

html[data-mobile-fit="true"] .contact-item {
  width: 42px;
}

html[data-mobile-fit="true"] .contact-icon-button,
html[data-mobile-fit="true"] .contact-rail-toggle {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  padding: 5px;
  transform: none;
}

html[data-mobile-fit="true"] .contact-icon-button {
  width: 42px;
  height: 42px;
}

html[data-mobile-fit="true"] .contact-icon-button img,
html[data-mobile-fit="true"] .contact-rail-toggle img {
  width: 24px;
  height: 24px;
}

html[data-mobile-fit="true"] .contact-rail.is-compact .contact-rail-items {
  right: 0;
}

html[data-mobile-fit="true"] .contact-popover {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
  transform: translateY(8px);
}

html[data-mobile-fit="true"] .contact-item:hover .contact-icon-button:not(.is-hover-suppressed) + .contact-popover,
html[data-mobile-fit="true"] .contact-icon-button:focus + .contact-popover,
html[data-mobile-fit="true"] .contact-icon-button.is-pinned + .contact-popover,
html[data-mobile-fit="true"] .contact-item.is-pinned .contact-popover {
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .contact-item:hover .contact-popover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .contact-icon-button.is-pinned + .contact-popover,
  .contact-item.is-pinned .contact-popover {
    transform: translate(0, -50%);
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 980px) {
  .contact-icon-button.is-pinned + .contact-popover,
  .contact-item.is-pinned .contact-popover {
    transform: translateY(0);
  }
}

html[data-mobile-fit="true"] body.about-active {
  width: 100%;
  min-width: 320px;
  height: 100dvh;
}

html[data-mobile-fit="true"] body.about-active .page-canvas {
  display: block;
  width: 100%;
  zoom: 1;
}

html[data-mobile-fit="true"] body.about-active .page-shell {
  display: block;
  width: 100%;
  margin-left: 0;
}

@media (max-width: 980px) {
  .about-header {
    height: 48px;
    padding: 8px 10px;
  }

  .about-actions {
    gap: 5px;
  }

  .about-actions button {
    min-height: 30px;
    font-size: 9px;
    padding: 5px 7px;
  }

  .about-content-layout {
    inset: 54px 12px 54px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 7px;
  }

  .about-copy {
    align-self: start;
    max-width: none;
  }

  .about-eyebrow {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .about-copy h1 {
    margin: 0 0 5px;
    font-size: 18px;
  }

  #aboutIntro {
    margin: 0;
    font-size: 10px;
    line-height: 1.42;
  }

  .about-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 7px;
    margin-top: 8px;
  }

  .about-services strong {
    font-size: 9px;
  }

  .about-services span {
    font-size: 8px;
  }

  .about-licenses {
    align-self: end;
    justify-self: end;
    width: min(45%, 170px);
    margin: 0;
  }

  .about-license-image {
    max-height: min(25dvh, 170px);
  }

  .about-footer-icons {
    right: 8px;
    bottom: 6px;
    left: 8px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px 5px;
    min-height: 0;
    padding: 4px 7px;
  }

  .about-footer-logo {
    max-width: 46px;
    height: 18px;
  }

  .about-contact-menu {
    top: 46px;
    right: 10px;
    width: 176px;
    padding: 10px;
  }

  .about-contact-menu img {
    width: 128px;
    height: 128px;
  }
}

@media (max-height: 680px) {
  .about-header {
    height: 42px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .about-content-layout {
    top: 48px;
    bottom: 50px;
  }

  #aboutIntro {
    font-size: 9px;
    line-height: 1.3;
  }

  .about-services {
    gap: 2px 6px;
    margin-top: 5px;
  }

  .about-services strong {
    font-size: 8px;
  }

  .about-services span {
    font-size: 7px;
  }

  .about-license-image {
    max-height: 22dvh;
  }
}

@media (max-height: 460px) and (orientation: landscape) {
  .about-content-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
    grid-template-rows: 1fr;
    gap: 14px;
    bottom: 38px;
  }

  .about-copy h1 {
    font-size: 15px;
  }

  #aboutIntro {
    font-size: 8px;
  }

  .about-services {
    margin-top: 4px;
  }

  .about-licenses {
    align-self: end;
    width: min(48%, 150px);
  }

  .about-footer-icons {
    right: 10px;
    bottom: 5px;
    left: 10px;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 4px;
    padding: 3px 8px;
  }

  .about-footer-logo {
    max-width: 52px;
    height: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .about-video {
    transition: none;
  }
}
