/* ============================================================
 * 填表指引（全宽页）· filing-guide-page.css（v2.57.0）
 * ------------------------------------------------------------
 * 228 栏的逐栏指引在 84vh 弹窗里只能看到第 1 栏（实测内容高约 5700px，
 * 弹窗可视区约 618px），所以做全宽页：左栏选税种 + 右侧整屏读，
 * 页面本身滚动，不再有「弹窗里滚不到底」的错觉。
 * ============================================================ */

.gp-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* ---- 左侧税种速览 ---- */
.gp-side {
  position: sticky;
  top: calc(var(--topbar-h, 64px) + 12px);
  border: 1px solid var(--line);
  border-radius: var(--r-md, 10px);
  background: var(--panel, #fff);
  padding: 10px;
  max-height: calc(100vh - var(--topbar-h, 64px) - 32px);
  display: flex;
  flex-direction: column;
}
.gp-side-t {
  font-size: var(--f-12);
  font-weight: 700;
  color: var(--txt, #1c2430);
  padding: 2px 4px 8px;
}
.gp-tax-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gp-tax {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--r-sm, 6px);
  background: transparent;
  padding: 7px 9px;
  font-size: var(--f-12);
  color: var(--txt-2, #4a5262);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
}
.gp-tax:hover { background: var(--panel-2, #f5f6f8); border-color: var(--line-2, #e8eaef); }
.gp-tax.on {
  background: var(--brand-50, #eef2ff);
  border-color: var(--brand, #2b5cd9);
  color: var(--brand, #2b5cd9);
  font-weight: 650;
}
/* 逐栏指引还没做的税种：标出来，别让它从清单里消失像是「不用填」 */
.gp-todo {
  font-style: normal;
  font-size: 10px;
  color: var(--txt-3, #8b93a1);
  border: 1px solid var(--line-2, #e8eaef);
  border-radius: 999px;
  padding: 0 5px;
  margin-left: 5px;
  white-space: nowrap;
}
.gp-side-f {
  font-size: 10.5px;
  color: var(--txt-3, #8b93a1);
  line-height: 1.6;
  padding: 9px 4px 2px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

/* ---- 右侧正文 ---- */
.gp-main {
  border: 1px solid var(--line);
  border-radius: var(--r-md, 10px);
  background: var(--panel, #fff);
  padding: 16px 18px 22px;
  min-width: 0;
}
.gp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.gp-title {
  font-size: var(--f-18);
  font-weight: 700;
  color: var(--txt, #1c2430);
  margin: 0;
}
.gp-form {
  font-size: var(--f-12);
  color: var(--txt-3, #8b93a1);
  margin-top: 4px;
}
.gp-head-a { display: flex; gap: 8px; flex-wrap: wrap; }

/* 正文里的指引块放宽：全宽下栏次表格才读得舒服 */
.gp-content .ff-tbl { font-size: var(--f-12); }

/* ---- 弹窗顶部的「打开完整页面」条 ---- */
.ff-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 11px;
  margin: 0 0 12px;
  border: 1px solid var(--brand-100, #d8e2fb);
  background: var(--brand-50, #eef2ff);
  border-radius: var(--r-sm, 6px);
}
.ff-jump-t {
  font-size: var(--f-12);
  color: var(--brand-700, #1b3fa8);
  font-weight: 600;
}

/* ---- 窄屏：侧栏收成横向条 ---- */
@media (max-width: 860px) {
  .gp-layout { grid-template-columns: 1fr; }
  .gp-side { position: static; max-height: none; }
  .gp-tax-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .gp-tax { width: auto; }
}