/* R10：沿用 home / work / store 原型组件，仅作用于新增页面。 */
/* R11 结构与折叠状态；沿用已有颜色、字号、间距与卡片规则。 */
.gmx .decision-option { flex:1; min-width:0; }
.gmx .project-focus { outline:2px solid var(--tab-ink); outline-offset:-2px; }
.fnx #fin-object:not(.fin-extra-open) :is(#sp-voice,#sp-food,#sp-ful,#sp-parts,#sp-biz),
.fnx #fin-object:not(.fin-extra-open) .sp-nav :is([data-jump="sp-voice"],[data-jump="sp-food"],[data-jump="sp-ful"],[data-jump="sp-parts"],[data-jump="sp-biz"]) { display:none; }
.gmx, .fnx { min-width:0; color:var(--ink); }
.gmx .block, .fnx .block { min-width:0; overflow:hidden; }
.gmx .block-body, .fnx .block-body { padding:14px 18px 18px; }
.gmx .block-body > :first-child, .fnx .block-body > :first-child { margin-top:0; }
.gmx .card, .fnx .card { background:#fff; border-radius:12px; box-shadow:none; }
.gmx .card-h, .fnx .card-h { display:flex; align-items:center; gap:10px; padding:14px 18px 0; }
.gmx .card-h h2, .fnx .card-h h2 { margin:0; font-size:15px; font-weight:600; }
.gmx h3, .fnx h3 { font-size:14px; margin:16px 0 8px; }
.gmx .sp, .fnx .sp { flex:1; }
.gmx p, .fnx p { line-height:1.65; }
.gmx .muted, .fnx .muted { color:var(--ink3); font-size:12px; }
.gmx .neg, .fnx .neg { color:#C23D36; }
.gmx .pos, .fnx .pos { color:var(--pos); }
.gmx .table-wrap, .fnx .table-wrap { width:100%; overflow-x:auto; }
.gmx table.kt, .fnx table.kt { width:100%; border-collapse:collapse; table-layout:auto; }
.gmx .kt th, .fnx .kt th { padding:9px 10px; font-size:12px; font-weight:500; text-align:left; color:#4E5969; background:#F8F9FB; }
.gmx .kt td, .fnx .kt td { padding:10px; font-size:13px; vertical-align:top; border-top:1px solid #F0F1F3; }
.gmx .kt small, .fnx .kt small { display:block; color:var(--ink3); font-size:11px; margin-top:3px; }
.gmx .kt a, .fnx .kt a { color:var(--tab-ink); text-decoration:none; }
.gmx .kt tr[data-hq-href], .fnx .kt tr[data-hq-href], .gmx [data-ramp] { cursor:pointer; }
.gmx .kt tr[data-hq-href]:hover, .fnx .kt tr[data-hq-href]:hover, .gmx [data-ramp]:hover { background:#F8F9FB; }
.gmx .three-cols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; border-top:1px solid #E5E6EB; padding-top:12px; }
.gmx .three-cols > section { min-width:0; }
.gmx .three-cols > section + section { border-left:1px solid #E5E6EB; padding-left:18px; }
.gmx .three-cols .kt td, .gmx .three-cols .kt th { padding:8px 5px; }
.gmx .four-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.gmx .four-stats > div > span { font-size:12px; color:var(--ink2); display:block; }
.gmx .four-stats b { display:block; font-size:28px; font-weight:600; }
.gmx .four-stats details b { display:inline; margin-right:10px; }
.gmx details, .fnx details { margin-top:12px; }
.gmx summary, .fnx summary { cursor:pointer; font-size:12px; color:var(--ink2); }
.gmx .pnl-value { font-weight:600; font-size:15px; }
.gmx .leverage { margin-top:20px; padding-top:14px; border-top:1px solid #E5E6EB; font-size:13px; }
.gmx .finding-row { display:flex; align-items:center; gap:10px; padding:12px 0; color:inherit; text-decoration:none; border-bottom:1px solid #F0F1F3; }
.gmx .finding-row > b, .gmx .finding-row > div { flex:1; }
.gmx .finding-row small { display:block; color:var(--ink3); margin-top:4px; }
.gmx .finding-row > span:last-child { font-size:12px; color:var(--ink3); white-space:nowrap; }
.gmx .seg, .fnx .seg { display:inline-flex; height:34px; border:1px solid #E5E6EB; border-radius:6px; overflow:hidden; }
.gmx .seg button, .gmx .seg a, .fnx .seg button { display:flex; align-items:center; justify-content:center; background:#fff; border:0; border-radius:0; padding:0 12px; text-decoration:none; color:#4E5969; font:inherit; font-size:12px; cursor:pointer; }
.gmx .seg > * + *, .fnx .seg > * + * { border-left:1px solid #E5E6EB; }
.gmx .seg .on, .fnx .seg .on, .gmx .cq .on { background:#EDF0FE; color:#1E3FDF; box-shadow:inset 0 0 0 1px #C9D2F8; }
.gmx .btn, .fnx .btn { display:inline-flex; align-items:center; justify-content:center; height:34px; padding:0 14px; border:1px solid #E5E6EB; border-radius:6px; background:#fff; font:inherit; font-size:13px; cursor:pointer; }
.gmx .btn.primary, .fnx .btn.primary { background:#111114; border-color:#111114; color:#fff; }
.gmx .composer, .fnx .composer { padding:12px; margin-top:12px; background:#FAFBFC; border:1px solid #E5E6EB; border-radius:8px; }
.gmx .composer textarea, .fnx .composer textarea { box-sizing:border-box; width:100%; margin:8px 0 0; padding:8px 10px; border:1px solid #E5E6EB; border-radius:6px; font:inherit; resize:vertical; background:#fff; }
.gmx select, .fnx select { height:32px; padding:0 8px; border:1px solid #E5E6EB; border-radius:6px; background:white; font:inherit; }
.gmx .cmp-foot, .fnx .cmp-foot { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:8px; }
.gmx .form-error, .fnx .form-error { margin:6px 0 0; min-height:0; color:#C23D36; font-size:12px; }
.gmx .cq { display:flex; gap:8px; }
.gmx .cq button { height:30px; padding:0 12px; border:1px solid #E5E6EB; border-radius:6px; background:white; cursor:pointer; }
.gmx .qwrap { grid-template-columns:300px minmax(0,1fr); }
.gmx .qmain { display:grid; gap:16px; }
.gmx .qmain .ev { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.gmx .qlist .qi { text-decoration:none; color:inherit; white-space:normal; }
.gmx .qlist .qi b { display:block; font-size:13px; line-height:1.6; }
.gmx .qlist .qi small { display:block; }
.gmx .qlist .qhd { display:flex; justify-content:space-between; gap:8px; padding:12px 16px; font-size:12px; color:var(--ink2); }
.gmx .team-wrap > .ev { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.gmx .lg, .fnx .lg { min-width:0; }
.gmx .quadrant-zone { cursor:pointer; }
.gmx svg text, .fnx svg text { font:11px var(--sans); fill:var(--ink3); }
.gmx svg .lab-strong { font-weight:600; fill:var(--ink); }
.gmx svg, .fnx svg { max-width:100%; }
.gmx .ramp-detail[hidden] { display:none; }
.gmx .tag, .fnx .tag { display:inline-flex; padding:1px 6px; border-radius:4px; background:#F2F3F5; color:var(--ink2); font-size:11px; white-space:nowrap; }
.gmx .tag.amber, .fnx .tag.amber { background:#FFF5DD; color:#A86A06; }
.fnx .qwrap { grid-template-columns:280px minmax(0,1fr); }
.fnx .qlist .qi { color:inherit; text-decoration:none; }
.fnx .w3.spx { margin:0; }
.fnx .fin-four { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 20px; }
.fnx .fin-four > section { min-width:0; }
.fnx .fin-four h4 { margin:10px 0 6px; font-size:13px; color:var(--ink2); }
.fnx .fin-four p { font-size:13px; margin:6px 0; }
.fnx .fin-four .kt td { word-break:break-word; }
.fnx .fin-ai { font-size:12px; color:var(--ink3); padding-top:12px; border-top:1px solid #E5E6EB; }
.fnx .bkh { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.fnx .bkh h3 { flex:1; font-size:17px; margin:0; }
.fnx .three-stats { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:14px; }
.fnx .three-stats b { display:block; }
.fnx .row2 { align-items:start; }
.fnx .account-pages { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; font-size:12px; color:var(--ink2); }
.fnx .btn:disabled { opacity:.4; cursor:default; }
.fnx .finance-accounts { min-width:820px; }
.fnx .kt th button { border:0; padding:0; background:none; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.fnx .fin-logs p { padding:8px 0; border-top:1px solid #E5E6EB; font-size:13px; }
.fnx .wbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:10px 14px; margin-bottom:12px; background:white; border-radius:8px; font-size:12px; }
.fnx .wbar a { color:var(--tab-ink); text-decoration:none; }
@media(max-width:1200px) {
  .gmx .three-cols { grid-template-columns:1fr; }
  .gmx .three-cols > section + section { border-left:0; padding-left:0; border-top:1px solid #E5E6EB; padding-top:10px; }
  .gmx .qwrap, .fnx .qwrap { grid-template-columns:250px minmax(0,1fr); }
  .fnx .fin-four { grid-template-columns:1fr; }
  .fnx .row2 { grid-template-columns:minmax(0,1fr); }
  .gmx .banner h2, .fnx .banner h2 { font-size:22px; }
  .gmx .bstats > div, .fnx .bstats > div { padding:0 18px; min-width:0; }
}
@media(max-width:800px) {
  .gmx .qwrap, .fnx .qwrap { grid-template-columns:1fr; }
  .gmx .four-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gmx .bstats, .fnx .bstats { flex-wrap:wrap; gap:14px; }
  .gmx .bstats > div, .fnx .bstats > div { border:0!important; padding:0; }
  .gmx .quadrant-tabs { height:auto; flex-wrap:wrap; }
  .gmx .quadrant-tabs button { min-height:32px; }
}
