/* jiemensoft.cn 门户与业务分页面 v1.0 - 2026-11-09 */
/* 只新增，不覆盖 style.css；所有页面同时引入两者 */

.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.portal-card{display:block;position:relative;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:22px 20px 20px;color:var(--text)}
.portal-card:hover{border-color:var(--primary);background:#f8fbff;text-decoration:none}
.portal-card h3{font-size:19px;color:var(--primary-dark);margin:8px 0 4px}
.portal-who{font-size:13px;color:var(--muted);margin-bottom:14px}
.portal-card ul{list-style:none;font-size:14px;color:var(--text);margin:0 0 18px}
.portal-card ul li{padding:5px 0 5px 16px;position:relative;border-bottom:1px dashed var(--border)}
.portal-card ul li:last-child{border-bottom:none}
.portal-card ul li:before{content:"";position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:var(--primary)}
.portal-go{display:inline-block;color:var(--primary);font-size:14px;font-weight:600}
.portal-tag{position:absolute;top:18px;right:18px;font-size:11px;line-height:1;padding:5px 8px;border-radius:4px;background:#eef1f5;color:var(--muted)}
.portal-tag.tag-live{background:#e6f4ea;color:#1d6f42}
.portal-service{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f0f5fc;border:1px solid #d9e5f6;border-radius:var(--radius);padding:24px 26px;margin-top:26px}
.portal-service h3{font-size:18px;color:var(--primary-dark);margin-bottom:6px}
.portal-service p{font-size:14px;color:var(--muted);margin:0}
.portal-service .btn{white-space:nowrap}
.portal-note{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.8}

/* 分页面 hero */
.p-hero{background:linear-gradient(135deg,var(--primary-dark) 0%,#123a70 60%,var(--primary) 100%);color:#fff;padding:56px 0}
.p-kicker{display:inline-block;font-size:12px;letter-spacing:1px;color:#b9d0ee;border:1px solid #4a709f;border-radius:20px;padding:4px 12px;margin-bottom:16px}
.p-hero h1{font-size:34px;line-height:1.35;margin-bottom:14px}
.p-hero p{font-size:16px;color:#c9d6ea;max-width:760px}
.p-hero .p-sub{font-size:14px;color:#8fa9c9;margin-top:10px}
.p-hero .cta-row .btn-ghost{border-color:#6b8cb3;color:#e6eefb}
.breadcrumb a{color:var(--primary)}

/* 分页面区块 */
.p-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.p-grid-3 .card h3{font-size:17px;color:var(--primary-dark);margin-bottom:8px}
.p-grid-3 .card p{font-size:14px;color:var(--muted)}
.pain-list{list-style:none;max-width:820px}
.pain-list li{background:#fff;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;padding:14px 18px;margin-bottom:12px;font-size:15px}
.pain-list li b{color:var(--primary-dark)}

/* 在线小工具 */
.tool-box{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:26px;max-width:860px}
.tool-box h3{font-size:18px;color:var(--primary-dark);margin-bottom:6px}
.tool-tip{font-size:14px;color:var(--muted);margin-bottom:18px}
.tool-form .form-row{margin-bottom:12px}
.tool-actions{display:flex;gap:12px;flex-wrap:wrap;margin:6px 0 16px}
.tool-out{white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid var(--border);border-radius:8px;padding:18px;min-height:110px;font-family:inherit;font-size:14px;line-height:1.85;color:var(--text)}
.tool-out.is-empty{color:var(--muted)}
.tool-hint{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.8}
.btn-copy{background:#eef2f8;color:var(--primary-dark);padding:11px 24px;border:1px solid var(--border);border-radius:6px;font-size:15px;cursor:pointer}

/* 内测说明 / 交叉导航 */
.p-notice{background:#fffaf0;border:1px solid #f0dcae;border-radius:var(--radius);padding:20px 24px;max-width:860px;font-size:14px;color:#6b5320;line-height:1.9}
.p-notice b{color:#4a3710}
.cross-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cross-grid a{display:block;background:#fff;border:1px solid var(--border);border-radius:8px;padding:16px 18px;color:var(--text)}
.cross-grid a:hover{border-color:var(--primary);text-decoration:none}
.cross-grid a b{display:block;color:var(--primary-dark);font-size:15px;margin-bottom:4px}
.cross-grid a span{font-size:13px;color:var(--muted)}
.p-compliance{font-size:12px;color:var(--muted);line-height:1.9;margin-top:24px;border-top:1px solid var(--border);padding-top:14px}
.site-footer .p-compliance{color:#8fa9c9;border-top-color:#1d3a66}
.site-footer .icp a{color:#9db2d0}

@media(max-width:980px){
  .portal-grid{grid-template-columns:repeat(2,1fr)}
  .p-grid-3,.cross-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .portal-grid,.p-grid-3,.cross-grid{grid-template-columns:1fr}
  .portal-service{flex-direction:column;align-items:flex-start}
  .p-hero{padding:40px 0}
  .p-hero h1{font-size:26px}
  .tool-box{padding:18px}
}
