/* graphic_wx · 重要天气图/高空风温图  （自 web/chart/graphic_wx.html 抽出，2026-10-14） */
* { box-sizing: border-box; }
  .wrap { max-width: 1500px; margin: 0 auto; padding: 14px 18px 40px; }

  /* 顶部大类切换 */
  .gwx-tabs { display: flex; gap: 6px; border-bottom: 2px solid #d7dee8; margin-bottom: 14px; flex-wrap: wrap; }
  .gwx-tabs.subtabs { border-bottom: 1px solid #e3e8ef; margin-bottom: 14px; margin-top: -6px; padding-left: 16px; background: #f6f8fb; border-radius: 6px 6px 0 0; }
  .gwx-tabs.subtabs button { background: transparent; font-size: 13px; padding: 7px 18px; border: none; border-bottom: 2px solid transparent; border-radius: 0; color: #67788e; }
  .gwx-tabs.subtabs button:hover { background: #eef1f6; color: #2b3646; }
  .gwx-tabs.subtabs button.on { background: transparent; color: #1a72d1; font-weight: 600; border-bottom-color: #1a72d1; box-shadow: none; }
  .gwx-tabs button {
    border: 1px solid #d7dee8; border-bottom: none; background: #eef1f6; color: #4a5568;
    padding: 9px 22px; font-size: 15px; cursor: pointer; border-radius: 6px 6px 0 0;
  }
  .gwx-tabs button:hover { background: #e2e8f0; }
  .gwx-tabs button.on { background: #fff; color: #1a72d1; font-weight: 600; border-color: #d7dee8;
    box-shadow: 0 2px 0 -1px #fff; }

  .gcard { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
  .bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
  .grp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .grp > label { font-size: 13px; color: #67788e; white-space: nowrap; }
  select, input[type="date"] {
    border: 1px solid #ccd4e0; border-radius: 4px; padding: 4px 8px; font-size: 13px; background: #fff; color: #2b3646;
  }
  .seg { display: inline-flex; border: 1px solid #ccd4e0; border-radius: 5px; overflow: hidden; }
  .seg span { padding: 4px 14px; font-size: 13px; cursor: pointer; background: #fff; color: #4a5568; border-right: 1px solid #e3e8ef; }
  .seg span:last-child { border-right: none; }
  .seg span.on { background: #1a72d1; color: #fff; }
  .seg.mini span { padding: 3px 10px; font-size: 12px; }
  button.go {
    border: 1px solid #1a72d1; background: #1a72d1; color: #fff; border-radius: 5px;
    padding: 5px 20px; font-size: 13px; cursor: pointer;
  }
  button.go:hover { background: #155fae; }
  button.ghost { border: 1px solid #ccd4e0; background: #fff; color: #4a5568; border-radius: 5px; padding: 5px 14px; font-size: 13px; cursor: pointer; }
  button.ghost:hover { border-color: #1a72d1; color: #1a72d1; }

  .meta { font-size: 12.5px; color: #67788e; margin-top: 8px; line-height: 1.7; }
  .meta b { color: #2b3646; }
  .viewer { text-align: center; min-height: 300px; padding: 8px 0; position: relative; }
  .viewer img { max-width: 100%; height: auto; box-shadow: 0 2px 10px rgba(20,40,80,.12); border-radius: 4px; background: #fff; cursor: zoom-in; }
  .viewer .msg { padding: 60px 20px; color: #8a97a8; font-size: 14px; }
  .viewer .err { color: #c0392b; }
  .spin {
    display: inline-block; width: 26px; height: 26px; border: 3px solid #d7dee8;
    border-top-color: #1a72d1; border-radius: 50%; animation: r 0.8s linear infinite; margin-bottom: 10px;
  }
  @keyframes r { to { transform: rotate(360deg); } }
  .hide { display: none; }

  .note { font-size: 12.5px; color: #67788e; line-height: 1.8; }
  .note code { background: #f0f3f8; padding: 1px 6px; border-radius: 3px; font-size: 12px; }
  a.lnk { color: #1a72d1; text-decoration: none; }
  a.lnk:hover { text-decoration: underline; }

  /* 图下方信息条 */
  .infobar { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 10px 16px; margin-bottom: 14px; }
  .infobar .ttl { font-size: 12px; color: #8a97a8; letter-spacing: .5px; margin-bottom: 5px; }

  /* 页面底部：来源与图源总览 */
  .srcbox { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 16px 18px; margin-top: 22px; }
  .srcbox h3 { font-size: 15px; color: #2b3646; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #eef1f6; }
  .srcbox h4 { font-size: 13px; color: #2b3646; margin: 14px 0 6px; }
  .srcbox p, .srcbox li { font-size: 12.5px; color: #5a6a7e; line-height: 1.85; }
  .srcbox ul { margin: 4px 0 0 18px; padding: 0; }
  .srcbox code { background: #f0f3f8; padding: 1px 6px; border-radius: 3px; font-size: 12px; word-break: break-all; }
  .srcbox .kv { display: flex; flex-wrap: wrap; gap: 4px 28px; }
  .srcbox .kv > div { font-size: 12.5px; color: #5a6a7e; }
  .tagws { display:inline-block; background:#e8f2fd; color:#1a72d1; border-radius:3px; padding:0 6px; font-size:11.5px; margin-right:3px; }
  .tagld { display:inline-block; background:#fdf0e3; color:#b26a1a; border-radius:3px; padding:0 6px; font-size:11.5px; margin-right:3px; }
  .srcbox table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 12.5px; }
  .srcbox th, .srcbox td { border: 1px solid #e8edf4; padding: 5px 9px; text-align: left; vertical-align: top; }
  .srcbox th { background: #f6f8fb; color: #2b3646; font-weight: 600; white-space: nowrap; }
  .srcbox td { color: #5a6a7e; }
  .warn { background: #fffaeb; border-left: 3px solid #e0a800; padding: 7px 12px; border-radius: 4px; margin-top: 10px; font-size: 12.5px; color: #7a5c10; line-height: 1.8; }

  /* AvMet 网格布局 */
  .avmet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 12px; padding: 10px 0; }
  .avmet-cell { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; overflow: hidden; }
  .avmet-cell img { width: 100%; height: auto; display: block; }
  .avmet-cell .caption { padding: 8px 12px; font-size: 13px; color: #4a5568; background: #f6f8fb; border-top: 1px solid #e3e8ef; }
  .avmet-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid #d7dee8;
    border-top-color: #1a72d1; border-radius: 50%; animation: avmet-spin .8s linear infinite;
    vertical-align: middle; margin-right: 8px; }
  @keyframes avmet-spin { to { transform: rotate(360deg); } }
