:root{
  --xls-blue:#2f80ff;
  --xls-blue-dark:#1e63d8;
  --xls-dark:#12396d;
  --xls-muted:#66758f;
  --xls-line:#dceaff;
  --xls-soft:#f5f9ff;
  --xls-shadow:0 22px 70px rgba(47,128,255,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:linear-gradient(135deg,#eaf5ff 0%,#f8fbff 54%,#fffaf0 100%);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--xls-dark);
}
a{text-decoration:none;color:inherit}
.mindmaps-app{width:min(1180px,calc(100vw - 32px));margin:0 auto;padding:18px 0 86px}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:42px;height:42px;border-radius:15px;background:#fff;display:grid;place-items:center;box-shadow:0 10px 28px rgba(47,128,255,.13);overflow:hidden}
.logo img{width:100%;height:100%;object-fit:cover}
.brand-title{font-size:20px;font-weight:1000}
.brand-sub{display:block;font-size:12px;color:var(--xls-muted);font-weight:800}
.top-actions{display:flex;gap:10px;align-items:center}
.pill{height:38px;display:inline-flex;align-items:center;padding:0 15px;border:1px solid var(--xls-line);border-radius:999px;background:rgba(255,255,255,.84);font-weight:900;color:#2b5f9e}
.pill.primary{background:var(--xls-blue);border-color:var(--xls-blue);color:#fff}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:18px;align-items:stretch;border:1px solid var(--xls-line);border-radius:30px;background:rgba(255,255,255,.94);box-shadow:var(--xls-shadow);padding:24px;margin:8px 0 18px}
.kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eaf3ff;color:#1f63d8;font-weight:1000;letter-spacing:.08em;font-size:12px}
.hero h1{font-size:38px;line-height:1.12;margin:14px 0 10px}
.hero p{font-size:16px;line-height:1.8;color:var(--xls-muted);margin:0}
.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.hero-tags span{padding:6px 10px;border-radius:999px;background:#f5f9ff;border:1px solid #e2edff;color:#315d93;font-size:12px;font-weight:1000}
.member-panel{border:1px solid var(--xls-line);border-radius:24px;background:linear-gradient(180deg,#f8fbff,#fff);padding:18px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.member-panel b{font-size:21px}
.member-panel span{color:var(--xls-muted);line-height:1.6;font-size:14px}
.member-panel .vip-mark{align-self:flex-start;padding:6px 10px;border-radius:999px;background:#fff3d8;color:#a76600;font-weight:1000;font-size:12px}
.member-state{display:inline-flex;align-self:flex-start;padding:7px 10px;border-radius:999px;background:#e9fff4;color:#087346;font-weight:1000}
.catalog-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}
.side,.content-panel,.detail-card,.side-card{border:1px solid var(--xls-line);background:rgba(255,255,255,.94);border-radius:26px;box-shadow:0 12px 38px rgba(47,128,255,.07)}
.side{position:sticky;top:14px;padding:14px}
.side h3{margin:0 0 10px;font-size:16px}
.cat-btn{width:100%;height:40px;border:0;border-radius:14px;background:transparent;color:#325b8f;font-weight:900;text-align:left;padding:0 12px;cursor:pointer;white-space:nowrap}
.cat-btn.active{background:#eaf3ff;color:#1f63d8}
.content-panel{padding:16px}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:12px}
.section-title h2{margin:0;font-size:22px}
.section-title p{margin:6px 0 0;color:var(--xls-muted);font-weight:700}
.section-title b{font-size:13px;color:#1f63d8;background:#eaf3ff;border-radius:999px;padding:7px 10px;white-space:nowrap}
.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:14px}
.search-row input{height:46px;border:1px solid var(--xls-line);border-radius:16px;padding:0 15px;font-size:15px;font-weight:800;color:var(--xls-dark);background:#f8fbff}
.search-row button,.blue-btn{height:46px;border:0;border-radius:16px;background:var(--xls-blue);color:#fff;font-weight:1000;padding:0 18px;cursor:pointer}
.grouped-catalog{display:grid;gap:16px}
.map-module{border:1px solid #e2edff;border-radius:24px;background:linear-gradient(180deg,#ffffff,#fbfdff);padding:14px}
.module-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.module-head h3{margin:0;font-size:19px}.module-head p{margin:5px 0 0;color:var(--xls-muted);font-size:13px;font-weight:800}.module-head span{flex:0 0 auto;border-radius:999px;padding:5px 9px;background:#eef2f7;color:#667085;font-size:12px;font-weight:1000}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.map-card{border:1px solid #dfe8f5;border-radius:20px;background:linear-gradient(180deg,#fbfdff,#f7f9fc);box-shadow:0 10px 26px rgba(83,105,135,.06);padding:15px;min-height:138px;display:flex;flex-direction:column;position:relative;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.map-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(47,128,255,.10)}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.tag{display:inline-flex;align-items:center;height:25px;border-radius:999px;padding:0 9px;background:#eef6ff;color:#1f63d8;font-size:12px;font-weight:1000;white-space:nowrap}
.tag.order{background:#f5f3ff;color:#5b21b6}.tag.pending{background:#eef2f7;color:#667085}
.map-card h3{font-size:18px;line-height:1.3;margin:0 0 7px;color:#203f68}.map-card p{margin:0;color:#66758f;line-height:1.58;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-foot{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.card-foot span{font-size:12px;font-weight:900;color:#60779a;background:#f5f9ff;border:1px solid #e4efff;border-radius:999px;padding:4px 8px}.view-map-btn{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:#edf5ff;color:#1f63d8;font-weight:1000}
.show-more{margin-top:12px;width:100%;height:38px;border:1px solid #dceaff;background:#f8fbff;border-radius:14px;color:#1f63d8;font-weight:1000;cursor:pointer}
.empty{padding:20px;border:1px dashed #bad6ff;border-radius:18px;background:#f8fbff;color:#65748c;font-weight:900;text-align:center}
.toast{position:fixed;left:50%;bottom:86px;transform:translateX(-50%) translateY(18px);z-index:9999;max-width:min(520px,calc(100vw - 32px));padding:12px 16px;border-radius:999px;background:#12396d;color:#fff;box-shadow:0 16px 42px rgba(18,57,109,.22);font-weight:900;opacity:0;pointer-events:none;transition:all .2s ease}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.right-panel,.recent-list,.map-center,.node-cloud,.mindmap-node-grid{display:none}

.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}
.detail-card{padding:20px;border-radius:30px;box-shadow:var(--xls-shadow)}
.detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.detail-head h1{margin:0 0 8px;font-size:32px}
.detail-head p{margin:0;color:var(--xls-muted);line-height:1.8}
.meta{display:flex;gap:8px;flex-wrap:wrap}
.meta span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f3f8ff;border:1px solid #dbe9ff;color:#3a5f8b;font-size:12px;font-weight:1000}
.detail-side{position:sticky;top:14px;display:grid;gap:14px}
.side-card{padding:14px;background:#fff}
.side-card h3{margin:0 0 10px}
.related-list{display:grid;gap:10px}
.mini-card{display:block;border:1px solid #e2edff;background:#f8fbff;border-radius:16px;padding:10px}
.mini-card b{display:block;font-size:14px;margin-bottom:4px}.mini-card span{font-size:12px;color:var(--xls-muted);font-weight:800}
.fullscreen-btn{height:38px;border:1px solid #dceaff;background:#fff;color:#1f63d8;border-radius:999px;font-weight:1000;padding:0 14px}
.locked-mask{margin-top:14px;border:1px solid #ffe1a6;background:#fff8e8;border-radius:22px;padding:16px;color:#8a5400;font-weight:900;line-height:1.7}

.map-canvas{position:relative;min-height:72vh;width:100%;margin-top:18px;border:1px solid #dceaff;border-radius:28px;background:radial-gradient(circle at 20px 20px, rgba(47,128,255,.07) 1px, transparent 1px),linear-gradient(180deg,#fff,#f8fbff);background-size:22px 22px,auto;overflow:hidden;touch-action:none;cursor:grab;box-shadow:inset 0 0 0 1px rgba(255,255,255,.86),0 18px 55px rgba(47,128,255,.10);isolation:isolate}
.map-canvas.dragging{cursor:grabbing}
.map-canvas.fullscreen{position:fixed;inset:0;z-index:2147480000;width:100vw;height:100vh;min-height:100vh;border-radius:0;background:#f8fbff;box-shadow:none}
.canvas-tools{position:absolute;right:18px;top:16px;z-index:60;display:flex;align-items:center;gap:8px;border:1px solid #dceaff;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(47,128,255,.16);padding:7px;backdrop-filter:blur(10px)}
.map-canvas.fullscreen .canvas-tools{right:22px;top:22px}
.canvas-tools button{width:36px;height:36px;border:0;border-radius:50%;background:#f1f7ff;color:#1f63d8;font-weight:1000;font-size:18px;cursor:pointer;display:grid;place-items:center}
.canvas-tools button:hover{background:#2f80ff;color:#fff}
.canvas-tools .zoom-text{min-width:58px;text-align:center;font-weight:1000;color:#234767;font-size:14px}
.canvas-layer{position:absolute;left:50%;top:50%;width:1800px;height:1100px;transform:translate(-50%,-50%) scale(.92);transform-origin:center center;transition:transform .08s linear;will-change:transform;z-index:10}
.xmind-lines{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.xmind-lines path{fill:none;stroke:#8dbfff;stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 4px 10px rgba(47,128,255,.14))}
.xnode{position:absolute;transform:translate(-50%,-50%);min-width:166px;max-width:236px;border:1px solid #cfe1ff;border-radius:18px;background:#fff;color:#12396d;box-shadow:0 14px 34px rgba(47,128,255,.14);padding:12px 15px;text-align:left;cursor:pointer;font-weight:1000;font-size:15px;line-height:1.38;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;white-space:normal;overflow:visible;z-index:20}
.xnode span{display:block;line-height:1.38}.xnode em{display:block;margin-top:5px;color:#6b7b93;font-size:12px;line-height:1.2;font-style:normal;font-weight:900}
.xnode.center{min-width:230px;max-width:280px;border:0;background:linear-gradient(135deg,#2f80ff,#1765e8);color:#fff;border-radius:24px;box-shadow:0 18px 46px rgba(47,128,255,.35);font-size:20px;line-height:1.35;padding:18px 22px;text-align:center}
.xnode.center em{color:rgba(255,255,255,.82);font-size:13px}
.xnode.small{min-width:128px;max-width:176px;padding:9px 11px;border-radius:15px;background:#fafdff;font-size:14px}
.xnode.linkable::after{content:'↗';position:absolute;right:-8px;top:-8px;width:24px;height:24px;border-radius:50%;background:#2f80ff;color:#fff;display:grid;place-items:center;font-size:12px;box-shadow:0 8px 18px rgba(47,128,255,.22)}
.xnode:hover{border-color:#72b2ff;box-shadow:0 18px 46px rgba(47,128,255,.22)}
.mindmap-overlay{position:absolute;inset:0;z-index:80;pointer-events:none}
.node-info-panel{position:absolute;right:22px;top:74px;width:400px;max-width:calc(100% - 44px);max-height:calc(100% - 104px);overflow:auto;z-index:90;border:1px solid #dceaff;border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(9,24,48,.22);padding:22px;display:none;pointer-events:auto}
.node-info-panel.show{display:block}
.node-info-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#eef6ff;color:#1f63d8;font-size:22px;font-weight:1000;cursor:pointer}
.node-info-label{display:inline-flex;border-radius:999px;background:#eef6ff;color:#1f63d8;padding:6px 10px;font-weight:1000;font-size:12px;margin-bottom:10px}
.node-info-panel h3{margin:0 40px 12px 0;font-size:24px;line-height:1.35;color:#102f55}
.node-info-panel p{margin:0;color:#415d7f;line-height:1.8;font-weight:800}
.node-info-example{margin-top:14px;border-left:4px solid #2f80ff;background:#f5f9ff;border-radius:14px;padding:12px 14px;color:#12396d;line-height:1.75;font-weight:900}
.node-info-link{display:inline-flex;margin-top:14px;align-items:center;justify-content:center;min-height:38px;border-radius:999px;background:#2f80ff;color:#fff;padding:0 16px;font-weight:1000}

.mobile-bottom-nav{display:none}

@media (max-width:980px){
  .catalog-shell,.detail-layout{grid-template-columns:1fr}
  .side,.detail-side{position:static}
  .hero{grid-template-columns:1fr}
  .side{overflow:auto;white-space:nowrap;padding:10px}
  .side h3{display:none}
  .cat-btn{width:auto;display:inline-flex;align-items:center;margin-right:6px}
  .module-grid{grid-template-columns:1fr}
  .map-canvas{min-height:calc(100vh - 230px)}
  .node-info-panel{right:12px;left:12px;top:auto;bottom:12px;width:auto;max-width:none;max-height:55vh;border-radius:24px 24px 18px 18px}
}
@media (max-width:760px){
  body{background:#f5f9ff}
  .mindmaps-app{width:100%;padding:10px 12px 86px}
  .topbar{height:auto;padding:6px 2px}
  .brand-sub,.top-actions .pill:not(.primary){display:none}
  .brand-title{font-size:17px}
  .hero{border-radius:24px;padding:18px;box-shadow:0 12px 34px rgba(47,128,255,.10)}
  .hero h1{font-size:27px}.hero p{font-size:14px}
  .member-panel{display:none}
  .catalog-shell{display:block}.side{margin-bottom:12px;border-radius:22px}.content-panel{padding:12px;border-radius:22px}
  .section-title{align-items:flex-start}.section-title h2{font-size:20px}.section-title p{font-size:13px}
  .search-row{grid-template-columns:1fr}
  .map-module{padding:12px;border-radius:22px}.module-head h3{font-size:18px}
  .map-card{min-height:104px;border-radius:18px;padding:13px}.map-card h3{font-size:17px;white-space:normal;overflow:visible}.map-card p{font-size:13px;-webkit-line-clamp:1}.card-foot{display:flex}
  .toast{bottom:76px;border-radius:18px;text-align:center}
  .detail-head h1{font-size:24px}.meta{gap:6px}
  .map-canvas{min-height:calc(100vh - 236px);border-radius:22px;margin-bottom:12px}
  .canvas-tools{left:50%;right:auto;top:12px;transform:translateX(-50%);gap:5px;padding:6px}
  .map-canvas.fullscreen .canvas-tools{top:calc(10px + env(safe-area-inset-top));left:50%;right:auto}
  .canvas-tools button{width:32px;height:32px;font-size:16px}.canvas-tools .zoom-text{min-width:48px;font-size:12px}
  .canvas-layer{width:1600px;height:1020px}
  .xnode{min-width:132px;max-width:176px;font-size:14px;border-radius:15px;padding:10px 11px}
  .xnode.center{min-width:188px;max-width:220px;font-size:18px;padding:15px 16px}
  .xnode.small{min-width:108px;max-width:138px;font-size:13px}
  .node-info-panel{padding:18px}.node-info-panel h3{font-size:21px}
  .map-canvas.fullscreen{inset:0;border-radius:0}
  .mobile-bottom-nav{position:fixed;left:12px;right:12px;bottom:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px;background:rgba(255,255,255,.96);border:1px solid #dceaff;border-radius:18px;box-shadow:0 14px 36px rgba(47,128,255,.16);z-index:120}
  .mobile-bottom-nav a{height:36px;display:grid;place-items:center;border-radius:12px;font-size:13px;font-weight:1000;color:#6b7b93}
  .mobile-bottom-nav a.active{background:#edf5ff;color:#1f63d8}
  body.mindmap-fullscreen-open .mobile-bottom-nav{display:none}
}


/* ===== V4.95：SVG 连线与 DOM 节点统一坐标系统 ===== */
.canvas-layer{
  width:1800px;
  height:1100px;
}
.xmind-lines{
  overflow:visible;
}
.xnode{
  transform:translate(-50%,-50%);
}


/* ===== V4.96：拖动性能、工具栏误触隔离、步骤节点圆圈序号 ===== */
.canvas-layer{
  will-change: transform;
  transform: translate3d(-50%, -50%, 0) scale(.92);
  transition: transform .06s linear;
}
.map-canvas.dragging .canvas-layer{
  transition: none !important;
}
.map-canvas.dragging{
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing;
}
.canvas-tools{
  z-index: 120;
  pointer-events: auto;
}
.canvas-tools,
.canvas-tools *{
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.map-canvas.dragging .canvas-tools{
  opacity: .72;
}
.xnode.primary-step{
  text-align: left;
  min-width: 238px;
  max-width: 310px;
  padding: 12px 15px;
}
.xnode.primary-step em{
  display: none;
}
.xnode-title{
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}
.xnode.primary-step .xnode-title span:last-child{
  line-height: 1.35;
}
.step-badge{
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2f80ff;
  color: #fff;
  font-weight: 900;
  margin-right: 2px;
  box-shadow: 0 8px 18px rgba(47,128,255,.22);
}
@media(max-width:760px){
  .xnode.primary-step{
    min-width: 210px;
    max-width: 260px;
  }
  .step-badge{
    width: 26px;
    height: 26px;
  }
}


/* ===== V4.97：写句子十大步骤排序与数字徽章居中 ===== */
.xnode.primary-step .xnode-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.xnode.primary-step .step-badge {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #2f80ff !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
  text-align: center !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-shadow: 0 8px 18px rgba(47,128,255,.22) !important;
}

.xnode.primary-step .step-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.xnode.primary-step em {
  display: none !important;
}


/* ===== V4.98：写句子十大步骤按用户参考图固定布局复刻 ===== */
.xmind-lines.ref-lines path{
  fill:none;
  stroke-width:3;
  stroke-linecap:round;
  opacity:.78;
}
.xnode.ref-center{
  min-width:132px;
  max-width:132px;
  padding:16px 15px;
  border:none;
  border-radius:6px;
  background:#c65b4e;
  color:#fff;
  box-shadow:0 10px 24px rgba(198,91,78,.20);
  font-size:17px;
  font-weight:900;
}
.xnode.ref-step{
  min-width:250px;
  max-width:360px;
  border:none;
  border-radius:8px;
  padding:11px 14px;
  background:var(--ref-color);
  color:#fff;
  box-shadow:0 8px 20px rgba(18,37,63,.10);
  text-decoration:none;
}
.xnode.ref-step.wide{
  min-width:520px;
  max-width:620px;
}
.xnode.ref-step .xnode-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
.xnode.ref-step .step-badge{
  flex:0 0 auto !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#fff !important;
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1.25 !important;
}
.xnode.ref-step .step-title{
  flex:1 1 auto !important;
  min-width:0 !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.35 !important;
  text-align:left !important;
  font-weight:800 !important;
}
.xnode.ref-green{background:#4e8f80}
.xnode.ref-yellow{background:#d9c566;color:#5d521d}
.xnode.ref-yellow .step-badge,
.xnode.ref-yellow .step-title{color:#5d521d !important}
.xnode.ref-orange{background:#d88762}
.xnode.ref-lightGreen{background:#a8c7aa;color:#315c4f}
.xnode.ref-lightGreen .step-badge,
.xnode.ref-lightGreen .step-title{color:#315c4f !important}

.ref-note{
  position:absolute;
  transform:translateY(-50%);
  width:360px;
  max-width:420px;
  z-index:12;
  color:#314155;
  font-size:12px;
  line-height:1.35;
}
.ref-note:before{
  content:"";
  position:absolute;
  left:-36px;
  top:50%;
  width:32px;
  height:1px;
  background:var(--ref-color);
  opacity:.78;
}
.ref-note div,
.ref-note a{
  display:block;
  padding:5px 8px;
  border-top:1px solid rgba(63,84,106,.16);
  color:inherit;
  text-decoration:none;
  background:rgba(255,255,255,.68);
}
.ref-note a:hover{
  background:var(--ref-soft);
  color:#1d4f93;
}
.ref-note div:first-child,
.ref-note a:first-child{
  border-top:2px solid var(--ref-color);
}
.ref-note.clickable{
  cursor:pointer;
}
.map-canvas .canvas-layer{
  will-change:transform;
}
@media(max-width:760px){
  .xnode.ref-center{
    min-width:118px;
    max-width:118px;
    font-size:15px;
    padding:13px 12px;
  }
  .xnode.ref-step{
    min-width:220px;
    max-width:320px;
    padding:10px 12px;
  }
  .xnode.ref-step.wide{
    min-width:440px;
    max-width:500px;
  }
  .ref-note{
    width:300px;
    font-size:11px;
  }
}


/* ===== V4.99：真实交互导图组件，按钮直接绑定，展开后重新布局 ===== */
.canvas-tools{
  z-index: 150;
  pointer-events: auto;
}
.canvas-tools,
.canvas-tools *{
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.canvas-tools button{
  pointer-events:auto;
  touch-action:manipulation;
}
.canvas-layer{
  will-change:transform;
  transform:translate3d(-50%,-50%,0) scale(.72);
  transition:transform .06s linear;
}
.map-canvas.dragging .canvas-layer{
  transition:none !important;
}
.map-canvas.dragging{
  user-select:none;
  -webkit-user-select:none;
  cursor:grabbing;
}
.xmind-lines.interactive-lines path{
  fill:none;
  stroke-width:3;
  stroke-linecap:round;
  opacity:.78;
}
.xnode.mind-node{
  border:0;
  border-radius:9px;
  transform:translate(-50%,-50%);
  position:absolute;
  z-index:20;
  cursor:pointer;
  text-decoration:none;
  box-sizing:border-box;
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  box-shadow:0 8px 20px rgba(18,37,63,.10);
  transition:box-shadow .14s ease, transform .14s ease, filter .14s ease;
}
.xnode.mind-node:hover{
  filter:brightness(1.03);
  box-shadow:0 12px 28px rgba(18,37,63,.16);
}
.xnode.mind-center{
  width:142px;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#c65b4e;
  color:#fff;
  font-size:17px;
  font-weight:900;
  line-height:1.3;
  padding:14px 13px;
}
.xnode.mind-primary{
  width:330px;
  min-height:58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:var(--map-color);
  color:#fff;
  padding:10px 14px;
  text-align:left;
}
.xnode.mind-primary.wide{
  width:550px;
}
.xnode.mind-child{
  width:390px;
  min-height:36px;
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.88);
  color:#314155;
  border-left:4px solid var(--map-color);
  padding:8px 12px;
  font-size:12px;
  line-height:1.35;
  box-shadow:0 6px 16px rgba(18,37,63,.08);
}
.xnode.mind-primary .xnode-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
.xnode.mind-primary .step-badge{
  flex:0 0 auto !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:inherit !important;
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1.25 !important;
}
.xnode.mind-primary .step-title,
.xnode.mind-primary .node-title{
  color:inherit !important;
  font-size:14px !important;
  font-weight:850 !important;
  line-height:1.35 !important;
  text-align:left !important;
}
.xnode.mind-primary em{
  display:block;
  margin-top:4px;
  color:inherit;
  opacity:.72;
  font-size:11px;
  font-style:normal;
  font-weight:700;
}
.xnode.color-yellow{
  color:#5d521d;
}
.xnode.color-lightGreen{
  color:#315c4f;
}
.xnode.linked:after,
.xnode.expandable:after{
  content:"";
  position:absolute;
  right:8px;
  top:8px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:rgba(255,255,255,.72);
}
.xnode.color-yellow.linked:after,
.xnode.color-yellow.expandable:after,
.xnode.color-lightGreen.linked:after,
.xnode.color-lightGreen.expandable:after{
  background:rgba(49,65,85,.32);
}
@media(max-width:760px){
  .canvas-tools{
    right:12px;
    top:12px;
  }
  .xnode.mind-center{
    width:126px;
    font-size:15px;
  }
  .xnode.mind-primary{
    width:290px;
  }
  .xnode.mind-primary.wide{
    width:470px;
  }
  .xnode.mind-child{
    width:330px;
    font-size:11px;
  }
}


/* ===== V4.100：宽节点对齐与连线贴合修复 ===== */
/*
普通一级节点宽度 330px，半宽 165px。
⑨、⑩ wide 节点宽度 550px，半宽 275px。
JS 中 wide 节点中心点右移 110px，所以 wide 左边缘与普通节点左边缘对齐。
*/
.xnode.mind-center {
  width: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  box-sizing: border-box !important;
}

.xnode.mind-primary {
  width: 330px !important;
  min-width: 330px !important;
  max-width: 330px !important;
  box-sizing: border-box !important;
}

.xnode.mind-primary.wide {
  width: 550px !important;
  min-width: 550px !important;
  max-width: 550px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.xnode.mind-child {
  width: 390px !important;
  min-width: 390px !important;
  max-width: 390px !important;
  box-sizing: border-box !important;
}

.xnode.mind-child.wide {
  width: 460px !important;
  min-width: 460px !important;
  max-width: 460px !important;
  box-sizing: border-box !important;
}

@media (max-width: 760px) {
  .xnode.mind-center {
    width: 142px !important;
    min-width: 142px !important;
    max-width: 142px !important;
  }

  .xnode.mind-primary {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
  }

  .xnode.mind-primary.wide {
    width: 550px !important;
    min-width: 550px !important;
    max-width: 550px !important;
  }

  .xnode.mind-child {
    width: 390px !important;
    min-width: 390px !important;
    max-width: 390px !important;
  }
}


/* ===== V4.101：跳转分离、视角保持、移动端宽节点修复 ===== */
.node-enter-link{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  height:26px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#1f3f66 !important;
  font-size:11px;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 5px 14px rgba(18,37,63,.13);
  z-index:4;
}
.node-enter-link:hover{
  background:#fff;
  color:#1d4f93 !important;
}
.xnode.mind-primary.linked.expandable{
  padding-right:90px;
}
.map-tool-text{
  width:auto !important;
  min-width:66px;
  padding:0 10px !important;
  font-size:12px !important;
  font-weight:900 !important;
}
.xnode.mind-primary{
  width:330px !important;
  min-width:330px !important;
  max-width:330px !important;
}
.xnode.mind-primary.wide{
  width:550px !important;
  min-width:550px !important;
  max-width:550px !important;
}
.xnode.mind-child{
  width:390px !important;
  min-width:390px !important;
  max-width:390px !important;
}
@media(max-width:760px){
  .xnode.mind-primary{
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
  }
  .xnode.mind-primary.wide{
    width:330px !important;
    min-width:330px !important;
    max-width:330px !important;
  }
  .xnode.mind-child{
    width:320px !important;
    min-width:320px !important;
    max-width:320px !important;
  }
  .xnode.mind-child.wide{
    width:380px !important;
    min-width:380px !important;
    max-width:380px !important;
  }
  .xnode.mind-primary.linked.expandable{
    padding-right:14px;
    padding-bottom:38px;
  }
  .node-enter-link{
    left:12px;
    right:auto;
    top:auto;
    bottom:8px;
    transform:none;
  }
  .canvas-tools{
    gap:4px;
  }
  .map-tool-text{
    min-width:54px;
    padding:0 7px !important;
    font-size:11px !important;
  }
}


/* ===== V4.103：思维导图折叠/展开真实按钮与事件隔离 ===== */
.node-toggle-btn{
  min-height:36px;
  min-width:84px;
  margin-top:6px;
  padding:0 12px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.88);
  color:#1f3f66;
  font-size:12px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  touch-action:manipulation;
  user-select:none;
  -webkit-user-select:none;
  box-shadow:0 5px 14px rgba(18,37,63,.12);
}
.node-toggle-btn:hover{
  background:#fff;
  color:#1d4f93;
}
.xnode.mind-primary .node-toggle-btn{
  align-self:flex-start;
}
.xnode.color-yellow .node-toggle-btn,
.xnode.color-lightGreen .node-toggle-btn{
  color:#314155;
  background:rgba(255,255,255,.76);
}
@media(max-width:760px){
  .node-toggle-btn{
    min-height:38px;
    min-width:92px;
    font-size:12px;
  }
}


/* ===== V4.103 Word UI：节点整卡点击、小号提示、标题单行展示 ===== */
.xnode.mind-primary{
  width:390px !important;
  min-width:390px !important;
  max-width:390px !important;
}
.xnode.mind-primary.wide{
  width:560px !important;
  min-width:560px !important;
  max-width:560px !important;
}
.xnode.mind-primary .xnode-title{
  flex-wrap:nowrap !important;
  min-width:0 !important;
}
.xnode.mind-primary .step-badge{
  flex:0 0 auto !important;
}
.xnode.mind-primary .step-title,
.xnode.mind-primary .node-title{
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  line-height:1.24 !important;
}
.xnode.mind-primary.wide .step-title,
.xnode.mind-primary.wide .node-title{
  white-space:normal !important;
}
.xnode.mind-primary.expandable{
  cursor:pointer !important;
}
.node-toggle-btn{
  pointer-events:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:20px !important;
  min-height:20px !important;
  min-width:auto !important;
  margin-top:5px !important;
  padding:0 7px !important;
  border:0 !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1 !important;
  color:rgba(18,57,109,.72) !important;
  background:rgba(255,255,255,.72) !important;
  box-shadow:none !important;
  cursor:pointer !important;
}
.node-toggle-btn:hover{
  background:rgba(255,255,255,.78) !important;
  color:rgba(18,57,109,.78) !important;
}
.xnode.color-yellow .node-toggle-btn,
.xnode.color-lightGreen .node-toggle-btn{
  color:rgba(49,65,85,.72) !important;
  background:rgba(255,255,255,.68) !important;
}
@media(max-width:760px){
  .xnode.mind-primary{
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
  }
  .xnode.mind-primary.wide{
    width:330px !important;
    min-width:330px !important;
    max-width:330px !important;
  }
  .xnode.mind-primary .step-title,
  .xnode.mind-primary .node-title{
    white-space:nowrap !important;
  }
  .xnode.mind-primary.wide .step-title,
  .xnode.mind-primary.wide .node-title{
    white-space:normal !important;
  }
  .node-toggle-btn{
    height:20px !important;
    min-height:20px !important;
    min-width:auto !important;
    padding:0 7px !important;
    font-size:10px !important;
  }
}

/* XLS_V501_TOGGLE_CSS_START */
/* V5.0.1：移动端展开按钮和整张节点卡片必须可点击 */
.node-toggle-btn {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.mind-node.expandable,
.xnode.expandable {
  touch-action: manipulation !important;
  cursor: pointer !important;
}

.node-enter-link {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.canvas-tools,
.canvas-tools button {
  touch-action: manipulation !important;
}
/* XLS_V501_TOGGLE_CSS_END */

/* V5.0.6 时态语态 PDF 式长竖版导图：严格避免通用卡片节点风格 */
.map-canvas.pdf-style-map-canvas,
.map-canvas.tense-voice-pdf-canvas{
  background:#fff !important;
  background-image:none !important;
  overflow:hidden !important;
}

.canvas-layer.pdf-style-map-layer,
.canvas-layer.tense-voice-pdf-layer{
  width:2921px !important;
  height:4965px !important;
  background:#fff !important;
  box-shadow:0 18px 55px rgba(15,38,80,.10) !important;
  border-radius:18px !important;
  transform-origin:0 0 !important;
}

.tense-voice-pdf-stage{
  position:absolute;
  inset:0;
  width:2921px !important;
  height:4965px !important;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
}

.tense-voice-pdf-image{
  display:block;
  width:2921px !important;
  height:4965px !important;
  max-width:none !important;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}

.pdf-style-map-canvas .canvas-tools{
  z-index:20 !important;
}


/* XLS_TENSE_VOICE_V510_NO_JITTER_CSS_START */
/* V5.0.10：时态语态 PDF 模式只由 zsb-mindmaps-detail-v500.js 控制 transform，关闭旧动画和旧尺寸干扰 */
body.tense-voice-integrated-pdf-mode .map-canvas,
.map-canvas.pdf-style-map-canvas,
.map-canvas.tense-voice-pdf-canvas {
  touch-action: none !important;
  overscroll-behavior: contain !important;
  background: #ffffff !important;
  overflow: hidden !important;
}
body.tense-voice-integrated-pdf-mode .canvas-layer,
body.tense-voice-integrated-pdf-mode .canvas-layer.pdf-style-map-layer,
body.tense-voice-integrated-pdf-mode .canvas-layer.tense-voice-pdf-layer,
.canvas-layer.pdf-style-map-layer,
.canvas-layer.tense-voice-pdf-layer {
  left: 0 !important;
  top: 0 !important;
  width: var(--tense-voice-map-w, 2921px) !important;
  height: var(--tense-voice-map-h, 4965px) !important;
  max-width: none !important;
  transform-origin: 0 0 !important;
  transition: none !important;
  animation: none !important;
  will-change: transform !important;
}
body.tense-voice-integrated-pdf-mode .tense-voice-pdf-stage,
body.tense-voice-integrated-pdf-mode .tense-voice-pdf-image,
body.tense-voice-integrated-pdf-mode .tense-voice-pdf-map {
  width: var(--tense-voice-map-w, 2921px) !important;
  height: auto !important;
  max-width: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  pointer-events: none !important;
}
@media (max-width: 760px) {
  body.tense-voice-integrated-pdf-mode .detail-side { display: none !important; }
  body.tense-voice-integrated-pdf-mode .map-canvas,
  .map-canvas.pdf-style-map-canvas,
  .map-canvas.tense-voice-pdf-canvas {
    height: calc(100dvh - 220px) !important;
    min-height: 560px !important;
    margin-bottom: 76px !important;
    border-radius: 22px !important;
  }
  body.tense-voice-integrated-pdf-mode .canvas-tools {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
    padding: 5px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 90 !important;
  }
  body.tense-voice-integrated-pdf-mode .canvas-tools button {
    width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
    touch-action: manipulation !important;
  }
  body.tense-voice-integrated-pdf-mode .map-canvas.fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    border-radius: 0 !important;
    z-index: 2147480000 !important;
  }
  body.tense-voice-integrated-pdf-mode.mindmap-fullscreen-open .mobile-bottom-nav,
  body.tense-voice-integrated-pdf-mode.mindmap-fullscreen-open .site-icp-footer { display: none !important; }
}
/* XLS_TENSE_VOICE_V510_NO_JITTER_CSS_END */

/* XLS_TENSE_VOICE_STANDALONE_PDF_VIEWER_V511_BASE_CSS_START */
body.tense-voice-standalone-pdf-mode .pdf-image,
body.tense-voice-standalone-pdf-mode .pdf-viewport {
  transition: none !important;
  animation: none !important;
  transform-origin: 0 0 !important;
  touch-action: none !important;
  overscroll-behavior: contain !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
/* XLS_TENSE_VOICE_STANDALONE_PDF_VIEWER_V511_BASE_CSS_END */
body.tense-voice-standalone-pdf-mode #fullBtn { display: none !important; }


/* XLS_SUBJECT_VERB_AGREEMENT_VIEWER_V526_START */
.subject-verb-glossary-panel-v526 {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(59,130,246,.16);
  border-radius: 22px;
  background: linear-gradient(145deg,#fff,#f8fbff);
  box-shadow: 0 14px 36px rgba(30,64,175,.08);
}
.subject-verb-glossary-head-v526 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.subject-verb-glossary-head-v526 span {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16845b;
  font-size: 12px;
  font-weight: 900;
}
.subject-verb-glossary-head-v526 h2 {
  margin: 0;
  color: #123f77;
  font-size: 21px;
  line-height: 1.35;
}
.subject-verb-glossary-head-v526 p {
  margin: 7px 0 0;
  color: #6b7f99;
  font-size: 13px;
  line-height: 1.7;
}
.subject-verb-glossary-toggle-all-v526 {
  flex: 0 0 auto;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  background: #fff;
  color: #176ee8;
  min-height: 34px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}
.subject-verb-branch-chips-v526 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.subject-verb-branch-chips-v526 span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #e0ebfb;
  border-radius: 999px;
  background: #fff;
  color: #385879;
  font-size: 12px;
  font-weight: 800;
}
.subject-verb-branch-chips-v526 b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf5ff;
  color: #176ee8;
  font-size: 11px;
}
.subject-verb-glossary-group-v526 {
  margin-top: 10px;
  border: 1px solid #e0ebfb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.subject-verb-glossary-group-v526 summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding: 13px 15px;
  color: #123f77;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.subject-verb-glossary-group-v526 summary::-webkit-details-marker { display: none; }
.subject-verb-glossary-group-v526 summary::before {
  content: '＋';
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: 2px;
  border-radius: 50%;
  background: #edf5ff;
  color: #176ee8;
}
.subject-verb-glossary-group-v526[open] summary::before { content: '−'; }
.subject-verb-glossary-group-v526 summary span {
  margin-left: auto;
  color: #8a9ab1;
  font-size: 11px;
  font-weight: 700;
}
.subject-verb-glossary-group-v526.orange summary::before { background: #fff3e8; color: #df7416; }
.subject-verb-glossary-grid-v526 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  padding: 0 13px 13px;
}
.subject-verb-glossary-row-v526 {
  display: grid;
  grid-template-columns: minmax(130px,.9fr) minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 11px;
  background: #f8fbff;
}
.subject-verb-glossary-row-v526 code {
  color: #174f93;
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size: 12px;
  font-weight: 800;
  white-space: normal;
}
.subject-verb-glossary-row-v526 span {
  color: #4f6784;
  font-size: 13px;
  line-height: 1.45;
}
/* XLS_SUBJECT_VERB_AGREEMENT_VIEWER_V526_END */

/* XLS_V527_STANDARD_DETAIL_LAYOUT_CSS_START */
/*
 * V5.0.27: tense-voice and subject-verb-agreement retain their independent
 * image viewers, but use the same outer detail layout as the standard
 * writing-sentence-10-steps page.
 */
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-layout {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 290px !important;
  gap: 16px !important;
  align-items: start !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-side {
  display: grid !important;
  position: sticky !important;
  top: 14px !important;
  gap: 14px !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 #fullBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewer-shell {
  position: relative !important;
  width: 100% !important;
  min-height: 72vh !important;
  height: 72vh !important;
  max-height: none !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  border: 1px solid #dceaff !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 20px 20px,rgba(47,128,255,.07) 1px,transparent 1px),
    linear-gradient(180deg,#fff,#f8fbff) !important;
  background-size: 22px 22px,auto !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.86),0 18px 55px rgba(47,128,255,.10) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-toolbar {
  position: absolute !important;
  right: 18px !important;
  top: 16px !important;
  left: auto !important;
  z-index: 60 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  height: auto !important;
  padding: 7px !important;
  border: 1px solid #dceaff !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 12px 30px rgba(47,128,255,.16) !important;
  backdrop-filter: blur(10px) !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn {
  display: grid !important;
  place-items: center !important;
  width: auto !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f7ff !important;
  color: #1f63d8 !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  cursor: pointer !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn.pdf-zoom-in,
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn.pdf-zoom-out {
  width: 36px !important;
  padding: 0 !important;
  font-size: 18px !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn:hover {
  color: #fff !important;
  background: #2f80ff !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-percent {
  min-width: 58px !important;
  color: #234767 !important;
  font-size: 14px !important;
  font-weight: 1000 !important;
  text-align: center !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewport {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: transparent !important;
  cursor: grab !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewport:active {
  cursor: grabbing !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .subject-verb-glossary-panel-v526 {
  margin-top: 18px !important;
}
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewer-shell.fullscreen,
body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewer-shell:fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  z-index: 2147480000 !important;
}
@media (max-width:980px) {
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-layout {
    grid-template-columns: 1fr !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-side {
    position: static !important;
  }
}
@media (max-width:760px) {
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-layout {
    display: block !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .detail-side {
    display: none !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-viewer-shell {
    width: 100% !important;
    height: min(680px,calc(var(--app-vh,1vh) * 100 - 210px)) !important;
    min-height: 520px !important;
    margin-top: 12px !important;
    margin-bottom: 74px !important;
    border-radius: 22px !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-toolbar {
    left: 50% !important;
    right: auto !important;
    top: 12px !important;
    transform: translateX(-50%) !important;
    gap: 5px !important;
    max-width: calc(100% - 20px) !important;
    padding: 6px !important;
    white-space: nowrap !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn.pdf-zoom-in,
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-btn.pdf-zoom-out {
    width: 32px !important;
    min-width: 32px !important;
    font-size: 16px !important;
  }
  body.tense-voice-standalone-pdf-mode.xls-standard-detail-layout-v527 .pdf-percent {
    min-width: 46px !important;
    font-size: 12px !important;
  }
}
/* XLS_V527_STANDARD_DETAIL_LAYOUT_CSS_END */

/* XLS_V531_MINDMAP_TOOLBAR_CENTER_START */
/* V5.0.31: Center the complete toolbar on every mindmap detail page. */
.map-canvas > .canvas-tools,
.map-canvas .canvas-tools {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 28px) !important;
  min-width: 0 !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.map-canvas > .canvas-tools::-webkit-scrollbar,
.map-canvas .canvas-tools::-webkit-scrollbar {
  display: none !important;
}

.map-canvas.fullscreen > .canvas-tools,
.map-canvas.fullscreen .canvas-tools {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

/* Standalone image viewers such as tense-voice and subject-verb-agreement. */
.pdf-viewer-shell .pdf-toolbar,
.tense-voice-standalone-pdf-viewer .pdf-toolbar,
body.tense-voice-standalone-pdf-mode .pdf-toolbar,
body.xls-standard-detail-layout-v527 .pdf-toolbar {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 28px) !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.pdf-viewer-shell .pdf-toolbar::-webkit-scrollbar,
.tense-voice-standalone-pdf-viewer .pdf-toolbar::-webkit-scrollbar,
body.tense-voice-standalone-pdf-mode .pdf-toolbar::-webkit-scrollbar {
  display: none !important;
}

@media (max-width: 760px) {
  .map-canvas > .canvas-tools,
  .map-canvas .canvas-tools,
  .map-canvas.fullscreen > .canvas-tools,
  .map-canvas.fullscreen .canvas-tools,
  .pdf-viewer-shell .pdf-toolbar,
  .tense-voice-standalone-pdf-viewer .pdf-toolbar,
  body.tense-voice-standalone-pdf-mode .pdf-toolbar,
  body.xls-standard-detail-layout-v527 .pdf-toolbar {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    max-width: calc(100% - 20px) !important;
  }
}
/* XLS_V531_MINDMAP_TOOLBAR_CENTER_END */

