/* 明腾智标 · Figma 工作台对齐层 v5（2026-11-27）
   按 Figma Make 设计稿逐页对齐：深蓝侧栏、紧凑顶栏、白底圆角卡片、统一表格/筛选/按钮。
   仅覆盖视觉，不改业务接口与交互。加载顺序：app.css → logo.css → design-v4.css → design-v5.css */
:root{
  --fg-ink:#142942; --fg-muted:#6B7E93; --fg-line:#E3EAF3; --fg-light:#EAF2FC;
  --fg-brand:#0E70D3; --fg-red:#D94A4A; --fg-amber:#C98A2B; --fg-green:#0E8C68;
  --fg-shadow:0 4px 16px rgba(13,46,82,.05);
  --fg-num:"Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;
}
/* 数字统一用无衬线：DM Mono 未加载时会回退成衬线 Times，导致统计数字与预算显示为宋体风格 */
.stat-num,.pc-budget,.soon-date b,.gw-num,.gw-score-num,.metric .donut,.metric .rank b,
.dispatch-step>span,.dispatch-preview>span,.geo-side .health b,.video-flow span,.shot-no,.rank-no{
  font-family:var(--fg-num);font-variant-numeric:tabular-nums;
}
/* ---------- 全局骨架 ---------- */
body{background:#F4F7FB;color:var(--fg-ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
.sidebar{width:240px;padding:24px 14px;background:#0D2E52;color:#C7D8EA}
.sidebar .brand{padding:0 4px}
.sidebar .brand b{color:#fff;font-size:16px;letter-spacing:.3px}
.sidebar .brand small{color:#8FAAC6;font-size:10px}
.nav-group-label,.nav-group>span{color:#6F8CAB;font-size:10px;letter-spacing:1px;padding-left:11px}
.nav-item{color:#BBD0E5;font-size:13px;border-radius:8px;padding:9px 10px;margin-top:3px}
.nav-item:hover,.nav-item.active{background:#16406B;color:#fff}
.nav-item.active{box-shadow:none}
.nav-badge{border:1px solid #7EA3CA;background:transparent;color:#A8C6E3;font-size:9px;border-radius:3px}
.topbar{height:65px;padding:0 34px;background:rgba(255,255,255,.7)}
.content{max-width:1500px;padding:35px 38px 55px;margin:auto}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:27px;gap:16px}
.page-head h1{font-size:25px;letter-spacing:-.6px;line-height:1.2;margin:0}
.page-head p,.page-head .muted{font-size:13px;color:var(--fg-muted);margin-top:7px}

/* ---------- 按钮 / 标签 / 输入 ---------- */
.btn,.btn-primary,.btn-outline,.btn-danger{border-radius:7px;padding:9px 14px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.3}
.btn-primary{background:var(--fg-brand);border-color:var(--fg-brand);color:#fff;box-shadow:0 4px 9px rgba(14,112,211,.2)}
.btn-primary:hover{background:#0A5CB0;border-color:#0A5CB0;color:#fff}
.btn-outline,.btn:not(.btn-primary):not(.btn-danger){background:#fff;border:1px solid #D6E0EC;color:#426188}
.btn:hover:not(.btn-primary):not(.btn-danger){border-color:#9CC4EE;color:var(--fg-brand)}
.btn-sm,.btn-xs{padding:6px 10px;font-size:12px;border-radius:6px}
.tag,.status-badge,.tier-badge,.role-tag{border-radius:4px;font-size:10px;padding:3px 7px;background:#F1F4F8;color:#61728A}
.tag.hot,.tag.st-intent{background:#FFF2DD;color:#B87517}
.tag.won,.tag.st-won{background:#FAE8E6;color:var(--fg-red)}
.field label{font-size:12px;font-weight:600;color:#345B82}
.field input,.field select,.field textarea,.search-input,select,input[type=text],textarea{border:1px solid var(--fg-line);border-radius:7px;background:#fff;color:var(--fg-ink);font-size:12px}
.field input:focus,.field textarea:focus,.search-input:focus{border-color:var(--fg-brand);box-shadow:0 0 0 3px var(--fg-light)}

/* ---------- 通用面板 / 表格 / 筛选 ---------- */
.panel,.section-card,.card{border:1px solid var(--fg-line);border-radius:11px;background:#fff;box-shadow:var(--fg-shadow);margin-bottom:17px}
.panel-head{padding:18px 20px;border-bottom:1px solid var(--fg-line)}
.panel-head h2,.section-head h3{font-size:15px;font-weight:600;margin:0}
.panel-head .muted,.section-head p{font-size:11px;color:var(--fg-muted)}
.panel-body{padding:18px 20px}
.table-scroll,.tbl-wrap{overflow:auto}
.tbl,.tbl th,.tbl td{font-size:12px}
.tbl th{background:#F8FAFD;color:#7E8FA4;font-weight:500;padding:12px 10px}
.tbl td{padding:12px 10px;border-bottom:1px solid #EDF1F6;color:#4A5C72;white-space:nowrap}
.tbl td b{color:var(--fg-ink);font-weight:600}
.tbl tbody tr:hover{background:#FBFDFC}
.filter-bar{display:flex;gap:9px;align-items:center;margin-bottom:16px;flex-wrap:wrap}
.filter-bar .filter,.filter-bar .search-input,.filter-bar select{height:35px;border:1px solid var(--fg-line);border-radius:6px;background:#fff;padding:0 10px;font-size:12px;color:#5F7188}
.filter-bar .keyword{min-width:210px;margin-left:auto}
.pagination{display:flex;justify-content:space-between;align-items:center;padding:15px 5px 3px;color:var(--fg-muted);font-size:11px}

/* ---------- 工作台 ---------- */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:17px 0}
.stat-card{border:1px solid var(--fg-line);border-radius:11px;background:#fff;padding:17px;display:block}
.stat-card .stat-label{font-size:12px;color:var(--fg-muted);font-weight:400}
.stat-card .stat-num{font:600 28px var(--fg-num);display:block;margin:8px 0 4px;color:var(--fg-ink)}
.dash-two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr);gap:17px;align-items:start;margin-bottom:17px}
.dash-two-col>.panel{margin:0;min-width:0}
.project-panel{padding:0;min-width:0;overflow:hidden}
.project-panel .marquee{padding:4px 0;overflow:hidden;max-width:100%}
.project-card{min-width:200px;flex-basis:200px;border:1px solid var(--fg-line);border-radius:9px;padding:13px;background:#fff}
.project-card .pc-title{font-size:13px;line-height:1.5;margin:12px 0 3px;color:var(--fg-ink)}
.project-card .pc-meta{font-size:11px;color:var(--fg-muted)}
.soon-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #EDF1F6}
.soon-main{flex:1;min-width:0}
.soon-title{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soon-meta{font-size:11px;color:var(--fg-muted)}
.deadline-date{font-size:10px;color:var(--fg-red)}
.team-panel{margin-top:17px}

/* 工作台两块重排：推荐项目网格 + 截止日期时间轴 */
.project-panel .panel-head,.soon-panel .panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}
.ph-title{display:flex;align-items:baseline;gap:10px;min-width:0}
.panel-sub{font-size:11px;color:var(--fg-muted);white-space:nowrap}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 20px 20px}
.project-grid .project-card{position:relative;display:flex;flex-direction:column;min-width:0;flex-basis:auto;border:1px solid var(--fg-line);border-radius:10px;padding:15px 14px 12px;background:#fff;cursor:pointer;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.project-grid .project-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--fg-brand);opacity:.8}
.project-grid .project-card:hover{transform:translateY(-2px);border-color:#B9D6F2;box-shadow:0 9px 22px rgba(13,46,82,.09)}
.project-grid .pc-top{display:flex;align-items:center;gap:7px;min-width:0;margin:0}
.project-grid .pc-tier{border-radius:4px;padding:3px 7px;font-size:10px;font-weight:600;white-space:nowrap}
.project-grid .tier-1{background:#FFF0EF;color:var(--fg-red)}
.project-grid .tier-2{background:#FFF5E6;color:var(--fg-amber)}
.project-grid .tier-3{background:var(--fg-light);color:var(--fg-brand)}
.project-grid .tier-4{background:#F1F4F8;color:#8293A7}
.project-grid .pc-region{font-size:11px;color:var(--fg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-grid .pc-score{margin-left:auto;flex-shrink:0;font-size:10px;font-weight:700;color:var(--fg-brand);background:var(--fg-light);padding:3px 7px;border-radius:4px}
.project-grid .pc-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:600;line-height:1.55;min-height:40px;margin:11px 0 10px;color:var(--fg-ink)}
.project-grid .pc-body{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:auto}
.project-grid .pc-budget{font:600 17px var(--fg-num);color:var(--fg-red)}
.project-grid .pc-category{font-size:11px;color:var(--fg-muted)}
.project-grid .pc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed var(--fg-line);font-size:11px;color:var(--fg-muted)}
.project-grid .pc-deadline.soon{color:var(--fg-amber);font-weight:600}
.project-grid .pc-link{color:var(--fg-brand);font-weight:600;white-space:nowrap}
.soon-panel .soon-list{padding:4px 20px 12px}
.soon-panel .soon-item{gap:12px;padding:11px 0;margin:0;border-bottom:1px solid #EDF1F6}
.soon-panel .soon-item:last-child{border-bottom:0}
.soon-date{flex:0 0 40px;width:40px;height:44px;border-radius:8px;background:#F2F7FD;border:1px solid #DCE9F7;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--fg-brand);transition:background .15s,color .15s}
.soon-date b{font:600 16px var(--fg-num);line-height:1}
.soon-date span{font-size:10px;margin-top:3px}
.soon-item:hover .soon-date{background:var(--fg-brand);border-color:var(--fg-brand);color:#fff}
.soon-panel .soon-title{font-size:12.5px;font-weight:600;line-height:1.45;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.soon-panel .soon-meta{display:flex;gap:6px;align-items:center;margin-top:4px;font-size:11px;color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soon-meta .dot{font-style:normal;color:#B8C7D8}
.soon-days{flex:0 0 auto;font-size:11px;font-weight:600;padding:5px 8px;border-radius:5px;background:#EAF7F2;color:var(--fg-green);white-space:nowrap}
.soon-days.urgent{background:#FFF0EF;color:var(--fg-red)}
.soon-days.done{background:#F1F4F8;color:#8FA0B4}

/* ---------- 探索：Figma 左右分栏 ---------- */
.explore-page .page-head{margin-bottom:20px}
.ex-layout{display:grid;grid-template-columns:220px 1fr;min-height:560px;height:calc(100vh - 235px);background:#fff;border:1px solid var(--fg-line);border-radius:12px;overflow:hidden}
.ex-aside{padding:22px;border-right:1px solid var(--fg-line);overflow:auto}
.ex-aside .ex-mark{width:38px;height:38px;background:var(--fg-light);color:var(--fg-brand);border-radius:10px;display:grid;place-items:center;margin-bottom:11px;font-size:20px}
.ex-aside b{font-size:14px;display:block}
.ex-aside small{font-size:10px;color:var(--fg-muted)}
.ex-aside hr{border:0;border-top:1px solid var(--fg-line);margin:20px 0}
.ex-aside .ex-label{font-size:10px;color:var(--fg-muted)}
.ex-aside .ex-quick-btn{display:flex;width:100%;justify-content:space-between;text-align:left;font-size:11px;padding:11px 0;border-bottom:1px solid #F2F5F9;color:#426188;background:transparent;border-left:0;border-right:0;border-top:0}
.ex-quick-btn:hover,.ex-quick-btn.act:hover{color:var(--fg-brand);background:transparent}
.ex-chat{display:flex;flex-direction:column;min-width:0}
.ex-chat-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}
.ex-welcome{margin:auto;text-align:center;padding:30px 20px;max-width:620px}
.ex-welcome h2{font-size:21px;margin:12px 0 7px}
.ex-welcome p{font-size:12px;color:var(--fg-muted)}
.ex-welcome .ex-quick{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin-top:16px}
.ex-welcome .ex-quick-btn{border:1px solid var(--fg-line);border-radius:20px;padding:7px 10px;color:#426188;font-size:11px}
.ex-composer{padding:14px;border-top:1px solid var(--fg-line)}
.ex-composer .ex-box{border:0;background:transparent;padding:0;box-shadow:none;border-radius:0}
.ex-composer .ex-box input{width:100%;border:0;outline:0;font-size:13px;padding:6px 0;background:transparent}
.ex-composer .ex-box:hover{border:0;box-shadow:none}
.ex-composer .ex-modes{display:flex;gap:5px}
.ex-composer .ex-mode{font-size:10px;padding:4px 7px;color:var(--fg-muted)}
.ex-composer .ex-mode.on{background:var(--fg-light);color:var(--fg-brand);border-radius:4px}
.ex-composer .ex-send{width:28px;height:28px;border-radius:6px;background:var(--fg-brand);color:#fff;display:grid;place-items:center}
.ex-result{margin-top:17px}
.ex-result-head{font-size:13px;font-weight:600;padding:12px 16px;border-bottom:1px solid var(--fg-line)}
.ex-result .ag-thread{padding:16px;max-height:340px}

/* ---------- 统计看板 ---------- */
.metrics{display:grid;grid-template-columns:2fr 1fr;gap:16px}
.metric,.metric-wide{background:#fff;border:1px solid var(--fg-line);border-radius:10px;padding:20px;min-height:220px;margin-bottom:0}
.metric h3,.metric-wide h3{font-size:14px;margin:0 0 14px}
.metric .chart{height:158px;position:relative;border-bottom:1px solid var(--fg-line);display:flex;justify-content:space-between;overflow:hidden}
.metric .chart i{width:1px;background:#EDF1F6;height:100%}
.metric .chart svg{position:absolute;inset:0;width:100%;height:100%;color:var(--fg-brand)}
.metric .chart svg path{stroke:var(--fg-brand)}
.metric .donut{border:17px solid #DCEBFA;border-top-color:var(--fg-brand);border-right-color:#eabf70;width:135px;height:135px;border-radius:50%;margin:22px auto 0;display:grid;place-content:center;text-align:center;font:500 22px var(--fg-num)}
.metric .donut small{font:10px "Noto Sans SC",sans-serif;color:var(--fg-muted)}
.metric .rank{display:flex;gap:10px;font-size:12px;align-items:center;padding:10px 0;border-bottom:1px solid #EDF1F6}
.metric .rank b{color:var(--fg-brand);font:11px var(--fg-num)}
.metric .rank span{margin-left:auto;width:60px;height:5px;background:#DCE9F7;border-radius:8px}
.bar-chart{padding-top:6px}
.bar-chart>div{display:flex;align-items:center;gap:15px;font-size:12px;margin:14px 0}
.bar-chart span{width:70px;color:#426188}
.bar-chart i{display:block;height:14px;background:var(--fg-brand);border-radius:0 4px 4px 0}
.bar-row{display:flex;align-items:center;gap:12px;font-size:12px;margin:13px 0}
.bar-label{width:70px;color:#426188}
.bar-track{flex:1;height:12px;background:#EEF3F9;border-radius:0 4px 4px 0;overflow:hidden}
.bar-fill{height:100%;background:var(--fg-brand);border-radius:0 4px 4px 0}
.bar-val{width:34px;text-align:right;color:var(--fg-muted)}

/* ---------- 线索池 ---------- */
.pool-tip{background:#EAF3FD;border:1px solid #CFE2F7;border-radius:8px;padding:12px 14px;font-size:12px;color:#345B82;margin-bottom:15px;display:flex;align-items:center;gap:12px}
.pool-tip:after{content:"查看完整规则 →";margin-left:auto;color:var(--fg-brand);font-weight:700}
.lead-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.lead-card{background:#fff;border:1px solid var(--fg-line);border-radius:10px;padding:17px}
.lead-card:hover{border-color:#9CC4EE;box-shadow:0 5px 13px rgba(13,46,82,.07)}
.lead-title{font-size:15px;font-weight:600;margin:13px 0 5px}
.lead-info{font-size:12px;color:var(--fg-muted);line-height:1.6}
.pool-actions{margin-top:12px;display:flex;gap:7px;flex-wrap:wrap}

/* ---------- 指定派单 / 提醒 ---------- */
.dispatch{max-width:750px;border:1px solid var(--fg-line);border-radius:11px;background:#fff;overflow:hidden}
.dispatch-step,.dispatch-preview{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid var(--fg-line)}
.dispatch-step>span,.dispatch-preview>span{font:500 12px var(--fg-num);color:var(--fg-brand);width:25px}
.dispatch h3{font-size:14px;margin:0}
.dispatch p{font-size:11px;color:var(--fg-muted);margin:3px 0 0}
.dispatch button{margin-left:auto;min-width:104px;white-space:nowrap}
.dispatch-preview{background:#F2F8FF;border-bottom:0}
/* 全部项目页：卡片网格与工作台一致，四列铺满 */
.project-grid-full{grid-template-columns:repeat(4,minmax(0,1fr));padding:20px}
.project-grid-full .project-card{min-height:158px}
.reminders{max-width:800px}
.reminders>small{font-weight:700;margin:18px 0 9px;display:block}
.reminders>button{width:100%;background:#fff;border:1px solid var(--fg-line);border-radius:8px;padding:15px;display:flex;align-items:center;gap:12px;text-align:left;margin-bottom:7px}

/* ---------- GEO 工作台 ---------- */
.geo-top-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;align-items:start;margin-bottom:18px}
.geo-top-layout .gw-stats{margin-bottom:0}
.geo-side{padding:18px;border:1px solid var(--fg-line);border-radius:10px;background:#fff}
.geo-side h4{font-size:13px;margin:0}
.geo-side .health{margin:18px 0 4px}
.geo-side .health b{font:32px var(--fg-num);color:var(--fg-brand)}
.geo-side .health span{font-size:10px;color:var(--fg-brand);background:var(--fg-light);padding:3px 5px;border-radius:3px;margin-left:8px}
.geo-side p{font-size:11px;color:var(--fg-muted);margin-bottom:12px}
.geo-side hr{border:0;border-top:1px solid var(--fg-line);margin:15px 0}
.geo-side small{font-size:11px;color:var(--fg-muted);display:block}
.geo-side>b{font-size:12px;display:block;margin:4px 0 12px}
.gw-tabs{border-bottom:1px solid var(--fg-line);display:flex;gap:23px;margin-bottom:18px;overflow:auto}
.gw-tab{padding:10px 1px;color:var(--fg-muted);font-size:13px;position:relative;background:transparent;border:0;border-radius:0}
.gw-tab:hover{background:transparent;color:var(--fg-brand)}
.gw-tab.active{background:transparent;color:var(--fg-brand);font-weight:700;border-radius:0}
.gw-tab.active:after{content:"";position:absolute;height:2px;background:var(--fg-brand);left:0;right:0;bottom:-1px}
.gw-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}
.gw-stat{background:#fff;border:1px solid var(--fg-line);border-radius:10px;padding:14px;text-align:center}
.gw-num{font:600 22px var(--fg-num);display:block;color:var(--fg-brand)}
.gw-label{font-size:11px;color:var(--fg-muted)}
.gw-card{border:1px solid var(--fg-line);border-radius:10px;padding:16px;background:#fff}
.gw-facts>div{padding:10px 0;border-bottom:1px solid #EDF1F6;font-size:12px}
.gw-facts b{color:var(--fg-muted);font-size:11px;display:block;margin-bottom:3px}

/* ---------- AI 推文 / 视频 ---------- */
.post-layout{display:grid;grid-template-columns:1fr 340px;gap:24px;max-width:1100px;align-items:start}
.post-preview-pane .phone-frame{border:9px solid #0D2E52;border-radius:25px;min-height:470px}
.chat-compose textarea{border:1px solid var(--fg-line);border-radius:8px;min-height:90px;padding:12px}
.video-flow{display:flex;border:1px solid var(--fg-line);border-radius:9px;background:#fff;max-width:850px;margin-bottom:20px;overflow:hidden}
.video-flow>div{flex:1;padding:15px;border-right:1px solid var(--fg-line);display:flex;flex-direction:column;gap:4px}
.video-flow>div:last-child{border:0}
.video-flow span{font:11px var(--fg-num);color:var(--fg-muted)}
.video-flow b{font-size:13px}
.video-flow small{font-size:10px;color:var(--fg-muted)}
.video-flow .done span{color:var(--fg-brand)}
.video-flow .current{background:#F1F7FF}
.script-layout{display:grid;grid-template-columns:1fr 360px;gap:20px;align-items:start}
.clip-strip{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px}
.clip-item{flex:0 0 168px;min-width:0;text-align:left;background:#fff;border:1px solid var(--fg-line);border-radius:8px;padding:9px 10px;cursor:pointer;transition:border-color .15s,background .15s}
.clip-item:hover{border-color:#9CC4EE;background:#F7FBFF}
.clip-no{display:block;font-size:11px;font-weight:700;color:var(--fg-brand);margin-bottom:4px}
.clip-text{display:block;font-size:11px;color:var(--fg-muted);line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- 社媒线索（小红书/抖音） ---------- */
.plat-badge{display:inline-flex;align-items:center;font-size:11px;font-weight:700;padding:3px 8px;border-radius:5px;line-height:1.4;white-space:nowrap}
.plat-小红书{background:#FFF0F3;color:#D93C5B;border:1px solid #F7CDD7}
.plat-抖音{background:#EEF0F5;color:#253046;border:1px solid #D7DCE7}
.lead-summary{font-size:12px;color:var(--fg-muted);background:#F7FAFD;border-left:2px solid var(--fg-brand);padding:7px 10px;border-radius:0 5px 5px 0;margin:7px 0 9px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fresh-fresh{color:var(--fg-green)} .fresh-aging{color:var(--fg-amber)} .fresh-stale,.fresh-future{color:var(--fg-red)}
.detail-row .dv:empty:after{content:""}
.detail-section .ds-body a{color:var(--fg-brand);text-decoration:none}

/* ---------- 移动端 ---------- */
@media(max-width:1000px){
  .dash-two-col,.metrics,.ex-layout,.post-layout,.script-layout,.geo-top-layout{grid-template-columns:1fr;height:auto}
  .ex-layout{min-height:auto}
  .ex-aside{border-right:0;border-bottom:1px solid var(--fg-line)}
  .lead-list{grid-template-columns:repeat(2,1fr)}
  .gw-stats{grid-template-columns:repeat(3,1fr)}
  .project-grid,.project-grid-full{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .content{padding:22px 15px 44px}
  .topbar{padding:0 16px}
  .page-head h1{font-size:22px}
  .stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .lead-list{grid-template-columns:1fr}
  .gw-stats{grid-template-columns:repeat(2,1fr)}
  .video-flow{overflow:auto}
  .filter-bar .keyword{margin-left:0;width:100%}
  .project-grid,.project-grid-full{grid-template-columns:1fr;gap:10px;padding:0 14px 14px}
  .project-panel .panel-head,.soon-panel .panel-head{padding:14px}
  .ph-title{display:block}
  .panel-sub{display:block;margin-top:3px}
  .soon-panel .soon-list{padding:4px 14px 10px}
}
