/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/role-entry.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
:root{--blue:#0879bd;--navy:#073f65;--text:#315f80;--line:#c9e1ef;--soft:#eef8fd;--grid:#178dca;--compute:#19a69f;--network:#7859d7;--orange:#ef9c2e;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#073f65;background:#f4fbff}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fff 0 72px,#f1f9fd 72px 100%)}button{font:inherit}
.role-entry-brand{height:72px;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcebf4;background:#fff}
.role-entry-brand a{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.role-entry-logo{width:48px;height:48px;display:grid;place-items:center}.role-entry-logo img{width:46px;height:46px;object-fit:contain}.role-entry-brand small{display:block;color:#1384c5;font-size:10px;letter-spacing:.12em}.role-entry-brand strong{display:block;margin-top:2px;font-size:18px}.role-entry-badge{padding:7px 13px;border:1px solid #b9d9ea;background:#f5fbfe;color:#0879bd;font-size:13px;font-weight:700}
.role-entry{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:clamp(58px,8vh,94px) 0 36px}.role-entry-intro{max-width:720px}.role-entry-kicker{margin:0 0 14px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.22em}.role-entry-intro h1{margin:0;font-size:clamp(32px,4vw,48px);line-height:1.2;letter-spacing:-.03em}.role-entry-intro>p:last-child{margin:18px 0 0;color:#62839a;font-size:16px;line-height:1.8}
.role-entry-grid{margin-top:42px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:#fff}.role-card{position:relative;min-height:310px;padding:24px 24px 22px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:0;border-right:1px solid var(--line);border-top:4px solid var(--accent);background:#fff;color:var(--navy);cursor:pointer;transition:background .16s ease,transform .16s ease}.role-card:last-child{border-right:0}.role-card:hover,.role-card:focus-visible{z-index:1;background:#f6fbfe;outline:2px solid var(--accent);outline-offset:-2px;transform:translateY(-3px)}.role-card:disabled{cursor:default}.role-card.was-selected:after{content:"上次选择";position:absolute;right:16px;top:18px;padding:3px 7px;background:#edf7fc;color:#3e789b;font-size:11px}.role-card.is-entering{background:#edf8fd;outline:2px solid var(--accent);outline-offset:-2px}.role-grid{--accent:var(--grid)}.role-compute{--accent:var(--compute)}.role-network{--accent:var(--network)}.role-coordinator{--accent:var(--orange)}
.role-card-index{color:#8ca6b7;font-size:10px;font-weight:800;letter-spacing:.1em}.role-card-symbol{width:64px;height:64px;margin-top:34px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 35%,white);border-radius:50%;background:color-mix(in srgb,var(--accent) 6%,white);color:var(--accent)}.role-card-symbol svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.role-card-copy{margin-top:22px}.role-card-copy strong{display:block;font-size:23px;letter-spacing:-.02em}.role-card-copy small{display:block;margin-top:10px;color:#68879c;font-size:14px;line-height:1.6}.role-card-action{margin-top:auto;color:var(--accent);font-size:13px;font-weight:700}.role-card-action b{margin-left:5px;font-size:17px}.role-entry-foot{margin-top:24px;display:flex;justify-content:flex-end;align-items:center;gap:12px;color:#7892a4;font-size:12px}.role-entry-foot i{width:1px;height:12px;background:#c9dce8}
@media(max-width:900px){.role-entry-grid{grid-template-columns:repeat(2,1fr)}.role-card:nth-child(2){border-right:0}.role-card{min-height:230px;border-bottom:1px solid var(--line)}.role-card-symbol{margin-top:20px}.role-entry-foot{justify-content:flex-start;flex-wrap:wrap}}
.role-entry.role-ask{width:min(760px,calc(100% - 40px));min-height:calc(100vh - 72px);display:flex;align-items:center;padding:28px 0 40px}
.role-ask-stage{width:100%}
.role-ask-stage h1{margin:0;font-size:32px;letter-spacing:-.03em}
.role-ask-roles{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px}
.role-ask-role{height:40px;padding:0 14px 0 8px;display:inline-flex;align-items:center;gap:8px;border:1px solid #d5e3ee;border-radius:999px;background:#fff;color:var(--navy);cursor:pointer}
.role-ask-role i{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,white)}
.role-ask-role svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.role-ask-role b{font-size:14px;font-weight:650}
.role-ask-role.is-on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,white)}
.role-ask-prompts{margin-top:18px;display:flex;flex-direction:column;gap:8px}
.role-ask-prompts button{padding:12px 14px;border:1px solid #e3ebf1;border-radius:14px;background:#fff;color:#23475f;font-size:14px;line-height:1.55;text-align:left;cursor:pointer}
.role-ask-prompts button:hover{background:#f7fbfd;border-color:#c5d8e6}
.role-ask-hint{margin:18px 0 0;color:#7b93a5;font-size:14px}
.role-entry.role-ask.is-brief{width:min(1280px,calc(100% - 40px));align-items:flex-start;min-height:0}
.role-brief{margin-top:22px;display:flex;flex-direction:column;gap:14px}
.role-brief-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}
.role-brief-card{padding:16px 18px;border:1px solid #d5e8f4;border-radius:16px;background:#fff}
.role-brief-card h2{margin:0 0 10px;color:#073f65;font-size:16px}
.role-brief-card ul{margin:0;padding-left:18px}
.role-brief-card li,.role-brief-card p{color:#3d647c;font-size:14px;line-height:1.7}
.role-brief-card li+li{margin-top:6px}
.role-brief-formula{margin:0 0 10px;padding:12px 14px;border-radius:10px;background:#f4fafd;color:#0a5278;font-size:15px;font-weight:700}
.role-brief-card>p:last-child{margin:0}
.role-brief-board{overflow:hidden;border:1px solid #d5e8f4;border-radius:16px;background:#f4fafd}
.role-brief-board .exclusive-data-pane{min-height:520px;display:flex;flex-direction:column}
.role-brief-next{padding:16px 18px 18px;border:1px solid #d5e8f4;border-radius:16px;background:#fff}
.role-brief-next>h2{margin:0 0 12px;color:#073f65;font-size:16px}
.role-brief-next .role-ask-prompts{margin-top:0}
.role-brief-next .role-ask-box{margin-top:12px}
@media(max-width:800px){.role-brief-grid{grid-template-columns:1fr}}
.role-ask-box{margin-top:16px;padding:12px 12px 10px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;border:1px solid #d7e2ea;border-radius:24px;background:#fff;box-shadow:0 8px 28px rgba(7,63,101,.06)}
.role-ask-box textarea{width:100%;min-height:72px;max-height:180px;padding:6px 8px;border:0;resize:none;background:transparent;color:var(--navy);font:inherit;font-size:16px;line-height:1.55;outline:none}
.role-ask-box button{height:36px;padding:0 16px;border:0;border-radius:999px;background:#0879bd;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.role-ask-box button:disabled{background:#d5e0e8;color:#fff;cursor:default}
@media(max-width:560px){.role-entry-brand{padding:0 18px}.role-entry-brand small,.role-entry-badge{display:none}.role-entry{width:calc(100% - 28px);padding-top:42px}.role-entry.role-ask{width:calc(100% - 28px);padding-top:24px}.role-ask-stage h1{font-size:26px}.role-entry-grid{grid-template-columns:1fr}.role-card{min-height:185px;border-right:0}.role-card-symbol{width:52px;height:52px;margin-top:16px}.role-card-symbol svg{width:28px;height:28px}.role-card-copy{margin-top:16px}}
/* Match the shared platform brand lockup */
.role-entry-brand{padding-inline:clamp(24px,4vw,64px)}.role-entry-brand a{gap:12px}.role-entry-logo{width:48px;height:48px}.role-entry-logo img{width:46px;height:46px}.role-entry-brand small{font-size:10px;letter-spacing:.12em;line-height:1}.role-entry-brand strong{margin-top:2px;font-size:16px;line-height:1.25;white-space:nowrap}

/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/workspace.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
:root{--blue:#0879bd;--navy:#073f65;--text:#315f80;--muted:#6f8da1;--line:#c9e1ef;--soft:#eef8fd;--role:#178dca;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--navy);background:#eff8fd}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#eff8fd}body[data-role="compute"]{--role:#19a69f}body[data-role="network"]{--role:#7859d7}body[data-role="coordinator"]{--role:#ef9c2e}button,a{font:inherit}
.workbench-header{height:72px;padding:0 clamp(22px,3.5vw,56px);display:flex;align-items:center;gap:24px;border-bottom:0;background:#fff}.workbench-brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;min-width:max-content}.workbench-brand img{width:46px;height:46px;object-fit:contain}.workbench-brand small{display:block;color:#1384c5;font-size:9px;letter-spacing:.12em}.workbench-brand strong{display:block;margin-top:3px;font-size:17px}.workbench-primary-nav{height:100%;display:flex;align-items:stretch;gap:0;margin-left:auto}.workbench-header .account-menu{flex:none}.workbench-header-actions{display:flex;align-items:center;gap:10px}.workbench-header-actions a,.workbench-header-actions button{height:36px;padding:0 14px;display:inline-flex;align-items:center;border:1px solid #bddbea;background:#fff;color:#1875a8;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer}.workbench-header-actions button{border-color:var(--blue);background:var(--blue);color:#fff}
.workbench-header-actions .game-entry{border-color:#efc77f;background:#fff8e9;color:#a86900}
.workbench{width:min(1460px,calc(100% - 36px));margin:0 auto;padding:22px 0 42px}.workbench-context{min-height:112px;padding:22px 24px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;grid-gap:18px;gap:18px;border:1px solid var(--line);border-top:3px solid var(--role);background:#fff}.workbench-role-mark{width:54px;height:54px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--role) 45%,white);background:color-mix(in srgb,var(--role) 8%,white);color:var(--role);font-size:23px;font-weight:800}.workbench-role-copy small,.workbench-current small{display:block;color:var(--muted);font-size:11px}.workbench-role-copy h1{margin:4px 0 6px;font-size:24px}.workbench-role-copy p{margin:0;color:#608097;font-size:13px}.workbench-current{min-width:260px;padding-left:24px;border-left:1px solid #dceaf2}.workbench-current strong{display:block;margin-top:7px;font-size:15px}
.workbench-steps{margin-top:14px;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);background:#fff}.workbench-steps button{position:relative;min-height:76px;padding:13px 14px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;text-align:left;border:0;border-right:1px solid var(--line);background:#fff;color:#416c88;cursor:pointer}.workbench-steps button:last-child{border-right:0}.workbench-steps b{grid-row:1/3;color:#91a9b9;font-size:12px}.workbench-steps span{font-size:14px;font-weight:800}.workbench-steps small{margin-top:4px;color:#8aa2b2;font-size:11px}.workbench-steps button.active{background:#edf8fd;color:var(--navy);box-shadow:inset 0 3px var(--role)}.workbench-steps button.active b{color:var(--role)}.workbench-steps button.locked{background:#fafcfd;color:#9cadb8}.workbench-steps button.locked:after{content:"";position:absolute;right:10px;top:10px;width:5px;height:5px;background:#c4d3dc;border-radius:50%}
.workbench-layout{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:14px;gap:14px}.workbench-stage{min-height:540px;padding:30px;border:2px solid #b9deef;border-radius:10px;background:#fff;box-shadow:none}.stage-heading{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid #dceaf2}.stage-heading span{color:var(--role);font-size:11px;font-weight:800;letter-spacing:.12em}.stage-heading h2{margin:8px 0 6px;font-size:23px}.stage-heading p{margin:0;color:#6c899d;font-size:14px}.stage-heading em{padding:6px 9px;border:1px solid color-mix(in srgb,var(--role) 35%,white);background:color-mix(in srgb,var(--role) 6%,white);color:var(--role);font-size:12px;font-style:normal;font-weight:700}.stage-placeholder{min-height:370px;display:grid;place-items:center;text-align:center}.stage-placeholder>div{max-width:520px}.stage-placeholder b{width:52px;height:52px;margin:0 auto 17px;display:grid;place-items:center;border:1px solid var(--line);background:var(--soft);color:var(--role);font-size:21px}.stage-placeholder span{display:block;font-size:18px;font-weight:800}.stage-placeholder p{margin:10px 0 0;color:#7791a3;font-size:13px;line-height:1.7}.collaborator-rail{width:280px;border:1px solid var(--line);background:#fff}.workbench-notice{position:fixed;left:50%;bottom:28px;z-index:10;padding:10px 16px;transform:translate(-50%,20px);border:1px solid #a8cfE4;background:#073f65;color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.18s}.workbench-notice.show{transform:translate(-50%,0);opacity:1}
.scenario-layout{padding-top:24px}.stage-block{padding:20px;border:1px solid #d5e8f2;background:#fbfdfe}.scenario-layout .stage-block{border:1px solid #a9cfe3;background:#f1f8fc}.stage-block+.stage-block{margin-top:14px}.field-label{display:block;color:#124e73;font-size:14px;font-weight:800}.field-help,.block-heading p{margin:7px 0 0;color:#7b95a6;font-size:12px}.stage-block select,.custom-scenario input,.custom-scenario textarea,.mapping-row select{width:100%;margin-top:10px;border:1px solid #bdd9e8;background:#fff;color:#164f72;outline:none}.stage-block select,.custom-scenario input,.mapping-row select{height:42px;padding:0 12px}.custom-scenario textarea{padding:11px 12px;resize:vertical}.stage-block select:focus,.custom-scenario input:focus,.custom-scenario textarea:focus,.mapping-row select:focus{border-color:var(--role);box-shadow:0 0 0 2px color-mix(in srgb,var(--role) 12%,white)}.block-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.secondary,.primary{height:40px;padding:0 16px;border:1px solid #b9d9ea;background:#fff;color:#0879bd;font-weight:700;cursor:pointer}.primary{border-color:var(--blue);background:var(--blue);color:#fff}.primary:disabled{border-color:#d3e1e9;background:#e7eff4;color:#92a6b3;cursor:not-allowed}.scenario-templates{margin-top:15px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;gap:10px}.scenario-templates button{min-height:92px;padding:15px;text-align:left;border:1px solid #b8d7e8;background:#fff;color:#174f70;cursor:pointer}.scenario-templates button:hover,.scenario-templates button.selected{border-color:var(--role);background:color-mix(in srgb,var(--role) 6%,white);box-shadow:inset 3px 0 var(--role)}.scenario-templates strong{display:block;font-size:15px}.scenario-templates span{display:block;margin-top:7px;color:#708da0;font-size:12px;line-height:1.55}.scenario-templates .custom-scenario-card{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-content:center;grid-column-gap:12px;column-gap:12px}.custom-scenario-card>b{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border:1px solid #a8d1e5;background:#eef8fd;color:var(--role);font-size:25px;font-weight:400}.custom-scenario-card strong,.custom-scenario-card span{grid-column:2;margin:0}.custom-scenario-card span{margin-top:5px}.custom-scenario{margin-top:14px;padding:20px;display:grid;grid-template-columns:1fr 2fr;grid-gap:14px;gap:14px;border:1px solid #a9cfe3;background:#f1f8fc}.custom-scenario[hidden]{display:none}.custom-scenario label{font-size:13px;font-weight:700}.stage-actions{margin-top:20px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #dceaf2}.stage-actions>span{color:#718da0;font-size:12px}
.data-choice{padding-top:24px;display:grid;grid-template-columns:1fr 56px 1fr;align-items:stretch}.upload-zone,.demo-data{min-height:150px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border:1px dashed #9bc9e1;background:#f7fbfe;color:#124f73;text-align:left;cursor:pointer}.upload-zone:hover,.demo-data:hover{border-color:var(--role);background:color-mix(in srgb,var(--role) 5%,white)}.upload-zone input{position:absolute;opacity:0;pointer-events:none}.upload-zone b,.demo-data b{font-size:17px}.upload-zone span,.demo-data span{margin-top:9px;color:#64849a;font-size:13px;line-height:1.6}.upload-zone small{margin-top:12px;color:#8ca3b2}.demo-data{border-style:solid;font:inherit}.choice-or{display:grid;place-items:center}.choice-or span{color:#8aa1b0;font-size:12px}.mapping-summary{margin-top:18px;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #cfe3ef;background:#f4fafe}.mapping-summary[hidden]{display:none}.mapping-summary>div{padding:15px;border-right:1px solid #d7e8f1}.mapping-summary>div:last-child{border-right:0}.mapping-summary small{display:block;color:#7893a5;font-size:11px}.mapping-summary strong{display:block;margin-top:5px;font-size:21px}.mapping-summary .demo-selected{grid-column:1/-1;display:flex;align-items:center;gap:18px}.mapping-summary .demo-selected strong{font-size:15px}.mapping-summary .demo-selected span{color:#66869a;font-size:13px}.mapping-confirm,.data-preview{margin-top:14px;padding:18px;border:1px solid #d5e8f2}.mapping-confirm[hidden],.data-preview[hidden]{display:none}.mapping-list{margin-top:12px}.mapping-row{min-height:56px;padding:9px 10px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) 150px;align-items:center;grid-gap:14px;gap:14px;border-top:1px solid #e1edf4}.mapping-row:first-child{border-top:0}.mapping-row>div strong{display:block;font-size:13px}.mapping-row>div small{display:block;margin-top:4px;color:#839aa9;font-size:11px}.mapping-row>span{color:#527890;font-size:12px}.mapping-row>em{justify-self:end;color:#1680b8;font-size:12px;font-style:normal}.mapping-row.context>em{color:#7c92a1}.mapping-row select{margin:0;height:34px;font-size:12px}.preview-scroll{margin-top:12px;overflow:auto}.data-preview table{width:100%;border-collapse:collapse;font-size:12px}.data-preview th,.data-preview td{padding:9px 10px;border:1px solid #dceaf2;text-align:left;white-space:nowrap}.data-preview th{background:#edf7fc}.stage-loading,.stage-error{min-height:450px;display:grid;place-content:center;text-align:center;color:#708da0}.stage-error strong{color:#b15e20}.stage-error button{margin-top:12px;height:38px;border:1px solid var(--blue);background:#fff;color:var(--blue);cursor:pointer}
@media(max-width:900px){.workbench{width:min(100% - 20px,720px)}.workbench-context{grid-template-columns:48px 1fr}.workbench-current{grid-column:1/-1;padding:14px 0 0;border-left:0;border-top:1px solid #dceaf2}.workbench-steps{overflow:auto;grid-template-columns:repeat(5,minmax(150px,1fr))}.workbench-stage{padding:22px}.workbench-brand small{display:none}.scenario-templates{grid-template-columns:1fr}.custom-scenario{grid-template-columns:1fr}.data-choice{grid-template-columns:1fr}.choice-or{height:42px}.mapping-summary{grid-template-columns:repeat(2,1fr)}.mapping-row{grid-template-columns:1fr}.mapping-row>em{justify-self:start}}
@media(max-width:560px){.workbench-header{padding:0 12px}.workbench-brand strong{font-size:14px}.workbench-brand img{width:38px;height:38px}.workbench-header-actions a{display:none}.workbench-context{padding:18px}.workbench-role-copy h1{font-size:20px}.workbench-role-copy p{font-size:12px}.stage-heading{gap:12px}.stage-heading em{display:none}}
.agent-workspace{padding-top:24px;display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-gap:16px;gap:16px}.agent-main,.agent-evidence{border:1px solid #d5e8f2;background:#fff}.agent-chat-head{padding:17px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #dceaf2;background:#f6fbfe}.agent-avatar{width:42px;height:42px;display:grid;place-items:center;background:var(--role);color:#fff;font-size:18px;font-weight:800}.agent-chat-head small,.agent-chat-head span{display:block;color:#7893a5;font-size:11px}.agent-chat-head strong{display:block;margin:3px 0;font-size:15px}.agent-messages{height:310px;padding:18px;overflow:auto;background:#fbfdfe}.agent-empty{max-width:540px;margin:72px auto;text-align:center}.agent-empty b{font-size:16px}.agent-empty p{color:#7892a3;font-size:12px;line-height:1.7}.agent-message{max-width:88%;margin-bottom:15px}.agent-message.user{margin-left:auto}.agent-message small{display:block;margin-bottom:5px;color:#7b93a3;font-size:10px}.agent-message>div{padding:11px 13px;border:1px solid #d4e6f0;background:#fff;color:#315f80;font-size:13px;line-height:1.75}.agent-message.user>div{border-color:color-mix(in srgb,var(--role) 35%,white);background:color-mix(in srgb,var(--role) 7%,white)}.agent-message h4{margin:8px 0 2px;color:#104e73;font-size:14px}.agent-message h4:first-child{margin-top:0}.agent-suggestions{padding:0 18px 12px;display:flex;gap:8px;flex-wrap:wrap;background:#fbfdfe}.agent-suggestions button{padding:7px 10px;border:1px solid #c7deeb;background:#fff;color:#3c6b87;font-size:11px;cursor:pointer}.agent-form{padding:16px;border-top:1px solid #dceaf2}.agent-form label{display:block;margin-bottom:7px;font-size:12px;font-weight:800}.agent-form textarea{width:100%;padding:11px;border:1px solid #bed9e8;color:#164f72;resize:vertical;outline:none}.agent-form textarea:focus{border-color:var(--role)}.agent-form>div{margin-top:9px;display:flex;align-items:center;justify-content:space-between;gap:14px}.agent-form>div span{color:#829aa9;font-size:11px}.agent-evidence{padding:18px;background:#f8fcfe}.agent-evidence header{padding-bottom:14px;border-bottom:1px solid #dbeaf2}.agent-evidence header small{color:var(--role);font-size:10px;font-weight:800}.agent-evidence h3{margin:5px 0 0;font-size:16px}.agent-evidence p{color:#7590a2;font-size:12px;line-height:1.7}.agent-evidence dl{margin:14px 0}.agent-evidence dl div{padding:9px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e0edf3;font-size:12px}.agent-evidence dt{color:#7892a3}.agent-evidence dd{margin:0;text-align:right;font-weight:700}.agent-evidence h4{margin:17px 0 8px;font-size:12px}.agent-evidence ul{margin:0;padding:0;list-style:none}.agent-evidence li{padding:8px 0;display:flex;gap:8px;border-top:1px solid #e1edf3;font-size:11px}.agent-evidence li b{color:var(--role)}.evidence-warning{margin-top:14px;padding:10px;border-left:3px solid #ee9c2c;background:#fff8ed;font-size:11px}.evidence-warning b,.evidence-warning span{display:block}.evidence-warning span{margin-top:4px;color:#866331}.collaborator-rail{padding:20px}.collaborator-rail header{padding-bottom:15px;border-bottom:1px solid #dceaf2}.collaborator-rail header small{color:var(--role);font-size:10px;font-weight:800}.collaborator-rail h3{margin:5px 0;font-size:17px}.collaborator-rail header p{margin:0;color:#7891a2;font-size:11px;line-height:1.6}.collaborator-rail article{padding:14px 0;border-bottom:1px solid #e0edf4}.collaborator-rail article span,.collaborator-rail article small{display:block}.collaborator-rail article span{font-size:13px;font-weight:800}.collaborator-rail article small{margin:4px 0 9px;color:#7b94a5;font-size:10px}.collaborator-rail article button{width:100%;height:32px;border:1px solid #bbd8e8;background:#fff;color:#1876aa;font-size:11px;cursor:pointer}.collaborator-rail article button:disabled{background:#edf7fc;color:#5f859c;cursor:default}@media(max-width:1120px){.agent-workspace{grid-template-columns:1fr}.agent-evidence{min-height:auto}.workbench-layout{grid-template-columns:1fr}.collaborator-rail{width:auto}.collaborator-rail>div{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}}
.agent-workspace{display:block}.agent-messages{height:460px;padding:24px}.agent-message{max-width:82%}.agent-message.assistant{max-width:94%}.agent-form{padding:20px}.agent-form textarea{min-height:112px}
.simulation-content{min-height:380px;padding-top:24px;display:grid;place-items:center}.game-recommendation,.simulation-result,.simulation-skip{width:min(720px,100%);padding:28px;border:1px solid #c9e1ef;border-left:4px solid var(--role);background:#f8fcfe}.game-recommendation>span,.simulation-result>span{color:var(--role);font-size:11px;font-weight:800;letter-spacing:.08em}.game-recommendation h3,.simulation-result h3{margin:9px 0 8px;font-size:21px}.game-recommendation p,.simulation-result p,.simulation-skip p{color:#628198;font-size:13px;line-height:1.75}.game-recommendation ul{margin:16px 0 20px;padding-left:20px;color:#426c86;font-size:12px;line-height:1.9}.simulation-result>div{margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d5e7f1}.simulation-result>div b{padding:13px;border-right:1px solid #d5e7f1;font-size:12px}.simulation-result>div b:last-child{border-right:0}.simulation-result small{color:#758fa0}.simulation-skip b{font-size:17px}
.report-preview{padding-top:24px}.analysis-report{border:1px solid #cfe2ed;background:#fff;color:#224f6d}.analysis-report>header{padding:28px 30px;display:flex;justify-content:space-between;gap:24px;border-top:4px solid var(--role);border-bottom:1px solid #d7e8f1;background:#f6fbfe}.analysis-report>header small{color:var(--role);font-weight:800;letter-spacing:.08em}.analysis-report>header h2{margin:8px 0 5px;font-size:24px}.analysis-report>header p{margin:0;color:#708da0;font-size:12px}.analysis-report>header>span{align-self:flex-start;padding:7px 11px;border:1px solid #bcdbea;color:var(--role);font-size:12px;font-weight:800}.analysis-report section{padding:24px 30px;border-bottom:1px solid #dceaf2}.analysis-report section h3{margin:0 0 15px;font-size:16px}.analysis-report section p,.analysis-report section li{font-size:12px;line-height:1.8;color:#526f82}.analysis-report dl{margin:0 0 15px;display:grid;grid-template-columns:repeat(2,1fr);border:1px solid #d7e7f0}.analysis-report dl div{padding:11px 13px;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e0ecf3}.analysis-report dt{color:#7891a2;font-size:11px}.analysis-report dd{margin:0;text-align:right;font-size:12px;font-weight:700}.report-answer{padding:15px;border-left:3px solid var(--role);background:#f5fafd;font-size:13px;line-height:1.8}.report-answer+.report-answer{margin-top:10px}.report-tags{display:flex;gap:8px;flex-wrap:wrap}.report-tags b{padding:6px 9px;border:1px solid #bfdce9;background:#f1f9fd;color:#1479ad;font-size:11px}.analysis-report>footer{padding:16px 30px;display:flex;justify-content:space-between;gap:20px;background:#073f65;color:#fff;font-size:10px}.analysis-report>footer span{opacity:.72}@media print{.workbench-header,.workbench-context,.workbench-steps,.stage-heading,.collaborator-rail,.workbench-notice{display:none!important}.workbench,.workbench-layout{width:100%;margin:0;padding:0;display:block}.workbench-stage{border:0;padding:0}.report-preview{padding:0}.analysis-report{border:0}}

.report-answer h4{margin:10px 0 3px;color:#104e73;font-size:14px}.report-answer h4:first-child{margin-top:0}
.agent-message.needs-input{max-width:100%}.information-request{margin-top:10px;border:1px solid #bfdbe9;background:#f7fbfd}.information-request header{padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d8e8f1;background:#edf7fb}.information-request header b{font-size:13px}.information-request header span{color:var(--role);font-size:10px;font-weight:800}.information-request>p{margin:11px 13px 4px;color:#668398;font-size:11px}.information-request>div{padding:8px 13px 13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px}.information-request label{display:grid;grid-gap:5px;gap:5px;color:#315e79;font-size:11px}.information-request label small{color:#8298a7;font-weight:400}.information-request input{height:36px;padding:0 10px;border:1px solid #bdd8e7;background:#fff;color:#114e73;font:inherit;outline:none}.information-request input:focus{border-color:var(--role)}.information-request footer{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dceaf2}.information-request footer span{color:#718b9b;font-size:10px}.information-request button{height:34px;padding:0 13px;border:1px solid #b8d7e7;background:#fff;color:#1676aa;font-weight:700;cursor:pointer}.information-request button.primary{border-color:var(--role);background:var(--role);color:#fff}.information-dataset{padding:10px;border-left:3px solid #ee9c2c;background:#fff8ed}.information-dataset b,.information-dataset span{display:block}.information-dataset span{margin-top:4px;color:#826434;font-size:10px}@media(max-width:680px){.information-request>div{grid-template-columns:1fr}}
.information-request footer>span{max-width:48%;line-height:1.5}.information-request footer>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.information-request button:disabled{opacity:.6;cursor:wait}
.participant-ready{margin-top:22px;padding:17px;border:1px solid #cfe3ef;background:#f7fbfd}.participant-ready>div:last-child{margin-top:12px;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.participant-ready button{padding:11px 12px;border:1px solid #c4ddea;background:#fff;color:#225c7d;text-align:left;cursor:pointer}.participant-ready button.active{border-color:var(--role);box-shadow:inset 3px 0 var(--role)}.participant-ready button b,.participant-ready button span{display:block}.participant-ready button span{margin-top:4px;color:#7c95a4;font-size:11px}.report-evidence{margin-top:13px;padding:14px;border:1px solid #d8e8f0;background:#fbfdfe}.report-evidence h4{margin:0 0 5px}.report-evidence details{margin-top:9px}.report-evidence summary{color:#1479ad;font-size:11px;cursor:pointer}.report-json{max-height:320px;padding:12px;overflow:auto;background:#eff7fb;color:#315f78;font:11px/1.55 Consolas,monospace;white-space:pre-wrap;word-break:break-word}
.workbench-primary-nav{height:100%;display:flex;align-items:stretch;gap:0;margin-left:auto}.workbench-primary-nav a{position:relative;display:flex;align-items:center;padding:0 18px;color:#55788f;text-decoration:none;font-size:13px}.workbench-primary-nav a+a:before{content:"";position:absolute;left:0;top:50%;width:1px;height:14px;transform:translateY(-50%);background:#cfe0eb}.workbench-primary-nav a.active{color:var(--blue);font-weight:800}.workbench-primary-nav a.active:after{content:"";position:absolute;right:0;bottom:0;left:0;height:3px;background:var(--blue)}
.workbench-header .account-menu{margin-left:8px;z-index:60}
.workbench-role-mark svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.2}.workbench-role-line{display:flex;align-items:center;gap:10px}.workbench-role-line small{font-size:12px}.workbench-role-line button{padding:3px 9px;border:1px solid #bfdbe9;background:#fff;color:var(--role);font-size:11px;cursor:pointer}.workbench-role-copy h1{margin:7px 0 0}.workbench-steps{grid-template-columns:repeat(4,1fr)}
.workbench-panes{margin-top:14px;display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);background:#fff}
.workbench-panes button{min-height:72px;padding:14px 16px;text-align:left;border:0;border-right:1px solid var(--line);background:#fff;color:#416c88;cursor:pointer}
.workbench-panes button:last-child{border-right:0}
.workbench-panes button.active{background:#edf8fd;color:var(--navy);box-shadow:inset 0 3px var(--role)}
.workbench-panes span{display:block;font-size:15px;font-weight:800}
.workbench-panes small{display:block;margin-top:5px;color:#8aa2b2;font-size:11px}
.workbench-context-actions{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.workbench-context-actions a,.workbench-context-actions button,.stage-heading-actions .secondary,.stage-heading-actions .primary,.stage-heading-actions a.secondary{height:32px;padding:0 11px;display:inline-flex;align-items:center;border:1px solid #bddbea;background:#fff;color:#1875a8;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer}
.workbench-context-actions span{color:#7b95a6;font-size:11px}
.stage-heading-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.stage-heading-actions .primary{border-color:var(--blue);background:var(--blue);color:#fff}
.workbench-bi-frame{width:100%;height:clamp(560px,70vh,900px);margin-top:18px;border:1px solid #9fc8de;background:#fff}
.workbench-side-drawer{position:fixed;top:0;right:0;z-index:80;width:min(720px,100vw);height:100vh;padding:18px;display:flex;flex-direction:column;gap:12px;border-left:1px solid #9fc8de;background:#f7fbfe;box-shadow:-18px 0 40px rgba(7,63,101,.16);box-sizing:border-box}
.workbench-data-drawer{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.workbench-data-drawer .data-collaboration-frame{flex:none;min-height:480px;height:min(640px,55vh);margin:0}
.workbench-side-drawer>header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.workbench-side-drawer>header small{display:block;color:var(--role);font-size:10px;font-weight:800}
.workbench-side-drawer>header strong{display:block;margin-top:3px;font-size:16px}
.workbench-side-drawer>header button,.workbench-drawer-tools button,.workbench-modal-card>header button{height:32px;padding:0 12px;border:1px solid #bddbea;background:#fff;color:#1875a8;cursor:pointer}
.workbench-drawer-tools{display:flex;gap:8px;flex-wrap:wrap}
.workbench-side-drawer>p{margin:0;color:#6f8da1;font-size:12px}
.workbench-side-drawer>footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.workbench-side-drawer>footer span{color:#718da0;font-size:12px}
.workbench-chat-drawer{width:min(860px,100vw);padding:0;gap:0;background:#fff}
.workbench-chat-drawer>header,.workbench-chat-drawer>p,.workbench-chat-drawer>footer{padding:14px 18px}
.workbench-chat-drawer>p{border-bottom:1px solid #dceaf2;background:#f7fbfe}
.workbench-chat-drawer>footer{border-top:1px solid #dceaf2;background:#f7fbfe}
.workbench-chat-body{flex:1 1;min-height:0;display:grid;grid-template-columns:200px minmax(0,1fr);border-top:1px solid #dceaf2}
.workbench-chat-body .conversation-sidebar{min-height:0;height:100%;overflow:auto;border-right:1px solid #dceaf2;background:#f4f8fb}
.workbench-chat-body .conversation-sidebar>header{padding:12px 14px;border-bottom:1px solid #d8e7ef}
.workbench-chat-body .conversation-sidebar>div{padding:8px}
.workbench-chat-body .conversation-sidebar article{margin-bottom:4px;border-radius:6px}
.workbench-chat-body .conversation-sidebar article.active{background:#dfeff8}
.workbench-chat-body .conversation-sidebar article>button{width:100%;padding:10px;text-align:left;border:0;background:transparent;color:#164f72;cursor:pointer}
.workbench-chat-body .conversation-sidebar article strong,.workbench-chat-body .conversation-sidebar article small{display:block}
.workbench-chat-body .conversation-sidebar article small{margin-top:3px;color:#8098a8;font-size:10px}
.workbench-chat-body .agent-main{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;background:#fff}
.workbench-chat-body .agent-messages{flex:1 1;min-height:0;height:auto;margin:0;padding:16px 18px;overflow:auto;border:0;background:#fff}
.workbench-chat-body .agent-form{margin:0;padding:12px 16px 16px;border:0;background:#fff}
.workbench-chat-body .agent-empty{margin:48px auto;max-width:420px}
.answer-destinations .answer-destination-btn{padding:11px;border:1px solid #c8dfeb;background:#fff;color:#164f72;text-align:left;cursor:pointer;font:inherit}
.answer-destinations .answer-destination-btn strong,.answer-destinations .answer-destination-btn small,.answer-destinations .answer-destination-btn b{display:block}
.answer-destinations .answer-destination-btn small{min-height:36px;margin:5px 0;color:#66849a;font-size:10px;line-height:1.55}
.answer-destinations .answer-destination-btn b{color:var(--blue);font-size:10px}
.workbench-measure-drawer{width:min(920px,100vw);gap:0;padding:0;background:#fff}
.workbench-measure-drawer>header,.workbench-measure-drawer>p{padding:14px 18px}
.workbench-measure-drawer>p{border-bottom:1px solid #dceaf2;background:#f7fbfe}
.workbench-measure-drawer>p a{color:#0879bd;font-weight:700}
.workbench-measure-drawer>header .primary{border-color:var(--blue);background:var(--blue);color:#fff}
.workbench-measure-modes{display:flex;gap:0;margin:0 18px;border:1px solid #b9d9ea;border-radius:6px;overflow:hidden;width:-moz-fit-content;width:fit-content}
.workbench-measure-modes button{height:32px;padding:0 12px;border:0;border-right:1px solid #b9d9ea;border-radius:0;background:#fff;color:#5d7f98;font-size:12px;font-weight:700;cursor:pointer}
.workbench-measure-modes button:last-child{border-right:0}
.workbench-measure-modes button:hover{background:#e7f3fb;color:#073f65}
.workbench-measure-modes button.active,.workbench-measure-modes button.active:hover{background:#0a7ec2;color:#fff}
.workbench-measure-tabs{margin:12px 18px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:8px;gap:8px}
.workbench-measure-tabs button{min-height:72px;padding:10px 12px;text-align:left;border:1px solid #c8dfeb;border-radius:0;background:#f7fbfe;color:#164f72;cursor:pointer}
.workbench-measure-tabs button:hover{background:#e7f3fb;border-color:#8ec3e0}
.workbench-measure-tabs button.active,.workbench-measure-tabs button.active:hover{border-color:var(--role);background:#edf8fd;box-shadow:inset 3px 0 var(--role)}
.workbench-measure-tabs small,.workbench-measure-tabs strong,.workbench-measure-tabs span{display:block}
.workbench-measure-tabs small{color:#7b95a6;font-size:10px}
.workbench-measure-tabs strong{margin-top:4px;font-size:13px}
.workbench-measure-tabs span{margin-top:4px;color:#66849a;font-size:11px;line-height:1.4}
.workbench-measure-host{flex:1 1;min-height:0;margin:12px 18px 18px;padding:12px;overflow:auto;border:1px solid #c8dfeb;border-radius:8px;background:#fbfdfe}
.workbench-measure-status{margin:0 18px 16px;color:#6f8da1;font-size:12px}
.workbench-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:rgba(7,63,101,.28)}
.workbench-modal-card{width:min(860px,100%);max-height:min(90vh,920px);overflow:auto;padding:20px;border:1px solid #9fc8de;background:#fff;box-shadow:0 20px 48px rgba(7,63,101,.2)}
.workbench-modal-card>header,.workbench-modal-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workbench-modal-card>footer{margin-top:16px;justify-content:flex-end}
@media(max-width:900px){
  .workbench-panes{grid-template-columns:1fr}
  .workbench-side-drawer,.workbench-chat-drawer,.workbench-measure-drawer{width:100vw}
  .workbench-chat-body{grid-template-columns:1fr}
  .workbench-chat-body .conversation-sidebar{max-height:160px;border-right:0;border-bottom:1px solid #dceaf2}
}
.data-collaboration-frame{width:100%;height:720px;margin-top:20px;border:1px solid #9fc8de;background:#fff;box-shadow:0 0 0 6px #f1f8fc}.stage-actions>div{display:flex;gap:10px}
.answer-destinations{margin-top:10px;padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));grid-gap:8px;gap:8px;border:1px solid #cfe3ef;background:#f5fafd}.answer-destinations>span{grid-column:1/-1;color:#6f8da1;font-size:10px;font-weight:800}.answer-destinations a{padding:11px;border:1px solid #c8dfeb;background:#fff;color:#164f72;text-decoration:none}.answer-destinations strong,.answer-destinations small,.answer-destinations b{display:block}.answer-destinations small{min-height:36px;margin:5px 0;color:#66849a;font-size:10px;line-height:1.55}.answer-destinations b{color:var(--blue);font-size:10px}
@media(max-width:760px){.workbench-primary-nav a{padding:0 10px;font-size:11px}.data-collaboration-frame{height:820px}}
body.chat-active .workbench-layout{grid-template-columns:minmax(0,1fr)}body.chat-active .workbench-stage{padding:34px 38px}body.chat-active .collaborator-rail{width:auto;display:grid!important;grid-template-columns:260px minmax(0,1fr);align-items:stretch}body.chat-active .collaborator-rail>header{padding:18px 22px;border-right:1px solid #dceaf2;border-bottom:0}body.chat-active .collaborator-rail>div{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:0;gap:0}body.chat-active .collaborator-rail article{padding:16px 18px;border-right:1px solid #e0edf4;border-bottom:0}.agent-messages{height:540px;padding:30px}.agent-message.assistant{max-width:100%}.agent-message>div{padding:18px 20px;font-size:14px;line-height:1.9}.agent-form{padding:24px}.agent-form textarea{min-height:150px;padding:16px;font-size:14px;background:#fbfdfe}.agent-chat-head{padding:20px 24px;border-top:3px solid var(--role)}
body.chat-active .agent-main{overflow:hidden;border:1px solid #9fc9df;background:#edf6fb;box-shadow:0 16px 38px rgba(7,63,101,.14)}body.chat-active .agent-chat-head{background:linear-gradient(90deg,#e6f4fb 0,#f8fcfe 72%);border-bottom-color:#bcdbea}body.chat-active .agent-chat-head strong{font-size:18px;color:#073f65}body.chat-active .agent-messages{margin:18px 20px 0;border:1px solid #c6dfec;background:#fff;box-shadow:inset 0 1px 0 rgba(7,63,101,.04)}body.chat-active .agent-form{margin:0 20px 20px;border:1px solid #c6dfec;border-top:0;background:#eaf4fa}body.chat-active .agent-form textarea{border-color:#9fc9df;background:#fff;box-shadow:0 4px 14px rgba(7,63,101,.06)}body.chat-active .agent-form textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--role) 14%,white)}

/* Compact linked region controls */
.region-block{padding:18px 20px;border:1px solid #a9cee2;background:#eef7fc;box-shadow:inset 0 0 0 7px #fff}.region-block>.field-label{padding:0 6px}.region-picker{position:relative;gap:18px;margin:10px 6px 0}.region-picker label>span,.city-field>span{display:block;margin-bottom:6px;color:#436b85;font-size:12px;font-weight:700}.region-picker label>span b{color:#d26e2f}.region-picker select,.city-dropdown{box-sizing:border-box;width:100%;height:42px;min-height:42px;margin:0;padding:0 12px;border:1px solid #a9cfe3;border-radius:5px;background:#fff;color:#123f61;font:inherit;text-align:left}.city-field{position:relative}.city-dropdown{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.city-dropdown>b{color:#4380a4}.city-options{position:absolute;z-index:8;right:0;left:0;max-height:220px;margin-top:5px;padding:7px;border:1px solid #9fc9df;border-radius:6px;background:#fff;box-shadow:0 12px 28px rgba(7,63,101,.14);overflow:auto}.city-options label{display:flex;align-items:center;gap:9px;margin:0;padding:8px;border-radius:4px;cursor:pointer}.city-options label:hover{background:#edf7fc}.city-options input{margin:0}.city-options label span{margin:0;color:#204f6e;font-size:12px;font-weight:400}.region-selections{min-height:0;margin:9px 6px 0}.region-selections:empty{display:none}.region-selections button{padding:5px 9px;font-size:11px}

/* Data source surface fills the remaining stage */
.data-collaboration-frame{height:clamp(720px,75vh,940px);min-height:720px;background:#fff}

/* Commercial AI conversation layout */
body.chat-active .workbench-stage{padding:22px;background:#edf5fa}.agent-workspace{grid-template-columns:220px minmax(0,1fr);min-height:720px;border-color:#b7d5e5;border-radius:10px;background:#fff;overflow:hidden}.conversation-sidebar{min-height:720px;background:#f5f7f9}.conversation-sidebar>header{padding:18px 15px}.conversation-sidebar>header button{padding:7px 9px;border-radius:7px;background:#fff;box-shadow:0 2px 8px rgba(7,63,101,.07)}.agent-main{display:flex;min-height:720px;flex-direction:column;background:#fff}.agent-chat-head{flex:0 0 auto}.agent-run-state{flex:0 0 auto;margin:12px 24px 0}.agent-run-state ol{grid-template-columns:repeat(5,1fr)}body.chat-active .agent-messages{flex:1 1;height:auto;min-height:390px;margin:12px 24px 0;border:0;box-shadow:none}.agent-suggestions{flex:0 0 auto;padding:8px 24px 10px;background:#fff}.agent-form,body.chat-active .agent-form{flex:0 0 auto;margin:0;padding:0 24px 24px;border:0;background:#fff}.agent-composer{padding:13px 14px 10px;border:1px solid #afcddd;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(7,63,101,.11)}.agent-composer textarea,body.chat-active .agent-form .agent-composer textarea{box-sizing:border-box;width:100%;min-height:72px;padding:2px 3px;border:0;background:transparent;box-shadow:none;resize:none;outline:none;font-size:14px}.agent-composer-actions{display:flex;align-items:center;gap:10px}.agent-composer-actions>.agent-attachment{min-width:0;margin:0}.agent-attachment label{display:grid;width:30px;height:30px;padding:0;place-items:center;border-radius:50%;font-size:19px}.agent-attachment span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-composer-actions>#agentMode{margin-left:auto;color:#738c9d;font-size:10px}#agentSend,#agentStop{display:grid;width:38px;height:38px;padding:0;place-items:center;border:0;border-radius:50%;font-size:22px;line-height:1}#agentSend{background:var(--role);color:#fff}#agentStop{background:#153e59;color:#fff}.agent-answer{white-space:normal}.agent-answer:empty:after{content:'▋';color:var(--role);animation:agent-caret .8s steps(2,end) infinite}@keyframes agent-caret{50%{opacity:0}}
@media(max-width:850px){.agent-run-state ol{grid-template-columns:1fr 1fr}.agent-workspace{grid-template-columns:1fr}.conversation-sidebar{min-height:0}.agent-main{min-height:620px}}
/* Match the shared platform brand lockup */
.workbench-header{padding-inline:clamp(24px,4vw,64px)}.workbench-brand{gap:12px}.workbench-brand img{width:46px;height:46px}.workbench-brand small{font-size:10px;letter-spacing:.12em;line-height:1}.workbench-brand strong{margin-top:2px;font-size:16px;line-height:1.25;white-space:nowrap}
.region-picker{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-top:12px}.region-picker label span{display:block;color:#64849a;font-size:12px}.region-picker select{min-height:112px;padding:8px}.region-selections{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.region-selections button{padding:7px 10px;border:1px solid #afd4e8;border-radius:18px;background:#eef8fd;color:#155b83;cursor:pointer}.region-selections button span{margin-left:7px;color:#6d899a}.region-selections small{color:#7b95a6}
body.chat-active .workbench-stage{padding:24px;background:#eaf4fa}.agent-workspace{grid-template-columns:240px minmax(0,1fr);gap:0;border:1px solid #bdd8e7;box-shadow:0 18px 42px rgba(7,63,101,.12)}.conversation-sidebar{min-height:690px;border-right:1px solid #c9deea;background:#f4f8fb}.conversation-sidebar>header{padding:16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8e7ef}.conversation-sidebar>header button{border:0;background:transparent;color:#0879bd;font-weight:700;cursor:pointer}.conversation-sidebar>div{padding:10px}.conversation-sidebar article{margin-bottom:6px;border-radius:8px}.conversation-sidebar article.active{background:#dfeff8}.conversation-sidebar article>button{width:100%;padding:11px;text-align:left;border:0;background:transparent;color:#164f72;cursor:pointer}.conversation-sidebar article strong,.conversation-sidebar article small{display:block}.conversation-sidebar article small{margin-top:4px;color:#8098a8;font-size:10px}.conversation-sidebar article>span{display:none;padding:0 10px 8px;gap:8px}.conversation-sidebar article:hover>span{display:flex}.conversation-sidebar article>span button{border:0;background:transparent;color:#65859a;font-size:10px;cursor:pointer}.agent-main{min-width:0}.agent-run-state{margin:12px 18px;padding:14px 16px;border:1px solid #b9d9ea;border-radius:10px;background:#eff8fd}.agent-run-state strong{font-size:13px}.agent-run-state ol{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px;margin:10px 0 0;padding:0;list-style:none}.agent-run-state li{padding:8px;border-radius:6px;background:#fff;color:#7892a3;font-size:11px}.agent-run-state li.done{color:#14744b;background:#eaf7f0}.agent-run-state li.active{color:#9b6800;background:#fff4d8}.agent-attachment{display:flex;align-items:center;gap:10px;margin-bottom:10px}.agent-attachment label{margin:0;padding:7px 10px;border:1px solid #bdd9e8;border-radius:7px;color:#0879bd;cursor:pointer}.agent-attachment input{position:absolute;opacity:0;pointer-events:none}.agent-attachment span{color:#7b95a6;font-size:11px}#agentStop{height:40px;padding:0 14px;border:1px solid #d39a7b;background:#fff7f2;color:#a74622;font-weight:700;cursor:pointer}@media(max-width:850px){.region-picker{grid-template-columns:1fr}.agent-workspace{grid-template-columns:1fr}.conversation-sidebar{min-height:0;max-height:210px;border-right:0;border-bottom:1px solid #c9deea}.agent-run-state ol{grid-template-columns:1fr 1fr}}

/* Final chat layout: history rail and conversation remain side by side on desktop. */
body.chat-active .workbench{width:min(96vw,1840px)}
.agent-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);width:100%;padding-top:0}
.agent-main{width:auto;min-width:0;border:0}
.conversation-sidebar{width:auto}
.agent-composer-actions{margin-top:8px}
.agent-action{display:grid;width:42px;height:42px;flex:0 0 42px;padding:0;place-items:center;border:0;border-radius:50%;background:var(--role);color:#fff;font-size:23px;line-height:1;cursor:pointer;box-shadow:0 5px 14px color-mix(in srgb,var(--role) 28%,transparent);transition:.18s ease}
.agent-action:hover{transform:translateY(-1px);filter:brightness(.96)}
.agent-action.running{background:#174b6b}
.stop-square{display:block;width:13px;height:13px;border-radius:2px;background:#fff}
@media(max-width:720px){.agent-workspace{grid-template-columns:150px minmax(0,1fr)}.conversation-sidebar{min-height:690px;max-height:none;border-right:1px solid #c9deea;border-bottom:0}.conversation-sidebar>header{padding:12px 9px;display:block}.conversation-sidebar>header button{margin-top:8px}.conversation-sidebar>div{padding:6px}.conversation-sidebar article>button{padding:8px}.agent-chat-head{padding:14px}.agent-avatar{display:none}body.chat-active .agent-messages{margin-inline:12px}.agent-form,body.chat-active .agent-form{padding-inline:12px}.agent-composer-actions>#agentMode{display:none}}

/* Multi-province selector with matching province and city controls. */
.province-field,.city-field{position:relative}.province-field>span,.city-field>span{display:block;margin-bottom:6px;color:#436b85;font-size:12px;font-weight:700}.province-field>span b{color:#d26e2f}.region-dropdown{box-sizing:border-box;width:100%;height:44px;margin:0;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border:1px solid #9fc8de;border-radius:6px;background:#fff;color:#123f61;font:inherit;text-align:left;cursor:pointer}.region-dropdown:hover,.region-dropdown[aria-expanded="true"]{border-color:var(--role);box-shadow:0 0 0 2px color-mix(in srgb,var(--role) 10%,white)}.region-dropdown:disabled{background:#edf3f6;color:#8ba0ad;cursor:not-allowed}.region-options{position:absolute;z-index:12;right:0;left:0;max-height:260px;margin-top:5px;padding:7px;border:1px solid #9fc9df;border-radius:7px;background:#fff;box-shadow:0 14px 30px rgba(7,63,101,.16);overflow:auto}.region-options label{display:flex;align-items:center;gap:9px;margin:0;padding:8px;border-radius:5px;cursor:pointer}.region-options label:hover{background:#edf7fc}.region-options label span{margin:0;color:#204f6e;font-size:12px;font-weight:400}.region-options fieldset{margin:0 0 7px;padding:4px 5px 7px;border:0;border-bottom:1px solid #e0edf4}.region-options fieldset:last-child{margin-bottom:0;border-bottom:0}.region-options legend{padding:6px;color:#0d648f;font-size:11px;font-weight:800}.region-selections button b{margin-right:5px;color:var(--role);font-size:9px}

/* Keep the full chat task in one viewport; scroll long answers inside the message pane. */
body.chat-active{overflow:hidden}body.chat-active .workbench{height:calc(100vh - 64px);overflow:hidden}body.chat-active .workbench-context{display:none}body.chat-active .workbench-steps button{padding-block:10px}body.chat-active .workbench-layout{height:calc(100vh - 180px);min-height:0;overflow:hidden}body.chat-active .workbench-stage{height:100%;box-sizing:border-box;padding:16px 22px;overflow:hidden}body.chat-active .stage-heading{padding-bottom:10px}body.chat-active .stage-heading p{display:none}body.chat-active .stage-heading h2{margin-block:4px;font-size:20px}body.chat-active .agent-workspace{height:calc(100% - 105px);min-height:0;grid-template-columns:280px minmax(0,1fr)}body.chat-active .conversation-sidebar,body.chat-active .agent-main{min-height:0;height:100%}body.chat-active .conversation-sidebar{overflow:auto}body.chat-active .agent-messages{min-height:0;overflow:auto}body.chat-active .agent-chat-head{padding:12px 18px}body.chat-active .agent-run-state{max-height:112px;overflow:auto}body.chat-active .stage-actions{height:42px;margin-top:8px;padding-top:7px}body.chat-active .collaborator-rail{display:none!important}.agent-composer-actions{display:grid;grid-template-columns:minmax(120px,auto) minmax(0,1fr) 42px;grid-gap:12px;gap:12px}.agent-composer-actions>.agent-attachment{min-width:0;overflow:hidden}.agent-attachment span{max-width:140px}.agent-composer-actions>#agentMode{min-width:0;margin:0;text-align:right;white-space:normal}.agent-action{justify-self:end}
@media(max-width:720px){body.chat-active .agent-workspace{grid-template-columns:190px minmax(0,1fr)}.agent-composer-actions{grid-template-columns:minmax(0,1fr) 42px}}

/* 智能分析入口 */
.agent-intro-layout{width:100%;margin:0}.agent-intro{margin-top:26px;padding:30px;display:grid;grid-template-columns:auto minmax(220px,.72fr) minmax(520px,1.6fr);align-items:center;grid-gap:24px;gap:24px;border:1px solid #a9cfe3;background:linear-gradient(105deg,#f1f8fc 0,#fff 58%);box-shadow:0 12px 30px rgba(7,63,101,.07)}
.agent-intro-mark{width:64px;height:64px;display:grid;place-items:center;background:var(--role);color:#fff;font-size:27px;font-weight:800;box-shadow:0 8px 20px color-mix(in srgb,var(--role) 25%,transparent)}
.agent-intro-copy small{color:#6c8ba0;font-size:11px}.agent-intro-copy h3{margin:5px 0 4px;font-size:22px;color:#073f65}.agent-intro-copy p{margin:0;color:#5e8198;font-size:12px}
.agent-intro-facts{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid #d6e7f0}.agent-intro-facts article{min-height:78px;padding:6px 20px;border-right:1px solid #d6e7f0}.agent-intro-facts b,.agent-intro-facts span{display:block}.agent-intro-facts b{margin-bottom:7px;color:#104f75;font-size:13px}.agent-intro-facts span{color:#718da0;font-size:11px;line-height:1.65}
.agent-entry-card{width:100%;margin-top:18px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;border:1px solid #b9deef;border-radius:8px;background:#f7fbfe;color:#0b4c76}.agent-entry-card>div{min-width:0}.agent-entry-card small,.agent-entry-card strong,.agent-entry-card em{display:block}.agent-entry-card small{margin-bottom:3px;color:#4680a3;font-size:10px;letter-spacing:1px}.agent-entry-card strong{font-size:17px;line-height:1.35}.agent-entry-card em{margin-top:3px;color:#6b879a;font-size:11px;font-style:normal}.agent-entry-card button{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border:1px solid #1689c5;border-radius:6px;background:#fff;color:#0879bd;font-size:12px;font-weight:800;cursor:pointer}.agent-entry-card button:hover{background:#eaf6fc;border-color:#0879bd}.agent-entry-card button b{font-size:16px;line-height:1;font-weight:500}

/* 全屏智能体 */
body.agent-fullscreen{overflow:hidden;background:#fff}body.agent-fullscreen .workbench-header,body.agent-fullscreen .workbench-context,body.agent-fullscreen .workbench-steps{display:none}body.agent-fullscreen .workbench{width:100%;height:100vh;margin:0;padding:0;max-width:none}body.agent-fullscreen .workbench-layout{display:block;height:100vh;margin:0}body.agent-fullscreen .workbench-stage{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;padding:0;overflow:hidden;border:0;background:#fff}body.agent-fullscreen .stage-heading,body.agent-fullscreen .stage-actions{display:none}body.agent-fullscreen .agent-workspace{height:100vh;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr);border:0;border-radius:0;box-shadow:none;background:#fff}body.agent-fullscreen .conversation-sidebar{height:100vh;min-height:0;border-right:1px solid #dbe7ef;background:#f6f8fa;overflow:auto}body.agent-fullscreen .conversation-sidebar>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;background:#f6f8fa}body.agent-fullscreen .agent-main{height:100vh;min-height:0;display:flex;background:#fff}body.agent-fullscreen .agent-chat-head{padding:15px 26px;border-top:0;background:#fff}body.agent-fullscreen .agent-run-state{flex:0 0 auto;margin:10px auto 0;width:min(900px,calc(100% - 72px));box-sizing:border-box}body.agent-fullscreen .agent-messages{width:min(940px,calc(100% - 72px));min-height:0;height:auto;flex:1 1;margin:0 auto;padding:26px 6px 20px;overflow:auto;border:0;background:#fff;box-shadow:none}body.agent-fullscreen .agent-suggestions{width:min(940px,calc(100% - 72px));margin:0 auto;padding:8px 6px;background:#fff}body.agent-fullscreen .agent-form{width:min(980px,calc(100% - 56px));margin:0 auto;padding:10px 0 24px;border:0;background:#fff}body.agent-fullscreen .agent-composer{padding:14px 16px 11px;border:1px solid #d8e0e7;border-radius:24px;box-shadow:0 8px 28px rgba(25,57,78,.11)}body.agent-fullscreen .agent-composer textarea{min-height:70px;padding:3px 4px;background:transparent}body.agent-fullscreen .agent-composer-actions{display:grid;grid-template-columns:minmax(36px,1fr) auto 44px;align-items:center;grid-gap:12px;gap:12px;margin-top:6px}.agent-close{position:fixed;top:18px;right:24px;z-index:1002;height:38px;padding:0 16px;border:1px solid #073f65;border-radius:4px;background:#073f65;color:#fff;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(7,63,101,.2)}.agent-close:hover{background:#0a527f}
.agent-attachment label{width:34px;height:34px;border:0!important;background:transparent!important;color:#172d3a!important}.attachment-icon,.send-arrow{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.agent-attachment span:empty{display:none}.agent-action{display:grid!important;width:42px!important;height:42px!important;padding:0!important;place-items:center;border:0!important;border-radius:50%!important;background:#91a9ff!important;color:#fff!important;box-shadow:none!important}.agent-action:not(.running):hover{background:#7897fb!important}.agent-action.running{background:#163f58!important}.stop-square{width:13px;height:13px;display:block;border-radius:2px;background:#fff}
@media(max-width:900px){.agent-intro{grid-template-columns:auto 1fr}.agent-intro-facts{grid-column:1/-1;border-left:0;border-top:1px solid #d6e7f0}.agent-intro-facts article{padding-top:18px}body.agent-fullscreen .agent-workspace{grid-template-columns:220px minmax(0,1fr)}.agent-close{right:14px}}

/* 对话消息与思考状态 */
.agent-message{display:flex;align-items:flex-start;gap:12px;max-width:100%;margin:0 0 22px}.agent-message.user{margin-left:0;flex-direction:row-reverse}.agent-message>.message-stack{max-width:min(780px,82%);padding:0;border:0;background:transparent}.agent-message.user>.message-stack{display:flex;flex-direction:column;align-items:flex-end}.message-stack>small{margin:0 0 6px;color:#7891a2;font-size:10px}.message-bubble{padding:13px 16px;border:1px solid #dbe8ef;border-radius:4px 15px 15px 15px;background:#f8fbfd;color:#254f69;font-size:14px;line-height:1.85}.agent-message.user .message-bubble{border-color:#c5dfee;border-radius:15px 4px 15px 15px;background:#eaf5fb}.message-avatar{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;box-shadow:0 4px 12px rgba(7,63,101,.12)}.message-avatar svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.assistant-avatar{background:#0a84c6;color:#fff}.user-avatar{background:#e8f2f8;color:#155d83;border:1px solid #c5dce9}.thinking-dots{width:max-content;padding:15px 17px;display:flex;align-items:center;gap:6px;border:1px solid #dbe8ef;border-radius:4px 16px 16px 16px;background:#f8fbfd}.thinking-dots span{width:7px;height:7px;border-radius:50%;background:#31536a;animation:thinking-dot 1.15s ease-in-out infinite}.thinking-dots span:nth-child(2){animation-delay:.16s}.thinking-dots span:nth-child(3){animation-delay:.32s}@keyframes thinking-dot{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
.agent-answer h1,.agent-answer h2,.agent-answer h3,.agent-answer h4,.agent-answer h5,.agent-answer h6{margin:10px 0 5px;color:#0b4c76;font-size:15px;line-height:1.45}.agent-answer p{margin:0 0 9px}.agent-answer ul,.agent-answer ol{margin:0 0 9px;padding-left:21px}.agent-answer li{margin:3px 0}.agent-answer code{padding:1px 4px;border-radius:3px;background:#e8f1f6;font-family:ui-monospace,monospace;font-size:.92em}
.agent-attachment-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.agent-composer-actions{grid-template-columns:minmax(36px,1fr) 44px!important}.agent-composer-actions>#agentMode{display:none!important}.agent-suggestions{display:none!important}
body.agent-fullscreen .agent-messages{scrollbar-gutter:stable}.agent-answer:empty:after{content:none}.agent-message.assistant:not(.thinking) .agent-answer:empty:after{content:'▋';color:var(--role);animation:agent-caret .8s steps(2,end) infinite}

/* The conversation composer stays flat against the chat surface. */
.agent-composer,body.agent-fullscreen .agent-composer{box-shadow:none}
/* User messages remain visually flat in the conversation pane. */
.agent-message.user,.agent-message.user .message-stack,.agent-message.user .message-bubble{box-shadow:none!important;filter:none}
/* Keep the full-screen chat pane flush with the history rail. */
.message-avatar.user-avatar{box-shadow:none!important}
body.agent-fullscreen .agent-messages{width:auto;max-width:none;margin:0;padding:26px 32px 20px}
body.agent-fullscreen .agent-suggestions{width:auto;max-width:none;margin:0;padding:8px 32px}
body.agent-fullscreen .agent-form{width:auto;max-width:none;margin:0;padding:10px 32px 24px}
/* User message surface: only the inner bubble carries visual treatment. */
.agent-message.user,
.agent-message.user .message-stack{background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.agent-message.user .message-bubble{background-color:#e8f3fa!important;border-radius:12px;padding:10px 14px;box-shadow:none!important}

/* 决策控制台：左聊天，右侧整页用浮动标签切换成果 */
.workbench.decision-console-page{width:100%;max-width:none;height:calc(100vh - 72px);margin:0;padding:12px 16px 16px;display:flex;flex-direction:column;overflow:hidden}
.decision-console-page .workbench-context{flex:none;min-height:0;padding:12px 16px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center}
.decision-console-page .workbench-context-actions{margin:0;align-self:center}
.decision-console-page .workbench-context-actions button{width:96px;height:64px;padding:8px 6px;display:grid;place-items:center;align-content:center;grid-gap:6px;gap:6px;border-radius:0}
.decision-console-page .workbench-context-actions button:hover{background:#e7f3fb;border-color:#8ec3e0;color:#075b97}
.decision-console-page .workbench-context-actions button:hover span{color:#075b97}
.decision-console-page .workbench-context-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.decision-console-page .workbench-context-actions span{color:#1875a8;font-size:12px;font-weight:700;line-height:1}
.decision-console-page .workbench-role-mark{width:44px;height:44px;font-size:18px}
.decision-console-page .workbench-role-copy h1{margin:2px 0 2px;font-size:20px}
.decision-console-page .workbench-role-copy p{font-size:12px}
.decision-console-page .workbench-current{min-width:0;padding-left:16px}
.decision-console{flex:1 1;min-height:0;margin-top:12px;display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);grid-gap:12px;gap:12px}
.decision-pane{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #b9deef;border-radius:10px;background:#fff}
.decision-chat{border-top:3px solid var(--role)}
.decision-stage{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #b9deef;border-radius:0;background:#fff;box-shadow:none}
.decision-pane-head{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px 14px;border-bottom:1px solid #dceaf2;background:#fff}
.decision-pane-head>div:first-child{flex:1 1 auto;min-width:max-content}
.decision-pane-head small{display:block;color:var(--role);font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}
.decision-pane-head h2{margin:1px 0 0;font-size:16px;white-space:nowrap}
.decision-pane-head>span{color:#7b95a6;font-size:12px}
.decision-pane-head>button{height:28px;padding:0 10px;border:1px solid #bddbea;background:#fff;color:#1875a8;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.decision-chat-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1 1 100%;min-width:0}
.decision-chat-tools select{flex:1 1;min-width:0;max-width:none;height:28px;padding:0 8px;border:1px solid #bddbea;border-radius:4px;background:#fff;color:#164f72;font-size:12px}
.decision-chat-tools button{flex:none;height:28px;padding:0 10px;border:1px solid var(--role);background:#fff;color:var(--role);font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.decision-chat .agent-messages{flex:1 1;height:auto;min-height:0;margin:0;padding:16px 14px 8px;overflow-x:hidden;overflow-y:auto;background:#fff}
.decision-chat .oc-turn{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;min-width:0;max-width:100%}
.decision-chat .oc-turn.user,
.decision-chat .oc-turn.assistant,
.decision-chat .oc-msg.user,
.decision-chat .oc-msg.assistant{background:transparent;background-image:none;border:0;border-left:0;box-shadow:none;color:#254f69;align-self:auto}
.decision-chat .oc-parts{display:flex;flex-direction:column;gap:2px;padding-left:44px}
.decision-chat .oc-replay{align-self:flex-end;height:20px;margin-bottom:2px;padding:0 8px;border:1px solid #bddbea;background:#fff;color:#1875a8;font-size:11px;font-weight:700;cursor:pointer}
.decision-chat .oc-replay:disabled{color:#8aa4b6;cursor:default}
.decision-chat .oc-part{color:#6d8aa0;font-size:12px;line-height:1.4}
.decision-chat .oc-part>summary{display:flex;align-items:center;gap:6px;padding:3px 0;list-style:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}
.decision-chat .oc-part>summary::-webkit-details-marker{display:none}
.decision-chat .oc-chevron{flex:none;width:10px;font-size:10px;opacity:.55;transition:transform .15s ease}
.decision-chat .oc-part[open]>summary .oc-chevron{transform:rotate(90deg)}
.decision-chat .oc-part-label{flex:none;font-size:11px}
.decision-chat .oc-part-title{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;opacity:.8}
.decision-chat .oc-part-status{flex:none;font-size:10px;opacity:.7}
.decision-chat .oc-part[data-status="running"] .oc-part-status{color:#0a7ec2;opacity:1}
.decision-chat .oc-part-body{margin:0 0 4px 16px;padding-left:8px;border-left:1px solid #d5e8f4;color:#6d8aa0;font-size:11px;line-height:1.5}
.decision-chat .oc-msg{display:flex;align-items:flex-start;gap:12px;min-width:0;max-width:100%;background:transparent;color:#254f69}
.decision-chat .oc-msg.user{flex-direction:row-reverse;justify-content:flex-start}
.decision-chat .oc-avatar{flex:none;width:32px;height:32px;display:grid;place-items:center;border:1px solid #c5dff0;border-radius:50%;background:#fff;color:#0a7ec2;font-size:12px;font-weight:700}
.decision-chat .oc-msg.user .oc-avatar{background:#fff}
.decision-chat .oc-content{width:-moz-fit-content;width:fit-content;min-width:0;max-width:calc(100% - 44px);background:transparent}
.decision-chat .oc-msg.user .oc-content{display:flex;justify-content:flex-end}
.decision-chat .oc-msg.assistant .oc-content{width:100%}
.decision-chat .oc-body{width:-moz-fit-content;width:fit-content;max-width:100%;min-width:0;padding:10px 12px;border:1px solid #d5e6f0;border-radius:12px 12px 12px 4px;background:#fff;color:#254f69;font-size:13px;line-height:1.7;overflow:hidden}
.decision-chat .oc-msg.assistant .oc-body{width:100%}
.decision-chat .oc-body p{margin:0 0 8px}
.decision-chat .oc-body p:last-child{margin-bottom:0}
.decision-chat .oc-table-scroll{display:block;max-width:100%;margin:10px 0;overflow-x:auto;overflow-y:hidden}
.decision-chat .oc-body table{width:max-content;min-width:100%;margin:0;border-collapse:collapse;font-size:12px}
.decision-chat .oc-body th,.decision-chat .oc-body td{padding:6px 8px;border:1px solid #d5e6f0;text-align:left;vertical-align:top;white-space:nowrap}
.decision-chat .oc-body th{background:#f4fafd;color:#0b4c76;font-weight:700}
.decision-chat .oc-body tr:nth-child(even) td{background:#f8fcfe}
.decision-chat .oc-caret{display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-2px;background:#0a7ec2;animation:oc-caret 1s steps(1) infinite}
@keyframes oc-caret{50%{opacity:0}}
.decision-chat .oc-body code{padding:1px 4px;border-radius:4px;background:#f4fafd;color:#0a5278;font-family:ui-monospace,monospace;font-size:12px}
.decision-chat .oc-code{margin:8px 0;overflow:hidden;border:1px solid #d5e6f0;border-radius:8px;background:#f7fbfe}
.decision-chat .oc-code-head{padding:4px 10px;border-bottom:1px solid #d5e6f0;background:#eef6fb;color:#5d7f98;font-size:11px;font-weight:700}
.decision-chat .oc-code pre{margin:0;padding:10px 12px;overflow:auto;background:#fff}
.decision-chat .oc-code code{padding:0;border-radius:0;background:transparent;color:#254f69;font-size:12px;line-height:1.55;white-space:pre}
.decision-chat .oc-msg.user .oc-body{border-color:#c5dff0;border-radius:12px 12px 4px 12px;background:#eaf5fb}
.decision-chat .oc-follow{display:flex;flex-direction:column;gap:6px;padding-left:44px}
.decision-chat .agent-empty{margin:28px auto;max-width:360px;text-align:left}
.decision-chat .agent-empty b{display:block;margin-bottom:6px;font-size:15px}
.decision-chat .agent-empty>p{margin:0 0 14px;color:#708da0;font-size:12px;line-height:1.65}
.demo-section{display:grid;grid-gap:8px;gap:8px;width:100%;margin-top:14px}
.demo-section:first-of-type{margin-top:10px}
.demo-section h3{margin:0;font-size:12px;font-weight:800;color:#073f65;letter-spacing:.04em}
.demo-section-note{margin:0;font-size:11px;line-height:1.45;color:#6d8aa0}
.demo-or-all{margin-top:4px}
.demo-or-all summary{cursor:pointer;color:#0a7ec2;font-size:12px;font-weight:700;padding:4px 0}
.demo-or-all[open] summary{margin-bottom:8px}
.demo-or-all .demo-case-list{margin-top:4px}
.demo-case-list{display:grid;grid-gap:10px;gap:10px;width:100%}
.demo-case-list button{
  display:grid;
  grid-gap:4px;
  gap:4px;
  width:100%;
  height:auto!important;
  min-height:0;
  padding:12px 14px;
  border:1px solid #c9e0ed;
  border-radius:10px;
  background:#f7fbfe;
  color:#456a82;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
  box-shadow:none;
}
.demo-case-list button:hover{border-color:#0a7ec2;background:#eef7fc}
.demo-case-list button.demo-case-featured{
  border-color:#0a7ec2;
  background:linear-gradient(180deg,#f3faff,#e7f4fb);
  box-shadow:0 8px 18px rgba(10,126,194,.12);
}
.demo-case-list button strong,
.demo-case-list button span,
.demo-case-list button small{
  display:block;
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
}
.demo-case-list button strong{font-size:13px;color:#073f65;font-weight:800}
.demo-case-list button span{font-size:11px;color:#0a7ec2;font-weight:700;line-height:1.35}
.demo-case-list button small{font-size:11px;line-height:1.5;color:#6d8aa0}
.decision-chat .trace-replay{margin:0 0 10px}
.decision-chat .trace-replay header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.decision-chat .trace-replay header span{color:#0a7ec2;font-size:11px;font-weight:800;letter-spacing:.08em}
.decision-chat .trace-replay header button{height:22px;padding:0 8px;border:1px solid #bddbea;border-radius:0;background:#fff;color:#1875a8;font-size:11px;font-weight:700;cursor:pointer}
.decision-chat .trace-replay header button:disabled{color:#8aa4b6;cursor:default}
.decision-chat .trace-replay ol{margin:0;padding:0;list-style:none}
.decision-chat .trace-replay li{position:relative;padding:0 0 10px 14px;border-left:2px solid #d5e8f4}
.decision-chat .trace-replay li:last-child{padding-bottom:0;border-left-color:transparent}
.decision-chat .trace-replay li:before{content:"";position:absolute;left:-5px;top:3px;width:8px;height:8px;background:#0a7ec2}
.decision-chat .trace-replay li[data-status="running"]:before{background:#d4892a}
.decision-chat .trace-replay b{display:block;color:#0b4c76;font-size:12px;font-weight:800}
.decision-chat .trace-replay small{display:block;margin-top:2px;color:#6d8aa0;font-size:11px;line-height:1.45}
.decision-chat .message-avatar{flex-basis:28px;width:28px;height:28px;border-radius:8px}
.decision-chat .message-avatar svg{width:18px;height:18px}
.decision-chat .message-bubble{padding:8px 10px;font-size:12px;line-height:1.6}
.decision-chat .agent-message.assistant .message-bubble{border-color:#d5e6f0;background:#fff}
.decision-chat .agent-answer h1,.decision-chat .agent-answer h2,.decision-chat .agent-answer h3,.decision-chat .agent-answer h4,.decision-chat .agent-answer h5,.decision-chat .agent-answer h6{font-size:13px}
.decision-chat .agent-composer textarea,.decision-chat .agent-form textarea{font-size:13px}
.decision-chat .artifact-chip{margin-top:6px;padding:0;border:0;background:transparent;color:#1875a8;font-size:12px;font-weight:700;cursor:pointer}
.decision-chat .artifact-chip:hover{text-decoration:underline}
.decision-chat .agent-composer{position:relative;display:flex;flex-direction:column;gap:8px;padding:10px 10px 8px;border:1px solid #c5dff0;border-radius:12px;background:#fff}
.decision-chat .slash-menu{position:absolute;left:8px;right:8px;bottom:calc(100% + 6px);z-index:6;display:grid;grid-gap:2px;gap:2px;padding:6px;border:1px solid #b9deef;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(7,63,101,.12)}
.decision-chat .slash-menu button{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;grid-column-gap:8px;column-gap:8px;width:100%;margin:0;padding:7px 8px;border:0;border-radius:6px;background:#fff;color:#164f72;text-align:left;cursor:pointer}
.decision-chat .slash-menu button b{grid-row:1 / span 2;align-self:center;color:#0a7ec2;font-size:12px}
.decision-chat .slash-menu button strong{font-size:13px}
.decision-chat .slash-menu button small{grid-column:2;color:#7b95a6;font-size:11px;font-weight:500}
.decision-chat .slash-menu button:hover,.decision-chat .slash-menu button.is-active{background:#e7f3fb;color:#075b97}
.decision-chat .slash-menu p{margin:0;padding:8px;color:#7b95a6;font-size:12px}
.decision-chat .slash-chip{display:inline-flex;align-items:center;gap:6px;width:-moz-fit-content;width:fit-content;padding:2px 4px 2px 8px;border:1px solid #b9deef;border-radius:999px;background:#f4fafd;color:#075b97;font-size:12px}
.decision-chat .slash-chip b{font-weight:800}
.decision-chat .slash-chip button{width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;color:#1875a8;cursor:pointer;font-size:14px;line-height:1}
.decision-chat .slash-chip button:hover{background:#e7f3fb;color:#075b97}
.decision-chat .slash-open{flex:none;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:1px solid #bddbea;border-radius:0;background:#fff;color:#1875a8;cursor:pointer}
.decision-chat .slash-open:hover{background:#e7f3fb;color:#075b97}
.decision-chat .slash-tag{display:inline-block;margin:0 0 6px;padding:1px 6px;border-radius:999px;background:#e7f3fb;color:#075b97;font-size:11px;font-weight:700}
.role-agenda{display:grid;grid-gap:8px;gap:8px;margin-top:8px;padding:10px;border:1px solid #d5e6f0;background:#f8fcfe}
.role-agenda small{color:#0a7ec2;font-size:11px;font-weight:800}
.role-agenda>strong{color:#073f65;font-size:14px}
.role-agenda ul{margin:0;padding:0;list-style:none;display:grid;grid-gap:6px;gap:6px}
.role-agenda li{display:grid;grid-gap:2px;gap:2px}
.role-agenda li b{color:#0b4c76;font-size:12px}
.role-agenda li span,.role-agenda p{margin:0;color:#254f69;font-size:12px;line-height:1.55}
.role-agenda-actions{display:flex;flex-wrap:wrap;gap:8px}
.role-agenda-actions button{height:30px;padding:0 12px;border:1px solid #0a7ec2;border-radius:0;background:#0a7ec2;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.role-agenda-actions button.ghost{background:#fff;color:#075b97}
.role-agenda-actions button:hover{background:#0868a3;color:#fff}
.role-agenda-actions button.ghost:hover{background:#e7f3fb;color:#075b97}
.chat-output-sheet{flex:1 1;min-height:0;overflow:auto;padding:16px 18px;background:#fff}
.chat-output-sheet>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}
.chat-output-sheet>header small{color:#0a7ec2;font-size:11px;font-weight:800}
.chat-output-sheet>header span{color:#7b95a6;font-size:12px}
.chat-output-sheet>.oc-body{width:100%;border:0;padding:0;overflow:visible}
.decision-chat .agent-composer-actions{display:flex!important;width:100%;align-items:center;justify-content:flex-end;gap:6px;margin:0;grid-template-columns:none!important}
.decision-chat .agent-attachment{position:relative;display:grid;place-items:center;flex:none;width:32px;height:32px;margin:0;padding:0;border:1px solid #bddbea;border-radius:0;background:#fff;color:#1875a8;cursor:pointer}
.decision-chat .agent-attachment:hover{background:#f4faff}
.decision-chat .agent-attachment input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.decision-chat .slash-open svg,.decision-chat .agent-attachment svg,.decision-chat .agent-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.decision-chat .agent-action{width:32px!important;height:32px!important;flex:none;margin:0;padding:0!important;border:1px solid #0a7ec2!important;border-radius:0!important;background:#0a7ec2!important;color:#fff!important;box-shadow:none!important}
.decision-chat .agent-action:hover{background:#0868a3!important;transform:none}
.decision-chat .agent-message.assistant{background:transparent;border-left:0}
.decision-chat .message-stack{max-width:100%}
.decision-chat .answer-destinations{margin-top:8px;padding:0;display:grid;grid-template-columns:1fr;grid-gap:6px;gap:6px;border:0;background:transparent}
.decision-chat .answer-destinations>span{color:#7b95a6;font-size:11px;font-weight:700}
.decision-chat .answer-destinations a,
.decision-chat .answer-destinations .answer-destination-btn{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;grid-column-gap:12px;column-gap:12px;grid-row-gap:2px;row-gap:2px;align-items:center;padding:8px 10px;border:1px solid #d5e6f0;border-radius:0;background:#fff;color:#164f72;text-align:left;text-decoration:none;cursor:pointer;font:inherit}
.decision-chat .answer-destinations strong{grid-column:1;font-size:12px}
.decision-chat .answer-destinations small{grid-column:1;min-height:0;margin:0;color:#7b95a6;font-size:11px;line-height:1.4}
.decision-chat .answer-destinations b{grid-column:2;grid-row:1 / span 2;align-self:center;margin:0;color:#1875a8;font-size:11px;white-space:nowrap}
.decision-chat .agent-form{flex:none;margin:0;padding:8px 12px 12px;border-top:1px solid #dceaf2;background:#fff}
.decision-chat .agent-composer textarea,.decision-chat .agent-form textarea{min-height:64px;max-height:120px}
.demo-step-rail{flex:none;display:flex;gap:6px;padding:8px 10px;margin:0;list-style:none;border-bottom:1px solid #dceaf2;background:#f4fafd;overflow-x:auto}
.demo-step-rail li{flex:0 0 auto;padding:5px 10px;border:1px solid #c9e0ed;border-radius:999px;background:#fff;color:#7b95a6;font-size:11px;font-weight:700}
.demo-step-rail li b{font-weight:700}
.demo-step-rail li[data-status="active"]{border-color:#0a7ec2;background:#0a7ec2;color:#fff;box-shadow:0 6px 14px rgba(10,126,194,.22)}
.demo-step-rail li[data-status="done"]{border-color:#b7d4e6;background:#f4f9fc;color:#1875a8}
.demo-gate{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #b9deef;background:linear-gradient(100deg,#e8f6fd,#fff 55%)}
.demo-gate strong{display:block;font-size:14px;color:#073f65}
.demo-gate p{margin:4px 0 0;color:#4d738c;font-size:12px;line-height:1.5}
.demo-gate>button{flex:none;height:36px;padding:0 14px;border:1px solid #0a7ec2;border-radius:8px;background:#0a7ec2;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.demo-gate>button:hover{background:#086aa3}
@keyframes demo-pop{
  0%{box-shadow:0 0 0 0 rgba(10,126,194,.45)}
  40%{box-shadow:0 0 0 10px rgba(10,126,194,.18)}
  100%{box-shadow:0 0 0 0 rgba(10,126,194,0)}
}
.decision-stage.is-demo-pop,.decision-console.demo-spotlight-stage .decision-stage{
  outline:2px solid #0a7ec2;
  animation:demo-pop 1.1s ease;
}
body[data-demo-spotlight="upload"] .workbench-data-drawer,
body[data-demo-spotlight="measure"] .workbench-measure-drawer{
  outline:3px solid #0a7ec2;
  animation:demo-pop 1.1s ease;
  z-index:80;
}
body[data-demo-spotlight="board"] .result-tab[data-kind="chart"].active,
body[data-demo-spotlight="analysis"] .result-tab[data-kind="analysis"].active{
  outline:2px solid #0a7ec2;
  outline-offset:1px;
}
.decision-console-page .result-tabbar{position:relative;z-index:2}
.demo-upload-panel{padding:12px 14px;border:1px solid #9fc8de;border-radius:10px;background:#fff;box-shadow:0 10px 24px rgba(7,63,101,.08)}
.demo-upload-panel>strong{display:block;margin-bottom:10px;color:#073f65;font-size:13px}
.demo-upload-panel ul{margin:0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}
.demo-upload-panel li{display:grid;grid-template-columns:56px minmax(0,1fr);grid-gap:2px 10px;gap:2px 10px;padding:8px 10px;border:1px solid #d5e7f1;border-radius:8px;background:#f7fbfe}
.demo-upload-panel li[data-done="1"]{border-color:#9ad0a8;background:#eef9f1}
.demo-upload-panel li b{grid-row:1/3;align-self:center;color:#7b95a6;font-size:11px}
.demo-upload-panel li[data-done="1"] b{color:#1f7a3a}
.demo-upload-panel li span{color:#073f65;font-size:12px;font-weight:700}
.demo-upload-panel li small{color:#5d7f98;font-size:11px;line-height:1.4}
.demo-upload-panel>p{margin:10px 0 0;color:#4d738c;font-size:12px}
.result-tabbar{
  flex:none;
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:0;
  min-height:36px;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  border-bottom:1px solid #d5e6f0;
  background:#f7fafc;
}
.result-tabbar::-webkit-scrollbar{height:0}
.result-tab{flex:0 0 auto;display:flex;flex-direction:row;align-items:center;max-width:240px;height:36px;margin:0;padding-right:2px;overflow:hidden;border:0;border-right:1px solid #d5e6f0;border-radius:0;background:transparent;box-shadow:none}
.result-tab:hover{background:#e7f3fb}
.result-tab.active{height:36px;border-color:transparent;border-right-color:#d5e6f0;background:#fff;box-shadow:inset 0 2px 0 #0a7ec2}
.result-tab.active:hover{background:#f3f9fc}
.result-tab-label{flex:1 1;align-self:stretch;min-width:0;display:inline-flex;align-items:center;padding:0 4px 0 12px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#5d7f98;font-size:12px;font-weight:700;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}
.result-tab-label:hover,.result-tab:hover .result-tab-label{border-radius:0;background:transparent;box-shadow:none;color:#073f65}
.result-tab.active .result-tab-label{color:#073f65}
.result-tab-label:before{content:"";flex:none;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#9bb6c6}
.result-tab[data-kind="chart"] .result-tab-label:before{background:#0a7ec2}
.result-tab[data-kind="report"] .result-tab-label:before{background:#df9726}
.result-tab[data-kind="board"] .result-tab-label:before{background:#16885c}
.result-tab[data-kind="analysis"] .result-tab-label:before{background:#7a5cc8}
.result-tab[data-kind="step"] .result-tab-label:before{background:#e25b45}
.result-tab[data-kind="step"].active{background:#fff;box-shadow:inset 0 2px 0 #e25b45}
.result-tab[data-kind="step"].active:hover{background:#fff5f2}
.result-tab[data-kind="step"].active .result-tab-label,.result-tab[data-kind="step"].active:hover .result-tab-label{color:#8a341f}
.result-tab-close{flex:none;align-self:center;width:24px;height:24px;margin:0 2px 0 0;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:0;background:transparent;box-shadow:none;color:#5c6b78;line-height:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}
.result-tab-close svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.result-tab:hover .result-tab-close{background:transparent;color:#073f65}
.result-tab-close:hover{background:transparent;box-shadow:none;color:#0a7ec2}
.result-sheet{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:none}
.sandbox-dashboard{flex:1 1;min-height:0;display:flex;flex-direction:column;background:#f4fafd}
.sandbox-dashboard header{flex:none;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #d5e7f1}
.sandbox-dashboard header small{color:#087ca8;font-size:12px;font-weight:800}
.sandbox-dashboard header span{color:#6d8ba0;font-size:12px}
.sandbox-dashboard iframe{flex:1 1;width:100%;min-height:0;border:0;background:#fff}
.result-sheet>.workbench-side-drawer.is-sheet,.result-sheet>.map-tool-embed,.result-sheet>.case-study-pane{position:relative;top:auto;right:auto;z-index:auto;flex:1 1;width:auto;max-width:none;height:auto;min-height:0;box-shadow:none;border-left:0;overflow:auto}
.result-sheet>.exclusive-data-pane{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:auto;background:#f4fafd}
.exclusive-data-pane>header{flex:none;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #d5e8f4;background:#fff}
.exclusive-data-pane>header small{display:block;color:#0a7ec2;font-size:11px;font-weight:800}
.exclusive-data-pane>header strong{display:block;margin-top:2px;color:#073f65;font-size:16px}
.exclusive-data-pane>header>span{color:#5d7e94;font-size:12px}
.exclusive-data-stage{flex:1 1;min-height:420px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);grid-gap:12px;gap:12px;padding:12px}
.exclusive-data-map,.exclusive-data-bi{min-width:0;min-height:0;border:1px solid #d5e8f4;background:#fff}
.exclusive-data-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:10px 12px;border-bottom:1px solid #e5f0f6}
.exclusive-data-controls label{display:grid;grid-gap:4px;gap:4px;color:#5d7e94;font-size:11px;font-weight:700}
.exclusive-data-controls select{height:32px;min-width:120px;border:1px solid #bddbea;background:#fff;color:#164f72}
.exclusive-data-modes{display:flex;gap:0;height:32px;border:1px solid #bddbea}
.exclusive-data-modes button{padding:0 10px;border:0;border-right:1px solid #bddbea;border-radius:0;background:#fff;color:#5d7e94;font-size:12px;font-weight:700;cursor:pointer}
.exclusive-data-modes button:last-child{border-right:0}
.exclusive-data-modes button:hover{background:#e7f3fb;color:#073f65}
.exclusive-data-modes button.is-active,.exclusive-data-modes button.is-active:hover{background:#0a7ec2;color:#fff}
.exclusive-data-map>p{margin:0;padding:8px 12px 12px;color:#5d7e94;font-size:12px}
.exclusive-data-bi{display:flex;flex-direction:column;overflow:auto}
.exclusive-data-bi>header{padding:10px 12px 0}
.exclusive-data-bi>header small{display:block;color:#0a7ec2;font-size:10px;font-weight:800;letter-spacing:.08em}
.exclusive-data-bi>header strong{display:block;margin-top:2px;color:#073f65;font-size:15px}
.exclusive-data-bi>nav{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px}
.exclusive-data-bi>nav button{height:28px;padding:0 10px;border:1px solid #c9e0ed;border-radius:0;background:#f7fbfe;color:#5d7f98;font-size:12px;font-weight:700;cursor:pointer}
.exclusive-data-bi>nav button:hover{background:#e7f3fb;border-color:#8ec3e0;color:#073f65}
.exclusive-data-bi>nav button.is-active,.exclusive-data-bi>nav button.is-active:hover{border-color:#0a7ec2;background:#0a7ec2;color:#fff}
.exclusive-data-bi .twin-chart-host{margin:0 12px 12px}
.exclusive-data-kpis{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin:0;padding:12px}
.exclusive-data-kpis div{padding:10px;border:1px solid #d5e8f4;background:#f7fbfe}
.exclusive-data-kpis dt{color:#5d7e94;font-size:11px}
.exclusive-data-kpis dd{margin:4px 0 0;color:#073f65;font-size:16px;font-weight:800}
.exclusive-data-rank{list-style:none;margin:0;padding:0 12px 12px;display:grid;grid-gap:6px;gap:6px}
.exclusive-data-rank button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:4px 8px;gap:4px 8px;padding:8px 10px;border:1px solid #d5e8f4;border-radius:0;background:#fff;color:#164f72;text-align:left;cursor:pointer}
.exclusive-data-rank button:hover{border-color:#8ec3e0;background:#f4faff}
.exclusive-data-rank button.is-active,.exclusive-data-rank button.is-active:hover{border-color:#0a7ec2;background:#f4faff}
.exclusive-data-rank b{font-size:12px}
.exclusive-data-rank em{font-style:normal;color:#5d7e94;font-size:11px}
.exclusive-data-rank i{grid-column:1 / -1;display:block;height:6px;border-radius:99px;background:#e7f1f7;overflow:hidden}
.exclusive-data-rank i span{display:block;height:100%;background:#0a7ec2}
@media(max-width:1100px){.exclusive-data-stage{grid-template-columns:1fr}}
.result-sheet>.map-tool-embed .page-shell{width:100%;margin:0;padding:12px 12px 24px}
.result-sheet>.map-tool-embed .page-shell-head h1{font-size:18px}
.case-study-list{padding:16px 16px 28px}
.case-study-list h2{margin:0;color:#075b97;font-size:18px}
.case-study-list header p{margin:6px 0 14px;color:#5d7e94;font-size:13px;line-height:1.5}
.case-study-list ul{list-style:none;margin:0;padding:0;display:grid;grid-gap:8px;gap:8px}
.case-study-list li button{width:100%;padding:12px 14px;border:1px solid #bddbea;border-radius:0;background:#fff;color:#164f72;text-align:left;cursor:pointer}
.case-study-list li button:hover{border-color:#7eb7d4;background:#e7f3fb}
.case-study-list strong,.case-study-list small{display:block}
.case-study-list small{margin-top:4px;color:#66849a;font-size:12px}
.case-study-status{margin:0;padding:18px;color:#5d7e94}
.case-study-back{position:-webkit-sticky;position:sticky;top:0;z-index:2;height:36px;width:100%;border:0;border-radius:0;border-bottom:1px solid #d5e8f4;background:#fff;color:#075b97;font-weight:800;text-align:left;padding:0 14px;cursor:pointer}
.case-study-back:hover{background:#e7f3fb;color:#075b97}
.case-study-play .sandbox-map,.case-study-play .game-console{margin:12px}
.case-study-play .game-console,
.case-study-play .game-console.is-compact{width:calc(100% - 24px);max-width:calc(100% - 24px);min-width:0;grid-template-columns:minmax(150px,200px) minmax(0,1fr) minmax(220px,34%);align-items:stretch}
.case-study-play .desk-seats,
.case-study-play .desk-controls,
.case-study-play .desk-viz{min-width:0;max-width:100%}
.case-study-play .desk-seats{grid-column:1;grid-row:1}
.case-study-play .desk-controls{grid-column:2;grid-row:1}
.case-study-play .desk-viz{grid-column:3;grid-row:1;border-left:1px solid var(--g-line);border-top:0}
.result-empty{flex:1 1;min-height:0;display:grid;place-items:center;padding:32px;background:#f7fbfe}
.result-empty p{margin:0;max-width:320px;color:#7b95a6;font-size:13px;line-height:1.7;text-align:center}
.result-sheet .workbench-bi-frame{flex:1 1;width:100%;height:100%;min-height:0;margin:0;border:0}
.result-sheet .workbench-bi-frame[hidden]{display:none!important}
.result-sheet-tools{flex:none;display:flex;justify-content:flex-end;padding:8px 12px 0}
.result-sheet-tools button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #bddbea;border-radius:0;background:#fff;color:#1875a8;cursor:pointer}
.result-sheet-tools button:hover{background:#f4faff}
.result-sheet-tools svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.result-sheet .report-preview{flex:1 1;min-height:0;margin:0;padding:0;overflow:auto}
.result-sheet .analysis-report>header{padding:16px 18px}
.result-sheet .analysis-report>header h2{font-size:18px}
.result-sheet .analysis-report section{padding:14px 18px}
.analysis-reports-pane{flex:1 1;min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;background:#f7fbfe}
.analysis-report-switch{flex:0 0 auto;align-self:stretch;width:100%;height:auto;max-height:72px;min-height:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #d5e7f1;overflow-x:auto;overflow-y:hidden;background:#fff}
.analysis-report-switch::-webkit-scrollbar{height:0}
.analysis-report-switch button{flex:0 0 auto;align-self:center;width:auto;height:52px;min-height:52px;max-height:52px;min-width:160px;max-width:220px;display:grid;grid-template-rows:auto auto;align-content:center;grid-gap:2px;gap:2px;padding:6px 12px;border:1px solid #c9e0ed;border-radius:10px;background:#f4fafd;color:#5d7f98;text-align:left;cursor:pointer}
.analysis-report-switch button.active{border-color:#7a5cc8;background:#f4effc;color:#4a2f8a;box-shadow:0 6px 16px rgba(122,92,200,.12)}
.analysis-report-switch button b,.analysis-report-switch button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.analysis-report-switch button b{font-size:12px;font-weight:800}
.analysis-report-switch button span{font-size:11px;line-height:1.35;opacity:.85}
.analysis-report-body{flex:1 1;min-height:0;overflow:auto;padding:8px 0 24px}
.analysis-report-body.has-frame{display:flex;flex-direction:column;padding:0;overflow:hidden}
.analysis-report-frame{flex:1 1;width:100%;min-height:0;border:0;background:#fff}
.analysis-report-status{margin:28px 24px;color:#5d7f98;font-size:13px}
.analysis-report-status.error{color:#b05d1d}
.analysis-md{max-width:980px;margin:0 auto;padding:8px 28px 36px;color:#224f6d;font-size:13px;line-height:1.75}
.analysis-md h1{margin:12px 0 14px;font-size:24px;color:#073f65;border-bottom:2px solid #d7e8f1;padding-bottom:10px}
.analysis-md h2{margin:28px 0 12px;font-size:18px;color:#0a5f8f}
.analysis-md h3{margin:20px 0 10px;font-size:15px;color:#146a96}
.analysis-md h4{margin:16px 0 8px;font-size:14px}
.analysis-md p,.analysis-md li{color:#456a82}
.analysis-md blockquote{margin:12px 0;padding:10px 14px;border-left:4px solid #7a5cc8;background:#f6f2fc;color:#4a2f8a}
.analysis-md table{width:100%;border-collapse:collapse;margin:14px 0;font-size:12px;overflow:auto;display:block}
.analysis-md th,.analysis-md td{border:1px solid #d5e7f1;padding:6px 8px;text-align:left;white-space:nowrap}
.analysis-md th{background:#eef7fc;color:#0a5f8f}
.analysis-md pre{padding:12px 14px;overflow:auto;border-radius:8px;background:#0f2f44;color:#e8f4fb;font-size:12px}
.analysis-md code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
.analysis-md :not(pre)>code{padding:1px 5px;border-radius:4px;background:#eef5fa;color:#0a5f8f}
.analysis-md img{max-width:100%;height:auto;border-radius:8px;border:1px solid #d5e7f1}
.analysis-md hr{border:0;border-top:1px solid #d5e7f1;margin:20px 0}
.result-data{flex:1 1;min-height:0;padding:18px 22px 28px;overflow:auto}
.result-data header small{color:#0a7ec2;font-size:11px;font-weight:800;letter-spacing:.12em}
.result-data h3{margin:6px 0 14px;font-size:20px}
.result-data h4{margin:4px 0 10px;color:#0a5f8f;font-size:13px}
.result-data-toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 -22px 14px;padding:8px 22px;background:#fff;border-bottom:1px solid #e4f0f6}
.result-data-toolbar [role="tablist"]{display:flex;flex-wrap:wrap;gap:6px}
.result-data-toolbar button{height:28px;padding:0 10px;border:1px solid #c5dceb;border-radius:0;background:#fff;color:#3d6d88;font-size:12px;font-weight:700;cursor:pointer}
.result-data-toolbar button.active{border-color:#0a7ec2;background:#0a7ec2;color:#fff}
.result-data-toolbar input{height:28px;min-width:140px;margin-left:auto;padding:0 10px;border:1px solid #c5dceb;border-radius:0;color:#164f72;font-size:12px}
.result-data-toolbar span{color:#6d8aa0;font-size:12px}
.result-data-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));grid-gap:8px;gap:8px;margin-bottom:16px}
.result-data-kpis button{padding:10px 12px;border:1px solid #d5e6f0;border-radius:0;background:#f7fbfe;text-align:left;cursor:pointer}
.result-data-kpis button.active{border-color:#0a7ec2;background:#eef7fc;box-shadow:inset 0 0 0 1px #0a7ec2}
.result-data-kpis small{display:block;color:#5d7f98;font-size:11px}
.result-data-kpis b{display:block;margin-top:4px;color:#073f65;font-size:18px}
.result-data ul{margin:0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}
.result-data li button{width:100%;display:grid;grid-template-columns:minmax(88px,1fr) auto minmax(72px,1.2fr);align-items:center;grid-gap:12px;gap:12px;padding:8px 10px;border:1px solid transparent;border-radius:0;background:transparent;text-align:left;cursor:pointer}
.result-data li.is-picked button{border-color:#b9dff2;background:#f4faff}
.result-data li span{color:#4d738c;font-size:13px}
.result-data li b{min-width:72px;color:#073f65;font-size:16px}
.result-data li i{display:block;height:10px;border-radius:999px;background:#e7f2f8;overflow:hidden}
.result-data li em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0a7ec2,#39b4e6)}
.result-data>p,.result-data p{margin:0;color:#6f8da1;line-height:1.7}
.outcome-assets{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.outcome-asset{display:flex;align-items:center;gap:8px;width:168px;max-width:100%;padding:7px 8px;border:1px solid #d5e6f0;border-radius:0;background:#fff;text-align:left;cursor:pointer}
.outcome-asset i{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:0}
.outcome-asset svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.outcome-asset[data-kind="chart"] i{background:#e7f3fb;color:#0a7ec2}
.outcome-asset[data-kind="report"] i{background:#fff3e4;color:#d4892a}
.outcome-asset span{min-width:0;display:grid}
.outcome-asset b{font-size:12px;line-height:1.3;color:#0b4c76}
.outcome-asset small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;color:#6d8aa0}
.outcome-asset.active{border-color:#0a7ec2;box-shadow:inset 0 0 0 1px #0a7ec2}
.outcome-asset:hover{border-color:#8ec3e0;background:#f7fbfe}
.workbench-tools{position:relative}
.workbench-tools summary{height:32px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid #bddbea;background:#fff;color:#1875a8;font-size:12px;font-weight:700;list-style:none;cursor:pointer}
.workbench-tools summary::-webkit-details-marker{display:none}
.workbench-tools[open] summary{border-color:var(--role);background:#edf8fd}
.workbench-tools>div{position:absolute;z-index:8;right:0;top:calc(100% + 6px);min-width:148px;padding:6px;display:grid;grid-gap:4px;gap:4px;border:1px solid #b9deef;border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(7,63,101,.12)}
.workbench-tools button,.workbench-tools a{height:32px;padding:0 10px;display:flex;align-items:center;border:0;border-radius:4px;background:transparent;color:#164f72;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer}
.workbench-tools button:hover,.workbench-tools a:hover{background:#eef7fc}
@media(max-width:980px){
  .workbench.decision-console-page{height:auto;overflow:visible}
  .decision-console{grid-template-columns:1fr;grid-template-rows:minmax(480px,62vh) minmax(420px,70vh)}
}
@media print{
  .decision-chat,.result-tabbar,.result-sheet-tools,.workbench-tools,.decision-console-page .workbench-context,.workbench-header{display:none!important}
  .workbench.decision-console-page{height:auto;overflow:visible;padding:0}
  .decision-console{display:block;height:auto}
  .result-sheet{height:auto;overflow:visible;border:0}
  .result-sheet .report-preview{overflow:visible}
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/game.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root{--g-blue:#0a7ec2;--g-ink:#083b63;--g-muted:#5d7f98;--g-line:#c9e2f2;--g-bg:#f2faff;--g-grid:#168ccc;--g-compute:#11a6a0;--g-telco:#7659d8;--g-warm:#df9726;--g-agent:#7659d8}*{box-sizing:border-box}body{margin:0;background:var(--g-bg);color:var(--g-ink);font:14px/1.65 'Microsoft YaHei','PingFang SC',sans-serif}button,input,select,textarea{font:inherit}.game-page{max-width:1800px;margin:0 auto;padding:16px 28px 36px}.game-hero{display:grid;grid-template-columns:auto minmax(300px,1fr) auto;align-items:center;grid-gap:16px;gap:16px;padding:12px 16px;border:1px solid var(--g-line);border-top:3px solid var(--g-blue);background:#fff}.game-scene-picker{display:grid;grid-template-columns:auto 164px;align-items:center;grid-gap:6px;gap:6px;color:var(--g-muted);font-size:12px}.game-scene-picker select,.game-action-row select,.game-action-row input{height:34px;border:1px solid #b9d9ec;border-radius:5px;padding:0 8px;color:var(--g-ink);background:#fff}.game-title p{margin:0 0 3px;color:var(--g-blue);font-size:10px;letter-spacing:1.8px;font-weight:800}.game-title h1{display:inline;margin:0;font-size:22px}.game-title span{margin-left:10px;color:var(--g-muted);font-size:13px}.game-actions{display:flex;align-items:center;gap:7px}.game-actions span{max-width:210px;color:#23855c;font-size:12px}.game-actions button,.game-console button,.seat-control{border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-weight:700;padding:7px 10px;cursor:pointer}.game-actions #game-demo,.game-console .gold,.seat-control.gold{border-color:var(--g-warm);background:#fff6e8;color:#a56300}.game-stage{display:grid;grid-template-columns:minmax(0,1fr) 292px;grid-template-areas:"seats board";grid-gap:12px;gap:12px;margin-top:12px;align-items:stretch}.game-timeline{grid-area:timeline;padding:11px 14px;border:1px solid var(--g-line);background:#fff}.game-timeline header{display:flex;align-items:center;justify-content:space-between}.game-timeline h2,.game-board h2,.game-operator h2{margin:0;font-size:16px}.game-timeline header span{color:var(--g-muted);font-size:12px}.game-timeline>div{display:flex;gap:8px;overflow:auto;padding-top:10px}.game-event{flex:0 0 210px;padding:8px 10px;border:1px solid var(--g-line);border-left:3px solid var(--g-grid);background:#fbfdff;font-size:12px;line-height:1.45;cursor:pointer}.game-event.active{background:#e9f7ff}.game-event.compute{border-left-color:var(--g-compute)}.game-event.telco{border-left-color:var(--g-telco)}.game-event b{display:block;margin-bottom:3px}.game-seats{grid-area:seats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.game-seat{min-height:520px;padding:14px;border:1px solid var(--g-line);border-top:4px solid var(--g-grid);background:#fff}.game-seat.compute{border-top-color:var(--g-compute)}.game-seat.telco{border-top-color:var(--g-telco)}.game-seat.human{background:#f6fbfe}.game-seat.agent{background:#fbf9ff}.game-seat header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.game-seat h2{margin:0;font-size:19px}.game-seat header span{color:var(--g-muted);font-size:12px}.seat-occupant{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:9px 0}.seat-who{font-size:13px}.seat-who b{margin-left:4px}.seat-actions{display:flex;flex-wrap:wrap;gap:4px}.seat-control{padding:4px 6px;font-size:11px}.seat-job{margin:0;color:var(--g-muted);font-size:12px;line-height:1.45}.seat-stats{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px;gap:7px;margin:12px 0}.seat-stat{padding:7px;background:#eef8fd}.seat-stat span{display:block;color:var(--g-muted);font-size:11px}.seat-stat b{display:block;margin-top:3px;font-size:16px}.seat-info h3{margin:11px 0 5px;font-size:13px}.seat-info ul{margin:0;padding-left:16px;color:#315c7a;font-size:12px;line-height:1.53}.seat-how{margin:8px 0;color:#9b7300;font-size:12px;line-height:1.45}.seat-mail{margin-top:6px;padding:6px;border-left:3px solid var(--g-line);color:#315c7a;font-size:11px;line-height:1.4}.agent-brief{width:100%;min-height:55px;margin-top:7px;border:1px dashed #bfa8ef;background:#fff;color:#5c5186;font:11px/1.35 monospace;padding:5px;resize:vertical}.game-board{grid-area:board;display:grid}.game-board section{height:100%;padding:13px;border:1px solid var(--g-line);background:#fff}.game-feed{margin-top:9px;display:grid;grid-gap:7px;gap:7px;align-content:start}.game-feed .item,.calc-card{padding:8px;border-left:3px solid var(--g-blue);background:#f4faff;color:#234e6e;font-size:12px;line-height:1.48}.game-feed .contract{border-left-color:var(--g-warm)}.calc-card{border-left-color:var(--g-warm)}.calc-card.empty{border-left-color:var(--g-line);color:var(--g-muted)}.calc-card .row{display:flex;justify-content:space-between;gap:8px}.calc-card .up{color:#16885c}.calc-card .down{color:#bd5b39}.game-align{margin-top:9px;padding:8px;border:1px solid #b5e0d1;background:#effaf5;color:#246648;font-size:11px;line-height:1.42}.game-align.fail{border-color:#f1c3a6;background:#fff7ef;color:#a45a26}.game-results{scroll-margin-top:16px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);grid-gap:12px;gap:12px;margin-top:12px}.game-results>.game-timeline{grid-area:auto}.game-results>.game-timeline,.game-calculation{min-height:210px;padding:14px;border:1px solid var(--g-line);background:#fff}.game-calculation h2{margin:0;font-size:16px}.game-console{display:grid;grid-template-columns:290px minmax(0,1fr);grid-gap:16px;gap:16px;align-items:start;margin-top:12px;padding:14px;border:1px solid var(--g-line);background:#fff}.game-operator p{margin:7px 0;color:var(--g-muted);font-size:12px;line-height:1.45}.game-seat-picks{display:flex;flex-wrap:wrap;gap:6px}.game-desk-note{color:#916b00!important}.game-console form{display:grid;grid-gap:8px;gap:8px}.game-guide{padding:9px 11px;border-left:3px solid var(--g-blue);background:#eef8fd;color:#315c7a;font-size:12px;line-height:1.55}.game-guide b{color:var(--g-ink)}.game-decision-row,.game-action-row{display:grid;grid-template-columns:60px auto auto auto;align-items:center;grid-gap:7px;gap:7px}.game-action-row{grid-template-columns:60px minmax(110px,.45fr) minmax(90px,.35fr) auto auto}.game-action-row span{color:var(--g-muted);font-size:12px;font-weight:700}.game-talk{grid-template-columns:60px minmax(100px,.35fr) minmax(180px,1fr) auto minmax(220px,1.3fr) auto}@media(max-width:1200px){.game-hero{grid-template-columns:1fr auto}.game-scene-picker{grid-column:1/-1}.game-title{grid-column:1}.game-actions{grid-column:2}.game-stage{grid-template-columns:1fr;grid-template-areas:"seats" "board"}.game-board{display:block}.game-results{grid-template-columns:1fr}}@media(max-width:760px){.game-page{padding:10px}.game-hero{display:flex;align-items:flex-start;flex-direction:column}.game-title span{display:block;margin:4px 0 0}.game-actions{flex-wrap:wrap}.game-seats,.game-board,.game-console,.game-results{grid-template-columns:1fr}.game-seat{min-height:0}.game-decision-row,.game-action-row,.game-talk{grid-template-columns:55px 1fr 1fr}.game-action-row input{min-width:0}.game-talk button,.game-action-row button{grid-column:auto}.game-talk input[name="bulletin"]{grid-column:2/-1}}
.game-summary{margin-top:12px;padding:18px;border:1px solid #b5e0d1;border-top:4px solid #16885c;background:#fff}.game-summary header{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-summary header p{margin:0;color:#16885c;font-size:12px;font-weight:700}.game-summary h2{margin:2px 0 0;font-size:20px}.game-summary header span{padding:4px 8px;background:#effaf5;color:#16885c;font-size:12px;font-weight:700}.agreement-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:14px}.agreement-card{padding:12px;border:1px solid var(--g-line);border-top:3px solid var(--g-grid);background:#fbfdff}.agreement-card.compute{border-top-color:var(--g-compute)}.agreement-card.telco{border-top-color:var(--g-telco)}.agreement-card h3{margin:0 0 7px;font-size:16px}.agreement-card p{margin:4px 0;color:#315c7a;font-size:12px}.agreement-card b{color:var(--g-ink)}.agreement-next{margin:14px 0 0;padding:10px 12px;background:#effaf5;color:#246648;font-size:13px}@media(max-width:760px){.agreement-cards{grid-template-columns:1fr}.game-summary header{align-items:flex-start;flex-direction:column}}
.game-price-presets{display:flex;flex-wrap:wrap;gap:5px;grid-column:2/-1}.game-price-presets:empty{display:none}.game-price-presets button{display:flex;align-items:center;gap:5px;min-height:28px;padding:3px 8px;border:1px solid var(--g-line);border-radius:4px;background:#f7fbfe;color:var(--g-ink);cursor:pointer}.game-price-presets button:hover{border-color:var(--g-blue);color:var(--g-blue)}.game-price-presets small{color:var(--g-muted);font-size:10px;font-weight:400}
.game-scene-tools{display:flex;align-items:center;gap:7px}.game-scene-tools>a{height:34px;padding:0 10px;display:inline-flex;align-items:center;border:1px solid #1689c5;border-radius:5px;background:#fff;color:#0879bd;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.game-lower{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.65fr);grid-column-gap:18px;column-gap:18px;grid-row-gap:12px;row-gap:12px;align-items:start;margin-top:12px}.game-lower .game-console{grid-column:1;display:grid;grid-template-columns:240px minmax(0,1fr);grid-gap:16px;gap:16px;align-items:start;margin:0;padding-right:18px;border-right:1px solid #b9d9ec}.game-lower .game-calculation{grid-column:2;min-height:0;padding:14px;border:1px solid var(--g-line);background:#fff}.game-lower .game-results{grid-column:1/-1;display:block;min-height:0;margin:0;scroll-margin-top:16px}.game-lower .game-results>.game-timeline{grid-area:auto;min-height:150px;padding:14px;border:1px solid var(--g-line);background:#fff}@media(max-width:1200px){.game-lower{grid-template-columns:1fr}.game-lower .game-console,.game-lower .game-calculation,.game-lower .game-results{grid-column:auto}.game-lower .game-console{padding-right:14px;border-right:1px solid var(--g-line)}}@media(max-width:760px){.game-lower .game-console{grid-template-columns:1fr;padding-right:14px;border-right:1px solid var(--g-line)}}
.game-seat-picks{display:flex;flex-direction:column;align-items:center;gap:10px}.game-seat-picks .seat-control{width:156px;min-height:40px}
.game-action-row{grid-template-columns:60px minmax(110px,.45fr) minmax(90px,.35fr);align-items:center}.game-action-row .game-price-presets{grid-column:2/-1}.game-calculation-actions{grid-column:2/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.game-calculation-actions button{min-height:48px;border:1px solid #b9d9ec;border-radius:5px;background:#fff;color:var(--g-ink);font-weight:800}.game-calculation-actions button.gold{background:#fff7e9;border-color:#f0aa3b;color:#a86700}
@media(max-width:760px){.game-action-row .game-price-presets,.game-calculation-actions{grid-column:2/-1}.game-calculation-actions{grid-template-columns:1fr}.game-seat-picks .seat-control{width:100%}}
.game-lower{grid-template-columns:minmax(0,2.25fr) minmax(220px,.45fr)}
.game-seat-picks{align-items:flex-start}.game-seat-picks .seat-control{width:136px}
.game-talk{grid-template-columns:60px 120px minmax(170px,1fr) 70px minmax(220px,1.35fr) 68px}.game-talk button{white-space:nowrap;padding-left:8px;padding-right:8px}
@media(max-width:760px){.game-seat-picks{align-items:stretch}.game-talk{grid-template-columns:55px 1fr 1fr}.game-talk button,.game-talk input[name="bulletin"]{grid-column:auto}.game-talk input[name="bulletin"]{grid-column:2/-1}}

/* 公开 / 我的沙盘目录 */
.sandbox-library{margin:0 0 14px;padding:16px 18px;border:1px solid var(--g-line);border-top:3px solid var(--g-blue);background:#fff}
.sandbox-library>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sandbox-library>header small{display:block;color:var(--g-blue);font-size:10px;letter-spacing:.12em;font-weight:800}
.sandbox-library>header h2{margin:4px 0 0;font-size:18px;color:var(--g-ink)}
.sandbox-library>header nav{display:flex;gap:0;border:1px solid #b9d9ec;border-radius:6px;overflow:hidden;background:#f4faff}
.sandbox-library>header nav button{height:34px;padding:0 14px;border:0;border-right:1px solid #b9d9ec;background:transparent;color:#5d7f98;font-size:12px;font-weight:700;cursor:pointer}
.sandbox-library>header nav button:last-child{border-right:0}
.sandbox-library>header nav button.active{background:#0a7ec2;color:#fff}
.sandbox-create{margin-top:14px;display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) minmax(140px,.8fr) auto;grid-gap:8px;gap:8px}
.sandbox-create input,.sandbox-create select{height:36px;padding:0 10px;border:1px solid #b9d9ec;border-radius:5px;background:#fff;color:var(--g-ink)}
.sandbox-create button{height:36px;padding:0 14px;border:1px solid var(--g-blue);border-radius:5px;background:var(--g-blue);color:#fff;font-weight:700;cursor:pointer}
.sandbox-create button:disabled{opacity:.55;cursor:wait}
.sandbox-list{margin-top:12px;display:grid;grid-gap:8px;gap:8px}
.sandbox-list>article{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #d5e8f4;border-radius:6px;background:#f7fbfe}
.sandbox-hint,.sandbox-empty{display:block!important;color:#5d7f98;font-size:12px;line-height:1.55}
.sandbox-hint strong{display:block;margin-bottom:4px;color:var(--g-ink);font-size:13px}
.sandbox-hint span{display:block}
.sandbox-list>article>div:first-child{min-width:0;flex:1 1}
.sandbox-list>article strong{display:block;font-size:14px;color:var(--g-ink)}
.sandbox-list>article span{display:block;margin-top:3px;color:#5d7f98;font-size:12px;line-height:1.45}
.sandbox-list>article small{display:block;margin-top:5px;color:#7a98ad;font-size:11px}
.sandbox-actions{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}
.sandbox-actions button{height:32px;padding:0 11px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-size:12px;font-weight:700;cursor:pointer}
.sandbox-actions button:hover{border-color:var(--g-blue);background:#eef8fd}
.sandbox-actions button:disabled{opacity:.55;cursor:wait}
.sandbox-notice{margin:10px 0 0;color:#23855c;font-size:12px}
@media(max-width:900px){
  .sandbox-create{grid-template-columns:1fr}
  .sandbox-list>article{align-items:flex-start;flex-direction:column}
}

/* 左对话 / 右游玩 */
.game-play-shell{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);height:calc(100vh - 72px);min-height:0;background:var(--g-bg)}
.sandbox-chat-panel{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e6e6ea;background:#f5f5f7}
.sandbox-chat-tabs{display:flex;gap:2px;margin:12px 14px 0;padding:2px;border-radius:10px;background:#e4e4e8}
.sandbox-chat-tabs button{flex:1 1;height:30px;border:0;border-radius:8px;background:transparent;color:#3a3a3c;font-size:13px;font-weight:600;cursor:pointer}
.sandbox-chat-tabs button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.sandbox-chat-body{flex:1 1;min-height:0;overflow:auto;padding:12px 14px 18px}
.shelf-search{display:block;margin:0 0 14px}
.shelf-search input{width:100%;height:36px;padding:0 12px;border:0;border-radius:10px;background:#e4e4e8;color:#1d1d1f;outline:none}
.shelf-search input::placeholder{color:#8e8e93}
.shelf-empty{margin:24px 0;color:#8e8e93;font-size:13px;text-align:center}
.shelf-apple section{margin:0 0 16px}
.shelf-apple h2{margin:0 8px 6px;color:#8e8e93;font-size:12px;font-weight:600}
.shelf-apple ul{margin:0;padding:0;list-style:none;overflow:hidden;border-radius:12px;background:#fff}
.shelf-apple li{display:flex;align-items:stretch;border-top:1px solid #ececef}
.shelf-apple li:first-child{border-top:0}
.shelf-apple li>button:first-child{flex:1 1;min-width:0;padding:11px 12px;display:grid;grid-gap:2px;gap:2px;text-align:left;border:0;background:transparent;cursor:pointer}
.shelf-apple li>button:first-child.is-on{background:#f2f2f7}
.shelf-apple li>button:first-child b{font-size:15px;font-weight:600;color:#1d1d1f}
.shelf-apple li>button:first-child span{color:#8e8e93;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shelf-more,.shelf-menu{flex:none;align-self:center;margin-right:8px;height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#8e8e93;cursor:pointer}
.shelf-menu{color:#007aff;font-size:13px;font-weight:600}
.shelf-adjust{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.shelf-adjust button{height:32px;padding:0 12px;border:0;border-radius:999px;background:#e4e4e8;color:#1d1d1f;font-size:13px;font-weight:600;cursor:pointer}
.shelf-adjust .sandbox-primary{width:auto;height:32px;margin:0;padding:0 14px;border-radius:999px}
.world-shelf header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 10px}
.world-shelf header small{color:#0a7ec2;font-size:11px;font-weight:800;letter-spacing:.08em}
.world-shelf header strong{font-size:13px}
.world-shelf-sub{margin-top:18px}
.world-shelf-sub button{height:26px;padding:0 8px;border:1px solid #c8dfeb;border-radius:5px;background:#fff;color:#075b97;font-size:12px;cursor:pointer}
.world-card{width:100%;margin:0 0 8px;padding:12px 12px 12px 14px;display:grid;grid-gap:4px;gap:4px;text-align:left;border:1px solid #d5e8f4;border-left:4px solid #0a7ec2;border-radius:10px;background:#fff;cursor:pointer}
.world-card:hover{border-color:#0a7ec2;background:#f4fbff}
.world-card em{font-style:normal;color:#0a7ec2;font-size:11px;font-weight:800}
.world-card b{font-size:15px;color:#083b63}
.world-card span{color:#5d7f98;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.world-rules{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.world-rules button{height:28px;padding:0 8px;border:1px solid #c8dfeb;border-radius:99px;background:#fff;color:#5d7f98;font-size:11px;font-weight:700;cursor:pointer}
.world-rules button.is-on{border-color:#0a7ec2;background:#0a7ec2;color:#fff}
.sandbox-create-form textarea{min-height:72px;padding:8px 10px;border:1px solid #b9d9ec;border-radius:6px;resize:vertical;font:inherit}
.worldview-card{padding:12px 14px;border:1px solid #d7e4c8;border-radius:12px;background:linear-gradient(180deg,#f7fbf3,#fff)}
.worldview-card small{color:#3d7a45;font-size:11px;font-weight:800}
.worldview-card h3{margin:4px 0;font-size:16px}
.worldview-card p{margin:0;color:#315c7a;font-size:13px;line-height:1.5}
.worldview-card ul,.worldview-card ol{margin:8px 0 0;padding-left:18px;color:#083b63;font-size:12px}
.sandbox-world-seeds{flex:none;margin:0;padding:0 14px 8px;color:#3d7a45;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sandbox-bubbles{display:grid;grid-gap:10px;gap:10px}
.sandbox-bubble{padding:12px 14px;border:1px solid #d5e8f4;border-radius:10px 10px 10px 4px;background:#f7fbfe}
.sandbox-bubble.is-user{border-color:#c5e0d4;border-radius:10px 10px 4px 10px;background:#f3fbf6}
.sandbox-bubble.is-system{border-color:#f0d7a2;background:#fff9ee}
.sandbox-bubble small{display:block;color:var(--g-blue);font-size:10px;font-weight:800}
.sandbox-bubble.is-user small{color:#23855c}
.sandbox-bubble.is-system small{color:#a56300}
.sandbox-bubble p{margin:6px 0 0;color:#315c7a;font-size:13px;line-height:1.55}
.sandbox-quick-scenes{margin-top:16px}
.sandbox-quick-scenes>strong{display:block;margin-bottom:8px;font-size:13px}
.sandbox-quick-scenes>div{display:grid;grid-gap:8px;gap:8px}
.sandbox-quick-scenes button{padding:10px 12px;text-align:left;border:1px solid #c8dfeb;border-radius:8px;background:#fff;cursor:pointer}
.sandbox-quick-scenes button b,.sandbox-quick-scenes button span{display:block}
.sandbox-quick-scenes button span{margin-top:4px;color:#7a98ad;font-size:11px}
.sandbox-primary{width:100%;height:42px;margin-top:14px;border:0;border-radius:8px;background:var(--g-blue);color:#fff;font-weight:800;cursor:pointer}
.sandbox-secondary{width:100%;height:40px;margin-top:8px;border:1px solid #b8d8eb;border-radius:8px;background:#fff;color:#075b97;font-weight:700;cursor:pointer}
.sandbox-create-form{display:grid;grid-gap:12px;gap:12px}
.sandbox-create-form label{display:grid;grid-gap:6px;gap:6px;font-size:12px;font-weight:700;color:#436b85}
.sandbox-create-form input,.sandbox-create-form select{height:38px;padding:0 10px;border:1px solid #b9d9ec;border-radius:6px;font:inherit}
.sandbox-create-data>strong{display:block;margin-bottom:8px;font-size:13px}
.sandbox-create-data-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.sandbox-create-data-head strong{font-size:13px}
.sandbox-create-data-head a{color:#075b97;font-size:12px;font-weight:700}
.sandbox-create-chat-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.sandbox-create-chat-head button{height:28px;padding:0 10px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;cursor:pointer}
.sandbox-chat-reply{margin-top:12px}
.sandbox-mine-list{margin-top:18px}
.sandbox-mine-list>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.sandbox-mine-tools{display:flex;align-items:center;gap:8px}
.sandbox-mine-tools a,.sandbox-mine-list>header button{height:28px;padding:0 10px;display:inline-flex;align-items:center;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.sandbox-mine-list article{padding:10px 12px;margin-bottom:8px;display:flex;justify-content:space-between;gap:10px;border:1px solid #d5e8f4;border-radius:8px;background:#f7fbfe}
.sandbox-mine-list article strong,.sandbox-mine-list article span,.sandbox-mine-list article small{display:block}
.sandbox-mine-list article span{margin-top:3px;color:#5d7f98;font-size:12px}
.sandbox-mine-list article small{margin-top:4px;color:#7a98ad;font-size:11px}
.sandbox-mine-list article>div:last-child{display:flex;flex-direction:column;gap:6px}
.sandbox-mine-list article button{height:30px;padding:0 10px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-size:12px;font-weight:700;cursor:pointer}
.sandbox-panel-notice{margin:0;padding:8px 14px;border-top:1px solid #d5e8f4;color:#23855c;font-size:12px}
.my-data-lead a{color:#075b97;font-weight:700}
.my-data-lead{margin:0 0 12px;color:#5d7f98;font-size:12px;line-height:1.55}
.my-data-grid{display:grid;grid-gap:10px;gap:10px}
.my-data-bin{padding:12px;border:1px solid #c8dfeb;border-radius:10px;background:#f7fbfe}
.my-data-bin.is-drag{border-color:var(--g-blue);background:#eaf6fc}
.my-data-bin>header strong{display:block;font-size:14px}
.my-data-bin>header span{display:block;margin-top:3px;color:#7a98ad;font-size:11px}
.my-data-drop{position:relative;margin-top:10px;min-height:72px;padding:12px;display:grid;place-content:center;text-align:center;border:1px dashed #9fc8de;border-radius:8px;background:#fff;cursor:pointer;overflow:hidden}
.my-data-drop input{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:0}
.my-data-drop b{font-size:13px;color:#0a7ec2}
.my-data-drop small{color:#7a98ad;font-size:11px}
.my-data-drop.is-busy{opacity:.65;pointer-events:none}
.my-data-bin ul{margin:10px 0 0;padding:0;list-style:none;display:grid;grid-gap:6px;gap:6px}
.my-data-bin li{padding:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e0edf4;border-radius:6px;background:#fff}
.my-data-bin li.selected{border-color:var(--g-blue);background:#eef8fd}
.my-data-bin li.empty{color:#8aa1b0;font-size:12px;justify-content:center}
.my-data-bin li label{display:flex;align-items:flex-start;gap:8px;min-width:0;flex:1 1;cursor:pointer}
.my-data-bin li strong,.my-data-bin li small{display:block}
.my-data-bin li small{margin-top:2px;color:#7a98ad;font-size:11px}
.my-data-bin li button{height:28px;padding:0 8px;border:1px solid #d5e0e8;border-radius:4px;background:#fff;color:#7a98ad;cursor:pointer}
.my-data-name{display:block;min-width:0;flex:1 1;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.my-data-name strong,.my-data-name small{display:block}
.my-data-name small{margin-top:2px;color:#7a98ad;font-size:11px}
.my-data-viewer{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgba(7,63,101,.28)}
.my-data-viewer-card{width:min(960px,100%);max-height:min(86vh,820px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #9fc8de;border-radius:12px;background:#fff;box-shadow:0 18px 40px rgba(7,63,101,.2)}
.my-data-viewer-card>header{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #dceaf2}
.my-data-viewer-card>header strong{display:block;font-size:14px;color:#073f65}
.my-data-viewer-card>header span{display:block;margin-top:4px;color:#7a98ad;font-size:12px}
.my-data-viewer-card>header button{height:30px;padding:0 10px;border:1px solid #bddbea;background:#fff;color:#1875a8;cursor:pointer}
.my-data-viewer-body{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:auto;background:#f7fbfe}
.my-data-viewer-body>pre{flex:1 1;min-height:0;margin:0;padding:14px;overflow:auto;color:#224f6d;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
.my-data-mapped{flex:none;padding:12px 14px;border-bottom:1px solid #dceaf2;background:#fff}
.my-data-mapped h4{margin:0 0 8px;font-size:12px;color:#0a5f8c}
.my-data-mapped dl{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:6px;gap:6px}
.my-data-mapped dl>div{padding:8px 10px;border:1px solid #d7e8f1;border-radius:6px;background:#f7fbfe}
.my-data-mapped dt{color:#7a98ad;font-size:11px}
.my-data-mapped dd{margin:4px 0 0;color:#073f65;font-size:13px;font-weight:700}
.my-data-table-wrap{flex:1 1;min-height:0;overflow:auto;padding:12px 14px}
.my-data-table{width:max-content;min-width:100%;border-collapse:collapse;background:#fff}
.my-data-table th,.my-data-table td{padding:8px 10px;border:1px solid #d7e8f1;text-align:left;font-size:12px;white-space:nowrap}
.my-data-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#eef7fc;color:#0a5f8c;font-weight:700}
.my-data-table td{color:#224f6d}
.my-data-table tbody tr:nth-child(even){background:#fafcfd}
.my-data-table-note{margin:10px 0 0;color:#7a98ad;font-size:11px}
.my-data-notice{margin:10px 0 0;color:#23855c;font-size:12px}
.my-data-notice.is-error{color:#b42318;font-weight:700}
.game-play-stage{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.sandbox-table{flex:1 1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:minmax(0,1fr) auto;grid-gap:12px;gap:12px;padding:12px}
.sandbox-table-body{grid-column:1;grid-row:1;min-width:0;min-height:0;display:flex}
.sandbox-table-body>.sandbox-map{flex:1 1}
.sandbox-role-rail{grid-column:2;grid-row:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:10px;overflow:visible;padding-top:8px}
.role-dock{position:relative;width:76px;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
.role-icon{width:76px;padding:8px 4px 6px;display:grid;justify-items:center;grid-gap:2px;gap:2px;border:1px solid #c9e2f2;border-radius:14px;background:#fff;cursor:pointer}
.role-icon i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e7f4fc;color:#168ccc;font-style:normal;font-weight:800;font-size:16px}
.role-dock.compute .role-icon i{background:#e7f7f6;color:#11a6a0}
.role-dock.telco .role-icon i{background:#f3effc;color:#7659d8}
.role-dock.human .role-icon{border-color:#f0aa3b;background:#fff7e9}
.role-icon b{font-size:12px;color:#083b63;font-weight:800}
.role-icon em{font-style:normal;font-size:11px;font-weight:800;color:#16885c}
.role-dock.is-lose .role-icon em{color:#a14b32}
.role-detail{position:absolute;right:calc(100% + 10px);top:0;z-index:6;width:280px;max-height:min(420px,70vh);overflow:auto;padding:12px;border:1px solid #c9e2f2;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(8,59,99,.12)}
.sandbox-role-rail .game-seat header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
.sandbox-role-rail .game-seat header h2{margin:0;font-size:16px;line-height:1.25}
.sandbox-role-rail .seat-occupant{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sandbox-role-rail .seat-job{margin:8px 0 0;line-height:1.45}
.sandbox-role-rail .seat-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}
.sandbox-role-rail .seat-stats.is-single{grid-template-columns:1fr}
.sandbox-role-rail .seat-react{margin:8px 0 0}
.sandbox-desk{grid-column:1 / -1;grid-row:2;min-height:0;max-height:none;overflow:hidden;border:1px solid var(--g-line);border-radius:12px;background:#fff}
.sandbox-desk .game-console{display:grid;grid-template-columns:210px minmax(320px,1.05fr) minmax(340px,1fr);grid-gap:0;gap:0;margin:0;padding:0;border:0;align-items:stretch}
.desk-seats{padding:12px 14px;border-right:1px solid var(--g-line);display:flex;flex-direction:column;gap:8px}
.desk-seats h2{margin:0;font-size:16px}
.sandbox-desk .game-play-steps{flex-wrap:wrap}
.sandbox-desk .game-seat-picks{flex-direction:column;align-items:stretch;gap:6px}
.sandbox-desk .game-seat-picks .seat-control{width:100%;min-height:34px}
.desk-controls{min-width:0;padding:12px 14px;display:grid;grid-template-columns:minmax(120px,.7fr) minmax(140px,.9fr);grid-gap:8px 10px;gap:8px 10px;align-content:center}
.desk-controls label{display:grid;grid-gap:4px;gap:4px;color:#5d7f98;font-size:12px;font-weight:700}
.desk-controls input,.desk-controls select{height:36px;padding:0 8px;border:1px solid #b9d9ec;border-radius:5px;background:#fff;color:var(--g-ink)}
.sandbox-desk .game-price-presets{grid-column:1 / -1}
.desk-offer{height:36px;align-self:end;border:1px solid #f0aa3b;border-radius:6px;background:#fff7e9;color:#a86700;font-weight:800;cursor:pointer}
.move-board{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}
.move-board.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.move-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:78px;padding:10px 12px;border:1px solid #b9d9ec;border-radius:8px;background:#fff;color:#123;text-align:left;cursor:pointer}
.move-card b{font-size:15px}
.move-card small{color:#5d7f98;font-size:12px;font-weight:500;line-height:1.35}
.move-card.is-on{border-color:#f0aa3b;background:#fff7e9}
.move-card:hover{border-color:#3d8ec4}
.desk-lock{grid-column:1 / -1;height:42px;border:1px solid #b9d9ec;border-radius:8px;background:#075b97;color:#fff;font-weight:800;cursor:pointer}
.desk-lock.gold{background:#e8920a;border-color:#e8920a;color:#fff}
@media(max-width:760px){.move-board,.move-board.is-two{grid-template-columns:1fr}}
.desk-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}
.desk-talk-fold{grid-column:1 / -1}
.desk-talk-fold summary{cursor:pointer;color:#5d7f98;font-size:12px;font-weight:700}
.game-price-presets button.gold{border-color:#f0aa3b;background:#fff7e9;color:#a86700}
.desk-actions button{height:40px;border:1px solid #b9d9ec;border-radius:6px;background:#fff;color:#075b97;font-weight:800;cursor:pointer}
.desk-actions button.gold{border-color:#f0aa3b;background:#fff7e9;color:#a86700}
.desk-actions button.warn{border-color:#e7b4a2;background:#fff4f0;color:#a14b32}
.bargain-live{grid-column:1 / -1;padding:8px;border:1px solid #d5ebf6;border-radius:8px;background:#f7fbfe;animation:bargain-pop .35s ease}
.bargain-live.is-wait,.bargain-live.is-lose{margin:0;font-size:13px;font-weight:700}
.bargain-live.is-lose{border-color:#f0c2b4;background:#fff6f3;color:#a14b32}
.bargain-swing{margin:0 0 6px;font-size:13px;font-weight:800;color:#083b63}
.bargain-voices{display:grid;grid-gap:4px;gap:4px;margin:0;padding:0;list-style:none}
.bargain-voices li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-gap:6px;gap:6px;align-items:center;font-size:12px}
.bargain-voices b{color:#083b63}
.bargain-voices span{color:#315c7a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bargain-voices em{font-style:normal;font-weight:800}
.bargain-voices .is-win em{color:#16885c}
.bargain-voices .is-lose em{color:#a14b32}
.bargain-voices .is-thin em{color:#a86700}
.bargain-tug{display:flex;height:8px;margin-top:8px;overflow:hidden;border-radius:99px;background:#e7f1f7}
.bargain-tug i{display:block;height:100%}
.bargain-tug .grid{background:#168ccc}
.bargain-tug .compute{background:#11a6a0}
.bargain-tug .telco{background:#7659d8}
.seat-react{margin:6px 0 0;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seat-react.is-win{color:#16885c}
.seat-react.is-lose{color:#a14b32}
.seat-react.is-thin,.seat-react.is-ok{color:#a86700}
.game-seat.is-win{box-shadow:inset 0 0 0 2px #b7e4cf}
.game-seat.is-lose{box-shadow:inset 0 0 0 2px #f0c2b4}
.score-tick{animation:score-pop .4s ease}
@keyframes bargain-pop{from{transform:translateY(6px);opacity:.35}to{transform:none;opacity:1}}
@keyframes score-pop{from{transform:scale(1.18)}to{transform:none}}
.desk-actions button:disabled,.desk-controls button:disabled,.desk-controls input:disabled,.desk-controls select:disabled{opacity:.5;cursor:not-allowed}
.desk-talk{grid-column:1 / -1;display:grid;grid-template-columns:96px minmax(0,1fr) auto minmax(0,1fr) auto;grid-gap:6px;gap:6px;align-items:center}
.desk-talk button{height:34px;padding:0 10px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-weight:700;cursor:pointer}
.desk-viz{min-width:0;display:flex;flex-direction:column;gap:6px;padding:8px 10px 10px;border-left:1px solid var(--g-line)}
.desk-viz header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.desk-viz header small{display:block;color:#0a7ec2;font-size:10px;letter-spacing:.12em;font-weight:800}
.desk-viz header strong{font-size:14px}
.desk-viz header nav,.desk-viz-tabs{display:flex;gap:4px;flex-wrap:wrap}
.desk-viz header nav button,.desk-viz-tabs button{height:26px;padding:0 8px;border:1px solid #c9e2f2;border-radius:999px;background:#fff;color:#5d7f98;font-size:11px;font-weight:700;cursor:pointer}
.desk-viz header nav button.active,.desk-viz-tabs button.active{border-color:#0a7ec2;background:#0a7ec2;color:#fff}
.desk-viz .twin-chart-canvas,.desk-viz .wasm-decision-chart{height:168px;min-height:168px;border:0;background:transparent}
.desk-viz .evening-run-chart{height:210px;min-height:210px}
.evening-curve-note{margin:0;color:#5d7f98;font-size:12px;line-height:1.5}
.desk-viz-empty{margin:0;padding:28px 8px;color:#5d7f98;font-size:12px;line-height:1.6}
.evening-logic{display:grid;grid-gap:8px;gap:8px;max-height:280px;overflow:auto}
.evening-logic>p{margin:0;color:#315c7a;font-size:12px;line-height:1.5}
.evening-logic ul,.evening-logic ol{margin:0;padding:0;list-style:none;display:grid;grid-gap:6px;gap:6px}
.evening-logic li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:6px;gap:6px;align-items:start;padding:6px 8px;border-radius:6px;background:#f7fbfe}
.evening-logic li b{color:#083b63;font-size:12px}
.evening-logic li span{color:#5d7f98;font-size:11px;line-height:1.45}
.evening-logic li em{font-style:normal;font-weight:800;color:#16885c;font-size:12px}
.evening-logic ul li.is-you{background:#fff7e9}
.evening-logic ol li{grid-template-columns:36px minmax(0,1fr)}
.evening-logic ol li b{font-size:14px}
.evening-logic ol li strong{display:block;color:#083b63;font-size:12px}
.evening-logic ol li.is-on{outline:1px solid #f0aa3b;background:#fff7e9}
.sandbox-desk .game-console.is-settled{display:block}
.sandbox-desk .game-summary{margin:0;padding:14px 16px;border:0;border-radius:0;background:transparent}
.sandbox-desk .game-summary h2{font-size:18px}
.sandbox-desk .agreement-cards{margin-top:10px}
.sandbox-map{min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #b7d4e6;border-radius:14px;background:
  radial-gradient(circle at 20% 20%, rgba(255,255,255,.7), transparent 28%),
  linear-gradient(180deg,#f4fbff,#e7f3ea 70%,#f7fbfe)}
.sandbox-map-hud{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
.sandbox-map-hud small{display:block;color:#0a7ec2;font-size:10px;letter-spacing:.14em;font-weight:800}
.sandbox-map-hud strong{font-size:16px}
.sandbox-map-hud span{max-width:240px;color:#23855c;font-size:12px}
.sandbox-map-stage{position:relative;flex:1 1;min-height:160px}
.sandbox-map-stage svg{display:block;width:100%;height:100%;cursor:crosshair}
.sandbox-map-stage text{pointer-events:none}
.map-hit{cursor:pointer}
.map-bracket{opacity:0;pointer-events:none}
.map-hit.is-on .map-bracket{opacity:1}
.map-command{position:absolute;left:12px;bottom:12px;z-index:2;display:flex;align-items:center;gap:6px;max-width:calc(100% - 24px);padding:6px 8px;background:rgba(8,28,48,.9);color:#e7f6ff;border:1px solid #3d7eae}
.map-command b{min-width:72px;font-size:13px}
.map-command span{color:#8ec4e4;font-size:11px;font-weight:700}
.map-command button{height:28px;padding:0 8px;border:1px solid #3d7eae;background:#14344c;color:#d6f0ff;font-size:12px;font-weight:800;cursor:pointer}
.map-command button:hover{background:#1d5278}
.map-command button:disabled{opacity:.4;cursor:not-allowed}
.sandbox-map-caption{flex:none;margin:0;padding:0 14px 8px;color:#5d7f98;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sandbox-map-scores{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0;padding:0 12px 12px;list-style:none}
.sandbox-map-scores li{padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.82)}
.sandbox-map-scores span{display:block;color:#5d7f98;font-size:11px}
.sandbox-map-scores b{display:block;margin-top:2px;font-size:14px}
.sandbox-map-wait{flex:none;margin:0;padding:0 14px 12px;color:#5d7f98;font-size:12px}
.sandbox-map-wait.is-bad{color:#a45a26}
.sandbox-flow{fill:none;stroke-linecap:round;opacity:.35}
.sandbox-flow.is-on{opacity:1;stroke-dasharray:8 10;animation:sandbox-flow 1.1s linear infinite}
.sandbox-pulse{transform-origin:center;animation:sandbox-pulse 1.6s ease-out infinite}
.job-move{offset-path:path("M150,200 C320,280 430,120 500,150");animation:job-run 2.6s ease-in-out infinite alternate}
@keyframes sandbox-flow{to{stroke-dashoffset:-36}}
@keyframes sandbox-pulse{70%{opacity:0;r:52}100%{opacity:0}}
@keyframes job-run{to{offset-distance:100%}}
@media(max-width:1100px){
  .game-play-stage{overflow:auto}
  .sandbox-table{grid-template-columns:1fr;grid-template-rows:auto}
  .sandbox-table-body{grid-template-rows:minmax(320px,52vh)}
  .sandbox-role-rail{grid-column:1;grid-row:auto;flex-direction:row;justify-content:center}
  .role-detail{right:auto;left:0;top:calc(100% + 8px)}
  .sandbox-desk{grid-column:1;max-height:none}
  .sandbox-desk .game-console{grid-template-columns:1fr}
  .desk-viz{border-left:0;border-top:1px solid var(--g-line)}
  .desk-talk{grid-template-columns:1fr 1fr}
  .sandbox-map-scores{grid-template-columns:1fr 1fr}
}
.game-play-bar{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--g-line);background:#fff}
.game-play-bar small{display:block;color:var(--g-blue);font-size:10px;letter-spacing:.1em;font-weight:800}
.game-play-bar h1{margin:2px 0 0;font-size:20px}
.game-play-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.game-play-actions span{max-width:220px;font-size:12px}
.game-play-actions button{height:34px;padding:0 12px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-weight:700;cursor:pointer}
.game-play-actions button.active,.game-play-actions button.gold{border-color:var(--g-warm);background:#fff6e8;color:#a56300}
.game-play-loading{padding:40px;color:var(--g-muted)}
.game-play-steps{display:flex;gap:8px;margin:0 0 10px;padding:0;list-style:none}
.game-play-steps li{padding:4px 8px;border-radius:999px;background:#eef5fa;color:#7a98ad;font-size:11px;font-weight:700}
.game-play-steps li.active{background:#e7f4fc;color:#0a7ec2}
.game-play-steps li.done{background:#eaf7f0;color:#16885c}
.game-stage-compact{grid-template-columns:1fr}
.game-seat.is-compact{min-height:0;padding:12px}
.game-lower.is-compact{grid-template-columns:minmax(0,1.4fr) minmax(240px,.7fr)}
.game-console.is-compact{grid-template-columns:220px minmax(0,1fr)}
.sandbox-desk .game-console.is-compact{grid-template-columns:210px minmax(320px,1.05fr) minmax(340px,1fr)}
@media(max-width:1100px){
  .game-play-shell{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 72px)}
  .sandbox-chat-panel{border-right:0;border-bottom:1px solid var(--g-line);max-height:42vh}
  .game-lower.is-compact,.sandbox-desk .game-console.is-compact{grid-template-columns:1fr}
}

/* 沙盘首屏：五省地图 + 行业角色入口 */
.game-entry{height:calc(100vh - 72px);min-height:720px;display:grid;grid-template-rows:minmax(420px,1fr) auto;background:#eef8fd;scroll-margin-top:0}
.game-two-screen{height:100vh;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;scroll-snap-type:y mandatory;overscroll-behavior-y:contain}
.game-entry-screen,#game-workspace.game-play-shell{scroll-snap-align:start;scroll-snap-stop:always}
.game-entry-screen{height:100vh;min-height:720px;overflow:hidden;background:#eef8fd}
.game-entry-map{position:relative;min-height:0;margin:14px 22px 0;overflow:hidden;border:1px solid #bcddeb;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#f4fbff,#e7f5fa);box-shadow:0 16px 36px rgba(8,83,126,.1)}
.game-entry-map .map-shell-canvas-wrap{height:100%;min-height:0!important;border:0;border-radius:0;background:transparent}
.game-entry-map .map-shell-echarts{height:100%!important;min-height:430px}
.game-entry-map-head{position:absolute;z-index:4;top:22px;left:26px;right:26px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}
.game-entry-map-head span{display:block;color:#0a7ec2;font-size:11px;font-weight:800;letter-spacing:.12em}
.game-entry-map-head strong{display:block;margin-top:4px;font-size:22px;color:#083b63}
.game-entry-map-head p{margin:2px 0 0;color:#5d7f98;font-size:12px}
.game-entry-map-legend{position:absolute;z-index:4;right:24px;bottom:18px;display:flex;gap:8px;padding:7px 9px;border:1px solid rgba(185,217,234,.86);border-radius:999px;background:rgba(255,255,255,.88);box-shadow:0 8px 20px rgba(7,91,151,.08);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.game-entry-map-legend span{display:flex;align-items:center;gap:5px;color:#466c85;font-size:11px;font-weight:700}
.game-entry-map-legend i{width:8px;height:8px;border-radius:50%;background:#f4a03d}
.game-entry-map-legend i.is-compute{background:#18a6a5}.game-entry-map-legend i.is-power{background:#1885c2}.game-entry-map-legend i.is-network{background:#765dd3}
.game-entry-actions{position:relative;z-index:5;margin:0 22px 12px;padding:10px 28px 12px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;justify-items:center;align-content:center;grid-gap:10px;gap:10px;border:1px solid #bcddeb;border-top-color:#d8eaf3;border-radius:0 0 16px 16px;background:rgba(255,255,255,.96);box-shadow:0 18px 36px rgba(8,83,126,.1)}
/* 场景事实卡：市场 / 技术 / 政策 / 用能，弱化的参考信息条 */
.game-entry-facts{grid-column:1;grid-row:1;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}
.game-entry-fact{position:relative;overflow:hidden;padding:9px 13px 8px;border:1px solid #d2e5ef;border-radius:10px;background:linear-gradient(145deg,#fff,#f3f9fc);box-shadow:0 7px 16px rgba(8,83,126,.06)}
.game-entry-fact:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#168ccc;opacity:.7}
.game-entry-fact.is-tech:before{background:#11a6a0}
.game-entry-fact.is-policy:before{background:#7659d8}
.game-entry-fact.is-energy:before{background:#2eaa81}
.game-entry-fact>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.game-entry-fact>header>span{padding:2px 6px;border-radius:999px;background:#e8f3f9;color:#66869a;font-size:8px;font-weight:700;white-space:nowrap}
.game-entry-fact h3{display:flex;align-items:center;gap:6px;margin:0;color:#315f7e;font-size:11px;font-weight:800}
.game-entry-fact h3:after{content:"";width:5px;height:5px;border-radius:50%;background:#168ccc;opacity:.7}
.game-entry-fact.is-tech h3:after{background:#11a6a0}
.game-entry-fact.is-policy h3:after{background:#7659d8}
.game-entry-fact.is-energy h3:after{background:#2eaa81}
.game-entry-fact dl{display:grid;grid-gap:0;gap:0;margin:0}
.game-entry-fact dl>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-top:1px solid #e5eff4}
.game-entry-fact dt{min-width:0;color:#496f87;font-size:10px;font-weight:700}.game-entry-fact dt small{display:block;margin-top:1px;color:#91a6b4;font-size:8px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-entry-fact dd{flex:none;margin:0;color:#0a4f7d;font-size:11px;font-weight:800}
.game-entry-fact footer{margin-top:3px;color:#8aa1b0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-entry-bottom{grid-column:1;grid-row:2;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-gap:18px;gap:18px;align-items:center}
.game-entry-roles-wrap{display:flex;flex-direction:column;gap:8px}
.game-entry-role-title{margin:0;font-size:16px;color:#083b63;font-weight:700}
.game-entry-agenda{margin:8px 0 0;color:#4d738c;font-size:13px;line-height:1.5}
.game-entry-role-title em{font-style:normal;color:#0a7ec2;animation:role-breathe 1.8s ease-in-out infinite}
.game-entry-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}
.game-entry-roles button{min-width:0;padding:10px 16px;display:flex;align-items:center;gap:10px;text-align:left;border:1.5px solid #c8dfeb;border-radius:10px;background:#f9fcfe;color:#083b63;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.game-entry-roles button:hover{border-color:#80bcdc;box-shadow:0 6px 14px rgba(10,126,194,.12)}
.game-entry-roles button.is-selected{border-color:#0a7ec2;background:#edf8fe;box-shadow:inset 0 0 0 1.5px #0a7ec2}
.game-entry-roles button.compute.is-selected{border-color:#11a6a0;background:#edf9f8;box-shadow:inset 0 0 0 1.5px #11a6a0}
.game-entry-roles button.telco.is-selected{border-color:#7659d8;background:#f6f3fd;box-shadow:inset 0 0 0 1.5px #7659d8}
.game-entry-roles button .role-head{display:flex;align-items:center;gap:10px}
.game-entry-roles button .role-head>i{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#e7f4fc;color:#168ccc;font-style:normal;font-size:14px;font-weight:800}
.game-entry-roles button.compute .role-head>i{background:#e7f7f6;color:#11a6a0}
.game-entry-roles button.telco .role-head>i{background:#f3effc;color:#7659d8}
.game-entry-roles button .role-head strong{font-size:15px}
.game-entry-cta{display:flex;flex-direction:column;gap:10px;justify-content:center}
.game-entry-cta button{height:42px;border:1px solid #b8d8eb;border-radius:10px;background:#fff;color:#075b97;font-size:14px;font-weight:800;cursor:pointer}
.game-entry-cta button.primary{background:#0a7ec2;border-color:#0a7ec2;color:#fff;box-shadow:0 8px 18px rgba(10,126,194,.22)}
.game-entry-cta button.primary span{margin-left:6px;font-size:16px}.game-entry-cta button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
#game-workspace{scroll-margin-top:0;animation:workspace-rise .55s ease both}
@keyframes role-breathe{0%,100%{text-shadow:0 0 0 rgba(10,126,194,0);opacity:.72}50%{text-shadow:0 0 16px rgba(10,126,194,.55);opacity:1}}
@keyframes workspace-rise{from{opacity:.55;transform:translateY(18px)}to{opacity:1;transform:none}}
@media(max-width:1180px){.game-entry-actions{grid-template-columns:1fr}.game-entry-facts,.game-entry-role-copy,.game-entry-roles,.game-entry-cta{grid-column:1}.game-entry-facts{grid-row:1}.game-entry-role-copy{grid-row:2}.game-entry-roles{grid-row:3}.game-entry-cta{grid-row:4;grid-template-columns:repeat(2,minmax(180px,240px));justify-content:end}.game-entry-cta small{text-align:right}.game-entry{grid-template-rows:minmax(420px,1fr) auto}}
@media(max-width:760px){.game-entry{min-height:auto;display:block}.game-entry-map{height:55vh;min-height:420px;margin:10px 10px 0}.game-entry-map-head{top:16px;left:16px;right:16px}.game-entry-map-head p{display:none}.game-entry-map-legend{left:12px;right:12px;bottom:12px;justify-content:center;flex-wrap:wrap;border-radius:12px}.game-entry-actions{margin:0 10px 14px;padding:20px;grid-template-columns:1fr;gap:16px}.game-entry-facts{grid-template-columns:1fr 1fr}.game-entry-roles{grid-template-columns:1fr}.game-entry-cta{grid-column:auto;grid-template-columns:1fr 1fr;justify-content:stretch}.game-entry-cta small{text-align:center}}
@media(prefers-reduced-motion:reduce){.game-entry-role-copy h1 em,#game-workspace{animation:none}.game-entry-roles button{transition:none}}

/* 沙盘入口地图沿用“一张图”的完整三栏信息结构。 */
.game-entry-map-layout{min-height:0;margin:14px 22px 0;display:grid;grid-template-columns:250px minmax(560px,1fr) 300px;grid-gap:14px;gap:14px;align-items:stretch}
.game-entry-map-layout>.twin-card{min-width:0;height:100%;margin:0;padding:18px;border:1px solid #bcddeb;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(8,83,126,.08)}
.game-entry-map-layout>.twin-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #d9e8ef}
.game-entry-map-layout>.twin-card>header span{color:#0a7ec2;font-size:11px;font-weight:800}
.game-entry-map-layout>.twin-card>header h2{margin:0;color:#083b63;font-size:20px}
.game-entry-map-layout .game-entry-focus,.game-entry-map-layout .game-entry-detail{display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b9dceb transparent}
.game-entry-map-layout .twin-location-selectors{display:grid;grid-template-columns:1fr 1.35fr;grid-gap:8px;gap:8px;margin-top:12px}.game-entry-map-layout .twin-location-selectors>label{display:grid;grid-gap:6px;gap:6px;color:#5d7f98;font-size:11px;font-weight:700}
.game-entry-map-layout .game-entry-focus select{width:100%;height:34px;padding:0 10px;border:1px solid #bcddeb;border-radius:6px;background:#fff;color:#083b63;font-weight:700}
.game-entry-map-layout .twin-city{margin:12px 0 6px}.game-entry-map-layout .twin-city strong,.game-entry-map-layout .twin-city span{display:block}.game-entry-map-layout .twin-city strong{color:#083b63;font-size:18px}.game-entry-map-layout .twin-city span{margin-top:3px;color:#718da0;font-size:11px}
.game-entry-map-layout .twin-lines{margin:0;padding:0;list-style:none}.game-entry-map-layout .twin-lines li{padding:7px 0;border-top:1px solid #e0ebf1;color:#456b84;font-size:12px}
.game-entry-map-layout fieldset{margin:10px 0 0;padding:8px 14px 6px;border:1px solid #d0e3ed;border-radius:8px}.game-entry-map-layout legend{padding:0 5px;color:#315f7e;font-size:11px;font-weight:800}.game-entry-map-layout .twin-layer{display:flex;align-items:center;gap:9px;margin:0;padding:5px 0;color:#315f7e;font-size:12px;font-weight:700;cursor:pointer}.game-entry-map-layout .twin-layer input{width:15px;height:15px;margin:0;accent-color:#0a7ec2;cursor:pointer}.game-entry-map-layout .twin-layer+.twin-layer{border-top:1px dashed #e6eef3}.game-entry-map-layout .twin-hint{display:none}
.game-entry-map-layout .game-entry-map{position:relative;display:flex;flex-direction:column;overflow:hidden;margin:0;border-radius:14px;background:#f3fbff}
.game-entry-map-layout .game-entry-map .map-shell-canvas-wrap{flex:0 0 auto;height:480px!important;min-height:480px!important;margin-top:10px;border:1px solid #c9e1ec;border-radius:9px;background:#eaf6fb;overflow:hidden}
.game-entry-map-layout .game-entry-map .map-shell-echarts{height:480px!important;min-height:480px!important;width:100%}
.game-entry-map-layout .twin-panorama-button{position:absolute;z-index:5;right:28px;top:72px;height:36px;padding:0 15px;border:1px solid #9ed4ea;border-radius:18px;background:rgba(255,255,255,.94);color:#087bb8;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(8,83,126,.13);transition:.2s ease}.game-entry-map-layout .twin-panorama-button span{margin-right:3px;font-size:14px}.game-entry-map-layout .twin-panorama-button:hover,.game-entry-map-layout .twin-panorama-button.is-active{border-color:#0a8acb;background:#0a8acb;color:#fff;box-shadow:0 8px 22px rgba(10,138,203,.25)}
.game-entry-map-layout .game-entry-map-legend{right:28px;bottom:28px}
.game-entry-map-layout .twin-detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 0 10px;border-bottom:1px solid #dce9ef}.game-entry-map-layout .twin-detail-title p{margin:0;color:#083b63;font-size:16px;font-weight:800}.game-entry-map-layout .twin-detail-title span{display:block;margin-top:3px;color:#718da0;font-size:9px}.game-entry-map-layout .twin-detail-title>b{padding:3px 8px;border:1px solid #bfe3d5;border-radius:999px;background:#f2fbf7;color:#21865f;font-size:9px}
.game-entry-map-layout .twin-node-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;grid-gap:6px;gap:6px;margin:9px 0 0;align-content:start}.game-entry-map-layout .twin-node-kpis>div{position:relative;min-width:0;padding:5px 9px;display:grid;grid-template-columns:1fr auto;grid-template-rows:max-content;align-items:baseline;grid-column-gap:8px;column-gap:8px;border:1px solid #d1e3ec;border-radius:6px;background:#fbfdfe;overflow:hidden;align-self:start;height:auto}.game-entry-map-layout .twin-node-kpis>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#168ccc}.game-entry-map-layout .twin-node-kpis>div.is-purple:before{background:#7659d8}.game-entry-map-layout .twin-node-kpis>div.is-gold:before{background:#e7a126}.game-entry-map-layout .twin-node-kpis>div.is-green:before{background:#2eaa81}.game-entry-map-layout .twin-node-kpis dt{grid-column:1;grid-row:1;color:#5d7f98;font-size:9px;font-weight:700;white-space:nowrap}.game-entry-map-layout .twin-node-kpis dd{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:3px;margin:0;color:#083b63}.game-entry-map-layout .twin-node-kpis dd strong{font-size:15px}.game-entry-map-layout .twin-node-kpis dd em{color:#718da0;font-size:7px;font-style:normal;white-space:nowrap}.game-entry-map-layout .twin-node-kpis dt span{font-size:8px;font-weight:800;margin-left:4px}
.game-entry-map-layout .twin-node-kpis dt span.is-down{color:#d28b1c}
.game-entry-map-layout .twin-node-kpis dt .is-up{color:#21865f}.game-entry-map-layout .twin-detail-updated{margin:auto 0 0;color:#7b93a3;text-align:right;font-size:8px}
.game-entry-map-layout .game-entry-detail{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b9dceb transparent;display:flex;flex-direction:column}
.game-entry-map-layout .twin-detail-title{flex:0 0 auto}
.game-entry-map-layout .twin-node-kpis{flex:0 0 auto}
.game-entry-map-layout .twin-node-kpis-minimal{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.game-entry-map-layout .twin-node-kpis-minimal>div{min-height:0!important;padding:8px 11px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;grid-gap:2px;gap:2px;box-shadow:none;border-radius:7px;background:linear-gradient(145deg,#fff,#f7fbfd)}
.game-entry-map-layout .twin-node-kpis-minimal>div::before{top:8px;bottom:8px}
.game-entry-map-layout .twin-node-kpis-minimal dt{font-size:9px;align-self:auto;display:flex;justify-content:space-between;align-items:center;gap:4px;grid-column:1/-1!important;grid-row:auto!important}
.game-entry-map-layout .twin-node-kpis-minimal dd{grid-column:1/-1!important;grid-row:auto!important;justify-content:flex-start;line-height:1.1}
.game-entry-map-layout .twin-node-kpis-minimal dd strong{font-size:18px}
.game-entry-map-layout .twin-node-kpis-minimal small{grid-column:1/-1!important;grid-row:auto!important;margin-top:2px;padding-top:2px;border-top:1px dashed #e3edf2;display:flex;justify-content:flex-start;align-items:center;gap:5px;font-size:8px;white-space:nowrap;overflow:hidden}
.game-entry-map-layout .twin-node-kpis-minimal small span{font-weight:800}
.game-entry-map-layout .twin-node-kpis-minimal small span.is-up{color:#21865f}
.game-entry-map-layout .twin-node-kpis-minimal small span.is-down{color:#d28b1c}
.game-entry-map-layout .twin-node-kpis-minimal small em{font-style:normal;color:#8aa2b2}
.twin-node-context{margin-top:10px;padding:10px 12px;border-top:2px solid #083b63;border-radius:2px;background:#f7fafc}
.twin-context-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px solid #cddfe8}.twin-context-head strong{color:#083b63;font-size:12px;font-weight:900;letter-spacing:.02em}.twin-context-head span{color:#7a96a7;font-size:8px}
.twin-research-conclusion{margin:8px 0!important;padding:0!important;border:0!important;display:block!important;color:#33586f!important;font-size:9px!important;line-height:1.65}.twin-research-conclusion b{display:inline;margin-right:4px;color:#083b63!important;font-size:9px}
.twin-research-table{display:grid!important;grid-template-columns:1fr 1fr!important;grid-gap:0!important;gap:0!important;margin:8px 0 0!important;border-top:1px solid #d9e7ee;border-left:1px solid #d9e7ee}.twin-research-table>div{display:grid;grid-template-columns:auto 1fr;grid-gap:8px;gap:8px;align-items:baseline;padding:5px 8px!important;border-right:1px solid #d9e7ee;border-bottom:1px solid #d9e7ee;border-radius:0!important;background:#fff!important}.twin-research-table dt{font-size:8px!important;color:#718da0}.twin-research-table dd{margin:0!important;font-size:10px!important;color:#083b63;font-weight:700;text-align:right}
.twin-context-structure{margin-top:9px}.twin-context-structure>span{color:#083b63;font-size:9px;font-weight:800}.twin-context-structure>div{height:6px;display:flex;overflow:hidden;margin:5px 0 3px;border-radius:2px;background:#eef3f6}.twin-context-structure>div i:nth-child(1){background:#168ccc}.twin-context-structure>div i:nth-child(2){background:#11a6a0}.twin-context-structure>div i:nth-child(3){background:#7659d8}.twin-context-structure small{display:flex;gap:10px;color:#6e899b;font-size:8px}
.twin-research-note{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-gap:6px!important;gap:6px!important;margin:8px 0 0!important;padding:6px 0 0!important;border-top:1px solid #d9e7ee!important;color:#59798d!important;font-size:8px!important}.twin-research-note b{color:#083b63!important}.twin-research-note span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-entry-map-layout .game-entry-detail .twin-detail-updated{margin:5px 0 0}
.game-entry-map-layout .game-entry-focus>label{display:grid;grid-gap:6px;gap:6px;margin-top:10px;color:#5d7f98;font-size:11px;font-weight:700}
.game-entry-map-layout .game-entry-year-select{margin-left:auto}
.game-entry-map-layout .game-entry-year-select .twin-map-period{height:32px;padding:0 10px;border:1px solid #bcddeb;border-radius:8px;background:#fff;color:#083b63;font-size:12px;font-weight:700}
/* 色例改左下，右下留给南海诸岛附图 */
.game-entry-map-layout .game-entry-energy-legend{position:absolute;z-index:4;left:18px;right:auto;bottom:18px;display:grid;grid-gap:4px;gap:4px;min-width:132px;padding:8px 10px;border:1px solid rgba(185,217,234,.86);border-radius:10px;background:rgba(255,255,255,.9);box-shadow:0 8px 20px rgba(7,91,151,.08);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.game-entry-map-layout .game-entry-energy-legend.is-surplus .twin-map-legend-bar .is-deficit-deep{background:#9a3412}
.game-entry-map-layout .game-entry-energy-legend.is-surplus .twin-map-legend-bar .is-deficit{background:#ea580c}
.game-entry-map-layout .game-entry-energy-legend.is-surplus .twin-map-legend-bar .is-zero{background:#f8fafc;box-shadow:inset 0 0 0 1px #dbe3ea}
.game-entry-map-layout .game-entry-energy-legend.is-surplus .twin-map-legend-bar .is-surplus-mid{background:#0284c7}
.game-entry-map-layout .game-entry-energy-legend.is-surplus .twin-map-legend-bar .is-surplus-deep{background:#0c4a6e}
.game-entry-map-layout .game-entry-energy-legend .twin-map-legend-ends.is-surplus-ends{justify-content:center}
.game-entry-map-layout .game-entry-energy-legend .twin-map-legend-ends.is-surplus-ends span{color:#3d6480;font-weight:800}
.game-entry-map-layout .game-entry-energy-kpis{grid-template-columns:1fr!important;gap:8px!important;margin-top:12px}
.game-entry-map-layout .game-entry-energy-kpis>div{min-height:72px!important}
.game-entry-map-layout .game-entry-energy-kpis dd strong{font-size:22px}
.game-entry-map-layout .game-entry-detail .twin-detail-title>b{max-width:46%;font-size:11px;line-height:1.25;text-align:right;white-space:normal}
@media(max-width:1250px){.game-entry-map-layout{grid-template-columns:220px minmax(480px,1fr) 270px}.game-entry-map-layout>.twin-card{padding:14px}.game-entry-map-layout .twin-node-kpis dd strong{font-size:19px}}
@media(max-width:980px){.game-entry{display:block}.game-entry-map-layout{grid-template-columns:220px minmax(0,1fr);min-height:620px}.game-entry-map-layout .game-entry-detail{grid-column:1/-1;min-height:280px}.game-entry-map-layout .game-entry-energy-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-entry-actions{margin-top:14px}}
@media(max-width:760px){.game-entry-map-layout{display:grid;grid-template-columns:1fr;min-height:0;margin:10px}.game-entry-map-layout .game-entry-map{grid-row:1;min-height:460px}.game-entry-map-layout .game-entry-focus,.game-entry-map-layout .game-entry-detail{min-height:auto}.game-entry-map-layout .game-entry-detail{grid-column:auto}.game-entry-map-layout .game-entry-energy-kpis{grid-template-columns:1fr!important}.game-entry-actions{margin-top:0}}

/* 三方博弈区：当前业务角色作为左侧主导方。 */
.game-play-stage{overflow:auto}
.sandbox-table{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(420px,58vh) auto;align-content:start;overflow:visible}
.game-role-arena{grid-column:1;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;min-width:0}
.game-role-arena.has-leader{grid-template-columns:minmax(430px,2fr) repeat(2,minmax(240px,1fr))}
.game-role-arena .role-dock{position:relative;width:auto;min-width:0;min-height:500px;border:1px solid var(--g-line);border-top:4px solid var(--g-grid);border-radius:0;background:#fff;overflow:hidden;box-shadow:0 7px 20px rgba(8,59,99,.06)}
.game-role-arena .role-dock.compute{border-top-color:var(--g-compute)}
.game-role-arena .role-dock.telco{border-top-color:var(--g-telco)}
.game-role-arena .role-dock.human{background:#f6fbfe;box-shadow:0 10px 28px rgba(10,126,194,.12)}
.game-role-arena .role-icon{display:none}
.game-role-arena .role-detail{position:static;display:block;width:auto;max-height:none;height:100%;padding:16px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:auto}
.game-role-arena .role-detail>header{padding-bottom:10px;border-bottom:1px solid #dce8ef}
.game-role-arena .role-detail>header h2{font-size:19px}
.game-role-arena .role-detail>header span{color:#6c8799;font-size:10px}
.game-role-arena .seat-occupant{margin:10px 0;padding:7px 8px;border-radius:6px;background:#f4f9fc}
.game-role-arena .human .seat-occupant{background:#e8f5fc}
.game-role-arena .seat-job{min-height:36px}
.game-role-arena .seat-info{padding-top:2px;border-top:1px solid #dce8ef}
.game-role-arena .seat-info ul{padding-left:18px}
.game-role-arena .seat-mail{padding:8px;background:#f7fbfd;border-left-width:3px}
.sandbox-table-body{grid-column:1;grid-row:2;min-height:420px;margin-top:12px}
.sandbox-desk{grid-column:1;grid-row:3;margin-top:12px}
@media(max-width:1180px){.game-role-arena.has-leader{grid-template-columns:minmax(360px,1.6fr) repeat(2,minmax(220px,1fr))}}
@media(max-width:900px){.game-role-arena,.game-role-arena.has-leader{grid-template-columns:1fr}.game-role-arena .role-dock{min-height:0}.sandbox-table{grid-template-rows:auto minmax(420px,55vh) auto}}

/* 进入分析后的纯三方框架：主导方左半屏，其余两方右侧上下排列。 */
#game-workspace.game-play-shell{display:block;width:100%!important;max-width:none!important;height:100vh;min-height:720px;margin:0!important;padding:0!important;background:#edf7fc}
#game-workspace .game-play-stage{width:100%;max-width:1400px;margin:0 auto;height:100%;display:flex;flex-direction:column;padding:0 22px 18px;overflow:hidden}
#game-workspace .game-play-bar{flex:0 0 auto;min-height:72px;padding:13px 24px}
#game-workspace .game-play-bar h1{font-size:21px}
#game-workspace .sandbox-table{flex:1 1;min-height:0;display:flex;flex-direction:column;padding:8px 0 0;overflow:hidden}
#game-workspace .game-role-arena,#game-workspace .game-role-arena.has-leader{flex:1 1;height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr) minmax(280px,320px);grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-gap:14px;gap:14px}
#game-workspace .game-role-arena>.role-dock{width:auto;min-width:0;min-height:0;height:auto}
#game-workspace .game-role-arena>.role-dock:first-child{grid-column:1;grid-row:1/3}
#game-workspace .game-role-arena>.role-dock:nth-child(2){grid-column:2;grid-row:1}
#game-workspace .game-role-arena>.role-dock:nth-child(3){grid-column:2;grid-row:2}
#game-workspace .game-role-arena .role-detail{height:100%;padding:20px 22px}
#game-workspace .game-role-arena>.role-dock:first-child .role-detail{padding:26px 28px}
#game-workspace .game-role-arena>.role-dock:first-child .role-detail>header h2{font-size:26px}
#game-workspace .game-role-arena>.role-dock:not(:first-child) .role-detail{padding:15px 18px}
#game-workspace .game-role-arena>.role-dock:not(:first-child) .role-detail>header h2{font-size:18px}
#game-workspace .game-role-arena>.role-dock:not(:first-child) .seat-job{min-height:0;margin:7px 0}
#game-workspace .game-role-arena>.role-dock:not(:first-child) .seat-stats{margin:8px 0}
@media(max-width:900px){.game-two-screen{height:auto;overflow:visible;scroll-snap-type:none}.game-entry-screen{height:auto;min-height:0;overflow:visible}.game-entry-screen,#game-workspace.game-play-shell{scroll-snap-align:none}#game-workspace.game-play-shell{height:auto;min-height:calc(100vh - 72px)}#game-workspace .game-play-stage{overflow:visible}#game-workspace .sandbox-table{overflow:visible}#game-workspace .game-role-arena,#game-workspace .game-role-arena.has-leader{height:auto;grid-template-columns:1fr;grid-template-rows:auto}#game-workspace .game-role-arena>.role-dock:first-child,#game-workspace .game-role-arena>.role-dock:nth-child(2),#game-workspace .game-role-arena>.role-dock:nth-child(3){grid-column:1;grid-row:auto;min-height:320px}}

/* 会议式三方智能体面板。 */
.negotiation-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #c7dfea;border-top:4px solid var(--g-grid);border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(8,59,99,.07)}
.negotiation-panel.compute{border-top-color:var(--g-compute)}.negotiation-panel.telco{border-top-color:var(--g-telco)}
.negotiation-panel.is-leader{background:linear-gradient(180deg,#fff 0,#f8fcff 100%);box-shadow:0 12px 30px rgba(10,126,194,.13)}
.negotiation-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dbe9f0}
.negotiation-head>div{display:flex;align-items:center;gap:10px;min-width:0}.negotiation-head i{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e8f5fc;color:var(--g-grid);font-style:normal;font-weight:900}.negotiation-panel.compute .negotiation-head i{background:#e8f8f6;color:var(--g-compute)}.negotiation-panel.telco .negotiation-head i{background:#f2eefc;color:var(--g-telco)}
.negotiation-head small,.negotiation-head h2{display:block}.negotiation-head small{color:#7b94a4;font-size:9px;letter-spacing:.08em}.negotiation-head h2{margin:1px 0 0;color:#083b63;font-size:18px}.negotiation-head>b{padding:5px 9px;border-radius:999px;background:#eaf7f0;color:#21865f;font-size:9px;white-space:nowrap}
.negotiation-config{flex:none;display:grid;grid-template-columns:1fr 1fr;grid-gap:8px 10px;gap:8px 10px;padding:11px 14px;border-bottom:1px solid #dce9ef;background:#f8fbfd}.negotiation-config label{display:grid;grid-gap:4px;gap:4px;min-width:0}.negotiation-config label>span{color:#315c78;font-size:10px;font-weight:800}.negotiation-config label>span em{margin-left:4px;color:#d17624;font-size:8px;font-style:normal}.negotiation-config label>span small{margin-left:4px;color:#839aa8;font-size:8px;font-weight:500}.negotiation-config select,.negotiation-config input{width:100%;height:32px;padding:0 9px;border:1px solid #c8dde8;border-radius:6px;background:#fff;color:#164d6d;font-size:10px;outline:none}.negotiation-config .is-wide{grid-column:1/-1}.negotiation-config>p{grid-column:1/-1;margin:0;color:#7991a1;font-size:8px}
.negotiation-dialog{flex:1 1;min-height:0;display:flex;flex-direction:column;padding:11px 14px 12px}.negotiation-dialog>header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.negotiation-dialog>header span,.negotiation-dialog>header small{display:block}.negotiation-dialog>header span{color:#123f61;font-size:12px;font-weight:900}.negotiation-dialog>header small{margin-top:2px;color:#7892a3;font-size:8px}.negotiation-dialog>header button{height:28px;padding:0 9px;border:1px solid #efb064;border-radius:6px;background:#fff8ed;color:#a86813;font-size:9px;font-weight:800;cursor:pointer}.negotiation-dialog>header button.is-resume{border-color:#87cdb7;background:#effaf6;color:#19815f}
.negotiation-rounds{flex:1 1;min-height:120px;overflow:auto;display:grid;align-content:start;grid-gap:8px;gap:8px;padding-right:3px}.negotiation-rounds details{border:1px solid #cfe1ea;border-radius:8px;background:#fbfdfe}.negotiation-rounds summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;cursor:pointer;list-style:none}.negotiation-rounds summary span{color:#164d6d;font-size:11px;font-weight:900}.negotiation-rounds summary b{color:#23865f;font-size:9px;white-space:nowrap}.negotiation-rounds details>div{padding:10px 11px;border-top:1px solid #e3edf2}.negotiation-round-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:9px;gap:9px}.negotiation-round-layout.output-only{grid-template-columns:1fr}.negotiation-round-layout>section{min-width:0;padding:9px;border-radius:6px}.negotiation-round-layout.output-only .round-output{padding:12px 14px}.round-output{border-left:3px solid #138ccb;background:#eef8fd}.round-analysis{background:#f3f7f9}.negotiation-round-layout small{display:block;margin-bottom:6px;color:#0e79b1;font-size:9px;font-weight:900;letter-spacing:.04em}.round-analysis small{color:#708998}.negotiation-rounds p{margin:0;color:#294f68;font-size:11px;line-height:1.65}.round-analysis ol{margin:0;padding-left:17px;color:#536d7d;font-size:9px;line-height:1.55}.round-analysis li+li{margin-top:4px}.negotiation-rounds details button{grid-column:1/-1;justify-self:end;height:26px;padding:0 9px;border:1px solid #c7dce8;border-radius:5px;background:#fff;color:#0a75ad;font-size:9px;cursor:pointer}
.negotiation-composer{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:7px;gap:7px;align-items:stretch;margin-top:auto;padding:7px;border:1px solid #bfd9e7;border-radius:8px;background:#fff;box-shadow:0 -6px 18px rgba(20,91,130,.06)}.negotiation-composer.is-paused{border-color:#e6ac5f;background:#fffaf2}.negotiation-composer textarea{box-sizing:border-box;width:100%;height:56px;min-height:56px;padding:8px 10px;border:0;background:transparent;color:#164d6d;font-size:13px;line-height:1.5;resize:vertical;outline:none}.negotiation-composer button{align-self:stretch;width:42px;min-width:42px;padding:0;border:0;border-radius:6px;background:#087cc0;color:#fff;font-size:21px;font-weight:800;line-height:1;cursor:pointer}.negotiation-composer button:disabled{opacity:.4;cursor:not-allowed}
#game-workspace .game-role-arena>.negotiation-panel:first-child{grid-column:1;grid-row:1/3}#game-workspace .game-role-arena>.negotiation-panel:nth-child(2){grid-column:2;grid-row:1}#game-workspace .game-role-arena>.negotiation-panel:nth-child(3){grid-column:2;grid-row:2}
#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-head{padding:18px 20px}#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-head h2{font-size:24px}#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-config{padding:14px 18px}#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-dialog{padding:14px 18px 16px}#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-composer textarea{height:42px;min-height:42px}
#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-config{padding:8px 11px;gap:6px}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-config .is-wide{display:none}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-config>p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-dialog{padding:8px 11px}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-round-layout{grid-template-columns:1fr}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-composer textarea{height:38px;min-height:38px}
.negotiation-public{grid-column:3;grid-row:1/3;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #c7dfea;border-top:4px solid #e5a13b;border-radius:10px;background:#fffaf1;box-shadow:0 8px 24px rgba(8,59,99,.06)}
.negotiation-public>header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 14px 11px;border-bottom:1px solid #ecdcbf}.negotiation-public>header small{display:block;color:#c17a19;font-size:9px;letter-spacing:.12em;font-weight:900}.negotiation-public>header h2{margin:2px 0 0;color:#6f4b15;font-size:21px}.negotiation-public>header>b{padding:4px 7px;border-radius:999px;background:#fff;color:#a66a16;font-size:10px}.public-board-note{flex:none;margin:0;padding:10px 13px;color:#8a704a;font-size:11px;line-height:1.55;background:#fff5e3}.negotiation-public>ol{flex:1 1;min-height:0;overflow:auto;display:grid;align-content:start;grid-gap:10px;gap:10px;margin:0;padding:11px;list-style:none;overscroll-behavior:contain}.negotiation-public li{padding:11px;border:1px solid #ead9bc;border-left:3px solid var(--g-grid);border-radius:7px;background:#fff}.negotiation-public li.compute{border-left-color:var(--g-compute)}.negotiation-public li.telco{border-left-color:var(--g-telco)}.negotiation-public li>div{display:flex;align-items:center;gap:8px}.negotiation-public li i{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#e9f5fc;color:var(--g-grid);font-style:normal;font-size:12px;font-weight:900}.negotiation-public li.compute i{background:#e8f8f6;color:var(--g-compute)}.negotiation-public li.telco i{background:#f2eefc;color:var(--g-telco)}.negotiation-public li strong,.negotiation-public li small{display:block}.negotiation-public li strong{color:#164d6d;font-size:13px}.negotiation-public li small{color:#8799a4;font-size:10px}.negotiation-public li p{margin:8px 0 0;color:#405f74;font-size:12px;line-height:1.65}
.public-final-card{flex:none;margin:0 10px 10px;padding:10px;border:1px solid #dfc390;border-radius:8px;background:#fff;box-shadow:0 6px 18px rgba(133,85,16,.08)}.public-final-card>header{display:flex;align-items:center;justify-content:space-between}.public-final-card>header span{color:#17865f;font-size:8px;font-weight:900;letter-spacing:.12em}.public-final-card>header strong{color:#6f4b15;font-size:11px}.public-final-card>ol{margin:8px 0 0;padding-left:17px;color:#5d6f78;font-size:8px;line-height:1.45}.public-final-card>ol li+li{margin-top:3px}.public-final-card details{margin-top:8px;border-top:1px solid #efe0c6;padding-top:7px}.public-final-card summary{color:#987022;font-size:8px;font-weight:800;cursor:pointer}.public-final-card ul{margin:7px 0 0;padding:0;list-style:none}.public-final-card ul li{display:flex;gap:4px;justify-content:space-between;padding:4px 0!important;border:0!important;border-bottom:1px dashed #eee0c9!important;border-radius:0!important;color:#63747d;font-size:8px;line-height:1.35}.public-final-card ul b{color:#17865f}.public-final-card>button{width:100%;height:30px;margin-top:8px;border:0;border-radius:6px;background:#16865f;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
@media(max-width:1250px){#game-workspace .game-role-arena,#game-workspace .game-role-arena.has-leader{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr) 250px}}
@media(max-width:900px){#game-workspace .game-role-arena>.negotiation-panel:first-child,#game-workspace .game-role-arena>.negotiation-panel:nth-child(2),#game-workspace .game-role-arena>.negotiation-panel:nth-child(3){grid-column:1;grid-row:auto;min-height:620px}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-config .is-wide{display:grid}#game-workspace .game-role-arena>.negotiation-panel:not(:first-child) .negotiation-rounds details:nth-of-type(n+2){display:block}.negotiation-public{grid-column:1;grid-row:auto;min-height:520px}}

/* 演示协商：空态 / 思考中 / 待生成占位 */
.negotiation-empty{margin:6px 0;padding:14px 16px;border:1px dashed #c3d9e6;border-radius:10px;background:#f7fbfe;color:#5d7f98;font-size:12px;line-height:1.6;text-align:left}
.negotiation-empty p{margin:0 0 4px}
.negotiation-empty ol{margin:4px 0 0;padding-left:20px}
.empty-guide-title{font-size:12px;font-weight:700;color:#3d6b88;margin-bottom:10px!important}
.empty-guide-items{display:flex;flex-direction:column;gap:8px}
.empty-guide-item{display:flex;align-items:flex-start;gap:10px}
.empty-guide-item i{flex:none;width:22px;height:22px;border-radius:50%;background:#e0eff8;color:#0a7ec2;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;font-style:normal}
.empty-guide-item b{display:block;font-size:12px;color:#2d5a7a;font-weight:700;margin-bottom:1px}
.empty-guide-item small{font-size:10.5px;color:#7a9aac;line-height:1.5}
.round-analysis-actions{display:flex;gap:6px;align-items:center}
.round-public{padding:2px 8px;border:1px solid #c3d9e6;border-radius:6px;background:#fff;color:#5d7f98;font-size:10px;cursor:pointer;line-height:1.4}
.round-public:hover{background:#f0f8fd;border-color:#0a7ec2;color:#0a7ec2}
.round-public.is-on{background:#0a7ec2;color:#fff;border-color:#0a7ec2}
.paused-notice{margin:6px 0;padding:8px 12px;border-radius:8px;background:#fff7e6;border:1px solid #f0d8a8;color:#9a6b1a;font-size:11px;text-align:center;font-weight:600}
/* 暂停方的直接继续入口：不必再发新内容 */
.paused-resume{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 6px;padding:6px 8px 6px 10px;border-radius:8px;background:#eef8ee;border:1px solid #bfe0c0;color:#2f6b34;font-size:11.5px;font-weight:600}
.paused-resume button{flex:none;height:26px;padding:0 12px;border:1px solid #3f9a4a;border-radius:7px;background:#3f9a4a;color:#fff;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}
.paused-resume button:hover{background:#358240;border-color:#358240}
.paused-resume button:disabled{background:#cfe3d0;border-color:#cfe3d0;color:#6d8f70;cursor:default}
.negotiation-user-msg{margin:8px 0;display:flex;justify-content:flex-start}
.n-user-bubble{max-width:92%;padding:9px 12px;border:1px solid #c7dce8;border-radius:10px 10px 10px 2px;background:#eef7fd;box-shadow:0 3px 10px rgba(8,83,126,.06)}
.n-user-bubble p{margin:0 0 4px;font-size:11px;line-height:1.6;color:#315f7e}
.n-user-bubble p:last-child{margin:0}
.n-user-bubble b{color:#083b63}
.negotiation-scene{margin:8px 0;padding:10px 12px;border-left:3px solid #0a7ec2;border-radius:6px;background:#f0f8fd;font-size:11px;line-height:1.65;color:#3d6b88}
.negotiation-rounds details.is-active{border-color:#f0aa3b;background:#fffaf0;box-shadow:0 0 0 1px #f6d9a8 inset}
.negotiation-rounds details.is-active summary b{color:#a86813}
.round-output.is-pending{margin:0;color:#9bb4c4;font-style:italic}
.round-analysis ol li.is-cursor{color:#c8902e;font-weight:700;list-style:none;margin-left:-12px;animation:cursor-blink 1s steps(2) infinite}
.round-analysis-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.round-analysis-head small{margin:0}
.round-toggle{height:22px;padding:0 8px;border:1px solid #c7dce8;border-radius:5px;background:#fff;color:#0a75ad;font-size:9px;cursor:pointer}
.round-analysis-hint{margin:0;color:#9bb4c4;font-size:10px;font-style:italic}
@keyframes cursor-blink{50%{opacity:.35}}
.negotiation-head b.is-thinking{background:#fff3dc;color:#a86813;animation:cursor-blink 1.2s ease-in-out infinite}
.negotiation-public li.is-empty{border-style:dashed;border-left-color:#c9dce8;background:transparent;color:#8aa3b3;font-size:10px;line-height:1.6}
.public-wait{flex:none;margin:0;padding:9px 13px;border-top:1px solid #ecdcbf;color:#a8895a;font-size:10px;line-height:1.5;text-align:center}
.negotiation-composer textarea:disabled{background:#f3f6f8;color:#9bb4c4}
.public-final-card>button:disabled{opacity:.6;cursor:wait}

/* ===== 推理成果栏（替代公开栏）：历史规律 / 博弈方案 / 再推理 / 报告 ===== */
#game-workspace .game-role-arena,#game-workspace .game-role-arena.has-leader{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(360px,410px)}
.negotiation-research{grid-column:3;grid-row:1/3;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #c7dfea;border-top:4px solid #0a7ec2;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(8,59,99,.07)}
.negotiation-research>header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px 10px;border-bottom:1px solid #dce9ef}
.negotiation-research>header small{display:block;color:#0a7ec2;font-size:9px;letter-spacing:.14em;font-weight:900}
.negotiation-research>header h2{margin:2px 0 0;color:#083b63;font-size:19px}
.negotiation-research>header>b{padding:4px 8px;border-radius:999px;background:#eaf6fd;color:#0a7ec2;font-size:10px;font-weight:800}
.research-tabs{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px;padding:8px 10px 0;border-bottom:1px solid #e4eef3;background:#f7fbfe}
.research-tabs button{height:30px;border:1px solid transparent;border-radius:7px 7px 0 0;background:transparent;color:#5d7f98;font-size:12px;font-weight:800;cursor:pointer}
.research-tabs button.is-active{border-color:#d5e8f2;border-bottom-color:#fff;background:#fff;color:#0a7ec2}
.research-body{flex:1 1;min-height:0;overflow:auto;padding:12px 12px 14px;overscroll-behavior:contain}
/* ⓪ 需求引导 */
.guide-panel>header{margin-bottom:10px}
.guide-panel>header h3{margin:0;color:#083b63;font-size:14px}
.guide-panel>header small{display:block;margin-top:3px;color:#8aa3b3;font-size:10px;line-height:1.5}
.guide-panel section{margin-bottom:12px}
.guide-panel h4{margin:0 0 6px;color:#0a7ec2;font-size:11px;font-weight:800}
.guide-panel .guide-chips{display:flex;flex-wrap:wrap;gap:6px}
.guide-panel .guide-chips button{padding:5px 11px;border:1px solid #d4e6ef;border-radius:999px;background:#fff;color:#466c85;font-size:11px;font-weight:700;cursor:pointer;transition:all .15s}
.guide-panel .guide-chips button:hover{border-color:#80bcdc;color:#0a7ec2}
.guide-panel .guide-chips button.is-on{background:#0a7ec2;border-color:#0a7ec2;color:#fff}
.guide-panel input{width:100%;height:34px;padding:0 10px;border:1px solid #c8dde8;border-radius:7px;background:#fff;color:#164d6d;font-size:12px;outline:none;box-sizing:border-box}
.guide-panel input:focus{border-color:#0a7ec2}
.guide-panel input.guide-extra{margin-top:6px;height:30px;font-size:11px;color:#466c85}
.guide-panel .guide-generate{width:100%;height:36px;margin-top:4px;border:1px solid #0a7ec2;border-radius:8px;background:#fff;color:#0a7ec2;font-size:12px;font-weight:800;cursor:pointer}
.guide-panel .guide-generate:disabled{border-color:#c8dde8;color:#9db6c6;cursor:not-allowed}
.guide-panel .generated-question{margin-top:12px;padding:10px 12px;border:1px solid #cfe4f0;border-left:3px solid #0a7ec2;border-radius:0 8px 8px 0;background:#f2f9fd}
.guide-panel .generated-question>small{display:block;color:#0a7ec2;font-size:10px;font-weight:800;margin-bottom:5px}
.guide-panel .generated-question p{margin:0;color:#2f5c78;font-size:12px;line-height:1.65}
.guide-panel .generated-question .guide-start{width:100%;height:34px;margin-top:10px;border:0;border-radius:7px;background:#0a7ec2;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.guide-panel .guide-start{width:100%;height:38px;margin-top:4px;border:0;border-radius:8px;background:#0a7ec2;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.guide-panel .guide-start:disabled{background:#b8d4e6;cursor:not-allowed}
.guide-panel .guide-hint{display:block;margin-top:8px;color:#8aa3b3;text-align:center;font-size:10px}
/* ① 历史规律 */
.trend-panel>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.trend-panel>header h3{margin:0;color:#083b63;font-size:13px}
.trend-panel>header small{color:#8aa3b3;font-size:9px}
.trend-chart{padding:8px 8px 4px;border:1px solid #ddeaf1;border-radius:10px;background:linear-gradient(180deg,#fbfdff,#f2f9fd)}
.trend-legend{display:flex;gap:12px;padding:4px 2px 0;color:#466c85;font-size:10px;font-weight:700}
.trend-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}
.trend-stats{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;margin:10px 0 0}
.trend-stats>div{padding:10px 8px 8px;border:1px solid #ddeaf1;border-radius:9px;background:#fbfdff}
.trend-stats dt{color:#5d7f98;font-size:9px;font-weight:800}
.trend-stats dd{margin:2px 0 0;color:#083b63;font-size:17px;font-weight:900}
.trend-stats dd small{display:block;margin-top:2px;color:#8aa3b3;font-size:8px;font-weight:600}
.trend-note{margin:10px 0 0;padding:9px 11px;border-left:3px solid #0a7ec2;border-radius:0 7px 7px 0;background:#eef7fc;color:#2f5c78;font-size:11px;line-height:1.6}
/* ② 博弈方案 */
.plan-feed{margin-bottom:10px}
.plan-feed>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.plan-feed h3{margin:0;color:#083b63;font-size:13px}
.plan-feed>header>b{padding:2px 7px;border-radius:999px;background:#eaf6fd;color:#0a7ec2;font-size:9px;font-weight:800}
.plan-feed ol{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}
.plan-feed li{display:grid;grid-template-columns:22px minmax(0,1fr);grid-gap:6px;gap:6px;padding:8px;border:1px solid #e0ebf1;border-radius:8px;background:#fbfdfe}
.plan-feed li.is-empty{display:block;border-style:dashed;color:#8aa3b3;font-size:10px;line-height:1.6}
.plan-feed li>i{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#e9f5fc;color:#168ccc;font-style:normal;font-size:10px;font-weight:900}
.plan-feed li.compute>i{background:#e8f8f6;color:#11a6a0}.plan-feed li.telco>i{background:#f2eefc;color:#7659d8}
.plan-feed strong,.plan-feed small{display:block}
.plan-feed strong{color:#164d6d;font-size:11px}
.plan-feed small{color:#8799a4;font-size:8px}
.plan-feed li p{grid-column:1/-1;margin:3px 0 0;color:#405f74;font-size:10px;line-height:1.5}
.plan-cards>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:10px 0 8px}
.plan-cards h3{margin:0;color:#083b63;font-size:13px}
.plan-cards>header small{color:#8aa3b3;font-size:9px}
.plan-card{position:relative;overflow:hidden;padding:12px 13px 11px;margin-bottom:10px;border:1px solid #d5e6ef;border-left:4px solid var(--g-grid);border-radius:10px;background:#fff}
.plan-card.is-compute{border-left-color:var(--g-compute)}.plan-card.is-telco{border-left-color:var(--g-telco)}
.plan-card h4{margin:0;color:#083b63;font-size:14px}
.plan-tagline{margin:4px 0 9px;color:#5d7f98;font-size:11px;line-height:1.5}
.plan-conditions{display:grid;grid-gap:5px;gap:5px;margin:0;padding:0;list-style:none}
.plan-conditions li{display:flex;gap:7px;align-items:flex-start;padding:6px 8px;border-radius:7px;background:#f7fbfd;color:#405f74;font-size:11px;line-height:1.5}
.plan-conditions li b{flex:none;padding:1px 6px;border-radius:999px;font-size:9px;font-weight:800}
.plan-conditions li.is-ready b{background:#e3f5ee;color:#1f8a5f}
.plan-conditions li.is-risk b{background:#fdf1e2;color:#b0751d}
.plan-conditions li.is-missing b{background:#fbe9e4;color:#b4523a}
.plan-consensus{margin-top:14px;padding:14px 16px;border:2px solid #e5a13b;border-radius:12px;background:linear-gradient(135deg,#fff8e6,#fff3d6);box-shadow:0 0 0 3px rgba(229,161,59,.18),0 10px 24px rgba(229,161,59,.2);animation:consensus-glow 2.2s ease-in-out infinite}
@keyframes consensus-glow{0%,100%{box-shadow:0 0 0 3px rgba(229,161,59,.18),0 10px 24px rgba(229,161,59,.2)}50%{box-shadow:0 0 0 6px rgba(229,161,59,.28),0 14px 30px rgba(229,161,59,.32)}}
.plan-consensus>header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.plan-consensus>header span{padding:3px 9px;border-radius:999px;background:#e5a13b;color:#fff;font-size:10px;font-weight:900;letter-spacing:.05em}
.plan-consensus>header strong{color:#6f4b15;font-size:15px}
.plan-consensus ol{margin:0;padding-left:18px;color:#5a4a28;font-size:12px;line-height:1.75}
.plan-consensus details summary{color:#a66a16;font-size:10px;cursor:pointer}
.plan-consensus details ul{margin:6px 0 0;padding-left:18px;color:#6f5a33;font-size:10px;line-height:1.7}
.plan-consensus details li b{color:#21865f}
.plan-jump{display:block;width:100%;margin-bottom:10px;padding:9px;border:1px solid #e5a13b;border-radius:8px;background:#fff8e6;color:#a66a16;font-size:12px;font-weight:800;cursor:pointer;text-align:center}
.plan-jump:hover{background:#fff3d0}
.plan-wait{margin:12px 0 0;padding:9px 11px;border:1px dashed #d5e6ef;border-radius:8px;color:#8aa3b3;font-size:10px;line-height:1.6}
/* ③ 再推理 */
.reprobe-panel .reprobe-tip{margin:0 0 9px;color:#5d7f98;font-size:11px;line-height:1.6}
.reprobe-panel textarea{width:100%;height:64px;padding:9px 10px;border:1px solid #c8dde8;border-radius:8px;background:#fff;color:#164d6d;font-size:12px;line-height:1.5;resize:none;outline:none}
.reprobe-panel textarea:focus{border-color:#0a7ec2}
.reprobe-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.reprobe-actions button{height:34px;padding:0 14px;border:0;border-radius:8px;background:#0a7ec2;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.reprobe-actions button:disabled{opacity:.5;cursor:not-allowed}
.reprobe-badge{color:#8aa3b3;font-size:10px;font-weight:700}
.reprobe-badge.is-on{color:#21865f}
.reprobe-gains{display:grid;grid-gap:6px;gap:6px;margin:12px 0 0;padding:0;list-style:none}
.reprobe-gains li{padding:8px 10px;border:1px solid #e0ebf1;border-radius:8px;background:#fbfdfe;color:#405f74;font-size:11px;line-height:1.55}
.reprobe-gains b{color:#0a7ec2}
/* ④ 报告 */
.report-panel>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.report-panel h3{margin:0;color:#083b63;font-size:13px}
.report-panel>header small{color:#8aa3b3;font-size:9px}
.report-panel section{margin-bottom:10px;padding:9px 11px;border:1px solid #ddeaf1;border-radius:9px;background:#fbfdff}
.report-panel h4{margin:0 0 5px;color:#0a7ec2;font-size:11px}
.report-panel section p{margin:0;color:#405f74;font-size:11px;line-height:1.6}
.report-panel section ul{margin:0;padding-left:16px;color:#405f74;font-size:11px;line-height:1.7}
.report-panel>button{width:100%;height:38px;border:0;border-radius:8px;background:#0a7ec2;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.report-panel>button:disabled{opacity:.6;cursor:wait}
.report-hint{display:block;margin-top:8px;color:#8aa3b3;text-align:center;font-size:9px}
@media(max-width:1250px){#game-workspace .game-role-arena,#game-workspace .game-role-arena.has-leader{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px}}
@media(max-width:900px){.negotiation-research{grid-column:1;grid-row:auto;min-height:560px}}

/* ===== 顶部配置通栏：tab 切换三方 + 该方配置 + 提交/重新开始 ===== */
.game-play-bar-mini{min-height:52px;padding:8px 22px}
.game-play-bar-mini h1{font-size:16px}
.negotiation-topbar{flex:0 0 auto;margin:0 0 12px;padding:12px 14px;border:1px solid #c7dfea;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(8,59,99,.06)}
.negotiation-head-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);grid-gap:14px;gap:14px;align-items:stretch}
.negotiation-left-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.negotiation-right-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.negotiation-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}
.negotiation-tabs button{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #d4e6ef;border-radius:9px;background:#f7fbfe;cursor:pointer;text-align:left;transition:border-color .15s,background .15s}
.negotiation-tabs button i{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#e7f4fc;color:#168ccc;font-style:normal;font-weight:900;font-size:13px}
.negotiation-tabs button.compute i{background:#e7f7f6;color:#11a6a0}
.negotiation-tabs button.telco i{background:#f3effc;color:#7659d8}
.negotiation-tabs button span{display:grid;grid-gap:1px;gap:1px}
.negotiation-tabs button b{font-size:13px;color:#083b63}
.negotiation-tabs button small{color:#7b94a4;font-size:9px;font-weight:600}
.negotiation-tabs button.is-active{border-color:#0a7ec2;background:#eaf6fd;box-shadow:inset 0 0 0 1px #0a7ec2}
.negotiation-tabs button.compute.is-active{border-color:#11a6a0;box-shadow:inset 0 0 0 1px #11a6a0}
.negotiation-tabs button.telco.is-active{border-color:#7659d8;box-shadow:inset 0 0 0 1px #7659d8}
.negotiation-goal-picker{display:grid;grid-gap:5px;gap:5px;padding:8px 12px;border:1px dashed #c8dde8;border-radius:9px;background:#fbfdfe}
.negotiation-goal-picker>small{color:#5d7f98;font-size:10px;font-weight:800;letter-spacing:.04em}
.negotiation-goal-picker .goal-chips{display:flex;flex-wrap:wrap;gap:6px}
.negotiation-goal-picker .goal-chips button{padding:4px 10px;border:1px solid #d4e6ef;border-radius:999px;background:#fff;color:#466c85;font-size:11px;font-weight:700;cursor:pointer;transition:all .15s}
.negotiation-goal-picker .goal-chips button:hover{border-color:#80bcdc;color:#0a7ec2}
.negotiation-goal-picker .goal-chips button.is-on{background:#0a7ec2;border-color:#0a7ec2;color:#fff}
.negotiation-progress{padding:12px 16px;border:1px dashed #c8dde8;border-radius:9px;background:#fbfdfe;display:flex;flex-direction:column;justify-content:center;gap:8px;flex:1 1;min-height:0}
.negotiation-progress>small{color:#5d7f98;font-size:10px;font-weight:800;letter-spacing:.04em}
.negotiation-progress ol{display:flex;align-items:flex-start;margin:0;padding:0;list-style:none}
.negotiation-progress ol li{flex:1 1;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;padding-top:0;font-size:10px;font-weight:700;color:#9db6c6}
.negotiation-progress ol li b{width:24px;height:24px;border-radius:50%;background:#dceaf2;color:#7b93a3;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;position:relative;z-index:1}
.negotiation-progress ol li::after{content:"";position:absolute;left:calc(50% + 16px);right:calc(-50% + 16px);top:12px;height:2px;background:#dceaf2;z-index:0}
.negotiation-progress ol li:last-child::after{display:none}
.negotiation-progress ol li.is-done{color:#21865f}
.negotiation-progress ol li.is-done b{background:#21865f;color:#fff}
.negotiation-progress ol li.is-current{color:#0a7ec2}
.negotiation-progress ol li.is-current b{background:#0a7ec2;color:#fff;box-shadow:0 0 0 3px rgba(10,126,194,.18)}
.negotiation-config-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(140px,1fr) minmax(0,1.3fr) auto auto auto;grid-gap:8px;gap:8px;align-items:end}
.negotiation-config-row label{display:grid;grid-gap:4px;gap:4px}
.negotiation-config-row label>span{color:#315c78;font-size:11px;font-weight:800}
.negotiation-config-row select,.negotiation-config-row input{height:36px;padding:0 10px;border:1px solid #c8dde8;border-radius:7px;background:#fff;color:#164d6d;font-size:12px;outline:none}
.topbar-submit{height:36px;padding:0 18px;border:0;border-radius:7px;background:#0a7ec2;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.topbar-submit:hover{background:#0870ad}
.topbar-restart{height:36px;padding:0 16px;border:1px solid #b8d8eb;border-radius:7px;background:#fff;color:#075b97;font-size:12px;font-weight:700;cursor:pointer}
.topbar-dataprep{height:36px;padding:0 16px;border:1px solid #21865f;border-radius:7px;background:#eafaf3;color:#137a52;font-size:12px;font-weight:700;cursor:pointer}
.topbar-dataprep:hover{background:#d7f2e6}
.db-hint{display:inline;margin-left:4px;font-style:normal;font-size:10px;font-weight:500;color:#21865f;letter-spacing:0}
.data-modal-mask{position:fixed;inset:0;background:rgba(10,40,60,.42);display:flex;align-items:center;justify-content:center;z-index:900}
.data-modal{width:420px;max-width:calc(100vw - 40px);background:#fff;border-radius:14px;padding:20px 22px;box-shadow:0 24px 60px rgba(8,40,70,.28)}
.data-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.data-modal-head strong{font-size:16px;color:#083b63}
.data-modal-close{width:28px;height:28px;border:0;background:transparent;font-size:20px;color:#7b93a3;cursor:pointer;line-height:1}
.data-modal-tip{margin:0 0 14px;color:#5d7f98;font-size:12px;line-height:1.5}
.data-modal-field{display:grid;grid-gap:6px;gap:6px;margin-bottom:12px}
.data-modal-field>span{color:#315c78;font-size:11px;font-weight:800}
.data-modal-field input[type=text]{height:36px;padding:0 10px;border:1px solid #c8dde8;border-radius:7px;font-size:13px;outline:none}
.data-modal-field input[type=file]{font-size:12px;color:#456b84}
.data-file-name{margin-top:2px;color:#137a52;font-size:11px;font-style:normal}
.data-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
@media(max-width:900px){.negotiation-config-row{grid-template-columns:1fr 1fr}.negotiation-config-row .is-wide{grid-column:1/-1}}

/* ===== 对话内容字号放大 ===== */
.negotiation-dialog>header span{font-size:13px}
.negotiation-rounds{font-size:13px}
.negotiation-rounds summary span{font-size:13px}
.negotiation-rounds summary b{font-size:10px}
.negotiation-rounds p{font-size:13px;line-height:1.7}
.round-analysis small{font-size:10px}
.round-analysis ol{font-size:11px;line-height:1.65}
.round-output small{font-size:10px}
.negotiation-rounds details button{font-size:11px;padding:5px 11px}
.negotiation-empty{font-size:13px;padding:20px 14px}
.negotiation-composer textarea{font-size:13px;line-height:1.5}

/* ========== 博弈推演演示页（/game） ========== */
.gd-root{min-height:100vh;background:var(--g-bg)}
.gd-page{max-width:1800px;margin:0 auto;padding:16px 28px 36px}
.gd-hero{display:grid;grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;grid-gap:16px;gap:16px;padding:12px 16px;border:1px solid var(--g-line);border-top:3px solid var(--g-blue);background:#fff}
.gd-scene-picker{display:flex;align-items:center;gap:8px;color:var(--g-muted);font-size:12px}
.gd-scene-picker label{display:grid;grid-gap:4px;gap:4px;font-weight:700}
.gd-scene-picker select{height:34px;border:1px solid #b9d9ec;border-radius:5px;padding:0 8px;background:#fff;color:var(--g-ink);min-width:200px}
.gd-scene-tag{padding:4px 8px;border-radius:4px;background:#eef8fd;color:#0879bd;font-size:11px;font-weight:800}
.gd-title p{margin:0 0 3px;color:var(--g-blue);font-size:10px;letter-spacing:1.8px;font-weight:800}
.gd-title h1{display:inline;margin:0;font-size:22px}
.gd-title span{margin-left:10px;color:var(--g-muted);font-size:13px}
.gd-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.gd-actions span{max-width:260px;color:#23855c;font-size:12px}
.gd-actions span.warn{color:#a56300}
.gd-actions span.ok{color:#16885c}
.gd-actions button,.gd-console button,.gd-seat-actions button,.gd-report-actions button,.gd-calc button{border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-weight:700;padding:7px 10px;cursor:pointer}
.gd-actions button.gold,.gd-console button.gold,.gd-seat-actions button.gold,.gd-seat-picks button.gold,.gd-calc button.gold,.gd-report-actions button.gold{border-color:var(--g-warm);background:#fff6e8;color:#a56300}
.gd-actions button:disabled,.gd-console button:disabled{opacity:.45;cursor:not-allowed}

.gd-timeline{margin-top:12px;padding:11px 14px;border:1px solid var(--g-line);background:#fff}
.gd-timeline>header{display:flex;align-items:center;justify-content:space-between}
.gd-timeline h2,.gd-board h2,.gd-operator h2,.gd-report h2,.gd-seat-gate h2{margin:0;font-size:16px}
.gd-timeline>header span{color:var(--g-muted);font-size:12px}
.gd-timeline-track{display:flex;gap:8px;overflow:auto;padding-top:10px}
.gd-event{flex:0 0 220px;padding:8px 10px;border:1px solid var(--g-line);border-left:3px solid var(--g-grid);background:#fbfdff;font-size:12px;line-height:1.45}
.gd-event.active{background:#e9f7ff}
.gd-event.done{background:#f3fbf7;border-left-color:#16885c}
.gd-event.compute{border-left-color:var(--g-compute)}
.gd-event.telco{border-left-color:var(--g-telco)}
.gd-event b{display:block;margin-bottom:3px}
.gd-event p{margin:0;color:#315c7a}

.gd-seat-gate{margin-top:12px;padding:18px 20px;border:1px solid #f0d7a2;border-top:3px solid var(--g-warm);background:#fff9ee}
.gd-seat-gate p{margin:8px 0 14px;color:#315c7a;font-size:13px;line-height:1.55;max-width:720px}

.gd-stage{display:grid;grid-template-columns:minmax(0,1fr) 292px;grid-gap:12px;gap:12px;margin-top:12px;align-items:stretch}
.gd-dialogs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;min-width:0}
.gd-dialog-col{display:flex;flex-direction:column;min-height:520px;max-height:720px;padding:14px;border:1px solid var(--g-line);border-top:4px solid var(--g-grid);background:#fff;min-width:0}
.gd-dialog-col.compute{border-top-color:var(--g-compute)}
.gd-dialog-col.telco{border-top-color:var(--g-telco)}
.gd-dialog-col.mine{background:#f6fbfe;box-shadow:inset 0 0 0 1px rgba(10,126,194,.18)}
.gd-dialog-col.peer{background:#fafbfd}
.gd-dialog-col.locked{opacity:.72}
.gd-dialog-col.speaking{box-shadow:inset 0 0 0 2px rgba(10,126,194,.28)}
.gd-dialog-col.compute.speaking{box-shadow:inset 0 0 0 2px rgba(17,166,160,.32)}
.gd-dialog-col.telco.speaking{box-shadow:inset 0 0 0 2px rgba(118,89,216,.32)}
.gd-dialog-col>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex:none}
.gd-dialog-col h2{margin:0;font-size:19px}
.gd-dialog-col>header small{display:block;margin-top:3px;color:var(--g-muted);font-size:11px;font-weight:700}
.gd-dialog-col.mine>header small{color:#0a7ec2}
.gd-dialog-col>header>span{color:var(--g-muted);font-size:12px;white-space:nowrap}
.gd-seat-occupant{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:9px 0;font-size:13px;flex:none}
.gd-seat-actions{display:flex;gap:4px}
.gd-seat-actions button{padding:4px 6px;font-size:11px}
.gd-seat-job{margin:0;color:var(--g-muted);font-size:12px;line-height:1.45;flex:none}
.gd-seat-stats{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px;gap:7px;margin:10px 0;flex:none}
.gd-seat-stats>div{padding:7px;background:#eef8fd}
.gd-seat-stats span{display:block;color:var(--g-muted);font-size:11px}
.gd-seat-stats b{display:block;margin-top:3px;font-size:16px}
.gd-seat-info{flex:none;max-height:160px;overflow:auto}
.gd-seat-info h3{margin:8px 0 5px;font-size:13px}
.gd-seat-info ul{margin:0;padding-left:16px;color:#315c7a;font-size:12px;line-height:1.53}
.gd-seat-how{margin:8px 0;color:#9b7300;font-size:12px;line-height:1.45}
.gd-peer-mask{flex:none;padding:10px;border:1px dashed #c9d7e4;background:#f3f5f8;margin:4px 0 8px}
.gd-peer-mask>p{margin:0 0 8px;color:#7a98ad;font-size:12px;line-height:1.45}
.gd-peer-mask .gd-seat-stats{margin:0}
.gd-col-dialog{flex:1 1;min-height:0;display:flex;flex-direction:column;margin-top:8px;border-top:1px solid var(--g-line);padding-top:8px}
.gd-col-dialog h3{margin:0 0 8px;font-size:13px;color:var(--g-ink);flex:none}
.gd-col-stream{flex:1 1;min-height:140px;overflow:auto;display:grid;grid-gap:8px;gap:8px;align-content:start;padding-right:2px}
.gd-col-stream .muted{color:var(--g-muted);font-size:12px;margin:0}
.gd-bubble{padding:10px 12px;border:1px solid #d5e8f4;border-left:4px solid var(--g-grid);border-radius:0 8px 8px 0;background:#f7fbfe}
.gd-bubble.role-compute{border-left-color:var(--g-compute);background:#f3fbfa}
.gd-bubble.role-telco{border-left-color:var(--g-telco);background:#f8f6ff}
.gd-bubble.role-system,.gd-bubble.kind-consensus{border-left-color:#16885c;background:#effaf5}
.gd-bubble.role-user,.gd-bubble.kind-inject{border-left-color:var(--g-warm);background:#fff9ee}
.gd-bubble.is-scheme{border-left-width:5px;background:#fff}
.gd-bubble header{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.gd-bubble small{color:var(--g-blue);font-size:11px;font-weight:800}
.gd-bubble header span{color:var(--g-muted);font-size:12px}
.gd-bubble h4{margin:6px 0 0;font-size:14px}
.gd-bubble p{margin:6px 0 0;color:#315c7a;font-size:12px;line-height:1.5}

.gd-board{display:grid;grid-gap:12px;gap:12px;align-content:start}
.gd-board section{padding:13px;border:1px solid var(--g-line);background:#fff}
.gd-feed{margin-top:9px;display:grid;grid-gap:7px;gap:7px}
.gd-feed .item{padding:8px;border-left:3px solid var(--g-blue);background:#f4faff;color:#234e6e;font-size:12px;line-height:1.48}
.gd-feed .item b{display:block;margin-bottom:3px;color:var(--g-ink)}
.gd-feed .item p{margin:0}
.gd-feed .item.contract{border-left-color:var(--g-warm);background:#fff9ee}
.gd-feed .item.inject{border-left-color:#df9726;background:#fff9ee}
.gd-feed .item.muted{border-left-color:var(--g-line);color:var(--g-muted)}
.gd-calc{margin-top:9px;padding:8px;border-left:3px solid var(--g-warm);background:#f4faff;color:#234e6e;font-size:12px;line-height:1.48}
.gd-calc.empty{border-left-color:var(--g-line);color:var(--g-muted)}
.gd-calc .row{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.gd-calc .up{color:#16885c}
.gd-calc ul{margin:8px 0 12px;padding-left:16px}
.gd-calc button{width:100%}

.gd-console{display:grid;grid-template-columns:290px minmax(0,1fr);grid-gap:16px;gap:16px;align-items:start;margin-top:12px;padding:14px;border:1px solid var(--g-line);background:#fff}
.gd-operator p{margin:7px 0;color:var(--g-muted);font-size:12px;line-height:1.45}
.gd-seat-picks{display:flex;flex-wrap:wrap;gap:6px}
.gd-seat-picks button{min-height:36px}
.gd-console-form{display:grid;grid-gap:10px;gap:10px}
.gd-decision-row,.gd-action-row{display:grid;grid-template-columns:60px auto auto auto;align-items:center;grid-gap:7px;gap:7px}
.gd-inject-text{grid-template-columns:60px minmax(0,1fr) auto}
.gd-action-row select,.gd-inject-text input{height:34px;border:1px solid #b9d9ec;border-radius:5px;padding:0 8px;background:#fff;color:var(--g-ink)}
.gd-decision-row span,.gd-action-row span{color:var(--g-muted);font-size:12px;font-weight:700}
.gd-inject-party{color:var(--g-ink)!important;font-weight:800!important}
.gd-desk-note{margin:0;color:#916b00;font-size:12px}
.gd-inject{display:grid;grid-gap:8px;gap:8px;padding:10px;border:1px solid #f0d7a2;background:#fff9ee}

.gd-report{margin-top:12px;padding:14px;border:1px solid #b5e0d1;border-top:4px solid #16885c;background:#fff}
.gd-report>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.gd-report>header p{margin:0;color:#16885c;font-size:12px;font-weight:700}
.gd-report-actions{display:flex;gap:8px}
.gd-report iframe{width:100%;height:520px;border:1px solid var(--g-line);background:#fff}

@media(max-width:1400px){
  .gd-stage{grid-template-columns:minmax(0,1fr) 260px}
  .gd-dialog-col{min-height:480px;max-height:640px}
}
@media(max-width:1100px){
  .gd-hero{grid-template-columns:1fr auto}
  .gd-scene-picker{grid-column:1/-1}
  .gd-stage{grid-template-columns:1fr}
  .gd-dialogs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gd-dialog-col{max-height:560px;min-height:0}
}
@media(max-width:860px){
  .gd-page{padding:10px}
  .gd-hero{display:flex;flex-direction:column;align-items:flex-start}
  .gd-title span{display:block;margin:4px 0 0}
  .gd-dialogs{grid-template-columns:1fr}
  .gd-dialog-col{max-height:none}
  .gd-console{grid-template-columns:1fr}
  .gd-decision-row,.gd-action-row,.gd-inject-text{grid-template-columns:55px 1fr}
  .gd-decision-row button,.gd-inject-text button,.gd-inject-text input{grid-column:2/-1}
}

/* ========== 响应式加固：避免分辨率一变被刚性 min-width 挤爆 ========== */
.game-two-screen,
.game-entry-screen,
#game-workspace.game-play-shell,
#game-workspace .sandbox-table{
  max-width:100%;
  box-sizing:border-box;
}
.game-two-screen{overflow-x:clip}

/* 入口三栏：去掉 560px 硬下限，列可收缩 */
.game-entry-map-layout{
  grid-template-columns:minmax(200px,.7fr) minmax(0,1.6fr) minmax(240px,.85fr);
}
.game-entry-map-layout .game-entry-map .map-shell-canvas-wrap,
.game-entry-map-layout .game-entry-map .map-shell-echarts{height:480px!important;min-height:480px!important}

@media(max-width:1400px){
  .game-entry-map-layout{
    grid-template-columns:minmax(180px,.65fr) minmax(0,1.5fr) minmax(220px,.8fr);
    gap:10px;
    margin-inline:14px;
  }
  .game-entry-map-layout>.twin-card{padding:14px}
  .game-entry-map-layout>.twin-card>header h2{font-size:17px}
  .game-entry-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .game-entry-bottom{grid-template-columns:minmax(0,1fr) minmax(200px,240px);gap:12px}
  .game-entry-actions{margin-inline:14px;padding-inline:16px}
}

@media(max-width:1200px){
  .game-entry-map-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
    min-height:0;
  }
  .game-entry-map-layout .game-entry-detail{
    grid-column:1/-1;
    min-height:0;
    max-height:none;
  }
  .game-entry-map-layout .twin-node-kpis-minimal{grid-template-columns:repeat(4,minmax(0,1fr))}
  .game-entry-bottom{grid-template-columns:1fr;justify-items:stretch}
  .game-entry-cta{flex-direction:row;flex-wrap:wrap}
  .game-entry-cta button{flex:1 1 180px}
}

@media(max-width:900px){
  .game-entry,
  .game-entry-screen{
    height:auto;
    min-height:0;
    overflow:visible;
  }
  .game-two-screen{
    height:auto;
    overflow:visible;
    scroll-snap-type:none;
  }
  .game-entry-map-layout{
    grid-template-columns:1fr;
    margin:10px;
    gap:10px;
  }
  .game-entry-map-layout .game-entry-map{min-height:380px}
  .game-entry-map-layout .twin-node-kpis-minimal{grid-template-columns:repeat(2,minmax(0,1fr))}
  .game-entry-facts{grid-template-columns:1fr 1fr}
  .game-entry-roles{grid-template-columns:1fr}
  .platform-global-nav{max-width:100%}
}

@media(max-width:640px){
  .game-entry-facts{grid-template-columns:1fr}
  .game-entry-map-layout .twin-node-kpis-minimal{grid-template-columns:1fr 1fr}
  .game-entry-cta{flex-direction:column}
  .game-entry-cta button{width:100%}
}

/* 分析区：中宽屏先收窄研究栏，再改为上双栏 + 下研究栏，避免 360px 硬挤 */
#game-workspace .game-play-stage{padding-inline:clamp(10px,2vw,22px);overflow:auto}
#game-workspace .game-role-arena,
#game-workspace .game-role-arena.has-leader{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(260px,32%);
  min-width:0;
}

@media(max-width:1400px){
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(240px,300px);
    gap:10px;
  }
  .negotiation-head-row{grid-template-columns:1fr;gap:10px}
  .negotiation-config-row{
    grid-template-columns:repeat(3,minmax(0,1fr)) auto auto auto;
  }
}

@media(max-width:1200px){
  #game-workspace.game-play-shell{height:auto;min-height:calc(100vh - 72px);overflow:visible}
  #game-workspace .game-play-stage,
  #game-workspace .sandbox-table{overflow:visible;height:auto}
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader{
    height:auto;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:minmax(420px,56vh) minmax(420px,56vh) auto;
  }
  #game-workspace .game-role-arena>.negotiation-panel:first-child{grid-column:1;grid-row:1}
  #game-workspace .game-role-arena>.negotiation-panel:nth-child(2){grid-column:2;grid-row:1}
  #game-workspace .game-role-arena>.negotiation-panel:nth-child(3){grid-column:1;grid-row:2}
  #game-workspace .game-role-arena>.negotiation-research,
  #game-workspace .game-role-arena>.negotiation-public{
    grid-column:1/-1;
    grid-row:3;
    min-height:420px;
    max-height:none;
  }
  .negotiation-config-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .negotiation-config-row label,
  .negotiation-config-row .topbar-submit,
  .negotiation-config-row .topbar-restart,
  .negotiation-config-row .topbar-dataprep{min-width:0}
  .negotiation-config-row .topbar-submit,
  .negotiation-config-row .topbar-restart,
  .negotiation-config-row .topbar-dataprep{width:100%}
}

@media(max-width:900px){
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:12px;
  }
  #game-workspace .game-role-arena>.negotiation-panel:first-child,
  #game-workspace .game-role-arena>.negotiation-panel:nth-child(2),
  #game-workspace .game-role-arena>.negotiation-panel:nth-child(3),
  #game-workspace .game-role-arena>.negotiation-research,
  #game-workspace .game-role-arena>.negotiation-public{
    grid-column:1;
    grid-row:auto;
    min-height:360px;
  }
  .negotiation-tabs{grid-template-columns:1fr}
  .negotiation-config-row{grid-template-columns:1fr}
  .negotiation-progress ol{flex-wrap:wrap;gap:8px}
  .negotiation-progress ol li{flex:1 1 30%}
  .negotiation-progress ol li::after{display:none}
}

/* ========== DevTools / 窄视口：整页可滚，但面板内对话区滚动，输入框始终贴在面板底部 ========== */

@media (max-width: 1480px), (max-height: 860px) {
  .game-two-screen {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  .game-entry-screen,
  #game-workspace.game-play-shell {
    scroll-snap-align: none !important;
    height: auto !important;
    min-height: calc(100vh - 72px);
    overflow: visible !important;
  }
  #game-workspace .game-play-stage,
  #game-workspace .sandbox-table {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    flex: none !important;
  }
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader {
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
  }
  /* 面板定高：轮次内部滚动，composer 不被撑出视口 */
  #game-workspace .game-role-arena > .negotiation-panel,
  #game-workspace .game-role-arena > .negotiation-research,
  #game-workspace .game-role-arena > .negotiation-public {
    height: min(680px, calc(100vh - 110px)) !important;
    min-height: 400px !important;
    max-height: none;
    overflow: hidden !important;
  }
  #game-workspace .negotiation-panel {
    display: flex !important;
    flex-direction: column !important;
  }
  #game-workspace .negotiation-panel .negotiation-dialog {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #game-workspace .negotiation-panel .negotiation-rounds {
    flex: 1 1 auto !important;
    min-height: 100px !important;
    max-height: none !important;
    overflow: auto !important;
  }
  #game-workspace .negotiation-panel .negotiation-composer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    min-height: 0 !important;
  }
  #game-workspace .negotiation-panel .negotiation-composer textarea {
    display: block !important;
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    font-size: 13px !important;
    resize: vertical;
  }
  #game-workspace .game-role-arena > .negotiation-panel:first-child .negotiation-composer textarea {
    min-height: 72px !important;
    height: 72px !important;
  }
  .negotiation-head-row { grid-template-columns: 1fr !important; }
  .negotiation-config-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    align-items: end;
  }
}

/* DevTools 侧栏常见宽度：单列堆叠 */
@media (max-width: 1280px) {
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
  }
  #game-workspace .game-role-arena > .negotiation-panel,
  #game-workspace .game-role-arena > .negotiation-panel:first-child,
  #game-workspace .game-role-arena > .negotiation-panel:nth-child(2),
  #game-workspace .game-role-arena > .negotiation-panel:nth-child(3),
  #game-workspace .game-role-arena > .negotiation-research,
  #game-workspace .game-role-arena > .negotiation-public {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
}

/* 宽屏但高度被底部 DevTools 占用：多栏 + 面板定高保输入框 */
@media (min-width: 1281px) and (max-height: 860px) {
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader {
    min-height: 0;
  }
  #game-workspace .game-role-arena > .negotiation-panel,
  #game-workspace .game-role-arena > .negotiation-research {
    height: min(560px, calc(100vh - 100px)) !important;
    min-height: 360px !important;
  }
}

/* ===== 内部分析过程：展开后「收起/公开」按钮不被压缩、文字不截断 ===== */
/* 详情弹窗：内部分析过程按普通分段显示，不标序号 */
.game-detail-columns .detail-analysis-plain p{margin:0 0 14px}
.round-analysis-head{gap:6px;min-width:0}
.round-analysis-head>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.round-analysis-actions{flex:none;gap:5px}
.round-analysis-actions .round-toggle,
.round-analysis-actions .round-public{width:auto;min-width:0;height:22px;padding:0 11px;white-space:nowrap;flex:none;font-size:10px;line-height:20px;grid-column:auto;justify-self:auto}
.round-analysis-actions .round-public.is-on{padding:0 11px}

/* ===== 研究栏 · 公开栏 ===== */
.public-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.public-panel-head h3{margin:0;color:#083b63;font-size:14px}
.public-panel-head b{padding:2px 10px;border-radius:999px;background:#eaf6fd;color:#0a7ec2;font-size:10px;font-weight:800;white-space:nowrap}
.public-empty{margin:0;padding:15px 16px;border:1px dashed #bcd9ea;border-radius:9px;background:#f7fbfe;color:#6f8ea3;font-size:12px;line-height:1.75}
.public-list{display:grid;grid-gap:11px;gap:11px}
.public-card{padding:12px 14px;border:1px solid #d3e4ee;border-left:4px solid #0a7ec2;border-radius:9px;background:#fbfdff}
.public-card.compute{border-left-color:#11a6a0}
.public-card.telco{border-left-color:#7659d8}
.public-card>header{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.public-card>header i{flex:none;width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#e7f3fb;color:#0a7ec2;font-style:normal;font-weight:900;font-size:13px}
.public-card.compute>header i{background:#e2f6f4;color:#0c857f}
.public-card.telco>header i{background:#f0ebfd;color:#5d43c0}
.public-card>header span{display:flex;flex-direction:column;min-width:0}
.public-card>header strong{color:#0d3f60;font-size:13px;line-height:1.3}
.public-card>header small{color:#84a0b2;font-size:10px}
.public-card>header b{margin-left:auto;color:#0a7ec2;font-size:10px;font-weight:800;text-align:right;line-height:1.4}
.public-card ol{margin:0;padding-left:18px;color:#33556b;font-size:11.5px;line-height:1.7}
.public-card ol li+li{margin-top:5px}
/* ===== 第一屏·博弈模式选择（v42） ===== */
.game-entry-actions{padding:14px 28px 22px;gap:14px}
/* 地图下方信息条往上压缩、更紧凑 */
.game-entry-facts{gap:10px}
.game-entry-fact{padding:7px 12px;border-radius:9px}
.game-entry-fact>header{margin-bottom:3px}
.game-entry-fact dl>div{padding:3px 0}
.game-entry-fact h3{font-size:10.5px}
.game-entry-fact dd{font-size:10.5px}
/* 选角（模式）区加大高度占比 */
.game-entry-bottom.mode-bottom{grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:stretch}
.game-entry-roles-wrap{justify-content:center}
.game-entry-role-title{font-size:18px}
.game-entry-roles.mode-roles{grid-template-columns:1fr 1fr;gap:20px}
.mode-roles button{min-height:122px;padding:20px 24px;display:flex;align-items:center;gap:18px;border-width:1.5px;border-radius:14px;transition:transform .18s,border-color .2s,background .2s,box-shadow .2s}
.mode-roles button:hover{transform:translateY(-2px);border-color:#80bcdc}
.mode-roles button .role-head{flex:1 1;display:flex;align-items:center;gap:18px;min-width:0}
.mode-roles button .role-head>i{flex:0 0 56px;width:56px;height:56px;display:grid;place-items:center;border-radius:15px;font-size:23px;font-style:normal}
.mode-roles button .role-text{min-width:0;display:flex;flex-direction:column;gap:7px}
.mode-roles button .role-text strong{font-size:20px;font-weight:800;line-height:1.15;color:#083b63}
.mode-roles button .role-text small{font-size:13px;font-weight:500;color:#7b93a3;line-height:1.35}
.mode-roles button.solo .role-head>i{background:#e7f4fc;color:#168ccc}
.mode-roles button.online .role-head>i{background:#f1ecfc;color:#7659d8}
.mode-roles button.solo.is-selected{border-color:#0a7ec2;background:#edf8fe;box-shadow:inset 0 0 0 1.5px #0a7ec2,0 12px 26px rgba(10,126,194,.15)}
.mode-roles button.online.is-selected{border-color:#7659d8;background:#f6f3fd;box-shadow:inset 0 0 0 1.5px #7659d8,0 12px 26px rgba(118,89,216,.15)}
/* CTA 区与卡片同高、按钮居中 */
.mode-bottom .game-entry-cta{justify-content:center;gap:12px}
.mode-bottom .game-entry-cta button{height:48px;font-size:15px;border-radius:11px}
.online-hint{margin:2px 0 0;color:#b06a1c;font-size:11.5px;line-height:1.5;text-align:center}
@media (max-width:920px){
  .game-entry-bottom.mode-bottom{grid-template-columns:1fr}
  .game-entry-roles.mode-roles{grid-template-columns:1fr}
}
/* v42 增补：删除信息条后布局调整 */
.mode-roles button{min-height:150px;padding:24px 26px}
.mode-roles button .role-head{gap:20px}
.mode-roles button .role-head>i{width:64px;height:64px;border-radius:16px}
.mode-icon svg{width:34px;height:34px;display:block}
.mode-roles button .role-text{gap:9px}
.mode-roles button .role-text strong{font-size:21px}
.mode-roles button .role-text small{font-size:13.5px}
.game-entry-actions{padding-top:18px;border-top:1px solid #e2eef5}
.game-entry-map-layout{margin-top:16px}
/* v43 打磨：标题居中放大、卡片收小、特性标签 */
.game-entry-roles-wrap{align-items:center;text-align:center;gap:6px}
.game-entry-role-title{font-size:26px;margin:2px 0 0}
.mode-subtitle{margin:6px 0 4px;color:#7b93a3;font-size:13px}
.mode-roles{width:100%}
.mode-roles button{min-height:108px;padding:18px 22px;text-align:left}
.mode-roles button .role-head{gap:16px}
.mode-roles button .role-head>i{width:50px;height:50px;border-radius:13px;flex:0 0 50px}
.mode-icon svg{width:26px;height:26px}
.mode-roles button .role-text{gap:5px;align-items:flex-start}
.mode-roles button .role-text strong{font-size:19px}
.mode-roles button .role-text small{font-size:12.5px}
.mode-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.mode-tags i{font-style:normal;font-size:10.5px;font-weight:700;color:#4d748c;background:#eef6fa;border:1px solid #d8eaf3;border-radius:999px;padding:2px 9px}
.mode-roles button.online .mode-tags i{color:#6a54c0;background:#f4f1fd;border-color:#e2dcf7}
/* v44 */
.game-entry-role-title{margin:0 0 12px}
.mode-roles button .role-text{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:4px}
.mode-roles button .role-text strong{font-size:19px;white-space:nowrap}
.mode-roles button .role-text small{font-size:12.5px}
.mode-tags{flex-basis:100%;margin-top:4px}
/* 地图三栏：中间放宽，左右收窄 */
.game-entry-map-layout{grid-template-columns:minmax(180px,.55fr) minmax(0,1.85fr) minmax(230px,.75fr)}
/* v45 第二屏重构 */
.game-role-arena{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) 260px;grid-gap:12px;gap:12px;align-items:stretch}
.game-role-arena>.negotiation-panel{height:100%;display:flex;flex-direction:column}
.game-role-arena>.negotiation-research{height:100%;min-width:0}
.guide-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;margin-bottom:12px;border:1px solid #e3edf3;border-radius:14px;background:linear-gradient(180deg,#f7fbfd,#eef5f9)}
.guide-steps{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0}
.guide-steps li{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:#2c4a5e}
.guide-steps li i{width:24px;height:24px;border-radius:50%;background:#e8f1f7;color:#3b7396;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:800}
.guide-arrow{color:#9db6c4;font-size:15px;font-weight:700}
.guide-actions{display:flex;gap:8px}
.negotiation-head-config{display:flex;gap:8px;padding:2px 14px 10px}
.negotiation-head-config label{flex:1 1;display:flex;flex-direction:column;gap:3px;font-size:11px;color:#7b93a3}
.negotiation-head-config select{width:100%;font-size:12px;padding:4px 6px;border:1px solid #dbe6ec;border-radius:7px;background:#fff;color:#2c4a5e}
.negotiation-research.slim header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.report-gen{background:linear-gradient(135deg,#2f7fb8,#3b9ad0);color:#fff;border:none;border-radius:9px;padding:8px 14px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.report-gen:disabled{opacity:.6}
/* v45 fix: 强制四列不换行 */
.game-role-arena{grid-template-columns:repeat(3,minmax(0,1fr)) 240px !important;grid-auto-rows:1fr}
.negotiation-research.slim{width:240px !important;min-width:0 !important}
.guide-actions button{padding:7px 14px;border-radius:9px;font-size:12.5px;font-weight:700;cursor:pointer}
/* v45 fix: 显式指定四个子元素列位，禁止旧定位干扰 */
.game-role-arena:not(.is-online)>.negotiation-panel:nth-child(1){grid-column:1 !important;grid-row:1 !important}
.game-role-arena:not(.is-online)>.negotiation-panel:nth-child(2){grid-column:2 !important;grid-row:1 !important}
.game-role-arena:not(.is-online)>.negotiation-panel:nth-child(3){grid-column:3 !important;grid-row:1 !important}
.game-role-arena>.negotiation-research{grid-column:4 !important;grid-row:1 !important}
/* v46 */
.game-role-arena>.negotiation-panel{min-height:680px}
.negotiation-head{align-items:center}
.negotiation-head>.head-status{display:flex;align-items:center;gap:10px}
.role-glyph{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.role-glyph svg{width:22px;height:22px}
.head-pause{border:1px solid #f0c98a;background:#fff7e8;color:#c9821f;border-radius:9px;padding:7px 14px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.head-pause.is-resume{background:#e8f6ee;color:#1f8a4c;border-color:#a9ddc0}
/* v47 */
.game-role-arena{height:calc(100vh - 210px);min-height:640px;align-items:stretch;grid-template-columns:repeat(3,minmax(0,1fr)) 380px !important}
.game-role-arena>.negotiation-panel{display:flex;flex-direction:column;min-height:0}
.negotiation-head h2{white-space:nowrap;font-size:20px}
.negotiation-dialog{display:flex;flex-direction:column;flex:1 1;min-height:0}
.negotiation-rounds{flex:1 1;overflow-y:auto;min-height:0}
.negotiation-composer{flex:0 0 auto}
.game-role-arena>.negotiation-research{width:380px !important;display:flex;flex-direction:column}
.negotiation-research .research-body.dual{flex:1 1;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}
.negotiation-research .research-col{overflow-y:auto;min-width:0}
/* v47 fix */
.negotiation-head h2{white-space:nowrap !important;font-size:19px}
.negotiation-head .head-status{white-space:nowrap;flex:0 0 auto}
/* v48 */
.game-role-arena{grid-template-columns:repeat(3,minmax(0,1fr)) 260px !important;height:calc(100vh - 190px);min-height:680px}
.game-role-arena>.negotiation-research{width:260px !important}
.negotiation-research .research-body.stacked{grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow:hidden;display:grid}
.negotiation-research .research-col{overflow-y:auto;min-width:0}
.negotiation-panel{height:100%}
.negotiation-dialog{flex:1 1 auto}
.negotiation-rounds{flex:1 1 auto}
/* v48 fix: 面板贴视口底部 */
.game-role-arena{height:calc(100vh - 130px) !important;min-height:680px}
/* v48 fix2 */
.game-role-arena{height:calc(100vh - 150px) !important;min-height:0 !important}
.game-role-arena>.negotiation-panel{height:100% !important;min-height:0 !important}
.game-role-arena>.negotiation-research{height:100% !important;min-height:0 !important}
.negotiation-research .research-body.stacked{grid-template-rows:1fr 1fr}
.negotiation-research .research-col{min-height:0;border:1px solid #e3edf3;border-radius:10px;padding:10px;background:#fff}
/* v48 fix3: 强制单行固定高度 */
.game-role-arena{display:grid !important;height:760px !important;grid-template-rows:1fr !important;align-items:stretch !important}
.game-role-arena>.negotiation-panel{grid-row:1 !important;height:100% !important;min-height:0 !important}
.game-role-arena>.negotiation-research{grid-row:1 !important;height:100% !important;min-height:0 !important}
/* v49 */
.guide-bar{flex-wrap:wrap;align-items:center;row-gap:8px;padding:14px 18px}
.guide-hint{display:flex;gap:22px;flex-basis:100%;font-size:12px;color:#5b7689;flex-wrap:wrap}
.guide-hint span{display:flex;align-items:center;gap:6px}
.guide-hint b{color:#2c4a5e}
.empty-simple{text-align:center;color:#8aa0ad;font-size:13px;padding:24px 8px;margin:0;line-height:1.7}
/* v50 */
.guide-hint{flex-basis:100%;flex-direction:column;gap:10px;padding:8px 2px 0}
.guide-hint span{font-size:12.5px}
.guide-actions{margin-left:auto}
/* v51 */
.guide-bar{flex-wrap:nowrap !important;padding:10px 18px !important}
/* v52: 内容加宽到近全屏 */
.sandbox-table{max-width:100% !important;padding-left:14px !important;padding-right:14px !important;margin:0 auto !important}
.game-role-arena{width:100% !important}
/* v54: 统一头部高度对齐配置行 */
.negotiation-panel .negotiation-head{height:64px;align-items:center}
/* v55 */
.report-standalone{margin-top:12px}
.report-standalone .report-panel{background:#fff;border:1px solid #e3edf3;border-radius:12px;padding:18px 22px}
.negotiation-research .research-body{display:block}
/* v57 */
.negotiation-research .research-body.stacked{gap:12px;grid-template-rows:1fr 1fr}
.negotiation-research .research-col{background:#fff;border:1px solid #e3edf3;border-radius:10px;padding:12px;overflow:hidden}
.report-panel{padding:0}
.report-panel>header{padding:4px 2px 10px;border-bottom:1px solid #eef4f8;margin-bottom:10px}
.report-panel>header h3{margin:0;font-size:15px;color:#1f3a4d}
/* v58 */
.negotiation-research .research-body.stacked{background:#eef3f7;padding:10px;border-radius:12px;gap:10px}
.negotiation-research .research-col{background:#fff;border:1px solid #e6edf2;border-radius:10px;box-shadow:0 1px 3px rgba(30,60,90,.06)}
/* v59 */
.research-tabs{display:flex;gap:6px;margin-bottom:10px}
.research-tabs button{flex:1 1;padding:7px 0;border:1px solid #d8e2ea;background:#f4f8fb;border-radius:8px;font-size:13px;color:#4a6579;cursor:pointer}
.research-tabs button.active{background:#fff;color:#1f6feb;border-color:#bcd8ff;font-weight:600}
.research-tabs button:disabled{opacity:.45;cursor:not-allowed}
.research-body{background:#fff;border:1px solid #e6edf2;border-radius:10px;padding:12px;min-height:560px;overflow:auto}
/* 智能体/数据选择行美化 */
.negotiation-head-config{display:flex;gap:10px;align-items:flex-end;padding:8px 14px;background:#f7fafb;border-bottom:1px solid #eef3f6}
.negotiation-head-config label{flex:1 1;font-size:12px;color:#5b7689;margin:0 0 4px}
.negotiation-head-config select{width:100%}
/* v60: 引导条三步美化 */
.guide-bar{padding:14px 22px !important;gap:20px}
.guide-steps{gap:14px}
.guide-steps li{font-size:14px;gap:9px}
.guide-steps li i{width:26px;height:26px;background:linear-gradient(135deg,#2f7ed8,#1f5fb8);color:#fff;box-shadow:0 2px 6px rgba(31,95,184,.25)}
.guide-arrow{color:#b9ccd8;font-size:16px;margin:0 2px}
/* v61 */
.guide-arrow{font-weight:800 !important;font-size:18px !important;color:#8aa6b8 !important}
.negotiation-panel textarea{height:64px !important;min-height:64px !important;resize:none}
/* v61b */
.negotiation-composer textarea{height:64px !important;min-height:64px !important;max-height:64px !important;resize:none}
/* v62 */
.negotiation-composer textarea{height:36px !important;min-height:36px !important;max-height:36px !important}
.guide-arrow{font-size:18px !important;color:#5a7a90 !important}
/* v63: 联机房间 */
.online-lobby{margin-top:14px;background:#fff;border:1px solid #d8e6f0;border-radius:14px;padding:16px 18px;box-shadow:0 4px 14px rgba(30,70,120,.06)}
.online-lobby-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.online-lobby-head h3{margin:0;font-size:16px;color:#1f3a4d}
.online-lobby-code{font-size:13px;color:#5b7689}
.online-lobby-code b{font-size:18px;color:#1f6feb;letter-spacing:2px;margin-left:4px}
.online-lobby-row label{display:block;font-size:12px;color:#5b7689;margin-bottom:10px}
.online-lobby-row input{width:220px;margin-top:4px;padding:7px 10px;border:1px solid #cddce8;border-radius:8px;font-size:14px;letter-spacing:2px}
.online-lobby-roles{margin:10px 0}
.online-lobby-label{display:block;font-size:12px;color:#5b7689;margin-bottom:6px}
.online-lobby-roleopts{display:flex;gap:10px}
.online-lobby-roleopts button{padding:8px 22px;border:1px solid #cddce8;border-radius:8px;background:#f4f8fb;color:#4a6579;cursor:pointer;font-size:14px}
.online-lobby-roleopts button.is-selected{background:#1f6feb;color:#fff;border-color:#1f6feb}
.online-lobby-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eef3f6}
.online-lobby-tip{font-size:12px;color:#8aa0ad}
.online-lobby-foot .primary{padding:8px 20px}
/* v64: 联机只读 + 公开栏两框 */
.negotiation-panel.is-readonly{opacity:.85}
.negotiation-panel.is-readonly .head-pause,
.negotiation-panel.is-readonly .negotiation-head-config select{pointer-events:none;opacity:.45}
.public-two-col{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.public-subbox{border:1px solid #e3edf3;border-radius:8px;padding:8px 10px;background:#fafcfe}
.public-subhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.public-subhead b{font-size:13px;color:#2c4a5e}
.public-tag{font-size:11px;padding:1px 8px;border-radius:10px}
.public-tag.is-open{background:#e6f4ea;color:#1e7e34}
.public-tag.is-plan{background:#e8f0fe;color:#1a56c4}
.public-subbox ol{margin:4px 0 0 16px;padding:0;font-size:12px;color:#4a6579;line-height:1.6}
.public-plan-text{margin:0;font-size:12px;color:#4a6579;line-height:1.6}
/* v63: 联机模式 */
.negotiation-composer.is-readonly-view{padding:14px;color:#9db6c4;font-size:12.5px;background:#f7fafb;border-top:1px solid #eef3f6;text-align:center;border-radius:0}
.public-subbox{border:1px solid #e3edf3;border-radius:8px;padding:8px 10px;margin:4px 0}
/* v64: 联机第三屏全屏 */
.online-lobby-screen{position:fixed;inset:0;z-index:999;background:linear-gradient(160deg,#f0f6fb,#e4eef6);display:flex;align-items:center;justify-content:center}
.online-lobby-back{position:absolute;top:22px;right:28px;padding:8px 18px;border:1px solid #c4d6e4;background:#fff;border-radius:8px;font-size:14px;color:#2c4a5e;cursor:pointer}
.online-lobby-center{background:#fff;border:1px solid #d8e6ef;border-radius:16px;padding:36px 40px;width:460px;box-shadow:0 12px 40px rgba(30,70,120,.12)}
.online-lobby-center h3{margin:0 0 8px;font-size:20px;color:#1f3a4d;text-align:center}
.online-lobby-lead{margin:0 0 20px;font-size:13px;color:#6b8496;text-align:center;line-height:1.6}
.online-lobby-codefield{display:block;font-size:13px;color:#5b7689;margin-bottom:18px}
.online-lobby-codefield input{width:100%;margin-top:6px;padding:10px 12px;border:1px solid #cdddea;border-radius:8px;font-size:14px;box-sizing:border-box}
.online-lobby-roles{margin-bottom:20px}
.online-lobby-label{display:block;font-size:13px;color:#5b7689;margin-bottom:8px}
.online-lobby-roleopts{display:flex;gap:10px}
.online-lobby-roleopts button{flex:1 1;padding:12px 0;border:1px solid #cdddea;background:#f7fafb;border-radius:8px;font-size:14px;color:#3b5a70;cursor:pointer}
.online-lobby-roleopts button.is-selected{background:#1f6feb;color:#fff;border-color:#1f6feb;font-weight:600}
.online-lobby-foot{display:flex;flex-direction:column;gap:12px;align-items:center}
.online-lobby-tip{font-size:12px;color:#8aa0ad;text-align:center}
.online-lobby-foot .primary{padding:10px 32px;border:none;border-radius:8px;background:#1f6feb;color:#fff;font-size:14px;cursor:pointer}
.online-lobby-foot .primary:disabled{background:#b8c8d6;cursor:not-allowed}
/* v65: 联机第三屏科技感 */
.online-lobby-screen{background:radial-gradient(circle at 50% 30%,#1a3a5c 0%,#0d2038 60%,#081426 100%)}
.online-lobby-back{background:rgba(255,255,255,.08);color:#cfe3f5;border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.online-lobby-back:hover{background:rgba(255,255,255,.18)}
.online-lobby-center{background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.04));border:1px solid rgba(120,180,240,.3);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 0 40px rgba(40,120,220,.25),inset 0 1px 0 rgba(255,255,255,.15)}
.online-lobby-center h3{color:#eaf4ff;letter-spacing:2px}
.online-lobby-lead{color:#9db8d0}
.online-lobby-codefield{color:#b8cfe6}
.online-lobby-codefield input{background:rgba(255,255,255,.06);border:1px solid rgba(120,180,240,.3);color:#eaf4ff}
.online-lobby-codefield input::placeholder{color:#6b88a5}
.online-lobby-label{color:#b8cfe6}
.online-lobby-roleopts button{background:rgba(255,255,255,.06);border:1px solid rgba(120,180,240,.25);color:#cfe3f5}
.online-lobby-roleopts button.is-selected{background:linear-gradient(135deg,#2f8fe0,#1f6fc8);color:#fff;border-color:#5fb0ff;box-shadow:0 0 18px rgba(47,143,224,.5)}
.online-lobby-tip{color:#7d98b5}
.online-lobby-foot .primary{background:linear-gradient(135deg,#2f8fe0,#1f6fc8);box-shadow:0 4px 20px rgba(47,143,224,.5)}
/* v66: 卡片放大留白 */
.online-lobby-center{width:520px;padding:46px 50px}
.online-lobby-center h3{font-size:24px;margin-bottom:12px}
.online-lobby-lead{margin-bottom:26px;line-height:1.8}
.online-lobby-codefield{margin-bottom:24px}
.online-lobby-codefield input{padding:13px 14px;font-size:15px}
.online-lobby-roles{margin-bottom:28px}
.online-lobby-label{margin-bottom:12px}
.online-lobby-roleopts button{padding:15px 0;font-size:15px}
.online-lobby-foot{gap:16px}
.online-lobby-foot .primary{padding:13px 40px;font-size:15px}
/* v67: 全屏+放大 */
.online-lobby-screen{z-index:10000}
.online-lobby-codefield{font-size:15px;margin-bottom:22px}
.online-lobby-codefield input{padding:14px 16px;font-size:16px}
.online-lobby-label{font-size:15px;margin-bottom:12px}
.online-lobby-roleopts button{padding:16px 0;font-size:16px}
.online-lobby-tip{font-size:14px;margin-bottom:6px}
.online-lobby-foot .primary{padding:16px 60px;font-size:17px;display:block;margin:0 auto}
/* v68: 按钮居中 */
.online-lobby-foot .primary{display:flex;align-items:center;justify-content:center;text-align:center;line-height:1}
.online-lobby-back{pointer-events:auto;z-index:10001}
.online-lobby-screen{overflow:hidden}
/* v69: 盖住导航 */
.online-lobby-screen{z-index:99999}
.online-lobby-back{z-index:100000}
/* v71: GameBoard全屏浮层 */
.game-play-shell{position:fixed;inset:0;z-index:9000;background:#eef8fd;overflow-y:auto;scroll-snap-align:none}
.game-two-screen{scroll-snap-type:none}
/* v72: 浮层不透明 */
.game-play-shell{background:#eef8fd!important;z-index:9000;position:fixed;inset:0}
/* v73: GameBoard返回键 */
.game-board-back{position:fixed;top:18px;right:24px;z-index:9001;padding:8px 18px;border:1px solid #c4d6e4;background:#fff;border-radius:8px;font-size:14px;color:#2c4a5e;cursor:pointer;box-shadow:0 4px 12px rgba(30,70,120,.1)}
/* v74: 联机第四屏布局 */
.game-role-arena.is-online{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;grid-gap:12px;gap:12px}
.game-role-arena.is-online .negotiation-panel:nth-child(1){grid-row:1/3;grid-column:1}
.game-role-arena.is-online .negotiation-panel:nth-child(2){grid-row:1;grid-column:2}
.game-role-arena.is-online .negotiation-panel:nth-child(3){grid-row:2;grid-column:2}
.game-role-arena.is-online .negotiation-research{grid-column:1/3}
.readonly-wait{padding:20px;color:#9db6c4;font-size:13px;text-align:center}
/* v75: 联机房间tab */
.online-lobby-tabs{display:flex;gap:8px;margin-bottom:20px}
.online-lobby-tabs button{flex:1 1;padding:10px 0;border:1px solid rgba(120,180,240,.3);background:rgba(255,255,255,.06);color:#cfe3f5;border-radius:8px;font-size:14px;cursor:pointer}
.online-lobby-tabs button.is-active{background:linear-gradient(135deg,#2f8fe0,#1f6fc8);color:#fff;border-color:#5fb0ff}
.online-lobby-create{padding:12px;background:rgba(255,255,255,.05);border:1px solid rgba(120,180,240,.2);border-radius:8px;margin-bottom:18px}
.online-lobby-create .online-lobby-tip{margin:0;color:#9db8d0;font-size:13px;line-height:1.6}
/* v76: 邀请码生成 */
.online-lobby-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:0;gap:0;padding:4px;background:rgba(255,255,255,.06);border-radius:12px;margin-bottom:20px}
.online-lobby-tabs button{padding:10px 0;border:none;background:transparent;color:#9db8d0;border-radius:10px;font-size:14px;cursor:pointer;transition:.2s}
.online-lobby-tabs button.is-active{background:linear-gradient(135deg,#2f8fe0,#1f6fc8);color:#fff;box-shadow:0 4px 14px rgba(47,143,224,.4)}
.online-lobby-gen{width:100%;padding:12px;border:1px dashed rgba(120,180,240,.4);background:rgba(47,143,224,.1);color:#7cc0ff;border-radius:10px;font-size:14px;cursor:pointer;margin-top:10px}
.online-lobby-gen:hover{background:rgba(47,143,224,.2)}
.online-lobby-code-show{margin-top:12px;padding:14px;background:rgba(47,143,224,.12);border:1px solid rgba(120,180,240,.4);border-radius:10px;text-align:center}
.online-lobby-code-show span{display:block;font-size:12px;color:#9db8d0;margin-bottom:6px}
.online-lobby-code-show b{font-size:28px;color:#7cc0ff;letter-spacing:6px}
/* v77: tab独特设计 */
.online-lobby-tabs{display:flex;gap:0;padding:0;background:transparent;border-radius:0;margin-bottom:22px;border-bottom:1px solid rgba(120,180,240,.2)}
.online-lobby-tabs button{flex:1 1;padding:12px 0;border:none;background:transparent;color:#7d98b5;font-size:14px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:.2s}
.online-lobby-tabs button.is-active{color:#7cc0ff;border-bottom-color:#2f8fe0;background:transparent;box-shadow:none}
/* v78: 重新生成按钮 */
.online-lobby-regen{display:block;margin:10px auto 0;padding:6px 16px;border:1px solid rgba(120,180,240,.3);background:transparent;color:#7cc0ff;border-radius:6px;font-size:12px;cursor:pointer}
.online-lobby-regen:hover{background:rgba(47,143,224,.15)}
/* v79: 卡片扩大字体加大 */
.online-lobby-center{width:560px;padding:48px 52px}
.online-lobby-center h3{font-size:26px;margin-bottom:24px}
.online-lobby-tabs button{padding:14px 0;font-size:15px}
.online-lobby-tip{font-size:14px;line-height:1.7}
.online-lobby-codefield{font-size:15px;margin-bottom:22px}
.online-lobby-codefield input{padding:14px 16px;font-size:15px}
.online-lobby-label{font-size:15px;margin-bottom:12px}
.online-lobby-roleopts button{padding:16px 0;font-size:16px}
.online-lobby-gen{padding:14px;font-size:15px}
.online-lobby-code-show{padding:18px}
.online-lobby-code-show span{font-size:14px}
.online-lobby-code-show b{font-size:32px}
.online-lobby-regen{padding:8px 20px;font-size:13px}
.online-lobby-foot .primary{padding:14px 50px;font-size:16px}
/* v80: 只读提示收小 */
.readonly-wait{padding:12px 8px;color:#9db6c4;font-size:12px;text-align:center;background:rgba(255,255,255,.4);border-radius:6px;margin:8px 0}
/* v81: 联机布局强化 */
.game-role-arena.is-online{display:grid !important;grid-template-columns:1fr 1fr !important;grid-template-rows:1fr 1fr !important;grid-gap:12px !important;gap:12px !important}
.game-role-arena.is-online .negotiation-panel{margin:0 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(1){grid-row:1/3;grid-column:1}
.game-role-arena.is-online .negotiation-panel:nth-child(2){grid-row:1;grid-column:2}
.game-role-arena.is-online .negotiation-panel:nth-child(3){grid-row:2;grid-column:2}
.game-role-arena.is-online .negotiation-research{grid-column:1/3}
/* v82: 联机布局最终 */
.game-role-arena.is-online{display:grid !important;grid-template-columns:1fr 1fr !important;grid-template-rows:1fr 1fr !important;grid-gap:12px !important;gap:12px !important;flex-wrap:nowrap !important}
.game-role-arena.is-online .negotiation-panel{width:auto !important;min-width:0 !important;margin:0 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(1){grid-row:1 / span 2 !important;grid-column:1 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(2){grid-row:1 !important;grid-column:2 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(3){grid-row:2 !important;grid-column:2 !important}
.game-role-arena.is-online .negotiation-research{grid-column:1 / -1 !important}
/* v83: 联机布局最终 */
.game-role-arena.is-online{display:grid !important;grid-template-columns:1fr 1fr !important;grid-template-rows:1fr 1fr !important;grid-gap:12px !important;gap:12px !important}
.game-role-arena.is-online .negotiation-panel:nth-child(1){grid-row:1 / span 2 !important;grid-column:1 !important;width:auto !important;min-width:0 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(2){grid-row:1 !important;grid-column:2 !important;width:auto !important;min-width:0 !important}
.game-role-arena.is-online .negotiation-panel:nth-child(3){grid-row:2 !important;grid-column:2 !important;width:auto !important;min-width:0 !important}
/* v84: 联机布局最终 */
#game-workspace .game-role-arena.is-online{display:grid !important;grid-template-columns:1fr 1fr !important;grid-template-rows:1fr 1fr !important;grid-gap:12px !important;gap:12px !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(1){grid-area:1 / 1 / span 2 !important;width:auto !important;min-width:0 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(2){grid-area:1 / 2 !important;width:auto !important;min-width:0 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(3){grid-area:2 / 2 !important;width:auto !important;min-width:0 !important}
#game-workspace .game-role-arena.is-online .negotiation-research{grid-column:1 / -1 !important}
/* v85: 联机布局加公开栏 */
#game-workspace .game-role-arena.is-online{grid-template-columns:1fr 1fr 260px !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(1){grid-area:1 / 1 / span 2 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(2){grid-area:1 / 2 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(3){grid-area:2 / 2 !important}
#game-workspace .game-role-arena.is-online .negotiation-research{grid-area:1 / 3 / span 2 !important;grid-column:3 !important}
/* v86: 联机布局行高 */
#game-workspace .game-role-arena.is-online{grid-template-rows:1fr 1fr !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(1){grid-row:1 / span 2 !important;grid-column:1 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(2){grid-row:1 !important;grid-column:2 !important}
#game-workspace .game-role-arena.is-online .negotiation-panel:nth-child(3){grid-row:2 !important;grid-column:2 !important}
#game-workspace .game-role-arena.is-online .negotiation-research{grid-row:1 / span 2 !important;grid-column:3 !important}
/* v87: 面板高度限制 */
#game-workspace .game-role-arena.is-online .negotiation-panel{height:100% !important;min-height:0 !important;overflow:hidden !important}
#game-workspace .game-role-arena.is-online .negotiation-dialog{overflow-y:auto !important}
/* v88: 宽度外扩 */
#game-workspace{padding:16px 20px !important;max-width:100% !important}
#game-workspace .game-role-arena{max-width:100% !important}
/* v89: 强制满宽 */
html,body,#__next,.game-two-screen,.game-play-shell,#game-workspace{max-width:100% !important;width:100% !important;padding-left:0 !important;padding-right:0 !important}
#game-workspace{padding:16px 24px !important}
/* v90: 彻底满宽 */
html,body,#__next,#__next > div,.game-two-screen{max-width:100% !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;padding-left:0 !important;padding-right:0 !important}
.game-two-screen > *{max-width:100% !important}
/* v91: play-stage满宽 */
.game-play-stage,.game-play-shell{max-width:100% !important;width:100% !important;padding-left:0 !important;padding-right:0 !important;margin:0 !important}
/* v92: 去margin auto */
.game-two-screen{max-width:100% !important;width:100% !important;margin-left:0 !important;margin-right:0 !important}
.game-entry-screen,.game-play-shell{max-width:100% !important;width:100% !important;margin-left:0 !important;margin-right:0 !important}
/* v93: 最终满宽 */
body[data-platform-page="game"],
body[data-platform-page="game"] .game-two-screen,
body[data-platform-page="game"] .game-entry-screen,
body[data-platform-page="game"] .game-play-shell,
body[data-platform-page="game"] .game-play-stage,
body[data-platform-page="game"] #game-workspace{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
/* v94: game-two-screen满宽 */
.game-two-screen{
  max-width:100% !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
/* v95: 覆盖portal-main宽度 */
body[data-platform-page="game"] .portal-main,
body[data-platform-page="game"] main{
  max-width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* 联机博弈使用红线范围内的宽度，公开栏维持原宽度。 */
#game-workspace .sandbox-table.is-online{
  width:min(81vw,2080px) !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
#game-workspace .game-role-arena.is-online{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 260px !important;
}
@media(max-width:900px){
  #game-workspace .sandbox-table.is-online{width:calc(100vw - 32px) !important}
}

/* 第四屏：未选中的席位在标题右侧显示接入状态。 */
.game-role-arena.is-online .remote-seat-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.game-role-arena.is-online .remote-seat-status{color:#6a8496;font-size:12px;font-weight:700;white-space:nowrap}
.game-role-arena.is-online .remote-seat-status.is-connected{color:#188866}
.game-role-arena.is-online .remote-seat-status.is-agent{color:#087cb2}
.game-role-arena.is-online .remote-seat-toggle{padding:6px 10px;border:1px solid #b9d8e8;border-radius:7px;background:#fff;color:#176b98;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.game-role-arena.is-online .remote-seat-toggle:hover{background:#eef8fd}
.game-role-arena.is-online .remote-seat-toggle:disabled{opacity:.5;cursor:not-allowed}

.game-role-arena.is-online .negotiation-panel.is-readonly .negotiation-head{height:auto;min-height:78px}
.game-role-arena.is-online .remote-seat-controls{display:grid;grid-template-columns:auto auto;grid-column-gap:8px;column-gap:8px;grid-row-gap:5px;row-gap:5px;align-items:center;justify-content:end}
.game-role-arena.is-online .remote-seat-status.is-waiting{padding:5px 9px;border:1px solid #b9ddef;border-radius:7px;background:#e9f7ff;color:#086b9d;font-size:14px;font-weight:800;letter-spacing:.02em}
.game-role-arena.is-online .remote-seat-status.is-waiting::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#168cc3;vertical-align:2px}
.game-role-arena.is-online .remote-seat-toggle{padding:4px 8px;font-size:11px}
.game-role-arena.is-online .remote-seat-hint{grid-column:1 / -1;color:#7892a2;font-size:10px;line-height:1.3;text-align:right;white-space:nowrap}

/* v96: 联机状态标签美化 */
.remote-seat-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.remote-seat-status{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}
.remote-seat-status::before{content:"";width:8px;height:8px;border-radius:50%}
.remote-seat-status.is-waiting{background:rgba(59,130,246,.12);color:#3b82f6}
.remote-seat-status.is-waiting::before{background:#3b82f6;animation:pulse-dot 1.5s infinite}
.remote-seat-status.is-connected{background:rgba(34,197,94,.12);color:#22c55e}
.remote-seat-status.is-connected::before{background:#22c55e}
.remote-seat-status.is-agent{background:rgba(148,163,184,.12);color:#64748b}
.remote-seat-status.is-agent::before{background:#94a3b8}
@keyframes pulse-dot{0%,100%{opacity:1}50%{opacity:.3}}
.remote-seat-toggle{padding:4px 12px;border:1px solid #cbd5e1;background:#fff;border-radius:20px;font-size:12px;color:#475569;cursor:pointer}
.remote-seat-toggle:hover{background:#f1f5f9}
.remote-seat-toggle:disabled{opacity:.5;cursor:not-allowed}
.remote-seat-hint{width:100%;font-size:11px;color:#94a3b8;margin:2px 0 0}
/* v97: 状态颜色调整 */
.remote-seat-status.is-waiting{background:rgba(245,158,11,.12);color:#f59e0b}
.remote-seat-status.is-waiting::before{background:#f59e0b}
.remote-seat-status.is-connected{background:rgba(34,197,94,.12);color:#22c55e}
.remote-seat-status.is-connected::before{background:#22c55e}
.remote-seat-status.is-agent{background:rgba(148,163,184,.15);color:#64748b}
.remote-seat-status.is-agent::before{background:#94a3b8}
.remote-seat-status.is-agent.is-ready{background:rgba(34,197,94,.12);color:#22c55e}
.remote-seat-status.is-agent.is-ready::before{background:#22c55e}

/* 等待席位沿用原暂停按钮的橙色提示，输入后暂停键移入对话框。 */
.game-role-arena.is-online .remote-seat-status.is-waiting{
  padding:7px 12px;
  border:1px solid #f0c98a;
  border-radius:9px;
  background:#fff7e8;
  color:#b97114;
  font-size:13px;
  font-weight:700;
}
.game-role-arena.is-online .remote-seat-status.is-waiting::before{
  width:8px;
  height:8px;
  margin:0;
  background:#e99326;
  animation:seat-wait-pulse 1.6s ease-in-out infinite;
}
@keyframes seat-wait-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(233,147,38,.38)}
  50%{box-shadow:0 0 0 5px rgba(233,147,38,0)}
}
.negotiation-composer button.is-stop{background:#d94747}
.negotiation-composer button.is-stop:hover{background:#bf3030}
.negotiation-composer button.is-resume{background:#188866;font-size:17px}
.negotiation-composer button.is-resume:hover{background:#116d52}
.negotiation-composer .stop-square{display:block;width:11px;height:11px;margin:auto;border-radius:2px;background:#fff}
.game-role-arena.is-online .negotiation-panel.is-agent-seat{opacity:1}
.game-role-arena.is-online .negotiation-panel.is-agent-seat .negotiation-head-config select{pointer-events:auto;opacity:1}
/* v98: 状态标签改成按钮样式 */
.remote-seat-status{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:8px;font-size:12px;font-weight:500;border:1px solid transparent}
.remote-seat-status.is-waiting{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.remote-seat-status.is-waiting::before{content:"";width:8px;height:8px;border-radius:50%;background:#f97316;animation:pulse-dot 1.5s infinite}
.remote-seat-status.is-connected{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.remote-seat-status.is-connected::before{content:"";width:8px;height:8px;border-radius:50%;background:#22c55e}
.remote-seat-status.is-agent{background:#f8fafc;color:#64748b;border-color:#e2e8f0}
.remote-seat-status.is-agent::before{content:"";width:8px;height:8px;border-radius:50%;background:#94a3b8}
.remote-seat-status.is-agent.is-ready{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.remote-seat-status.is-agent.is-ready::before{background:#22c55e}

/* v99: 只读提示精简 */
.readonly-wait{padding:6px 10px !important;font-size:11px !important;margin:4px 0 !important;background:transparent !important;border:1px dashed #cbd5e1 !important;border-radius:6px !important}
.negotiation-panel.is-readonly .negotiation-empty{padding:8px 0 !important}
.negotiation-panel.is-readonly .negotiation-dialog{padding:8px 10px !important}
/* v100: 隐藏空态框 */
.negotiation-panel.is-readonly .negotiation-empty{display:none !important}

/* 第二、四屏的行业细分角色选择。 */
#game-workspace .negotiation-panel .negotiation-head{height:auto;min-height:78px}
#game-workspace .negotiation-panel .negotiation-head .head-status{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;white-space:normal}
.subrole-picker{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;color:#668397;font-size:11px;font-weight:700}
.subrole-picker select{width:178px;max-width:100%;height:32px;padding:0 28px 0 10px;border:1px solid #c9dfeb;border-radius:8px;background:#f8fcfe;color:#235674;font-size:12px;outline:none;cursor:pointer}
.subrole-picker select:focus-visible{border-color:#138ccb;box-shadow:0 0 0 3px rgba(19,140,203,.15)}
#game-workspace .game-role-arena.is-online .agent-subrole-slot{flex:1 1;justify-content:center;min-width:0}
#game-workspace .game-role-arena.is-online .agent-subrole-slot .subrole-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#game-workspace .game-role-arena.is-online .agent-subrole-slot .subrole-picker select{width:178px}
#game-workspace .game-role-arena{flex:1 1 auto;height:auto !important;min-height:0 !important}
@media(max-width:700px){
  #game-workspace .negotiation-panel .negotiation-head:has(.subrole-picker){flex-wrap:wrap}
  #game-workspace .negotiation-panel .negotiation-head .head-status{align-items:flex-start;width:100%}
}

/* 第二、四屏在桌面窗口中填满可视高度；旧的矮屏规则会把面板锁在 560px。 */
@media (min-width:1281px){
  #game-workspace.game-play-shell{height:100dvh !important;min-height:0 !important;overflow:hidden !important}
  #game-workspace .game-play-stage{height:100% !important;overflow:hidden !important}
  #game-workspace .sandbox-table{flex:1 1 auto !important;height:auto !important;overflow:hidden !important}
  #game-workspace .game-role-arena,
  #game-workspace .game-role-arena.has-leader,
  #game-workspace .game-role-arena.is-online{flex:1 1 auto !important;height:auto !important;min-height:0 !important}
  #game-workspace .game-role-arena>.negotiation-panel,
  #game-workspace .game-role-arena>.negotiation-research{height:100% !important;min-height:0 !important}
}

/* 三方面板的标题分隔线和底部输入框对齐。 */
#game-workspace .game-role-arena>.negotiation-panel .negotiation-head{height:96px !important;min-height:96px !important;padding:14px 16px !important}
#game-workspace .game-role-arena>.negotiation-panel .negotiation-dialog{padding-bottom:12px !important}
#game-workspace .game-role-arena>.negotiation-panel .negotiation-composer textarea,
#game-workspace .game-role-arena>.negotiation-panel:first-child .negotiation-composer textarea{height:40px !important;min-height:40px !important}
.game-demo-select{display:flex;flex-direction:column;gap:5px;color:#52748a;font-size:12px;font-weight:700}
.game-demo-select select{width:100%;min-width:0;height:38px;padding:0 12px;border:1px solid #b8d8eb;border-radius:9px;background:#f8fcff;color:#124769;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}
.public-final{margin-top:14px;padding:14px;border:1px solid #b9d9cf;border-radius:10px;background:#f2faf7;color:#214f46;font-size:13px;line-height:1.55}
.public-final h3{margin:0 0 8px;font-size:15px;color:#116c55}
.public-final ul{margin:0;padding-left:20px}
.public-final li+li{margin-top:6px}
.public-final p{margin:10px 0 0;padding-top:10px;border-top:1px solid #cfe8dd;color:#80512b}
.public-analysis-box{background:#f7fafc;border-style:dashed}
.public-plan-box{background:#f2f8ff;border-color:#bddcf0}
.public-tag.is-private{background:#eef1f4;color:#6b7f8c}
.public-hidden-note{margin:3px 0 0;color:#8498a5;font-size:11px}
.public-subhead{gap:8px}
.public-subhead b{line-height:1.4}
.public-tag{flex:none;white-space:nowrap}
.public-final{padding:18px;border:2px solid #d6a24b;background:linear-gradient(145deg,#fff9e9,#effaf5);box-shadow:0 8px 24px rgba(130,94,32,.16)}
.public-final-heading{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e5cfaa}
.public-final-heading span{display:block;margin-bottom:4px;color:#ad7828;font-size:11px;font-weight:800;letter-spacing:.12em}
.public-final h3{margin:0;color:#77511a;font-size:18px;line-height:1.35}
.public-final li{padding:4px 0;font-weight:600}
.public-final details{margin-top:12px;padding-top:10px;border-top:1px solid #e5cfaa}
.public-final summary{color:#116c55;font-size:12px;font-weight:700;cursor:pointer}
.dialog-consensus-link{flex:none;align-self:stretch;margin:6px 0;padding:7px 10px;border:1px solid #d7b56f;border-radius:7px;background:#fff7e7;color:#855b19;font-size:11px;font-weight:800;cursor:pointer}
.dialog-consensus-link:hover{background:#ffecc5}

/* Keep the analysis workspace at its initial desktop width as content arrives. */
@media (min-width: 901px) {
  #game-workspace .sandbox-table:not(.is-online) {
    width: min(100%, 1432px);
    min-width: 0;
  }
}
.online-lobby-error{margin:0 0 10px;color:#ffd2c9;font-size:12px;line-height:1.4}
#game-workspace .game-role-arena>.negotiation-panel .negotiation-round-layout:not(.output-only){
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}

/* v101: 修复窗口扩大 */
#game-workspace .game-role-arena>.negotiation-panel,
#game-workspace .game-role-arena>.negotiation-research{
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
#game-workspace .game-role-arena>.negotiation-panel .negotiation-dialog{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
}

/* 第五屏：单机业务角色选择。 */
.solo-role-screen{position:fixed;inset:0;z-index:10000;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:80px 24px;background:linear-gradient(145deg,#edf6fc,#f6f9fc);color:#183e59}
.solo-role-back{position:absolute;top:24px;left:32px;padding:10px 18px;border:1px solid #c9dfed;border-radius:8px;background:#fff;color:#245a7a;cursor:pointer}
.solo-role-card{width:min(100%,800px);padding:40px 44px;border:1px solid #d9e6ef;border-radius:16px;background:#fff;box-shadow:0 12px 36px rgba(36,96,137,.07)}
.solo-role-kicker{display:inline-block;padding-left:10px;border-left:3px solid #168ac4;color:#168ac4;font-size:13px;font-weight:600;line-height:18px}
.solo-role-card h1{margin:16px 0 30px;font-size:28px;font-weight:700;line-height:1.4;letter-spacing:.02em}
.solo-role-options{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}
.solo-role-options button{position:relative;display:flex;flex-direction:column;gap:10px;min-height:108px;padding:22px 24px;text-align:left;border:1px solid #dce7ef;border-radius:10px;background:#fbfdff;color:#244d67;font-family:inherit;font-weight:400;cursor:pointer;transition:border-color .15s,background .15s}
.solo-role-options button:hover{border-color:#87bddd;background:#f5faff}
.solo-role-options button.is-selected{border-color:#138dca;background:#edf8ff;box-shadow:inset 0 0 0 1px #138dca}
.solo-role-options button.is-selected::after{content:"✓";position:absolute;top:16px;right:16px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#138dca;color:#fff;font-size:12px}
.solo-role-options strong{font-size:18px;font-weight:600}.solo-role-options span{color:#70889a;font-size:13px;line-height:1.5}
.solo-role-field{display:block;margin-top:28px;padding-top:24px;border-top:1px solid #edf1f5;font-size:14px;font-weight:600}
.solo-role-dropdown{margin-top:12px;font-size:14px;font-weight:400}
.solo-role-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:50px;padding:12px 16px;border:1px solid #bfd5e4;border-radius:8px;background:#fbfdff;color:#294b63;cursor:pointer;list-style:none}
.solo-role-dropdown summary::-webkit-details-marker{display:none}.solo-role-dropdown summary>span{color:#527994;font-size:18px}
.solo-role-dropdown[open] summary{border-color:#168ac4;background:#f5faff}.solo-role-dropdown[open] summary>span{transform:rotate(180deg)}
.solo-role-dropdown-menu{display:flex;flex-direction:column;gap:4px;max-height:320px;overflow-y:auto;margin-top:8px;padding:8px;border:1px solid #d3e2ed;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(31,73,105,.09)}
.solo-role-dropdown-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:6px;background:#fff;color:#203f57;text-align:left;font-family:inherit;font-size:14px;line-height:1.6;cursor:pointer}
.solo-role-dropdown-menu button:hover,.solo-role-dropdown-menu button:focus-visible{background:#edf6fc;color:#125f90}.solo-role-dropdown-menu button[aria-pressed="true"]{background:#e7f3fc;color:#10699e;font-weight:600}
.solo-role-dropdown summary:focus-visible,.solo-role-dropdown-menu button:focus-visible{outline:2px solid #70bee9;outline-offset:2px}
.solo-role-enter{display:block;width:100%;margin-top:28px;padding:14px;border:0;border-radius:8px;background:#0784c4;color:#fff;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer}.solo-role-enter:hover{background:#0676b0}.solo-role-enter:disabled{opacity:.5;cursor:wait}
.solo-role-options button:focus-visible,.solo-role-enter:focus-visible,.solo-role-back:focus-visible{outline:3px solid #70bee9;outline-offset:3px}
@media(max-width:600px){.solo-role-screen{padding:76px 16px 24px;align-items:flex-start}.solo-role-card{padding:24px}.solo-role-card h1{font-size:24px;margin-bottom:24px}.solo-role-options{grid-template-columns:1fr}.solo-role-options button{min-height:90px;padding:18px}.solo-role-back{left:16px;top:16px}}

/* 第二屏：突出用户选定的行业或第三方指定的首发智能体。 */
#game-workspace .game-role-arena.has-selected-seat>.negotiation-panel.is-leader{--seat-accent:#168dca;--seat-glow:rgba(22,141,202,.2);--seat-tint:#edf8ff;border-color:var(--seat-accent);box-shadow:0 0 0 2px var(--seat-glow),0 0 22px var(--seat-glow),0 8px 24px rgba(8,59,99,.07)}
#game-workspace .game-role-arena.has-selected-seat>.negotiation-panel.is-leader.compute{--seat-accent:#159e91;--seat-glow:rgba(21,158,145,.2);--seat-tint:#edf9f6}
#game-workspace .game-role-arena.has-selected-seat>.negotiation-panel.is-leader.telco{--seat-accent:#8260ce;--seat-glow:rgba(130,96,206,.2);--seat-tint:#f4f0fc}
#game-workspace .game-role-arena.has-selected-seat>.negotiation-panel.is-leader .negotiation-head{background:linear-gradient(110deg,var(--seat-tint),#fff);border-bottom-color:var(--seat-accent)}
#game-workspace .game-role-arena.has-selected-seat>.negotiation-panel.is-leader .negotiation-head h2{color:var(--seat-accent)}

/* 演示选项仅在本方配置区展开，顶部只保留入口按钮。 */
.guide-actions .topbar-demo{border:1px solid #9ccde6;border-radius:8px;background:#edf8ff;color:#116c9e;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0}
.guide-actions .topbar-restart,.guide-actions .topbar-dataprep{white-space:nowrap;flex-shrink:0}
.negotiation-panel>.game-demo-picker{flex:none;display:flex;flex-direction:column;gap:10px;padding:12px 14px;border-bottom:1px solid #dceaf3;background:#f7fafb;min-width:0}
.game-demo-picker-row{display:flex;align-items:center;gap:8px;min-width:0}
.game-demo-picker-row select{flex:1 1;width:0;min-width:0;height:38px;padding:0 8px;border:1px solid #bdd8e9;border-radius:7px;background:#fff;color:#244d67;font:inherit;font-size:12px}
.game-demo-picker-row button{flex:none;padding:8px 10px;border:0;border-radius:7px;background:#0784c4;color:#fff;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.game-demo-picker-row button:disabled{opacity:.5;cursor:default}
.game-demo-picker small{font-size:11px;color:#658299;line-height:1.6;font-weight:400}
.negotiation-question-message{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;margin:18px 0 22px;min-width:0}
.negotiation-question-content{max-width:calc(100% - 44px);min-width:0}.negotiation-question-content>small{display:block;margin-bottom:5px;color:#658299;font-size:11px;text-align:right}
.negotiation-question-content>p{margin:0;padding:12px 14px;border:1px solid #b9ddef;border-radius:12px 2px 12px 12px;background:#eaf6ff;color:#234c69;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.negotiation-user-avatar{display:grid;place-items:center;flex:none;width:32px;height:32px;margin-top:22px;border:1px solid #b9ddef;border-radius:50%;background:#dcefff;color:#1684bb}.negotiation-user-avatar svg{width:21px;height:21px}

/* 第二屏一次性配置蒙层。 */
.guide-actions .game-setup-help{display:grid;place-items:center;align-self:center;flex:none;width:28px;height:28px;padding:0;border:1px solid #9cc9e2;border-radius:50%;background:#fff;color:#167cac;font-size:15px;line-height:1;font-weight:600;cursor:pointer}
.game-setup-guide{position:fixed;inset:0;z-index:100000;isolation:isolate}
.game-setup-guide-mask{position:absolute;inset:0;pointer-events:none}
.game-setup-guide-highlight{position:absolute;border:2px solid #7dd3fc;border-radius:8px;box-shadow:0 0 0 3px rgba(125,211,252,.22),0 0 24px rgba(125,211,252,.3);pointer-events:none}
.game-setup-guide-tip{position:absolute;max-width:calc(100vw - 32px);padding:22px;border:1px solid #cde4f2;border-radius:14px;background:#fff;color:#21485f;box-shadow:0 12px 40px rgba(0,20,40,.22)}
.game-setup-guide-tip h3{margin:0 0 20px;font-size:17px;line-height:1.7}
.game-setup-guide-tip button{display:block;margin-left:auto;padding:9px 20px;border:0;border-radius:8px;background:#0784c4;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.game-setup-guide-tip button:focus-visible,.game-setup-help:focus-visible{outline:3px solid #7dd3fc;outline-offset:3px}

.game-setup-guide-arrow{position:absolute;top:-8px;left:calc(50% - 8px);width:16px;height:16px;transform:rotate(45deg);background:#fff;border-top:1px solid #cde4f2;border-left:1px solid #cde4f2}
.game-setup-guide-tip h3{margin:0 0 10px;font-size:16px}.game-setup-guide-tip p{margin:0 0 18px;color:#607c90;font-size:13px;line-height:1.75}
.game-setup-guide-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.game-setup-guide-footer>span{color:#7890a1;font-size:12px}

.online-lobby-roleopts button{display:flex;flex-direction:column;align-items:center;gap:8px}.online-lobby-roleopts button small{font-size:11px;font-weight:400;color:#8eadc5}.online-lobby-roleopts button.is-selected small{color:#8be5cf}.online-lobby-roleopts button strong{font-size:18px;font-weight:600}
.online-lobby-roleopts button:disabled{cursor:default;opacity:1}.online-lobby-gen:disabled,.online-lobby-regen:disabled{opacity:.45;cursor:not-allowed}
.online-lobby-foot .primary:disabled{opacity:.4;box-shadow:none;cursor:not-allowed}.online-lobby-foot .primary:not(:disabled){box-shadow:0 0 22px rgba(47,143,224,.35)}
.online-lobby-readiness{margin:14px 0;color:#b7d1e5;font-size:12px;text-align:center}

.game-setup-guide-arrow.is-above{top:auto;bottom:-8px;transform:rotate(225deg)}

.online-lobby-center .online-lobby-title{display:flex;align-items:center;justify-content:center;gap:12px}
.online-lobby-help{display:grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:1px solid #6e9cc4;border-radius:50%;background:rgba(255,255,255,.08);color:#d5edff;font-size:14px;line-height:1;font-weight:600;cursor:pointer;letter-spacing:0}
.online-lobby-help:focus-visible{outline:2px solid #7dd3fc;outline-offset:3px}
.game-setup-guide-tip .game-setup-guide-skip{position:absolute;top:14px;right:16px;margin:0;padding:4px 8px;border:0;background:transparent;color:#69899e;font-size:12px;font-weight:400;line-height:1.5;cursor:pointer}
.game-setup-guide-tip .game-setup-guide-skip:hover{background:#edf6fc;color:#147caf}
.game-setup-guide-tip h3{padding-right:48px}

.online-lobby-roles>.online-lobby-label{display:block;width:100%;text-align:center;animation:lobby-role-breathe 2.6s ease-in-out infinite}
@keyframes lobby-role-breathe{0%,100%{opacity:.62}50%{opacity:1;text-shadow:0 0 10px rgba(137,203,255,.35)}}
@media(prefers-reduced-motion:reduce){.online-lobby-roles>.online-lobby-label{animation:none}}

.online-lobby-host-hint{margin:14px 0 0;color:#aac8df;font-size:12px;text-align:center}

.online-lobby-playmodes{margin-bottom:8px}
.online-lobby-playmodes>.online-lobby-label{display:block;width:100%;text-align:center;margin-bottom:14px}
.online-lobby-playopts{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}
.online-lobby-playopts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:108px;padding:18px 14px;border:1px solid rgba(120,180,240,.28);border-radius:12px;background:rgba(255,255,255,.06);color:#cfe3f5;cursor:pointer;text-align:center;transition:border-color .2s,background .2s,box-shadow .2s,transform .18s}
.online-lobby-playopts button strong{font-size:17px;font-weight:700}
.online-lobby-playopts button small{font-size:12px;line-height:1.5;color:#8eadc5;font-weight:400}
.online-lobby-playopts button:hover{transform:translateY(-2px);border-color:rgba(95,176,255,.55);box-shadow:0 8px 20px rgba(47,143,224,.2)}
.online-lobby-playopts button.is-selected{background:linear-gradient(135deg,#2f8fe0,#1f6fc8);border-color:#5fb0ff;color:#fff;box-shadow:0 0 18px rgba(47,143,224,.45)}
.online-lobby-playopts button.is-selected small{color:#d7ecff}
.online-lobby-mode-badge{margin:0 0 16px;padding:8px 12px;border:1px solid rgba(120,180,240,.28);border-radius:8px;background:rgba(47,143,224,.12);color:#7cc0ff;font-size:13px;font-weight:600;text-align:center}

/* 专家模式：智能体对话反馈条件缺口 + 预填补充后下一步 */
.expert-gap-dialog{margin:8px 0 4px}
.negotiation-agent-message{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;margin:14px 0 18px;min-width:0}
.negotiation-agent-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b6ba8;color:#fff;font-size:12px;font-weight:700}
.negotiation-agent-content{max-width:calc(100% - 44px);min-width:0}
.negotiation-agent-content>small{display:block;margin-bottom:5px;color:#658299;font-size:11px;text-align:left}
.negotiation-agent-content>p{margin:0;padding:12px 14px;border:1px solid #d5e6f0;border-radius:2px 12px 12px 12px;background:#fff;color:#234c69;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.negotiation-agent-message.is-pending .negotiation-agent-content>p{border-style:dashed;color:#60788c;animation:expert-gap-pulse 1.4s ease-in-out infinite}
.expert-gap-check-wait{margin:4px 0 10px;padding:8px 10px;border-radius:8px;background:#eaf5fb;color:#0b6ba8;font-size:12px;line-height:1.5}
.expert-gap-composer{display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px;border-top:1px solid #e0edf5;background:#f7fbfe}
.expert-gap-composer-label{font-size:12px;color:#5d7f98}
.expert-gap-composer-input{width:100%;min-height:132px;max-height:220px;padding:10px 12px;border:1px solid #c5dfef;border-radius:10px;background:#fff;color:#173650;font:inherit;font-size:13px;line-height:1.65;resize:vertical;box-sizing:border-box}
.expert-gap-composer-input:focus{outline:2px solid #9ec5dc;outline-offset:1px}
.expert-gap-next{align-self:flex-end;padding:10px 18px;border:none;border-radius:8px;background:#0068b5;color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.expert-gap-next:disabled{opacity:.55;cursor:not-allowed}
@keyframes expert-gap-pulse{0%,100%{opacity:.72}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.negotiation-agent-message.is-pending .negotiation-agent-content>p{animation:none}}

.public-final-next{margin:10px 0 0;color:#5d7f98;font-size:12px;line-height:1.55}
.negotiation-agent-message.is-loop.is-inquiry .negotiation-agent-avatar{background:#b45309}
.negotiation-agent-message.is-loop.is-consensus .negotiation-agent-content>p{background:#f3fbf7;border-color:#b7e0cf}
.collaboration-loop-consensus{margin:12px 0;padding:12px;border:1px solid #d5e6f0;border-radius:10px;background:#f7fbfe}
.collaboration-loop-consensus>h4{margin:0 0 10px;font-size:14px;color:#0b5f8f}
.collaboration-loop-consensus>article{margin-top:10px;padding-top:10px;border-top:1px solid #e2eef5}
.collaboration-loop-consensus>article:first-of-type{margin-top:0;padding-top:0;border-top:0}
.collaboration-loop-consensus strong{display:block;margin-bottom:6px;font-size:13px;color:#173650}
.collaboration-loop-consensus ol{margin:0;padding-left:18px;display:grid;grid-gap:6px;gap:6px}
.collaboration-loop-consensus li{color:#456a82;font-size:12px;line-height:1.65}

/* 小循环完成后的大循环 / 独立质询智能体 */
.major-loop-panel{margin:0;padding:14px;border:1px solid #d5e6f0;border-radius:12px;background:linear-gradient(180deg,#fff,#f7fbfe);color:#173650;min-height:100%;box-sizing:border-box}
.major-loop-hint{margin:0;color:#5d7f98;font-size:12px;line-height:1.6}
.major-loop-progress{display:grid;grid-gap:12px;gap:12px}
.major-loop-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.major-loop-kicker{display:inline-block;margin-bottom:4px;color:#0b6ba8;font-size:11px;font-weight:700;letter-spacing:.04em}
.major-loop-head h3{margin:0 0 6px;font-size:15px;font-weight:750}
.major-loop-head p{margin:0;color:#5d7f98;font-size:12px;line-height:1.6}
.major-loop-badge{flex:none;padding:6px 10px;border:1px solid #9ec5dc;border-radius:999px;background:#eaf5fb;color:#0b6ba8;font-size:12px;font-weight:700;white-space:nowrap}
.major-loop-setup{display:grid;grid-gap:12px;gap:12px}
.major-loop-toggle{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid #d5e6f0;border-radius:10px;background:#fff;cursor:pointer}
.major-loop-toggle.is-on{border-color:#7eb7d8;background:#eaf5fb}
.major-loop-toggle input{margin-top:3px}
.major-loop-toggle strong{display:block;font-size:13px}
.major-loop-toggle small{display:block;margin-top:4px;color:#5d7f98;font-size:12px;line-height:1.5}
.major-loop-count{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#245a7a}
.major-loop-count select{min-width:96px;padding:8px 10px;border:1px solid #c5dfef;border-radius:8px;background:#fff}
.major-loop-start,.major-loop-reset{padding:10px 16px;border:none;border-radius:8px;background:#0068b5;color:#fff;font-size:13px;font-weight:700;cursor:pointer}
.major-loop-start:disabled{opacity:.5;cursor:not-allowed}
.major-loop-host-only{margin:0;padding:8px 10px;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:12px}
.major-loop-feed{display:grid;grid-gap:10px;gap:10px;max-height:420px;overflow:auto;padding-right:2px}
.major-loop-status{margin:0;padding:8px 10px;border:1px dashed #9ec5dc;border-radius:8px;background:#fff;color:#45708f;font-size:12px}
.major-loop-card{padding:12px;border:1px solid #d5e6f0;border-radius:10px;background:#fff}
.major-loop-card>header{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px}
.major-loop-card>header>b{color:#0b5f8f}
.major-loop-card>header>span{color:#7a98ad}
.major-loop-card>p,.major-loop-card li{margin:0;color:#234c69;font-size:12px;line-height:1.7;white-space:pre-wrap}
.major-loop-card ul{margin:0;padding-left:18px;display:grid;grid-gap:6px;gap:6px}
.major-loop-card.is-inquiry{border-color:#f0c48a;background:#fffaf3}
.major-loop-card.is-inquiry>header>b{color:#b45309}
.major-loop-card.is-reply.is-grid{border-left:3px solid #1f6feb}
.major-loop-card.is-reply.is-compute{border-left:3px solid #0f9f8a}
.major-loop-card.is-reply.is-telco{border-left:3px solid #7a5cc8}
.major-loop-card.is-consensus{background:#eef8f4;border-color:#b7e0cf}
.major-loop-report{padding:14px;border:1px solid #b7e0cf;border-radius:12px;background:#f3fbf7}
.major-loop-report>header small{color:#0f766e;font-size:11px;font-weight:700}
.major-loop-report>header h4{margin:6px 0 10px;font-size:15px;color:#134e4a}
.major-loop-report-summary{margin:0 0 12px;color:#234c69;font-size:13px;line-height:1.7}
.major-loop-report section{margin-top:10px}
.major-loop-report h5{margin:0 0 4px;font-size:13px;color:#0f766e}
.major-loop-report section p{margin:0;color:#456a82;font-size:12px;line-height:1.7}
.major-loop-report footer{margin-top:14px}
.major-loop-reset{background:#0f766e}

.online-required{margin-left:5px;color:#d98739;font-size:10px;font-style:normal;font-weight:400}
.online-form-status{flex:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 14px;border-bottom:1px solid #e0edf5;background:#f7fbfe}
.online-form-status button,.online-form-status>span{padding:6px 12px;border:1px solid #c6dce9;border-radius:7px;background:#fff;color:#66859a;font-size:12px}.online-form-status button{cursor:pointer}.online-form-status button:disabled{opacity:.65;cursor:default}.online-form-status .is-ready{color:#128260;border-color:#a9d9c9;background:#edf9f3}.online-form-status small{color:#b85b48;font-size:11px}

.online-field-label,.subrole-picker>span{display:flex;align-items:center;gap:4px}.online-field-label .online-required,.subrole-picker>span .online-required{margin-left:0}
.remote-industry-title{display:flex;flex-direction:column;gap:4px;min-width:0}.negotiation-head .remote-industry-title small{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;letter-spacing:0;color:#68869a}
.remote-form-status{padding:5px 10px;border:1px solid #c7dce9;border-radius:7px;background:#f8fcff;color:#7391a5;font-size:11px;white-space:nowrap}.remote-form-status.is-ready{border-color:#a9d9c9;background:#edf9f3;color:#128260}

/* 联机对话：提交后立即显示问题，等待提示跟随用户气泡。 */
.negotiation-question-content>small{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.online-input-wait{padding:3px 8px;border:1px solid #d4e5f0;border-radius:5px;background:#f3f9fd;color:#62869d;font-size:12px;font-weight:400;line-height:1.5}
#game-workspace .game-role-arena.is-online .subrole-picker{font-size:13px;gap:6px}
#game-workspace .game-role-arena.is-online .subrole-picker select{font-size:13px;height:36px}
#game-workspace .game-role-arena.is-online .negotiation-head-config{gap:12px;padding:12px 16px}
#game-workspace .game-role-arena.is-online .negotiation-head-config label{font-size:14px;gap:7px;color:#4c6d83}
#game-workspace .game-role-arena.is-online .negotiation-head-config select{font-size:13px;min-height:36px}
#game-workspace .game-role-arena.is-online .online-required{font-size:12px}
#game-workspace .game-role-arena.is-online .remote-seat-status{font-size:14px;padding:7px 12px}
#game-workspace .game-role-arena.is-online .remote-form-status{font-size:13px;padding:7px 12px}
#game-workspace .game-role-arena.is-online .remote-seat-controls{align-items:center;gap:10px}
#game-workspace .game-role-arena.is-online .remote-industry-title small{font-size:13px;line-height:1.6;color:#56788f}
#game-workspace .game-role-arena.is-online .online-form-status>span{font-size:13px}

/* 三方推演卡片以定高摘要展示，完整文字在详情页中阅读。 */
.round-preview-card{flex:none;min-width:0;margin-bottom:14px;border:1px solid #cce1ef;border-radius:10px;background:#fff;overflow:hidden}
.round-preview-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 12px;border-bottom:1px solid #e3edf4;color:#245570;font-size:12px}
.round-preview-card>header>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.round-preview-card>header>b{flex:none;color:#299676;font-size:10px}
.round-preview-card.is-active>header>b{color:#bc862c}
#game-workspace .negotiation-panel .round-preview-card .negotiation-round-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:10px;gap:10px;height:166px;padding:10px 12px;overflow:hidden}
#game-workspace .negotiation-panel .round-preview-card .negotiation-round-layout.output-only{grid-template-columns:minmax(0,1fr)}
.round-preview-card .round-analysis,.round-preview-card .round-output{min-width:0;min-height:0;padding:9px;overflow:hidden}
.round-preview-card .round-analysis>p,.round-preview-card .round-output>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;margin:7px 0 0;font-size:13px;line-height:1.7;overflow-wrap:anywhere;font-style:normal}
.round-preview-card small{font-size:11px}.round-preview-card>footer{display:flex;justify-content:flex-end;gap:8px;padding:7px 12px 10px}
.round-preview-card>footer button,.public-expand{border:1px solid #b8d9ee;border-radius:6px;padding:4px 10px;background:#f7fcff;color:#147cac;font:inherit;font-size:11px;cursor:pointer}
.public-card .public-two-col{max-height:170px;overflow:hidden}.public-card .public-subbox p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;font-size:13px;line-height:1.7}
.public-card>.public-expand{display:block;margin:10px 0 0 auto}.public-final .consensus-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:13px;line-height:1.7}.public-final>.public-expand{margin-top:12px}
.game-detail-dialog{width:min(1080px,calc(100vw - 48px));max-height:85vh;padding:0;border:1px solid #c8dfea;border-radius:16px;background:#fff;color:#214b65;box-shadow:0 20px 80px rgba(12,46,71,.25);overflow:hidden}
.game-detail-dialog::-webkit-backdrop{background:rgba(12,34,53,.58)}
.game-detail-dialog::backdrop{background:rgba(12,34,53,.58)}
.game-detail-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 26px;border-bottom:1px solid #dbe9f2;background:#f4faff}.game-detail-dialog h2{margin:0;font-size:20px;line-height:1.5}.game-detail-dialog>header button{flex:none;border:0;background:transparent;color:#567c93;font-size:28px;line-height:1;cursor:pointer}
.game-detail-body{padding:24px 26px;max-height:calc(85vh - 84px);overflow-y:auto;font-size:15px;line-height:1.9;overflow-wrap:anywhere}.game-detail-body h3{margin:0 0 14px;font-size:16px;color:#147cac}.game-detail-body p{margin:0;white-space:pre-wrap}.game-detail-body li{margin-bottom:14px}.game-detail-body ol,.game-detail-body ul{margin:0;padding-left:24px}.game-detail-body>section+section{margin-top:24px}.game-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:28px;gap:28px}.game-detail-columns>section{min-width:0}.game-detail-columns>section+section{border-left:1px solid #e1edf5;padding-left:28px}.detail-private-note{color:#7a91a1}
@media(max-width:700px){.game-detail-dialog{width:calc(100vw - 24px);max-height:90vh}.game-detail-dialog>header{padding:16px}.game-detail-dialog h2{font-size:17px}.game-detail-body{padding:18px;max-height:calc(90vh - 76px);font-size:14px}.game-detail-columns{grid-template-columns:1fr;gap:24px}.game-detail-columns>section+section{border-left:0;border-top:1px solid #e1edf5;padding:20px 0 0}}

/* 每栏内容单独滚动，卡片和输入区不随轮次数量压缩。 */
#game-workspace .game-role-arena>.negotiation-panel .negotiation-dialog{display:block!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;flex:1 1!important;overscroll-behavior:contain}
#game-workspace .negotiation-dialog>.negotiation-rounds{display:block;min-height:0;height:auto;overflow:visible;padding-right:3px}
#game-workspace .negotiation-panel>.negotiation-composer{flex:none;margin:0 12px 12px}
#game-workspace .negotiation-panel>.dialog-consensus-link{flex:none;margin:6px 12px}
#game-workspace .negotiation-rounds>.round-preview-card{height:256px;min-height:256px;flex:none;display:flex;flex-direction:column}
#game-workspace .round-preview-card>header{flex:0 0 48px;min-height:48px}
#game-workspace .round-preview-card>.negotiation-round-layout{flex:0 0 166px}
#game-workspace .round-preview-card>footer{flex:none;height:40px}
#game-workspace .round-preview-card .round-analysis>small,#game-workspace .round-preview-card .round-output>small{margin-bottom:0;line-height:18px}
#game-workspace .round-preview-card .round-analysis>p,#game-workspace .round-preview-card .round-output>p{margin-top:6px;-webkit-line-clamp:4;max-height:88.4px}
.public-card .public-subbox p{-webkit-line-clamp:4}

/* 第二屏顶部：四步流程与统一操作按钮。 */
.is-solo-guide .guide-steps{gap:12px;flex-wrap:wrap}.is-solo-guide .guide-steps li{white-space:nowrap;gap:8px}
.is-solo-guide .guide-steps .game-setup-help{display:grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:1px solid #9cc9e2;border-radius:50%;background:#fff;color:#167cac;font-size:14px;line-height:1;cursor:pointer}
.is-solo-guide .guide-actions{align-items:center;gap:8px;flex:none}
.is-solo-guide .guide-actions .topbar-demo,.is-solo-guide .guide-actions .topbar-restart,.is-solo-guide .guide-actions .topbar-dataprep{display:inline-flex;align-items:center;justify-content:center;width:88px;height:38px;padding:0;border:1px solid #9ccde6;border-radius:8px;background:#fff;color:#116c9e;font-family:inherit;font-size:13px;font-weight:600;line-height:1;box-shadow:none}
.is-solo-guide .guide-actions .topbar-demo:hover,.is-solo-guide .guide-actions .topbar-restart:hover,.is-solo-guide .guide-actions .topbar-dataprep:hover{background:#dff1fc;border-color:#68afd4}

.game-entry-cta .primary .game-next-arrow{display:inline-block;flex:none;width:24px;height:24px;margin-left:10px;vertical-align:middle}

/* MODE_CHOICE_REFINED_START */
.game-entry-bottom.mode-bottom-refined{grid-template-columns:minmax(0,1fr) 180px;gap:20px;align-items:end}
.mode-bottom-refined .game-entry-roles-wrap{gap:0;min-width:0}
.mode-bottom-refined .game-entry-role-title{margin:0 0 16px;font-size:23px;line-height:1.4}
.mode-bottom-refined .game-entry-roles.mode-roles{gap:18px;width:100%}
.mode-bottom-refined .mode-roles button{position:relative;min-height:112px;padding:18px 22px;border-width:1px;border-radius:12px;background:#fbfdff;transform:none;box-shadow:none;text-align:left}
.mode-bottom-refined .mode-roles button .role-head{gap:14px;align-items:center;width:100%}
.mode-bottom-refined .mode-roles button .role-head>i{flex:0 0 44px;width:44px;height:44px;border-radius:12px}
.mode-bottom-refined .mode-roles button .role-text{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-right:22px;min-width:0}
.mode-bottom-refined .mode-roles button .role-text strong{display:block;margin:0;font-size:18px;font-weight:700;line-height:1.35}
.mode-bottom-refined .mode-roles button .role-text small{display:block;margin:0;font-size:12px;line-height:1.5;color:#6f899c;font-weight:400}
.mode-bottom-refined .mode-roles button .mode-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;flex-basis:auto}
.mode-bottom-refined .mode-roles button .mode-tags i{margin:0;padding:2px 8px;border-radius:5px;font-size:10px;font-weight:400}
.mode-bottom-refined .mode-roles button.solo.is-selected{border-color:#168ccc;background:#f0f9ff;box-shadow:inset 0 0 0 1px #168ccc}
.mode-bottom-refined .mode-roles button.online.is-selected{border-color:#ba7517;background:#fdf7ed;box-shadow:inset 0 0 0 1px #ba7517}
.mode-bottom-refined .mode-roles button.is-selected::after{content:"✓";position:absolute;top:14px;right:14px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#168ccc;color:#fff;font-size:12px;font-weight:600}
.mode-bottom-refined .mode-roles button.online.is-selected::after{background:#ba7517}
.mode-bottom-refined .mode-roles button:hover{transform:none;background:#f4faff}
.mode-bottom-refined .game-entry-cta{align-self:end;display:flex;align-items:center;justify-content:center;height:112px;padding:0}
.mode-bottom-refined .game-entry-cta .primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;margin:0;border-radius:10px;font-size:15px;box-shadow:0 5px 14px rgba(7,132,196,.12)}
.mode-bottom-refined .game-entry-cta .primary .game-next-arrow{margin:0;width:23px;height:23px}
@media(max-width:1100px){.game-entry-bottom.mode-bottom-refined{grid-template-columns:1fr}.mode-bottom-refined .game-entry-cta{justify-content:flex-end;height:auto}.mode-bottom-refined .game-entry-cta .primary{width:180px}}
@media(max-width:700px){.mode-bottom-refined .game-entry-roles.mode-roles{grid-template-columns:1fr}.mode-bottom-refined .mode-roles button{padding:18px}.mode-bottom-refined .game-entry-role-title{font-size:21px}.mode-bottom-refined .game-entry-cta .primary{width:100%}}
/* 标签独立放在卡片右侧，左右内容均垂直居中。 */
.mode-bottom-refined .mode-roles button .role-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"icon title tags" "icon note tags";grid-column-gap:14px;column-gap:14px;grid-row-gap:7px;row-gap:7px;align-items:center}
.mode-bottom-refined .mode-roles button .role-head>i{grid-area:icon}
.mode-bottom-refined .mode-roles button .role-text{display:contents}
.mode-bottom-refined .mode-roles button .role-text strong{grid-area:title;align-self:end}
.mode-bottom-refined .mode-roles button .role-text small{grid-area:note;align-self:start}
.mode-bottom-refined .mode-roles button .mode-tags{grid-area:tags;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:0 20px 0 14px;max-width:320px}
.mode-bottom-refined .mode-roles button .mode-tags i{white-space:nowrap;padding:4px 10px;font-size:12px;line-height:1.5;border-radius:6px}
@media(max-width:600px){.mode-bottom-refined .mode-roles button .role-head{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"icon title" "icon note" "tags tags"}.mode-bottom-refined .mode-roles button .mode-tags{flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin:7px 0 0 58px}}
/* MODE_CHOICE_REFINED_END */

.online-submit-hint{display:block;flex:none;padding:0 14px 8px;color:#9b6f35;font-size:12px;line-height:1.6}

/* 联机公开方案卡片完整排列摘要区，避免父容器硬裁剪。 */
#game-workspace .game-role-arena.is-online .public-card{flex:none;padding:14px;border-radius:10px}
#game-workspace .game-role-arena.is-online .public-card .public-two-col{max-height:none;height:auto;overflow:visible;gap:12px}
#game-workspace .game-role-arena.is-online .public-card .public-subbox{flex:none;min-height:0;margin:0;padding:12px}
#game-workspace .game-role-arena.is-online .public-card .public-subhead{align-items:flex-start;gap:8px}
#game-workspace .game-role-arena.is-online .public-card .public-subhead b{font-size:13px;line-height:1.6}
#game-workspace .game-role-arena.is-online .public-card .public-analysis-box p{-webkit-line-clamp:5;font-size:13px;line-height:1.8;margin-top:8px}
#game-workspace .game-role-arena.is-online .public-card .public-plan-box p{-webkit-line-clamp:9;font-size:13px;line-height:1.8;margin-top:8px}
#game-workspace .game-role-arena.is-online .public-card>.public-expand{margin-top:12px;padding:6px 12px;font-size:12px}

/* 联机对方方案卡片收窄并靠右，保留左侧留白。 */
#game-workspace .game-role-arena.is-online>.negotiation-panel.is-readonly .round-preview-card{width:70%;max-width:560px;margin-left:auto;margin-right:0}
@media(max-width:700px){#game-workspace .game-role-arena.is-online>.negotiation-panel.is-readonly .round-preview-card{width:70%}}

.is-online-guide.is-solo-guide .guide-actions .topbar-demo.has-room-votes,.is-online-guide.is-solo-guide .guide-actions .topbar-restart.has-room-votes{width:124px;justify-content:space-between;padding:0 12px;gap:8px}
.room-vote-count{display:inline-block;flex:none;min-width:28px;text-align:right;font-size:12px;font-weight:600;color:#538aa7}
.is-online-guide .guide-actions button:disabled{opacity:.65;cursor:default}

.remote-subrole-popover{position:relative;display:block;margin-top:8px}
.remote-subrole-popover>button{padding:6px 12px;border:1px solid #b9dced;border-radius:7px;background:#fff;color:#397b9f;font:inherit;font-size:14px;cursor:pointer}
.remote-subrole-bubble{position:absolute;top:calc(100% + 10px);left:0;z-index:20;width:max-content;max-width:300px;padding:12px 16px;border:1px solid #badcec;border-radius:10px;background:#fff;color:#315f7c;font-size:15px;line-height:1.6;white-space:normal;box-shadow:0 6px 20px #23567520}
.remote-subrole-bubble:before{content:"";position:absolute;top:-6px;left:24px;width:10px;height:10px;background:#fff;border-top:1px solid #badcec;border-left:1px solid #badcec;transform:rotate(45deg)}
.is-online-guide .guide-actions .topbar-demo.is-room-demo-active{justify-content:center;background:#edf8ff;animation:room-demo-breathe 1.8s ease-in-out infinite}
@keyframes room-demo-breathe{0%,100%{box-shadow:0 0 0 0 #168dce10;opacity:1}50%{box-shadow:0 0 0 4px #168dce25;opacity:.65}}
@media(prefers-reduced-motion:reduce){.is-online-guide .guide-actions .topbar-demo.is-room-demo-active{animation:none}}

#game-workspace .game-role-arena.is-online .negotiation-head .remote-industry-title{flex-direction:row;align-items:center;gap:16px;overflow:visible}
#game-workspace .game-role-arena.is-online .remote-industry-title h2{flex:none;white-space:nowrap}
#game-workspace .game-role-arena.is-online .remote-subrole-popover{flex:none;margin:0;position:relative}
#game-workspace .game-role-arena.is-online .negotiation-head .remote-subrole-popover>button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;height:32px;margin:0;padding:0 10px;border:1px solid #bfdeec;border-radius:7px;background:#f5fbff;color:#4785a6;font-family:inherit;font-size:13px;font-weight:500;line-height:1;white-space:nowrap;box-shadow:none}
#game-workspace .game-role-arena.is-online .negotiation-head .remote-subrole-popover>button:hover{background:#e9f5fc;border-color:#91c6df}
#game-workspace .game-role-arena.is-online .remote-subrole-bubble{left:auto;right:0}
#game-workspace .game-role-arena.is-online .remote-subrole-bubble:before{left:auto;right:24px}

#game-workspace .game-role-arena.is-online .negotiation-panel:not(.is-readonly) .negotiation-head{display:grid;grid-template-columns:auto minmax(140px,1fr) auto;grid-gap:16px;gap:16px;align-items:center}
#game-workspace .game-role-arena.is-online .own-subrole-slot{justify-content:center;min-width:0}
#game-workspace .game-role-arena.is-online .own-subrole-slot .subrole-picker{width:100%;max-width:200px}
#game-workspace .game-role-arena.is-online .own-subrole-slot select{width:100%}
.own-connection-controls{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.remote-seat-status.is-disconnected{background:#fff4ed;border-color:#f2c4a5;color:#c06b38}
.remote-seat-status.is-disconnected:before{background:#e38b4c}
#game-workspace .negotiation-head .room-reconnect{width:auto;height:32px;padding:0 12px;border:1px solid #b4d8ea;border-radius:7px;background:#fff;color:#347b9f;font-family:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
#game-workspace .negotiation-head .room-reconnect:disabled{opacity:.6;cursor:wait}
@media(max-width:800px){#game-workspace .game-role-arena.is-online .negotiation-panel:not(.is-readonly) .negotiation-head{grid-template-columns:1fr auto}#game-workspace .game-role-arena.is-online .own-subrole-slot{grid-row:2;grid-column:1 / -1;justify-content:flex-start}}

#game-workspace .game-role-arena.is-online .negotiation-panel:not(.is-readonly) .negotiation-head>.head-status{align-self:center;justify-content:center}

.game-entry-energy-toolbar{position:absolute;top:66px;right:28px;z-index:5;display:flex;align-items:center;gap:8px}
.game-entry-energy-toolbar select{height:34px;max-width:110px;padding:0 10px;border:1px solid #9ed4ea;border-radius:18px;background:#fff;color:#087bb8;font:inherit;font-size:12px;font-weight:600}
.game-entry-energy .game-entry-energy-toolbar .twin-panorama-button{position:static;height:34px;box-shadow:none}
.game-entry-energy .game-energy-scale{width:70px;height:7px;border-radius:4px;background:linear-gradient(90deg,#e8f4fa,#3aa0c8,#064a6e)}
.game-entry-energy .game-energy-scale.is-heat{background:linear-gradient(90deg,#1d4ed8,#38bdf8,#fde68a,#f97316,#b91c1c)}
.game-entry-energy .twin-context-structure small{display:block;line-height:1.8}
.game-entry-energy .twin-context-structure>div i:nth-child(4){background:#e7a126}
.game-entry-energy .twin-context-structure>div i:nth-child(5){background:#568899}
.game-entry-energy .twin-detail-title>b{white-space:nowrap}

@media(min-width:981px){.game-entry-map-layout.game-entry-energy{grid-template-columns:minmax(210px,.55fr) minmax(0,1.98fr) minmax(270px,.62fr)}}
.game-entry-energy .game-entry-focus .twin-location-selectors{margin-top:24px;gap:12px}
.game-entry-energy .game-entry-focus .game-entry-period{grid-column:1}
.game-entry-energy .game-entry-focus .twin-city{margin-top:28px;margin-bottom:14px}
.game-entry-energy .game-entry-focus .twin-lines{margin:0 0 24px}
.game-entry-energy .game-entry-focus .twin-lines li{padding:19px 0;line-height:1.7;font-size:13px}
.game-entry-energy .game-entry-focus fieldset{padding:18px 14px}
.game-entry-energy .game-entry-focus .twin-layer{padding:12px 0}
.game-entry-energy .game-entry-focus .twin-hint{margin-top:20px;line-height:1.8}
.game-entry-energy .game-entry-detail .twin-detail-title{padding-top:22px;padding-bottom:20px}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal{gap:12px;margin-top:18px}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div{min-height:116px!important;padding:18px 14px!important;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;border:1px solid #d9e6ef;background:linear-gradient(145deg,#fff 10%,#f1f7fb);box-shadow:inset 0 1px 0 #fff,0 4px 12px #163d5c08;border-radius:11px}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div:before{display:none}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal dt{font-size:12px;font-weight:600;color:#6b8499;white-space:normal}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal dd{display:flex;flex-wrap:wrap;gap:5px;align-items:baseline}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal dd strong{font-size:26px;font-weight:700;letter-spacing:-.5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#153f5e}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal dd em{font-size:10px;color:#8398a8}
.game-entry-energy .game-entry-detail .twin-node-context{flex:1 1;display:flex;flex-direction:column;padding:18px 12px;margin-top:22px;border-top:1px solid #d9e6ef;border-radius:10px;background:#f7fafc}
.game-entry-energy .game-entry-detail .twin-context-head{padding-bottom:12px}
.game-entry-energy .game-entry-detail .twin-research-table>div{grid-template-columns:1fr;gap:7px;padding:10px!important}
.game-entry-energy .game-entry-detail .twin-research-table dd{text-align:left;font-size:12px!important}
.game-entry-energy .game-entry-detail .twin-research-note{margin-top:auto!important;padding-top:14px!important}
.game-energy-structure{margin:26px 0 24px}
.game-energy-structure>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:26px}
.game-energy-structure>header strong{font-size:13px;color:#234c68}
.game-energy-structure>header span{font-size:10px;color:#8298a9}
.game-energy-columns{display:flex;gap:9px;height:clamp(210px,24vh,280px);padding-top:6px}
.game-energy-axis{flex:none;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:28px;color:#8da2b1;font-size:9px}
.game-energy-column-plot{flex:1 1;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:9px;gap:9px;background:linear-gradient(#dce7ed 1px,transparent 1px) 0 6px/100% calc((100% - 28px)/2)}
.game-energy-column{min-width:0;display:flex;flex-direction:column;align-items:center}
.game-energy-column-track{display:flex;align-items:flex-end;justify-content:center;flex:1 1;min-height:0;width:100%;border-bottom:1px solid #d8e4ec}
.game-energy-column-fill{position:relative;width:65%;max-width:30px;background:linear-gradient(180deg,#68accb,#1c759f);border-radius:5px 5px 0 0;box-shadow:inset 1px 0 0 #ffffff40}
.game-energy-column-fill>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:7px;white-space:nowrap;color:#52768d;font-size:10px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
.game-energy-column>small{height:28px;display:flex;align-items:flex-end;justify-content:center;color:#6b879a;font-size:10px;white-space:nowrap}
.game-energy-empty{display:grid;place-items:center;min-height:210px;margin:0;color:#8ba0af;font-size:12px}
@media(max-width:980px){.game-entry-energy .game-entry-detail .twin-node-kpis-minimal{grid-template-columns:repeat(2,minmax(0,1fr))}.game-entry-energy .game-entry-focus .twin-lines li{padding:14px 0}}

.game-entry-energy .game-entry-detail .twin-detail-title{padding:15px 0}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal{margin-top:14px;gap:10px}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div{min-height:96px!important;padding:14px 12px!important;gap:8px}
.game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div.has-comparison{min-height:132px!important}
.game-energy-card-comparison{width:100%;display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:8px;padding-top:10px;border-top:1px solid #e0eaf1;font-size:10px;line-height:1.5;color:#8095a6;white-space:nowrap}
.game-energy-card-comparison b{font-weight:600;color:#617e93}
.game-energy-card-comparison .is-growth,.game-energy-card-comparison .is-growth b{color:#21946b}
.game-energy-card-comparison .is-decline,.game-energy-card-comparison .is-decline b{color:#d45353}
.game-energy-card-caption{color:#8a9fac;font-size:10px}
.game-entry-energy .game-entry-detail .twin-node-context{margin-top:16px;padding:14px 10px 10px}
.game-energy-structure{display:flex;flex:1 1;min-height:0;flex-direction:column;margin:0}
.game-energy-structure>header{margin-bottom:20px}
.game-energy-columns{height:clamp(140px,19vh,220px);flex:1 1;min-height:140px;max-height:240px}
.game-energy-empty{min-height:140px}
@media(max-height:850px) and (min-width:981px){
  .game-entry-energy .game-entry-detail .twin-detail-title{padding:10px 0}
  .game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div{min-height:80px!important;padding:11px 10px!important;gap:6px}
  .game-entry-energy .game-entry-detail .twin-node-kpis-minimal>div.has-comparison{min-height:112px!important}
  .game-entry-energy .game-entry-detail .twin-node-kpis-minimal dd strong{font-size:23px}
  .game-energy-card-comparison{margin-top:5px;padding-top:7px}
  .game-entry-energy .game-entry-detail .twin-node-context{margin-top:12px;padding-top:12px}
  .game-energy-columns{height:140px;min-height:120px}
}

.game-entry-energy .game-energy-card-comparison{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:11px;line-height:1.6}
.game-entry-energy .game-energy-structure>header{justify-content:center;text-align:center}
.game-entry-energy .game-entry-energy-toolbar{flex-wrap:nowrap}
.game-entry-energy .game-entry-energy-toolbar .twin-panorama-button{width:auto;min-width:88px;flex:0 0 auto;padding:0 14px;white-space:nowrap;line-height:1}
.game-entry-energy .game-entry-energy-toolbar select{flex:0 0 auto}

.game-entry-map-layout.game-entry-energy>.twin-card>header{justify-content:center;position:relative;min-height:40px;text-align:center}
.game-entry-energy>.game-entry-map{container-type:inline-size}
.game-entry-energy>.game-entry-map>header .game-entry-energy-toolbar{top:calc(50% - 5px);right:14px;max-width:calc(100% - 28px);box-sizing:border-box;transform:translateY(-50%)}
.is-solo-guide .guide-actions .topbar-analysis{display:inline-flex;align-items:center;justify-content:center;flex:none;width:100px;height:38px;padding:0 12px;border:1px solid #0787bc;border-radius:8px;background:#0787bc;color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer}
.is-solo-guide .guide-actions .topbar-analysis.is-running{background:#fff8ed;border-color:#e5b45c;color:#a16e19}
.is-solo-guide .guide-actions .topbar-analysis:disabled{background:#eff4f7;border-color:#d4e1e9;color:#99adbb;cursor:default}
.online-room-code{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;padding:9px 14px;border:1px solid #cce3ee;border-radius:8px;background:#fff;color:#65849a;font-size:13px;white-space:nowrap}
.online-room-code strong{margin-left:6px;color:#185d86;font-size:16px;font-weight:700;letter-spacing:2px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
@container(max-width:600px){.game-entry-energy>.game-entry-map>header{flex-wrap:wrap;gap:12px}.game-entry-energy>.game-entry-map>header h2{width:100%}.game-entry-energy>.game-entry-map>header .game-entry-energy-toolbar{position:static;transform:none;justify-content:center}}
.research-body.has-fixed-report{overflow:hidden;display:flex;flex-direction:column}
.collaboration-report{height:100%;min-height:0;display:flex;flex-direction:column;gap:14px}
.collaboration-report>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
.collaboration-report h3{margin:0;color:#183f5b;font-size:16px}
.collaboration-report>header small{color:#7794a9;font-size:11px;white-space:nowrap}
.collaboration-report-cards{flex:1 1;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}
.collaboration-report-cards>section{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:16px;border:1px solid #d8e8f2;border-radius:12px;background:linear-gradient(145deg,#fff,#f5faff)}
.collaboration-report h4{margin:0 0 10px;color:#087db7;font-size:14px}
.collaboration-report-cards p{margin:0;color:#486b82;font-size:13px;line-height:1.8;white-space:pre-line;height:100%;overflow:hidden;overflow-wrap:anywhere}
.collaboration-report-download>footer{display:grid;grid-template-columns:1.6fr 1fr;grid-gap:10px;gap:10px;flex:none;padding-top:4px}
.collaboration-report-download>footer button{height:42px;border:1px solid #a9d6ee;border-radius:9px;background:#f4fbff;color:#0879b4;font-size:14px;font-weight:700;cursor:pointer}
.collaboration-report-download>footer button:first-child{background:#087fbd;border-color:#087fbd;color:#fff}
.collaboration-report-preview{display:block;width:100%;height:70vh;border:0;background:#fff}
@media(max-height:760px){.collaboration-report{gap:8px}.collaboration-report-cards{gap:8px}.collaboration-report-cards>section{padding:10px 12px}.collaboration-report-cards p{font-size:12px}.collaboration-report h4{margin-bottom:6px}}

.collaboration-report-download{flex:none;padding-top:4px}
.collaboration-report-download>p{margin:0 0 12px;text-align:center;font-size:11px;line-height:1.6;color:#839bad}
.report-generating span{display:inline-block;animation:report-letter-pulse 1.2s ease-in-out infinite}
@keyframes report-letter-pulse{0%,70%,100%{opacity:.35}35%{opacity:1;color:#087fbd}}
@media(prefers-reduced-motion:reduce){.report-generating span{animation:none;opacity:1}}

.report-excerpt{position:relative;flex:1 1;min-height:0;overflow:hidden}
.report-excerpt-ellipsis{position:absolute;right:0;bottom:0;padding-left:12px;background:linear-gradient(90deg,transparent,#f5faff 25%);color:#486b82;font-size:13px;font-weight:400;line-height:1.8}
.collaboration-report-document{flex:1 1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:20px 18px;border:1px solid #d8e8f2;border-radius:12px;background:linear-gradient(145deg,#fff,#f5faff)}
.collaboration-report-document h4{flex:none;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid #e0edf5;text-align:center;font-size:15px;line-height:1.7;color:#214f70}
.collaboration-report-document p{flex:1 1;min-height:0;margin:0;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;color:#486b82;font-size:13px;line-height:1.9;text-align:justify}
.game-entry-map-layout.game-entry-energy{height:clamp(420px,64vh,700px);min-height:0}
.game-entry-energy .game-entry-focus,.game-entry-energy .game-entry-detail{padding-bottom:24px}
.game-entry-energy .game-entry-focus .twin-lines li{padding:8px 0}
.game-entry-energy .game-entry-focus .twin-lines{margin-bottom:16px}
.game-entry-energy .game-entry-detail .twin-node-context{flex:none}
.game-entry-energy .game-entry-energy-canvas{display:grid;grid-template-rows:minmax(0,1fr) auto;flex:none;height:clamp(300px,42vh,540px);min-height:0;margin-top:12px;overflow:hidden;border:1px solid #c9e1ec;border-radius:9px;background:#eaf6fb}
.game-entry-energy .game-entry-map .game-entry-energy-canvas .map-shell-canvas-wrap{height:100%!important;min-height:0!important;margin:0;border:0;border-radius:0;flex:1 1}
.game-entry-energy .game-entry-map .game-entry-energy-canvas .map-shell-echarts{height:100%!important;min-height:0!important}
.game-entry-energy .game-entry-energy-canvas .game-entry-map-legend{position:static;align-self:flex-end;flex:none;margin:12px 14px 14px;max-width:calc(100% - 28px);box-sizing:border-box}
@media(max-width:760px){.game-entry-map-layout.game-entry-energy{min-height:0}.game-entry-energy .game-entry-focus,.game-entry-energy .game-entry-detail{padding-bottom:30px}}

.game-entry:has(>.game-entry-energy){height:auto;min-height:calc(100vh - 72px);grid-template-rows:auto auto;row-gap:20px}
.game-entry-energy>.game-entry-map{padding-bottom:28px}
.game-entry-energy .game-entry-energy-canvas .game-entry-map-legend{justify-self:end;align-self:center;z-index:auto}
.game-entry-energy .game-energy-columns{height:clamp(130px,17vh,210px);min-height:120px;max-height:210px;flex:none}
.game-entry-energy .game-energy-card-comparison{flex-wrap:wrap;gap:4px 10px;white-space:normal}
.game-entry-energy .game-energy-card-comparison>span{white-space:nowrap;max-width:100%}
.game-entry-energy .game-energy-card-comparison>span:last-child{margin-left:auto}

/* ===== 第一屏紧凑化（v2026-10-15）：模式卡片文字不再竖排换行 + 纵向压缩 + 保证可滚动 ===== */
/* 1) 模式卡片：特性标签放在文字右侧、垂直居中，横排且字号加大。 */
.game-entry-bottom.mode-bottom-refined{grid-template-columns:minmax(0,1fr) 150px;gap:16px}
.mode-bottom-refined .mode-roles button .role-head{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"icon title tags" "icon note tags";column-gap:10px;row-gap:4px;align-items:center}
.mode-bottom-refined .mode-roles button .role-head>i{flex:0 0 40px;width:40px;height:40px;border-radius:11px}
.mode-bottom-refined .mode-roles button .role-text strong{font-size:17px}
.mode-bottom-refined .mode-roles button .mode-tags{grid-area:tags;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;margin:0;max-width:none}
.mode-bottom-refined .mode-roles button .mode-tags i{font-size:11px;padding:3px 8px;border-radius:6px;line-height:1.5;white-space:nowrap}
.mode-bottom-refined .mode-roles button .role-text strong,
.mode-bottom-refined .mode-roles button .role-text small{overflow-wrap:anywhere}
/* 2) 纵向压缩：模式卡片与操作区更矮，尽量让首屏落在一屏内 */
.mode-bottom-refined .mode-roles button{min-height:92px;padding:14px}
.mode-bottom-refined .game-entry-role-title{margin:0 0 8px;font-size:21px}
.mode-bottom-refined .game-entry-cta{height:76px}
.game-entry-actions{padding:6px 24px 8px}
.game-entry-energy>.game-entry-map{padding-bottom:10px}
.game-entry:has(>.game-entry-energy){row-gap:10px}
/* 地图画布跟随卡片高度撑满，消除卡片底部留白 */
.game-entry-energy .game-entry-energy-canvas{height:auto;flex:1 1 auto;min-height:150px}
/* 3) 兜底：首屏容器不再裁剪内容，内容超高时可滚动（大屏快照模式下的安全网） */
.game-entry-screen{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}
.game-two-screen{scroll-snap-type:y proximity}

/* v101: 第四屏联机模式「我方」标签 + 单栏输出物排版 */
/* 标签用绝对定位贴在面板左上角，不参与 flex 流，因此不会挪动任何现有元素；
   面板头部固定 96px、角色图标垂直居中后从 y≈31 起，18px 高的标签压不到图标。
   颜色与各方自己对话框的顶部主题色一致（电力蓝 / 算力青 / 通信紫）。 */
.negotiation-panel.is-own{position:relative}
.negotiation-panel.is-own::before{content:"我方";position:absolute;top:0;left:0;z-index:5;height:18px;padding:0 10px;border-radius:0 0 9px 0;background:var(--g-grid);color:#fff;font-family:inherit;font-size:11px;font-weight:700;line-height:18px;letter-spacing:.08em;pointer-events:none}
.negotiation-panel.is-own.compute::before{background:var(--g-compute)}
.negotiation-panel.is-own.telco::before{background:var(--g-telco)}
/* 看不到分析过程时，详情弹层只保留输出物一栏并铺满宽度（否则会停在左半栏）。 */
.game-detail-columns.output-only{grid-template-columns:minmax(0,1fr)}

/* v102: 「暂停分析」提示 + 暂停期间非暂停方的等待态 */
/* 槽位与按钮同宽同高（inline-flex 收缩到 100×38），提示在其中绝对定位，因此顶栏排版完全不动。 */
.guide-actions{position:relative}
.topbar-analysis-slot{position:relative;display:inline-flex;flex:none}
.topbar-analysis-hint{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);z-index:2;white-space:nowrap;color:#8a704a;font-size:10.5px;line-height:1.25;letter-spacing:.01em;pointer-events:none}
/* 暂停期间：所有方右上角统一是红色「暂停中」状态徽标（不再是可点的「继续分析」）。 */
.is-solo-guide .guide-actions .topbar-analysis.is-paused-state{width:100px}
.is-solo-guide .guide-actions .topbar-analysis.is-paused-state:disabled{background:#fdecea;border-color:#e9a7a1;color:#c0392b;font-weight:800;cursor:default;opacity:1}
/* 暂停期间的输入框：暂停方可继续输入（琥珀描边），非暂停方是等待态（灰字）。 */
.negotiation-composer.is-paused-input textarea::placeholder{color:#8a704a}
.negotiation-composer.is-paused-wait textarea::placeholder{color:#a9834a;font-weight:700}

/* v103: 暂停归属标签 + 暂停方提交条件后的留痕 */
/* 暂停方标题右侧的「暂停中」徽标：三方都能看到是哪一方暂停了，继续分析后自动消失。
   徽标是标题组的 flex 子元素，只占位不改变其它元素结构。 */
.negotiation-head .paused-role-tag{display:inline-flex;align-items:center;flex:none;padding:3px 9px;border:1px solid #f0b3ae;border-radius:999px;background:#fdecea;color:#c0392b;font-family:inherit;font-size:11px;font-style:normal;font-weight:800;line-height:1.4;letter-spacing:.04em;white-space:nowrap}
.negotiation-head .paused-role-tag::before{content:"";width:6px;height:6px;margin-right:5px;border-radius:50%;background:#d9534f;animation:paused-role-pulse 1.4s ease-in-out infinite}
@keyframes paused-role-pulse{0%,100%{opacity:1}50%{opacity:.3}}
/* 暂停/继续留痕：纯文本居中插在对话框内容流里，出现后固定停在原处（间距交给 .negotiation-rounds 的 gap）。 */
.negotiation-pause-log{display:grid;grid-gap:4px;gap:4px;margin:0;text-align:center}
.negotiation-pause-log .pause-log-item{margin:0;font-size:11.5px;font-weight:700;line-height:1.5;letter-spacing:.02em}
.negotiation-pause-log .pause-log-item.is-pause{color:#c0392b}
.negotiation-pause-log .pause-log-item.is-resume{color:#1c8a63}

/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/account.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* 顶栏账户入口 + 面板 */
.account-menu{position:relative;flex:none;margin-left:8px;z-index:60}
.account-menu-trigger{display:flex;align-items:center;gap:10px;height:44px;padding:0 10px 0 6px;border:1px solid #c8dfeb;border-radius:999px;background:#fff;color:var(--sg-ink);cursor:pointer}
.account-menu-trigger:hover,.account-menu-trigger.is-open{border-color:#0a7ec2;background:#f4faff}
.account-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#0a7ec2,#126fb2);color:#fff;font-size:14px;font-weight:800}
.account-avatar.lg{width:44px;height:44px;font-size:18px}
.account-avatar.xl{width:64px;height:64px;font-size:26px}
.account-menu-meta{display:grid;text-align:left;line-height:1.2}
.account-menu-meta strong{font-size:13px}
.account-menu-meta small{color:#7a98ad;font-size:11px}
.account-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,92vw);display:flex;flex-direction:column;border:1px solid #c8dfeb;border-radius:12px;background:#fff;box-shadow:0 18px 48px rgba(16,70,110,.16);overflow:hidden}
.account-panel-compact{padding-bottom:14px}
.account-panel-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #e3eef5;background:#f7fbfe}
.account-panel-head strong,.account-panel-head span{display:block}
.account-panel-head span{margin-top:3px;color:#5d7f98;font-size:12px}
.account-lead{margin:12px 16px;color:#5d7f98;font-size:12px;line-height:1.55}
.account-menu-entries{margin:0 12px;display:grid;grid-gap:8px;gap:8px}
.account-menu-entries a{padding:12px 14px;border:1px solid #d5e8f4;border-radius:10px;background:#f7fbfe;text-decoration:none;color:inherit}
.account-menu-entries a:hover{border-color:#0a7ec2;background:#eef8fd}
.account-menu-entries strong,.account-menu-entries span{display:block}
.account-menu-entries strong{color:#0a3f63;font-size:14px}
.account-menu-entries span{margin-top:4px;color:#7a98ad;font-size:12px}
.account-facts{margin:0;display:grid;grid-gap:8px;gap:8px}
.account-facts>div{display:grid;grid-template-columns:88px 1fr;grid-gap:8px;gap:8px;padding:10px 12px;border:1px solid #e3eef5;border-radius:8px;background:#fafcfd}
.account-facts dt{color:#7a98ad;font-size:12px}
.account-facts dd{margin:0;font-size:13px;font-weight:700;word-break:break-all}
.account-btn{height:38px;padding:0 16px;border:0;border-radius:6px;background:#0a7ec2;color:#fff;font-weight:700;cursor:pointer}
.account-btn.ghost{border:1px solid #b8d8eb;background:#fff;color:#075b97}
.account-links{margin:12px 16px 0;display:flex;flex-wrap:wrap;gap:8px}
.account-links a{height:32px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid #b8d8eb;border-radius:999px;background:#fff;color:#075b97;font-size:12px;font-weight:700;text-decoration:none}
.account-hint{color:#7a98ad;font-size:12px}
.workbench-mine-data{margin:0 16px 12px;padding:12px;border:1px solid #c8dfeb;border-radius:10px;background:#f7fbfe}
.workbench-mine-data>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.workbench-mine-data>header strong{font-size:14px}
.workbench-mine-data>header span{color:#7a98ad;font-size:11px}
.workbench-mine-data>.primary{width:100%;margin-top:10px;height:38px}

/* 个人中心独立页 */
.account-page{width:min(1100px,calc(100% - 40px));margin:0 auto;padding:24px 0 56px}
.account-page-hero{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #c8dfeb;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(16,70,110,.06)}
.account-page-identity{display:flex;align-items:center;gap:16px;min-width:0}
.account-page-identity small{display:block;color:#0a7ec2;font-size:11px;font-weight:800;letter-spacing:.08em}
.account-page-identity h1{margin:4px 0 6px;font-size:28px}
.account-page-identity p{margin:0;color:#5d7f98;font-size:13px}
.account-page-identity em{margin-left:10px;padding:3px 8px;border:1px solid #d5e8f4;border-radius:999px;background:#f7fbfe;color:#0a7ec2;font-style:normal;font-size:11px;font-weight:700}
.account-page-summary{display:flex;gap:10px;flex-wrap:wrap}
.account-page-summary article{min-width:110px;padding:12px 14px;border:1px solid #d5e8f4;border-radius:10px;background:#f7fbfe}
.account-page-summary small{display:block;color:#7a98ad;font-size:11px}
.account-page-summary strong{display:block;margin-top:6px;font-size:18px}
.account-page-summary em{display:block;margin-top:4px;color:#8aa1b0;font-size:10px;font-style:normal;line-height:1.35}
.account-page-lead{margin:16px 0;color:#5d7f98;font-size:13px;line-height:1.6}
.account-page-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:14px}
.account-page-tabs button{min-height:78px;padding:14px 16px;text-align:left;border:1px solid #c8dfeb;border-radius:10px;background:#fff;cursor:pointer}
.account-page-tabs button.active{border-color:#0a7ec2;background:#eef8fd;box-shadow:inset 3px 0 #0a7ec2}
.account-page-tabs strong,.account-page-tabs span{display:block}
.account-page-tabs strong{font-size:15px;color:#0a3f63}
.account-page-tabs span{margin-top:6px;color:#7a98ad;font-size:12px}
.account-page-panel{padding:22px;border:1px solid #c8dfeb;border-radius:14px;background:#fff}
.account-page-form>header,.account-page-data>header,.account-page-sandboxes>header{margin-bottom:14px}
.account-page-form>header strong,.account-page-data>header strong,.account-page-sandboxes>header strong{display:block;font-size:18px}
.account-page-form>header span,.account-page-data>header span,.account-page-sandboxes>header span{display:block;margin-top:6px;color:#7a98ad;font-size:12px}
.account-page-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-bottom:14px}
.account-page-fields label{display:grid;grid-gap:6px;gap:6px;font-size:12px;font-weight:700;color:#436b85}
.account-page-fields input{height:40px;padding:0 12px;border:1px solid #b9d9ec;border-radius:6px;font:inherit}
.account-page-form>footer{margin-top:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.account-page-form>footer .account-btn.ghost{width:auto;margin:0}
.account-page-actions{margin-bottom:14px;display:flex;flex-wrap:wrap;gap:8px}
.account-page-actions a,.account-page-actions button{height:34px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid #b8d8eb;border-radius:6px;background:#fff;color:#075b97;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.account-page-divider{margin:22px 0 14px;display:flex;align-items:center;gap:12px;color:#7a98ad;font-size:12px;font-weight:700}
.account-page-divider:before,.account-page-divider:after{content:"";flex:1 1;height:1px;background:#d5e8f4}
.local-upload{margin-bottom:4px;padding:16px;border:1px solid #d2c6f0;border-radius:12px;background:linear-gradient(180deg,#fbf9ff,#f7fbfe)}
.local-upload-head{margin-bottom:12px}
.local-upload-head strong{display:block;font-size:15px;color:#4a2f8a}
.local-upload-head span{display:block;margin-top:4px;color:#7a98ad;font-size:12px;line-height:1.5}
.local-upload-drop{min-height:88px;padding:16px;display:grid;place-content:center;grid-gap:4px;gap:4px;text-align:center;border:1px dashed #b7a6e4;border-radius:10px;background:#fff;cursor:pointer}
.local-upload-drop.is-drag{border-color:#7a5cc8;background:#f4effc}
.local-upload-drop input{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
.local-upload-drop b{font-size:14px;color:#7a5cc8}
.local-upload-drop small{color:#8aa1b0;font-size:11px}
.local-upload-list{margin:12px 0 0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}
.local-upload-list li{padding:8px 10px;display:flex;align-items:center;gap:10px;border:1px solid #e0edf4;border-radius:8px;background:#fff}
.local-upload-list li.empty{justify-content:center;color:#8aa1b0;font-size:12px}
.local-upload-open{flex:1 1;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.local-upload-open strong,.local-upload-open small{display:block}
.local-upload-open strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0a3f63;font-size:13px}
.local-upload-open small{margin-top:3px;color:#7a98ad;font-size:11px}
.local-upload-remove{height:28px;padding:0 10px;border:1px solid #d5e0e8;border-radius:5px;background:#fff;color:#7a98ad;font-size:12px;cursor:pointer}
.local-upload-notice{margin:10px 0 0;color:#23855c;font-size:12px}
.local-upload-viewer{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:rgba(7,63,101,.35)}
.local-upload-viewer-card{width:min(860px,100%);max-height:min(80vh,720px);display:flex;flex-direction:column;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 24px 60px rgba(7,63,101,.28)}
.local-upload-viewer-card>header{flex:none;padding:14px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #dceaf2}
.local-upload-viewer-card>header strong{display:block;font-size:15px;color:#0a3f63}
.local-upload-viewer-card>header span{display:block;margin-top:4px;color:#7a98ad;font-size:12px}
.local-upload-viewer-card>header button{height:32px;padding:0 12px;border:1px solid #b8d8eb;border-radius:6px;background:#fff;color:#075b97;font-size:12px;font-weight:700;cursor:pointer}
.local-upload-viewer-card>pre{flex:1 1;min-height:0;margin:0;padding:16px;overflow:auto;background:#0f2f44;color:#e8f4fb;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
.account-empty{margin:0;padding:28px;border:1px dashed #b9d9ec;border-radius:10px;background:#f7fbfe;color:#7a98ad;text-align:center}
.account-sandbox-list{display:grid;grid-gap:10px;gap:10px}
.account-sandbox-list article{padding:14px 16px;display:flex;justify-content:space-between;gap:16px;border:1px solid #d5e8f4;border-radius:10px;background:#f7fbfe}
.account-sandbox-list strong,.account-sandbox-list span,.account-sandbox-list small{display:block}
.account-sandbox-list span{margin-top:4px;color:#5d7f98;font-size:12px}
.account-sandbox-list small{margin-top:6px;color:#7a98ad;font-size:11px}
.account-sandbox-list article>div:last-child{display:flex;flex-direction:column;gap:6px}
.account-sandbox-list button{height:32px;padding:0 12px;border:1px solid #b8d8eb;border-radius:5px;background:#fff;color:#075b97;font-size:12px;font-weight:700;cursor:pointer}
.account-sandbox-list button.danger{border-color:#e2b4b0;color:#a94442}
.account-page-notice{position:fixed;left:50%;bottom:28px;z-index:20;padding:10px 16px;transform:translate(-50%,20px);border:1px solid #a8cfe4;background:#073f65;color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.18s}
.account-page-notice.show{transform:translate(-50%,0);opacity:1}
@media(max-width:900px){
  .account-page-hero{flex-direction:column;align-items:flex-start}
  .account-page-tabs{grid-template-columns:1fr}
  .account-page-fields{grid-template-columns:1fr}
  .account-sandbox-list article{flex-direction:column}
}
@media(max-width:720px){
  .account-menu-meta{display:none}
  .account-menu-trigger{padding:0 6px;border-radius:50%}
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/platform-unified.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************/
:root{--sg-blue:#0068b5;--sg-blue-deep:#004a86;--sg-cyan:#126fb2;--sg-green:#0068b5;--sg-gold:#e5a72f;--sg-ink:#132b43;--sg-muted:#60758a;--sg-line:#d9e7f2;--sg-wash:#f3f8fc;--sg-white:#fff;--sg-shadow:0 14px 38px rgba(20,76,119,.09)}
*{box-sizing:border-box}html{background:#f3f8fc;color:var(--sg-ink)}body{margin:0;background:linear-gradient(145deg,#fff 0,#f5faff 48%,#edf7fb 100%);color:var(--sg-ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.platform-global-header{height:72px;display:flex;align-items:center;gap:18px;padding:0 clamp(18px,3vw,48px);background:rgba(255,255,255,.96);border-bottom:0;box-shadow:0 7px 24px rgba(22,77,117,.06);position:relative;z-index:50}.platform-global-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--sg-ink);min-width:max-content}.platform-global-mark{width:38px;height:38px;border:3px solid var(--sg-blue);border-radius:11px 3px 11px 3px;display:grid;place-items:center;transform:rotate(45deg);background:#fff;box-shadow:inset 0 0 0 4px #eaf5fb}.platform-global-mark i{width:14px;height:6px;border-left:3px solid #2d8fc4;border-bottom:3px solid #2d8fc4;transform:rotate(-90deg);display:block}.platform-global-brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--sg-blue);margin-bottom:2px}.platform-global-brand strong{font-size:18px}.platform-global-nav{display:flex;align-items:stretch;align-self:stretch;margin-left:auto;overflow-x:auto;white-space:nowrap}.platform-global-nav a{display:flex;align-items:center;padding:0 14px;color:var(--sg-muted);text-decoration:none;font-size:13px;border-bottom:3px solid transparent}.platform-global-nav a:hover{color:var(--sg-blue);background:#f6fbff}.platform-global-scope{color:var(--sg-green);font-size:11px;white-space:nowrap;padding:7px 10px;border:1px solid #b9d9ea;background:#f1f8fc;border-radius:999px}.platform-agent-strip{max-width:1560px;margin:16px auto 0;padding:0 24px;display:grid;grid-template-columns:1.2fr repeat(3,1fr);grid-gap:1px;gap:1px}.platform-agent-strip>div{background:#fff;border:1px solid var(--sg-line);padding:13px 16px;margin-left:-1px}.platform-agent-strip>div:first-child{border-radius:10px 0 0 10px;margin-left:0;border-left:4px solid var(--sg-blue)}.platform-agent-strip>div:last-child{border-radius:0 10px 10px 0}.platform-agent-strip span{display:block;font-size:10px;letter-spacing:1px;color:var(--sg-muted)}.platform-agent-strip strong{display:block;margin-top:4px;color:var(--sg-ink);font-size:13px}.platform-agent-strip i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sg-green);margin-right:7px}.platform-demo-badge{display:inline-flex;color:#8b6516;background:#fff9ea;border:1px solid #f0d895;border-radius:999px;padding:6px 10px;font-size:11px}@media(max-width:1050px){.platform-global-header{height:auto;min-height:68px;flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:8px}.platform-global-nav{order:3;width:100%;height:42px}.platform-global-nav a{padding:0 12px}.account-menu{margin-left:auto}.platform-global-scope{margin-left:auto}.platform-agent-strip{grid-template-columns:1fr 1fr}}@media(max-width:620px){.platform-global-brand small{display:none}.platform-global-brand strong{font-size:16px}.platform-global-scope{font-size:9px}.platform-agent-strip{grid-template-columns:1fr;padding:0 12px}.platform-agent-strip>div{margin:-1px 0 0;border-radius:0!important}}

/* Unified overview + function measurement workspace */
body[data-platform-page=overview]{--v6-bg:#eef6fb;--v6-ink:#173650;--v6-muted:#60788c;--v6-line:#d4e4ef;--v6-green:#0068b5;--v6-deep:#00538f;--v6-mint:#eaf5fb;--v6-green2:#2d8fc4;--v6-blue:#1689c5;background:linear-gradient(145deg,#fff,#eef7fc)}
body[data-platform-page=overview] .v6-shell{min-height:100vh;background:transparent}
body[data-platform-page=overview] .v6-header{min-height:72px;background:#fff;border-color:#d6e5ef;box-shadow:0 8px 24px rgba(24,77,115,.06)}
body[data-platform-page=overview] .v6-brand b{background:#0068b5;border-radius:11px 3px 11px 3px}
body[data-platform-page=overview] .v6-brand small{color:#0068b5}
body[data-platform-page=overview] .v6-legacy-nav{gap:0;align-self:stretch}
body[data-platform-page=overview] .v6-legacy-nav a{display:flex;align-items:center;padding:0 13px;border-bottom:3px solid transparent;color:#60788c;font-size:12px}
body[data-platform-page=overview] .v6-legacy-nav a:first-child{color:#0068b5;border-bottom-color:#0068b5}
body[data-platform-page=overview] .v6-main{grid-template-columns:minmax(480px,46%) minmax(600px,54%);gap:16px;padding:16px 18px 12px}
body[data-platform-page=overview] .v6-map-pane,body[data-platform-page=overview] .v6-console{background:#fff;border-color:#d2e3ee;border-radius:14px;box-shadow:0 14px 36px rgba(23,73,110,.08)}
body[data-platform-page=overview] .v6-map-pane{border-top:4px solid #2d8fc4}
body[data-platform-page=overview] .v6-console{border-top:4px solid #0068b5}
body[data-platform-page=overview] .v6-pane-head h2,body[data-platform-page=overview] .v6-console-head h2{color:#173650}
body[data-platform-page=overview] .v6-map-wrap{background:linear-gradient(145deg,#e9f5fb,#dbeef8);border:1px solid #c7deeb}
body[data-platform-page=overview] .v6-map-title,body[data-platform-page=overview] .v6-layer-legend{color:#dff5ff}
body[data-platform-page=overview] .v6-tabs{background:#f7fbfe;border-color:#d8e6ef}
body[data-platform-page=overview] .v6-tabs button.active{color:#0068b5;border-color:#0068b5}
body[data-platform-page=overview] .v6-function-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-platform-page=overview] .v6-function{min-height:78px;text-align:left;background:#fff;border-color:#d5e5ef;border-radius:10px;padding:11px 12px;box-shadow:0 5px 14px rgba(25,77,113,.04)}
body[data-platform-page=overview] .v6-function b{color:#0068b5}
body[data-platform-page=overview] .v6-function.active{background:linear-gradient(120deg,#eaf5fb,#f6fcff);border-color:#6eb2d9;box-shadow:inset 4px 0 #0068b5,0 7px 18px rgba(0,104,181,.08)}
body[data-platform-page=overview] .v75-workspace{border-color:#d4e4ef;background:#fff}
body[data-platform-page=overview] .v75-title{background:linear-gradient(110deg,#f0f8fd,#fff)}
body[data-platform-page=overview] .v6-result-drawer{border-color:#d4e4ef;background:#fff}
@media(max-width:1100px){body[data-platform-page=overview] .v6-main{grid-template-columns:1fr}body[data-platform-page=overview] .v6-map-pane{position:relative;height:600px;min-height:600px!important}}

/* Blue and white visual system */
:root{--sg-green:#0068b5;--sg-cyan:#2d8fc4}
.platform-global-mark i{border-color:#2d8fc4}
.platform-global-scope{color:#0068b5;border-color:#b9d9ea;background:#f1f8fc}
.function-page-toolbar{display:flex;align-items:center;gap:18px;margin:12px 18px 0;padding:12px 16px;background:#fff;border:1px solid #c8deec;border-left:4px solid #0068b5;border-radius:10px;box-shadow:0 8px 22px rgba(22,77,117,.06)}
.function-page-toolbar>div:first-child{display:flex;flex-direction:column;min-width:210px}.function-page-toolbar>div:first-child strong{color:#004a86;font-size:14px}.function-page-toolbar>div:first-child span{color:#66839a;font-size:10px}.function-page-toolbar .v6-header-actions{margin-left:auto}
body[data-platform-page=functions] .v6-shell{grid-template-rows:auto auto 1fr}body[data-platform-page=overview] .v6-shell{grid-template-rows:auto 1fr auto}
@media(max-width:1050px){.function-page-toolbar{flex-wrap:wrap}.function-page-toolbar .v6-header-actions{width:100%;margin-left:0;overflow:auto}}
.platform-agent-strip i{background:#2d8fc4}
.platform-demo-badge{color:#2b6790;background:#eef7fc;border-color:#b9d9ea}
body[data-platform-page=overview]{--v6-green:#0068b5;--v6-green2:#2d8fc4;--v6-deep:#00538f;--v6-mint:#eaf5fb}
body[data-platform-page=overview] .v6-map-pane{border-top-color:#2d8fc4}
body[data-platform-page=overview] .v6-function strong{display:block;font-size:15px;line-height:1.35;color:#173650}
body[data-platform-page=overview] .v6-function span{display:block;margin-top:4px;font-size:11px;color:#60788c;line-height:1.5}
body[data-platform-page=overview] .v6-function.active{grid-column:span 2;min-height:96px;border:2px solid #0068b5;box-shadow:inset 5px 0 #0068b5,0 10px 24px rgba(0,104,181,.14)}
body[data-platform-page=overview] .v6-function.active strong{font-size:17px;color:#0068b5}
body[data-platform-page=overview] .v6-function.active b{letter-spacing:1.2px}
body[data-platform-page=overview] .v75-result-title h4{font-size:18px;color:#0068b5}
.qa-agent-step.done>b,.v75-agent-panel article.done>b{background:#e5f3fb;color:#0068b5}
.v75-agent-panel article>i{color:#2d8fc4}
@media(max-width:620px){body[data-platform-page=overview] .v6-function.active{grid-column:auto}}


body[data-platform-page=functions]{--v6-green:#0068b5;--v6-green2:#2d8fc4;--v6-deep:#00538f;--v6-mint:#eaf5fb;background:linear-gradient(145deg,#fff,#eef7fc)}body[data-platform-page=functions] .v6-header{background:#fff;border-color:#d6e5ef}body[data-platform-page=functions] .v6-main{display:block;padding:16px 18px}body[data-platform-page=functions] .v6-console{max-width:1440px;margin:0 auto;background:#fff;border-color:#d2e3ee;border-top:4px solid #0068b5;border-radius:14px;box-shadow:0 14px 36px rgba(23,73,110,.08)}
body[data-platform-page=overview] .v6-map-pane{border:2px solid #0068b5;border-radius:14px;background:#fff}
body[data-platform-page=overview] .spatial-inputs,body[data-platform-page=overview] .spatial-explanation{background:#fff!important;border:2px solid #0068b5!important;color:#173650}
.overview-agent-panel{margin:14px 18px 18px;border:2px solid #0068b5;border-radius:12px;background:#fff;overflow:hidden;width:calc(100% - 36px)}.overview-agent-panel header{display:flex;align-items:baseline;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #d4e4ef;background:#f1f8fc}.overview-agent-panel header span{font-size:10px;letter-spacing:1.5px;color:#0068b5}.overview-agent-panel header strong{font-size:16px;color:#173650}.overview-agent-panel>div{display:grid;grid-template-columns:repeat(3,1fr)}.overview-agent-panel article{padding:12px 14px;border-right:1px solid #d4e4ef}.overview-agent-panel article:last-child{border-right:0}.overview-agent-panel article b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#e5f3fb;color:#0068b5;margin-right:7px}.overview-agent-panel article strong{color:#173650;font-size:13px}.overview-agent-panel article small{display:block;margin:6px 0 0 33px;color:#60788c;font-size:11px}
@media(max-width:700px){.overview-agent-panel>div{grid-template-columns:1fr}.overview-agent-panel article{border-right:0;border-bottom:1px solid #d4e4ef}.overview-agent-panel article:last-child{border-bottom:0}}

/* Unified Southern Grid blue-white hierarchy */
:root{--csg-navy:#004a86;--csg-blue:#0068b5;--csg-sky:#2d8fc4;--csg-pale:#eaf5fb;--csg-wash:#f5faff;--csg-line:#cfe2ef;--csg-ink:#173650;--csg-muted:#60788c}
body{color:var(--csg-ink)}
body[data-platform-page] :is(a,h1,h2,h3,h4,h5,h6,strong,b,legend,label,th,dt){-webkit-text-decoration-color:var(--csg-blue);text-decoration-color:var(--csg-blue)}
body[data-platform-page] :is(.v6-service,.v6-chip,.v6-status.ok,.v75-layer,.business-status,.v75-input-guide,.v75-group-section>summary:after,.v75-result-explanation h6,.v75-analysis aside a,.qa-kicker){color:var(--csg-blue)!important}
body[data-platform-page] :is(input,select,textarea):focus{border-color:var(--csg-blue)!important;outline-color:var(--csg-blue)!important;box-shadow:0 0 0 3px rgba(0,104,181,.12)!important}
body[data-platform-page] input{accent-color:var(--csg-blue)!important}

body[data-platform-page=functions] .v6-console{max-width:1540px;border:1px solid var(--csg-line);border-top:5px solid var(--csg-blue);overflow:visible}
body[data-platform-page=functions] .v6-console-head{padding:24px 26px 18px;background:linear-gradient(100deg,var(--csg-wash),#fff)}
.v6-section-kicker{display:block;margin-bottom:4px;color:var(--csg-blue);font-size:10px;font-weight:800;letter-spacing:1.5px}
body[data-platform-page=functions] .v6-console-head h2{font-size:25px;color:var(--csg-navy)}
.function-perspective{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;padding:14px 18px!important;background:#fff;border-top:1px solid var(--csg-line);border-bottom:1px solid var(--csg-line)}
.function-perspective button{min-height:88px;padding:12px 14px!important;text-align:left;border:1px solid var(--csg-line)!important;border-radius:10px!important;background:var(--csg-wash)!important;transition:transform .16s,box-shadow .16s,border-color .16s}
.function-perspective button:hover{transform:translateY(-2px);border-color:#7eb9dc!important;box-shadow:0 8px 20px rgba(0,104,181,.1)}
.function-perspective button small,.function-perspective button strong,.function-perspective button span{display:block}
.function-perspective button small{color:var(--csg-sky);font-size:10px;letter-spacing:.5px}.function-perspective button strong{margin:3px 0;color:var(--csg-ink);font-size:16px}.function-perspective button span{color:var(--csg-muted);font-size:10px;white-space:normal}
.function-perspective button.active{background:linear-gradient(135deg,var(--csg-blue),var(--csg-navy))!important;border-color:var(--csg-blue)!important;box-shadow:0 10px 24px rgba(0,74,134,.2)}
.function-perspective button.active :is(small,strong,span){color:#fff!important}
body[data-platform-page=functions] .v6-console-body{padding:18px 20px 28px;background:var(--csg-wash)}
body[data-platform-page=functions] .v6-function-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-bottom:18px}
body[data-platform-page=functions] .v6-function{min-height:104px;padding:14px 16px;text-align:left;background:#fff;border:1px solid var(--csg-line);border-radius:11px;box-shadow:0 5px 14px rgba(23,73,110,.05)}
body[data-platform-page=functions] .v6-function b{font-size:10px;letter-spacing:.7px;color:var(--csg-blue)}
body[data-platform-page=functions] .v6-function strong{margin:5px 0 3px;font-size:16px;color:var(--csg-ink)}
body[data-platform-page=functions] .v6-function span{font-size:11px;line-height:1.5;color:var(--csg-muted)}
body[data-platform-page=functions] .v6-function.active{background:#fff;border:2px solid var(--csg-blue);box-shadow:inset 5px 0 var(--csg-blue),0 10px 24px rgba(0,104,181,.12)}
body[data-platform-page=functions] .v6-function.active strong{color:var(--csg-blue)}

.v75-agent-panel{border:2px solid var(--csg-blue)!important;box-shadow:0 12px 28px rgba(0,104,181,.12)!important}
.v75-agent-panel>header{padding:16px 18px!important;background:linear-gradient(105deg,var(--csg-blue),var(--csg-navy))!important;border-bottom:0!important}
.v75-agent-panel>header :is(span,h4,em){color:#fff!important}.v75-agent-panel>header h4{font-size:18px!important}
.v75-agent-panel article{min-height:92px;background:#fff}.v75-agent-panel article>b{background:var(--csg-pale)!important;color:var(--csg-blue)!important}.v75-agent-panel article>i{color:var(--csg-blue)!important;font-weight:700}
.overview-agent-panel{border-width:3px;box-shadow:0 14px 30px rgba(0,104,181,.14)}.overview-agent-panel header{background:linear-gradient(105deg,var(--csg-blue),var(--csg-navy))}.overview-agent-panel header :is(span,strong){color:#fff}
body[data-platform-page=functions] .v6-legacy-nav{display:flex;align-self:stretch;gap:2px}body[data-platform-page=functions] .v6-legacy-nav a{display:flex;align-items:center;padding:0 13px;color:var(--csg-muted);text-decoration:none;border-bottom:3px solid transparent}body[data-platform-page=functions] .v6-legacy-nav a:nth-child(2){color:var(--csg-blue);font-weight:700;border-bottom-color:var(--csg-blue)}
body[data-platform-page=functions] .v6-header{gap:12px;padding-inline:18px}body[data-platform-page=functions] .v6-brand{min-width:205px}body[data-platform-page=functions] .v6-legacy-nav a{padding-inline:9px;white-space:nowrap;font-size:11px}body[data-platform-page=functions] .v6-header-actions{gap:5px}body[data-platform-page=functions] .v6-header-actions button{padding-inline:8px;white-space:nowrap}
@media(max-width:900px){.function-perspective{grid-template-columns:repeat(2,1fr)}body[data-platform-page=functions] .v6-function-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.function-perspective,body[data-platform-page=functions] .v6-function-grid{grid-template-columns:1fr}}
.platform-global-logo{width:46px;height:46px;object-fit:contain;display:block;mix-blend-mode:multiply;flex:0 0 auto}.platform-global-mark{display:none!important}@media(max-width:620px){.platform-global-logo{width:40px;height:40px}}
.platform-global-logo-frame{position:relative;display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;overflow:visible}.platform-global-logo-frame:before{content:"";position:absolute;width:29px;height:29px;border:2px solid #0878c9;border-radius:2px;transform:rotate(45deg)}.platform-global-logo-frame .platform-global-logo{position:relative;width:29px!important;height:29px!important;object-fit:contain}.platform-global-brand>span:last-child{margin-left:0}.platform-global-brand small{letter-spacing:.55px!important;line-height:1}.platform-global-scope{white-space:nowrap}

/* Compact professional measurement workspace */
body[data-platform-page=functions]{background:#f5f9fc}
body[data-platform-page=functions] .platform-global-header{height:58px;box-shadow:none}
body[data-platform-page=functions] .platform-global-logo{width:38px;height:38px}
body[data-platform-page=functions] .platform-global-brand strong{font-size:16px}
body[data-platform-page=functions] .platform-global-nav a{padding-inline:12px}
body[data-platform-page=functions] .function-page-toolbar{max-width:1540px;margin:12px auto 0;padding:8px 12px;min-height:52px;border-left-width:1px;border-radius:8px;box-shadow:none}
body[data-platform-page=functions] .function-page-toolbar>div:first-child{min-width:180px}
body[data-platform-page=functions] .function-page-toolbar .v6-mode button,
body[data-platform-page=functions] .function-page-toolbar .v6-header-actions button{height:34px;padding:0 13px;border-radius:6px}
body[data-platform-page=functions] .function-page-toolbar .v6-service{margin-right:auto}
.function-more{position:relative}.function-more>summary{height:34px;display:flex;align-items:center;padding:0 11px;border:1px solid var(--csg-line);border-radius:6px;color:var(--csg-muted);font-size:11px;cursor:pointer;list-style:none}.function-more>summary::-webkit-details-marker{display:none}.function-more>button{position:absolute!important;right:0;top:38px;z-index:10;width:126px;background:#fff!important;box-shadow:0 8px 20px rgba(24,72,108,.12)}
body[data-platform-page=functions] .v6-main{padding:12px 18px 22px}
body[data-platform-page=functions] .v6-console{border:0;border-top:3px solid var(--csg-blue);border-radius:8px;box-shadow:none}
body[data-platform-page=functions] .v6-console-head{padding:13px 18px 10px;background:#fff}
body[data-platform-page=functions] .v6-console-head h2{margin:2px 0;font-size:26px;line-height:1.15}
body[data-platform-page=functions] .v6-console-head p{margin:3px 0 0;font-size:11px;color:var(--csg-muted)}
body[data-platform-page=functions] .v6-chip{padding:5px 10px}
body[data-platform-page=functions] .function-perspective{gap:8px;padding:0 18px 10px!important;border:0}
body[data-platform-page=functions] .function-perspective button{min-height:56px;padding:8px 12px!important;border-radius:7px!important;box-shadow:none!important;transform:none!important}
body[data-platform-page=functions] .function-perspective button small{font-size:9px}
body[data-platform-page=functions] .function-perspective button strong{display:inline;margin:0 8px 0 0;font-size:15px}
body[data-platform-page=functions] .function-perspective button span{display:inline;font-size:10px}
body[data-platform-page=functions] .function-perspective button.active{background:#edf7fd!important;border:1px solid var(--csg-blue)!important;box-shadow:inset 3px 0 var(--csg-blue)!important}
body[data-platform-page=functions] .function-perspective button.active :is(small,strong,span){color:var(--csg-blue)!important}
body[data-platform-page=functions] .v6-console-body{padding:0 18px 22px;background:#fff}
.v6-function-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--csg-line);margin-bottom:10px}
.v6-function-tabs button{min-width:190px;padding:9px 16px;border:0;border-bottom:3px solid transparent;background:transparent;text-align:left;color:var(--csg-muted);cursor:pointer}
.v6-function-tabs button small{display:inline;margin-right:7px;color:var(--csg-sky);font-size:10px}.v6-function-tabs button strong{font-size:13px;color:var(--csg-ink)}.v6-function-tabs button span{display:block;margin-top:2px;font-size:9px;color:var(--csg-muted)}
.v6-function-tabs button.active{border-bottom-color:var(--csg-blue);background:#f4faff}.v6-function-tabs button.active strong{color:var(--csg-blue)}
body[data-platform-page=functions] .v75-workspace{margin-top:0;border:0;border-radius:0;overflow:visible;background:#fff}
body[data-platform-page=functions] .v75-title{padding:7px 2px 9px;background:#fff;border-bottom:1px solid var(--csg-line)}
body[data-platform-page=functions] .v75-title>div>span{display:none}
body[data-platform-page=functions] .v75-title h3{margin:0;font-size:18px}
body[data-platform-page=functions] .v75-title p{margin-top:3px;font-size:11px}
body[data-platform-page=functions] .v75-layer{padding:5px 9px;background:var(--csg-pale);font-size:10px}
body[data-platform-page=functions] .v75-agent-panel{margin:10px 0 14px;border:1px solid var(--csg-line)!important;border-radius:7px;box-shadow:none!important;background:#fff}
body[data-platform-page=functions] .v75-agent-panel>header{height:27px;padding:5px 10px!important;background:#f4f9fc!important;border-bottom:1px solid var(--csg-line)!important}
body[data-platform-page=functions] .v75-agent-panel>header strong{font-size:11px;color:var(--csg-navy)!important}
body[data-platform-page=functions] .v75-agent-panel>header span{font-size:9px;color:var(--csg-muted)!important}
body[data-platform-page=functions] .v75-agent-panel>div{display:flex;align-items:stretch;min-height:57px}
body[data-platform-page=functions] .v75-agent-panel article{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1 1;min-height:57px;padding:8px 12px;border-right:1px solid var(--csg-line);background:#fff}
body[data-platform-page=functions] .v75-agent-panel article.joint{background:#edf7fd;flex:1.15 1}
body[data-platform-page=functions] .v75-agent-panel article strong{font-size:12px}body[data-platform-page=functions] .v75-agent-panel article small{margin-top:2px;font-size:9px}
body[data-platform-page=functions] .v75-agent-panel article>i{font-size:9px;color:var(--csg-blue)!important}
.agent-plus,.agent-arrow{display:grid;place-items:center;flex:0 0 28px;color:var(--csg-navy);font-size:15px;background:#fff}.agent-arrow{color:var(--csg-blue);font-size:20px}
.measurement-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(280px,3fr);grid-gap:14px;gap:14px;align-items:start}
.measurement-form{min-width:0}.measurement-form .v75-input-head{padding:5px 0 8px}.measurement-form .v75-input-head h4{font-size:17px}.measurement-form .v75-input-head p{margin:3px 0 0;font-size:10px;color:var(--csg-muted)}.measurement-form .v75-input-head button{height:30px;border:1px solid var(--csg-line);border-radius:5px;background:#fff;color:var(--csg-blue)}
body[data-platform-page=functions] .v75-inputs{gap:10px;padding:0;background:#fff}
body[data-platform-page=functions] .v75-group-section{border:1px solid var(--csg-line);border-radius:7px;box-shadow:none}
body[data-platform-page=functions] .v75-group-section>summary{padding:9px 12px;background:#f6f9fb}
body[data-platform-page=functions] .v75-group-section>summary h5{font-size:13px}
body[data-platform-page=functions] .v75-group-section>summary small{font-size:9px}
body[data-platform-page=functions] .v75-step{padding:3px 6px;border-radius:5px;background:var(--csg-blue)}
body[data-platform-page=functions] .v75-group-grid{gap:9px 12px;padding:11px 12px}
body[data-platform-page=functions] .v75-field{gap:4px;font-size:11px}
body[data-platform-page=functions] .v75-field input,body[data-platform-page=functions] .v75-field select{height:34px;border-radius:5px;font-size:12px}
body[data-platform-page=functions] .v75-input-help{margin-top:1px;font-size:9px;line-height:1.35}
body[data-platform-page=functions] .v75-input-table{padding:6px 10px 10px}
body[data-platform-page=functions] .v75-input-table th{padding:6px 9px}body[data-platform-page=functions] .v75-input-table td{padding:4px 8px}body[data-platform-page=functions] .v75-input-table input{height:32px;border-radius:5px}
body[data-platform-page=functions] .v75-run{padding:8px 0;border:0}
.measurement-summary{position:-webkit-sticky;position:sticky;top:12px;border:1px solid var(--csg-line);border-radius:8px;background:#fff;overflow:hidden}
.measurement-summary header{padding:13px 14px 10px;border-bottom:1px solid var(--csg-line);background:#f7fbfe}.measurement-summary header h4{margin:0;font-size:16px;color:var(--csg-navy)}.measurement-summary header p{margin:4px 0 0;color:var(--csg-muted);font-size:9px;line-height:1.5}
.measurement-summary>section{padding:10px 14px;border-bottom:1px solid #e7f0f6}.measurement-summary small{display:block;margin-bottom:4px;color:var(--csg-muted);font-size:9px}.measurement-summary strong{display:block;font-size:13px;color:var(--csg-ink)}
.summary-tags{display:flex;gap:6px;margin-top:7px}.summary-tags span{padding:3px 8px;border-radius:99px;background:var(--csg-pale);color:var(--csg-blue);font-size:9px}
.summary-progress{display:flex;justify-content:space-between}.summary-progress b{font-size:10px;color:var(--csg-navy)}.measurement-summary section>i{display:block;height:5px;margin-top:6px;border-radius:5px;background:linear-gradient(90deg,var(--csg-blue) var(--progress),#e5eef4 var(--progress))}
.measurement-summary ul{list-style:none;margin:6px 0 0;padding:0}.measurement-summary li{padding:5px 7px;margin-top:4px;border-left:3px solid var(--csg-blue);background:#f7fafc;color:var(--csg-ink);font-size:10px}.measurement-summary li.compute{border-color:#188dbb}.measurement-summary li.network{border-color:#576fcb}.measurement-summary li b{float:right;color:var(--csg-blue)}.measurement-summary section p{margin:0;color:var(--csg-muted);font-size:10px;line-height:1.6}
.measurement-summary>button{width:calc(100% - 28px);height:38px;margin:12px 14px;border:0;border-radius:6px;background:var(--csg-blue);color:#fff;font-weight:700;cursor:pointer}.measurement-summary>button:hover{background:var(--csg-navy)}
@media(max-width:950px){.measurement-layout{grid-template-columns:1fr}.measurement-summary{position:static}.v75-agent-panel>div{overflow-x:auto}.v75-agent-panel article{min-width:175px}}

/* Measurement page section framing and lighter Southern Grid blue */
body[data-platform-page=functions]{--measure-blue:#1689c5;--measure-blue-hover:#0877b7;--measure-pale:#edf7fd;--measure-section:#eaf4fa}
body[data-platform-page=functions] .function-page-toolbar{max-width:none;margin:12px 18px 0;justify-content:flex-start}
body[data-platform-page=functions] .function-page-toolbar>div:first-child{min-width:210px}
body[data-platform-page=functions] .function-page-toolbar .v6-header-actions{margin-left:auto}
body[data-platform-page=functions] .function-page-toolbar .v6-mode button.active,
body[data-platform-page=functions] .function-page-toolbar .v6-header-actions .primary{background:var(--measure-blue)!important;border-color:var(--measure-blue)!important;color:#fff!important}
body[data-platform-page=functions] .v6-console{background:var(--measure-section)}
body[data-platform-page=functions] .v6-console-head{margin:0 0 8px;padding:15px 18px 12px;border-radius:6px;background:#fff}
body[data-platform-page=functions] .function-perspective{padding:12px 18px!important;margin:0 0 8px;background:#fff;border-radius:6px}
body[data-platform-page=functions] .function-perspective button{min-height:78px;padding:9px 14px!important}
body[data-platform-page=functions] .function-perspective button small,
body[data-platform-page=functions] .function-perspective button strong,
body[data-platform-page=functions] .function-perspective button span{display:block!important}
body[data-platform-page=functions] .function-perspective button small{margin:0 0 4px}
body[data-platform-page=functions] .function-perspective button strong{margin:0 0 5px;font-size:16px}
body[data-platform-page=functions] .function-perspective button span{font-size:10px;line-height:1.35}
body[data-platform-page=functions] .function-perspective button.active{border-color:var(--measure-blue)!important;box-shadow:inset 4px 0 var(--measure-blue)!important}
body[data-platform-page=functions] .function-perspective button.active :is(small,strong,span){color:var(--measure-blue)!important}
body[data-platform-page=functions] .v6-console-body{padding:0 18px 18px;background:var(--measure-section)}
body[data-platform-page=functions] .v6-function-tabs{margin:0 0 8px;background:#fff;border:1px solid var(--csg-line);border-radius:6px}
body[data-platform-page=functions] .v6-function-tabs button.active{border-bottom-color:var(--measure-blue);background:var(--measure-pale)}
body[data-platform-page=functions] .v75-workspace{background:transparent}
body[data-platform-page=functions] .v75-title{margin-bottom:8px;padding:13px 14px;border:1px solid var(--csg-line);border-radius:6px;background:#fff}
body[data-platform-page=functions] .v75-agent-panel{margin:0 0 12px;background:#fff}
body[data-platform-page=functions] .v75-agent-panel article.joint{background:var(--measure-pale)}
body[data-platform-page=functions] .v75-agent-panel article>i{color:var(--measure-blue)!important}
body[data-platform-page=functions] .measurement-layout{padding:12px;border-radius:7px;background:#dfeff8}
body[data-platform-page=functions] .measurement-form{padding:0 12px 12px;border:1px solid var(--csg-line);border-radius:7px;background:#fff}
body[data-platform-page=functions] .measurement-form .v75-input-head{margin:0 -12px 10px;padding:13px 12px 11px;border-bottom:1px solid #c9dfed;border-radius:7px 7px 0 0;background:var(--measure-pale)}
body[data-platform-page=functions] .measurement-form .v75-input-head h4{color:#145c8e}
body[data-platform-page=functions] .measurement-summary{border-color:#bdd9ea;box-shadow:0 3px 12px rgba(37,111,157,.06)}
body[data-platform-page=functions] .measurement-summary header{background:var(--measure-pale)}
body[data-platform-page=functions] .measurement-summary>button,
body[data-platform-page=functions] .v75-step{background:var(--measure-blue)}
body[data-platform-page=functions] .measurement-summary>button:hover{background:var(--measure-blue-hover)}
body[data-platform-page=functions] .summary-tags span{color:var(--measure-blue)}
body[data-platform-page=functions] .measurement-summary section>i{background:linear-gradient(90deg,var(--measure-blue) var(--progress),#e5eef4 var(--progress))}
body[data-platform-page=functions] .measurement-summary li b{color:var(--measure-blue)}
@media(max-width:1050px){body[data-platform-page=functions] .function-page-toolbar{margin-inline:12px}}

/* Final alignment and role accents */
body[data-platform-page=functions] .function-page-toolbar{width:calc(100% - 36px);max-width:1540px;margin:12px auto 0}
body[data-platform-page=functions] .v6-console{border-top:0;background:var(--measure-section)}
body[data-platform-page=functions] .v6-console-head{margin:0;padding:16px 18px 13px;border:0;border-radius:0;background:var(--measure-pale)}
body[data-platform-page=functions] .v75-agent-panel article{position:relative;border-top:3px solid transparent}
body[data-platform-page=functions] .v75-agent-panel article.grid{border-top-color:#318bc6;background:#f7fbfe}
body[data-platform-page=functions] .v75-agent-panel article.compute{border-top-color:#ee9b3a;background:#fffaf3}
body[data-platform-page=functions] .v75-agent-panel article.network{border-top-color:#7568d7;background:#faf9ff}
body[data-platform-page=functions] .v75-agent-panel article.joint{border-top-color:#55a9d7;background:#eef8fd}
body[data-platform-page=functions] .v75-agent-panel article.grid>i{color:#237db8!important}
body[data-platform-page=functions] .v75-agent-panel article.compute>i{color:#c97818!important}
body[data-platform-page=functions] .v75-agent-panel article.network>i{color:#6557c8!important}
body[data-platform-page=functions] .v75-agent-panel article.joint>i{color:#2487bd!important}
@media(max-width:1050px){body[data-platform-page=functions] .function-page-toolbar{width:calc(100% - 24px)}}

/* Wider, lower agent cards with clear ready-state badges */
body[data-platform-page=functions] .v75-agent-panel,
body[data-platform-page=functions] .v75-agent-panel>header,
body[data-platform-page=functions] .v75-agent-panel>div{background:#fff!important}
body[data-platform-page=functions] .v75-agent-panel>div{min-height:52px;padding:7px 10px;gap:12px}
body[data-platform-page=functions] .v75-agent-panel article{min-height:46px;padding:7px 14px;border:1px solid #d8e7f1;border-top-width:3px;border-radius:5px}
body[data-platform-page=functions] .v75-agent-panel article.grid,
body[data-platform-page=functions] .v75-agent-panel article.compute,
body[data-platform-page=functions] .v75-agent-panel article.network,
body[data-platform-page=functions] .v75-agent-panel article.joint{background:#fff}
body[data-platform-page=functions] .v75-agent-panel article>i{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:22px;padding:0 7px;border-radius:4px;background:#e7f7ef;color:#24855a!important;font-size:9px;font-weight:700;font-style:normal}
body[data-platform-page=functions] .agent-plus,
body[data-platform-page=functions] .agent-arrow{flex-basis:20px;background:#fff}

/* Simplified heading and tighter workflow placement */
body[data-platform-page=functions] .v6-main{padding-top:8px}
body[data-platform-page=functions] .v6-console-head{padding:10px 18px 9px;margin-bottom:10px}
body[data-platform-page=functions] .v6-console-head h2{margin:0;font-size:24px}
body[data-platform-page=functions] .v6-function-tabs{margin-bottom:6px}
body[data-platform-page=functions] .v75-agent-panel{margin:0 0 16px;border-radius:6px}
body[data-platform-page=functions] .v75-agent-panel>div{padding:8px;gap:8px}
body[data-platform-page=functions] .v75-agent-panel article{padding-inline:16px}
body[data-platform-page=functions] .agent-plus,
body[data-platform-page=functions] .agent-arrow{flex-basis:14px}
body[data-platform-page=functions] .measurement-layout{margin-top:0}

/* Flat secondary tabs: selected state uses type and underline only */
body[data-platform-page=functions] .v6-function-tabs button,
body[data-platform-page=functions] .v6-function-tabs button.active{background:#fff!important;box-shadow:none!important}
body[data-platform-page=functions] .v6-function-tabs button.active :is(small,strong,span){color:var(--measure-blue)!important}

/* Use one continuous page background around every white content block */
body[data-platform-page=functions]{--measure-page:#f5f9fc;--measure-section:var(--measure-page);background:var(--measure-page)}
body[data-platform-page=functions] .v6-console,
body[data-platform-page=functions] .v6-console-head,
body[data-platform-page=functions] .v6-console-body,
body[data-platform-page=functions] .v75-workspace,
body[data-platform-page=functions] .measurement-layout{background:var(--measure-page)!important}

/* One content rail; secondary functions and agents share a single frame */
body[data-platform-page=functions] .v6-console-head,
body[data-platform-page=functions] .function-perspective,
body[data-platform-page=functions] .v6-console-body{width:auto;margin-left:18px;margin-right:18px}
body[data-platform-page=functions] .v6-console-body{padding-left:0;padding-right:0}
body[data-platform-page=functions] .v6-function-tabs{margin-bottom:0;border-bottom:0;border-radius:6px 6px 0 0}
body[data-platform-page=functions] .v75-agent-panel{margin-top:0;border-top:1px solid var(--csg-line)!important;border-radius:0 0 6px 6px}
body[data-platform-page=functions] .measurement-layout{margin-top:16px;padding:0}
body[data-platform-page=functions] .measurement-form,
body[data-platform-page=functions] .measurement-summary{align-self:start}

/* Match the data-source rail and standardize every agent status badge */
body[data-platform-page=functions] .v6-console-head,
body[data-platform-page=functions] .function-perspective,
body[data-platform-page=functions] .v6-console-body{margin-left:0;margin-right:0}
body[data-platform-page=functions] .v75-agent-panel article>i{min-width:0;height:auto;padding:0;border:0;border-radius:0;background:transparent}
body[data-platform-page=functions] .v75-agent-panel article>i.status-ready,
body[data-platform-page=functions] .measurement-summary b.status-ready{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:24px;padding:0 8px;border-radius:8px;background:#e7f7ef;color:#24936a!important;font-weight:700}

/* Slim workflow cards and a standalone full-width result section */
body[data-platform-page=functions] .v6-console-head{padding-top:9px;padding-bottom:8px}
body[data-platform-page=functions] .v6-console-head .v6-section-kicker{margin-bottom:3px}
body[data-platform-page=functions] .v75-agent-panel>div{min-height:54px;padding:10px 12px;gap:12px}
body[data-platform-page=functions] .v75-agent-panel article{min-height:40px;padding:5px 18px}
body[data-platform-page=functions] .v75-agent-panel article small{margin-top:1px}
body[data-platform-page=functions] .v75-output{margin-top:20px;border:1px solid var(--csg-line);border-radius:8px;background:#fff;overflow:hidden;scroll-margin-top:18px}

/* Taller, shorter workflow cards with more breathing room */
body[data-platform-page=functions] .v75-agent-panel>div{min-height:82px;padding:13px 18px;gap:14px}
body[data-platform-page=functions] .v75-agent-panel article,
body[data-platform-page=functions] .v75-agent-panel article.joint{flex-grow:0;flex-shrink:1;flex-basis:calc((100% - 150px)/4);min-height:58px;padding:11px 16px}
body[data-platform-page=functions] .v75-agent-panel article small{margin-top:4px}

/* Unframed category row with square, taller cards on the shared content rail */
body[data-platform-page=functions] .function-perspective{padding:0!important;background:var(--measure-page)!important;border-radius:0}
body[data-platform-page=functions] .function-perspective button{min-height:92px;border-radius:0!important}

/* Floating secondary switch and taller, narrower agent cards */
body[data-platform-page=functions] .v6-function-tabs{display:grid;width:330px;grid-template-columns:1fr 1fr;margin:8px 0 24px;border:0;border-radius:6px;background:transparent;overflow:visible}
body[data-platform-page=functions] .v6-function-tabs button{min-width:0;padding:10px 14px;text-align:center;border:1px solid var(--csg-line);border-bottom:3px solid var(--csg-line);border-radius:6px 0 0 6px;background:#fff!important}
body[data-platform-page=functions] .v6-function-tabs button+button{border-left:0;border-radius:0 6px 6px 0}
body[data-platform-page=functions] .v6-function-tabs button small,
body[data-platform-page=functions] .v6-function-tabs button span{display:none}
body[data-platform-page=functions] .v6-function-tabs button.active{border-bottom-color:var(--measure-blue)!important}
body[data-platform-page=functions] .v6-function-tabs button.active strong{color:var(--measure-blue)!important}
body[data-platform-page=functions] .v75-agent-panel{border:1px solid var(--csg-line)!important;border-radius:6px;margin-bottom:16px}
body[data-platform-page=functions] .v75-agent-panel>div{min-height:112px;padding:16px 20px;gap:16px;justify-content:space-between}
body[data-platform-page=functions] .v75-agent-panel article,
body[data-platform-page=functions] .v75-agent-panel article.joint{flex:0 1 20%;min-height:78px;padding:15px 18px}

/* Keep current styling; only close the gap between tabs and workflow */
body[data-platform-page=functions] .v6-function-tabs{margin-bottom:0}
body[data-platform-page=functions] .v75-agent-panel{margin-top:0}

/* Shared Southern Grid brand mark */
.platform-global-logo-frame{width:54px!important;height:54px!important;flex-basis:54px!important}
.platform-global-logo-frame:before{width:35px!important;height:35px!important;border-width:3px!important}
.platform-global-logo-frame .platform-global-logo{width:35px!important;height:35px!important;transform:translateX(1px)}
.platform-global-brand>span:last-child{margin-left:1px!important}
.platform-global-brand small{letter-spacing:.5px!important;line-height:1!important}

/* Rounded diamond logo refinement */
.platform-global-logo-frame:before{width:34px!important;height:34px!important;border-width:3px!important;border-radius:9px!important;transform:rotate(45deg)!important}
.platform-global-logo-frame .platform-global-logo{width:29px!important;height:29px!important;transform:translateX(1px) scaleX(.86)!important;transform-origin:center!important}

/* Function perspective selected state */
body[data-platform-page=functions] .function-perspective button{background:#fff!important}
body[data-platform-page=functions] .function-perspective button.active{background:#edf7fd!important;border-color:#1689c5!important;box-shadow:inset 4px 0 #1689c5!important}
body[data-platform-page=functions] .function-perspective button small,
body[data-platform-page=functions] .function-perspective button strong,
body[data-platform-page=functions] .function-perspective button span,
body[data-platform-page=functions] .function-perspective button.active small,
body[data-platform-page=functions] .function-perspective button.active strong,
body[data-platform-page=functions] .function-perspective button.active span{color:#145579!important}
body[data-platform-page=functions] .function-perspective button small{font-size:11px!important;font-weight:700!important}
body[data-platform-page=functions] .function-perspective button strong{font-weight:700!important}
body[data-platform-page=functions] .function-perspective button span{font-weight:600!important}

/* Preserve category typography across selected states */
body[data-platform-page=functions] .function-perspective button small,
body[data-platform-page=functions] .function-perspective button.active small{color:#1689c5!important}
body[data-platform-page=functions] .function-perspective button strong,
body[data-platform-page=functions] .function-perspective button.active strong{color:#123c63!important}
body[data-platform-page=functions] .function-perspective button span,
body[data-platform-page=functions] .function-perspective button.active span{color:#647d90!important}

/* Larger collaboration-card typography */
body[data-platform-page=functions] .v75-agent-panel article strong{font-size:14px!important;font-weight:700!important}
body[data-platform-page=functions] .v75-agent-panel article small{font-size:11px!important;font-weight:500!important;line-height:1.45!important}
body[data-platform-page=functions] .v75-agent-panel article>i{font-size:10px!important}

/* Keep three-item secondary function tabs on one row */
body[data-platform-page=functions] .v6-function-tabs:has(>button:nth-child(3)){display:grid!important;width:max-content!important;grid-template-columns:repeat(3,1fr)!important;align-items:stretch!important}
body[data-platform-page=functions] .v6-function-tabs:has(>button:nth-child(3))>button{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;white-space:nowrap}

/* Global named scenario switcher */
.platform-scenario-switch{display:flex;align-items:center;gap:7px;flex:0 0 auto}.platform-scenario-switch label{display:flex;align-items:center;height:34px;border:1px solid #b9d9ea;background:#f5fbfe}.platform-scenario-switch label>span{padding:0 8px;color:#6f8ca0;font-size:10px}.platform-scenario-switch select{width:160px;height:32px;border:0;border-left:1px solid #d3e6f0;background:#fff;padding:0 28px 0 9px;color:#126c9f;font-size:12px;font-weight:700;outline:none}.platform-scenario-switch>a{display:inline-flex;align-items:center;height:34px;padding:0 11px;border:1px solid #1689c5;background:#fff;color:#0879bd;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.platform-scenario-switch>a:hover{background:#eef8fd}@media(max-width:1180px){.platform-scenario-switch label>span{display:none}.platform-scenario-switch select{width:135px;border-left:0}.platform-scenario-switch>a{padding:0 8px}}
.platform-tools-menu{position:relative;flex:0 0 auto}.platform-tools-menu summary{height:34px;padding:0 10px;display:flex;align-items:center;border:1px solid #b9d9ea;background:#fff;color:#1875a8;font-size:11px;font-weight:700;cursor:pointer;list-style:none}.platform-tools-menu summary::-webkit-details-marker{display:none}.platform-tools-menu>div{position:absolute;right:0;top:39px;z-index:80;width:150px;padding:5px;border:1px solid #c8e0ed;background:#fff;box-shadow:0 10px 25px rgba(29,77,109,.14)}.platform-tools-menu a{display:block;padding:9px 10px;color:#315f80;text-decoration:none;font-size:11px}.platform-tools-menu a:hover{background:#eef8fd;color:#0879bd}.platform-role-badge{padding:7px 9px;border-left:3px solid #0879bd;background:#eef8fd;color:#126c9f;text-decoration:none;font-size:10px;font-weight:700;white-space:nowrap}
/* Unified Southern Power Grid brand lockup */
.platform-global-header{height:4.5rem;gap:1.5rem;padding:0 1.5rem}.platform-global-brand{gap:12px}.platform-global-logo-frame{width:48px;height:48px;flex:0 0 48px}.platform-global-logo-frame:before{display:none}.platform-global-logo-frame .platform-global-logo{width:46px;height:46px;transform:none;mix-blend-mode:normal;object-fit:contain}.platform-global-brand small{font-size:10px;letter-spacing:.12em;line-height:1}.platform-global-brand strong{display:block;margin-top:2px;font-size:1.125rem;line-height:1.3;white-space:nowrap}
@media(max-width:1200px){
  .platform-global-header{height:auto;min-height:64px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px clamp(12px,3vw,28px)}
  .platform-global-brand{min-width:0;flex:1 1 auto;max-width:calc(100% - 72px)}
  .platform-global-brand small{display:none}
  .platform-global-brand strong{font-size:14px;white-space:normal;line-height:1.3}
  .platform-global-nav{order:3;flex:1 1 100%;width:100%;max-width:none;margin-left:0;height:40px;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .platform-global-nav a{flex:0 0 auto;padding:0 12px;font-size:12px}
  .account-menu{margin-left:auto}
}
@media(max-width:720px){
  .platform-global-logo-frame{width:40px;height:40px;flex-basis:40px}
  .platform-global-logo-frame .platform-global-logo{width:38px;height:38px}
  .platform-global-brand strong{font-size:13px}
  .platform-global-nav a{padding:0 10px;font-size:11px}
}

/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/v6.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
:root{--v6-ink:#173650;--v6-deep:#00538f;--v6-green:#0068b5;--v6-green2:#2d8fc4;--v6-mint:#eaf5fb;--v6-blue:#5488ad;--v6-amber:#2d79b1;--v6-red:#c85d4e;--v6-bg:#f3f8fc;--v6-line:#d7dce0;--v6-muted:#60788c;--v6-shadow:0 10px 28px rgba(12,45,68,.07)}
*{box-sizing:border-box}body{margin:0;background:var(--v6-bg);color:var(--v6-ink);font:13px/1.55 'Microsoft YaHei','PingFang SC',sans-serif;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--v6-line);background:#fff;color:var(--v6-green);border-radius:6px;padding:7px 12px;font-weight:600}button:hover{background:var(--v6-mint)}button.primary{color:#fff;background:var(--v6-green);border-color:var(--v6-green)}button.primary:hover{background:var(--v6-deep)}button:disabled{cursor:wait;opacity:.5}.v6-shell{height:100vh;display:grid;grid-template-rows:64px 1fr auto}.v6-header{display:flex;align-items:center;gap:24px;padding:0 22px;background:#fff;border-bottom:1px solid var(--v6-line);z-index:10}.v6-brand{display:flex;align-items:center;gap:10px;min-width:226px}.v6-brand b{display:grid;place-items:center;width:37px;height:37px;border-radius:8px;background:var(--v6-green);color:white;font-size:21px}.v6-brand strong{font-size:15px;letter-spacing:.4px}.v6-brand small{display:block;color:var(--v6-muted);font-size:10px;letter-spacing:1px}.v6-mode{display:flex;border:1px solid var(--v6-line);border-radius:7px;overflow:hidden}.v6-mode button{border:0;border-radius:0;background:#f5faff;color:var(--v6-muted);font-size:11px;padding:6px 11px}.v6-mode button.active.public{background:#edf6f8;color:#3a7898;box-shadow:inset 0 -2px #5d9bb2}.v6-mode button.active.trusted{background:#eef7fc;color:#0068b5;box-shadow:inset 0 -2px var(--v6-amber)}.v6-header-actions{display:flex;gap:7px;align-items:center;margin-left:auto}.v6-header-actions button{font-size:11px;padding:6px 10px}.v6-service{font-size:11px;color:var(--v6-muted);white-space:nowrap}.v6-service i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2d8fc4;margin-right:5px}.v6-main{display:grid;grid-template-columns:minmax(400px,42%) minmax(560px,58%);min-height:0;overflow:hidden;padding:14px 18px 10px;grid-gap:14px;gap:14px}.v6-map-pane,.v6-console{background:#fff;border:1px solid var(--v6-line);border-radius:10px;min-width:0;min-height:0;overflow:hidden}.v6-map-pane{display:grid;grid-template-rows:auto auto 1fr auto;position:relative}.v6-pane-head{display:flex;justify-content:space-between;align-items:start;padding:15px 17px 9px}.v6-pane-head h2{font-size:18px;margin:0}.v6-pane-head p{color:var(--v6-muted);font-size:11px;margin:3px 0 0}.v6-chip{padding:3px 8px;background:var(--v6-mint);color:var(--v6-green);border-radius:20px;font-size:10px;white-space:nowrap}.v6-map-toolbar{display:flex;align-items:center;gap:6px;padding:0 17px 9px;flex-wrap:wrap}.v6-map-toolbar button{font-size:11px;padding:5px 9px}.v6-map-toolbar button.active{background:var(--v6-deep);border-color:var(--v6-deep);color:#fff}.v6-map-wrap{position:relative;min-height:0;margin:0 12px;background:#e8f4fb;border-radius:8px;overflow:hidden}.v6-map-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;transform:none}.v6-map-over{position:absolute;inset:0;pointer-events:none}.v6-map-title{position:absolute;top:10px;left:13px;color:#d9effb;font-size:11px;letter-spacing:.5px;text-shadow:0 1px 4px #04131d}.v6-layer-legend{position:absolute;right:12px;top:10px;display:flex;gap:8px;color:#d9effb;font-size:10px}.v6-layer-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:3px;background:var(--v6-green2)}.v6-layer-legend span:nth-child(2):before{background:var(--v6-amber)}.v6-layer-legend span:nth-child(3):before{background:var(--v6-blue)}.v6-map-foot{display:flex;justify-content:space-between;gap:8px;padding:8px 16px;color:var(--v6-muted);font-size:10px}.v6-map-foot span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v6-console{display:grid;grid-template-rows:auto auto 1fr;overflow:hidden}.v6-console-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 10px}.v6-console-head h2{margin:0;font-size:18px}.v6-console-head p{color:var(--v6-muted);font-size:11px;margin:3px 0 0}.v6-tabs{display:flex;gap:4px;padding:0 17px;border-bottom:1px solid var(--v6-line)}.v6-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:8px 15px;background:transparent;color:var(--v6-muted);font-size:12px}.v6-tabs button.active{color:var(--v6-green);border-color:var(--v6-green);font-weight:700}.v6-console-body{overflow:auto;padding:13px 17px 18px}.v6-function-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;margin-bottom:13px}.v6-function{border:1px solid var(--v6-line);border-radius:7px;padding:9px 10px;background:#fbfdff;min-height:70px}.v6-function b{display:block;font-size:11px;color:var(--v6-green);margin-bottom:3px}.v6-function strong{display:block;font-size:12px}.v6-function span{font-size:10px;color:var(--v6-muted)}.v6-function.active{background:var(--v6-mint);border-color:#9bc8e0;box-shadow:inset 3px 0 var(--v6-green)}.v6-control-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.v6-card{border:1px solid var(--v6-line);border-radius:8px;padding:13px;background:#fff;margin-bottom:12px}.v6-card.soft{background:#f5faff}.v6-card h3{font-size:14px;margin:0 0 9px}.v6-card h3 small{font-size:10px;font-weight:400;color:var(--v6-muted);float:right}.v6-field{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;color:#42647c;font-size:11px}.v6-field input,.v6-field select{width:145px;border:1px solid var(--v6-line);border-radius:5px;padding:6px 7px;background:#fbfdff;color:var(--v6-ink)}.v6-field input[type=range]{accent-color:var(--v6-green);padding:0}.v6-inline{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.v6-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:#42647c}.v6-toggle input{accent-color:var(--v6-green)}.v6-chart{height:172px;width:100%}.v6-chart.sm{height:125px}.v6-kpis{display:grid;grid-template-columns:repeat(5,1fr);background:#f5faff;border:1px solid var(--v6-line);border-radius:8px;overflow:hidden}.v6-kpi{padding:9px 10px;border-right:1px solid var(--v6-line);min-width:0}.v6-kpi:last-child{border:0}.v6-kpi span{display:block;color:var(--v6-muted);font-size:10px}.v6-kpi strong{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v6-kpi small{font-size:9px;color:var(--v6-muted)}.v6-kpi.warn strong{color:var(--v6-amber)}.v6-kpi.danger strong{color:var(--v6-red)}.v6-result-drawer{background:#fff;border:1px solid var(--v6-line);border-radius:10px 10px 0 0;box-shadow:var(--v6-shadow);margin:0 18px;min-height:88px;padding:10px 15px 12px;z-index:4}.v6-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.v6-drawer-head strong{font-size:13px}.v6-drawer-head span{font-size:10px;color:var(--v6-muted)}.v6-drawer-grid{display:grid;grid-template-columns:1.1fr 1.1fr 1.1fr 1fr 1.2fr;grid-gap:0;gap:0;border:1px solid var(--v6-line);border-radius:7px;overflow:hidden}.v6-drawer-item{padding:7px 11px;border-right:1px solid var(--v6-line);min-width:0}.v6-drawer-item:last-child{border:0}.v6-drawer-item span{display:block;color:var(--v6-muted);font-size:10px}.v6-drawer-item strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v6-drawer-item small{display:block;color:var(--v6-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v6-drawer-item.alert strong{color:var(--v6-red)}.v6-empty{padding:24px;text-align:center;color:var(--v6-muted);background:#f5faff;border-radius:7px}.v6-table{width:100%;border-collapse:collapse;font-size:11px}.v6-table th{text-align:left;color:var(--v6-muted);font-weight:400;background:#f5faff}.v6-table td,.v6-table th{padding:7px 8px;border-bottom:1px solid var(--v6-line)}.v6-table td:first-child{font-weight:600}.v6-advice{border-left:3px solid var(--v6-green);background:var(--v6-mint);padding:11px 13px;border-radius:6px;font-size:12px;line-height:1.75}.v6-advice strong{display:block;font-size:14px;margin-bottom:3px}.v6-flow{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:5px;gap:5px}.v6-flow div{padding:8px 7px;background:#f5faff;border:1px solid var(--v6-line);border-radius:5px;text-align:center}.v6-flow b{display:block;color:var(--v6-green);font-size:11px}.v6-flow span{font-size:9px;color:var(--v6-muted)}.v6-status{font-size:10px;color:var(--v6-muted)}.v6-status.ok{color:var(--v6-green)}.v6-status.warn{color:var(--v6-amber)}@media(max-width:1100px){body{overflow:auto}.v6-shell{height:auto;min-height:100vh}.v6-main{grid-template-columns:1fr;overflow:visible}.v6-map-pane{height:570px}.v6-console{min-height:700px}.v6-result-drawer{margin:0 18px 15px}.v6-header{flex-wrap:wrap;height:auto;padding:9px 15px;gap:10px}.v6-header-actions{overflow:auto;margin-left:0}.v6-mode{margin-left:auto}}@media(max-width:700px){.v6-main{padding:10px;gap:10px}.v6-function-grid{grid-template-columns:1fr 1fr}.v6-control-row{grid-template-columns:1fr}.v6-kpis{grid-template-columns:1fr 1fr}.v6-drawer-grid{grid-template-columns:1fr 1fr}.v6-drawer-item:nth-child(2){border-right:0}.v6-drawer-item{border-bottom:1px solid var(--v6-line)}.v6-flow{grid-template-columns:1fr 1fr}.v6-pane-head,.v6-console-head{padding:12px}.v6-map-toolbar{padding:0 12px 8px}.v6-map-wrap{margin:0 8px}.v6-map-foot{padding:7px 11px}.v6-header-actions button:nth-child(n+4){display:none}}
:root{--v6-map-width:48%}.v6-shell{height:auto;min-height:100vh;grid-template-rows:64px auto auto}.v6-main{grid-template-columns:minmax(520px,var(--v6-map-width)) minmax(600px,52%);min-height:760px;overflow:visible}.v6-map-pane,.v6-console{min-height:760px}.v6-map-wrap{min-height:0}.v6-map-wrap iframe{min-height:690px}.v6-result-drawer{margin:0 18px 18px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.v6-header-actions button[data-action="case"]{display:none}.v6-case-module{margin:0 18px 18px;background:#fff;border:1px solid var(--v6-line);border-radius:10px;padding:18px 20px}.v6-case-module h2{font-size:18px;margin:0 0 4px}.v6-case-module p{color:var(--v6-muted);font-size:11px;margin:4px 0 12px}.v6-case-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.v6-case-item{border:1px solid var(--v6-line);border-radius:7px;padding:12px;background:#fbfdff}.v6-case-item strong{display:block;font-size:13px}.v6-case-item span{display:block;color:var(--v6-muted);font-size:11px;margin:3px 0 9px}@media(max-width:1100px){.v6-main{grid-template-columns:1fr;min-height:0}.v6-map-pane,.v6-console{min-height:680px}.v6-map-wrap iframe{min-height:600px}}@media(max-width:700px){.v6-case-grid{grid-template-columns:1fr}.v6-main{padding-bottom:0}}


.v6-role-jump{margin:18px 0 4px;padding:11px 13px;border-left:3px solid #1689c5;background:#f3f9fc;color:#648298;font-size:11px}.v6-role-jump a{margin-left:5px;color:#0879bd;font-weight:700;text-decoration:none}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/v6-overrides.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/* Final layout pass: map and console occupy the first viewport, results follow the page flow. */
body{overflow:auto}
#toast.show{display:block}
#scenarioMap{position:absolute;inset:0;width:100%;height:100%}
.v6-main{width:100%;max-width:none!important;margin:0!important;grid-template-columns:minmax(0,58fr) minmax(390px,42fr)!important;align-items:start}
.v6-map-pane{height:calc(100vh - 100px);min-height:600px!important;position:-webkit-sticky;position:sticky;top:16px}
.v6-map-wrap{min-height:450px}
.v6-map-annotation{position:absolute;left:18px;bottom:18px;padding:10px 14px;background:#092d27ed;border:1px solid #477393;border-radius:8px;color:#fff}
.v6-map-annotation b,.v6-map-annotation span{display:block}
.v6-console{min-height:0!important}
.v6-console-body{overflow:visible}
.v6-header{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding:10px 18px}
.v6-shell{grid-template-rows:auto auto auto!important}
#agentQuestion{width:100%;box-sizing:border-box;min-height:88px;border:1px solid var(--v6-line);border-radius:8px;padding:10px;margin-bottom:8px}
.v6-agent-answer{font-size:13px!important;min-height:72px;max-height:340px;overflow:auto}
@media(max-width:1000px){.v6-main{grid-template-columns:minmax(0,1fr)!important}.v6-map-pane{position:relative;top:0;height:570px;min-height:570px!important}.v6-control-row{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.v6-control-row{grid-template-columns:1fr}.v6-header-actions{flex-wrap:wrap}.v6-map-toolbar{gap:4px}}
.v6-shell{height:auto;min-height:100vh;grid-template-rows:64px auto auto}
.v6-main{grid-template-columns:minmax(480px,46%) minmax(560px,1fr);min-height:760px;overflow:visible}
.v6-map-pane,.v6-console{min-height:760px}
.v6-map-wrap iframe{min-height:0}
.v6-result-drawer{margin:0 18px 18px;border-radius:0;border-left:0;border-right:0;box-shadow:none}
.v6-case-module{margin:0 18px 18px;background:#fff;border:1px solid var(--v6-line);border-radius:10px;padding:18px 20px;box-shadow:var(--v6-shadow)}
.v6-case-module h2{font-size:18px;margin:0 0 4px}.v6-case-module p{color:var(--v6-muted);font-size:11px;margin:4px 0 12px}
.v6-case-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:12px;gap:12px}.v6-case-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--v6-line);border-radius:7px;padding:12px;background:#fbfdfc}.v6-case-item strong{display:block;font-size:13px}.v6-case-item span{display:block;color:var(--v6-muted);font-size:11px;margin:3px 0 0}
.v6-case-item button{white-space:nowrap}.v6-agent-answer{min-height:42px;margin:8px 0 0;padding:9px 11px;border-radius:6px;background:#f7f8f9;color:var(--v6-ink);white-space:pre-wrap;font-size:11px;line-height:1.7}
.v6-agent-answer+*{min-width:0}.v6-field textarea{width:100%;resize:vertical;border:1px solid var(--v6-line);border-radius:5px;padding:7px;background:#fbfdfc;color:var(--v6-ink)}
.v6-legacy-nav{display:flex;gap:12px;white-space:nowrap}.v6-legacy-nav a{color:var(--v6-muted);text-decoration:none;font-size:11px}.v6-legacy-nav a:hover{color:var(--v6-green)}
@media(max-width:1100px){.v6-main{grid-template-columns:1fr;min-height:0}.v6-map-pane,.v6-console{min-height:680px}.v6-map-wrap iframe{min-height:0}}
@media(max-width:700px){.v6-case-item{display:block}.v6-case-item button{margin-top:10px}.v6-main{padding-bottom:0}.v6-legacy-nav{display:none}}
.v6-case-title{display:flex;justify-content:space-between;gap:16px;align-items:start}.v6-case-title p{max-width:780px}.v6-case-flow{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:6px;gap:6px;margin:12px 0}.v6-case-flow b{padding:7px 9px;border-radius:6px;background:var(--v6-mint);color:var(--v6-green);font-size:11px}.v6-case-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v6-case-file{display:inline-flex;align-items:center;border:1px solid var(--v6-line);background:#fff;color:var(--v6-green);border-radius:6px;padding:7px 12px;font-weight:600;cursor:pointer}.v6-case-file input{display:none}.v6-case-note{color:var(--v6-muted);font-size:10px;margin:8px 0}.v6-case-grid{display:grid;grid-template-columns:1fr 1.2fr;grid-gap:10px;gap:10px}.v6-case-card{border:1px solid var(--v6-line);border-radius:7px;padding:11px;background:#fbfdfc}.v6-case-card h3,.v6-case-results h3{font-size:12px;margin:0 0 8px}.v6-case-mapping{display:grid;grid-template-columns:1fr 1fr;grid-gap:5px;gap:5px}.v6-case-mapping span{padding:5px 7px;background:#fff;border:1px solid var(--v6-line);border-radius:5px}.v6-case-mapping b,.v6-case-mapping em{display:block;font-size:10px;font-style:normal}.v6-case-mapping em{color:var(--v6-muted);margin-top:2px}.v6-case-errors{color:var(--v6-red);font-size:10px;line-height:1.6;margin-top:8px}.v6-case-bars{display:grid;grid-gap:5px;gap:5px}.v6-case-bar{display:grid;grid-template-columns:120px 1fr auto;grid-gap:7px;gap:7px;align-items:center;font-size:10px}.v6-case-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v6-case-bar i{height:9px;background:var(--v6-green2);border-radius:8px;display:block}.v6-case-bar b{font-size:10px;color:var(--v6-ink);white-space:nowrap}.v6-case-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;color:var(--v6-muted);font-size:10px}.v6-case-stats b{color:var(--v6-ink)}.v6-case-bottom{display:flex;align-items:center;gap:10px;margin-top:10px}.v6-case-results{margin-top:10px;padding:10px;border:1px solid #becad2;background:var(--v6-mint);border-radius:7px}.v6-case-results>div{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:var(--v6-muted)}.v6-case-results b{color:var(--v6-ink);font-size:12px}.v6-case-results p{margin:7px 0 0;font-size:10px}@media(max-width:700px){.v6-case-title{display:block}.v6-case-flow{grid-template-columns:1fr 1fr}.v6-case-grid{grid-template-columns:1fr}.v6-case-bar{grid-template-columns:90px 1fr auto}.v6-case-bottom{display:block}.v6-case-bottom .v6-status{display:block;margin-top:6px}}

/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/platform.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
:root{--green:#0e456d;--dark:#0c2d44;--mint:#edeff1;--text:#102e43;--muted:#688295;--line:#dee2e5;--bg:#f3f4f5;--orange:#ce913c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.65 'Microsoft YaHei','PingFang SC',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}a{color:var(--green);text-decoration:none}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;background:white;color:var(--green);padding:9px 16px;font-weight:600}button:hover{background:var(--mint);border-color:#8da6b8}button:disabled{cursor:wait;opacity:.55}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:var(--dark);color:white}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 2.4%;gap:32px;position:-webkit-sticky;position:sticky;top:0;z-index:20}.brand{display:flex;gap:12px;align-items:center;min-width:168px;font-size:21px;font-weight:800;line-height:1.3}.brand b{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:var(--green);color:white;font-size:27px}.brand small{display:block;letter-spacing:2px;font-size:11px;color:var(--muted);font-weight:400;margin-bottom:4px}.topbar nav{display:flex;align-self:stretch;gap:25px;flex:1 1}.topbar nav a{display:flex;align-items:center;border-bottom:3px solid transparent;color:#627b8c;white-space:nowrap}.topbar nav a.active{border-color:var(--green);color:var(--green);font-weight:700}.live{color:var(--muted);font-size:12px;white-space:nowrap}main{max-width:1660px;margin:auto;padding:0 28px 36px}.contextbar{display:flex;align-items:center;justify-content:space-between;min-height:67px;gap:12px;color:var(--muted);font-size:12px}.contextbar>div{display:flex;gap:12px;align-items:center}.contextbar strong{color:var(--text);font-size:13px}.contextbar select{background:transparent;border:0;font-weight:700;color:var(--green);margin-left:8px}.dot{height:7px;width:7px;background:#2372ab;border-radius:50%}.context-separator{color:#c1ccd4}.hero{background:var(--dark);border-radius:14px;color:white;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;overflow:hidden;margin-bottom:26px}.hero:after{content:'';position:absolute;right:-60px;top:-160px;width:440px;height:440px;border:55px solid #ffffff06;border-radius:50%;pointer-events:none}.hero h1{font-size:32px;margin:5px 0 10px;letter-spacing:1px}.hero p{color:#c3ced5;margin:0;max-width:790px}.hero .eyebrow{color:#8dadc4;font-size:12px;letter-spacing:3px}.hero-actions{display:flex;gap:10px;position:relative;z-index:1;flex-shrink:0}.hero-actions button{background:#ffffff12;color:white;border-color:#ffffff38}.hero-actions .primary{background:#f3f5f6;color:var(--dark)}.section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px;margin-bottom:26px;box-shadow:0 5px 20px #203d3103;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-head h2{margin:0;font-size:21px;letter-spacing:.4px}.section-head p{margin:3px 0 0;color:var(--muted);font-size:12px}.section-head .number{display:inline-block;color:#2b74a8;font-size:12px;letter-spacing:2px;margin-right:10px;vertical-align:middle}.tag{display:inline-block;padding:4px 10px;background:var(--mint);color:var(--green);border-radius:20px;font-size:11px;white-space:nowrap}.tag.warn{background:#fff2df;color:#98601b}.split{display:grid;grid-template-columns:1.2fr 1fr;grid-gap:24px;gap:24px}.split.equal{grid-template-columns:1fr 1fr}.kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:0;gap:0;background:#f6f7f8;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:14px 0}.kpi{padding:15px 18px;border-right:1px solid var(--line)}.kpi:last-child{border:0}.kpi span{display:block;color:var(--muted);font-size:12px}.kpi strong{font-size:25px;letter-spacing:-.5px;display:block;line-height:1.5}.kpi small{color:var(--muted);font-size:11px}.kpi.focus{background:var(--mint)}.roles{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:12px 0}.roles button{border:0;border-radius:0;flex:1 1;text-align:left;padding:15px 19px;border-right:1px solid var(--line);background:#fbfdfc}.roles button:last-child{border:0}.roles button.active{background:var(--mint);box-shadow:inset 0 3px var(--green)}.roles strong{display:block;font-size:17px}.roles span{color:var(--muted);display:block;font-weight:400;font-size:12px;margin-top:4px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tabs button.active{background:var(--green);color:white;border-color:var(--green)}.tabs button{padding:8px 17px}.muted{color:var(--muted)}.small{font-size:12px}.notice{background:#f5f7f8;border-left:3px solid #7d9fb7;padding:10px 14px;font-size:12px;margin:12px 0;color:#557389}.notice.warn{border-color:var(--orange);background:#fffbf3;color:#886630}.compact-list{margin:0;padding-left:20px}.compact-list li{padding:6px 0}.advice{background:#eff1f3;border-radius:8px;padding:18px 20px;border-left:4px solid var(--green);margin-bottom:14px}.advice h3{font-size:21px;margin:0 0 6px}.advice p{margin:0;line-height:1.9}.steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px;margin:15px 0;overflow:hidden}.step{padding:14px;border-right:1px solid var(--line)}.step:last-child{border:0}.step small{color:var(--muted);display:block}.step b{display:block;font-size:13px;margin-top:6px}.step i{font-style:normal;background:var(--mint);color:var(--green);padding:1px 7px;border-radius:30px;margin-right:5px}.chart{height:270px;width:100%}.chart-title{font-size:15px;margin:5px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:var(--muted);font-weight:400;background:#f5f7f8}td,th{padding:11px 13px;border-bottom:1px solid var(--line);white-space:nowrap}td p{margin:3px 0;white-space:normal;color:var(--muted);font-size:12px}.positive{color:#0c4e7d}.negative{color:#b46732}details{border-top:1px solid var(--line);padding:12px 0 0;margin-top:15px}summary{cursor:pointer;color:var(--green);font-size:13px;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px 17px;gap:12px 17px}.field{display:flex;flex-direction:column;gap:5px;color:#516c80;font-size:12px}.field>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fafcfb}.field input{width:100%;min-width:0;border:0;background:transparent;padding:9px 11px;color:var(--text);font-weight:600}.field em{white-space:nowrap;font-style:normal;font-size:10px;padding-right:10px;color:#768e9f}.field input:focus{outline:2px solid #498bba;outline-offset:-2px}.field select,select.control{padding:9px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--text)}.form-group{margin:20px 0}.form-group h3{margin:0 0 10px;font-size:15px;display:flex;justify-content:space-between}.form-group h3 span{font-size:11px;font-weight:400;color:var(--muted)}.runbar{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:17px;flex-wrap:wrap}.runbar .primary{min-width:170px}.upload-row{display:grid;grid-template-columns:130px 1fr 130px;grid-gap:14px;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.upload-row input{max-width:100%;font-size:12px}.check{display:flex;gap:8px;align-items:center;font-size:12px;margin:15px 0}.check input{width:auto}.map-frame{width:100%;height:710px;border:0;border-radius:8px;background:#f4f5f6}.map-preview{height:450px}.dashboard-frame{width:100%;height:950px;border:0;background:#fff}.citybar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.citybar input{padding:8px 12px;border:1px solid var(--line);border-radius:5px}.chat-layout{display:grid;grid-template-columns:minmax(350px,39%) minmax(0,1fr);grid-gap:24px;gap:24px}.chat-section{display:flex;flex-direction:column;position:-webkit-sticky;position:sticky;top:105px;height:calc(100vh - 140px);min-height:600px;max-height:900px}.chat-log{flex:1 1;overflow:auto;padding:4px 2px 16px;min-height:180px}.bubble{padding:13px 16px;background:#eff1f3;border-radius:9px;margin:10px 0;white-space:pre-wrap;line-height:1.85;font-size:13px}.bubble.user{background:var(--green);color:#fff;margin-left:38px}.bubble small{display:block;font-size:11px;color:#768e9f;margin-bottom:5px}.bubble.user small{color:#c4cfd6}.chat-input textarea{resize:vertical;min-height:98px;width:100%;padding:12px;border:1px solid var(--line);border-radius:7px;background:#fafcfb}.chat-input .runbar{border:0;padding-top:8px;justify-content:space-between}.question-pills{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.empty{padding:30px 20px;background:#f5f6f7;border-radius:8px;text-align:center;color:var(--muted)}.case-row{display:grid;grid-template-columns:60px 1fr auto;align-items:center;grid-gap:20px;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.case-row:last-child{border:0}.case-index{font-size:26px;font-weight:700;color:#86a2b6}.case-row h3{margin:0 0 4px;font-size:18px}.case-row p{margin:0;color:var(--muted);font-size:13px}.page-heading{display:flex;justify-content:space-between;align-items:end;margin:4px 0 22px}.page-heading h1{font-size:28px;margin:0}.page-heading p{color:var(--muted);margin:5px 0 0}.loading{opacity:.65}.two-col-text{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.inline-actions{display:flex;gap:9px;align-items:center}.strong-line{font-size:18px;font-weight:700}.sheet-link{border-bottom:1px solid #bcc8d0}.mini-flow{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px 0;color:#597990;font-size:12px}.mini-flow strong{display:block;color:var(--text);font-size:16px}footer{max-width:1660px;margin:0 auto;padding:5px 28px 25px;font-size:11px;color:#7e95a6;display:flex;justify-content:space-between}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--dark);color:white;max-width:90%;padding:10px 20px;border-radius:8px;z-index:100;display:none}button:focus-visible,a:focus-visible{outline:2px solid #dcaa5d}@media(max-width:1150px){.topbar{gap:15px;padding:0 20px}.topbar nav{gap:16px;font-size:13px}.live{display:none}.hero{padding:25px}.hero h1{font-size:27px}.split{grid-template-columns:1fr}.chat-layout{grid-template-columns:40% 1fr}.kpi{padding:12px}.kpi strong{font-size:21px}}@media(max-width:800px){.topbar{height:auto;flex-wrap:wrap;padding:12px 16px 0;gap:5px}.brand{font-size:18px}.brand b{height:35px;width:35px}.topbar nav{overflow:auto;gap:20px;width:100%;flex:auto;height:45px}.contextbar{align-items:start;padding:15px 0}.contextbar>div{flex-wrap:wrap;gap:7px}main{padding:0 14px 20px}.hero{display:block}.hero-actions{margin-top:18px}.section{padding:17px;margin-bottom:20px}.form-grid{grid-template-columns:1fr 1fr}.chat-layout,.split.equal{grid-template-columns:1fr}.chat-section{height:620px;position:static;min-height:0}.kpis,.steps{grid-template-columns:1fr 1fr}.roles{flex-wrap:wrap}.roles button{min-width:45%}.hero h1{font-size:26px}.map-preview{height:420px}.upload-row{grid-template-columns:95px 1fr}.upload-row a{grid-column:2}.two-col-text{grid-template-columns:1fr}.case-row{grid-template-columns:35px 1fr;gap:12px}.case-row button{grid-column:2;justify-self:start}footer{display:block}.section-head{align-items:start}.page-heading h1{font-size:25px}}
:root{--map-gap:22px}.map-workspace{display:grid;grid-template-columns:260px minmax(0,1fr) 330px;grid-gap:var(--map-gap);gap:var(--map-gap);align-items:start;margin-bottom:26px}.map-controls,.map-canvas,.map-results{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.map-controls{position:-webkit-sticky;position:sticky;top:105px}.map-controls h3{font-size:14px;border-top:1px solid var(--line);padding-top:15px;margin:18px 0 10px}.map-controls .field{margin-bottom:11px}.action-list{display:grid;grid-gap:7px;gap:7px;margin-bottom:15px}.action-list button{font-size:11px;text-align:left;padding:7px 9px}.map-run{width:100%;margin-top:6px}.map-canvas .section-head,.map-results .section-head{margin-bottom:12px}.map-canvas .map-frame{height:610px}.map-legend-line{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px;padding-top:10px}.map-results .section{padding:0;border:0;box-shadow:none;margin:0}.map-results .kpis{grid-template-columns:1fr 1fr}.map-results .kpi{padding:10px}.map-results .kpi strong{font-size:18px}.map-results .chart{height:180px}.map-result-links{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.map-footer-strip{margin-top:0}@media(max-width:1200px){.map-workspace{grid-template-columns:230px minmax(0,1fr)}.map-results{grid-column:1/-1}.map-controls{position:static}.map-canvas .map-frame{height:560px}}@media(max-width:800px){.map-workspace{display:block}.map-controls,.map-canvas,.map-results{margin-bottom:18px}.map-canvas .map-frame{height:440px}.map-legend-line{display:block}.map-legend-line span{display:block;margin-top:4px}}
:root{--map-gap:22px}.map-data-strip{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px;background:#f4f6f7;border:1px solid var(--line);border-radius:8px;padding:10px;margin-bottom:10px}.map-data-strip>div{min-width:0;padding:5px 9px;border-right:1px solid var(--line)}.map-data-strip>div:last-child{border:0}.map-data-strip span,.map-data-strip small{display:block;color:var(--muted);font-size:10px}.map-data-strip strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-data-strip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-canvas .map-frame{display:block;width:100%;height:610px;min-height:420px}.map-results{overflow:hidden}.map-results .section{max-width:100%}.map-results .steps{grid-template-columns:1fr 1fr}.map-results .step{min-width:0}.map-results .step b{white-space:normal;word-break:break-word}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/business-inline.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.biz-workspace{display:grid;grid-gap:20px;gap:20px;min-width:0;color:#0f3753}.biz-group{padding:18px;border:1px solid #d6dbdf;border-radius:12px;background:#fff;min-width:0}.biz-group h3{margin:0 0 12px;font-size:17px}.biz-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.biz-heading span,.biz-muted{font-size:12px;color:#668296}.biz-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.biz-wide{grid-column:1/-1;background:#f9fafa}.biz-field{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.biz-field small{font-size:11px;color:#6b8598}.biz-field input,.biz-field select{box-sizing:border-box;width:100%;min-width:0;height:38px;padding:7px 9px;border:1px solid #cdd6dc;border-radius:6px;background:white;color:#113752;font:inherit}.biz-field input:focus,.biz-field select:focus{outline:2px solid #6d9cbd;outline-offset:1px}.biz-row{border-top:1px solid #dde2e5;padding-top:12px;margin-top:12px}.biz-row .biz-heading{margin-bottom:10px}.biz-heading button{padding:5px 10px;font-size:12px}.biz-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.biz-metrics>div{padding:12px;background:#f0f2f3;border-radius:8px;min-width:0}.biz-metrics small{display:block;color:#5b7588;font-size:12px}.biz-metrics strong{display:block;font-size:23px;margin-top:5px;overflow-wrap:anywhere}.biz-metrics em{font-size:12px;font-style:normal;font-weight:400}.biz-output-list{display:flex;flex-wrap:wrap;gap:8px}.biz-output-list span{padding:6px 9px;background:#f0f2f3;border-radius:6px;font-size:13px}.biz-run{display:flex;align-items:center;gap:12px}.biz-run span{color:#a24725;font-size:13px}.biz-visual{height:280px;background:white;border:1px solid #d6dbdf;border-radius:12px;min-width:0}.biz-table{overflow:auto}.biz-table table{width:100%;border-collapse:collapse;font-size:12px}.biz-table th,.biz-table td{padding:9px;text-align:left;border-bottom:1px solid #e3e7e9;white-space:nowrap}.biz-table th{background:#f1f3f4}.biz-conclusions{border-left:4px solid #155f93;background:#f6f7f8}.biz-conclusions p{font-size:14px;line-height:1.75;margin:8px 0}.biz-limits{border-top:1px solid #d9dee2;margin-top:12px;padding-top:6px;color:#657f91}.biz-limits p{font-size:12px}.biz-confirm{font-size:13px}.biz-confirm input{width:auto}@media(max-width:600px){.biz-fields,.biz-metrics{grid-template-columns:1fr}.biz-group{padding:12px}}
/* v7.5 function workspace */
.v75-workspace{margin-top:16px;border:1px solid #d3d8dc;border-radius:16px;background:#fff;overflow:hidden;color:#0a2940}
.v75-title,.v75-output-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px}
.v75-title{background:linear-gradient(100deg,#f0f2f4,#fff)}
.v75-title span,.v75-input-head span,.v75-output-head p{font-size:12px;color:#5b788d}.v75-title h3{font-size:25px;margin:5px 0}.v75-title p{margin:0;color:#47687f}
.v75-layer,.business-status{white-space:nowrap;border-radius:99px;padding:7px 11px;background:#e5e8eb;color:#0b456e;font-weight:700;font-size:12px}
.v75-scope{padding:13px 22px;border-top:1px solid #dee2e5;border-bottom:1px solid #dee2e5;color:#3d6079;line-height:1.65}
.v75-input-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 8px}.v75-input-head h4,.v75-output h4{font-size:19px;margin:0}
.v75-inputs{padding:4px 22px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:start;background:linear-gradient(180deg,#fff 0,#f9fafa 100%)}
.v75-input-group{min-width:0;border:1px solid #d3d8dc;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(19,60,89,.045);overflow:hidden}.v75-input-group:has(.v75-array),.v75-input-group:has(.v75-scenarios){grid-column:1/-1}.v75-input-group.primary-group{border-color:#9eb4c3;box-shadow:0 8px 24px rgba(12,74,119,.08)}.v75-input-group>header{display:flex;align-items:center;gap:9px;padding:12px 15px;border-bottom:1px solid #e1e5e8;background:linear-gradient(100deg,#f4f5f6,#fff)}.v75-input-group>header>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#0d507f;color:#fff;font-size:11px;font-weight:800}.v75-input-group>header h5{margin:0;font-size:15px;color:#0c2d44}.v75-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 14px;gap:10px 14px;padding:14px}
.v75-subgroup{border:1px solid #dadfe2;border-radius:12px;background:#fafbfb;padding:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.v75-subgroup h5{grid-column:1/-1;margin:0 0 2px;font-size:15px}
.v75-subgroup .v75-subgroup{grid-column:1/-1}.v75-array{grid-column:1/-1;display:grid;grid-gap:9px;gap:9px}.v75-row{border-left:3px solid #448abc;padding:8px 10px;background:#fff}.v75-row>b{display:block;margin-bottom:8px}.v75-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}
.v75-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:#3d5f77}.v75-field>span{font-weight:650;color:#2d516a}.v75-field input,.v75-field select{min-width:0;width:100%;height:39px;box-sizing:border-box;border:1px solid #cad4db;border-radius:9px;background:#fbfdfc;padding:8px 10px;color:#0b2d45;transition:border-color .16s,box-shadow .16s,background .16s}.v75-field input:hover,.v75-field select:hover{border-color:#9cb1c0;background:#fff}.v75-field input:focus,.v75-field select:focus{outline:0;border-color:#0e568a;background:#fff;box-shadow:0 0 0 3px rgba(14,86,138,.11)}.v75-field.v75-wide{grid-column:1/-1}.v75-check{grid-column:1/-1;min-height:39px;display:grid;grid-template-columns:1fr auto;align-items:center;padding:0 11px;border:1px solid #d3d8dc;border-radius:9px;background:#f7f8f8}.v75-check input{width:38px;height:21px;justify-self:end;accent-color:#0e568a}
.v75-number-array{grid-column:1/-1;min-width:0;padding:11px 12px;border:1px solid #d9dee1;border-radius:10px;background:#f8f9fa}.v75-number-array>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.v75-number-array>header strong{font-size:12px;color:#264b66}.v75-number-array>header span{font-size:10px;color:#70899b}.v75-number-array>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));grid-gap:7px;gap:7px}.v75-number-cell{display:flex;flex-direction:column;gap:4px}.v75-number-cell span{font-size:10px;color:#678194}.v75-number-cell input{box-sizing:border-box;width:100%;min-width:0;height:35px;padding:6px 8px;border:1px solid #cdd6dc;border-radius:8px;background:#fff;color:#0c2d45}.v75-number-cell input:focus{outline:0;border-color:#0e568a;box-shadow:0 0 0 3px rgba(14,86,138,.1)}
.v75-scenarios{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.v75-scenarios>header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:4px 2px}.v75-scenarios>header h5{margin:0;font-size:15px}.v75-scenarios>header p{margin:4px 0 0;font-size:12px;color:#5b788c}.v75-scenarios>header>span{font-size:12px;color:#466880}.v75-scenario-card{border:1px solid #d8dde0;border-radius:11px;background:#fbfdfc;padding:12px}.v75-scenario-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid #e3e7e9}.v75-scenario-head>label,.v75-payoff-grid label{display:flex;align-items:center;gap:6px;font-size:11px;color:#557287}.v75-scenario-head input{width:70px}.v75-scenario-head em,.v75-payoff-grid em{font-style:normal;color:#0e5180;font-weight:700}.v75-state-grid,.v75-payoff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:7px;gap:7px;margin-top:9px}.v75-state-condition,.v75-payoff-grid label{display:flex;flex-direction:column;align-items:stretch;gap:5px}.v75-state-condition span,.v75-payoff-grid span{font-size:11px;color:#577488}.v75-state-condition select,.v75-scenario-card input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cdd6dc;border-radius:7px;background:#fff;padding:7px;color:#0c2d45}.v75-payoff-grid input{font-weight:700}
.v75-confirm{display:flex;gap:9px;align-items:center;margin:0 22px 14px;padding:12px;border-radius:9px;background:#fff8e8;color:#6b5520}
.v75-run{display:flex;gap:10px;align-items:center;padding:14px 22px;border-top:1px solid #dee2e5}.v75-run button{padding:11px 16px;border:1px solid #cbd4db;border-radius:9px;background:#fff;color:#0a4168;font-weight:700}.v75-run .primary{background:#0d5181;color:#fff}.v75-run span{font-size:12px;color:#617a8b}
.v75-output{border-top:12px solid #eff1f2;background:linear-gradient(180deg,#fff 0,#fbfdfc 100%)}
.v75-result-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 10px}.v75-result-title>div{display:flex;align-items:center;gap:12px}.v75-result-title h4{margin:0;font-size:19px}.v75-result-title>span{font-size:12px;color:#60798b}
.business-status.invalid_input,.business-status.invalid_baseline,.business-status.solver_error{background:#fde7df;color:#a33d20}.business-status.no_incremental_trade,.business-status.no_profitable_product,.business-status.no_feasible_product,.business-status.customer_retains_alternative{background:#fff0cf;color:#805d09}
.v75-decision{margin:8px 22px 14px;padding:18px 20px;border-radius:12px;background:#0b436b;color:#fff;box-shadow:0 10px 28px rgba(10,55,87,.12)}.v75-decision.caution{background:#705315}.v75-decision>span,.v75-analysis aside span{font-size:11px;letter-spacing:.12em;font-weight:800;opacity:.78}.v75-decision h4{margin:5px 0;font-size:25px;line-height:1.3}.v75-decision p{margin:0;opacity:.82;font-size:13px}
.v75-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 22px 16px;border:1px solid #dbe0e3;border-radius:11px;overflow:hidden}.v75-metric{padding:14px 16px;border-right:1px solid #dbe0e3;background:#fff;min-width:0}.v75-metric:last-child{border-right:0}.v75-metric span{display:block;color:#5e788a;font-size:12px}.v75-metric strong{display:block;margin-top:5px;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
.v75-analysis{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);grid-gap:14px;gap:14px;margin:0 22px 18px}.v75-analysis>div,.v75-analysis>aside{border:1px solid #dee2e5;border-radius:12px;background:#fff}.v75-analysis h5{margin:0;padding:14px 16px 0;font-size:15px}.v75-chart{height:265px;min-width:0}.v75-analysis aside{padding:16px 18px;background:#f4f6f7}.v75-analysis aside section+section{padding-top:14px;margin-top:14px;border-top:1px solid #dadfe2}.v75-analysis aside p{margin:5px 0 0;line-height:1.7;color:#365972;font-size:13px}.v75-analysis aside a{display:inline-block;margin-top:16px;color:#0b456e;font-weight:700;font-size:13px}
.v75-provenance{padding:11px 22px;border-top:1px solid #dee2e5;font-size:11px;color:#6e889a}.v75-error,.v75-empty{padding:24px;color:#8b3a24}
@media(max-width:1100px){.v75-inputs{grid-template-columns:1fr}.v75-group-grid,.v75-grid,.v75-subgroup{grid-template-columns:1fr}.v75-check{grid-template-columns:1fr auto}.v75-scenarios{grid-template-columns:1fr}.v75-metrics{grid-template-columns:repeat(2,1fr)}.v75-metric:nth-child(2){border-right:0}.v75-analysis{grid-template-columns:1fr}}

/* Clear sections, compact controls and optional task details. */
.v75-joint-explanation{margin:0 22px 20px;padding:18px;border:1px solid #dbe0e3;border-radius:12px;background:#f8f9f9}
.v75-joint-explanation h5{margin:0 0 8px;font-size:16px;color:#16405e}
.v75-joint-explanation p{margin:8px 0;color:#4b687d;font-size:13px;line-height:1.8}
.v75-joint-explanation .v75-input-table{padding:8px 0}
.v75-joint-explanation td{white-space:nowrap;color:#174362;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
.v75-input-help{display:block;margin-top:2px;color:#657f91;font-size:11px;font-weight:400;line-height:1.6;letter-spacing:.01em;text-align:left;overflow-wrap:anywhere}
.v75-field:focus-within>.v75-input-help,.v75-number-cell:focus-within>.v75-input-help{color:#245a80}
.v75-check>.v75-input-help{grid-column:1/-1;padding-bottom:7px;margin-top:0}
.v75-check{padding-top:7px!important}
.v75-input-table .v75-input-help{max-width:190px;font-size:10px;margin-top:5px}
.v75-number-cell .v75-input-help{font-size:10px}
.v75-inputs{display:flex;flex-direction:column;gap:20px;padding:8px 22px 24px;background:#f5f7f8}
.v75-input-guide{margin:0;padding:12px 2px 0;color:#254d6a;font-size:13px;line-height:1.7}
.v75-input-guide>span{display:block;color:#698396;font-size:12px}
.v75-group-section{width:100%;box-sizing:border-box;border-radius:12px;box-shadow:0 3px 12px rgba(13,47,72,.035)}
.v75-group-section>summary{display:flex;align-items:center;gap:10px;padding:15px 18px;cursor:pointer;background:#eff1f3;list-style:none}
.v75-group-section>summary::-webkit-details-marker,.v75-detail>summary::-webkit-details-marker{display:none}
.v75-group-section>summary:after,.v75-detail>summary:after{content:'＋';margin-left:auto;color:#0f5383;font-size:17px}
.v75-group-section[open]>summary:after,.v75-detail[open]>summary:after{content:'−'}
.v75-group-section>summary h5{margin:0;font-size:15px;color:#173d58}
.v75-group-section>summary small{font-size:11px;color:#647e90;margin-left:8px}
.v75-step{background:#0d5181;color:white;border-radius:7px;padding:4px 7px;font-size:11px;font-weight:700}
.v75-group-section[open]>summary{border-bottom:1px solid #dfe3e5}
.v75-group-grid,.v75-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;align-items:start}
.v75-group-grid{padding:18px}
.v75-field input,.v75-field select{height:35px;padding:6px 9px;border-radius:7px;font-size:13px}
.v75-check{grid-column:auto;min-height:35px;margin-top:20px}.v75-check input{height:18px;width:18px}
.v75-subgroup{grid-column:1/-1;background:#fafcfb;border-radius:8px;padding:12px}
.v75-number-array{padding:10px 12px;border-radius:8px;background:#fafcfb}
.v75-number-array>div{grid-template-columns:repeat(auto-fit,minmax(90px,160px))}
.v75-detail{grid-column:1/-1;min-width:0;border:1px solid #dce1e4;border-radius:8px;background:#fff;overflow:hidden}
.v75-detail>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:11px 13px;font-size:13px;font-weight:600;cursor:pointer}
.v75-detail>summary small{font-size:11px;color:#6f899b;font-weight:400}
.v75-detail>.v75-number-array{border:0;border-top:1px solid #e6e9eb}
.v75-collection-body{display:grid;grid-gap:8px;gap:8px;padding:0 12px 12px}
.v75-record{background:#f9fbfa}.v75-record>.v75-grid{padding:12px;border-top:1px solid #e1e5e8}
.v75-input-table{overflow:auto;padding:12px 18px 18px}
.v75-input-table table{width:100%;border-collapse:collapse;font-size:12px;min-width:480px}
.v75-input-table th{text-align:left;font-weight:600;color:#3c5b71;padding:9px 12px;border-bottom:1px solid #e4e7ea}
.v75-input-table thead{background:#f5f6f7}.v75-input-table td{padding:6px 10px;border-bottom:1px solid #edeff1}
.v75-input-table input{box-sizing:border-box;width:100%;min-width:65px;max-width:180px;height:33px;padding:5px 9px;border:1px solid #cfd7dd;border-radius:6px;background:#fcfdfc;color:#183c56}
.v75-input-table input:focus{outline:2px solid #8facc0;outline-offset:1px}
@media(max-width:1000px){.v75-group-grid,.v75-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.v75-inputs{padding:8px 12px 18px;gap:14px}.v75-group-grid,.v75-grid{grid-template-columns:1fr}.v75-group-section>summary small{display:none}.v75-group-grid{padding:12px}.v75-check{margin-top:0}.v75-detail>summary{flex-wrap:wrap}}
.v75-result-explanation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 24px;gap:16px 24px}
.v75-result-explanation>h5,.v75-result-explanation>.v75-result-boundary{grid-column:1/-1}
.v75-result-explanation>section{border-top:1px solid #dfe3e5;padding-top:14px;min-width:0}
.v75-result-explanation h6{margin:0 0 8px;font-size:14px;color:#0c4974}
.v75-result-explanation p{line-height:1.85;margin:0}
.v75-result-explanation .v75-result-boundary{font-size:12px;color:#617c8f;border-top:1px solid #dfe3e5;padding-top:12px}
@media(max-width:760px){.v75-result-explanation{grid-template-columns:1fr}}

.v75-agent-panel{margin:14px 0 18px;border:1px solid #cfe1ef;border-radius:12px;background:linear-gradient(110deg,#f7fbff,#fff);overflow:hidden}.v75-agent-panel>header{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid #dce9f3}.v75-agent-panel>header span{color:#0068b5;font-size:10px;letter-spacing:1.4px}.v75-agent-panel>header h4{margin:3px 0 0;font-size:15px;color:#173650}.v75-agent-panel>header em{font-style:normal;font-size:10px;color:#6d8194}.v75-agent-panel>div{display:grid;grid-template-columns:repeat(3,1fr)}.v75-agent-panel article{display:grid;grid-template-columns:28px 1fr auto;grid-gap:9px;gap:9px;align-items:center;padding:14px;border-right:1px solid #dce9f3}.v75-agent-panel article:last-child{border-right:0}.v75-agent-panel article>b{width:27px;height:27px;border-radius:8px;background:#e6f3fb;color:#0068b5;display:grid;place-items:center;font-size:10px}.v75-agent-panel article span{min-width:0}.v75-agent-panel article strong,.v75-agent-panel article small{display:block}.v75-agent-panel article strong{font-size:12px;color:#173650}.v75-agent-panel article small{margin-top:3px;font-size:10px;line-height:1.5;color:#6d8194}.v75-agent-panel article>i{font-style:normal;font-size:10px;color:#0068b5}.v75-agent-panel article.done>b{background:#e5f3fb;color:#0068b5}.v75-agent-panel article.running>b{background:#fff3d7;color:#a56b00}@media(max-width:850px){.v75-agent-panel>div{grid-template-columns:1fr}.v75-agent-panel article{border-right:0;border-bottom:1px solid #dce9f3}}


.v75-scenario-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:9px 14px;border:1px solid #b9dbea;border-radius:9px;background:#eaf6fc;color:#123e5b}.v75-scenario-banner>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0}.v75-scenario-banner small{font-size:11px;color:#56809a;white-space:nowrap}.v75-scenario-banner strong{font-size:16px;white-space:nowrap}.v75-scenario-banner span{font-size:12px;white-space:nowrap}.v75-scenario-banner.empty{background:#fff}.v75-source{padding:2px 7px;border-radius:999px;background:#fff;border:1px solid #c9dfeb;color:#47708b!important;font-size:11px!important;font-weight:600}.v75-source.inherited{background:#dff3ff;color:#0876b9!important}.v75-source.user{background:#fff1dd;color:#a55b00!important}.v75-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px}@media(max-width:760px){.v75-scenario-banner,.v75-scenario-banner>div:first-child{align-items:flex-start;flex-direction:column;gap:5px}}
.v75-source.data{background:#e4f7ed;border-color:#b8dfca;color:#177647!important}.v75-source.derived,.v75-source.inherited{background:#dff3ff;color:#0876b9!important}.v75-source.default{background:#f3f5f6;border-color:#d9e0e4;color:#677b88!important}
.v75-scenario-banner>div:first-child>span+span{padding-left:10px;border-left:1px solid #b9dbea}
.v75-result-actions{display:flex;justify-content:flex-start;gap:9px;padding:4px 22px 12px}.v75-result-actions button{padding:8px 12px;border:1px solid #bfd3e0;border-radius:8px;background:#fff;color:#075f99;font-weight:700}.v75-result-actions .primary{background:#087ec1;color:#fff}.v75-candidate-reasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin:4px 22px 14px;padding:14px 16px;border:1px solid #d6e2e9;border-radius:11px;background:#f7fbfd}.v75-candidate-reasons div{min-width:0}.v75-candidate-reasons small{display:block;color:#668397}.v75-candidate-reasons strong{display:block;margin:4px 0;color:#123e5b}.v75-candidate-reasons p,.v75-candidate-reasons ul{margin:4px 0 0;color:#45677e;font-size:12px;line-height:1.7}.v75-candidate-reasons ul{padding-left:18px}@media(max-width:700px){.v75-candidate-reasons{grid-template-columns:1fr}.v75-result-actions{flex-wrap:wrap}}
/* Keep the workflow strip and scene context in one compact rectangular stack. */
.v75-workspace>.v75-agent-panel{margin:0;border-radius:0}
.v75-workspace>.v75-scenario-banner{margin:0;border-top:0;border-radius:0;padding:10px 16px}
/* Scene context acts as the two-line heading for the measurement section. */
.v75-workspace>.v75-scenario-banner{display:grid;grid-template-rows:auto auto;grid-gap:5px;gap:5px;padding:14px 18px 12px;border:0;border-bottom:1px solid #d7e2e9;border-radius:0;background:transparent;color:#123e5b}
.v75-scenario-primary{display:flex;align-items:baseline;gap:10px;min-width:0}
.v75-scenario-primary small{font-size:11px;color:#668397;white-space:nowrap}
.v75-scenario-primary strong{font-size:18px;line-height:1.35}
.v75-scenario-secondary{display:flex;align-items:center;gap:0;padding-left:62px;color:#56788f;font-size:12px;line-height:1.5}
.v75-scenario-secondary span+span{margin-left:12px;padding-left:12px;border-left:1px solid #c7d7e0}
@media(max-width:760px){.v75-scenario-primary{flex-direction:row;align-items:baseline}.v75-scenario-secondary{padding-left:0;flex-wrap:wrap;gap:5px 0}}
/* Balanced scene heading: a two-row label card with aligned context chips. */
.v75-workspace>.v75-scenario-banner{display:grid;grid-template-columns:86px minmax(0,1fr);grid-template-rows:auto auto;grid-column-gap:14px;column-gap:14px;grid-row-gap:8px;row-gap:8px;align-items:stretch;padding:14px 18px;border:0;border-bottom:1px solid #d7e2e9;background:transparent}
.v75-scenario-label{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;border:1px solid #b9d5e6;border-radius:8px;background:#fff;color:#076cae;box-shadow:0 2px 7px rgba(12,78,120,.05)}
.v75-scenario-label small{font-size:11px;line-height:1.2;color:#668397}
.v75-scenario-label strong{margin-top:3px;font-size:17px;line-height:1.2}
.v75-scenario-primary{grid-column:2;grid-row:1;display:flex;align-items:center;min-width:0}
.v75-scenario-primary strong{font-size:18px;line-height:1.35}
.v75-scenario-secondary{grid-column:2;grid-row:2;display:flex;align-items:stretch;gap:8px;padding:0;color:#456c85;font-size:12px;line-height:1.4}
.v75-scenario-secondary span+span{margin-left:0;padding-left:0;border-left:0}
.v75-scenario-chip{display:flex;align-items:center;min-height:30px;box-sizing:border-box;padding:6px 11px;border:1px solid #c9dce8;border-radius:7px;background:#fff;white-space:nowrap}
.v75-scenario-chip b{margin:0 4px;color:#075f99;font-size:15px;font-weight:800}
@media(max-width:760px){.v75-workspace>.v75-scenario-banner{grid-template-columns:72px minmax(0,1fr);column-gap:10px;padding:12px}.v75-scenario-primary{flex-direction:row;align-items:center}.v75-scenario-secondary{padding-left:0;flex-wrap:wrap}.v75-scenario-chip{white-space:normal}}
/* Plain two-line scene heading aligned with the measurement content. */
.v75-workspace>.v75-scenario-banner{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;grid-gap:5px;gap:5px;align-items:start;padding:14px 22px;border:0;border-bottom:1px solid #d7e2e9;border-radius:0;background:transparent}
.v75-workspace .v75-scenario-label{display:none}
.v75-workspace .v75-scenario-primary{grid-column:1;grid-row:1;display:block;min-width:0}
.v75-workspace .v75-scenario-primary strong{font-size:18px;line-height:1.4;color:#123e5b}
.v75-scenario-divider{font-style:normal;color:#8aa4b5;font-weight:400}
.v75-workspace .v75-scenario-secondary{grid-column:1;grid-row:2;display:flex;align-items:baseline;gap:20px;padding:0;color:#56788f;font-size:12px;line-height:1.5}
.v75-workspace .v75-scenario-secondary span,.v75-workspace .v75-scenario-secondary span+span{min-height:0;margin:0;padding:0;border:0;background:transparent;white-space:nowrap}
.v75-workspace .v75-scenario-secondary b{margin:0 2px;color:#075f99;font-size:14px;font-weight:800}
@media(max-width:760px){.v75-workspace>.v75-scenario-banner{padding:12px}.v75-workspace .v75-scenario-primary{display:block}.v75-workspace .v75-scenario-secondary{flex-wrap:wrap;gap:4px 14px}}
/* Final compact scene header aligned to the measurement module. */
body[data-platform-page=functions] .v75-workspace>.v75-scenario-banner{padding:10px 0 8px;border-bottom:0;gap:4px}
body[data-platform-page=functions] .v75-scenario-primary strong{font-size:16px;line-height:1.35}
body[data-platform-page=functions] .v75-scenario-secondary{gap:7px;font-size:11px;line-height:1.35}
body[data-platform-page=functions] .v75-scenario-secondary span,body[data-platform-page=functions] .v75-scenario-secondary span+span{display:flex;align-items:center;min-height:26px;padding:4px 9px;border:1px solid #cbdde8;border-radius:6px;background:#fff}
body[data-platform-page=functions] .v75-scenario-secondary b{font-size:13px}
body[data-platform-page=functions] .measurement-layout{margin-top:0}
.v75-provenance-panel{margin:0 0 10px;border:1px solid #cbdde8;border-radius:8px;background:#fff;overflow:hidden}.v75-provenance-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 14px;cursor:pointer;color:#174b6d;list-style:none}.v75-provenance-panel>summary::-webkit-details-marker{display:none}.v75-provenance-panel>summary span{display:flex;align-items:baseline;gap:10px}.v75-provenance-panel>summary b{font-size:14px}.v75-provenance-panel>summary small,.v75-provenance-panel>summary em{color:#68849a;font-size:11px;font-style:normal}.v75-provenance-panel[open]>summary{border-bottom:1px solid #dce8ef;background:#f6fbfe}.v75-provenance-body{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;padding:14px}.v75-provenance-body section{min-width:0}.v75-provenance-body h5{margin:0 0 9px;color:#123e5b;font-size:13px}.v75-provenance-body p{margin:0;color:#6b8294;font-size:12px}.v75-provenance-row,.v75-source-record{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:3px 12px;gap:3px 12px;padding:8px 0;border-top:1px solid #e6eef3}.v75-provenance-row span{display:grid}.v75-provenance-row small,.v75-source-record small{color:#71889a;font-size:10px}.v75-provenance-row>strong{align-self:center;color:#075f99;font-size:12px}.v75-source-record{grid-template-columns:auto minmax(0,1fr)}.v75-source-record small{grid-column:1/-1}.v75-source-record span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#44677e;font-size:12px}@media(max-width:760px){.v75-provenance-panel>summary span{display:grid;grid-gap:2px;gap:2px}.v75-provenance-body{grid-template-columns:1fr}}
.v75-time-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid #c7dce8;border-radius:10px;background:#edf7fc}.v75-time-summary small,.v75-time-summary span{display:block;color:#69869a;font-size:11px}.v75-time-summary strong{display:block;margin:4px 0;color:#123e5b;font-size:16px}.v75-time-summary details{text-align:right}.v75-time-summary summary{color:#0879bd;font-size:12px;font-weight:700;cursor:pointer}.v75-time-summary p{max-width:330px;color:#657f91;font-size:11px;line-height:1.6}.v75-input-with-unit{display:flex;align-items:stretch}.v75-input-with-unit input{border-radius:7px 0 0 7px!important}.v75-input-unit{display:flex;align-items:center;padding:0 9px;border:1px solid #cdd6dc;border-left:0;border-radius:0 7px 7px 0;background:#f2f6f8;color:#567287;font-size:10px;font-style:normal;white-space:nowrap}

/* Compact measurement input experience */
.v75-compact-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0;padding:14px 16px;border:1px solid #cce3f3;background:#f4faff;border-radius:8px}.v75-compact-guide b{display:block;color:#075886;font-size:14px}.v75-compact-guide p{margin:4px 0 0;color:#406780;font-size:14px}.v75-compact-guide>span{flex:none;color:#5c7e95;font-size:12px}.v75-core-inputs{padding:18px;border:1px solid #cfe2ef;border-radius:8px;background:#fff}.v75-core-inputs>header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.v75-core-inputs h5,.v75-advanced-group h5{margin:0;color:#075886;font-size:16px}.v75-core-inputs small{display:block;margin-top:3px;color:#7390a3}.v75-advanced-settings{margin-top:14px;border:1px solid #cfe2ef;border-radius:8px;background:#fff}.v75-advanced-settings summary{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;cursor:pointer;color:#075886;font-weight:700}.v75-advanced-settings summary small{font-weight:400;color:#7892a4}.v75-advanced-body{padding:0 17px 17px;border-top:1px solid #e1edf5}.v75-advanced-group{padding-top:17px}.v75-advanced-group+.v75-advanced-group{margin-top:17px;border-top:1px solid #e6eff5}.v75-matrix{overflow:auto;border:1px solid #d3e5f1;border-radius:7px;background:#fbfdff}.v75-matrix header{display:flex;align-items:center;gap:7px;padding:11px 13px;color:#075886}.v75-matrix-table{min-width:780px}.v75-matrix-head,.v75-matrix-row{display:grid;grid-template-columns:1.4fr repeat(4,1fr)}.v75-matrix-head{background:#edf7fc;color:#426a83;font-size:12px;font-weight:700}.v75-matrix-head>span,.v75-matrix-row>strong,.v75-matrix-row>label{padding:10px;border-top:1px solid #dcebf4;border-right:1px solid #dcebf4}.v75-matrix-row>strong{font-size:13px;color:#174e70}.v75-matrix-row>label{position:relative;display:flex;align-items:center}.v75-matrix-row input{width:100%;min-width:0;padding-right:38px}.v75-matrix-row em{position:absolute;right:17px;color:#7892a4;font-size:11px;font-style:normal}.v75-info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:5px;border-radius:50%;background:#e2f2fb;color:#087cb8;font-size:11px;font-style:normal;line-height:1;cursor:help}.v75-input-help{display:none!important}@media(max-width:800px){.v75-compact-guide{align-items:flex-start;flex-direction:column}.v75-compact-guide>span{display:none}.v75-advanced-settings summary{gap:10px}.v75-advanced-settings summary small{display:none}}

/* Full-width, no-scroll measurement inputs */
.v75-inputs{grid-template-columns:minmax(0,1fr)}
.v75-inputs>.v75-time-summary,.v75-inputs>.v75-compact-guide,.v75-inputs>.v75-core-inputs,.v75-inputs>.v75-advanced-settings{grid-column:1/-1;min-width:0}
.v75-core-inputs{width:100%;box-sizing:border-box}
.v75-core-inputs .v75-group-grid,.v75-advanced-body .v75-group-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));width:100%;box-sizing:border-box}
.v75-core-inputs .v75-detail,.v75-core-inputs .v75-subgroup,.v75-core-inputs .v75-array,.v75-advanced-body .v75-detail,.v75-advanced-body .v75-subgroup{grid-column:1/-1;width:100%;box-sizing:border-box}
.v75-number-array>div{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.v75-matrix{overflow:visible;width:100%;box-sizing:border-box}
.v75-matrix header{justify-content:space-between}.v75-matrix header>div{display:flex;align-items:baseline;gap:8px}.v75-matrix header small{color:#6e899b;font-size:11px}
.v75-matrix-table,.v75-matrix-head,.v75-matrix-row{min-width:0}
.v75-matrix-stack{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;padding:11px 13px;border-top:1px solid #dcebf4}
.v75-matrix-stack label{display:grid;grid-gap:5px;gap:5px;min-width:0}.v75-matrix-stack label>span{color:#426a83;font-size:12px;font-weight:700}
.v75-matrix-stack label>div{position:relative}.v75-matrix-stack input{width:100%;min-width:0;box-sizing:border-box;padding:8px 42px 8px 10px;border:1px solid #c9dce8;border-radius:7px;background:#fff;color:#123e5b}.v75-matrix-stack em{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#7892a4;font-size:11px;font-style:normal}
@media(max-width:900px){.v75-core-inputs .v75-group-grid,.v75-advanced-body .v75-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v75-matrix-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v75-core-inputs .v75-group-grid,.v75-advanced-body .v75-group-grid,.v75-matrix-stack{grid-template-columns:1fr}}

/* The existing flex override must stretch each measurement section across the form. */
.v75-inputs{display:flex;flex-direction:column;align-items:stretch}
.v75-inputs>.v75-time-summary,.v75-inputs>.v75-compact-guide,.v75-inputs>.v75-core-inputs,.v75-inputs>.v75-advanced-settings{align-self:stretch;width:100%;box-sizing:border-box}

/* Energy core: two full-width period cards, then the study duration below. */
.v75-energy-core{display:grid;grid-gap:14px;gap:14px}.v75-energy-core>.v75-matrix{width:100%}.v75-energy-hours{width:min(300px,100%);justify-self:start}.v75-energy-hours .v75-field{margin:0}
.v75-energy-core .v75-matrix-stack{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v75-energy-core .v75-matrix-stack label>span{white-space:nowrap;font-size:11px}
/* Forecasting exposes actionable presets; raw 2160-point series remains in the advanced panel. */
.v75-forecast-core{display:grid;grid-gap:16px;gap:16px}.v75-profile-picker{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-gap:20px;gap:20px;align-items:center;padding:16px;border:1px solid #cfe2ef;border-radius:9px;background:#f7fbfe}.v75-profile-picker strong,.v75-profile-picker small{display:block}.v75-profile-picker strong{color:#075886;font-size:15px}.v75-profile-picker small{margin-top:4px;color:#648195;font-size:12px;line-height:1.6}.v75-profile-picker select{width:100%;height:38px;padding:0 10px;border:1px solid #bdd8e9;border-radius:7px;background:#fff;color:#123e5b;font:inherit}
@media(max-width:700px){.v75-energy-core .v75-matrix-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.v75-profile-picker{grid-template-columns:1fr}}
@media(max-width:460px){.v75-energy-core .v75-matrix-stack{grid-template-columns:1fr}}

/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/business.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
body{overflow:auto}.biz{display:grid;grid-template-columns:280px minmax(0,1fr);grid-gap:22px;gap:22px;padding:24px;max-width:1500px;margin:auto}.biz aside,.biz-main{background:#fff;border:1px solid var(--v6-line);border-radius:14px;padding:22px;box-shadow:var(--v6-shadow)}.biz aside{align-self:start;position:-webkit-sticky;position:sticky;top:20px}.biz h1{margin:0;font-size:24px}.biz aside>p{color:var(--v6-muted);font-size:12px;line-height:1.7}.model-btn{display:block;width:100%;text-align:left;margin:7px 0;padding:11px;border:1px solid var(--v6-line);background:#fbfdfc;border-radius:8px;color:var(--v6-ink)}.model-btn b{color:var(--v6-green);margin-right:8px}.model-btn.active{background:var(--v6-mint);border-color:#92adc1;box-shadow:inset 3px 0 var(--v6-green)}.biz-main h2{margin:0 0 3px;font-size:23px}.model-meta{color:var(--v6-muted);font-size:12px;margin-bottom:18px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.field{display:flex;flex-direction:column;gap:5px;color:#4a687d;font-size:12px}.field input,.field select,.field textarea{border:1px solid var(--v6-line);border-radius:7px;padding:9px;color:var(--v6-ink);background:#fbfdfc}.field.full{grid-column:1/-1}.table-input{overflow:auto;border:1px solid var(--v6-line);border-radius:8px}.table-input table{width:100%;border-collapse:collapse;min-width:650px}.table-input th,.table-input td{padding:7px;border-bottom:1px solid var(--v6-line);font-size:11px}.table-input th{background:#f5f6f7;color:var(--v6-muted);font-weight:500}.table-input input,.table-input select{width:100%;padding:6px;border:1px solid var(--v6-line);border-radius:5px}.add-row{margin-top:7px;font-size:11px}.biz-main>#run{margin:18px 0}.result{border-top:1px solid var(--v6-line);padding-top:18px}.empty{text-align:center;color:var(--v6-muted);padding:40px}.status{padding:12px;border-radius:8px;background:#fdf4e8;color:#9b681d}.metrics{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:10px;gap:10px}.metric{background:#f5f7f8;border-radius:8px;padding:12px}.metric small{display:block;color:var(--v6-muted)}.metric strong{font-size:20px}.result h3{font-size:15px;margin:20px 0 8px}.output-table{width:100%;border-collapse:collapse;font-size:12px}.output-table th,.output-table td{padding:8px;border-bottom:1px solid var(--v6-line);text-align:left}.output-table th{color:var(--v6-muted);background:#f6f7f8}.conclusion{white-space:pre-wrap;line-height:1.8;background:var(--v6-mint);padding:14px;border-radius:8px}.limitations{color:var(--v6-muted);font-size:12px;line-height:1.7}@media(max-width:850px){.biz{grid-template-columns:1fr;padding:14px}.biz aside{position:static}.field-grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.qa-header{flex-wrap:wrap;gap:10px;padding:14px 18px}.qa-header nav{gap:16px}}

/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/data-entry.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
.data-page{max-width:1400px;margin:24px auto;padding:0 24px;color:#083b63}.data-page h1{font-size:26px}.data-page h2{font-size:19px}.data-page p{line-height:1.7;color:#52718a}.notice{padding:14px;background:#fff7e8;border-left:3px solid #df9726}.data-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px}.data-columns section{background:white;border:1px solid #c9e2f2;padding:24px}.data-page label{display:block;margin:12px 0;font-size:14px}.data-page input:not([type=checkbox]),.data-page select,.data-page textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #bad8eb;background:#fff;color:#083b63;font:inherit;box-sizing:border-box}.data-page button{background:#087fc0;color:white;border:0;padding:12px 20px;cursor:pointer;font:inherit}.data-page .consent{line-height:1.6}.data-page a{display:inline-block;margin:12px;color:#0068b5}#snapshot{line-height:1.8}@media(max-width:800px){.data-columns{grid-template-columns:1fr}}
.data-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.data-heading small{color:#0789bf;letter-spacing:2px;font-weight:700}.data-badge{background:#e4f4fa;padding:10px;color:#087bad;white-space:nowrap}.data-tabs{display:flex;gap:2px;margin:24px 0;border-bottom:2px solid #bddfed}.data-tabs button{flex:1 1;background:#e9f3f9;color:#365a76}.data-tabs button.active{background:#087fc0;color:#fff}.data-card{padding:24px;background:white;border:1px solid #c9e2f2;min-width:0}.data-columns{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:0 16px;gap:0 16px}.data-page .secondary{background:white;color:#0877ad;border:1px solid #bdd7e8}.data-page button:disabled{opacity:.5;cursor:wait}.data-page input[type=checkbox]{width:auto;display:inline}.table-scroll{overflow:auto}.data-page table{border-collapse:collapse;width:100%;font-size:13px}.data-page th,.data-page td{padding:10px 7px;border-bottom:1px solid #dceaf2;text-align:left}.data-page th{background:#edf6fb;white-space:nowrap}.data-page td input:not([type=checkbox]){min-width:100px;margin:0}.data-page td select{min-width:110px;margin:0}.data-page td [data-map]{min-width:170px}.data-page pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f7fb;padding:14px;max-height:360px;overflow:auto}.data-page code{overflow-wrap:anywhere}.source-item{border-bottom:1px solid #d5e5ef;padding:14px 0}.source-item p{margin:5px 0}.source-item small{color:#5c7990}.data-page details{margin:16px 0}.data-page summary{cursor:pointer;color:#0876ad}.metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.metrics>div{background:#edf7fc;padding:16px}.metrics b{display:block;margin-top:8px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.data-page [hidden]{display:none!important}#status:not(:empty){padding:12px;background:#e8f6fc;border-left:3px solid #087fc0}.data-page textarea{min-height:90px}@media(max-width:1000px){.data-columns{grid-template-columns:1fr}.data-tabs{flex-wrap:wrap}.data-tabs button{min-width:40%}}@media(max-width:600px){.form-grid,.metrics{grid-template-columns:1fr}.data-heading{display:block}.data-badge{display:inline-block}.data-card{padding:16px}}
#upload-status,#source-status{min-height:1.5em;margin:10px 0;color:#52718a}#upload-status[data-state=error],#source-status[data-state=error]{color:#b44918;font-weight:700}#upload-status[data-state=success],#source-status[data-state=success]{color:#147655}
.scenario-list-head{display:flex;align-items:end;justify-content:space-between;margin:4px 0 12px}.scenario-list-head h3{margin:0;font-size:18px}.scenario-list-head p{margin:3px 0 0;font-size:12px;line-height:1.4}.scenario-list-head>span{padding:4px 9px;background:#edf7fc;color:#52768d;font-size:11px}.scenario-card{position:relative;margin-bottom:10px;padding:16px 18px;border:1px solid #d1e3ed;background:#fff}.scenario-card.active{border-color:#a9d4e9;box-shadow:inset 3px 0 #1689c5}.scenario-card header{display:flex;align-items:center;justify-content:space-between;gap:16px}.scenario-card header>div{display:flex;align-items:center;gap:8px;min-width:0}.scenario-card header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:#123e5b}.scenario-card header span{padding:2px 7px;background:#eef6fa;color:#52748a;font-size:10px;font-weight:700}.scenario-card header em{color:#0b789f;font-size:11px;font-style:normal;font-weight:700}.scenario-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:8px;color:#688397;font-size:11px}.scenario-meta span{position:relative}.scenario-meta span:before{content:'·';position:absolute;left:-9px;color:#aac0ce}.scenario-meta b{color:#155d83}.scenario-card details{margin:10px 0 0!important}.scenario-card summary{display:inline-flex;align-items:center;color:#47738e!important;font-size:11px}.scenario-card pre{margin:8px 0 0;font-size:11px}.scenario-card footer{display:flex;align-items:center;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid #e5eef3}.scenario-card footer button{padding:7px 13px;font-size:12px}.scenario-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px}.data-page .scenario-links a{margin:0;color:#0879bd;font-size:12px;font-weight:700;text-decoration:none}.scenario-links a:hover{text-decoration:underline}.scenario-note{margin:8px 0 0!important;font-size:12px;line-height:1.5!important;color:#6d8494!important}@media(max-width:650px){.scenario-card footer{align-items:flex-start;flex-direction:column}.scenario-meta{gap:5px 12px}}
.file-links{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.file-links button{margin:0}
.upload-trial{margin-top:22px;padding-top:18px;border-top:1px solid #d7e8f2}
.upload-trial h3{margin:0 0 6px;font-size:16px;color:#083b63}
.upload-trial>p{margin:0 0 12px;font-size:13px;line-height:1.6;color:#52718a}
.data-page .demo-chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:96px;padding:10px 16px;margin:0;
  background:#f4fafd;color:#0877ad;border:1px solid #b7d6e8;
  font:inherit;font-weight:600;cursor:pointer;
}
.data-page .demo-chip:hover{background:#e7f4fb;border-color:#87bdd8}
.data-page .demo-chip:disabled{opacity:.5;cursor:wait}
.data-page .file-pick{
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  margin:16px 0 0;padding:14px 16px;
  background:#f7fbfe;border:1px dashed #9fc8de;box-sizing:border-box;
}
.data-page .file-pick>span{color:#365a76;font-size:13px;font-weight:600}
.data-page .file-pick input[type=file],
.data-page input[type=file]{
  display:block;width:auto;max-width:100%;margin:0;padding:0;
  border:0;background:transparent;color:#083b63;font:inherit;line-height:1.4;
}
.data-entry-embedded{min-height:100%;background:#fff;overflow-x:hidden}
.data-page .consent{display:flex;align-items:flex-start;gap:10px}
.data-page .consent input[type=checkbox]{margin-top:3px;flex:0 0 auto}
html.embedded-data-entry,html.embedded-data-entry body{min-height:100%;width:100%;max-width:100%;min-width:0!important;background:#fff;overflow-x:hidden;overflow-y:auto}
html.embedded-data-entry body{margin:0}
html.embedded-data-entry .platform-global-header,html.embedded-data-entry .data-heading,html.embedded-data-entry .notice{display:none!important}
html.embedded-data-entry .data-page{width:100%;max-width:100%;margin:0;padding:16px 18px 28px;box-sizing:border-box;min-height:100%;overflow-x:hidden}
html.embedded-data-entry .data-tabs{position:-webkit-sticky;position:sticky;top:0;z-index:5;margin:0 0 16px;background:#fff}
html.embedded-data-entry .data-columns{gap:16px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
html.embedded-data-entry .data-card{padding:18px;min-width:0}
html.embedded-data-entry .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:900px){
  html.embedded-data-entry .data-columns{grid-template-columns:1fr}
  html.embedded-data-entry .form-grid{grid-template-columns:1fr}
}

/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/qa.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
body{overflow:auto;font-size:14px}.qa-workspace{max-width:1560px;margin:0 auto;display:grid;grid-template-columns:minmax(390px,1.15fr) minmax(230px,.62fr) minmax(380px,1.25fr);grid-gap:18px;gap:18px;padding:22px 24px 38px;align-items:start}.qa-chat,.qa-agents,.qa-report{background:#fff;border:1px solid var(--sg-line);border-radius:14px;padding:22px;box-shadow:var(--sg-shadow);min-width:0}.qa-chat{position:-webkit-sticky;position:sticky;top:18px}.qa-agents{position:-webkit-sticky;position:sticky;top:18px;background:linear-gradient(160deg,#f7fbff,#edf7fb);border-top:4px solid var(--sg-blue)}.qa-kicker{font-size:10px;letter-spacing:1.8px;color:var(--sg-blue)}.qa-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.qa-heading h1,.qa-heading h2,.qa-agents h2{font-size:21px;margin:3px 0 0;color:var(--sg-ink)}.qa-heading select{padding:8px;border:1px solid var(--sg-line);border-radius:7px;color:var(--sg-blue);background:#f6fbff}#context,.qa-send small,.qa-agents>p{color:var(--sg-muted);font-size:12px;line-height:1.8}#messages{height:calc(100vh - 390px);min-height:260px;overflow:auto;display:flex;flex-direction:column;gap:16px;padding:16px 0}#messages article{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 16px;border-radius:12px;line-height:1.85;max-width:94%;flex-shrink:0}.assistant{background:#edf7fb;border-left:3px solid var(--sg-cyan);align-self:flex-start}.user{background:linear-gradient(135deg,var(--sg-blue),#1689c5);color:#fff;align-self:flex-end}#question{width:100%;padding:14px;border:1px solid var(--sg-line);border-radius:10px;resize:vertical;font:inherit;color:var(--sg-ink);margin-top:14px}.qa-send{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.qa-send button{padding:11px 18px;background:var(--sg-blue);color:#fff;border:0;border-radius:8px}.qa-agent-step{position:relative;display:grid;grid-template-columns:32px 1fr;grid-gap:10px;gap:10px;padding:12px 0 17px}.qa-agent-step:not(:last-child):after{content:"";position:absolute;left:15px;top:43px;bottom:0;width:1px;background:#bcd8e9}.qa-agent-step>b{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#e1f1fb;color:var(--sg-blue)}.qa-agent-step strong,.qa-agent-step small{display:block}.qa-agent-step small{color:var(--sg-muted);line-height:1.55;margin-top:3px}.qa-agent-step.done>b{background:#e5f3fb;color:#0068b5}.qa-agent-step.running>b{background:#fff0c9;color:#9b6800}.qa-empty{padding:70px 12px;color:var(--sg-muted);text-align:center}.qa-summary{white-space:pre-wrap;line-height:1.9;background:#f1f8fc;border-left:3px solid var(--sg-blue);padding:18px;border-radius:10px;margin:20px 0}.qa-metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.qa-metrics div{padding:14px;background:#f6faff;border:1px solid #e3edf5;border-radius:8px}.qa-metrics small{display:block;color:var(--sg-muted)}.qa-metrics strong{font-size:18px;display:block;margin-top:4px}.qa-chart{height:260px;margin:16px 0}#report h3{font-size:16px;margin:22px 0 10px}#report details{border-top:1px solid var(--sg-line);padding-top:14px}#report dl{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;font-size:12px}#report dd{margin:0;text-align:right}#report dt{color:var(--sg-muted)}@media(max-width:1120px){.qa-workspace{grid-template-columns:1fr 1fr}.qa-agents{position:static}.qa-report{grid-column:1/-1}}@media(max-width:760px){.qa-workspace{grid-template-columns:1fr;padding:14px}.qa-chat{position:static}.qa-report{grid-column:auto}#messages{height:320px}.qa-metrics{grid-template-columns:1fr}}


.qa-workspace{grid-template-columns:minmax(220px,.58fr) minmax(520px,1.55fr) minmax(300px,.82fr);grid-template-areas:"agents chat report";max-width:1600px}.qa-chat{grid-area:chat;position:-webkit-sticky;position:sticky;top:18px;border-top:4px solid var(--sg-blue);box-shadow:0 18px 44px rgba(0,104,181,.12)}.qa-agents{grid-area:agents}.qa-report{grid-area:report}@media(max-width:1120px){.qa-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"chat chat" "agents report"}.qa-chat{position:static}.qa-report{grid-column:auto}}@media(max-width:760px){.qa-workspace{grid-template-columns:1fr;grid-template-areas:"chat" "agents" "report"}}

#messages article.streaming:after{content:"▋";margin-left:2px;color:var(--sg-blue);animation:qa-caret .8s steps(2,end) infinite}@keyframes qa-caret{50%{opacity:0}}

/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/map-workspace.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
.v6-main{display:block!important;height:auto!important}.spatial-workspace{display:grid!important;grid-template-columns:230px minmax(0,1fr) 270px;grid-gap:18px;gap:18px;min-height:0!important;padding:18px;margin-bottom:28px}.spatial-inputs,.spatial-explanation{min-width:0;background:#f7f8f9;border:1px solid #dee2e5;border-radius:9px;padding:16px}.spatial-inputs h3,.spatial-explanation h3{margin:0 0 12px;font-size:16px}.spatial-inputs label{display:block;font-size:12px;margin-bottom:10px}.spatial-inputs select{display:block;width:100%;padding:7px;border:1px solid #cfd5d9;border-radius:5px;background:white;margin-top:4px}.spatial-inputs p,.spatial-explanation p{font-size:12px;line-height:1.8}.spatial-inputs button{width:100%}.spatial-center{min-width:0;display:flex;flex-direction:column}.spatial-center .v6-map-wrap{height:620px!important;min-height:420px!important;flex:none!important;border-radius:10px;overflow:hidden}.spatial-center #scenarioMap{height:100%;width:100%}.spatial-caption{font-size:11px;color:#668092}.spatial-center .v6-map-toolbar{flex-wrap:wrap;padding:10px 0;gap:5px}.spatial-center .v6-pane-head{padding:0}.spatial-explanation b{font-size:16px}.spatial-consent input{width:auto!important}.v6-console{min-height:0!important;height:auto!important}.v6-console-body{overflow:visible!important}.spatial-workspace .v6-map-annotation{display:none}@media(max-width:1200px){.spatial-workspace{grid-template-columns:210px minmax(0,1fr)}.spatial-explanation{grid-column:1/-1}.spatial-center .v6-map-wrap{height:520px!important}}@media(max-width:700px){.spatial-workspace{display:block!important;padding:10px}.spatial-inputs,.spatial-explanation{margin-bottom:16px}.spatial-center .v6-map-wrap{height:440px!important}}
.v6-map-pane.spatial-workspace{position:static!important;top:auto!important;height:auto!important}
.spatial-center .v6-map-wrap{height:460px!important;min-height:360px!important}
.v6-console .biz-workspace{gap:14px}
.v6-console .biz-group{padding:12px 14px}
.v6-console .biz-group h3{margin-bottom:9px}
.v6-console .biz-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 14px;align-items:start}
.v6-console .biz-field{gap:3px}
.v6-console .biz-field input,.v6-console .biz-field select{height:32px;padding:4px 8px}
.v6-console .biz-row{padding-top:9px;margin-top:9px}
@media(max-width:1200px){.v6-console .biz-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.spatial-center .v6-map-wrap{height:420px!important}}
@media(max-width:900px){.v6-console .biz-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.v6-console .biz-fields{grid-template-columns:1fr}.spatial-center .v6-map-wrap{height:360px!important}.v6-console .biz-field input,.v6-console .biz-field select{height:36px}}
.spatial-workspace{grid-template-columns:310px minmax(420px,1fr) 330px;gap:22px;padding:20px}
.spatial-center .v6-map-wrap{height:400px!important;min-height:320px!important}
.spatial-inputs,.spatial-explanation{padding:18px;background:linear-gradient(180deg,#f9fafa,#f4f5f6)}
.spatial-input-form{display:grid;grid-gap:8px;gap:8px;margin-bottom:14px}
.spatial-inputs label{margin:0;font-size:12px}.spatial-inputs select{margin-top:3px;padding:6px 8px}
.spatial-panel{border-top:1px solid #dbdfe2;padding:10px 0 9px}.spatial-panel h4{font-size:12px;letter-spacing:.4px;margin:0 0 5px;color:#35607f}.spatial-panel p{margin:2px 0;line-height:1.65}
.spatial-inputs .spatial-panel b,.spatial-explanation .spatial-panel>b{font-size:14px}.spatial-explanation{display:flex;flex-direction:column}.spatial-explanation>h3{margin-bottom:3px}.spatial-explanation .spatial-panel{padding:11px 0}.spatial-explanation .spatial-panel:first-of-type{border-top:0}.spatial-explanation .spatial-panel h4{margin-bottom:6px}.spatial-explanation .spatial-panel p{font-size:13px}.spatial-benefits{display:grid;grid-template-columns:1fr 1fr;grid-gap:5px;gap:5px}.spatial-benefits span{font-size:12px;padding:5px 6px;border-radius:5px;background:#eceef0}.spatial-benefits span:last-child{grid-column:1/-1}.spatial-provenance{margin-top:auto!important;padding-top:10px;border-top:1px solid #dbdfe2;color:#668296}
@media(max-width:1450px){.spatial-workspace{grid-template-columns:280px minmax(360px,1fr) 300px;gap:16px}.spatial-center .v6-map-wrap{height:380px!important}}
@media(max-width:1200px){.spatial-workspace{grid-template-columns:250px minmax(0,1fr)}.spatial-explanation{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}.spatial-explanation>h3,.spatial-explanation>.spatial-provenance,.spatial-explanation>a{grid-column:1/-1}.spatial-explanation .spatial-panel{border-top:0;border-left:1px solid #dbdfe2;padding:0 0 0 10px}}
@media(max-width:800px){.spatial-explanation{display:block}.spatial-explanation .spatial-panel{border-left:0;border-top:1px solid #dbdfe2;padding:10px 0}.spatial-workspace{grid-template-columns:1fr}.spatial-center{grid-row:1}.spatial-inputs{grid-row:2}.spatial-explanation{grid-column:auto;grid-row:3}}
.v6-map-pane.spatial-workspace{width:calc(100% - 36px);max-width:1800px;margin:0 auto 28px;grid-template-columns:320px minmax(620px,1fr) 360px;align-items:stretch}
.spatial-center .v6-map-wrap{height:520px!important;min-height:520px!important;aspect-ratio:auto}
@media(max-width:1450px){.v6-map-pane.spatial-workspace{grid-template-columns:280px minmax(520px,1fr) 320px}.spatial-center .v6-map-wrap{height:480px!important;min-height:480px!important}}
@media(max-width:1200px){.v6-map-pane.spatial-workspace{grid-template-columns:260px minmax(0,1fr)}.spatial-center .v6-map-wrap{height:460px!important;min-height:460px!important}}
@media(max-width:800px){.v6-map-pane.spatial-workspace{width:calc(100% - 20px);grid-template-columns:1fr}.spatial-center .v6-map-wrap{height:420px!important;min-height:420px!important}}

/* 2026-09 map decision workspace */
body[data-platform-page=overview]{--actor-demand:#f59e42;--actor-grid:#0878c9;--actor-compute:#12a7c8;--actor-network:#6d5bd0;--actor-coordinate:#123c63}
body[data-platform-page=overview] .v6-main{padding:14px 18px 24px!important}
.v6-map-pane.spatial-workspace{width:100%;max-width:1900px;margin:0 auto;grid-template-columns:260px minmax(620px,1fr) 330px;gap:14px;padding:14px;background:#f5f9fc!important;border:1px solid #cbdfea!important;border-top:4px solid #0878c9!important;box-shadow:0 16px 38px rgba(22,74,112,.1)}
.spatial-inputs,.spatial-explanation{padding:16px!important;background:#fff!important;border:1px solid #c9dce8!important;border-radius:12px!important;box-shadow:0 8px 22px rgba(21,74,111,.07)}
.spatial-inputs>header,.spatial-explanation>header{padding-bottom:12px;border-bottom:1px solid #dce8ef}.spatial-inputs>header h3,.spatial-explanation>header h3{font-size:18px;margin:0;color:#123c63}.spatial-inputs>header p,.spatial-explanation>header p{margin:3px 0 0!important;color:#72899b;font-size:10px!important;line-height:1.6!important}
.spatial-config-group{padding:13px 0 8px;border-bottom:1px solid #e1ebf1}.spatial-config-group>b{display:block;margin-bottom:9px;font-size:11px;letter-spacing:.04em}.spatial-config-group.demand>b{color:var(--actor-demand)}.spatial-config-group.resource>b{color:var(--actor-grid)}.spatial-config-group.strategy>b{color:var(--actor-network)}
.spatial-config-group label{font-size:10px;color:#526f84}.spatial-config-group select{height:32px;margin-top:3px;border-color:#c9dce8;border-radius:6px;color:#173e5d;background:#fbfdff}.spatial-tags{display:flex;gap:5px;flex-wrap:wrap}.spatial-tags span{padding:4px 7px;border-radius:999px;background:#eef6fb;border:1px solid #d3e5f0;color:#315f7e;font-size:9px}.spatial-tags span:nth-child(2){background:#f1effc;border-color:#ded8f6;color:#5c4ab2}.spatial-tags span:nth-child(3){background:#eaf8fb;border-color:#caeaf1;color:#087f9a}.spatial-inputs>.primary{margin-top:14px;height:40px;background:#0878c9;border-color:#0878c9}
.spatial-center{background:#fff;border:1px solid #c9dce8;border-radius:12px;padding:14px;min-width:0}.spatial-center .v6-pane-head{align-items:center;margin-bottom:9px}.spatial-center .v6-pane-head h2{font-size:18px}.spatial-center .v6-pane-head p{margin:2px 0 0;color:#72899b;font-size:10px}.spatial-center .v6-pane-head>span{color:#315f7e;font-size:10px}
.spatial-kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px;margin-bottom:10px}.spatial-kpis article{position:relative;min-width:0;padding:10px 11px 9px;border:1px solid #d5e4ed;border-radius:8px;background:#fff;overflow:hidden}.spatial-kpis article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:currentColor}.spatial-kpis .demand{color:var(--actor-demand)}.spatial-kpis .compute{color:var(--actor-compute)}.spatial-kpis .network{color:var(--actor-network)}.spatial-kpis .grid{color:var(--actor-grid)}.spatial-kpis span,.spatial-kpis em{display:block;color:#687f91;font-size:9px;font-style:normal}.spatial-kpis strong{display:block;margin:2px 0;color:#123c63;font-size:18px;white-space:nowrap}.spatial-kpis strong small{font-size:9px;color:#718899;font-weight:500}
.spatial-center .v6-map-toolbar{padding:0 0 9px}.spatial-center .v6-map-toolbar button{border:0;border-radius:999px;background:#edf5fa;color:#456b86}.spatial-center .v6-map-toolbar button.active{background:#dbeefa;color:#075f9c}.spatial-center .v6-map-toolbar button:nth-child(2).active{background:#e3f5f8;color:#087f9a}.spatial-center .v6-map-toolbar button:nth-child(4).active{background:#eeeafb;color:#5c4ab2}.spatial-center .v6-map-wrap{height:390px!important;min-height:390px!important;margin:0;border:1px solid #c7dfec;border-radius:10px}.spatial-caption{margin:6px 2px 0}
.spatial-agent-chain{margin-top:11px}.spatial-agent-chain header{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.spatial-agent-chain header strong{color:#173e5d;font-size:12px}.spatial-agent-chain header span{color:#72899b;font-size:9px}.spatial-agent-chain>div{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:7px;gap:7px}.spatial-agent-chain article{position:relative;display:grid;grid-template-columns:25px 1fr;grid-gap:7px;gap:7px;align-items:center;padding:8px;border:1px solid #d6e4ed;border-radius:7px;background:#f9fcfe;min-width:0}.spatial-agent-chain article:not(:last-child):after{content:"→";position:absolute;right:-8px;color:#6e91a8;z-index:2}.spatial-agent-chain article b{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#e5f2fa;color:#0878c9;font-size:9px}.spatial-agent-chain article strong,.spatial-agent-chain article small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spatial-agent-chain article strong{font-size:10px;color:#173e5d}.spatial-agent-chain article small{font-size:8px;color:#7890a1}.spatial-agent-chain .data b{background:#fff0df;color:#c46c15}.spatial-agent-chain .compute b{background:#e3f5f8;color:#087f9a}.spatial-agent-chain .network b{background:#eeeafb;color:#5c4ab2}.spatial-agent-chain .coordinate b{background:#e2edf5;color:#123c63}
.spatial-explanation{display:block!important}.decision-status{display:grid;grid-template-columns:9px 1fr auto;grid-gap:9px;gap:9px;align-items:center;margin:13px 0;padding:11px;border-radius:9px;background:#e9f5fc}.decision-status>span{width:9px;height:9px;border-radius:50%;background:#12a7c8}.decision-status b,.decision-status small{display:block}.decision-status b{font-size:11px;color:#173e5d}.decision-status small{font-size:9px;color:#718899}.decision-status em{padding:4px 7px;border-radius:999px;background:#fff;color:#0878c9;font-size:9px;font-style:normal}.decision-route{padding:10px 0}.decision-route>small,.decision-route p{color:#708899;font-size:9px}.decision-route h4{margin:3px 0;color:#123c63;font-size:19px}.decision-route p{margin:0!important}.decision-metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px}.decision-metrics article{padding:9px 7px;border:1px solid #d5e4ed;border-left:3px solid #0878c9;border-radius:7px}.decision-metrics small,.decision-metrics strong{display:block}.decision-metrics small{font-size:8px;color:#72899b}.decision-metrics strong{margin-top:3px;color:#173e5d;font-size:11px}.decision-metrics article:nth-child(2){border-left-color:var(--actor-compute)}.decision-metrics article:nth-child(3){border-left-color:var(--actor-network)}.decision-title{margin:14px 0 7px;color:#173e5d;font-size:11px}.decision-parties{display:grid;grid-gap:6px;gap:6px}.decision-parties article{display:grid;grid-template-columns:64px 1fr;align-items:center;padding:9px 10px;border-radius:7px;background:#edf6fb;border-left:4px solid var(--actor-grid)}.decision-parties article.compute{background:#ebf8fa;border-left-color:var(--actor-compute)}.decision-parties article.network{background:#f1effb;border-left-color:var(--actor-network)}.decision-parties span{font-size:10px;color:#456b86}.decision-parties strong{text-align:right;color:#173e5d;font-size:12px}.decision-parties small{grid-column:1/-1;margin-top:2px;color:#7990a1;font-size:8px}.decision-reason{margin-top:13px;padding-top:11px;border-top:1px solid #dce8ef}.decision-reason h4{margin:0 0 7px;font-size:11px;color:#173e5d}.decision-reason p{display:grid;grid-template-columns:22px 1fr;grid-gap:6px;gap:6px;margin:5px 0!important;padding:7px;border-radius:7px;background:#f6f9fb;font-size:9px!important}.decision-reason p b{color:#0878c9}.spatial-explanation footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #dce8ef;font-size:9px}.spatial-explanation footer span{width:100%;color:#718899}.spatial-explanation footer a{color:#0878c9;font-weight:700}
@media(max-width:1380px){.v6-map-pane.spatial-workspace{grid-template-columns:235px minmax(540px,1fr) 295px}.spatial-center .v6-map-wrap{height:360px!important;min-height:360px!important}.spatial-kpis strong{font-size:15px}}
@media(max-width:1100px){.v6-map-pane.spatial-workspace{grid-template-columns:240px minmax(0,1fr)}.spatial-explanation{grid-column:1/-1!important}.spatial-center .v6-map-wrap{height:420px!important;min-height:420px!important}.decision-parties{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.v6-map-pane.spatial-workspace{grid-template-columns:1fr}.spatial-center{grid-row:auto}.spatial-kpis{grid-template-columns:1fr 1fr}.spatial-agent-chain>div{grid-template-columns:1fr}.spatial-agent-chain article:after{display:none}.decision-parties{grid-template-columns:1fr}}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/map-refactor.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
body[data-platform-page=overview]{overflow:auto;background:#f4f8fb}
body[data-platform-page=overview] .platform-global-header{height:58px;box-shadow:none}
body[data-platform-page=overview] .platform-global-logo{width:38px;height:38px}
body[data-platform-page=overview] .v6-shell{min-height:100vh;grid-template-rows:58px auto 1fr}
.overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;margin:10px 18px 0;padding:7px 12px;background:#fff;border:1px solid #d6e6f0;border-radius:7px}
.overview-scenario{display:flex;align-items:center;gap:9px;min-width:0}.overview-scenario>span{font-size:10px;color:#698298}.overview-scenario>strong{font-size:12px;color:#123f61;white-space:nowrap}.overview-scenario>i{padding:3px 9px;border-radius:12px;background:#edf6fb;color:#1477af;font-size:9px;font-style:normal;white-space:nowrap}.overview-toolbar>div:last-child{display:flex;gap:7px}.overview-toolbar button{height:34px;padding:0 15px;border-radius:5px;color:#0878c9}.overview-toolbar button.primary{background:#0878c9;border-color:#0878c9;color:#fff}
body[data-platform-page=overview] .v6-main{padding:10px 18px 20px!important;overflow:visible}
.v6-map-pane.spatial-workspace{display:grid!important;grid-template-columns:minmax(240px,.85fr) minmax(620px,2.4fr) minmax(320px,1.1fr)!important;grid-gap:12px!important;gap:12px!important;width:100%;max-width:none;margin:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}
.spatial-inputs,.spatial-center,.spatial-explanation{min-width:0;background:#fff!important;border:0!important;border-radius:8px!important;box-shadow:0 1px 0 rgba(70,117,145,.08)!important}
.spatial-inputs,.spatial-explanation{padding:14px!important}.spatial-center{padding:13px!important}
.spatial-inputs>header,.spatial-explanation>header{padding-bottom:10px}.spatial-inputs>header h3,.spatial-explanation>header h3{font-size:16px}.spatial-config-group{padding:10px 0 6px}.spatial-config-group label{margin-bottom:7px}.spatial-config-group select{height:31px}.spatial-inputs>.primary{height:36px;margin-top:11px}
.spatial-center .v6-pane-head{margin-bottom:8px}.spatial-center .v6-pane-head h2{font-size:16px}.spatial-kpis{gap:7px;margin-bottom:8px}.spatial-kpis article{padding:8px 10px 7px;border-radius:6px}.spatial-kpis strong{font-size:16px}
.spatial-center .v6-map-toolbar{padding:0 0 8px;gap:6px}.spatial-center .v6-map-toolbar button{min-width:54px;padding:5px 13px;border:0;border-radius:16px;background:#edf5fa;color:#4a6c83;font-size:10px}.spatial-center .v6-map-toolbar button.active{background:#e0f1fb;color:#0878c9}.spatial-center .v6-map-toolbar button:nth-child(1).active{background:#fff0df;color:#d77818}.spatial-center .v6-map-toolbar button:nth-child(2).active{background:#e5f7f4;color:#148d83}.spatial-center .v6-map-toolbar button:nth-child(3).active{background:#e7f2fb;color:#197db7}.spatial-center .v6-map-toolbar button:nth-child(4).active{background:#eeeafb;color:#6854c3}.spatial-center .v6-map-toolbar button:nth-child(5).active{background:#f3f6f8;color:#536f82}
.spatial-center .v6-map-wrap{position:relative;height:430px!important;min-height:430px!important;margin:0;border:1px solid #c8dfec;border-radius:7px!important;background:#eaf6fc}
.spatial-map-controls{position:absolute;top:10px;right:10px;z-index:5;display:flex;flex-direction:column;gap:3px}.spatial-map-controls button{width:30px;height:28px;padding:0;border-color:#c5dce9;border-radius:4px;background:rgba(255,255,255,.94);color:#0878c9}.spatial-map-controls button:last-child{width:42px;font-size:9px}
.spatial-map-legend{position:absolute;left:12px;bottom:10px;z-index:5;display:flex;gap:6px}.spatial-map-legend span{padding:3px 8px;border-radius:12px;background:rgba(255,255,255,.94);color:#37627d;font-size:9px}.spatial-map-legend span:before{content:"";display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#1689c5}.spatial-map-legend span:nth-child(2):before{background:#18a6a5}.spatial-map-legend span:nth-child(3):before{background:#765dd3}
.spatial-agent-chain{margin-top:11px}.spatial-agent-chain header{margin-bottom:7px}.spatial-agent-chain>div{gap:10px}.spatial-agent-chain article{min-height:70px;padding:11px 12px;grid-template-columns:12px 1fr;gap:9px;border-radius:6px}.spatial-agent-chain article:not(:last-child):after{display:none}.spatial-agent-chain article b{width:9px;height:9px;border-radius:50%;background:#f29a38!important}.spatial-agent-chain article.grid b{background:#1689c5!important}.spatial-agent-chain article.compute b{background:#18a6a5!important}.spatial-agent-chain article.network b{background:#765dd3!important}.spatial-agent-chain article.coordinate b{background:#315f80!important}.spatial-agent-chain article strong{font-size:12px}.spatial-agent-chain article small{margin-top:3px;font-size:10px}
.decision-status{margin:10px 0 8px;padding:9px}.decision-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin:0 -1px 8px;border-bottom:1px solid #dce8ef}.decision-tabs button{padding:7px 3px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#718899;font-size:10px}.decision-tabs button.active{border-bottom-color:#1689c5;color:#0878c9;background:#edf7fd}.decision-tab-body{min-height:365px}.decision-route{padding:8px 0}.decision-route h4{font-size:18px}.decision-metrics article{padding:8px 6px}.decision-parties{gap:5px}.decision-parties article{grid-template-columns:58px 1fr;padding:7px 9px;border-radius:5px}.decision-reason{margin-top:11px;padding-top:9px}.decision-reason p{padding:6px!important}
.decision-process p{display:grid;grid-template-columns:28px 1fr;grid-gap:8px;gap:8px;margin:0 0 8px!important;padding:10px;background:#f5f9fc;border-radius:6px}.decision-process p>b{color:#1689c5}.decision-process span>*{display:block}.decision-process strong{font-size:10px;color:#173e5d}.decision-process small{font-size:9px;color:#7890a1}.decision-evidence p{margin:0!important;padding:10px 3px;border-bottom:1px solid #e3edf3}.decision-evidence b,.decision-evidence span{display:block}.decision-evidence b{font-size:10px;color:#173e5d}.decision-evidence span{margin-top:3px;font-size:9px;color:#718899}
.spatial-explanation footer{display:grid!important;grid-template-columns:1fr 1fr;grid-gap:7px!important;gap:7px!important;border-top:0!important}.spatial-explanation footer span{grid-column:1/-1;width:auto!important;padding:8px 10px;border-radius:6px;background:#f5f9fc;color:#668198!important}.spatial-explanation footer a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px;border:1px solid #d4e5ef;border-radius:6px;background:#fff;color:#0878c9!important;text-decoration:none}.spatial-explanation footer a:hover{background:#edf7fd}
@media(max-width:1439px){.v6-map-pane.spatial-workspace{grid-template-columns:minmax(220px,.8fr) minmax(560px,2.2fr) minmax(290px,1fr)!important}.spatial-center .v6-map-wrap{height:390px!important;min-height:390px!important}.decision-tab-body{min-height:325px}}
@media(max-width:1180px){.v6-map-pane.spatial-workspace{grid-template-columns:240px minmax(0,1fr)!important}.spatial-explanation{grid-column:1/-1}.decision-tab-body{min-height:0}.overview-scenario>i{display:none}}
@media(max-width:760px){.overview-toolbar{align-items:flex-start;margin-inline:10px}.overview-scenario{align-items:flex-start;flex-direction:column;gap:2px}.overview-toolbar>div:last-child{flex-direction:column}.v6-map-pane.spatial-workspace{grid-template-columns:1fr!important}.spatial-center .v6-map-wrap{height:400px!important;min-height:400px!important}.spatial-kpis{grid-template-columns:1fr 1fr}}

/* Final visual alignment */
.spatial-config-group.demand>b,.spatial-config-group.resource>b,.spatial-config-group.strategy>b{color:#1689c5!important}
.spatial-explanation footer a{min-height:42px!important;padding:9px!important;font-size:12px!important;font-weight:700}

/* Readability refinement for decision details */
.decision-tabs button{font-size:12px!important;font-weight:700!important;color:#45647a!important}
.decision-tabs button.active{color:#45647a!important}
.decision-status b{font-size:13px!important;font-weight:700!important}
.decision-status small{font-size:10px!important;font-weight:600!important}
.decision-status em{font-size:10px!important;font-weight:700!important}
.decision-reason h4{font-size:13px!important;font-weight:700!important}
.decision-reason p{font-size:11px!important;font-weight:600!important;line-height:1.55!important}
.decision-reason p b{font-size:14px!important;font-weight:800!important}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/presentation.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
body.presentation-mode{background:#071c32!important;color:#e6f1fa;overflow:hidden}
body.presentation-mode #v6app{display:none}
#presentation[hidden],#presentationReturn[hidden]{display:none!important}
#presentation{--pd-bg:#071c32;--pd-panel:#0d2841;--pd-line:#264159;--pd-muted:#9bb3c8;--pd-cyan:#3096df;--pd-gold:#edbf77;font-family:'Microsoft YaHei','PingFang SC',sans-serif;color:#e6f1fa;background:var(--pd-bg);height:100dvh;display:flex;flex-direction:column;padding:0 24px;box-sizing:border-box;font-size:13px;line-height:1.6}
#presentation *{box-sizing:border-box}
#presentation button,#presentation input,#presentation select{font:inherit}
#presentation button,#presentation a{transition:background .18s,color .18s}
#presentation button{cursor:pointer;background:transparent;color:#d3e5f4;border:1px solid #3a5269;border-radius:6px;padding:8px 12px}
#presentation button:hover{background:#20455f;color:white}
#presentation button:disabled{cursor:not-allowed;opacity:.45}
#presentation button:focus-visible,#presentation a:focus-visible,#presentation input:focus-visible,#presentation select:focus-visible{outline:2px solid #69acdb;outline-offset:3px}
#presentation a{color:#9bd8eb;text-decoration:none}
#presentation a:hover{text-decoration:underline}
#presentation h1,#presentation h2,#presentation h3,#presentation p{margin:0}
#presentation h1{font-size:24px;letter-spacing:2px;font-weight:650}
#presentation h2{font-size:18px;letter-spacing:.5px;font-weight:600}
#presentation h3{font-size:14px;font-weight:600}
#presentation .pd-header{display:flex;align-items:center;gap:24px;min-height:88px;border-bottom:1px solid var(--pd-line)}
.pd-brand{display:flex;gap:13px;align-items:center;margin-right:auto}
.pd-mark{width:40px;height:40px;border:1px solid #2388d0;display:grid;place-items:center;color:var(--pd-cyan);transform:rotate(45deg);border-radius:8px}
.pd-mark span{transform:rotate(-45deg);font-size:26px;line-height:1}
.pd-brand small{color:var(--pd-muted);letter-spacing:3px}
.pd-nav{display:flex;align-items:center;gap:20px;white-space:nowrap}
#presentation .pd-nav button{border:0;border-radius:0;padding:12px 0}
#presentation .pd-nav .active{color:var(--pd-cyan);border-bottom:2px solid var(--pd-cyan)}
.pd-layout{flex:1 1;min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr) 300px;grid-gap:20px;gap:20px;padding:20px 0 16px}
#presentation .pd-layout{width:100%;max-width:none;margin:0}
#presentation .pd-footer{width:100%;max-width:none;margin:0;flex-shrink:0}
#presentation .pd-header{flex-shrink:0}
#presentation .pd-field>span{font-weight:400}
#presentation .pd-primary{color:#052135!important}
.pd-left,.pd-right{min-height:0;background:var(--pd-panel);border:1px solid var(--pd-line);border-radius:9px;overflow:auto;padding:20px;scrollbar-width:thin;scrollbar-color:#355670 transparent}
.pd-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.pd-section-title span{font-size:11px;color:var(--pd-muted)}
.pd-scenario{padding-bottom:18px;border-bottom:1px solid var(--pd-line);margin-bottom:17px}
.pd-scenario strong{display:block;font-size:21px;letter-spacing:1px;margin:4px 0 6px}
.pd-muted,.pd-help{color:var(--pd-muted)}
.pd-help{font-size:11px;line-height:1.75}
#presentation .pd-scenario select{width:100%;margin-top:12px}
#presentation input,#presentation select{background:#081f34;color:#eaf6ff;border:1px solid #38556d;border-radius:5px;padding:8px 10px;min-width:0}
.pd-field{display:block;margin:16px 0}
.pd-field>span{display:block;color:#bed1e2;margin-bottom:6px;font-size:12px}
.pd-field .pd-input-row{display:flex;align-items:center;border:1px solid #38556d;background:#081f34;border-radius:5px}
#presentation .pd-input-row input{border:0;width:100%;font-family:Consolas,monospace;font-size:18px;background:transparent;min-height:39px}
.pd-input-row em{font-style:normal;color:var(--pd-muted);font-size:11px;white-space:nowrap;padding-right:10px}
#presentation .pd-primary{background:var(--pd-cyan);color:#052135;border-color:var(--pd-cyan);font-weight:700;width:100%;padding:12px 10px}
#presentation .pd-primary:hover{background:#7db3d9}
.pd-left-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:9px}
#presentation .pd-left-actions button{font-size:12px;padding:8px 5px}
.pd-scope{border-top:1px solid var(--pd-line);margin-top:18px;padding-top:15px}
.pd-scope div{display:flex;justify-content:space-between;color:var(--pd-muted);font-size:11px;padding:4px 0}
.pd-scope strong{color:#cfe3f3;font-weight:400}
.pd-main{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(260px,1fr) auto;grid-gap:16px;gap:16px}
.pd-map-panel{position:relative;min-height:0;overflow:hidden;border:1px solid var(--pd-line);border-radius:9px;background:radial-gradient(ellipse at 50% 50%,#143954 0%,#0a2239 72%)}
.pd-map-head{position:absolute;left:22px;right:22px;top:18px;z-index:1;pointer-events:none;display:flex;justify-content:space-between;align-items:start}
.pd-map-head p{color:var(--pd-muted);font-size:11px;margin-top:4px!important}
.pd-live-label{font-size:11px;color:var(--pd-cyan);display:flex;align-items:center;gap:6px;white-space:nowrap}
.pd-dot{width:5px;height:5px;background:var(--pd-cyan);border-radius:50%;display:inline-block}
#pd-map{position:absolute;inset:58px 0 42px}
.pd-map-foot{position:absolute;bottom:12px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#9bb3c8}
.pd-legend{display:flex;gap:15px;white-space:nowrap}
.pd-legend i{display:inline-block;width:18px;height:2px;vertical-align:middle;margin-right:5px;background:var(--pd-gold)}
.pd-legend i.network{background:var(--pd-cyan)}
.pd-result-panel{border-top:1px solid #385069;padding-top:13px}
.pd-kpis{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;padding:10px 0 12px}
.pd-kpi+.pd-kpi{border-left:1px solid var(--pd-line);padding-left:16px}
.pd-kpi span{font-size:11px;color:#b2c8d9;display:block}
.pd-kpi strong{font-family:Consolas,monospace;font-size:clamp(24px,2.3vw,36px);font-weight:500;line-height:1.5;color:#f0f7ff}
.pd-kpi:last-child strong{color:var(--pd-cyan)}
.pd-kpi small{font-size:11px;margin-left:5px;color:var(--pd-muted)}
.pd-comparison{display:grid;grid-template-columns:1fr 1fr;grid-gap:22px;gap:22px;align-items:center}
.pd-bars{display:grid;grid-gap:8px;gap:8px}
.pd-bar{display:grid;grid-template-columns:42px 1fr 65px;grid-gap:8px;gap:8px;align-items:center;font-size:10px;color:var(--pd-muted)}
.pd-bar-track{height:7px;background:#17364e;border-radius:2px;overflow:hidden}
.pd-bar-track i{height:100%;display:block;width:0;background:#77a7d0;transition:width .35s}
.pd-bar:nth-child(2) i{background:var(--pd-cyan)}
.pd-bar b{font-weight:400;text-align:right;color:#d9e8f5;font-family:Consolas,monospace}
.pd-conclusion{border-left:2px solid var(--pd-cyan);padding-left:12px;font-size:12px;line-height:1.7}
.pd-conclusion strong{display:block;color:var(--pd-cyan);font-size:13px;margin-bottom:4px}
.pd-note{margin-top:10px!important;font-size:10px;color:var(--pd-muted)}
.pd-right{display:flex;flex-direction:column}
.pd-agent-flow{flex:1 1;margin:16px 0 8px}
.pd-agent{position:relative;display:grid;grid-template-columns:31px 1fr;grid-gap:12px;gap:12px;padding-bottom:19px}
.pd-agent:not(:last-child):before{content:'';position:absolute;width:1px;background:#38506a;top:31px;bottom:2px;left:15px}
.pd-agent-icon{width:31px;height:31px;border:1px solid #43647e;border-radius:7px;display:grid;place-items:center;color:#a3c4dd;font-size:13px;background:#102e48;z-index:1}
.pd-agent.done .pd-agent-icon{color:var(--pd-cyan);border-color:#2384c9;background:#123e4a}
.pd-agent.running .pd-agent-icon{color:var(--pd-gold);border-color:var(--pd-gold)}
.pd-agent-head{display:flex;justify-content:space-between;gap:5px;align-items:center;margin:2px 0 5px}
.pd-agent-head strong{font-size:13px;font-weight:500}
.pd-agent-head span{color:var(--pd-muted);font-size:10px;white-space:nowrap}
.pd-agent.done .pd-agent-head span{color:var(--pd-cyan)}
.pd-agent p{color:#adc2d4;font-size:11px;line-height:1.8}
.pd-agent small{display:block;color:#6f99b8;margin-top:5px;font-size:10px}
.pd-progress{height:3px;background:#244058;margin:14px 0 0}
.pd-progress i{display:block;background:var(--pd-cyan);height:100%;width:0;transition:width .3s}
.pd-runtime{font-size:10px;color:var(--pd-muted);margin-top:8px!important}
#presentation .pd-evidence-button{width:100%;border-color:#236ca0;color:#8eb6d2;margin-bottom:10px}
.pd-footer{border-top:1px solid var(--pd-line);min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#819fb6;font-size:10px}
.pd-footer button{padding:3px 8px!important;border:0!important;font-size:10px!important;color:#9bd8eb!important}
.pd-footer-links{display:flex;gap:15px;align-items:center}
#pd-status{min-height:20px;font-size:11px;color:var(--pd-gold);margin-top:10px}
#presentationReturn{position:fixed;right:22px;bottom:22px;z-index:10000;background:#073044;color:#99bed8;border:1px solid #198bdc;border-radius:8px;padding:12px 18px;cursor:pointer;box-shadow:0 4px 25px #0004;font:14px 'Microsoft YaHei',sans-serif}
#pd-dialog{color:#dcecf7;background:#0d2841;border:1px solid #3b5f78;border-radius:12px;width:min(860px,92vw);max-height:88dvh;padding:26px;font:13px/1.8 'Microsoft YaHei',sans-serif}
#pd-dialog::-webkit-backdrop{background:#020d1dde;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
#pd-dialog::backdrop{background:#020d1dde;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.pd-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:20px}
.pd-dialog-head h2{margin:0;font-size:21px}
.pd-dialog-body h3{margin:20px 0 8px}
.pd-dialog-body p{color:#b5cada}
.pd-dialog-body table{width:100%;border-collapse:collapse;font-size:12px}
.pd-dialog-body th,.pd-dialog-body td{border-bottom:1px solid #30485b;padding:10px;text-align:left}
.pd-dialog-body th{color:#9bb3c8;font-weight:400}
.pd-dialog-body button,#pd-dialog-close{background:#153b54;color:#d7dee3;border:1px solid #3c667a;border-radius:5px;padding:8px 14px;cursor:pointer;font:inherit}
.pd-dialog-body a{color:#6aa8d4}
.pd-dialog-body code{word-break:break-all;color:#93b7d1}
.pd-dialog-body pre{overflow:auto;max-height:260px;background:#081d30;padding:16px;font-size:11px;line-height:1.7}
.pd-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}
.pd-history-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #30485b;padding:12px 0;gap:20px}
.pd-evidence-event{border-left:2px solid #245b83;margin:15px 0;padding-left:15px}
.pd-evidence-event b{color:#83b1d2}
@media(min-width:1700px){#presentation{padding:0 32px;font-size:14px}.pd-layout{grid-template-columns:280px minmax(0,1fr) 340px;gap:24px;padding-top:24px}.pd-left,.pd-right{padding:24px}.pd-field{margin:16px 0}.pd-agent{padding-bottom:24px}.pd-agent p{font-size:13px}.pd-agent-head strong{font-size:15px}.pd-help{font-size:12px}.pd-main{grid-template-rows:minmax(340px,1fr) auto}.pd-result-panel{padding-bottom:16px}.pd-kpis{padding:14px 0 20px}.pd-header{min-height:100px!important}}
@media(max-height:800px) and (min-width:1051px){#presentation{padding:0 16px}.pd-header{min-height:70px!important}.pd-layout{padding-top:12px;gap:14px;grid-template-columns:220px minmax(0,1fr) 270px}.pd-left,.pd-right{padding:15px}.pd-field{margin:10px 0}.pd-scenario{padding-bottom:12px;margin-bottom:10px}.pd-scope{margin-top:10px;padding-top:8px}.pd-agent{padding-bottom:12px}.pd-agent p{font-size:10px}.pd-agent-flow{margin-top:10px}.pd-main{gap:10px;grid-template-rows:minmax(230px,1fr) auto}.pd-kpi strong{font-size:26px}.pd-result-panel{padding-top:8px}.pd-kpis{padding:5px 0 8px}.pd-footer{min-height:32px}.pd-map-head{left:16px;top:14px}.pd-map-foot{left:16px;right:16px}.pd-nav{gap:14px}}
@media(max-width:1050px){body.presentation-mode{overflow:auto}#presentation{height:auto;min-height:100dvh;padding:0 16px}.pd-header{flex-wrap:wrap;gap:8px!important;padding:15px 0}.pd-brand{width:100%}#presentation h1{font-size:21px}.pd-nav{gap:20px;margin-right:auto}.pd-layout{grid-template-columns:220px minmax(0,1fr);align-items:start}.pd-left{overflow:visible}.pd-main{min-height:610px;grid-template-rows:370px auto}.pd-right{grid-column:1/-1;overflow:visible}.pd-agent-flow{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:16px;gap:16px}.pd-agent{display:block}.pd-agent:before{display:none}.pd-agent-icon{margin-bottom:8px}.pd-agent-head{display:block}.pd-agent-head span{display:block}.pd-footer{flex-wrap:wrap;padding:10px 0}.pd-map-head{display:block}.pd-live-label{margin-top:6px}}
@media(max-width:650px){.pd-layout{display:flex;flex-direction:column;gap:16px}.pd-left,.pd-main,.pd-right{width:100%}.pd-left{order:1}.pd-main{order:0;min-height:560px;grid-template-rows:320px auto}.pd-right{order:2}.pd-map-head h2{font-size:16px!important}.pd-map-foot{display:block;font-size:9px}.pd-kpi strong{font-size:23px}.pd-kpi+.pd-kpi{padding-left:8px}.pd-kpis{gap:6px}.pd-kpi span{font-size:10px}.pd-comparison{grid-template-columns:1fr;gap:14px}.pd-agent-flow{display:block}.pd-agent{display:grid;padding-bottom:18px}.pd-agent-head{display:flex}.pd-agent-icon{margin:0}.pd-agent:not(:last-child):before{display:block}.pd-scope{display:none}.pd-field{display:inline-block;width:calc(50% - 6px);margin:10px 0}.pd-field:nth-child(even){margin-right:8px}.pd-nav{gap:14px;font-size:12px}.pd-footer-links{gap:10px;flex-wrap:wrap}.pd-brand small{font-size:10px}.pd-map-foot>span{display:block;margin-top:3px}}
@media(prefers-reduced-motion:reduce){#presentation *,#presentation *:before{transition:none!important;animation:none!important}}

/* 2026-09-15 bright Southern Grid landscape theme */
body.presentation-mode{background:#eef6fb!important;color:#173650}#presentation{--pd-bg:#eef6fb;--pd-panel:#fff;--pd-line:#cfdfeb;--pd-muted:#647b8f;--pd-cyan:#0e5a91;--pd-gold:#d79a27;color:#173650;background:linear-gradient(135deg,#fff 0,#f4f9fd 46%,#eaf5fb 100%)}#presentation .pd-header{background:rgba(255,255,255,.86);border-bottom-color:#cfe0eb}#presentation button{color:#32546c;border-color:#bed3e1;background:#fff}#presentation button:hover{background:#eaf5fb;color:#0068b5}#presentation a{color:#0068b5}.pd-mark{border-color:#0068b5;color:#0068b5}.pd-left,.pd-right{background:#fff;border-color:#cbdde9;box-shadow:0 12px 30px rgba(26,81,122,.08)}#presentation input,#presentation select,.pd-field .pd-input-row{background:#f7fbfe;color:#173650;border-color:#c2d7e5}.pd-map-panel{background:radial-gradient(ellipse at 50% 50%,#fff 0,#e8f4fa 75%);box-shadow:0 12px 30px rgba(26,81,122,.07)}.pd-kpi strong{color:#173650}.pd-agent-icon{background:#eaf5fb;color:#0068b5;border-color:#b9d6e7}.pd-agent.done .pd-agent-icon{background:#e7ebee;color:#0d507f;border-color:#83abc8}.pd-agent p{color:#526f84}.pd-agent small{color:#6b8799}.pd-agent:not(:last-child):before{background:#cadde8}.pd-bar-track{background:#e0ebf2}.pd-bar b{color:#25465f}.pd-scope strong{color:#31536b}#presentation .pd-primary{background:#0068b5!important;border-color:#0068b5!important;color:#fff!important}#presentation .pd-primary:hover{background:#00558f!important}#pd-dialog{color:#173650;background:#fff;border-color:#bfd4e2;box-shadow:0 22px 60px rgba(8,50,82,.22)}#pd-dialog::-webkit-backdrop{background:rgba(13,44,69,.55)}#pd-dialog::backdrop{background:rgba(13,44,69,.55)}.pd-dialog-body p{color:#587286}.pd-dialog-body pre{background:#edf6fb;color:#25465f}.pd-dialog-body th,.pd-dialog-body td,.pd-history-row{border-color:#d6e4ed}.pd-footer{color:#647f92}.pd-live-label,.pd-agent.done .pd-agent-head span,.pd-conclusion strong{color:#0d5080}


/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/legacy/decision.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
:root{--ink:#101e28;--muted:#5d7586;--green:#0e4369;--green2:#165c8e;--teal:#0f619b;--orange:#d98b25;--blue:#397b9f;--red:#c45e51;--line:#dde1e4;--bg:#f3f5f6;--shadow:0 12px 34px rgba(14,45,67,.07);--font:'Microsoft YaHei','微软雅黑',sans-serif}*{box-sizing:border-box}body{margin:0;min-width:1180px;background:var(--bg);color:var(--ink);font-family:'Microsoft YaHei','微软雅黑',sans-serif}.topbar{height:72px;display:flex;align-items:center;padding:0 28px;background:#fff;border-top:4px solid var(--green);border-bottom:1px solid var(--line);box-shadow:0 3px 16px rgba(12,44,66,.06)}.brand{display:flex;align-items:center;gap:11px;min-width:340px;color:var(--ink);text-decoration:none}.logo{width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#195d8d,#0c2d45);color:#fff;font-weight:700}.brand small,.brand strong{display:block}.brand small{font-size:11px;color:#3c7299;letter-spacing:.12em}.brand strong{font-size:19px;margin-top:2px}.page-nav{align-self:stretch;display:flex}.page-nav a{display:flex;align-items:center;padding:0 25px;color:#596f7f;text-decoration:none;position:relative}.page-nav a.active{color:var(--green);font-weight:700}.page-nav a.active:after{content:"";position:absolute;left:25px;right:25px;bottom:0;height:3px;background:var(--green2)}.top-state{margin-left:auto;display:flex;align-items:center;gap:18px;color:#657f92;font-size:12px}.top-state span{display:flex;align-items:center;gap:8px}.top-state i{width:7px;height:7px;border-radius:50%;background:#d98b25;box-shadow:0 0 0 4px #fff1dc}.top-state.ready i{background:#2f7db5;box-shadow:0 0 0 4px #eaecee}.top-state em{font-style:normal;padding:8px 10px;border-radius:5px;background:#ebeef0;color:var(--green)}main{max-width:1880px;margin:auto;padding:24px 28px 50px}.hero{display:flex;align-items:center;justify-content:space-between;padding:26px 30px;border-radius:14px;color:#fff;background:linear-gradient(115deg,#0c2d45,#124c76 68%,#195b8a);overflow:hidden;position:relative}.hero:after{content:"";position:absolute;right:12%;top:-210px;width:380px;height:380px;border:70px solid rgba(255,255,255,.035);border-radius:50%}.hero>div:first-child{position:relative;z-index:1}.hero>div:first-child>span{font-size:11px;color:#85abc6;letter-spacing:.13em;font-weight:700}.hero h1{font-size:28px;margin:8px 0 6px}.hero p{margin:0;color:#c8d2d9;font-size:13px}.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);position:relative;z-index:1}.hero-metrics>div{padding:4px 24px;border-left:1px solid rgba(255,255,255,.17)}.hero-metrics span,.hero-metrics strong{display:block}.hero-metrics span{font-size:11px;color:#acbbc5}.hero-metrics strong{font-size:17px;margin-top:7px}.scenario-bar{display:flex;align-items:center;justify-content:space-between;margin:18px 0;padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:10px}.scenario-tabs{display:flex;gap:7px}.scenario-tabs button{height:40px;padding:0 18px;border:1px solid #cfd5da;border-radius:7px;background:#f8f9f9;color:#576d7d;font-size:14px;cursor:pointer}.scenario-tabs button.active{border-color:var(--green2);background:#ebeef0;color:var(--green);font-weight:700}.method-note{display:flex;align-items:center;gap:11px;font-size:12px}.method-note span{color:var(--muted)}.method-note b{color:var(--green)}.method-note em{font-style:normal;color:#778fa1}.decision-layout{display:grid;grid-template-columns:340px minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.control-panel{position:-webkit-sticky;position:sticky;top:16px;padding:22px}.control-panel header{padding-bottom:16px;border-bottom:1px solid #e6e9ec}.control-panel header span,.route-card header>div>span,.breakdown header span,.comparison header span,.check-card header span{font-size:11px;color:var(--green2);font-weight:700;letter-spacing:.08em}.control-panel h2,.route-card h2,.breakdown h2,.comparison h2,.check-card h2{font-size:19px;margin:6px 0 4px}.control-panel header p{margin:0;color:var(--muted);font-size:12px}.control-fields{padding-top:6px}.control-field{display:block;margin-top:14px}.control-field>span{display:flex;justify-content:space-between;margin-bottom:7px;font-size:13px;font-weight:700}.control-field>span em{font-style:normal;color:#768ea0;font-size:10px;font-weight:400}.control-field input,.control-field select{width:100%;height:45px;padding:0 12px;border:1px solid #cbd1d6;border-radius:7px;background:#f9fbfa;color:var(--ink);font-size:14px}.control-field small{display:block;margin-top:5px;color:#7d94a5;font-size:10px}.scope-box{margin-top:17px;padding:13px;border-left:3px solid var(--green2);background:#eff1f3}.scope-box span,.scope-box strong,.scope-box em{display:block}.scope-box span{font-size:10px;color:var(--muted)}.scope-box strong{font-size:13px;margin:5px 0}.scope-box em{font-size:11px;color:#396381;font-style:normal}.solve-button{width:100%;height:48px;margin-top:18px;border:0;border-radius:7px;background:var(--green);color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 9px 22px rgba(14,67,105,.18)}.solve-button:disabled{opacity:.55;cursor:wait}.solve-button span{margin-left:13px}.reset-button{width:100%;margin-top:9px;border:0;background:none;color:#476981;font-size:12px;cursor:pointer}.service-hint{text-align:center;color:#748d9f;font-size:10px;margin:13px 0 0}.result-column{display:grid;grid-gap:14px;gap:14px}.recommendation{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-left:5px solid var(--green2)}.recommendation>div>span{font-size:11px;color:var(--green2);font-weight:700}.recommendation h2{font-size:24px;margin:7px 0}.recommendation p{margin:0;color:var(--muted);font-size:12px}.solve-badge{text-align:right}.solve-badge span,.solve-badge strong,.solve-badge em{display:block}.solve-badge span{padding:5px 8px;border-radius:4px;background:#eff1f3;color:var(--green);font-size:10px}.solve-badge strong{font-size:18px;margin-top:7px}.solve-badge em{font-size:9px;color:#7d94a5;font-style:normal}.route-card{padding:20px 22px}.route-card header,.check-card header{display:flex;justify-content:space-between;align-items:center}.legend{display:flex;gap:14px;color:var(--muted);font-size:10px}.legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}.legend .local:before{background:#5b7282}.legend .power:before{background:var(--orange)}.legend .remote:before{background:var(--teal)}.route-bar{display:flex;height:25px;margin-top:18px;border-radius:6px;overflow:hidden;background:#eef0f1}.route-bar i{display:block;height:100%;min-width:0}.route-bar .local{background:#5b7282}.route-bar .power{background:var(--orange)}.route-bar .remote{background:var(--teal)}.route-values{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-top:12px}.route-value{padding:10px 12px;border:1px solid #e0e4e7;border-radius:7px}.route-value span,.route-value strong{display:block}.route-value span{font-size:10px;color:var(--muted)}.route-value strong{font-size:17px;margin-top:5px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.result-metric{padding:17px 18px}.result-metric span,.result-metric strong,.result-metric em{display:block}.result-metric span{font-size:11px;color:var(--muted)}.result-metric strong{font-size:23px;margin:9px 0 5px}.result-metric em{font-size:10px;color:#6e889b;font-style:normal}.result-metric.positive strong{color:var(--green2)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.breakdown,.comparison,.check-card{padding:20px 22px}.breakdown header,.comparison header{padding-bottom:12px;border-bottom:1px solid #e6e9ec}.breakdown-row{display:grid;grid-template-columns:74px 1fr 84px;grid-gap:12px;gap:12px;align-items:center;margin-top:14px;font-size:11px}.breakdown-row span{color:#546978}.breakdown-track{height:8px;border-radius:5px;background:#eef0f1;overflow:hidden}.breakdown-track i{display:block;height:100%;border-radius:5px;background:var(--green2)}.breakdown-row b{text-align:right}.comparison-row{margin-top:17px}.comparison-row>div{display:flex;justify-content:space-between;font-size:11px}.comparison-track{height:14px;margin-top:7px;border-radius:5px;background:#eef0f1;overflow:hidden}.comparison-track i{display:block;height:100%;border-radius:5px;background:#576d7d}.comparison-row.current .comparison-track i{background:var(--teal)}.comparison p{margin:16px 0 0;padding:10px;background:#eff1f3;color:var(--green);font-size:11px;border-radius:6px}.check-card header{padding-bottom:13px;border-bottom:1px solid #e6e9ec}.check-card header>b{padding:6px 9px;border-radius:4px;background:#eef0f1;color:#688295;font-size:10px}.check-card header>b.pass{background:#ebedef;color:#175683}.check-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:11px;gap:11px;margin-top:15px}.check-item{padding:12px;background:#f8f9f9;border-radius:7px}.check-item span,.check-item strong{display:block}.check-item span{font-size:10px;color:var(--muted)}.check-item strong{font-size:14px;margin-top:6px}.toast{position:fixed;right:28px;bottom:28px;padding:12px 16px;border-radius:7px;background:#0c2d45;color:#fff;font-size:12px;opacity:0;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:none}@media(max-width:1350px){.decision-layout{grid-template-columns:310px minmax(0,1fr)}.metric-grid{grid-template-columns:repeat(2,1fr)}.brand{min-width:290px}}

/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/legacy/decision-spacing.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
main{max-width:1720px;padding:32px 36px 76px}.scenario-bar{margin:24px 0;padding:16px 20px}.decision-layout{grid-template-columns:360px minmax(0,1fr);gap:26px}.control-panel{top:24px;padding:26px}.result-column{gap:22px}.recommendation{padding:26px 28px}.route-card{padding:26px 28px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.result-metric{padding:22px 24px;min-height:128px}.detail-grid{gap:22px}.breakdown,.comparison,.check-card{padding:26px 28px}.breakdown,.comparison{min-height:310px}.check-card{min-height:auto}.breakdown-row{grid-template-columns:90px minmax(120px,1fr) 100px;margin-top:20px}.comparison-row{margin-top:24px}.comparison p{margin-top:24px}.check-grid{gap:16px;margin-top:20px}.check-grid>div{padding:16px 18px;background:#f8f9f9;border-radius:8px}.check-grid>div span,.check-grid>div b{display:block}.check-grid>div span{color:var(--muted);font-size:11px}.check-grid>div b{margin-top:7px;font-size:16px}@media(max-width:1350px){main{padding:26px}.decision-layout{grid-template-columns:330px minmax(0,1fr)}.metric-grid{grid-template-columns:repeat(2,1fr)}}

/* Three-column decision workspace */
main{max-width:1880px;padding:28px 30px 72px}
.decision-layout{grid-template-columns:310px minmax(0,1fr) 310px;gap:18px}
.control-panel{top:18px;padding:22px}
.result-column{gap:16px}
.recommendation,.route-card,.breakdown,.comparison,.check-card{padding:22px 24px}
.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.result-metric{padding:18px 20px;min-height:116px}
.detail-grid{gap:16px}
.breakdown,.comparison{min-height:286px}

.actor-card{display:grid;grid-template-columns:1fr 26px 1.2fr 26px 1fr;align-items:center;padding:16px 18px}
.actor-card>div{display:flex;align-items:center;gap:12px;min-width:0;padding:5px 8px}
.actor-card>div>i{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#eef0f1;color:var(--green);font-style:normal;font-weight:700}
.actor-card span,.actor-card b,.actor-card small{display:block}
.actor-card b{font-size:13px}.actor-card small{margin-top:4px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.actor-card>em{height:1px;background:#e0e4e7;position:relative}
.actor-card>em:after{content:"";position:absolute;right:0;top:-3px;border-left:5px solid #a4b4bf;border-top:3px solid transparent;border-bottom:3px solid transparent}
.route-values>span{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #e0e4e7;border-radius:7px;color:var(--muted);font-size:10px}
.route-values>span>i{width:8px;height:8px;border-radius:2px}.route-values>span>b{margin-left:auto;color:var(--ink);font-size:14px}

.decision-rail{position:-webkit-sticky;position:sticky;top:18px;display:grid;grid-gap:14px;gap:14px;min-width:0}
.rail-section{padding:8px 4px 16px;border-bottom:1px solid var(--line)}
.rail-kicker{color:var(--green2);font-size:11px;font-weight:700;letter-spacing:.1em}
.rail-section h2{margin:9px 0 10px;font-size:23px;line-height:1.35}.rail-section p,.rail-callout p,.rail-card p,.rail-boundary p{margin:0;color:var(--muted);font-size:11px;line-height:1.75}
.rail-callout{padding:16px 17px;border-left:4px solid var(--green2);background:#eff1f3}
.rail-callout b{display:block;margin-bottom:7px;font-size:12px}
.rail-card{padding:18px 17px;box-shadow:0 8px 24px rgba(14,45,67,.05)}
.rail-card h3,.rail-boundary h3{margin:0 0 9px;font-size:12px}
.input-card{padding:0;overflow:hidden}
.input-disclosure{width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border:0;background:#fff;color:var(--ink);font:700 12px var(--font);cursor:pointer}
.input-disclosure i{font-style:normal;color:var(--green2);font-size:18px;transition:transform .2s}.input-disclosure[aria-expanded="true"] i{transform:rotate(180deg)}
.input-summary{padding:0 16px 14px;border-top:1px solid #edeff1}
.input-summary>div,.run-metadata>div{display:grid;grid-template-columns:92px minmax(0,1fr);grid-gap:10px;gap:10px;padding:9px 0;border-bottom:1px solid #edeff1}
.input-summary>div:last-child,.run-metadata>div:last-child{border-bottom:0}
.input-summary span,.run-metadata span{color:#768ea0;font-size:10px}.input-summary b,.run-metadata b{font-size:10px;line-height:1.55;text-align:right;overflow-wrap:anywhere}
.rail-boundary{padding:18px 3px;border-top:1px solid var(--line);border-bottom:1px dashed #cfd5da}
.run-metadata{padding:2px 3px 4px}

@media(max-width:1280px){
  main{padding:24px}
  .decision-layout{grid-template-columns:300px minmax(0,1fr);gap:18px}
  .decision-rail{position:static;grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .rail-advice,.rail-callout,.rail-boundary,.run-metadata{padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px}
  .input-card,.rail-boundary,.run-metadata{grid-column:span 2}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:1040px){
  body{min-width:960px}
  .decision-layout{grid-template-columns:1fr}
  .control-panel,.decision-rail{position:static;grid-column:1}
  .decision-rail{grid-template-columns:1fr 1fr}
}
/* 算力客户售电策略：独立于协同求解的营销场景展示 */
.two-stage-linkage{padding:0;overflow:hidden;border-color:#c9d2d9;background:#fff}
.two-stage-linkage>header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 26px 19px;border-bottom:1px solid #e2e6e9;background:linear-gradient(90deg,#f8f9fa 0%,#fff 70%)}
.two-stage-linkage>header span{color:#0e5589;font-size:13px;font-weight:700}.two-stage-linkage>header h2{margin:7px 0 5px;font-size:23px}.two-stage-linkage>header p{margin:0;color:#627b8c;font-size:13px}.two-stage-linkage>header>b{padding:7px 11px;border-radius:7px;background:#ebedef;color:#0e4a74;font-size:12px}
.stage-flow{display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);align-items:stretch;grid-gap:12px;gap:12px;padding:20px 26px}.stage-node{position:relative;display:flex;gap:13px;padding:18px;border:1px solid #dbe0e3;border-radius:11px;background:#fbfdfc}.stage-node>i{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:50%;background:#0e4a74;color:#fff;font-style:normal;font-weight:700}.stage-node span{color:#4e697d;font-size:12px;font-weight:700}.stage-node h3{margin:5px 0 7px;font-size:17px}.stage-node p{margin:0 0 13px;color:#678193;font-size:12px;line-height:1.6}.stage-node div div{display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:3px 10px;gap:3px 10px;padding-top:10px;border-top:1px dashed #cfd5d9}.stage-node em,.stage-node small{color:#768e9f;font-size:10px;font-style:normal}.stage-node b{color:#0f2f45;font-size:13px}.stage-node small{grid-column:2}.stage-two{border-color:#ecd7af;background:#fffaf2}.stage-two>i{background:#d98a1c}.stage-two span{color:#9a671b}
.stage-handoff{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.stage-handoff span{color:#678194;font-size:10px}.stage-handoff b{margin:5px 0;color:#0e4a74;font-size:17px}.stage-handoff i{display:grid;place-items:center;width:54px;height:24px;border-radius:15px;background:#e9ecee;color:#0e5589;font-size:22px;font-style:normal}.stage-handoff small{margin-top:6px;color:#8096a6;font-size:9px;line-height:1.4}
.two-stage-linkage>footer{display:flex;align-items:center;gap:12px;padding:13px 26px;border-top:1px dashed #d9dee2;background:#f7f9f8}.two-stage-linkage>footer>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px dashed #92a5b3;color:#6f899b;font-style:normal}.two-stage-linkage>footer b,.two-stage-linkage>footer span{display:block}.two-stage-linkage>footer b{color:#4d6677;font-size:12px}.two-stage-linkage>footer span{margin-top:2px;color:#7d94a4;font-size:10px}
.tariff-strategy{padding:0;overflow:hidden;border-color:#d3d8dc;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%)}
.tariff-head{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 30px 22px;border-bottom:1px solid #e4e7e9}
.tariff-head span,.tariff-head>div>p{color:#577488}.tariff-head span{font-weight:700}.tariff-head h2{margin:8px 0 7px;font-size:25px}.tariff-head p{margin:0}
.tariff-head>b{padding:8px 12px;border-radius:8px;background:#ebeef0;color:#0d4e7d;font-size:14px}
.tariff-presets{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;margin:22px 30px 0;padding:5px;border-radius:10px;background:#eef0f2}
.tariff-presets button{height:42px;border:0;border-radius:7px;background:transparent;color:#566d7d;font-weight:700;cursor:pointer}.tariff-presets button.active{background:#fff;color:#0b4874;box-shadow:0 2px 10px rgba(15,55,83,.1)}
.tariff-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);grid-gap:18px;gap:18px;padding:18px 30px 0}.tariff-controls,.tariff-visual{border:1px solid #dee2e5;border-radius:12px;background:#fff}
.tariff-controls{padding:19px}.tariff-controls h3,.tariff-visual h3,.tariff-bottom h3{margin:0;font-size:18px}.tariff-controls>p{margin:5px 0 15px;color:#6e889b;font-size:13px}
#tariffControls{display:grid;grid-gap:10px;gap:10px}#tariffControls label{display:grid;grid-template-columns:1fr 96px;align-items:center;grid-gap:10px;gap:10px}#tariffControls span{font-size:13px;color:#395468}#tariffControls span em{display:block;margin-top:2px;color:#8a9fae;font-style:normal;font-size:11px}#tariffControls input{width:100%;height:34px;padding:0 9px;border:1px solid #cdd3d8;border-radius:7px;background:#fbfdfc;text-align:right;color:#0e2e45;font:600 13px 'Microsoft YaHei',sans-serif;box-sizing:border-box}
.tariff-visual{padding:19px 20px 15px}.tariff-chart-head{display:flex;justify-content:space-between;align-items:flex-start}.tariff-chart-head p{margin:5px 0 0;color:#647e90;font-size:13px}.tariff-chart-head>span{color:#758e9f;font-size:12px}.tariff-visual svg{display:block;width:100%;height:auto;min-height:220px;margin-top:8px}.tariff-grid line{stroke:#e6e9ec;stroke-dasharray:4}.tariff-visual svg text{fill:#657f92;font:12px 'Microsoft YaHei',sans-serif}.tariff-area{fill:url(#tariffArea)}.tariff-step{fill:none;stroke:#0e5c93;stroke-width:4;stroke-linejoin:round}.tariff-marker{stroke:#dd9324;stroke-width:2;stroke-dasharray:5}.tariff-marker-dot{fill:#dd9324;stroke:#fff;stroke-width:2}.tariff-marker-label{fill:#fff4df;stroke:#efca82}.tariff-marker-text{fill:#9a6110!important;font-weight:700!important}
.tier-allocation{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.tier-allocation>div{position:relative;padding:10px 8px 9px 14px;border-radius:8px;background:#f5f7f8;overflow:hidden}.tier-allocation i{position:absolute;left:0;top:0;bottom:0;width:4px}.tier-allocation .tier-1{background:#315b68}.tier-allocation .tier-2{background:#dd9324}.tier-allocation .tier-3{background:#1167a5}.tier-allocation span,.tier-allocation em{display:block;color:#6e889a;font-size:11px;font-style:normal}.tier-allocation b{display:block;margin:3px 0;color:#102e44;font-size:13px}
.tariff-metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;padding:18px 30px}.tariff-metric{min-width:0;padding:16px;border:1px solid #dee2e5;border-radius:10px;background:#fff}.tariff-metric span,.tariff-metric em{display:block;color:#647e90;font-size:12px;font-style:normal}.tariff-metric strong{display:block;margin:8px 0 5px;color:#0c293d;font-size:23px}.tariff-metric small{margin-left:4px;font-size:12px}.tariff-metric:nth-child(3){border-color:#bfcad2;background:#f3f4f5}.tariff-metric:nth-child(3) strong{color:#0b4874}
.tariff-bottom{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(210px,.55fr);grid-gap:14px;gap:14px;padding:0 30px 22px}.tariff-bottom>section{padding:18px;border:1px solid #dee2e5;border-radius:11px;background:#fff}.tariff-subhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.tariff-subhead span{color:#6e889b;font-size:12px}.tariff-comparison{display:grid;grid-gap:8px;gap:8px}.tariff-comparison button{display:grid;grid-template-columns:125px 1fr 128px 105px;align-items:center;grid-gap:10px;gap:10px;width:100%;padding:11px;border:1px solid transparent;border-radius:8px;background:#f7f8f8;text-align:left;color:#476275;cursor:pointer;font-family:'Microsoft YaHei',sans-serif}.tariff-comparison button.active{border-color:#a3b7c5;background:#f1f3f4}.tariff-comparison button div:first-child span{display:block;margin-top:2px;font-size:10px;color:#8096a6}.tariff-compare-track{height:7px;border-radius:5px;background:#e1e5e7;overflow:hidden}.tariff-compare-track i{display:block;height:100%;border-radius:5px;background:#1167a5}.tariff-comparison strong,.tariff-comparison em{font-size:11px;font-style:normal}.tariff-recommendation{position:relative;padding:21px;border-radius:11px;background:linear-gradient(145deg,#083351,#0d4f7e);color:#fff;overflow:hidden}.tariff-recommendation:after{content:'';position:absolute;width:150px;height:150px;border:30px solid rgba(255,255,255,.05);border-radius:50%;right:-70px;top:-65px}.tariff-recommendation span{color:#a9c1d2;font-size:12px}.tariff-recommendation h3{margin:10px 0;font-size:22px}.tariff-recommendation p{position:relative;z-index:1;margin:0;color:#dae0e5;font-size:13px;line-height:1.7}.tariff-recommendation div{margin-top:18px}.tariff-recommendation div b,.tariff-recommendation div em{display:block}.tariff-recommendation div b{font-size:25px}.tariff-recommendation div em{color:#b3c2cd;font-size:11px;font-style:normal}.tariff-footnote{padding:13px 30px;border-top:1px solid #e5e8eb;background:#f7f8f8;color:#778fa1;font-size:12px}

@media(max-width:1500px){.tariff-workspace{grid-template-columns:1fr}.tariff-controls{padding-bottom:14px}#tariffControls{grid-template-columns:repeat(4,1fr);gap:10px 14px}#tariffControls label{grid-template-columns:1fr}.tariff-comparison button{grid-template-columns:105px 1fr 110px}.tariff-comparison button>em{display:none}.tariff-bottom{grid-template-columns:1fr}}
@media(max-width:900px){.stage-flow{grid-template-columns:1fr}.stage-handoff i{transform:rotate(90deg)}.tariff-head,.tariff-workspace,.tariff-metrics,.tariff-bottom{padding-left:18px;padding-right:18px}.tariff-presets{margin-left:18px;margin-right:18px}#tariffControls{grid-template-columns:repeat(2,1fr)}.tariff-metrics{grid-template-columns:repeat(2,1fr)}.tariff-comparison button{grid-template-columns:90px 1fr}.tariff-comparison button>strong{display:none}}

/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/legacy/nav-buttons.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
.topbar .platform-nav,.topbar .page-nav{align-self:auto;display:flex;align-items:center;gap:8px}.topbar .platform-nav a,.topbar .page-nav a{height:40px;display:flex;align-items:center;padding:0 24px;border:1px solid transparent;border-radius:8px;color:#596f7f;text-decoration:none;font-size:14px;transition:.18s}.topbar .platform-nav a:hover,.topbar .page-nav a:hover{border-color:#ced4d9;background:#f5f6f7;color:#0e4369}.topbar .platform-nav a.active,.topbar .page-nav a.active{border-color:#0e4369;background:#0e4369;color:#fff;font-weight:700;box-shadow:0 7px 16px rgba(14,67,105,.16)}.topbar .platform-nav a.active:after,.topbar .page-nav a.active:after{display:none}

/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/legacy/metric-cards.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.result-metric{position:relative;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}.result-metric:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:4px;border-radius:0 4px 4px 0;background:var(--green2)}.result-metric:nth-child(2):before,.result-metric:nth-child(4):before{background:var(--orange)}.result-metric:nth-child(3):before{background:#4c829d}.result-metric:nth-child(5):before{background:var(--teal)}.result-metric:nth-child(6):before{background:#557388}.result-metric:hover{transform:translateY(-2px);border-color:#bbc7cf;box-shadow:0 15px 32px rgba(14,45,67,.11)}

/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/legacy/unified-shell.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
:root{--shell-content:1480px;--shell-gap:30px;--shell-ink:#0b2334;--shell-line:#dbdfe2}body{overflow-x:hidden}.portal-topbar,.topbar{min-height:64px!important;height:64px!important;padding-left:clamp(16px,3vw,42px)!important;padding-right:clamp(16px,3vw,42px)!important}.portal-main{max-width:var(--shell-content)!important;padding-top:22px!important;padding-bottom:42px!important}.portal-main>.section{padding-top:38px!important}.portal-main .section-head{margin-bottom:18px!important}.portal-main .section-head h2{font-size:26px!important}.portal-main .hero{min-height:360px!important;padding:42px!important}.portal-main .page-hero,.workspace-page .workspace-hero{padding:32px 38px!important}.portal-main .page-hero h1,.workspace-page .workspace-hero h1{font-size:32px!important}.portal-main .card{padding:20px!important}.portal-main .service{min-height:230px!important}.portal-main .flow{gap:8px!important}.portal-main .flow article{padding:15px 12px!important}.workspace-page .workspace-grid{gap:14px!important}.workspace-page .role-picker{margin-top:14px!important}.workspace-page .result-panel{margin-top:14px!important}.workspace-page .compact-section{padding-top:28px!important}.portal-footer{margin-top:42px!important;padding-top:22px!important;padding-bottom:22px!important}.topbar+main{padding-top:18px}.topbar .page-nav,.topbar .platform-nav{gap:0}.topbar .page-nav a,.topbar .platform-nav a{padding-left:10px!important;padding-right:10px!important;font-size:12px!important}.summary-bar,.qa-hero,.decision-hero{max-width:var(--shell-content);margin-left:auto;margin-right:auto}.summary-bar{padding:24px 32px!important}.qa-hero{padding:24px 32px!important}.workspace,.decision-workspace,.qa-layout{max-width:var(--shell-content);margin-left:auto;margin-right:auto}.dashboard-subnav{min-height:42px!important;height:42px!important}.dashboard-subnav a{padding-top:11px!important;padding-bottom:11px!important;font-size:11px!important}@media(max-width:900px){.portal-main{padding:16px 18px 34px!important}.portal-main>.section{padding-top:30px!important}.portal-main .hero{padding:30px 24px!important;min-height:330px!important}.portal-main .page-hero,.workspace-page .workspace-hero{padding:26px 24px!important}.portal-main .section-head h2{font-size:23px!important}.topbar+main{padding-top:12px}.summary-bar,.qa-hero{padding:20px!important}.portal-footer{display:block!important}.portal-footer span{display:block;margin:5px 0}}@media(max-width:600px){.portal-main .card{padding:16px!important}.portal-main .hero h1,.portal-main .page-hero h1,.workspace-page .workspace-hero h1{font-size:27px!important}.portal-main .section-head{display:block!important}.portal-main .section-head>a{display:inline-block;margin-top:8px}.portal-topbar,.topbar{height:58px!important;min-height:58px!important}.portal-nav,.page-nav,.platform-nav{overflow-x:auto!important}.portal-main>.section{padding-top:24px!important}}
:root{--platform-section-gap:32px;--platform-inner-gap:12px;--platform-section-line:#cdd6dc;--platform-section-shadow:0 16px 40px rgba(10,44,69,.07)}.portal-main>.section{margin-top:var(--platform-section-gap);padding:24px!important;border:1px solid var(--platform-section-line);border-top:4px solid #166095;border-radius:16px;background:#fff;box-shadow:var(--platform-section-shadow)}.portal-main>.section+.section{margin-top:var(--platform-section-gap)}.portal-main .section-head{margin-bottom:var(--platform-inner-gap)!important;padding-bottom:var(--platform-inner-gap);border-bottom:1px solid #e5e8ea}.portal-main .section-head h2{margin:0;font-size:28px!important}.portal-main .section-head p{margin:7px 0 0;max-width:980px}.portal-main .grid-2,.portal-main .grid-3,.portal-main .flow{gap:var(--platform-inner-gap)!important}.portal-main .card{box-shadow:none!important}.portal-main>.section>.grid-2>.card,.portal-main>.section>.grid-3>.card{border-color:#e0e4e6;background:#fbfdfc}.portal-main .eyebrow{font-size:9px;opacity:.65}.portal-main .card h3{font-size:19px}.portal-main .case-cover strong{font-size:28px}.workspace-page>.compact-section{margin-top:var(--platform-section-gap);padding:22px!important;border:1px solid var(--platform-section-line);border-top:4px solid #166095;border-radius:16px;background:#fff;box-shadow:var(--platform-section-shadow)}.workspace-page>.compact-section+.compact-section{margin-top:var(--platform-section-gap)}.workspace-page .workspace-grid,.workspace-page .data-pods,.workspace-page .ledgers{gap:var(--platform-inner-gap)!important}.summary-bar,.qa-hero{margin-bottom:var(--platform-section-gap)!important;border:1px solid var(--platform-section-line);border-radius:16px;box-shadow:var(--platform-section-shadow)}.workspace,.qa-layout{gap:var(--platform-section-gap)!important}.map-panel,.detail-panel,.conversation-panel,.analysis-panel{border-color:var(--platform-section-line)!important;border-radius:16px!important;box-shadow:var(--platform-section-shadow)}.business-section{margin:var(--platform-section-gap) auto 0!important;padding:22px!important;border:1px solid var(--platform-section-line);border-radius:16px;background:#fff;box-shadow:var(--platform-section-shadow)}.business-section .section-header{margin-bottom:var(--platform-inner-gap)!important;padding-bottom:var(--platform-inner-gap);border-bottom:1px solid #e5e8ea}.business-section .card-grid,.business-section .basic-chart-grid{gap:var(--platform-inner-gap)!important}.business-section .card{box-shadow:none!important}.qa-layout section+section,.analysis-panel>section+section{margin-top:var(--platform-section-gap)}.analysis-panel>section{padding:18px!important;border:1px solid #dde2e5;border-radius:14px;background:#fff}.analysis-panel>section>*+*{margin-top:var(--platform-inner-gap)}@media(max-width:900px){:root{--platform-section-gap:24px}.portal-main>.section,.workspace-page>.compact-section,.business-section{padding:18px!important}.workspace,.qa-layout{gap:24px!important}}
.workspace,.qa-layout{width:calc(100% - 40px)!important;box-sizing:border-box}.workspace>*{min-width:0}.map-panel,.detail-panel{min-width:0!important}@media(max-width:700px){.workspace,.qa-layout{width:calc(100% - 24px)!important}}
@media(max-width:900px){.workspace{min-width:0!important;grid-template-columns:1fr!important}.map-panel,.detail-panel{width:100%!important}}
@media(max-width:900px){body{min-width:0!important}}

/* 2026-09-15 Southern Grid unified surfaces */
body[data-platform-page=dashboard],body[data-platform-page=decision]{background:linear-gradient(145deg,#fff,#f2f8fc)!important;color:#173650!important}
body[data-platform-page=dashboard] .portal{padding-top:0!important;background:transparent!important}
body[data-platform-page=dashboard] .dashboard-subnav{position:-webkit-sticky;position:sticky;top:0;z-index:20;background:#fff!important;border-bottom:1px solid #d5e5ef!important;box-shadow:0 6px 20px rgba(23,77,116,.06)}
body[data-platform-page=dashboard] .dashboard-subnav a.active{color:#0068b5!important;border-bottom-color:#0068b5!important}
body[data-platform-page=dashboard] main{max-width:1560px!important;margin:auto!important;padding:20px 24px 50px!important}
body[data-platform-page=dashboard] .welcome{background:linear-gradient(110deg,#0068b5,#0584bd)!important;border-radius:16px!important;color:#fff!important;box-shadow:0 18px 42px rgba(0,104,181,.18)!important}
body[data-platform-page=dashboard] .welcome p,body[data-platform-page=dashboard] .welcome span{color:#dcedf8!important}
body[data-platform-page=dashboard] .business-section{background:#fff!important;border:1px solid #d7e5ef!important;border-top:4px solid #0068b5!important;box-shadow:0 14px 34px rgba(28,78,116,.07)!important}
body[data-platform-page=dashboard] .business-section.tinted{background:#f7fbfe!important}
body[data-platform-page=dashboard] .card{border-color:#d8e6ef!important;box-shadow:0 9px 25px rgba(24,73,109,.06)!important}
body[data-platform-page=dashboard] .section-heading>div>span,body[data-platform-page=dashboard] .overview-divider>div>span{color:#0068b5!important}
body[data-platform-page=dashboard] .section-state.good{color:#006f8a!important;background:#eef0f2!important}
body[data-platform-page=decision] main{max-width:1560px!important;margin:auto!important;padding-left:24px!important;padding-right:24px!important}
body[data-platform-page=decision] .hero{background:linear-gradient(110deg,#0068b5,#0584bd)!important;color:#fff!important;border-radius:16px!important;margin-top:18px!important}
body[data-platform-page=decision] .card{border-color:#d7e5ef!important;box-shadow:0 12px 30px rgba(22,71,108,.07)!important}
body[data-platform-page=decision] .solve-button{background:#0068b5!important}
@media(max-width:760px){body[data-platform-page=dashboard] main,body[data-platform-page=decision] main{padding-left:12px!important;padding-right:12px!important}}

body[data-platform-page=dashboard] .welcome:before{content:"";position:absolute;right:27%;top:50%;width:360px;height:300px;transform:translateY(-50%);background:url(/assets/csg-mark.png) center/contain no-repeat;mix-blend-mode:screen;filter:grayscale(1) brightness(2);opacity:.075;pointer-events:none;z-index:0}body[data-platform-page=dashboard] .welcome>div{position:relative;z-index:1}@media(max-width:1100px){body[data-platform-page=dashboard] .welcome:before{right:4%;width:260px;height:220px;opacity:.06}}
/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/page-shell.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
/* 页面对照壳：地图 / 问答 / 模型工作台 / 数据协作 / 协同决策 */

.page-shell {
  width: min(1540px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.page-shell-kicker {
  margin: 0;
  color: #1689c5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-shell-head {
  margin-bottom: 14px;
}

.page-shell-head h1 {
  margin: 6px 0 0;
  color: #004a86;
  font-size: 28px;
}

.page-shell-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-shell-links a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #b9d9ea;
  border-radius: 6px;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.page-shell-links a:hover {
  background: #eef8fd;
}

.page-shell-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.page-shell-card {
  padding: 16px 18px;
  border: 1px solid #cfe2ef;
  border-radius: 10px;
  background: #fff;
}

.page-shell-card > header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.page-shell-card > header span {
  color: #1689c5;
  font-size: 11px;
  font-weight: 800;
}

.page-shell-card > header h2,
.page-shell-card > h2 {
  margin: 0 0 8px;
  color: #173650;
  font-size: 17px;
}

.page-shell-muted {
  margin: 0 0 12px;
  color: #6f8da1;
  font-size: 12px;
  line-height: 1.65;
}

.page-shell-card label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin-bottom: 12px;
  color: #315f80;
  font-size: 12px;
  font-weight: 700;
}

.page-shell-card input,
.page-shell-card select,
.page-shell-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  border-radius: 6px;
  padding: 0 12px;
  color: #164f72;
  font: inherit;
  background: #fff;
}

.page-shell-card input,
.page-shell-card select {
  height: 38px;
}

.page-shell-card input[type="checkbox"],
.page-shell-card input[type="radio"],
.page-shell-card input[type="file"] {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
}

.page-shell-card textarea {
  padding: 10px 12px;
  resize: vertical;
}

.page-shell-primary {
  height: 40px;
  padding: 0 16px;
  border: 1px solid #1689c5;
  border-radius: 6px;
  background: #1689c5;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.page-shell-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page-shell-stats {
  margin: 0;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.page-shell-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e1edf4;
}

.page-shell-stats dt {
  color: #6f8da1;
  font-size: 12px;
}

.page-shell-stats dd {
  margin: 0;
  color: #173650;
  font-weight: 700;
}

.page-shell-steps {
  margin: 0;
  padding-left: 18px;
  color: #426c86;
  font-size: 13px;
  line-height: 1.9;
}

/* map */
.map-shell {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(240px, 300px);
}

.map-shell-canvas header {
  margin-bottom: 10px;
}

.map-shell-canvas-wrap {
  position: relative;
  min-height: 420px;
  border: 1px solid #9fc8de;
  border-radius: 8px;
  overflow: hidden;
  background: #eaf6fc;
}

.map-shell-echarts {
  width: 100%;
  height: 420px;
}

/* 南海附图：与主图分开编排，完整源几何另存于 public/geo/tianditu。 */
.map-shell-inset {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 3px 4px 2px;
  border: 1px solid #93b7ca;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 4px rgba(30, 70, 95, 0.12);
  pointer-events: none;
}

.map-shell-inset-title {
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1.35;
  color: #4b6d82;
  text-align: center;
  letter-spacing: 0.02em;
}

.map-shell-inset-canvas {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.map-shell-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  background: rgba(234, 246, 252, 0.92);
  color: #426c86;
  font-size: 13px;
  font-weight: 700;
}

.map-shell-layers {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #cfe2ef;
  border-radius: 6px;
  background: #f7fbfe;
}

.map-shell-layers legend {
  padding: 0 4px;
  color: #315f80;
  font-size: 11px;
  font-weight: 800;
}

.map-shell-layer {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
  color: #426c86 !important;
}

.map-shell-zoom {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.map-shell-zoom button {
  flex: 1 1;
  height: 32px;
  border: 1px solid #cfe2ef;
  border-radius: 6px;
  background: #fff;
  color: #315f80;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.map-shell-resource-edit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #d7e8f2;
}

.map-shell-resource-edit h3 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #0a4f7c;
}

.map-shell-resource-edit button {
  margin-top: 8px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #cfe2ef;
  border-radius: 6px;
  background: #fff;
  color: #426c86;
  font-weight: 700;
  cursor: pointer;
}

.map-shell-placeholder {
  min-height: 420px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed #9fc8de;
  border-radius: 8px;
  background: linear-gradient(145deg, #e9f5fb, #dbeef8);
  padding: 24px;
}

.map-shell-placeholder strong {
  color: #004a86;
  font-size: 18px;
}

.map-shell-placeholder p {
  margin: 10px 0 0;
  max-width: 420px;
  color: #5d7f98;
  font-size: 12px;
  line-height: 1.7;
}

/* qa */
.qa-shell {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr);
}

.qa-shell-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.qa-shell-toolbar h2 {
  margin: 0;
}

.qa-shell-toolbar label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qa-shell-toolbar select {
  width: auto;
  min-width: 120px;
}

.qa-shell-messages {
  min-height: 280px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #d5e8f2;
  border-radius: 8px;
  background: #f7fbfe;
}

.qa-shell-messages article {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #d4e6f0;
  border-radius: 8px;
  background: #fff;
  color: #315f80;
  font-size: 13px;
  line-height: 1.65;
}

.qa-shell-messages article.user {
  margin-left: auto;
  background: #eaf5fb;
  border-color: #b9d9ea;
}

.qa-shell-form textarea {
  margin-bottom: 10px;
}

.qa-shell-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.qa-shell-form small {
  color: #6f8da1;
  font-size: 11px;
}

/* business */
.business-shell {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.business-shell-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
}

.business-shell-list button {
  text-align: left;
  padding: 12px;
  border: 1px solid #d5e5ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.business-shell-list button.active {
  border-color: #6eb2d9;
  box-shadow: inset 4px 0 #0068b5;
  background: #f3f9fd;
}

.business-shell-list b {
  color: #0068b5;
  font-size: 10px;
}

.business-shell-list strong {
  display: block;
  margin: 4px 0;
  color: #173650;
  font-size: 14px;
}

.business-shell-list span {
  display: block;
  color: #60788c;
  font-size: 11px;
  line-height: 1.5;
}

.business-shell-title span {
  color: #1689c5;
  font-size: 11px;
  font-weight: 800;
}

.business-shell-title h2 {
  margin: 4px 0;
}

.business-shell-title p {
  margin: 0 0 14px;
  color: #6f8da1;
  font-size: 12px;
}

.business-shell-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e1edf4;
}

/* data-entry */
.data-shell-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.data-shell-tabs button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #cfe2ef;
  border-radius: 6px;
  background: #fff;
  color: #55788f;
  font-weight: 700;
  cursor: pointer;
}

.data-shell-tabs button.active {
  border-color: #1689c5;
  background: #eaf5fb;
  color: #0068b5;
}

.data-shell-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.data-shell-links a,
.data-shell-links button {
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: 1px solid #cfe2ef;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

.data-shell-links button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* decision */
.decision-shell-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid #cfe2ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: -moz-fit-content;
  width: fit-content;
}

.decision-shell-tabs button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid #cfe2ef;
  background: #fff;
  color: #55788f;
  font-weight: 700;
  cursor: pointer;
}

.decision-shell-tabs button:last-child {
  border-right: 0;
}

.decision-shell-tabs button.active {
  background: #edf8fd;
  color: #004a86;
  box-shadow: inset 0 3px #1689c5;
}

.decision-shell {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.decision-shell-hero {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid #d5e8f2;
  border-left: 4px solid #1689c5;
  background: #f7fbfe;
}

.decision-shell-hero small {
  color: #1689c5;
  font-size: 11px;
  font-weight: 800;
}

.decision-shell-hero strong {
  display: block;
  margin: 6px 0;
  font-size: 22px;
  color: #073f65;
}

.decision-shell-hero p {
  margin: 0;
  color: #6f8da1;
  font-size: 12px;
}

.decision-shell-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.decision-shell-routes span {
  padding: 6px 10px;
  border: 1px solid #cfe2ef;
  border-radius: 999px;
  color: #426c86;
  font-size: 12px;
  font-weight: 700;
}

/* 顶栏导航：按内容收缩，勿强行撑到 980px（宽屏会在品牌与导航间留出大空档）。
   数值与沙盘入口页（sandbox-entry-layout.css）统一：间距 .5rem、链接 1rem/14px。 */
.platform-global-nav {
  max-width: none;
  min-width: 0;
  flex: 0 0 auto;
  overflow-x: auto;
  gap: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.platform-global-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 1rem;
  font-size: 0.875rem;
}

@media (max-width: 1100px) {
  .map-shell,
  .qa-shell,
  .business-shell,
  .decision-shell {
    grid-template-columns: 1fr;
  }
}

/* 左下角一张图例卡（色标 + 圆点说明），右下角只留南海诸岛附图，两者不互相避让。 */
.map-reference-panel { position:absolute; right:12px; bottom:12px; z-index:5; display:flex; flex-direction:column; align-items:stretch; gap:8px; width:152px; max-height:calc(100% - 24px); pointer-events:none; }
.map-reference-panel .map-shell-inset { position:relative; inset:auto; align-self:center; flex:none; box-sizing:border-box; box-shadow:none; }
.map-reference-panel .map-shell-inset-title { font-size:11px; padding:3px 0; }
.map-legend-card { position:absolute; left:12px; bottom:12px; z-index:5; width:186px; margin:0; padding:9px 11px 10px; border:1px solid #c8dfeb; border-radius:8px; background:rgba(255,255,255,.95); box-shadow:0 2px 10px #1e465f12; pointer-events:none; }
.map-legend-card figcaption { display:flex; align-items:baseline; gap:1px; color:#0f3f5c; font-size:10px; line-height:1.3; }
.map-legend-card figcaption b { font-weight:800; }
.map-legend-card figcaption span { color:#4c7289; font-weight:600; }
.map-legend-bar { display:grid; height:9px; margin:7px 0 4px; overflow:hidden; border:1px solid #c5dde9; border-radius:999px; }
.map-legend-bar i { display:block; }
.map-legend-ends { display:flex; justify-content:space-between; color:#5a7e94; font-size:9px; font-weight:700; }
.map-legend-dots { margin:8px 0 0; padding-top:7px; border-top:1px dashed #d9e8f1; color:#0f766e; font-size:9px; font-weight:700; line-height:1.35; }
/* 边界图例已下线，仅在边界图层加载失败时留一个重试入口 */
.map-boundary-retry { pointer-events:auto; align-self:flex-end; cursor:pointer; font-size:9px; line-height:1.4; padding:4px 8px; border-radius:5px; border:1px solid #e6c9b8; background:#fdf2ec; color:#b4471f; }
@media(max-width:620px) { .map-reference-panel { right:8px; bottom:8px; width:112px; gap:7px; }.map-reference-panel .map-shell-inset { max-width:112px; }.map-legend-card { left:8px; bottom:8px; width:158px; padding:8px 9px; } }


@media(max-width:620px) {
  .map-reference-panel { position:relative; right:auto; bottom:auto; width:auto; display:flex; justify-content:flex-end; align-items:flex-start; gap:10px; margin:12px; max-height:none; }
  .map-legend-card { position:relative; left:auto; bottom:auto; width:auto; max-width:220px; margin:12px 12px 0; padding:8px 10px; }
  .map-legend-card figcaption { font-size:9px; }
  .energy-map-with-clusters .twin-map-clock { top:66px; left:12px; padding:7px 12px; font-size:20px; }
}

/*!******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/swarm.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************/
/* 群体世界推演样例页 /swarm — 不改动主顶栏导航 */

.swarm-page {
  max-width: 1560px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

.swarm-pack-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 14px;
}

.swarm-pack-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  padding: 12px;
  border: 1px solid #b9deef;
  background: #fff;
  cursor: pointer;
  min-height: 118px;
}

.swarm-pack-card:hover {
  border-color: #0f766e;
}

.swarm-pack-card.active {
  border-color: #0f766e;
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px #0f766e;
}

.swarm-pack-card strong {
  color: #0f3d55;
  font-size: 14px;
}

.swarm-pack-card span {
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.4;
}

.swarm-pack-card em {
  margin-top: auto;
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.swarm-pack-meta {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-pack-meta > p {
  margin: 0 0 6px;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-pack-meta ul {
  margin: 0 0 8px;
  padding-left: 16px;
  color: #4a6a7c;
  font-size: 12px;
}

.swarm-pack-actions {
  margin-top: 8px;
}

.swarm-demo-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #fbbf24;
  background: #fffbeb;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
}

.swarm-pack-rules {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #b9deef;
  background: #f8fcff;
}

.swarm-pack-rules h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #0f3d55;
}

.swarm-pack-rules ul {
  margin: 0;
  padding-left: 16px;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-pack-rules p {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.swarm-score-card {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.swarm-score-card.ok {
  border-color: #86efac;
  background: #f0fdf4;
}

.swarm-score-card strong {
  display: block;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-score-card p {
  margin: 4px 0 6px;
  font-size: 12px;
}

.swarm-score-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.swarm-score-card li {
  font-size: 12px;
  line-height: 1.45;
}

.swarm-score-card li.ok {
  color: #166534;
}

.swarm-score-card li.bad {
  color: #991b1b;
}

.swarm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #b9deef;
  background: linear-gradient(135deg, #f4fbff 0%, #fff 55%, #f7faf8 100%);
}

.swarm-hero small {
  display: block;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.swarm-hero h1 {
  margin: 4px 0 6px;
  font-size: 26px;
  color: #0f3d55;
}

.swarm-hero p {
  margin: 0;
  max-width: 720px;
  color: #4a6a7c;
  font-size: 13px;
  line-height: 1.55;
}

.swarm-hero a {
  color: #0f766e;
  font-weight: 700;
}

.swarm-hero-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.swarm-hero-linkish,
.swarm-settings-btn {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swarm-settings-btn:hover,
.swarm-hero-linkish:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdf9;
}

.swarm-hero-meta > span {
  padding: 6px 10px;
  border: 1px solid #c5d9e6;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.swarm-hero-meta > span.ok {
  border-color: #86efac;
  color: #166534;
  background: #f0fdf4;
}

.swarm-hero-meta > span.bad {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.swarm-hero-meta nav a {
  color: #0879bd;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.swarm-page-tri {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 56px);
  max-width: none;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.swarm-hero-compact {
  flex: none;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.swarm-hero-compact h1 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
}

.swarm-hero-compact h1 em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  padding: 2px 8px;
  border: 1px solid #99f6e4;
  background: #ecfdf5;
}

.swarm-tri {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-template-rows: minmax(0, 2fr) minmax(200px, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.swarm-cell-graph {
  grid-column: 1;
  grid-row: 1;
}

.swarm-cell-right {
  grid-column: 2;
  grid-row: 1;
}

.swarm-cell-ops {
  grid-column: 1 / -1;
  grid-row: 2;
}

.swarm-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1.1fr) minmax(300px, 0.95fr);
  grid-gap: 12px;
  gap: 12px;
  min-height: calc(100vh - 200px);
}

.swarm-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #b9deef;
  background: #fff;
  overflow: hidden;
}

.swarm-panel-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #dceaf2;
}

.swarm-panel-head small {
  display: block;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.swarm-panel-head h2 {
  margin: 2px 0 0;
  font-size: 16px;
  color: #0f3d55;
}

.swarm-panel-head > span {
  color: #7b95a6;
  font-size: 12px;
  white-space: nowrap;
}

.swarm-controls {
  padding: 14px;
  gap: 10px;
  overflow: auto;
}

.swarm-controls h2 {
  margin: 0;
  font-size: 15px;
  color: #0f3d55;
}

.swarm-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4a6a7c;
  font-size: 12px;
  font-weight: 700;
}

.swarm-controls input,
.swarm-controls textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  background: #f8fcff;
  color: #164f72;
  font: inherit;
  font-weight: 500;
  padding: 8px 10px;
  resize: vertical;
}

.swarm-controls input {
  height: 36px;
}

.swarm-actions {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.swarm-actions button {
  height: 36px;
  border: 1px solid #8ec3e0;
  background: #fff;
  color: #0879bd;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-actions button.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.swarm-actions button:disabled {
  opacity: 0.55;
  cursor: default;
}

.swarm-error {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-steps {
  margin: 4px 0 0;
  padding-left: 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

.swarm-steps li.active {
  color: #0f766e;
  font-weight: 700;
}

.swarm-steps li.done {
  color: #166534;
}

.swarm-graph-panel {
  overflow: hidden;
}

.swarm-summary {
  flex: none;
  margin: 0;
  padding: 8px 14px;
  border-bottom: 1px solid #e8f1f7;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-graph-host {
  flex: 1 1;
  min-height: 0;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.swarm-graph-host.is-filtering {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(245, 158, 11, 0.08), transparent 45%),
    #fff;
}

.swarm-period-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.swarm-period-filters button {
  height: 26px;
  padding: 0 8px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0f3d55;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-period-filters button.on {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #b45309;
}

.swarm-seed-board {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-seed-board-run {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(90% 70% at 50% 18%, rgba(186, 230, 253, 0.35), transparent 62%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 48%);
}

.swarm-seed-board-run > * {
  width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
}

.swarm-seed-board-run .swarm-seed-body {
  flex: 1 1 auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.swarm-seed-board-run .swarm-seed-body textarea {
  flex: 1 1 auto;
  min-height: 180px;
  resize: vertical;
}

.swarm-seed-board-run .swarm-hint {
  text-align: center;
  margin: 6px auto 10px;
  max-width: 36em;
}

.swarm-seed-board-run .swarm-actions-row {
  margin-top: 4px;
  justify-content: center;
}

.swarm-seed-run-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-seed-run-meta strong {
  color: #0f3d55;
  font-size: 18px;
  line-height: 1.25;
}

.swarm-seed-run-meta span {
  color: #7b95a6;
  font-size: 12px;
}

.swarm-page-tri.is-lobby {
  overflow: auto;
}

.swarm-lobby {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  grid-gap: 12px;
  gap: 12px;
}

.swarm-lobby-main,
.swarm-lobby-side {
  min-width: 0;
  border: 1px solid #b9deef;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.swarm-lobby-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-lobby-head small {
  color: #7b95a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.swarm-lobby-head h2 {
  margin: 4px 0 6px;
  color: #0f3d55;
  font-size: 20px;
}

.swarm-lobby-head p {
  margin: 0;
  max-width: 52ch;
  color: #5d7f98;
  font-size: 13px;
  line-height: 1.5;
}

.swarm-lobby-head > span {
  flex: none;
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid #c5d9e6;
  background: #f8fcff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.swarm-lobby-head > span.ok {
  border-color: #86efac;
  color: #166534;
  background: #f0fdf4;
}

.swarm-lobby-head > span.bad {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.swarm-lobby-lab-continue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 16px 12px;
  padding: 14px 16px;
  border: 1px solid #b7d4e8;
  background: linear-gradient(120deg, #f3f9fd 0%, #eef7f2 100%);
}

.swarm-lobby-lab-continue strong {
  display: block;
  color: #0f3d55;
  font-size: 15px;
}

.swarm-lobby-lab-continue p {
  margin: 4px 0 0;
  max-width: 58ch;
  color: #4b6b82;
  font-size: 13px;
  line-height: 1.45;
}

.swarm-lobby-lab-continue em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.swarm-lobby-lab-continue > button {
  flex: none;
  white-space: nowrap;
}

.swarm-lobby-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8f1f7;
  background: #f7fbfe;
}

.swarm-lobby-customs {
  padding: 8px 16px 10px;
  border-bottom: 1px solid #e8f1f7;
  background: #fff;
}

.swarm-lobby-customs > header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.swarm-lobby-customs > header strong {
  color: #0f3d55;
  font-size: 12px;
}

.swarm-lobby-customs > header span {
  color: #7b95a6;
  font-size: 11px;
}

.swarm-lobby-customs-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swarm-lobby-custom-chip {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dceaf2;
  background: #f8fcff;
}

.swarm-lobby-custom-chip.on {
  border-color: #0f766e;
  background: #ecfdf5;
}

.swarm-lobby-custom-chip > button:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.swarm-lobby-custom-chip strong {
  color: #0f3d55;
  font-size: 12px;
}

.swarm-lobby-custom-chip em {
  font-style: normal;
  color: #7b95a6;
  font-size: 10px;
}

.swarm-lobby-custom-del {
  width: 28px;
  border: 0;
  border-left: 1px solid #e2eef5;
  background: transparent;
  color: #b91c1c;
  font-size: 14px;
  cursor: pointer;
}

.swarm-lobby-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.swarm-lobby-upload > button {
  height: 30px;
  padding: 0 12px;
  border: 1px dashed #0f766e;
  background: #f0fdf9;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-lobby-files {
  color: #3c728e;
  font-size: 11px;
  line-height: 1.35;
}

.swarm-lobby-upload-hint {
  margin: 0;
  color: #0f766e;
  font-size: 12px;
}

.swarm-lobby-packs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 88px;
  padding: 10px;
  border: 1px solid #b9deef;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.swarm-lobby-packs button.on {
  border-color: #0f766e;
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px #0f766e;
}

.swarm-lobby-packs strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-lobby-packs span {
  color: #4a6a7c;
  font-size: 11px;
  line-height: 1.35;
}

.swarm-lobby-packs em {
  margin-top: auto;
  font-style: normal;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
}

.swarm-lobby-form {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.swarm-lobby-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #4a6a7c;
}

.swarm-lobby-form input,
.swarm-lobby-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  background: #f8fcff;
  padding: 8px 10px;
  font: inherit;
  font-weight: 500;
  color: #164f72;
}

.swarm-lobby-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.swarm-lobby-form-row label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.swarm-lobby-form-row input {
  width: 64px;
}

.swarm-lobby-side > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-lobby-side h3 {
  margin: 0;
  color: #0f3d55;
  font-size: 15px;
}

.swarm-linkish {
  border: 0;
  background: transparent;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-task-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  overflow: auto;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swarm-task-list > li > button,
.swarm-task-list-dense > li > button:first-child {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px;
  border: 1px solid #e2eef5;
  background: #fafcfd;
  text-align: left;
  cursor: pointer;
}

.swarm-task-list > li > button:hover,
.swarm-task-list-dense > li > button:first-child:hover {
  border-color: #0f766e;
  background: #f0fdf9;
}

.swarm-task-list strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-task-list span {
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.35;
}

.swarm-task-list em,
.swarm-task-list time {
  font-style: normal;
  color: #7b95a6;
  font-size: 11px;
}

.swarm-task-list-dense > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 6px;
  gap: 6px;
  align-items: stretch;
}

.swarm-task-list-dense > li.is-active > button:first-child {
  border-color: #0f766e;
  background: #ecfdf5;
}

.swarm-task-del {
  width: 36px;
  border: 1px solid #fecaca;
  background: #fff;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 61, 85, 0.28);
  display: flex;
  justify-content: flex-end;
}

.swarm-settings-panel {
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid #b9deef;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(15, 61, 85, 0.08);
}

.swarm-settings-panel > header {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-settings-panel > header small {
  color: #7b95a6;
  font-size: 11px;
  font-weight: 700;
}

.swarm-settings-panel > header h2 {
  margin: 4px 0 0;
  color: #0f3d55;
  font-size: 18px;
}

.swarm-settings-panel > header > button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-settings-block {
  padding: 14px 16px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-settings-block h3 {
  margin: 0 0 8px;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-settings-block label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #4a6a7c;
}

.swarm-settings-block input {
  height: 34px;
  border: 1px solid #bdd9e8;
  padding: 0 10px;
  font: inherit;
  font-weight: 500;
}

.swarm-settings-block .swarm-task-list {
  max-height: 42vh;
  padding: 0;
}

.swarm-settings-foot {
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid #e8f1f7;
}

.swarm-settings-foot a {
  color: #0879bd;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 960px) {
  .swarm-lobby {
    grid-template-columns: 1fr;
  }
}

.swarm-seed-board label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #4a6a7c;
}

.swarm-seed-board input,
.swarm-seed-board textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  background: #f8fcff;
  padding: 8px;
  font: inherit;
  font-weight: 500;
  color: #164f72;
}

.swarm-pack-rail-inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
}

.swarm-pack-rail-inline .swarm-pack-card {
  min-height: 72px;
  padding: 8px;
}

.swarm-pack-rail-inline .swarm-pack-card em {
  display: none;
}

.swarm-right-tabs {
  flex: none;
  display: flex;
  gap: 0;
  padding: 0 10px;
  border-bottom: 1px solid #dceaf2;
  background: #f7fbfe;
}

.swarm-right-tabs button {
  position: relative;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: #5d7f98;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swarm-right-tabs button em {
  font-style: normal;
  min-width: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: #e2eef5;
  color: #3c728e;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.swarm-right-tabs button.on {
  color: #0f766e;
  border-bottom-color: #0f766e;
}

.swarm-right-tabs button.on em {
  background: #d1fae5;
  color: #0f766e;
}

/* —— 调研报告 Tab —— */
.swarm-survey-reports {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px 14px;
  min-height: 0;
}

.swarm-survey-index {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 120px;
  overflow: auto;
}

.swarm-survey-index button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #dceaf2;
  border-radius: 10px;
  background: #f8fcff;
  text-align: left;
  cursor: pointer;
}

.swarm-survey-index button.on {
  border-color: #99f6e4;
  background: #ecfdf5;
}

.swarm-survey-index strong {
  font-size: 12px;
  color: #0f3d55;
  line-height: 1.35;
}

.swarm-survey-index em {
  font-style: normal;
  font-size: 10px;
  color: #7b95a6;
}

.swarm-survey-card {
  border: 1px solid #c5e4d8;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0fdf8, #fff 40%);
  padding: 12px;
}

.swarm-survey-card > header small {
  display: block;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.swarm-survey-card > header h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  color: #0f3d55;
}

.swarm-survey-q {
  margin: 0;
  color: #3c728e;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-survey-summary,
.swarm-survey-tallies,
.swarm-survey-people {
  margin-top: 12px;
}

.swarm-survey-summary > em,
.swarm-survey-tallies > em,
.swarm-survey-people > em {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #0f766e;
}

.swarm-survey-summary p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.swarm-survey-tallies ul,
.swarm-survey-people ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-survey-tally-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.swarm-survey-tally-meta strong {
  color: #0f3d55;
}

.swarm-survey-tally-meta span {
  color: #64748b;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.swarm-survey-bar {
  margin-top: 4px;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.swarm-survey-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #0f766e);
}

.swarm-survey-tallies li > p {
  margin: 4px 0 0;
  color: #7b95a6;
  font-size: 11px;
}

.swarm-survey-people li {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.swarm-survey-people li > header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.swarm-survey-people li > header strong {
  font-size: 12px;
  color: #0f3d55;
}

.swarm-survey-people li > header b {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
}

.swarm-survey-stance {
  margin: 0 0 4px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
}

.swarm-survey-people li > p:last-child {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-survey-method {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}

.swarm-right-scroll {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 0 10px 10px;
}

.swarm-tl-axis {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-tl-axis button {
  position: relative;
  flex: none;
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dceaf2;
  border-radius: 999px;
  background: #fff;
  color: #3c728e;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.swarm-tl-axis button::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 6px;
  height: 2px;
  background: #c5d8e4;
  transform: translateY(-50%);
}

.swarm-tl-axis button:last-child::after {
  display: none;
}

.swarm-tl-axis button i {
  margin-left: 4px;
  font-style: normal;
  font-size: 9px;
  color: #b45309;
}

.swarm-tl-axis button[data-status="committed"] i {
  color: #0f766e;
}

.swarm-tl-axis button[data-status="reality"] i {
  color: #166534;
}

.swarm-tl-axis button[data-status="stale"] i {
  color: #c2410c;
}

.swarm-tl-axis button.on {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f766e;
}

.swarm-tl-digest {
  flex: none;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.swarm-tl-digest[data-status="draft"] {
  border-color: #fde68a;
  background: #fffbeb;
}

.swarm-tl-digest[data-status="committed"] {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.swarm-tl-digest[data-status="reality"] {
  border-color: #86efac;
  background: #f0fdf4;
}

.swarm-tl-digest[data-status="stale"] {
  border-color: #fdba74;
  background: #fff7ed;
}

.swarm-tl-digest header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 4px;
}

.swarm-tl-digest em {
  font-style: normal;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.swarm-tl-digest strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-tl-digest p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.swarm-timeline-empty {
  list-style: none;
  padding: 8px 0;
  color: #94a3b8;
  font-size: 12px;
}

.swarm-timeline-compact {
  max-height: none;
}

.swarm-timeline li.is-hot {
  border-color: #f59e0b;
  background: #fffbeb;
}

.swarm-entity-card-mini {
  flex: none;
  margin: 0;
  border-top: 1px solid #e8f1f7;
}

.swarm-ops-tabs {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid #dceaf2;
}

.swarm-ops-tabs button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-ops-tabs button:first-of-type.on {
  border-color: #0b6fa4;
  background: #e8f6fd;
  color: #0b6fa4;
}

.swarm-ops-tabs button:nth-of-type(2).on {
  border-color: #6d28d9;
  background: #f3e8ff;
  color: #6d28d9;
}

.swarm-ops-tabs button:disabled {
  opacity: 0.45;
  cursor: default;
}

.swarm-ops-meta {
  margin-left: auto;
  font-size: 11px;
  color: #7b95a6;
}

.swarm-ops-setup,
.swarm-ops-loop {
  flex: 1 1;
  min-height: 0;
  overflow: hidden;
  padding: 6px 10px 8px;
  display: flex;
  flex-direction: column;
}

.swarm-ops-guide {
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swarm-ops-guide-bar {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.swarm-ops-guide-lead {
  margin: 0;
  flex: 1 1;
  min-width: 0;
  color: #5d7f98;
  font-size: 12px;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.swarm-loop-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.swarm-loop-chip-big {
  color: #0b6fa4;
  background: #e8f6fd;
  border: 1px solid #9fd3ef;
}

.swarm-loop-chip-small {
  color: #6d28d9;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.swarm-loop-sep {
  color: #94a3b8;
  font-weight: 700;
}

.swarm-ops-docs-toggle {
  flex: none;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #b9deef;
  background: #f8fcff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-ops-docs {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 8px 2px 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.swarm-ops-docs-card {
  flex: 0 0 min(240px, 70vw);
  padding: 8px 10px;
  border: 1px solid #dceaf2;
  background: #f7fbfe;
}

.swarm-ops-docs strong {
  display: block;
  margin-bottom: 4px;
  color: #0f3d55;
  font-size: 12px;
}

.swarm-ops-docs p {
  margin: 0;
  color: #4a6a7c;
  font-size: 11px;
  line-height: 1.45;
}

.swarm-ops-steps {
  list-style: none;
  margin: 0;
  padding: 2px 2px 6px;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.swarm-ops-steps > li[data-state] {
  flex: 1 0 min(260px, 72vw);
  max-width: 420px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e2eef5;
  border-top: 3px solid #cbd5e1;
  background: #fafcfd;
}

.swarm-ops-steps > li[data-loop="big"] {
  border-top-color: #178dca;
  background: linear-gradient(180deg, #f3faff 0%, #fafcfd 48%);
}

.swarm-ops-steps > li[data-loop="small"] {
  border-top-color: #7c3aed;
  background: linear-gradient(180deg, #faf5ff 0%, #fafcfd 48%);
}

.swarm-ops-steps > li[data-loop="big"][data-state="active"] {
  border-top-color: #0b6fa4;
  background: #eef8ff;
  box-shadow: inset 0 0 0 1px #b9deef;
}

.swarm-ops-steps > li[data-loop="small"][data-state="active"] {
  border-top-color: #6d28d9;
  background: #f6f0ff;
  box-shadow: inset 0 0 0 1px #e9d5ff;
}

.swarm-ops-steps > li[data-state="done"] {
  opacity: 0.92;
}

.swarm-ops-step-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  color: #94a3b8;
  font-size: 16px;
  font-weight: 700;
  align-self: center;
}

.swarm-ops-steps > li > header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swarm-ops-steps > li > header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.swarm-ops-steps > li > header strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-ops-steps > li > header em {
  font-style: normal;
  color: #7b95a6;
  font-size: 11px;
  font-weight: 700;
}

.swarm-ops-steps > li[data-state="active"] > header em {
  color: #0f766e;
}

.swarm-ops-steps > li[data-state="done"] > header em {
  color: #166534;
}

.swarm-ops-step-no {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e2eef5;
  color: #3c728e;
  font-size: 11px;
  font-weight: 800;
}

.swarm-ops-steps > li[data-state="active"] .swarm-ops-step-no {
  background: #0f766e;
  color: #fff;
}

.swarm-ops-steps > li[data-state="done"] .swarm-ops-step-no {
  background: #16a34a;
  color: #fff;
}

.swarm-ops-steps > li > p {
  margin: 0;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swarm-ops-step-ok {
  margin: 0 !important;
  color: #166534 !important;
  -webkit-line-clamp: 1 !important;
}

.swarm-ops-steps .swarm-actions-row {
  margin-top: auto;
}

.swarm-ops-steps .swarm-ops-inline-fields {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.swarm-ops-steps .swarm-ops-inline-fields label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: #5d7f98;
}

.swarm-ops-steps .swarm-ops-inline-fields input {
  width: 52px;
  height: 26px;
  padding: 0 6px;
}

.swarm-ops-guide-foot {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
}

.swarm-ops-guide-foot button {
  white-space: nowrap;
}

.swarm-ops-loop-row {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  grid-gap: 10px;
  gap: 10px;
  align-items: stretch;
  transition: grid-template-columns 0.22s ease;
}

.swarm-ops-loop-row.is-log-collapsed {
  grid-template-columns: minmax(0, 1fr) 40px;
}

.swarm-loop-toolbar {
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px 2px;
  overflow: auto;
}

/* —— 小循环：模拟引擎日志 —— */
.swarm-engine-log {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #c7dbe8;
  border-radius: 12px;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #e2e8f0;
  overflow: hidden;
}

.swarm-engine-log.is-collapsed {
  background: #0f172a;
}

.swarm-engine-log-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: transparent;
}

.swarm-engine-log.is-collapsed .swarm-engine-log-head {
  flex-direction: column;
  border-bottom: none;
  height: 100%;
  padding: 10px 4px;
  gap: 10px;
}

.swarm-engine-log-toggle {
  flex: none;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.swarm-engine-log-toggle:hover {
  background: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
  border-color: rgba(226, 232, 240, 0.4);
}

.swarm-engine-log-title {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  pointer-events: none;
}

.swarm-engine-log-title strong {
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
}

.swarm-engine-log-title em {
  font-style: normal;
  font-size: 10px;
  color: #94a3b8;
}

.swarm-engine-log-vertical {
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  pointer-events: none;
}

.swarm-engine-log-clear {
  flex: none;
  height: 24px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.swarm-engine-log-clear:hover {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.45);
}

.swarm-engine-log-list {
  flex: 1 1;
  min-height: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}

.swarm-engine-log-list > li {
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.72);
}

.swarm-engine-log-list > li[data-kind="turn"] {
  border-color: rgba(56, 189, 248, 0.35);
}

.swarm-engine-log-list > li[data-kind="tool"] {
  border-color: rgba(52, 211, 153, 0.35);
}

.swarm-engine-log-list > li[data-kind="payoff"] {
  border-color: rgba(251, 191, 36, 0.4);
}

.swarm-engine-log-list > li[data-kind="publish"] {
  border-color: rgba(167, 139, 250, 0.4);
}

.swarm-engine-log-list > li[data-kind="match"] {
  border-color: rgba(244, 114, 182, 0.4);
}

.swarm-engine-log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 10px;
  color: #94a3b8;
}

.swarm-engine-log-meta em {
  font-style: normal;
  font-weight: 800;
  color: #7dd3fc;
}

.swarm-engine-log-meta code {
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  font-size: 10px;
}

.swarm-engine-log-meta b {
  font-weight: 700;
  color: #c4b5fd;
}

.swarm-engine-log-list strong {
  display: block;
  font-size: 12px;
  color: #f1f5f9;
  line-height: 1.35;
}

.swarm-engine-log-list p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-engine-log-empty {
  margin: 0;
  padding: 14px 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-loop-toolbar-top {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.swarm-loop-toolbar-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.swarm-loop-toolbar-title strong {
  color: #0f3d55;
  font-size: 14px;
}

.swarm-loop-toolbar-title em {
  color: #7b95a6;
  font-style: normal;
  font-size: 12px;
}

.swarm-loop-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swarm-loop-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0879bd;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.swarm-loop-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.swarm-loop-btn.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.swarm-loop-btn.accent {
  border-color: #6d28d9;
  background: #f3e8ff;
  color: #6d28d9;
}

.swarm-loop-btn.apply {
  flex: none;
  align-self: stretch;
  min-width: 88px;
  border-color: #0ea5e9;
  background: #e0f2fe;
  color: #0369a1;
}

.swarm-loop-director {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-gap: 8px;
  gap: 8px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid #dceaf2;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbfe, #fff);
}

.swarm-loop-director-modes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swarm-loop-director-modes button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #5d7f98;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.swarm-loop-director-modes button.on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.swarm-loop-director-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-reality-period-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: #5d7f98;
  font-size: 12px;
  font-weight: 700;
}

.swarm-reality-period-pick button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid #dceaf2;
  border-radius: 8px;
  background: #fff;
  color: #3c728e;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.swarm-reality-period-pick button.on {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.swarm-reality-stale-hint {
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.4;
}

.swarm-loop-director-input {
  width: 100%;
  min-height: 60px;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  border-radius: 10px;
  padding: 8px 10px;
  resize: vertical;
  background: #fff;
  color: #0f3d55;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.swarm-loop-director-attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.swarm-loop-secondary {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.swarm-loop-chip-btn {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #dceaf2;
  border-radius: 999px;
  background: #fff;
  color: #3c728e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.swarm-loop-chip-btn.on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.swarm-loop-chip-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.swarm-loop-secondary-hint {
  color: #7b95a6;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .swarm-ops-loop-row,
  .swarm-ops-loop-row.is-log-collapsed {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(160px, 42%);
  }

  .swarm-engine-log.is-collapsed {
    min-height: 40px;
  }

  .swarm-engine-log.is-collapsed .swarm-engine-log-head {
    flex-direction: row;
    height: auto;
    padding: 8px 10px;
  }

  .swarm-engine-log-vertical {
    writing-mode: horizontal-tb;
  }

  .swarm-loop-director {
    grid-template-columns: 1fr;
  }

  .swarm-loop-director-modes {
    flex-direction: row;
  }

  .swarm-loop-btn.apply {
    width: 100%;
    height: 34px;
  }
}

.swarm-ops-loop .swarm-period-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.swarm-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swarm-actions-row button {
  flex: 0 0 auto;
  padding: 0 12px;
  width: auto;
  min-width: 120px;
}

.swarm-ops-inline-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.swarm-ops-inline-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #4a6a7c;
}

.swarm-ops-inline-fields input {
  width: 88px;
  height: 32px;
  border: 1px solid #bdd9e8;
  padding: 0 8px;
}

.swarm-ops-seed-mini {
  flex: 1 1;
  min-width: 220px;
}

.swarm-ops-seed-mini textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdd9e8;
  padding: 6px 8px;
  font: inherit;
}

.swarm-steps-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.swarm-steps-inline li {
  position: relative;
  padding-left: 14px;
}

.swarm-steps-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.swarm-steps-inline li.active::before {
  background: #0f766e;
}

.swarm-steps-inline li.done::before {
  background: #16a34a;
}

.swarm-plaza {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 12px 12px;
}

.swarm-plaza ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-plaza li {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 12px;
}

.swarm-plaza li[data-kind="interview"],
.swarm-plaza li[data-kind="survey"] {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.swarm-plaza li[data-kind="commit"] {
  border-color: #99f6e4;
  background: #ecfdf5;
}

.swarm-plaza li[data-kind="negotiate"] {
  border-color: #fde68a;
  background: #fffbeb;
}

.swarm-plaza-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
  color: #64748b;
  font-size: 11px;
}

.swarm-plaza-meta em {
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f766e;
}

.swarm-plaza strong {
  display: block;
  color: #0f3d55;
}

.swarm-plaza p {
  margin: 4px 0 0;
  white-space: pre-wrap;
  color: #475569;
  line-height: 1.45;
}

.swarm-cell-graph.is-loop-arena {
  border-color: #99f6e4;
}

.swarm-loop-arena {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-gap: 0;
  gap: 0;
  transition: grid-template-columns 0.28s ease;
}

.swarm-loop-arena.is-phone-folded {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.swarm-loop-graph-pane,
.swarm-graph-stage {
  position: relative;
  flex: 1 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swarm-loop-graph-pane {
  border-right: 1px solid #dceaf2;
}

.swarm-loop-graph-pane .swarm-graph-host,
.swarm-graph-stage .swarm-graph-host {
  flex: 1 1;
  min-height: 220px;
  width: 100%;
}

/* 构筑中必须占满左上格，否则 flex 子项高度会塌成 0，看起来像「没有节点」 */
.swarm-cell-graph > .swarm-graph-stage {
  flex: 1 1;
}

.swarm-graph-inspector {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  width: min(340px, calc(100% - 20px));
  max-height: min(52%, 360px);
  display: flex;
  flex-direction: column;
  border: 1px solid #b9deef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(15, 61, 85, 0.14);
  overflow: hidden;
}

.swarm-graph-inspector-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #e8f1f7;
  background: #f7fbfe;
}

.swarm-graph-inspector-head strong {
  display: block;
  color: #0f3d55;
  font-size: 12px;
}

.swarm-graph-inspector-head span {
  color: #7b95a6;
  font-size: 11px;
  line-height: 1.35;
}

.swarm-graph-inspector-head > button {
  flex: none;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0879bd;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-graph-inspector-tabs {
  flex: none;
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  overflow-x: auto;
  border-bottom: 1px solid #eef5fa;
}

.swarm-graph-inspector-tabs button {
  flex: none;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #dceaf2;
  background: #fff;
  color: #3c728e;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swarm-graph-inspector-tabs button em {
  font-style: normal;
  min-width: 14px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 10px;
}

.swarm-graph-inspector-body {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-graph-inspector-card {
  padding: 8px;
  border: 1px solid #e2eef5;
  background: #fafcfd;
}

.swarm-graph-inspector-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.swarm-graph-inspector-card-main {
  min-width: 0;
  flex: 1 1;
}

.swarm-graph-inspector-card strong {
  display: block;
  color: #0f3d55;
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}

.swarm-graph-inspector-card > header span {
  display: block;
  margin-top: 2px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.swarm-graph-inspector-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.swarm-icon-btn {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid #b9deef;
  border-radius: 8px;
  background: #fff;
  color: #0879bd;
  cursor: pointer;
  line-height: 0;
}

.swarm-icon-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.swarm-icon-btn-chat {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.swarm-icon-btn-close {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #e11d48;
}

.swarm-inspector-text-btn {
  flex: none;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #b9deef;
  border-radius: 8px;
  background: #fff;
  color: #0879bd;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.swarm-graph-inspector-persona,
.swarm-graph-inspector-card > p {
  margin: 4px 0;
  color: #4a6a7c;
  font-size: 11px;
  line-height: 1.4;
}

.swarm-graph-inspector-card b {
  color: #0f3d55;
}

.swarm-graph-inspector-thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.swarm-bubble {
  padding: 6px 8px;
  border-left: 3px solid #94a3b8;
  background: #fff;
}

.swarm-bubble-iv {
  border-left-color: #2563eb;
  background: #eff6ff;
}

.swarm-bubble-sv {
  border-left-color: #7c3aed;
  background: #f5f3ff;
}

.swarm-bubble em {
  display: inline-block;
  margin-bottom: 2px;
  font-style: normal;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.swarm-bubble strong {
  display: block;
  color: #0f3d55;
  font-size: 11px;
  font-weight: 700;
}

.swarm-bubble p {
  margin: 3px 0 0;
  color: #334155;
  font-size: 11px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-graph-inspector-foot {
  flex: none;
  padding: 8px 10px;
  border-top: 1px solid #e8f1f7;
}

.swarm-inspector-survey-btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  height: auto;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.swarm-inspector-survey-btn span {
  display: inline-block;
  line-height: 1.2;
}

.swarm-inspector-survey-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.swarm-graph-dialog {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 8;
  width: min(380px, calc(100% - 24px));
  max-height: min(70%, 360px);
  transform: translateX(-50%);
  padding: 12px;
  border: 1px solid #b9deef;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 61, 85, 0.18);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.swarm-graph-dialog h3 {
  margin: 0 0 4px;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-graph-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 6px 0 10px;
  padding: 8px;
  border: 1px solid #bdd9e8;
  font: inherit;
  resize: vertical;
  min-height: 72px;
  max-height: 140px;
}

.swarm-graph-host.is-talkable {
  background:
    radial-gradient(ellipse at 40% 40%, rgba(37, 99, 235, 0.06), transparent 50%),
    #fff;
}

.swarm-graph-host.is-speaking {
  animation: swarm-speak-pulse 1.2s ease-in-out infinite;
}

@keyframes swarm-speak-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.15);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.35);
  }
}

.swarm-graph-ctx {
  position: absolute;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  max-width: min(220px, calc(100% - 16px));
  padding: 4px;
  border: 1px solid #94a3b8;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.swarm-graph-ctx button {
  height: 32px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #0f3d55;
  cursor: pointer;
}

.swarm-graph-ctx button:hover {
  background: #ecfdf5;
}

.swarm-like-count {
  color: #e11d48 !important;
  font-weight: 800;
  font-style: normal;
}

.swarm-tool-line {
  margin: 4px 0 0 !important;
  color: #1d4ed8 !important;
  font-size: 10px !important;
}

.swarm-plaza li[data-kind="match"] {
  border-color: #c4b5fd;
  background: #f5f3ff;
}

/* —— 虚拟手机：iPhone 质感 · 上帝视角 —— */
.swarm-phone {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 8px;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(186, 230, 253, 0.55), transparent 60%),
    linear-gradient(180deg, #e7f1f8 0%, #f3f6f9 100%);
  overflow: hidden;
}

.swarm-phone-fold-btn {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 3;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 61, 85, 0.08);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  color: #5d7f98;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.swarm-phone-fold-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #0f3d55;
  box-shadow:
    0 4px 12px rgba(15, 61, 85, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: translateX(1px);
}

.swarm-phone-fold-btn:active {
  transform: translateX(2px) scale(0.96);
}

.swarm-phone-fold-btn svg {
  display: block;
}

.swarm-phone-device {
  position: relative;
  width: 268px;
  max-width: 100%;
  height: min(100%, 560px);
  flex: 0 1 auto;
}

.swarm-phone-btn {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, #d5d8de, #9ea3ab);
  border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.35);
}

.swarm-phone-btn-silent {
  left: -2px;
  top: 92px;
  width: 3px;
  height: 22px;
}

.swarm-phone-btn-vol-up {
  left: -2px;
  top: 132px;
  width: 3px;
  height: 42px;
}

.swarm-phone-btn-vol-down {
  left: -2px;
  top: 182px;
  width: 3px;
  height: 42px;
}

.swarm-phone-btn-power {
  right: -2px;
  top: 150px;
  width: 3px;
  height: 64px;
}

.swarm-phone-shell {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  padding: 10px 9px 8px;
  background:
    linear-gradient(145deg, #f4f5f7 0%, #c8ccd3 18%, #8e949e 48%, #d7dae0 78%, #f7f8fa 100%);
  box-shadow:
    0 22px 48px rgba(15, 40, 60, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset;
  overflow: hidden;
}

.swarm-phone-status {
  position: relative;
  flex: none;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px 6px;
  color: #111827;
  font-size: 11px;
  font-weight: 700;
}

.swarm-phone-status > span:first-child {
  justify-self: start;
}

.swarm-phone-status-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #111827;
}

.swarm-phone-island {
  width: 86px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0b0d10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.swarm-phone-island i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3b82f6, #0f172a 70%);
}

.swarm-phone-island em {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #1f2937;
  font-style: normal;
}

.swarm-phone-screen {
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #f2f4f7;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.swarm-phone-dock {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 2px;
  gap: 2px;
  margin-top: 6px;
  padding: 2px 2px 0;
}

.swarm-phone-dock button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 1px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
}

.swarm-phone-dock button span {
  position: relative;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

.swarm-phone-dock button em {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.swarm-phone-dock button.on {
  color: #0f766e;
}

.swarm-phone-dock button.on span {
  background: #ccfbf1;
  color: #0f766e;
}

.swarm-phone-home-bar {
  flex: none;
  width: 98px;
  height: 4px;
  margin: 7px auto 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
}

.swarm-phone-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1.5px #fff;
}

.swarm-phone-badge-lg {
  position: static;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  box-shadow: none;
}

.swarm-phone-folded {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(180deg, #eef5fa, #e4eef6);
  justify-content: stretch;
  align-items: stretch;
}

.swarm-phone-folded-tab {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 4px;
  border: 0;
  border-left: 1px solid rgba(185, 222, 239, 0.7);
  background: transparent;
  color: #0f3d55;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease;
}

.swarm-phone-folded-tab:hover {
  background: rgba(255, 255, 255, 0.45);
}

.swarm-phone-folded-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 61, 85, 0.08);
  color: #5d7f98;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.swarm-phone-folded-tab strong {
  writing-mode: vertical-rl;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 800;
  color: #3c728e;
}

.swarm-phone-home {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 12px 12px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(125, 211, 252, 0.45), transparent 50%),
    radial-gradient(100% 70% at 90% 10%, rgba(167, 243, 208, 0.35), transparent 45%),
    linear-gradient(180deg, #e8f4ff 0%, #f5f7fa 55%, #eef2f6 100%);
}

.swarm-phone-home-hero {
  margin-bottom: 14px;
}

.swarm-phone-home-hero small {
  display: block;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.swarm-phone-home-hero strong {
  display: block;
  margin-top: 4px;
  color: #0f3d55;
  font-size: 18px;
  line-height: 1.2;
}

.swarm-phone-home-hero p {
  margin: 6px 0 0;
  color: #5d7f98;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-phone-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.swarm-phone-app-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid #dceaf2;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.swarm-phone-app-tile span {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.swarm-phone-app-tile em {
  font-style: normal;
  color: #0f3d55;
  font-size: 13px;
  font-weight: 800;
}

.swarm-phone-app-tile small {
  color: #7b95a6;
  font-size: 10px;
}

.swarm-phone-app-tile.is-public span { background: #0ea5e9; }
.swarm-phone-app-tile.is-dm span { background: #16a34a; }
.swarm-phone-app-tile.is-search span { background: #0f766e; }
.swarm-phone-app-tile.is-brief span { background: #b45309; }

.swarm-phone-app-pane {
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swarm-phone-app-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e8eef3;
  background: #fff;
}

.swarm-phone-app-bar small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.swarm-phone-app-bar strong {
  display: block;
  margin-top: 2px;
  color: #0f3d55;
  font-size: 14px;
  line-height: 1.2;
}

.swarm-phone-app-bar span {
  color: #7b95a6;
  font-size: 11px;
  font-weight: 700;
}

.swarm-phone-app-bar.is-public small { color: #0284c7; }
.swarm-phone-app-bar.is-dm small { color: #15803d; }
.swarm-phone-app-bar.is-search small { color: #0f766e; }
.swarm-phone-app-bar.is-brief small { color: #b45309; }

.swarm-phone-seg {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 4px;
  gap: 4px;
  margin: 8px 10px 0;
  padding: 3px;
  border-radius: 10px;
  background: #e8eef3;
}

.swarm-phone-seg button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5d7f98;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.swarm-phone-seg button i {
  font-style: normal;
  min-width: 14px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(15, 61, 85, 0.08);
  font-size: 9px;
}

.swarm-phone-seg button.on {
  background: #fff;
  color: #0f3d55;
  box-shadow: 0 1px 2px rgba(15, 40, 60, 0.08);
}

.swarm-phone-card.is-tweet {
  border-color: #dbeafe;
  background: #fff;
  border-radius: 16px;
}

.swarm-phone-card.is-doc {
  border: 1px solid #d6d3d1;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
  box-shadow: inset 3px 0 0 #b45309;
}

.swarm-phone-doc-stamp {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #b45309;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.swarm-phone-doc-stamp em {
  font-style: normal;
}

.swarm-phone-doc-stamp span {
  color: #78716c;
  font-weight: 600;
  letter-spacing: 0;
}

.swarm-phone-card.is-doc h4 {
  margin: 0 0 6px;
  color: #1c1917;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.swarm-phone-doc-meta {
  margin: 0 0 8px;
  color: #78716c;
  font-size: 10px;
  font-weight: 700;
}

.swarm-phone-doc-body {
  padding: 8px 10px;
  border: 1px dashed #d6d3d1;
  background: #fff;
  color: #44403c;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-phone-ch-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  vertical-align: middle;
}

.swarm-phone-ch-tag.is-casual {
  background: #dcfce7;
  color: #15803d;
}

.swarm-phone-ch-tag.is-formal {
  background: #ffedd5;
  color: #c2410c;
}

.swarm-phone-avatar.is-mail {
  background: #ffedd5;
  color: #c2410c;
  border-radius: 6px;
}

.swarm-phone-chat.is-mail-thread {
  background: #f5f5f4;
}

.swarm-phone-mail {
  margin: 0 2px 10px;
  padding: 10px;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}

.swarm-phone-mail header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e7e5e4;
}

.swarm-phone-mail header em {
  font-style: normal;
  color: #c2410c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.swarm-phone-mail header span {
  color: #78716c;
  font-size: 10px;
}

.swarm-phone-mail-line {
  margin: 0 0 4px;
  color: #44403c;
  font-size: 11px;
  line-height: 1.4;
}

.swarm-phone-mail-line b {
  color: #78716c;
  font-weight: 700;
  margin-right: 6px;
}

.swarm-phone-mail-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e7e5e4;
  color: #1c1917;
  font-size: 12px;
  line-height: 1.55;
}

.swarm-phone-mail-body p {
  margin: 0 0 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-phone-mail-body p:last-child {
  margin-bottom: 0;
}

.swarm-phone-back {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #dceaf2;
  border-radius: 999px;
  background: #fff;
  color: #0f3d55;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-phone-empty {
  margin: 18px 14px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-phone-feed {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-phone-feed li {
  padding: 10px;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #fff;
}

.swarm-phone-post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.swarm-phone-post-head > div {
  min-width: 0;
  flex: 1 1;
}

.swarm-phone-post-head strong {
  display: block;
  color: #0f3d55;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swarm-phone-post-head span {
  color: #7b95a6;
  font-size: 10px;
}

.swarm-phone-avatar {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.swarm-phone-avatar.is-dm {
  background: #dcfce7;
  color: #15803d;
}

.swarm-phone-avatar.is-search {
  background: #ccfbf1;
  color: #0f766e;
}

.swarm-phone-post-title {
  margin: 0 0 4px;
  color: #0f3d55;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.swarm-phone-post-body {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-phone-like {
  margin-top: 8px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff;
  color: #e11d48;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.swarm-phone-dm-list {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 6px 8px 10px;
}

.swarm-phone-dm-list li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid #eef3f7;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.swarm-phone-dm-list strong {
  display: block;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-phone-dm-list span {
  display: block;
  margin-top: 2px;
  color: #7b95a6;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swarm-phone-dm-list em {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.swarm-phone-chat {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(220, 252, 231, 0.35), transparent 120px),
    #f3f7f4;
}

.swarm-phone-chat-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swarm-phone-bubble {
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-phone-bubble em {
  display: block;
  margin-bottom: 3px;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.swarm-phone-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-phone-bubble.is-ask {
  align-self: flex-end;
  background: #dcfce7;
  color: #14532d;
  border-bottom-right-radius: 4px;
}

.swarm-phone-bubble.is-ask em {
  color: #15803d;
}

.swarm-phone-bubble.is-reply {
  align-self: flex-start;
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.swarm-phone-bubble.is-reply em {
  color: #64748b;
}

.swarm-phone-search-box {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 12px 0;
  color: #5d7f98;
  font-size: 11px;
  font-weight: 700;
}

.swarm-phone-search-box input {
  height: 34px;
  border: 1px solid #bdd9e8;
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: #0f3d55;
}

/* 公开 feed / 私信 / 世界线共用可滚动区 */
.swarm-phone-scroll {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.swarm-phone-brief {
  margin: 12px;
  padding: 12px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
}

.swarm-phone-brief-kicker {
  display: block;
  margin-bottom: 6px;
  color: #b45309;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.swarm-phone-brief h4 {
  margin: 0 0 6px;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-phone-brief p,
.swarm-phone-brief ul {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-phone-brief ul {
  margin-top: 8px;
  padding-left: 16px;
}

.swarm-loop-toolbar .swarm-actions button.on {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.swarm-loop-guidance input {
  height: 32px;
  border: 1px solid #bdd9e8;
  padding: 0 10px;
  font: inherit;
  font-weight: 500;
}

.swarm-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.35);
}

.swarm-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #b9deef;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.swarm-dialog h3 {
  margin: 0 0 6px;
  color: #0f3d55;
  font-size: 16px;
}

.swarm-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid #bdd9e8;
  font: inherit;
  resize: vertical;
}

.swarm-graph-host.is-weaving {
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(23, 141, 202, 0.06), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(15, 118, 110, 0.07), transparent 50%),
    #fff;
}

.swarm-graph-panel.is-weaving {
  border-color: #7dd3c0;
}

.swarm-weave-status {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  animation: swarm-weave-pulse 1.4s ease-in-out infinite;
}

@keyframes swarm-weave-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.swarm-entity-card.is-pop {
  border-top: 2px solid #fbbf24;
  background: #fffbeb;
  animation: swarm-card-pop 0.45s ease-out;
}

@keyframes swarm-card-pop {
  from {
    transform: translateY(6px);
    opacity: 0.4;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.swarm-entity-card {
  flex: none;
  margin: 0;
  padding: 10px 14px 14px;
  border-top: 1px solid #e8f1f7;
  background: #f8fcff;
}

.swarm-entity-card strong {
  display: block;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-entity-card > span {
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
}

.swarm-entity-card p {
  margin: 6px 0;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-entity-card ul {
  margin: 0;
  padding-left: 16px;
  color: #334155;
  font-size: 12px;
}

.swarm-timeline-panel {
  overflow: auto;
}

.swarm-empty {
  margin: 24px 14px;
  color: #7b95a6;
  font-size: 13px;
}

.swarm-narrative {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #e8f1f7;
  color: #334155;
  font-size: 12px;
  line-height: 1.55;
  background: #f8fcff;
}

.swarm-timeline {
  list-style: none;
  margin: 0;
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swarm-timeline > li {
  padding: 10px 12px;
  border-left: 3px solid #94a3b8;
  background: #fafcfd;
}

.swarm-timeline > li[data-kind="cognition"] {
  border-left-color: #178dca;
}

.swarm-timeline > li[data-kind="interaction"] {
  border-left-color: #19a69f;
}

.swarm-timeline > li[data-kind="shock"] {
  border-left-color: #ef9c2e;
}

.swarm-timeline > li[data-kind="equilibrium"] {
  border-left-color: #7859d7;
}

.swarm-tl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.swarm-tl-meta em {
  font-style: normal;
  color: #0f3d55;
  font-size: 11px;
  font-weight: 800;
}

.swarm-tl-meta span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.swarm-timeline strong {
  display: block;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-timeline p {
  margin: 4px 0 0;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.swarm-actors code,
.swarm-beliefs code {
  padding: 1px 6px;
  border: 1px solid #d0e4ef;
  background: #fff;
  color: #0f766e;
  font-size: 10px;
}

.swarm-beliefs {
  margin: 6px 0 0;
  padding-left: 14px;
  color: #475569;
  font-size: 11px;
  line-height: 1.45;
}

.swarm-states {
  padding: 0 14px 14px;
  border-top: 1px solid #e8f1f7;
}

.swarm-states h3,
.swarm-handoff h3,
.swarm-handoff h4 {
  margin: 12px 0 8px;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-state-grid {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.swarm-state-grid article {
  padding: 8px 10px;
  border: 1px solid #dceaf2;
  background: #fff;
}

.swarm-state-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #0f3d55;
  font-size: 12px;
}

.swarm-state-grid p {
  margin: 0 0 4px;
  color: #4a6a7c;
  font-size: 11px;
  line-height: 1.4;
}

.swarm-state-grid span {
  display: inline-block;
  min-width: 52px;
  color: #0f766e;
  font-weight: 700;
}

.swarm-handoff {
  margin-top: auto;
  padding: 12px 14px 16px;
  border-top: 1px solid #c5e4d8;
  background: #f0fdf8;
}

.swarm-handoff ul {
  margin: 0;
  padding-left: 16px;
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-handoff-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

/* —— 小循环：/game?from=swarm —— */
.game-play-shell.is-swarm-small {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

.swarm-small-loop {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swarm-small-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 16px;
  border: 1px solid #b9deef;
  background: linear-gradient(135deg, #f0fdf8, #fff 60%);
}

.swarm-small-hero small {
  display: block;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.swarm-small-hero h1 {
  margin: 4px 0 6px;
  font-size: 22px;
  color: #0f3d55;
}

.swarm-small-hero p {
  margin: 0;
  max-width: 720px;
  color: #4a6a7c;
  font-size: 13px;
  line-height: 1.5;
}

.swarm-small-hero code {
  font-size: 11px;
  color: #0f766e;
}

.swarm-small-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.swarm-small-hero-actions a,
.swarm-small-hero-actions button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #8ec3e0;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.swarm-small-hero-actions button.ghost {
  border-color: #cbd5e1;
  color: #64748b;
}

.swarm-small-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #c5e4d8;
  background: #f0fdf8;
}

.swarm-small-brief strong {
  display: block;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-small-brief p {
  margin: 4px 0 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-small-brief p.muted,
.swarm-small-loop .muted {
  color: #7b95a6;
}

.swarm-small-brief ul {
  margin: 0;
  padding-left: 16px;
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-small-missing {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #bdd9e8;
  color: #64748b;
  font-size: 13px;
}

.swarm-small-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border: 1px solid #b9deef;
  background: #fff;
}

.swarm-small-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a6a7c;
  font-size: 12px;
  font-weight: 700;
}

.swarm-small-toolbar input {
  width: 56px;
  height: 32px;
  border: 1px solid #bdd9e8;
  padding: 0 8px;
}

.swarm-small-toolbar button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #8ec3e0;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-small-toolbar button.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.swarm-small-toolbar button:disabled {
  opacity: 0.55;
  cursor: default;
}

.swarm-small-toolbar > span {
  margin-left: auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.swarm-small-toolbar > span.ok {
  color: #166534;
}

.swarm-small-toolbar > span.bad {
  color: #991b1b;
}

.swarm-small-seats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.swarm-seat {
  padding: 12px;
  border: 1px solid #b9deef;
  background: #fff;
  border-top-width: 3px;
}

.swarm-seat.grid {
  border-top-color: #178dca;
}

.swarm-seat.compute {
  border-top-color: #19a69f;
}

.swarm-seat.telco {
  border-top-color: #7859d7;
}

.swarm-seat header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.swarm-seat h2 {
  margin: 0;
  font-size: 15px;
  color: #0f3d55;
}

.swarm-seat header span {
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
}

.swarm-seat-brief,
.swarm-seat-note {
  margin: 0 0 8px;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.45;
  max-height: 96px;
  overflow: auto;
}

.swarm-seat-actions button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #8ec3e0;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.swarm-seat-actions button.gold {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f766e;
}

.swarm-small-desk {
  border: 1px solid #b9deef;
  background: #fff;
  overflow: auto;
}

.swarm-small-log {
  padding: 12px 14px;
  border: 1px solid #b9deef;
  background: #fff;
}

.swarm-small-log h3,
.swarm-small-log h4 {
  margin: 0 0 8px;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-small-log ol,
.swarm-small-log ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 12px;
  line-height: 1.55;
}

.swarm-trace {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e8f1f7;
}

.swarm-metrics-block {
  margin-top: 12px;
  padding: 12px 14px 16px;
  border-top: 1px solid #e8f1f7;
}

.swarm-metrics-block-tab {
  margin-top: 0;
  padding: 10px 4px 12px;
  border-top: 0;
}

.swarm-metrics-block-tab .swarm-metrics-host {
  height: min(280px, calc(100vh - 420px));
  min-height: 180px;
}

.swarm-metrics-block h3 {
  margin: 0 0 8px;
  color: #0f3d55;
  font-size: 14px;
}

.swarm-metrics-summary {
  margin: 0 0 8px;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-metrics-assumptions {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.swarm-mental {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8f1f7;
}

.swarm-mental-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.swarm-mental-head strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-mental-head span {
  color: #7b95a6;
  font-size: 11px;
}

.swarm-mental-empty {
  margin: 8px 0 0;
}

.swarm-mental-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swarm-mental-list > li {
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.swarm-mental-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin-bottom: 6px;
}

.swarm-mental-meta em {
  font-style: normal;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 10px;
  font-weight: 800;
}

.swarm-mental-meta strong {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-mental-formula {
  display: block;
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #e2e8f0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.swarm-mental-formula.is-fallback {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.swarm-mental-formula.is-katex {
  text-align: center;
}

.swarm-mental-formula.is-katex .katex {
  font-size: 1.12em;
  color: #f8fafc;
}

.swarm-mental-formula.is-katex .katex-display {
  margin: 0;
}

.swarm-mental-formula.is-inline {
  display: inline-block;
  margin: 0;
  padding: 0;
  background: transparent;
  vertical-align: baseline;
}

.swarm-mental-formula.is-inline .katex {
  font-size: 1em;
  color: #0f766e;
}

.swarm-mental-vars dt .swarm-mental-formula.is-fallback {
  padding: 0;
  background: transparent;
  color: #0f766e;
}

.swarm-mental-list p {
  margin: 0 0 6px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-mental-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.swarm-mental-actors span {
  padding: 2px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 10px;
  font-weight: 700;
}

.swarm-mental-vars {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 2px 8px;
  gap: 2px 8px;
  margin: 0;
}

.swarm-mental-vars > div {
  display: contents;
}

.swarm-mental-vars dt {
  color: #0f766e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.swarm-mental-vars dd {
  margin: 0;
  color: #64748b;
  font-size: 11px;
}

.swarm-metrics-host {
  width: 100%;
  height: 260px;
  margin: 8px 0;
  border: 1px solid #e2eef5;
  background: #fafcfd;
}

.swarm-metric-snaps {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #4a6a7c;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-assumptions {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.swarm-assumptions ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

.swarm-hint {
  margin: 0 0 8px;
  color: #7b95a6;
  font-size: 12px;
  line-height: 1.45;
}

.swarm-empty-card {
  max-width: 560px;
  margin: 48px auto;
  padding: 24px;
  border: 1px solid #b9deef;
  background: #fff;
}

.swarm-empty-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #0f3d55;
}

.swarm-negotiate-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  min-height: calc(100vh - 200px);
}

.swarm-party-pick {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow: auto;
}

.swarm-party-pick label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dceaf2;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.swarm-party-pick label.on {
  border-color: #0f766e;
  background: #ecfdf5;
}

.swarm-party-pick i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.swarm-party-pick span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.swarm-party-pick b {
  color: #0f3d55;
  font-size: 13px;
}

.swarm-party-pick em {
  color: #7b95a6;
  font-size: 11px;
  font-style: normal;
}

.swarm-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.swarm-selected-chips span {
  padding: 4px 8px;
  border: 1px solid;
  background: #fff;
  color: #0f3d55;
  font-size: 11px;
  font-weight: 700;
}

.swarm-negotiate-parties {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e8f1f7;
}

.swarm-negotiate-parties article {
  padding: 8px 10px;
  border: 1px solid #dceaf2;
  border-top-width: 3px;
  background: #fff;
}

.swarm-negotiate-parties strong {
  display: block;
  color: #0f3d55;
  font-size: 13px;
}

.swarm-negotiate-parties em {
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.swarm-negotiate-parties p {
  margin: 4px 0 0;
  color: #4a6a7c;
  font-size: 11px;
  line-height: 1.4;
}

.swarm-negotiate-parties span {
  display: inline-block;
  min-width: 32px;
  color: #0f766e;
  font-weight: 700;
}

.swarm-negotiate-msgs {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}

.swarm-negotiate-msgs > li {
  padding: 10px 12px;
  border-left: 3px solid #94a3b8;
  background: #fafcfd;
}

.swarm-negotiate-msgs > li[data-kind="propose"] {
  border-left-color: #178dca;
}

.swarm-negotiate-msgs > li[data-kind="counter"] {
  border-left-color: #ea580c;
}

.swarm-negotiate-msgs > li[data-kind="accept"] {
  border-left-color: #16a34a;
}

.swarm-negotiate-msgs > li[data-kind="reject"] {
  border-left-color: #dc2626;
}

.swarm-negotiate-msgs .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 4px;
  font-size: 11px;
}

.swarm-negotiate-msgs .meta em {
  font-style: normal;
  font-weight: 800;
  color: #0f3d55;
}

.swarm-negotiate-msgs .meta code {
  padding: 1px 6px;
  border: 1px solid #d0e4ef;
  background: #fff;
  color: #0f766e;
  font-size: 10px;
}

.swarm-negotiate-msgs p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.swarm-agreement {
  margin: 0 14px 16px;
  padding: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.swarm-agreement.ok {
  border-color: #86efac;
  background: #f0fdf4;
}

.swarm-agreement h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0f3d55;
}

.swarm-agreement p,
.swarm-agreement ul {
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

.swarm-agreement ul {
  margin-top: 8px;
  padding-left: 16px;
}

.swarm-negotiate-stream {
  overflow: auto;
}

.swarm-period-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #cfe6f2;
}

.swarm-period-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  vertical-align: middle;
}

.swarm-committed-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.swarm-committed-rail li {
  max-width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.swarm-party-pick {
  margin-bottom: 10px;
}

.swarm-party-pick > span,
.swarm-guidance {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
}

.swarm-party-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swarm-party-chips button {
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid #b9deef;
  background: #fff;
  color: #0f3d55;
  cursor: pointer;
}

.swarm-party-chips button.on {
  border-color: #0f766e;
  background: #ecfdf5;
}

.swarm-guidance textarea,
.swarm-interact-grid textarea,
.swarm-interact-grid select {
  width: 100%;
  margin: 4px 0 8px;
  padding: 8px;
  border: 1px solid #b9deef;
  font: inherit;
}

.swarm-draft-card {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
}

.swarm-draft-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0f3d55;
}

.swarm-draft-card h3 em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}

.swarm-draft-events {
  margin: 8px 0 0;
  padding-left: 18px;
}

.swarm-draft-events li {
  margin-bottom: 6px;
  font-size: 13px;
}

.swarm-draft-events span {
  display: block;
  color: #475569;
}

.swarm-draft-terms {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: #334155;
}

.swarm-interact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.swarm-interact-grid section {
  padding: 10px;
  border: 1px solid #cfe6f2;
  background: #fff;
}

.swarm-interact-grid h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0f3d55;
}

.swarm-iv {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dbeafe;
  font-size: 12px;
}

.swarm-iv b {
  display: block;
  color: #0f3d55;
}

.swarm-iv em {
  display: block;
  color: #64748b;
  font-style: normal;
  margin: 2px 0 4px;
}

@media (max-width: 1100px) {
  .swarm-page-tri {
    height: auto;
    min-height: calc(100vh - 56px);
  }

  .swarm-tri {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(320px, 48vh) minmax(260px, 36vh) minmax(280px, auto);
  }

  .swarm-cell-graph,
  .swarm-cell-right,
  .swarm-cell-ops {
    grid-column: 1;
  }

  .swarm-cell-graph {
    grid-row: 1;
  }

  .swarm-cell-right {
    grid-row: 2;
  }

  .swarm-cell-ops {
    grid-row: 3;
  }

  .swarm-loop-arena {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(200px, 1fr) minmax(420px, 1fr);
  }

  .swarm-loop-arena.is-phone-folded {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 44px;
  }

  .swarm-loop-graph-pane {
    border-right: 0;
    border-bottom: 1px solid #dceaf2;
  }

  .swarm-phone-folded-tab {
    flex-direction: row;
    gap: 8px;
    border-left: 0;
    border-top: 1px solid #dceaf2;
  }

  .swarm-phone-folded-tab strong {
    writing-mode: horizontal-tb;
    letter-spacing: 0.08em;
  }

  .swarm-layout {
    grid-template-columns: 1fr;
  }

  .swarm-graph-host {
    min-height: 280px;
  }

  .swarm-small-seats,
  .swarm-small-brief,
  .swarm-negotiate-layout,
  .swarm-pack-rail,
  .swarm-pack-rules,
  .swarm-interact-grid {
    grid-template-columns: 1fr;
  }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/home-twin.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
.twin-page {
  min-height: 100vh;
  background: #f3f9fd;
  color: #073f65;
}

.twin-main {
  width: min(1560px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.twin-lead,
.twin-card header,
.twin-lead-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.twin-kicker {
  margin: 0 0 6px;
  color: #0879bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.twin-lead h1,
.twin-card h2 {
  margin: 0;
  color: #073f65;
}

.twin-lead h1 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.twin-lead p:last-child {
  margin: 6px 0 0;
  color: #62839a;
  font-size: 13px;
}

.twin-lead-actions a,
.twin-card header a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #b9d9ea;
  background: #fff;
  color: #0879bd;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.twin-lead-actions a.is-primary {
  border-color: #0879bd;
  background: #0879bd;
  color: #fff;
}

.twin-ops {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.twin-ops .twin-card header small {
  color: #0879bd;
  font-size: 12px;
  font-weight: 800;
}

.twin-sources {
  margin: 0;
  padding: 0;
  list-style: none;
}

.twin-sources li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #e4f1f8;
}

.twin-sources li:first-child {
  border-top: 0;
  padding-top: 0;
}

.twin-sources b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2aa56d;
}

.twin-sources b.is-degraded {
  background: #e0a020;
}

.twin-sources strong,
.twin-sources span {
  display: block;
}

.twin-sources span {
  margin-top: 3px;
  color: #6f8da1;
  font-size: 12px;
}

.twin-sources em {
  color: #426c86;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.twin-monitors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
}

.twin-monitors > div {
  padding: 10px 12px;
  border: 1px solid #d5e8f3;
  background: #f7fbfe;
}

.twin-monitors > div.is-warn {
  border-color: #f0d7a2;
  background: #fff9ee;
}

.twin-monitors small {
  color: #6f8da1;
  font-size: 11px;
}

.twin-monitors strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.twin-monitors em {
  margin-left: 4px;
  color: #3d7ea8;
  font-size: 12px;
  font-style: normal;
}

.twin-monitors span {
  display: block;
  margin-top: 4px;
  color: #6f8da1;
  font-size: 12px;
}

.twin-events-compact {
  margin-top: 10px;
}

.twin-charts {
  margin-top: 12px;
  padding: 14px 16px 16px;
  border: 1px solid #c9e1ef;
  background: #fff;
}

.twin-charts > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.twin-charts > header span {
  color: #0879bd;
  font-size: 12px;
  font-weight: 800;
}

.twin-charts > header h2 {
  margin: 4px 0 4px;
  font-size: 18px;
}

.twin-charts > header p {
  margin: 0;
  color: #6f8da1;
  font-size: 12px;
}

.twin-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.twin-chart-tabs button,
.twin-chart-kpis button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #b9d9ea;
  background: #fff;
  color: #426c86;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.twin-chart-tabs button.is-active,
.twin-chart-kpis button.is-active {
  border-color: #0879bd;
  background: #eaf5fb;
  color: #0879bd;
}

.twin-chart-canvas {
  height: 280px;
  border: 1px solid #e4f1f8;
  background: #fbfdfe;
}

.twin-chart-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin-top: 12px;
}

.twin-chart-kpis button {
  height: auto;
  min-height: 72px;
  padding: 10px 12px;
  text-align: left;
}

.twin-chart-kpis small,
.twin-chart-kpis span {
  display: block;
  color: #6f8da1;
  font-size: 11px;
  font-weight: 600;
}

.twin-chart-kpis strong {
  display: block;
  margin: 4px 0;
  color: #073f65;
  font-size: 16px;
}

.twin-centers button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.twin-centers button strong,
.twin-centers button span {
  display: block;
}

.twin-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.twin-kpis article,
.twin-card {
  border: 1px solid #c9e1ef;
  background: #fff;
}

.twin-kpis article {
  padding: 14px 16px 12px;
  border-top: 3px solid #0879bd;
}

.twin-kpis small,
.twin-hint,
.twin-city span,
.twin-centers span,
.twin-links span,
.twin-events span,
.twin-plan-metrics dt {
  color: #6f8da1;
  font-size: 12px;
}

.twin-kpis strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.twin-kpis em {
  margin-left: 6px;
  color: #3d7ea8;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.twin-kpis span,
.twin-city span {
  display: block;
  margin-top: 4px;
}

.twin-stage {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.twin-card {
  padding: 14px 14px 16px;
}

.twin-card header {
  margin-bottom: 12px;
}

.twin-card header span,
.twin-subject header span {
  color: #0879bd;
  font-size: 12px;
  font-weight: 800;
}

.twin-card h2 {
  font-size: 16px;
}

.twin-card label {
  display: block;
  margin-bottom: 12px;
  color: #426c86;
  font-size: 12px;
  font-weight: 700;
}

.twin-card select {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 6px;
  border: 1px solid #b9d9ea;
  background: #fff;
  color: #073f65;
  font: inherit;
  font-weight: 700;
}

.twin-city strong {
  display: block;
  font-size: 18px;
}

.twin-lines,
.twin-shares,
.twin-centers,
.twin-links,
.twin-events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.twin-lines li,
.twin-links li,
.twin-events li {
  padding: 7px 0;
  border-top: 1px solid #e4f1f8;
  color: #315f80;
  font-size: 13px;
}

.twin-card fieldset {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #d5e8f3;
}

.twin-card legend {
  padding: 0 4px;
  color: #315f80;
  font-size: 12px;
  font-weight: 800;
}

.twin-layer {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px !important;
}

.twin-hint {
  margin: 10px 0 0;
  line-height: 1.6;
}

.twin-plan-name {
  margin: 0;
  color: #62839a;
  font-size: 12px;
}

.twin-plan-rec {
  margin: 6px 0 0;
  color: #0879bd;
  font-size: 20px;
  font-weight: 800;
}

.twin-plan-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
  margin: 12px 0;
}

.twin-plan-metrics dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.twin-shares li {
  margin-bottom: 8px;
}

.twin-shares span,
.twin-centers li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.twin-shares i,
.twin-centers i {
  display: block;
  height: 6px;
  margin-top: 4px;
  background: #e7f3fa;
}

.twin-shares em,
.twin-centers em {
  display: block;
  height: 100%;
  background: #0879bd;
}

.twin-subjects {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.twin-subject {
  border-top: 3px solid #178dca;
}

.twin-plants {
  border-top-color: #19a69f;
}

.twin-compute {
  border-top-color: #0b8f86;
}

.twin-network {
  border-top-color: #7859d7;
}

.twin-subject dl {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
}

.twin-subject dt {
  color: #6f8da1;
  font-size: 12px;
}

.twin-subject dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.twin-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.twin-centers li {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 8px 0;
  border-top: 1px solid #e4f1f8;
}

.twin-centers li.is-focus {
  background: #f4fbfe;
}

.twin-centers i {
  grid-column: 1 / -1;
}

.twin-centers b {
  color: #0879bd;
}

.twin-events li {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-gap: 8px;
  gap: 8px;
}

.twin-events time {
  color: #0879bd;
  font-weight: 800;
}

.twin-events b {
  display: block;
  color: #073f65;
}

.role-entry.is-embedded {
  padding-top: 28px;
}

@media (max-width: 1180px) {
  .twin-ops,
  .twin-stage,
  .twin-bottom,
  .twin-chart-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .twin-map {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (max-width: 720px) {
  .twin-lead,
  .twin-ops,
  .twin-stage,
  .twin-bottom,
  .twin-chart-kpis {
    display: grid;
    grid-template-columns: 1fr;
  }

  .twin-charts > header {
    flex-direction: column;
  }

  .twin-main {
    width: calc(100% - 20px);
  }
}

/* Final density overrides */
@media (min-width: 1261px) {
  .twin-ops .twin-card { min-height: 410px; padding: 22px; }
  .twin-ops .twin-card header { margin-bottom: 18px; }
  .twin-ops .twin-card h2 { font-size: 19px; }
  .twin-ops .twin-card header > span,
  .twin-ops .twin-card header > small { font-size: 12px; }
  .twin-sources { gap: 13px; }
  .twin-sources li { min-height: 94px; padding: 15px; }
  .twin-sources strong { font-size: 14px; }
  .twin-sources span { margin-top: 5px; font-size: 12px; }
  .twin-sources em { font-size: 12px; }
  .twin-sources li div small { margin-top: 8px; font-size: 11px; }
  .twin-ops .twin-monitors { gap: 12px; }
  .twin-ops .twin-monitors > div { min-height: 118px; padding: 15px; grid-template-columns: minmax(0,1fr) 105px; }
  .twin-monitors small { font-size: 12px; }
  .twin-ops .twin-monitors > div:nth-child(-n+2) strong { margin-top: 8px; font-size: 32px; }
  .twin-monitors > div:nth-child(n+3) strong { margin-top: 8px; font-size: 24px; }
  .twin-monitors span { margin-top: 7px; font-size: 12px; }
  .twin-sparkline { width: 105px; height: 52px; }
  .twin-ops .twin-events-compact li { padding: 5px 0; font-size: 12px; }
  .twin-hub-balance { gap: 14px; }
  .twin-hub-balance > div { grid-template-columns: 70px minmax(0,1fr); gap: 16px; min-height: 96px; padding: 15px 17px; }
  .twin-hub-balance > div > i { width: 66px; height: 66px; }
  .twin-hub-balance > div > i::before { width: 51px; height: 51px; }
  .twin-hub-balance > div > i b { font-size: 11px; }
  .twin-hub-balance section { gap: 5px; }
  .twin-hub-balance section small,
  .twin-hub-balance section span { font-size: 12px; }
  .twin-hub-balance section strong { font-size: 23px; }
  .twin-hub-balance > div > em { display: none; }
  .twin-stage { min-height: 760px; }
  .twin-stage > .twin-map { min-height: 760px; padding: 16px; }
  .twin-stage > aside { top: 78px; bottom: 28px; width: 320px; max-height: none; padding: 20px; overflow: hidden; }
  .twin-stage > aside:first-child { left: 30px; }
  .twin-stage > aside:last-child { right: 30px; width: 340px; }
  .twin-stage > aside h2 { font-size: 19px; }
  .twin-stage > aside label,
  .twin-stage > aside select,
  .twin-stage > aside .twin-lines li,
  .twin-stage > aside .twin-hint { font-size: 12px; }
  .twin-city strong,
  .twin-detail-title p { font-size: 18px; }
  .twin-node-kpis { gap: 8px; margin: 14px 0; }
  .twin-node-kpis div { padding: 10px; }
  .twin-node-kpis dt { font-size: 11px; }
  .twin-node-kpis dd { font-size: 17px; }
  .twin-mini-heading { margin: 15px 0 8px; font-size: 12px; }
}

.twin-bottom .twin-card { padding: 18px; }
.twin-bottom .twin-card header { margin-bottom: 14px; }
.twin-bottom .twin-card h2 { font-size: 17px; }
.twin-centers { gap: 12px; }
.twin-centers li { min-height: 112px; }
.twin-centers li > button { padding: 14px; }
.twin-centers button strong { max-width: calc(100% - 54px); font-size: 13px; }
.twin-centers button > span { margin-top: 6px; font-size: 11px; }
.twin-centers .twin-center-energy { height: 6px; margin: 12px 0 7px; }
.twin-centers button > small { justify-content: space-between; color: #78909d; font-size: 9px; }
.twin-links { gap: 12px; }
.twin-links li { min-height: 88px; padding: 16px 14px; }
.twin-events .is-ai { padding: 14px; }
.twin-events .is-ai span { line-height: 1.55; }
.twin-ai-impact { margin-top: 10px; }
.twin-events > li:not(.is-ai) { padding: 9px 0; }

/* Home overview: compact status above a map-led dashboard. */
.twin-page {
  background:
    radial-gradient(circle at 50% 0, rgba(127, 204, 236, .22), transparent 42%),
    #f3f8fc;
}

.twin-main { padding-top: 14px; }
.twin-lead { min-height: 66px; }
.twin-lead h1 { font-size: clamp(23px, 2vw, 30px); }
.twin-lead-actions a { border-radius: 6px; }
.twin-lead-actions a:hover { background: #eaf5fb; }
.twin-lead-actions a.is-primary:hover { background: #0569a6; }

.twin-card,
.twin-charts {
  border-color: #d1e5ef;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(33, 100, 140, .055);
}

.twin-ops { width: 100%; grid-template-columns: 1.08fr 1fr 1fr; gap: 10px; margin: 12px 0 0; }
.twin-ops .twin-card { display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: 12px 14px; }
.twin-ops .twin-card header { margin-bottom: 10px; }
.twin-ops .twin-card h2 { font-size: 16px; }
.twin-sources { display: grid; flex: 1 1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); grid-gap: 7px; gap: 7px; }
.twin-sources li,
.twin-sources li:first-child { min-width: 0; padding: 8px; border: 1px solid #dce7ef; border-radius: 6px; background: #fbfdfe; }
.twin-sources strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.twin-sources span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; font-size: 11px; }
.twin-sources em { font-size: 11px; }
.twin-monitors { flex: 1 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.twin-monitors > div,
.twin-ops .twin-monitors > div.is-warn { min-width: 0; padding: 8px 10px; border: 1px solid #dce7ef; border-radius: 6px; background: #fbfdfe; }
.twin-monitors > div.is-warn small::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #dba340; vertical-align: 2px; }
.twin-monitors strong { margin-top: 2px; font-size: 20px; }
.twin-monitors span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; font-size: 11px; }
.twin-ops .twin-events-compact { margin-top: 10px; }
.twin-ops .twin-events-compact li { grid-template-columns: 38px 1fr; padding: 3px 0; font-size: 11px; }
.twin-ops .twin-events-compact b { display: inline; margin-right: 5px; }
.twin-ops .twin-events-compact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.twin-ops-kpis { display: grid; flex: 1 1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 7px; gap: 7px; }
.twin-ops-kpis > div { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 10px; border: 1px solid #dce7ef; border-radius: 6px; background: #fbfdfe; }
.twin-ops-kpis small { color: #63879e; font-size: 11px; }
.twin-ops-kpis strong { display: block; margin: 5px 0; color: #073f65; font-size: 21px; white-space: nowrap; }
.twin-ops-kpis em { margin-left: 4px; color: #3d7ea8; font-size: 11px; font-style: normal; }
.twin-ops-kpis span { color: #6f8da1; font-size: 11px; line-height: 1.4; }

.twin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 18px 0 8px; }
.twin-section-heading span { color: #1684bd; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.twin-section-heading h2 { margin: 3px 0 0; color: #083d60; font-size: 20px; letter-spacing: -.02em; }
.twin-section-heading p { margin: 0 0 2px; color: #66869b; font-size: 12px; }

/* 中间地图收窄、两侧信息栏加宽：地图是配图，两侧才是决策信息 */
.twin-stage { grid-template-columns: minmax(248px, 1fr) minmax(0, 2.45fr) minmax(268px, 1.06fr); gap: 10px; margin-top: 0; }
.twin-stage > .twin-card { min-width: 0; }
.twin-stage > aside { background: linear-gradient(180deg, #fff 0%, #f8fcff 100%); }
.twin-stage > aside:first-child { border-top: 3px solid #258dc5; }
.twin-stage > aside:last-child { border-top: 3px solid #19aaa5; }
.twin-stage .twin-card header { padding-bottom: 10px; border-bottom: 1px solid #e5f0f5; }
.twin-stage .twin-map { position: relative; overflow: hidden; padding: 13px; background: #edf7fc; }
.twin-map header { position: relative; z-index: 1; margin-bottom: 7px; }
.twin-map .map-shell-canvas-wrap { overflow: hidden; border: 1px solid #c8e2ef; border-radius: 8px; background: #e4f3fa; box-shadow: inset 0 0 24px rgba(43, 138, 183, .12); }
.twin-map .map-shell-echarts { width: 100%; }
/* 色例固定左下，右下留给南海诸岛附图，避免与「发电总量」框重叠 */
.twin-map-legend { position: absolute; z-index: 2; left: 22px; right: auto; bottom: 22px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; }
.twin-map-legend-scale {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 148px;
  padding: 8px 10px;
  border: 1px solid rgba(190, 221, 234, .85);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 3px 8px rgba(36, 100, 134, .1);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.twin-map-legend-unit {
  color: #325e79;
  font-size: 10px;
  font-weight: 700;
}
.twin-map-legend-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #c5dde9;
}
/* 与 EnergyMapCanvas visualMap.inRange.color 一一对应 */
.twin-map-legend-bar .is-low { background: #e8f4fa; }
.twin-map-legend-bar .is-mid-low { background: #9ed0e6; }
.twin-map-legend-bar .is-mid { background: #3aa0c8; }
.twin-map-legend-bar .is-mid-high { background: #0d6f9c; }
.twin-map-legend-bar .is-high { background: #064a6e; }
.twin-map-legend-bar.is-heat .is-low { background: #1d4ed8; }
.twin-map-legend-bar.is-heat .is-mid-low { background: #38bdf8; }
.twin-map-legend-bar.is-heat .is-mid { background: #fde68a; }
.twin-map-legend-bar.is-heat .is-mid-high { background: #f97316; }
.twin-map-legend-bar.is-heat .is-high { background: #b91c1c; }
.twin-map-legend-ends {
  display: flex;
  justify-content: space-between;
  color: #5a7e94;
  font-size: 10px;
  font-weight: 700;
}
.twin-card select { padding: 0 9px; border-radius: 5px; }
.twin-lines li { padding: 8px 0; }
.twin-card fieldset { border-radius: 6px; background: #f5fafc; }
.twin-plan-rec { line-height: 1.25; }
.twin-plan-metrics > div { padding: 9px; border: 1px solid #d8ebf2; border-radius: 6px; background: #f0f9fc; }
.twin-plan-metrics dd { font-size: 15px; }

.twin-charts { margin-top: 10px; padding: 18px 20px 20px; border-top: 3px solid #1689c5; }
.twin-charts h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.twin-chart-picks { display: inline-flex; align-items: center; gap: 10px; }
.twin-chart-picks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #5a7e94; font-size: 13px; font-weight: 600; }
.twin-chart-picks select { width: auto; height: 32px; margin: 0; padding: 0 8px; border: 1px solid #b9d9ea; border-radius: 6px; background: #fff; color: #073f65; font-size: 13px; font-weight: 700; }
.twin-charts > header { align-items: center; margin-bottom: 14px; }
.twin-charts > header span { font-size: 10px; letter-spacing: .1em; }
.twin-charts > header h2 { font-size: 20px; }
.twin-chart-tabs { padding: 4px; border-radius: 8px; background: #edf5fa; }
.twin-chart-tabs button { border: 0; border-radius: 5px; background: transparent; font-size: 12px; }
.twin-chart-tabs button.is-active { background: #fff; box-shadow: 0 2px 7px rgba(31, 112, 157, .12); }
.twin-chart-canvas { height: 320px; border-radius: 7px; background: #fbfdff; }
.twin-chart-kpis { gap: 10px; }
.twin-chart-kpis article { min-width: 0; padding: 12px 14px; border: 1px solid #dbeaf2; border-left: 3px solid #1689c5; border-radius: 6px; background: #f7fbfd; }
.twin-chart-kpis small { display: block; color: #6f8da1; font-size: 11px; }
.twin-chart-kpis strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px; color: #073f65; font-size: 17px; }
.twin-bottom .twin-card { min-width: 0; }

@media (max-width: 1260px) {
  .twin-ops { grid-template-columns: 1.05fr .95fr; }
  .twin-ops-summary { grid-column: 1 / -1; min-height: 0 !important; }
  .twin-ops-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .twin-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .twin-map { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 900px) {
  .twin-ops { grid-template-columns: 1fr; }
  .twin-ops-summary { grid-column: auto; }
}

/* Readability pass: larger type, calmer map and simplified lower cards. */
@media (min-width: 1261px) {
  .twin-ops .twin-card { min-height: 410px; padding: 22px; }
  .twin-ops .twin-card header { margin-bottom: 18px; }
  .twin-ops .twin-card h2 { font-size: 19px; }
  .twin-ops .twin-card header > span,
  .twin-ops .twin-card header > small { font-size: 12px; }
  .twin-sources { gap: 13px; }
  .twin-sources li { min-height: 94px; padding: 15px; }
  .twin-sources strong { font-size: 14px; }
  .twin-sources span { margin-top: 5px; font-size: 12px; }
  .twin-sources em { font-size: 12px; }
  .twin-sources li div small { margin-top: 8px; font-size: 11px; }

  .twin-ops .twin-monitors { gap: 12px; }
  .twin-ops .twin-monitors > div { min-height: 118px; padding: 15px; grid-template-columns: minmax(0,1fr) 105px; }
  .twin-monitors small { font-size: 12px; }
  .twin-ops .twin-monitors > div:nth-child(-n+2) strong { margin-top: 8px; font-size: 32px; }
  .twin-monitors > div:nth-child(n+3) strong { margin-top: 8px; font-size: 24px; }
  .twin-monitors span { margin-top: 7px; font-size: 12px; }
  .twin-sparkline { width: 105px; height: 52px; }
  .twin-ops .twin-events-compact li { padding: 5px 0; font-size: 12px; }

  .twin-hub-balance { gap: 14px; }
  .twin-hub-balance > div { grid-template-columns: 70px minmax(0,1fr); gap: 16px; min-height: 96px; padding: 15px 17px; }
  .twin-hub-balance > div > i { width: 66px; height: 66px; }
  .twin-hub-balance > div > i::before { width: 51px; height: 51px; }
  .twin-hub-balance > div > i b { font-size: 11px; }
  .twin-hub-balance section { gap: 5px; }
  .twin-hub-balance section small,
  .twin-hub-balance section span { font-size: 12px; }
  .twin-hub-balance section strong { font-size: 23px; }
  .twin-hub-balance > div > em { display: none; }

  .twin-stage { min-height: 760px; }
  .twin-stage > .twin-map { min-height: 760px; padding: 16px; }
  .twin-stage > aside { top: 78px; bottom: 28px; width: 320px; max-height: none; padding: 20px; overflow: hidden; }
  .twin-stage > aside:first-child { left: 30px; }
  .twin-stage > aside:last-child { right: 30px; width: 340px; }
  .twin-stage > aside h2 { font-size: 19px; }
  .twin-stage > aside header > span { font-size: 11px; }
  .twin-stage > aside label,
  .twin-stage > aside select,
  .twin-stage > aside .twin-lines li,
  .twin-stage > aside .twin-hint { font-size: 12px; }
  .twin-city strong { font-size: 18px; }
  .twin-city span { font-size: 12px; }
  .twin-detail-title p { font-size: 19px; }
  .twin-detail-title span { font-size: 12px; }
  .twin-node-kpis { gap: 8px; margin: 14px 0; }
  .twin-node-kpis div { padding: 10px; }
  .twin-node-kpis dt { font-size: 11px; }
  .twin-node-kpis dd { font-size: 17px; }
  .twin-plan-metrics { margin: 12px 0; }
  .twin-mini-heading { margin: 15px 0 8px; font-size: 12px; }
  .twin-shares li span,
  .twin-energy-mix span { font-size: 11px; }
}

.twin-bottom { align-items: stretch; }
.twin-bottom .twin-card { padding: 18px; }
.twin-bottom .twin-card header { margin-bottom: 14px; }
.twin-bottom .twin-card h2 { font-size: 17px; }
.twin-centers { gap: 12px; }
.twin-centers li { min-height: 112px; }
.twin-centers li > button { padding: 14px; }
.twin-centers button strong { max-width: calc(100% - 54px); font-size: 13px; }
.twin-centers button > span { margin-top: 6px; font-size: 11px; }
.twin-centers .twin-center-energy { height: 6px; margin: 12px 0 7px; }
.twin-centers button > small { justify-content: space-between; color: #78909d; font-size: 9px; }
.twin-links { gap: 12px; }
.twin-links li { min-height: 88px; padding: 16px 14px; }
.twin-events .is-ai { padding: 14px; }
.twin-events .is-ai span { line-height: 1.55; }
.twin-ai-impact { margin-top: 10px; }
.twin-events > li:not(.is-ai) { padding: 9px 0; }

/* 2026 overview refinement */
.twin-sources li { position: relative; align-items: center; padding: 10px 11px; border: 1px solid #ddeaf2; border-radius: 8px; background: linear-gradient(145deg, #fff 0%, #f7fbfd 100%); }
.twin-sources li > b { animation: twin-breathe 2.4s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(35,168,112,.08); }
.twin-sources li > b.is-degraded { box-shadow: 0 0 0 4px rgba(225,157,26,.09); }
.twin-sources li div small { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: #547990; font-size: 10px; }
.twin-sources li div small i { padding: 1px 5px; border: 1px solid #d8e7ef; border-radius: 9px; color: #1682b7; font-style: normal; background: #fff; }
@keyframes twin-breathe { 50% { transform: scale(1.16); opacity: .72; } }

.twin-ops .twin-monitors > div { display: grid; grid-template-columns: minmax(0,1fr) 76px; align-items: end; overflow: hidden; }
.twin-ops .twin-monitors > div section { min-width: 0; }
.twin-sparkline { width: 76px; height: 34px; }
.twin-sparkline polyline { fill: none; stroke: #1688d4; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 3px rgba(22,136,212,.2)); }
.twin-sparkline.is-gold polyline { stroke: #d7a43e; filter: drop-shadow(0 2px 3px rgba(215,164,62,.18)); }

.twin-hub-balance { display: grid; flex: 1 1; grid-gap: 8px; gap: 8px; }
.twin-hub-balance > div { display: grid; grid-template-columns: 48px minmax(0,1fr) 7px; grid-gap: 10px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #dce8ef; border-radius: 8px; background: linear-gradient(110deg,#fff,#f7fbfd); }
.twin-hub-balance > div > i { --load: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#1389c7 var(--load),#e6eff4 0); font-style: normal; }
.twin-hub-balance > div > i::before { content: ""; grid-area: 1/1; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.twin-hub-balance > div > i b { grid-area: 1/1; z-index: 1; color: #075477; font-size: 10px; }
.twin-hub-balance section { display: flex; flex-direction: column; gap: 3px; }
.twin-hub-balance section small,.twin-hub-balance section span { color: #6a889b; font-size: 10px; }
.twin-hub-balance section strong { color: #063f63; font-size: 17px; }
.twin-hub-balance > div > em { position: relative; width: 5px; height: 42px; overflow: hidden; border-radius: 4px; background: #e5eef3; }
.twin-hub-balance > div > em b { position: absolute; bottom: 0; width: 100% !important; height: var(--load); background: #1591c8; }
.twin-hub-balance .is-compute > i { background: conic-gradient(#22a987 var(--load),#e6eff4 0); }
.twin-hub-balance .is-network > i { background: conic-gradient(#6d77d9 var(--load),#e6eff4 0); }

.twin-detail-title { display:flex; align-items:flex-start; justify-content:space-between; padding-bottom:10px; border-bottom:1px solid #e3edf3; }
.twin-detail-title p { margin:0 0 3px; color:#073f65; font-size:17px; font-weight:800; }
.twin-detail-title span { color:#69899d; font-size:11px; }
.twin-detail-title > b { padding:3px 7px; border:1px solid #bfe3d4; border-radius:10px; color:#23865e; font-size:10px; background:#f5fbf8; }
.twin-node-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-gap:6px; gap:6px; margin:10px 0; }
.twin-node-kpis div { padding:8px; border:1px solid #dce8ef; border-radius:7px; background:#f9fcfd; }
.twin-node-kpis dt { color:#7490a1; font-size:10px; }
.twin-node-kpis dd { margin:5px 0 0; color:#064b72; font-size:15px; font-weight:800; }
.twin-mini-heading { display:flex; justify-content:space-between; margin:11px 0 6px; color:#154e6d; font-size:11px; }
.twin-mini-heading span { color:#8199a8; }
.twin-energy-mix { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-gap:6px; gap:6px; }
.twin-energy-mix span { display:flex; justify-content:space-between; color:#54778c; font-size:10px; }
.twin-energy-mix i { display:block; height:4px; margin-top:5px; overflow:hidden; border-radius:4px; background:#e7eff3; }
.twin-energy-mix em { display:block; height:100%; background:#25a77d; }
.twin-energy-mix div:nth-child(2) em { background:#258ac3; }.twin-energy-mix div:nth-child(3) em { background:#82909a; }
.twin-detail-actions { display:grid; grid-template-columns:1fr 1fr; grid-gap:7px; gap:7px; margin-top:12px; }
.twin-detail-actions a { padding:8px 5px; border:1px solid #bcdbea; border-radius:6px; color:#126b99; font-size:11px; font-weight:700; text-align:center; background:#f8fcfe; }
.twin-detail-actions a:first-child { border-color:#1688c4; color:#fff; background:#1688c4; }

.twin-chart-kpis article small { display:flex; justify-content:space-between; gap:6px; }
.twin-chart-kpis article small em { font-style:normal; font-size:10px; }.twin-chart-kpis .is-up { color:#24976b; }.twin-chart-kpis .is-down { color:#c98727; }
.twin-bottom header select { max-width:100px; padding:4px 7px; border:1px solid #d5e4ec; border-radius:5px; color:#52788e; font-size:10px; background:#fff; }
.twin-centers button span em { padding:2px 5px; border-radius:8px; color:#23865e; font-style:normal; background:#eef8f4; }
.twin-links { display:grid; grid-gap:8px; gap:8px; }.twin-links li { position:relative; min-height:58px; padding:9px 34px 9px 10px; border:1px solid #dde9ef; border-radius:7px; background:#fbfdfe; }
.twin-links li.is-alert { border-color:#efd9d6; background:#fffafa; }.twin-links li div { display:flex; justify-content:space-between; gap:8px; }.twin-links li div b { color:#2a789d; font-size:10px; }
.twin-links li > i { position:absolute; top:9px; right:11px; width:8px; height:38px; overflow:hidden; border-radius:5px; background:#e6eff3; }.twin-links li > i em { position:absolute; right:0; bottom:0; left:0; background:#1aa2a0; }
.twin-events li { position:relative; }.twin-events li::before { content:""; position:absolute; left:37px; top:22px; bottom:-9px; width:1px; background:#dbe8ef; }
.twin-events li:last-child::before { display:none; }.twin-events .is-ai { padding:10px; border:1px solid #cce3ee; border-radius:8px; background:linear-gradient(135deg,#f7fcff,#f5fbf8); }
.twin-events .is-ai span { white-space:normal; }.twin-events .is-ai button { display:inline-block; margin:7px 6px 0 0; padding:4px 8px; border:0; border-radius:5px; color:#fff; font-size:10px; background:#147fae; cursor:pointer; }
.twin-events .is-ai em { color:#288565; font-size:10px; font-style:normal; }

/* Spacious cards, map overlays and richer insight modules */
@media (min-width: 1261px) {
  .twin-ops { grid-template-columns: 1.08fr 1fr 1fr; gap: 14px; }
  .twin-ops .twin-card { min-height: 360px; padding: 18px; }
  .twin-ops .twin-card header { margin-bottom: 14px; }
  .twin-sources { gap: 11px; }
  .twin-sources li { min-height: 82px; padding: 12px 13px; box-shadow: 0 5px 14px rgba(31,92,121,.055); }
  .twin-ops .twin-monitors { gap: 10px; }
  .twin-ops .twin-monitors > div { min-height: 104px; padding: 12px; grid-template-columns: minmax(0,1fr) 94px; }
  .twin-ops .twin-monitors > div:nth-child(-n+2) strong { font-size: 27px; }
  .twin-sparkline { width: 94px; height: 48px; }
  .twin-hub-balance { gap: 12px; }
  .twin-hub-balance > div { grid-template-columns: 62px minmax(0,1fr) 9px; padding: 13px 15px; }
  .twin-hub-balance > div > i { width: 58px; height: 58px; }
  .twin-hub-balance > div > i::before { width: 45px; height: 45px; }
  .twin-hub-balance section strong { margin: 2px 0; font-size: 20px; }

  .twin-stage { position: relative; display: grid; grid-template-columns: 1fr; min-height: 650px; }
  .twin-stage > .twin-map { grid-column: 1; grid-row: 1; min-height: 650px; padding: 14px; }
  .twin-stage > aside { position: absolute; z-index: 6; top: 70px; width: 286px; max-height: 560px; overflow: auto; border: 1px solid rgba(184,216,229,.8); background: rgba(255,255,255,.82); box-shadow: 0 14px 34px rgba(30,91,119,.16); -webkit-backdrop-filter: blur(13px) saturate(1.15); backdrop-filter: blur(13px) saturate(1.15); }
  .twin-stage > aside:first-child { left: 28px; }
  .twin-stage > aside:last-child { right: 28px; }
  .twin-map .map-shell-canvas-wrap { background-color: #e9f5f9; background-image: linear-gradient(rgba(64,137,166,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(64,137,166,.055) 1px,transparent 1px),radial-gradient(circle at 50% 35%,rgba(255,255,255,.9),rgba(216,235,243,.55)); background-size: 24px 24px,24px 24px,100% 100%; box-shadow: inset 0 0 48px rgba(38,132,168,.1); }
}

.twin-centers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-gap:8px; gap:8px; }
.twin-centers li { position:relative; display:block; padding:0; overflow:hidden; border:1px solid #dce9ef; border-radius:9px; background:linear-gradient(145deg,#fff,#f7fbfd); box-shadow:0 5px 13px rgba(32,91,117,.05); }
.twin-centers li > button { width:100%; padding:11px; text-align:left; }
.twin-centers li > b { position:absolute; top:11px; right:11px; color:#157dab; }
.twin-centers li > i:not(.twin-center-energy) { display:none; }
.twin-centers .twin-center-energy { display:flex; width:100%; height:7px; margin:9px 0 5px; overflow:hidden; border-radius:7px; background:#e8eff2; }
.twin-centers .twin-center-energy b { height:100%; }.twin-centers .twin-center-energy b:nth-child(1){background:#39b984}.twin-centers .twin-center-energy b:nth-child(2){background:#3d9dd2}.twin-centers .twin-center-energy b:nth-child(3){background:#9aa8b1}
.twin-centers button > small { display:flex; gap:8px; color:#738d9c; font-size:9px; }

.twin-links li { min-height:76px; padding:13px 12px; }
.twin-link-topology { display:grid !important; grid-template-columns:auto minmax(70px,1fr) auto; align-items:center; grid-gap:8px; gap:8px; }
.twin-link-topology > strong { padding:5px 7px; border:1px solid #cfe1ea; border-radius:6px; color:#175b7c; font-size:11px; background:#fff; }
.twin-link-topology > span { display:flex; flex-direction:column; align-items:center; gap:3px; }
.twin-link-topology > span > i { position:relative; display:block; width:100%; height:4px; overflow:visible; border-radius:4px; background:#dfeaf0; }
.twin-link-topology > span > i::after { content:"›"; position:absolute; right:-5px; top:-10px; color:#238bb5; font-size:18px; }
.twin-link-topology > span > i em { display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#21aa9d,#258dc5); }
.twin-link-topology small { color:#78919f; font-size:9px; }
.twin-latency { display:block; width:max-content; margin:8px auto 0; padding:2px 7px; border-radius:10px; color:#21865f; font-size:9px; background:#edf8f3; }
.twin-links .is-alert .twin-latency { color:#b64d43; background:#fff0ee; }

.twin-events .is-ai { border-color:transparent; background:linear-gradient(#f8fdff,#f8fdff) padding-box,linear-gradient(120deg,#25a9c7,#75d6b1,#4f8ee2) border-box; box-shadow:0 7px 20px rgba(36,141,177,.13),inset 0 0 20px rgba(89,194,208,.06); }
.twin-events .is-ai time { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#fff; background:linear-gradient(135deg,#168ec3,#45b99a); }
.twin-events .is-ai span > b { display:block; margin-bottom:4px; color:#075073; font-size:12px; }
.twin-ai-impact { display:flex; gap:6px; margin-top:8px; }.twin-ai-impact i { padding:4px 7px; border-radius:5px; color:#147253; font-size:9px; font-style:normal; background:#eaf8f2; }

@media (max-width: 1260px) {
  .twin-centers { grid-template-columns:1fr; }
}
@media (max-width: 900px) {
  .twin-stage { display:grid; min-height:0; }
  .twin-stage > aside { position:static; width:auto; max-height:none; overflow:visible; }
  .twin-stage > .twin-map { min-height:0; }
  .twin-sparkline { min-width:70px; height:42px; }
}

@media (max-width: 720px) {
  .twin-lead-actions { flex-wrap: wrap; justify-content: flex-start; }
  .twin-ops .twin-card { min-height: 0; }
  .twin-ops-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twin-section-heading { display: block; }
  .twin-section-heading p { margin-top: 5px; }
  .twin-stage { grid-template-columns: 1fr; }
  .twin-map { grid-column: auto; }
  .twin-map-legend { left: 22px; right: 22px; justify-content: flex-start; }
  .twin-chart-tabs { width: 100%; }
  .twin-chart-tabs button { flex: 1 1; padding: 0 6px; }
}

/* Three-column spatial overview: panels and map stay separate and aligned. */
@media (min-width: 1261px) {
  .twin-stage {
    position: relative;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 350px;
    grid-gap: 14px;
    gap: 14px;
    min-height: 0;
    align-items: stretch;
  }

  .twin-stage > .twin-card,
  .twin-stage > .twin-map {
    position: relative;
    inset: auto;
    width: auto;
    height: 720px;
    min-height: 720px;
    max-height: 720px;
    overflow: hidden;
  }

  /* 覆盖上方 .twin-card 的 overflow:hidden，侧栏可滚动看全 */
  .twin-stage > aside.twin-card {
    z-index: 1;
    padding: 20px;
    border: 1px solid #cfe2eb;
    background: linear-gradient(180deg, #fff 0%, #f8fcfe 100%);
    box-shadow: 0 8px 24px rgba(34, 94, 121, .08);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .twin-stage > aside:first-child,
  .twin-stage > aside:last-child {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .twin-stage > .twin-map {
    grid-column: 2;
    grid-row: 1;
    padding: 16px;
  }

  .twin-map .map-shell-canvas-wrap,
  .twin-map .map-shell-echarts {
    height: 650px !important;
  }

  .twin-stage > aside {
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
  }

  .twin-stage > aside:first-child .twin-city {
    margin-top: 10px;
    padding: 12px 0;
  }

  .twin-stage > aside:first-child .twin-lines li {
    padding: 8px 0;
  }

  .twin-stage > aside:first-child fieldset {
    margin-top: 12px;
    padding: 12px;
  }

  .twin-stage > aside:first-child .twin-compute-toggle {
    margin-top: 10px;
    flex-shrink: 0;
  }

  .twin-stage > aside:first-child .twin-hint {
    margin-top: 10px;
    padding-top: 10px;
    line-height: 1.55;
    flex-shrink: 0;
  }

  .twin-stage > aside:last-child .twin-detail-title {
    padding: 12px 0 14px;
  }

  .twin-stage > aside:last-child .twin-node-kpis {
    margin: 10px 0;
    gap: 8px;
  }

  .twin-stage > aside:last-child .twin-side-chart {
    flex: 1 1;
    min-height: 240px;
  }

  .twin-stage > aside:last-child .twin-detail-updated {
    margin-top: 12px;
    padding-top: 10px;
  }

  .twin-stage > aside:last-child .twin-plan-metrics {
    gap: 10px;
    margin-bottom: 12px;
  }

  .twin-stage > aside:last-child .twin-mini-heading {
    margin-top: 22px;
    margin-bottom: 12px;
  }

  .twin-stage > aside:last-child .twin-share {
    margin-bottom: 13px;
  }
}

/* Compact compute-center cards keep every center visible with one clear data layer. */
.twin-centers {
  gap: 8px;
}

.twin-centers li {
  min-height: 0;
}

.twin-centers li > button {
  display: block;
  padding: 11px 12px;
}

.twin-centers .twin-center-head,
.twin-centers .twin-center-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.twin-centers .twin-center-head strong {
  max-width: none;
  overflow: hidden;
  color: #084b6d;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twin-centers .twin-center-head b {
  flex: 0 0 auto;
  color: #117fac;
  font-size: 12px;
}

.twin-centers .twin-center-meta {
  margin-top: 8px;
  color: #6b8798;
  font-size: 10px;
}

.twin-centers .twin-center-meta em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 10px;
  color: #20855e;
  font-size: 9px;
  font-style: normal;
  background: #edf8f3;
}

.twin-centers .twin-center-load {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 4px;
  background: #e5eef2;
}

.twin-centers .twin-center-load em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #26ad9c, #248cc4);
}

/* Two-card operations row: compact, balanced, and fully occupied. */
.twin-ops {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.twin-ops .twin-card {
  min-height: 320px;
  padding: 18px 20px;
}

.twin-ops .twin-card header {
  margin-bottom: 12px;
}

.twin-ops .twin-sources {
  gap: 9px;
}

.twin-ops .twin-sources li {
  min-height: 72px;
  padding: 11px 13px;
}

.twin-ops .twin-sources li div small {
  margin-top: 7px;
  color: #547990;
  font-size: 10px;
}

.twin-ops .twin-monitors {
  gap: 9px;
}

.twin-ops .twin-monitors > div {
  min-height: 88px;
  padding: 10px 12px;
  grid-template-columns: minmax(0, 1fr) 110px;
}

.twin-ops .twin-monitors > div:nth-child(-n+2) strong {
  margin-top: 5px;
  font-size: 28px;
}

.twin-ops .twin-events-compact {
  margin-top: 8px;
}

.twin-ops .twin-events-compact li {
  padding: 4px 0;
}

@media (max-width: 900px) {
  .twin-ops {
    grid-template-columns: 1fr;
  }
}

/* Slim operations row while preserving the current two-card structure. */
.twin-ops .twin-card {
  min-height: 208px;
  padding: 11px 16px;
}

.twin-ops .twin-card header {
  margin-bottom: 7px;
}

.twin-ops .twin-sources {
  gap: 6px 8px;
}

.twin-ops .twin-sources li {
  min-height: 48px;
  padding: 6px 10px;
}

.twin-ops .twin-sources strong {
  font-size: 11px;
}

.twin-ops .twin-sources span {
  margin-top: 1px;
  font-size: 9px;
}

.twin-ops .twin-sources li div small {
  margin-top: 2px;
  font-size: 9px;
}

.twin-ops .twin-sources em {
  font-size: 10px;
}

.twin-ops .twin-monitors {
  gap: 6px 8px;
}

.twin-ops .twin-monitors > div {
  min-height: 61px;
  padding: 6px 10px;
  grid-template-columns: minmax(0, 1fr) 92px;
}

.twin-ops .twin-monitors > div:nth-child(-n+2) strong {
  margin-top: 2px;
  font-size: 23px;
}

.twin-ops .twin-monitors > div strong {
  margin-top: 2px;
}

.twin-ops .twin-monitors > div span,
.twin-ops .twin-monitors > div small {
  font-size: 9px;
}

.twin-ops .twin-sparkline {
  height: 34px;
}

.twin-ops .twin-events-compact {
  margin-top: 5px;
}

.twin-ops .twin-events-compact li {
  padding: 1px 0;
  font-size: 9px;
}

/* Dense top cards with readable type and compact trend labeling. */
.twin-ops .twin-card {
  min-height: 176px;
  padding: 9px 14px 11px;
}

.twin-ops .twin-card header {
  margin-bottom: 6px;
}

.twin-ops .twin-card h2 {
  font-size: 17px;
}

.twin-ops .twin-sources {
  gap: 5px 8px;
}

.twin-ops .twin-sources li {
  min-height: 39px;
  padding: 5px 9px;
}

.twin-ops .twin-sources strong {
  font-size: 12px;
}

.twin-ops .twin-sources span {
  margin-top: 2px;
  font-size: 10px;
}

.twin-ops .twin-sources em {
  font-size: 11px;
}

.twin-ops .twin-monitors {
  flex: 1 1;
  gap: 6px 8px;
}

.twin-ops .twin-monitors > div {
  min-height: 62px;
  padding: 7px 10px;
  grid-template-columns: minmax(0, 1fr) 106px;
  align-items: center;
}

.twin-ops .twin-monitors > div:nth-child(-n+2) strong,
.twin-ops .twin-monitors > div strong {
  margin-top: 4px;
  font-size: 25px;
}

.twin-ops .twin-monitors > div section > small {
  font-size: 10px;
}

.twin-monitor-trend {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.twin-monitor-trend > small {
  margin-bottom: 2px;
  color: #7893a4;
  font-size: 9px;
  text-align: right;
}

.twin-ops .twin-monitor-trend .twin-sparkline {
  width: 100%;
  height: 30px;
}

/* Map workspace: 地图居中收窄，两侧信息栏加宽，保证表格/指标不被挤压。 */
@media (min-width: 1261px) {
  .twin-stage {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 2.62fr) minmax(330px, 1fr);
    gap: 12px;
  }

  /* 侧栏必须跟随栅格拉伸：早期规则用 width:340px 把右栏钉死，
     栅格给 330 时会溢出、给 365 时又缩进，导致右边缘与下方图表面板错位。 */
  .twin-stage > aside:last-child {
    width: auto;
  }
}

.twin-map {
  position: relative;
}

.twin-map-toolbar {
  position: absolute;
  z-index: 12;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  pointer-events: auto;
}

.twin-color-mode {
  display: flex;
  padding: 3px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(8, 127, 186, .22);
}

.twin-color-mode button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #3d6480;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.twin-color-mode button.is-active {
  background: #087fba;
  color: #fff;
}

.twin-color-mode button:last-child.is-active {
  background: linear-gradient(90deg, #1d4ed8, #b91c1c);
}

.twin-map .twin-panorama-button {
  min-width: 112px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #087fba, #0f9b8e);
  box-shadow: 0 8px 22px rgba(8, 127, 186, .38);
  cursor: pointer;
}

.twin-map .twin-panorama-button:hover {
  background: linear-gradient(135deg, #056b9f, #0d7a70);
  transform: translateY(-1px);
}

.twin-map .twin-panorama-button.is-playing {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  box-shadow: 0 8px 22px rgba(194, 65, 12, .35);
}

.twin-map-period-label {
  display: inline-flex;
  margin: 0;
}

.twin-map-period {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 7px 28px 7px 12px;
  border: 1px solid rgba(190, 221, 234, .9);
  border-radius: 16px;
  background:
    linear-gradient(45deg, transparent 50%, #2f5f79 50%) calc(100% - 14px) calc(50% - 2px) / 5px 5px no-repeat,
    linear-gradient(135deg, #2f5f79 50%, transparent 50%) calc(100% - 10px) calc(50% - 2px) / 5px 5px no-repeat,
    rgba(255,255,255,.92);
  color: #2f5f79;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(36, 100, 134, .1);
  cursor: pointer;
}

.twin-map-period:hover,
.twin-map-period:focus {
  border-color: #168fbf;
  outline: none;
  background-color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.twin-time-mode {
  margin-top: 12px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.twin-time-slider {
  position: relative;
  z-index: 3;
  margin-top: 10px;
  padding: 10px 12px 8px;
  border: 1px solid #cfe4ef;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
}

.twin-time-slider input[type="range"] {
  width: 100%;
  accent-color: #0d7fb0;
}

.twin-time-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  color: #5a7e94;
  font-size: 11px;
}

.twin-time-labels strong {
  color: #0d6f9c;
  font-size: 13px;
}

.twin-map-legend {
  left: 22px;
  right: auto;
  bottom: 22px;
}

.twin-chart-host {
  width: 100%;
  min-height: 320px;
  border: 1px solid #d7e8f1;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7fbfd, #eef6fa);
}

.twin-node-kpis-minimal {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 9px;
  gap: 9px;
  margin-top: 22px;
  animation: twin-detail-in .28s ease-out;
}

.twin-node-kpis-minimal > div {
  display: flex;
  flex-direction: column;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  min-height: 105px;
  padding: 16px 17px;
  border: 1px solid #d9e8ef;
  border-radius: 9px;
  background: linear-gradient(145deg,#fff,#f5fafc);
}

.twin-node-kpis-minimal > div.is-green { border-top-color:#39aa82; }
.twin-node-kpis-minimal > div.is-gold { border-top-color:#dfa229; }
.twin-node-kpis-minimal > div.is-violet { border-top-color:#7669d7; }
.twin-node-kpis-minimal dt { align-self:center; color:#56798e; font-size:12px; font-weight:700; }
.twin-node-kpis-minimal dd { display:flex; align-items:baseline; justify-content:flex-end; gap:4px; margin:0; color:#073f63; line-height:1.15; }
.twin-node-kpis-minimal dd strong { font-size:25px; }
.twin-node-kpis-minimal dd em { color:#738e9e; font-size:9px; font-style:normal; font-weight:500; }
.twin-node-kpis-minimal small { grid-column:1/-1; display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:12px; padding-top:10px; border-top:1px solid #e6eef2; color:#8196a3; font-size:9px; }
.twin-node-kpis-minimal small span { font-weight:800; }
.twin-node-kpis-minimal small span.is-up { color:#21865f; }
.twin-node-kpis-minimal small span.is-down { color:#d28b1c; }
.twin-node-kpis-minimal small em { font-style:normal; }
.twin-detail-updated { margin-top:auto; padding-top:18px; color:#8198a6; font-size:10px; text-align:right; }
.twin-detail-note {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-left: 3px solid #14b8a6;
  border-radius: 0 6px 6px 0;
  background: #f0fdfa;
  color: #3d6478;
  font-size: 11px;
  line-height: 1.45;
}
.twin-compute-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 9px;
  border: 1px solid #b6e7e0;
  border-radius: 6px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.35;
}
.twin-compute-toggle input { accent-color: #0d9488; }
.twin-side-chart {
  width: 100%;
  min-height: 240px;
  margin-top: 4px;
}
.twin-map-legend-compute {
  flex-basis: 100%;
  margin-top: 2px;
  color: #0f766e;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

/* 算力集群用 HTML 叠加；容器不拦截，仅圆点可点，避免挡住省面 */
.energy-map-with-clusters {
  position: relative;
  pointer-events: none;
}

/* 南海诸岛：HTML 实色底板（在 canvas 下方），避免 ECharts 半透明叠主图 */
.map-shell-canvas-wrap {
  position: relative;
}
.nanhai-inset-panel {
  position: absolute;
  z-index: 20; /* 整框压在主图 / 集群点之上 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid #3f7290;
  border-radius: 4px;
  background: #eef6fb !important; /* 强制不透明实色 */
  box-shadow: 0 6px 18px rgba(15, 55, 78, 0.22);
  pointer-events: none;
  isolation: isolate;
}
.nanhai-inset-panel-title {
  box-sizing: border-box;
  flex: 0 0 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 6px 0 10px;
  border-bottom: 1px solid #c5d9e6;
  background: #e2eef6 !important;
  color: #1a4863;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nanhai-inset-toggle {
  flex: 0 0 auto;
  height: 18px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid #9bbcd0;
  border-radius: 3px;
  background: #fff;
  color: #2f5f7a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.nanhai-inset-toggle:hover {
  border-color: #3f7290;
  background: #f5fafc;
  color: #1a4863;
}
.nanhai-inset-reopen {
  position: absolute;
  z-index: 20;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1.5px solid #3f7290;
  border-radius: 4px;
  background: #eef6fb !important;
  color: #1a4863;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(15, 55, 78, 0.18);
  cursor: pointer;
  pointer-events: auto;
}
.nanhai-inset-reopen:hover {
  background: #e2eef6 !important;
}
.nanhai-inset-panel-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #eef6fb !important;
}
.map-shell-canvas-wrap > .map-shell-echarts {
  position: relative;
  z-index: 2;
}
.twin-map-clock {
  position: absolute;
  z-index: 8;
  top: 14px;
  left: 14px;
  min-width: 108px;
  padding: 8px 16px;
  border: 1px solid rgba(64, 137, 166, .12);
  border-radius: 12px;
  background: rgba(233, 245, 249, .42);
  color: #5d869b;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: none;
  pointer-events: none;
}
.twin-map-clock.is-playing {
  border-color: rgba(196, 140, 96, .16);
  background: rgba(255, 244, 232, .42);
  color: #a56a42;
  box-shadow: none;
}
.energy-map-with-clusters .map-shell-echarts,
.energy-map-with-clusters .map-shell-loading {
  pointer-events: auto;
}
.energy-sea-label {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #2f6280;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  white-space: nowrap;
  text-shadow:
    0 0 3px rgba(231, 244, 249, 0.98),
    0 1px 0 rgba(255, 255, 255, 0.85);
  opacity: 0.9;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.energy-compute-marker {
  position: absolute;
  z-index: 4;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0d9488;
  box-shadow: 0 2px 8px rgba(13, 148, 136, .35);
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
}
.energy-compute-marker.is-muted {
  background: #94a3b8;
  box-shadow: none;
  opacity: .85;
}
.energy-compute-marker.is-selected {
  background: #c2410c;
  border-width: 2.5px;
  box-shadow: 0 0 0 3px rgba(245, 158, 66, .45);
}
.energy-compute-marker > span {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 5px;
  border: 1px solid #99f6e4;
  border-radius: 3px;
  background: rgba(255, 255, 255, .92);
  color: #0f766e;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.energy-compute-marker.is-selected > span {
  border-color: #fdba74;
  color: #9a3412;
}
@keyframes twin-detail-in { from { opacity:0; transform:translateY(5px) } to { opacity:1; transform:none } }

.twin-chart-actions { display:flex; align-items:center; gap:10px; }
.twin-detail-link { padding:10px 15px; border:1px solid #087fba; border-radius:8px; color:#fff; font-size:11px; font-weight:800; text-decoration:none; background:linear-gradient(135deg,#087fba,#18a4bc); box-shadow:0 7px 16px rgba(15,132,174,.2); white-space:nowrap; }
.twin-detail-link:hover { border-color:#056b9f; background:linear-gradient(135deg,#056fa7,#1197ad); transform:translateY(-1px); }

@media (max-width: 900px) {
  .twin-chart-actions { align-items:stretch; flex-direction:column; }
  .twin-detail-link { text-align:center; }
}
.twin-ops,
.twin-section-heading,
.twin-stage,
.twin-charts,
.twin-bottom {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.twin-ops {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.twin-chart-actions {
  flex: 0 0 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.twin-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 164px;
  width: 164px;
  height: 38px;
  padding: 0 14px;
  box-sizing: border-box;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.twin-detail-link:hover {
  transform: none;
  box-shadow: 0 8px 18px rgba(15,132,174,.24);
}

.twin-node-kpis-minimal > div {
  position: relative;
  overflow: hidden;
  border-color: #c8dfe9;
  border-width: 1px;
  border-top-width: 1px;
  border-radius: 11px;
  background: linear-gradient(135deg,#fff 0%,#f1f8fb 100%);
  box-shadow: 0 7px 17px rgba(28,95,124,.075);
}

.twin-node-kpis-minimal > div::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #218fc1;
}

.twin-node-kpis-minimal > div.is-green::before { background:#39aa82; }
.twin-node-kpis-minimal > div.is-gold::before { background:#dfa229; }
.twin-node-kpis-minimal > div.is-violet::before { background:#7669d7; }

@media (max-width: 900px) {
  .twin-detail-link {
    flex-basis: 100%;
    width: 100%;
  }
}

.energy-marker-leader { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.energy-marker-leader line { stroke:#49a99e; stroke-width:1; }
.energy-compute-marker:hover,.energy-compute-marker:focus-visible { z-index:6; }

/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/node-detail-dashboard.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
.node-dashboard-page{min-height:100vh;background:radial-gradient(circle at 16% 0,rgba(94,190,226,.14),transparent 32%),#f3f8fb;color:#0b4667}.node-dashboard{width:min(1540px,calc(100% - 48px));margin:0 auto;padding:28px 0 54px}.node-dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;padding:26px 30px;border:1px solid #cfe2eb;border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(240,249,253,.92));box-shadow:0 12px 30px rgba(29,92,119,.08)}.node-dashboard-hero span,.node-panel header span{color:#1183b5;font-size:11px;font-weight:800;letter-spacing:.12em}.node-dashboard-hero h1{margin:7px 0 4px;font-size:31px}.node-dashboard-hero p{margin:0;color:#6d8a9c;font-size:12px}.node-dashboard-hero>div:last-child{display:flex;align-items:center;gap:10px}.node-dashboard-hero b,.node-dashboard-hero a{padding:8px 12px;border-radius:8px;font-size:11px;text-decoration:none}.node-dashboard-hero b{color:#16845d;background:#eaf8f2}.node-dashboard-hero a{border:1px solid #bddbea;color:#0877ad;background:#fff}.node-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin:16px 0}.node-metric-grid article,.node-panel{border:1px solid #d4e5ed;border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(30,91,119,.06)}.node-metric-grid article{position:relative;padding:20px;overflow:hidden}.node-metric-grid article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#238fc0}.node-metric-grid .is-green:before{background:#2baa7d}.node-metric-grid .is-gold:before{background:#dfa126}.node-metric-grid .is-violet:before{background:#7767d9}.node-metric-grid span,.node-metric-grid small{display:block;color:#7892a2;font-size:11px}.node-metric-grid strong{display:block;margin:10px 0 8px;color:#073f63;font-size:25px}.node-dashboard-grid{display:grid;grid-template-columns:1.45fr .75fr;grid-gap:14px;gap:14px}.node-panel{padding:20px}.node-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.node-panel h2{margin:4px 0 0;font-size:18px}.node-panel header>b{color:#7892a2;font-size:10px}.node-trend-panel svg{width:100%;height:210px}.node-time-axis{display:flex;justify-content:space-between;color:#8198a7;font-size:9px}.node-structure>div{margin:17px 0}.node-structure p{display:flex;justify-content:space-between;margin:0 0 7px;font-size:11px}.node-structure i{display:block;height:7px;border-radius:7px;background:#e6eef2}.node-structure em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#25ae9a,#238ec1)}.node-benefits{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.node-benefits div{padding:18px;border-radius:9px;background:#f4fafc}.node-benefits span,.node-benefits strong{display:block}.node-benefits span{color:#7892a2;font-size:10px}.node-benefits strong{margin-top:8px;font-size:19px}.node-links{margin:0;padding:0;list-style:none}.node-links li{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e1ebf0}.node-links span b,.node-links span small{display:block}.node-links small{margin-top:4px;color:#7892a2}.node-links em{padding:4px 8px;border-radius:10px;color:#19805c;font-size:9px;font-style:normal;background:#eaf8f2}.node-events-panel{grid-column:1/-1}.node-events-panel ol{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.node-events-panel li{display:flex;gap:12px;padding:14px;border-radius:8px;background:#f5fafc;font-size:11px}.node-events-panel time{color:#0b84ba;font-weight:800}.node-missing{text-align:center;padding-top:120px}.node-missing a{display:inline-block;margin-top:18px;padding:10px 16px;border-radius:8px;color:#fff;background:#087fba;text-decoration:none}@media(max-width:900px){.node-metric-grid{grid-template-columns:repeat(2,1fr)}.node-dashboard-grid{grid-template-columns:1fr}.node-events-panel ol{grid-template-columns:1fr}.node-dashboard-hero{align-items:flex-start;gap:18px;flex-direction:column}}
.node-metric-grid small{display:flex;gap:8px;align-items:center}.node-metric-grid small b{font-weight:800}.node-metric-grid .is-up,.node-detail-table .is-up{color:#21865f}.node-metric-grid .is-down,.node-detail-table .is-down{color:#d28b1c}.node-compare-panel,.node-detail-table{grid-column:1/-1}.node-compare-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}.node-compare-grid>div{padding:14px;border:1px solid #deebf1;border-radius:9px;background:#f7fbfd}.node-compare-grid p,.node-compare-grid small{display:flex;justify-content:space-between;gap:8px;margin:0}.node-compare-grid p{align-items:end;font-size:11px}.node-compare-grid p b{font-size:16px}.node-compare-grid i{display:block;height:6px;margin:12px 0 8px;border-radius:6px;background:#e3edf2}.node-compare-grid i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#24ac93,#188bc0)}.node-compare-grid small{color:#7892a2;font-size:9px}.node-detail-table{overflow:auto}.node-detail-table table{width:100%;border-collapse:collapse;font-size:10px}.node-detail-table th,.node-detail-table td{padding:11px 12px;border-bottom:1px solid #e2edf2;text-align:left}.node-detail-table th{color:#668496;background:#f3f9fb}.node-detail-table td span{display:inline-block;padding:4px 8px;border-radius:10px;color:#19805c;background:#eaf8f2}@media(max-width:900px){.node-compare-grid{grid-template-columns:1fr 1fr}}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/landing-home.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
.landing-page{--lh-ink:#073e58;--lh-blue:#087ca8;--lh-teal:#19a795;--lh-line:#d3e5eb;--lh-mist:#f0f7f9;min-height:100vh;background:#f7fbfc;color:var(--lh-ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif}.landing-page main{max-width:none;padding:0}.landing-hero{position:relative;min-height:clamp(590px,78vh,820px);overflow:hidden;background:#06394f;color:#fff}.landing-hero-art{position:absolute;inset:0;background:url("/assets/tianheng-home-hero.svg") center/cover no-repeat;transform:scale(1.015);animation:landing-scene-in 1.6s ease-out both}.landing-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,31,47,.94) 0%,rgba(2,43,61,.82) 35%,rgba(3,56,71,.28) 65%,rgba(3,34,49,.18) 100%)}.landing-hero-shade:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,20,32,.08),transparent 54%,rgba(0,25,38,.62));pointer-events:none}.landing-hero-copy{position:absolute;z-index:2;top:48%;left:max(48px,6.2vw);width:min(650px,48vw);transform:translateY(-50%);animation:landing-copy-in .9s .16s ease-out both}.landing-eyebrow{margin:0 0 20px;color:#83ddd3;font-size:12px;font-weight:800;letter-spacing:.24em}.landing-hero h1{margin:0;font-size:clamp(42px,4.25vw,72px);font-weight:800;line-height:1.11;letter-spacing:-.045em;text-shadow:0 5px 30px rgba(0,22,34,.42)}.landing-lead{max-width:610px;margin:26px 0 0;color:#d7e9ed;font-size:clamp(14px,1.05vw,18px);line-height:2}.landing-hero-legend{position:absolute;z-index:2;right:max(30px,4vw);bottom:31px;display:flex;gap:8px}.landing-hero-legend span{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid rgba(220,255,250,.22);border-radius:20px;background:rgba(3,41,57,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#d8eeee;font-size:10px}.landing-hero-legend i{display:block;width:7px;height:7px;border-radius:50%;background:#63d9ca;box-shadow:0 0 8px currentColor}.landing-hero-legend .is-compute{border-radius:1px;transform:rotate(45deg);background:#7bc9ff}.landing-hero-legend .is-network{width:15px;height:2px;border-radius:2px;background:#edbd5a}.landing-scroll{position:absolute;z-index:2;left:max(48px,6.2vw);bottom:31px;display:flex;align-items:center;gap:12px;color:#a8cbd2;font-size:10px;letter-spacing:.14em;text-decoration:none}.landing-scroll span{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(222,255,250,.28);border-radius:50%;animation:landing-scroll 1.8s ease-in-out infinite}.landing-section{width:min(1480px,calc(100% - 72px));margin:0 auto;padding:96px 0}.landing-section-heading{position:relative;margin-bottom:42px}.landing-section-heading>p{margin:0 0 10px;color:var(--lh-blue);font-size:11px;font-weight:800;letter-spacing:.18em}.landing-section-heading h2{margin:0;font-size:clamp(29px,2.6vw,42px);letter-spacing:-.04em}.landing-section-heading>span{position:absolute;right:0;bottom:4px;color:#728c99;font-size:12px}.landing-overview-grid{display:grid;grid-template-columns:1.05fr .95fr;grid-gap:28px;gap:28px}.landing-overview-copy,.landing-overview-visual{min-height:340px;border:1px solid var(--lh-line);border-radius:18px;background:#fff}.landing-overview-copy{display:flex;flex-direction:column;padding:44px 48px}.landing-overview-copy h3{margin:0 0 16px;font-size:19px}.landing-overview-copy>p{max-width:690px;margin:0;color:#587888;font-size:14px;line-height:2}.landing-overview-copy dl{display:grid;grid-template-columns:repeat(3,1fr);margin:auto 0 0;padding-top:27px;border-top:1px solid #e0ebef}.landing-overview-copy dl div+div{padding-left:28px;border-left:1px solid #e0ebef}.landing-overview-copy dt{font-size:29px;font-weight:800}.landing-overview-copy dd{margin:3px 0 0;color:#718b98;font-size:11px}.landing-overview-visual{position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(84,207,193,.18),transparent 35%),linear-gradient(145deg,#e8f7f7,#f9fcfd)}.landing-overview-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(15,131,158,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,131,158,.06) 1px,transparent 1px);background-size:34px 34px}.landing-overview-visual>p{position:absolute;bottom:22px;color:#63818f;font-size:10px;letter-spacing:.06em}.landing-orbit{position:relative;width:260px;height:260px;border:1px solid rgba(19,144,163,.28);border-radius:50%;animation:landing-orbit 26s linear infinite}.landing-orbit:before,.landing-orbit:after{content:"";position:absolute;border:1px dashed rgba(19,144,163,.23);border-radius:50%}.landing-orbit:before{inset:34px}.landing-orbit:after{inset:72px}.landing-core,.landing-orbit-node{position:absolute;z-index:2;display:grid;place-items:center;border-radius:50%;font-weight:800}.landing-core{inset:91px;background:linear-gradient(145deg,#087da8,#19a693);box-shadow:0 12px 30px rgba(8,125,168,.2);color:#fff;font-size:14px;text-align:center}.landing-orbit-node{width:54px;height:54px;border:1px solid #cce5e9;background:#fff;box-shadow:0 8px 22px rgba(16,91,113,.12);font-size:12px;animation:landing-orbit 26s linear reverse infinite}.landing-orbit-node.is-power{left:-10px;top:96px;color:#1687bc}.landing-orbit-node.is-compute{right:20px;top:6px;color:#168f79}.landing-orbit-node.is-network{right:10px;bottom:14px;color:#6558c9}.landing-tech{width:100%;max-width:none;padding-left:max(36px,calc((100vw - 1480px)/2));padding-right:max(36px,calc((100vw - 1480px)/2));background:#073b51;color:#fff}.landing-tech .landing-section-heading>p{color:#70d2ca}.landing-tech .landing-section-heading>span{color:#a8c2cb}.landing-tech-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(218,250,247,.2);border-bottom:1px solid rgba(218,250,247,.2)}.landing-tech-grid article{min-height:275px;padding:30px 28px;border-right:1px solid rgba(218,250,247,.16)}.landing-tech-grid article:last-child{border:0}.landing-tech-grid article>span{color:#64cfc5;font-size:11px;font-weight:800}.landing-tech-grid h3{margin:40px 0 14px;font-size:20px}.landing-tech-grid p{min-height:72px;margin:0;color:#b7d0d7;font-size:12px;line-height:1.8}.landing-tech-grid article>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px}.landing-tech-grid em{padding:5px 8px;border:1px solid rgba(211,246,241,.18);border-radius:12px;color:#a9cfce;font-size:9px;font-style:normal}.landing-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:15px;gap:15px}.landing-capability-grid>a{position:relative;padding:12px 12px 24px;border:1px solid var(--lh-line);border-radius:16px;background:#fff;color:var(--lh-ink);text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}.landing-capability-grid>a:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(15,82,105,.12)}.landing-capability-image{position:relative;height:190px;margin-bottom:22px;overflow:hidden;border-radius:10px;background-color:#dceff3;background-image:linear-gradient(rgba(255,255,255,.55) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.55) 1px,transparent 1px);background-size:26px 26px}.landing-capability-image:before,.landing-capability-image:after{content:"";position:absolute}.is-map .landing-capability-image:before{inset:25px 33px;border-radius:55% 30% 50% 38%;background:#8ec8c3;transform:rotate(-8deg);box-shadow:0 12px 22px rgba(18,112,126,.2)}.is-map .landing-capability-image:after{left:18%;right:10%;top:49%;height:3px;background:#0c99ae;transform:rotate(-10deg);box-shadow:0 0 8px #35b8bd}.is-workspace .landing-capability-image:before{inset:24px;background:#fff;border:1px solid #bcdbe4;border-radius:8px;box-shadow:inset 75px 0 #eff7f8}.is-workspace .landing-capability-image:after{left:113px;right:45px;top:58px;height:56px;border-bottom:26px solid #1a9e9d;border-left:18px solid transparent;border-right:18px solid transparent;opacity:.78}.is-sandbox .landing-capability-image:before{width:115px;height:115px;left:50%;top:50%;border:2px solid #2098aa;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 28px rgba(31,164,158,.1),0 0 0 52px rgba(31,164,158,.06)}.is-sandbox .landing-capability-image:after{width:18px;height:18px;left:calc(50% - 9px);top:calc(50% - 9px);border-radius:50%;background:#e7ad42;box-shadow:70px -20px #23aa96,-54px 40px #168bb6}.is-dashboard .landing-capability-image:before{left:25px;right:25px;bottom:36px;height:80px;background:linear-gradient(135deg,transparent 8%,#148ab7 9% 12%,transparent 13% 27%,#22a891 28% 31%,transparent 32% 46%,#e2a438 47% 50%,transparent 51%);border-bottom:1px solid #94b9c5}.is-dashboard .landing-capability-image:after{left:28px;right:28px;top:28px;height:34px;background:linear-gradient(90deg,#fff 0 31%,transparent 31% 34%,#fff 34% 65%,transparent 65% 68%,#fff 68%);border-radius:5px}.landing-capability-grid>a>span{color:#0d8ba9;font-size:10px;font-weight:800}.landing-capability-grid h3{margin:7px 0 10px;font-size:18px}.landing-capability-grid p{min-height:56px;margin:0;color:#66838f;font-size:11px;line-height:1.75}.landing-capability-grid b{display:flex;justify-content:space-between;margin-top:23px;padding-top:14px;border-top:1px solid #e1ecef;color:#0b799e;font-size:10px}.landing-capability-grid b em{font-size:15px;font-style:normal}.landing-process{padding-top:52px}.landing-process ol{display:grid;grid-template-columns:repeat(5,1fr);margin:0;padding:0;border-top:1px solid var(--lh-line);border-bottom:1px solid var(--lh-line);list-style:none}.landing-process li{position:relative;display:flex;align-items:center;gap:13px;padding:30px 22px;border-right:1px solid var(--lh-line)}.landing-process li:last-child{border:0}.landing-process li>span{color:#1594ab;font-size:10px;font-weight:800}.landing-process li>b{font-size:14px}.landing-process li>i{position:absolute;right:-11px;z-index:2;display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--lh-line);border-radius:50%;background:#fff;color:#168aa5;font-size:10px;font-style:normal}.landing-footer{display:flex;align-items:center;justify-content:space-between;max-width:none;padding:30px max(36px,calc((100vw - 1480px)/2));border-top:1px solid #d8e7ec;background:#eef6f8;color:#5c7c8a}.landing-footer>div{display:flex;align-items:center;gap:12px}.landing-footer img{width:38px;height:38px;object-fit:contain}.landing-footer span b,.landing-footer span small{display:block}.landing-footer span b{color:#0b4a64;font-size:12px}.landing-footer span small,.landing-footer p{margin:3px 0 0;font-size:9px}.landing-footer p{letter-spacing:.08em}@keyframes landing-scene-in{from{opacity:.2;transform:scale(1.07)}to{opacity:1;transform:scale(1.015)}}@keyframes landing-copy-in{from{opacity:0;transform:translateY(calc(-50% + 24px))}to{opacity:1;transform:translateY(-50%)}}@keyframes landing-scroll{50%{transform:translateY(5px)}}@keyframes landing-orbit{to{transform:rotate(360deg)}}@media(max-width:1050px){.landing-hero{min-height:660px}.landing-hero-copy{width:63vw}.landing-hero-shade{background:linear-gradient(90deg,rgba(1,31,47,.95),rgba(2,43,61,.68) 62%,rgba(3,34,49,.25))}.landing-section{width:calc(100% - 44px);padding:70px 0}.landing-overview-grid{grid-template-columns:1fr}.landing-tech-grid,.landing-capability-grid{grid-template-columns:1fr 1fr}.landing-tech{width:100%;padding-left:22px;padding-right:22px}.landing-section-heading>span{position:static;display:block;margin-top:10px}.landing-process ol{grid-template-columns:1fr 1fr 1fr}.landing-process li:nth-child(3){border-right:0}.landing-process li:nth-child(n+4){border-top:1px solid var(--lh-line)}}@media(max-width:680px){.landing-hero{min-height:620px}.landing-hero-art{background-position:64% center}.landing-hero-shade{background:linear-gradient(90deg,rgba(1,31,47,.96),rgba(2,43,61,.73))}.landing-hero-copy{left:24px;width:calc(100% - 48px)}.landing-hero h1{font-size:38px}.landing-lead{font-size:13px;line-height:1.8}.landing-hero-legend{display:none}.landing-scroll{left:24px}.landing-section{width:calc(100% - 32px);padding:58px 0}.landing-section-heading{margin-bottom:27px}.landing-overview-copy{min-height:0;padding:28px 24px}.landing-overview-copy dl{gap:10px;margin-top:30px}.landing-overview-copy dl div+div{padding-left:10px}.landing-overview-copy dt{font-size:21px}.landing-overview-visual{min-height:310px}.landing-tech{width:100%;padding-left:16px;padding-right:16px}.landing-tech-grid,.landing-capability-grid{grid-template-columns:1fr}.landing-tech-grid article{min-height:0;border-right:0;border-bottom:1px solid rgba(218,250,247,.16)}.landing-tech-grid h3{margin-top:24px}.landing-tech-grid p{min-height:0}.landing-process ol{grid-template-columns:1fr}.landing-process li{border-right:0;border-bottom:1px solid var(--lh-line)}.landing-process li>i{right:20px;transform:rotate(90deg)}.landing-footer{align-items:flex-start;gap:20px;flex-direction:column;padding:26px 18px}}@media(prefers-reduced-motion:reduce){.landing-hero-art,.landing-hero-copy,.landing-scroll span,.landing-orbit,.landing-orbit-node{animation:none}.landing-capability-grid>a{transition:none}}
.landing-hero h1{font-size:clamp(38px,3.55vw,62px);white-space:nowrap}.landing-overview-copy dt{font-size:18px}@media(max-width:680px){.landing-hero h1{font-size:36px;white-space:normal}}
.landing-film{padding-top:72px}
.landing-film-stage{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--lh-line);border-radius:18px;background:#0b1c26}
.landing-film-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#0b1c26}
.landing-film-stage:-webkit-full-screen{border:0;border-radius:0;background:#f4fafd}
.landing-film-stage:fullscreen,.landing-film-stage:-webkit-full-screen{border:0;border-radius:0;background:#f4fafd}
.landing-film-actions{display:flex;align-items:center;gap:16px;margin-top:14px}
.landing-film-actions button{height:36px;padding:0 16px;border:1px solid var(--lh-blue);border-radius:999px;background:#fff;color:var(--lh-blue);font-size:13px;font-weight:800;cursor:pointer}
.landing-film-actions button:hover{background:#e7f5fb}
.landing-film-actions p{margin:0;color:#728c99;font-size:12px}
@media(max-width:680px){.landing-film-actions{align-items:flex-start;flex-direction:column}}
.landing-coming{background:linear-gradient(180deg,#f7fbfc 0%,#eef8f6 48%,#f7fbfc 100%)}
.landing-coming-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);grid-gap:28px;gap:28px;align-items:stretch}
.landing-coming-stage{min-height:0;aspect-ratio:16/9}
.landing-coming-side{display:flex;flex-direction:column;padding:28px 30px;border:1px solid var(--lh-line);border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(7,62,88,.05)}
.landing-coming-badge{align-self:flex-start;margin:0 0 14px;padding:5px 12px;border-radius:999px;background:linear-gradient(120deg,#0f766e,#0284c7);color:#fff;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.12em}
.landing-coming-side>strong{margin:0 0 10px;color:var(--lh-ink);font-size:22px;letter-spacing:.08em}
.landing-coming-side>p{margin:0 0 22px;color:#587888;font-size:13px;line-height:1.85}
.landing-coming-side ul{display:grid;grid-gap:14px;gap:14px;margin:0 0 auto;padding:0;list-style:none}
.landing-coming-side li{display:grid;grid-gap:4px;gap:4px;padding-bottom:12px;border-bottom:1px solid #e4eef1}
.landing-coming-side li:last-child{border:0;padding-bottom:0}
.landing-coming-side li b{color:#0b4a64;font-size:14px}
.landing-coming-side li span{color:#6a8794;font-size:12px;line-height:1.7}
.landing-coming-side .landing-film-actions{margin-top:24px}
@media(max-width:1050px){.landing-coming-layout{grid-template-columns:1fr}}
@media(max-width:680px){.landing-coming-side{padding:22px 18px}}
.landing-coming-showcase{margin-top:36px;padding:22px;border:1px solid var(--lh-line);border-radius:20px;background:linear-gradient(165deg,#fff,#f3faf8 55%,#eef6fb)}
.landing-coming-showcase-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.landing-coming-showcase-head em{display:block;margin:0 0 6px;color:#0f766e;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.16em}
.landing-coming-showcase-head strong{display:block;color:var(--lh-ink);font-size:20px}
.landing-coming-showcase-head p{max-width:820px;margin:8px 0 0;color:#587888;font-size:13px;line-height:1.7}
.landing-coming-showcase-head>span{flex:none;color:#728c99;font-size:11px;white-space:nowrap}
.landing-coming-stage-grid{display:grid;grid-template-columns:minmax(0,1.2fr) 340px 280px;grid-gap:14px;gap:14px;align-items:stretch;min-height:520px}
.landing-coming-stage-grid.is-phone-folded{grid-template-columns:minmax(0,1.45fr) 72px 280px}
.landing-coming-graph-pane,.landing-coming-phone-pane,.landing-coming-engine-pane{min-width:0;min-height:0;border:1px solid #d7e7ec;border-radius:16px;background:#fff;overflow:hidden}
.landing-coming-graph-pane{display:flex;flex-direction:column}
.landing-coming-graph-pane>header{display:flex;align-items:baseline;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e4eef1}
.landing-coming-graph-pane>header b{color:#0b4a64;font-size:13px}
.landing-coming-graph-pane>header small{color:#7a93a0;font-size:11px}
.landing-coming-graph-host{flex:1 1;min-height:320px}
.landing-coming-graph-host>div{height:100%!important;min-height:320px}
.landing-coming-metrics-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;grid-gap:8px;gap:8px;padding:10px 12px;border-top:1px solid #e4eef1;background:#f7fbfc}
.landing-coming-metrics-strip>div{min-width:0}
.landing-coming-metrics-strip em{display:block;color:#6a8794;font-size:10px;font-style:normal}
.landing-coming-metrics-strip strong{display:block;margin-top:2px;color:#0b4a64;font-size:16px}
.landing-coming-metrics-strip small{margin-left:4px;color:#7a93a0;font-size:10px;font-weight:600}
.landing-coming-formula{grid-column:span 1;padding:6px 10px;border-radius:10px;background:#0f172a;color:#e2e8f0;min-width:180px}
.landing-coming-formula em{display:block;color:#94a3b8;font-size:10px;font-style:normal}
.landing-coming-formula code{display:block;margin-top:4px;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.landing-coming-phone-pane{position:relative;display:flex;justify-content:center;align-items:stretch;padding:10px 8px;background:linear-gradient(180deg,#ecf7f4,#f8fbfd);overflow:hidden}
.landing-coming-phone-pane .swarm-phone{width:100%;height:100%;max-height:100%;transform:none}
.landing-coming-phone-pane .swarm-phone-device{height:min(100%,560px)}
.landing-coming-phone-pane .swarm-phone-folded{height:100%}
.landing-coming-phone-pane .swarm-phone-scroll{overscroll-behavior:contain}
.landing-coming-engine-pane{position:relative;background:#0b1220}
.landing-coming-engine-pane .swarm-engine-log{height:100%;border:0;border-radius:0}
.landing-coming-agree{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #d7e7ec;color:#587888;font-size:13px;line-height:1.7}
.landing-coming-agree b{margin-right:8px;color:#0b4a64}
@media(max-width:1200px){.landing-coming-stage-grid,.landing-coming-stage-grid.is-phone-folded{grid-template-columns:1fr;min-height:0}.landing-coming-phone-pane{min-height:560px}.landing-coming-engine-pane{min-height:280px}.landing-coming-metrics-strip{grid-template-columns:1fr 1fr}.landing-coming-formula{grid-column:1/-1}}
@media(max-width:680px){.landing-coming-showcase{padding:14px}.landing-coming-showcase-head{flex-direction:column;align-items:flex-start}}

/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/sandbox-entry-layout.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
/*
 * 沙盘入口布局（替代 game.css 里的断点降级方案）。
 *
 * 设计原则：
 * 1. 桌面端不做断点降级 —— 保持三栏结构，只设「最小可读宽度」（80rem）。
 *    低于该宽度由 .game-two-screen 整页滚动，而不是把栏位折叠成单列。
 * 2. 尺寸一律用 rem / svh，不用 px —— 浏览器缩放（改根字号）时整页等比缩放。
 * 3. 高度用 min-height 而非 height —— 内容超出时自然撑开，不再被裁切。
 * 4. 唯一需要「按容器变」的是模式卡标签换行，用 @container 按卡片自身宽度判断，
 *    而不是按视口宽度 —— 卡片被挤窄时立刻换行，与视口无关。
 * 5. px 只出现在容器内的极值（min-width:80rem），不参与排版节奏。
 */
.game-two-screen:has(>.sandbox-desktop-canvas){height:100svh;overflow:auto;scroll-snap-type:none}
body[data-platform-page="game"] .sandbox-desktop-canvas.game-entry-screen{width:100%!important;min-width:80rem;max-width:none!important;height:auto;min-height:100svh;overflow:visible;zoom:1}
.sandbox-desktop-canvas .platform-global-header{height:4.5rem;min-height:4.5rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1.5rem;padding:0 1.5rem}
.sandbox-desktop-canvas .platform-global-brand{flex:0 0 auto;min-width:max-content;max-width:none}
.sandbox-desktop-canvas .platform-global-brand strong{font-size:1.125rem;white-space:nowrap;line-height:1.3}
.sandbox-desktop-canvas .platform-global-logo-frame{flex:none}
.sandbox-desktop-canvas .platform-global-nav{order:0;flex:0 0 auto;width:auto;max-width:none;height:4.5rem;margin-left:auto;display:flex;flex-wrap:nowrap;gap:.5rem;overflow:visible}
.sandbox-desktop-canvas .platform-global-nav a{padding:0 1rem;font-size:.875rem;white-space:nowrap}
.sandbox-desktop-canvas .game-entry{display:grid;height:auto;min-height:calc(100svh - 4.5rem);grid-template-rows:minmax(34rem,1fr) auto;grid-row-gap:.75rem;row-gap:.75rem;padding-bottom:.75rem}
.sandbox-desktop-canvas .game-entry-map-layout.game-entry-energy{height:auto;min-height:34rem;display:grid;grid-template-columns:minmax(15rem,.75fr) minmax(37.5rem,2.5fr) minmax(22rem,.95fr);grid-template-rows:auto;grid-gap:.75rem;gap:.75rem;margin:.75rem 1rem 0;align-items:stretch}
.sandbox-desktop-canvas .game-entry-map-layout>.twin-card{padding:1rem;min-height:0;max-height:none;grid-column:auto;grid-row:auto;overflow:visible}
.sandbox-desktop-canvas .game-entry-map-layout>.game-entry-focus{grid-column:1;grid-row:1;display:flex;flex-direction:column}
.sandbox-desktop-canvas .game-entry-map-layout>.game-entry-map{grid-column:2;grid-row:1;display:flex;flex-direction:column;height:auto;min-height:0;margin:0;container-type:normal}
.sandbox-desktop-canvas .game-entry-map-layout>.game-entry-detail{grid-column:3;grid-row:1;display:flex;flex-direction:column}
.sandbox-desktop-canvas .game-entry-map-layout>.twin-card>header{flex:none;flex-wrap:nowrap;min-height:2.5rem;gap:.75rem}
.sandbox-desktop-canvas .game-entry-map-layout>.twin-card>header h2{width:auto;font-size:1.125rem}
/* 对称标题栏为右侧控件预留空间，不再使用绝对定位。 */
.sandbox-desktop-canvas .game-entry-energy>.game-entry-map>header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.sandbox-desktop-canvas .game-entry-energy>.game-entry-map>header h2{grid-column:2;grid-row:1;white-space:nowrap}
.sandbox-desktop-canvas .game-entry-energy>.game-entry-map>header .game-entry-energy-toolbar{grid-column:3;grid-row:1;justify-self:stretch;justify-content:flex-end;min-width:0;position:static;transform:none;max-width:none;flex-wrap:nowrap;gap:.5rem}
.sandbox-desktop-canvas .game-entry-focus .twin-location-selectors{grid-template-columns:1fr 1.35fr;margin-top:1rem;gap:.5rem}
.sandbox-desktop-canvas .game-entry-focus .twin-city{margin:1.25rem 0 .75rem}
.sandbox-desktop-canvas .game-entry-focus .twin-lines{margin:0 0 .75rem}
.sandbox-desktop-canvas .game-entry-focus .twin-lines li{padding:.375rem 0;font-size:.8125rem}
.sandbox-desktop-canvas .game-entry-focus fieldset{flex:none;padding:.75rem}
.sandbox-desktop-canvas .game-entry-focus .twin-layer{padding:.625rem 0}
.sandbox-desktop-canvas .game-entry-energy .game-entry-energy-canvas{height:auto;flex:1 1;min-height:24rem;margin-top:.75rem}
.sandbox-desktop-canvas .game-entry-detail .twin-detail-title{flex:none;padding:.75rem 0}
.sandbox-desktop-canvas .game-entry-detail .twin-node-kpis-minimal{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.75rem}
.sandbox-desktop-canvas .game-entry-detail .twin-node-kpis-minimal>div.has-comparison{min-height:7rem!important;padding:.75rem .625rem!important;gap:.5rem}
.sandbox-desktop-canvas .game-entry-detail .twin-node-kpis-minimal dd strong{font-size:1.625rem}
.sandbox-desktop-canvas .game-entry-detail .game-energy-card-comparison{flex-wrap:wrap;gap:.25rem .5rem;margin:.5rem 0 0;font-size:.6875rem;white-space:normal}
.sandbox-desktop-canvas .game-entry-detail .twin-node-context{flex:none;margin-top:.75rem;padding:.75rem .625rem .625rem}
.sandbox-desktop-canvas .game-entry-detail .game-energy-columns{height:clamp(9rem,18svh,14rem);min-height:9rem;max-height:14rem;flex:none}
/* 操作条在新布局里是独立卡片（不再与地图卡拼接），四角统一 14px，与其余三张卡一致；
   旧的 border-radius:0 0 16px 16px 与浅色上边框是「拼接面板」时代的遗留。 */
.sandbox-desktop-canvas .game-entry-actions{margin:0 1rem;padding:.75rem 1rem;grid-template-columns:1fr;grid-template-rows:auto;gap:.625rem;border-radius:.875rem;border-top-color:#bcddeb}
.sandbox-desktop-canvas .game-entry-bottom.mode-bottom-refined{display:grid;grid-template-columns:minmax(0,1fr) 8.5rem;grid-gap:1rem;gap:1rem}
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-roles.mode-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.75rem;gap:.75rem;width:100%;min-width:0}
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-role-title{margin:0 0 .5rem;font-size:1.3125rem}
/* 博弈模式卡：与分析卡同款居中排版（无图标），小字简介换成三个标签；选中后按场景上主题底纹——
   单人=放大镜问号（蓝，单人推演求解）、联机=三台终端互联（琥珀橙），与分析卡的三角/辐射底纹区分。
   底纹统一 5rem、距右下边框 .375rem（不再用负偏移出界，避免被圆角裁切）。 */
/* 未选中（默认）＝空白填充 + 平台蓝边框/文字，四张卡统一底版；只有选中后才切换成各自的主题色。 */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.625rem;min-height:5.75rem;padding:1rem;text-align:center;border:1px solid #5fa3cc;border-radius:.875rem;background:#fff;color:#075c96;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s,transform .18s}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button .mode-copy{display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:0;max-width:100%}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button .mode-copy strong{font-size:1.0625rem;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button .mode-tags{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.375rem;min-width:0;max-width:100%}
/* 未选中：标签也走平台蓝 */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button .mode-tags i{margin:0;padding:.1875rem .625rem;border-radius:999px;font-size:.75rem;font-style:normal;line-height:1.5;white-space:nowrap;background:#d9e9f5;color:#1d6690}
/* 未选中：底纹常驻，只是先穿「平台蓝」这件统一外衣；两张卡的图案各自保留（放大镜 / 三台终端）。 */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.solo{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Ccircle cx='50' cy='48' r='33'/%3E%3Cpath d='M41 38c0-11 22-11 22 0 0 8-11 10-11 18'/%3E%3Ccircle cx='52' cy='63' r='3.2' fill='%234a9ccb' stroke='none'/%3E%3Cpath d='M76 74 100 98' stroke-width='9'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#fff,#fff)}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Crect x='10' y='12' width='40' height='27' rx='3'/%3E%3Cpath d='M30 39v8M19 47h22'/%3E%3Crect x='10' y='72' width='40' height='27' rx='3'/%3E%3Cpath d='M30 99v8M19 107h22'/%3E%3Crect x='70' y='42' width='40' height='27' rx='3'/%3E%3Cpath d='M90 69v8M79 77h22'/%3E%3Cpath d='M30 55v9M57 30l13 18M57 79l13-18'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#fff,#fff)}
/* 未选中悬停：底子仍是空白，只加深描边 */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button:hover:not(.is-selected){transform:translateY(-2px);border-color:#2b86bd;box-shadow:0 10px 22px rgba(10,126,194,.16)}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.solo:hover:not(.is-selected){background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Ccircle cx='50' cy='48' r='33'/%3E%3Cpath d='M41 38c0-11 22-11 22 0 0 8-11 10-11 18'/%3E%3Ccircle cx='52' cy='63' r='3.2' fill='%234a9ccb' stroke='none'/%3E%3Cpath d='M76 74 100 98' stroke-width='9'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#eef7fd,#e2f1fb)}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online:hover:not(.is-selected){background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Crect x='10' y='12' width='40' height='27' rx='3'/%3E%3Cpath d='M30 39v8M19 47h22'/%3E%3Crect x='10' y='72' width='40' height='27' rx='3'/%3E%3Cpath d='M30 99v8M19 107h22'/%3E%3Crect x='70' y='42' width='40' height='27' rx='3'/%3E%3Cpath d='M90 69v8M79 77h22'/%3E%3Cpath d='M30 55v9M57 30l13 18M57 79l13-18'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#eef7fd,#e2f1fb)}
/* 选中·单人用户模拟三方博弈：蓝 + 「放大镜 + 问号」底纹（单人推演求解） */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.solo.is-selected{border-color:#168ccc;box-shadow:inset 0 0 0 1px #168ccc;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23168ccc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.35'%3E%3Ccircle cx='50' cy='48' r='33'/%3E%3Cpath d='M41 38c0-11 22-11 22 0 0 8-11 10-11 18'/%3E%3Ccircle cx='52' cy='63' r='3.2' fill='%23168ccc' stroke='none'/%3E%3Cpath d='M76 74 100 98' stroke-width='9'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#f0f9ff,#e4f2fb)}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.solo.is-selected .mode-copy strong{color:#0b6ba8}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.solo.is-selected:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #168ccc,0 10px 22px rgba(22,140,204,.16)}
/* 选中·三方用户联机博弈：琥珀橙 + 「三台终端互联」底纹（多端组网联机）。
   原紫色是冷色三角（蓝/青绿/蓝灰）里唯一带红的色相，突兀；换成暖色互补的琥珀橙。 */
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online.is-selected{border-color:#ba7517;box-shadow:inset 0 0 0 1px #ba7517;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23ba7517' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.35'%3E%3Crect x='10' y='12' width='40' height='27' rx='3'/%3E%3Cpath d='M30 39v8M19 47h22'/%3E%3Crect x='10' y='72' width='40' height='27' rx='3'/%3E%3Cpath d='M30 99v8M19 107h22'/%3E%3Crect x='70' y='42' width='40' height='27' rx='3'/%3E%3Cpath d='M90 69v8M79 77h22'/%3E%3Cpath d='M30 55v9M57 30l13 18M57 79l13-18'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#fdf7ed,#f9ecd9)}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online.is-selected .mode-copy strong{color:#8a5a10}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online.is-selected .mode-tags i{background:#faeeda;color:#8a5a10}
.sandbox-desktop-canvas .mode-bottom-refined .mode-roles button.online.is-selected:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #ba7517,0 10px 22px rgba(186,117,23,.16)}
/* 选中后的右上角对勾沿用 game.css 的 .mode-roles button.is-selected::after（solo 蓝 / online 琥珀）。 */
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-cta{display:flex;flex-direction:column;flex-wrap:nowrap;align-self:end;justify-content:flex-end;gap:.5rem;height:auto}
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-cta .primary{width:100%;flex:none;height:3rem}
/* 上一步：占用「下一步」上方的空白，不改变卡片总高度；字号与下一步一致 */
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-cta .ghost{display:flex;align-items:center;justify-content:center;gap:.375rem;width:100%;flex:none;height:2.375rem;border:1px solid #b8d8eb;border-radius:.625rem;background:#fff;color:#075b97;font-size:.9375rem;font-weight:800;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.sandbox-desktop-canvas .mode-bottom-refined .game-entry-cta .ghost:hover{border-color:#7cbde0;background:#f4faff;color:#054a7d}

.sandbox-desktop-canvas .game-entry-detail .game-energy-card-comparison>span{white-space:nowrap}

/* ── 分析模式层：与博弈模式卡片同框叠放，选完三方联合分析后「抬起」移出，露出下层卡片 ── */
/* width:100% 必须显式声明：.game-entry-actions 带 justify-items:center，缺省会收缩到内容宽度，
   导致两层卡片被挤窄、文字竖排（2026-10-16 实测坑）。 */
.sandbox-desktop-canvas .game-entry-stage{display:grid;width:100%}
.sandbox-desktop-canvas .game-entry-stage>.game-entry-stage-panel{grid-area:1/1;transition:opacity .34s ease,transform .34s cubic-bezier(.22,.61,.36,1),visibility .34s}
/* 分析层与博弈层同尺寸：卡片高度由两层中较高者（博弈层）决定，分析内容在该高度内垂直居中，
   因此切换过程中卡片高度不变、只有内容交叉淡入淡出。 */
.sandbox-desktop-canvas .game-entry-stage>.analysis-mode-panel{z-index:2;display:grid;align-content:center}
.sandbox-desktop-canvas .game-entry-stage>.mode-stage-panel{z-index:1}
/* 未选分析模式：博弈卡片在下方位移、透明，等待被揭示 */
.sandbox-desktop-canvas .game-entry-stage:not(.is-mode)>.mode-stage-panel{opacity:0;transform:translateY(.875rem) scale(.985);visibility:hidden;pointer-events:none}
/* 已选：分析层向上抬起并淡出 */
.sandbox-desktop-canvas .game-entry-stage.is-mode>.analysis-mode-panel{opacity:0;transform:translateY(-1rem) scale(.99);visibility:hidden;pointer-events:none}

/* 分析模式选项：未选中＝空白填充 + 平台蓝边框/文字（与博弈卡同一底版）；
   选中「三方联合分析」后才上青绿主题并切换底纹，标题同步转青绿。
   单方数据分析选中后走平台蓝，下一步进入原决策工作台。
   选中态为右上角对勾（与博弈卡一致），不再使用「已选择/可进入/开发中」状态胶囊。 */
.sandbox-desktop-canvas .analysis-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.75rem;gap:.75rem;width:100%;min-width:0}
.sandbox-desktop-canvas .analysis-roles>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;min-height:5.75rem;padding:1rem;text-align:center;border:1px solid #5fa3cc;border-radius:.875rem;background:#fff;color:#075c96;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s,transform .18s}
.sandbox-desktop-canvas .analysis-roles .analysis-copy{display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:0;max-width:100%}
.sandbox-desktop-canvas .analysis-roles .analysis-copy strong{font-size:1.0625rem;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sandbox-desktop-canvas .analysis-roles .analysis-copy small{font-size:.8125rem;font-weight:500;color:#45708f;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* 未选中：三方联合分析的底纹常驻，先走平台蓝；选中后才同步转青绿。 */
.sandbox-desktop-canvas .analysis-roles>button.joint{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' opacity='.45'%3E%3Ccircle cx='60' cy='32' r='11'/%3E%3Ccircle cx='32' cy='82' r='11'/%3E%3Ccircle cx='88' cy='82' r='11'/%3E%3Cpath d='M52 42 40 70M68 42 80 70M43 82h34'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#fff,#fff)}
/* 未选中悬停：底子仍是空白，只加深描边 */
.sandbox-desktop-canvas .analysis-roles>button:hover:not(:disabled):not(.is-selected){transform:translateY(-2px);border-color:#2b86bd;box-shadow:0 10px 22px rgba(10,126,194,.16)}
.sandbox-desktop-canvas .analysis-roles>button.joint:hover:not(:disabled):not(.is-selected){background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' opacity='.45'%3E%3Ccircle cx='60' cy='32' r='11'/%3E%3Ccircle cx='32' cy='82' r='11'/%3E%3Ccircle cx='88' cy='82' r='11'/%3E%3Cpath d='M52 42 40 70M68 42 80 70M43 82h34'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#eef7fd,#e2f1fb)}
/* 单方数据分析：与博弈卡同一底版，底纹为单点雷达；选中后走平台蓝。 */
.sandbox-desktop-canvas .analysis-roles>button.single{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' opacity='.45'%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3Ccircle cx='60' cy='60' r='30' stroke-dasharray='3 7'/%3E%3Cpath d='M60 30V14M85 46l15-7M83 74l14 9M60 90v16M37 74l-14 9M35 46l-15-7'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#fff,#fff)}
.sandbox-desktop-canvas .analysis-roles>button.single:hover:not(.is-selected){background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%234a9ccb' stroke-width='2.5' stroke-linecap='round' opacity='.45'%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3Ccircle cx='60' cy='60' r='30' stroke-dasharray='3 7'/%3E%3Cpath d='M60 30V14M85 46l15-7M83 74l14 9M60 90v16M37 74l-14 9M35 46l-15-7'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#eef7fd,#e2f1fb)}
.sandbox-desktop-canvas .analysis-roles>button.single.is-selected{border-color:#168ccc;box-shadow:inset 0 0 0 1px #168ccc;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23168ccc' stroke-width='2.5' stroke-linecap='round' opacity='.38'%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3Ccircle cx='60' cy='60' r='30' stroke-dasharray='3 7'/%3E%3Cpath d='M60 30V14M85 46l15-7M83 74l14 9M60 90v16M37 74l-14 9M35 46l-15-7'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#f0f9ff,#e4f2fb)}
.sandbox-desktop-canvas .analysis-roles>button.single.is-selected .analysis-copy strong{color:#0b6ba8}
.sandbox-desktop-canvas .analysis-roles>button.single.is-selected .analysis-copy small{color:#45708f}
.sandbox-desktop-canvas .analysis-roles>button.single.is-selected:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #168ccc,0 10px 22px rgba(22,140,204,.16)}
.sandbox-desktop-canvas .analysis-roles>button.single.is-selected::after{background:#168ccc}
/* 选中·三方联合分析：青绿 + 右下角「三点连线」底纹 */
.sandbox-desktop-canvas .analysis-roles>button.joint.is-selected{border-color:#11a6a0;box-shadow:inset 0 0 0 1px #11a6a0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%2311a6a0' stroke-width='2.5' stroke-linecap='round' opacity='.38'%3E%3Ccircle cx='60' cy='32' r='11'/%3E%3Ccircle cx='32' cy='82' r='11'/%3E%3Ccircle cx='88' cy='82' r='11'/%3E%3Cpath d='M52 42 40 70M68 42 80 70M43 82h34'/%3E%3C/svg%3E") no-repeat right .375rem bottom .375rem/5rem 5rem,linear-gradient(135deg,#f0faf9,#e2f4f2)}
.sandbox-desktop-canvas .analysis-roles>button.joint.is-selected .analysis-copy strong{color:#0d847c}
.sandbox-desktop-canvas .analysis-roles>button.joint.is-selected .analysis-copy small{color:#5d9a95}
.sandbox-desktop-canvas .analysis-roles>button.joint.is-selected:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #11a6a0,0 10px 22px rgba(17,166,160,.16)}
.sandbox-desktop-canvas .analysis-roles>button.is-selected::after{content:"✓";position:absolute;top:.75rem;right:.75rem;display:grid;place-items:center;width:1.1875rem;height:1.1875rem;border-radius:50%;background:#11a6a0;color:#fff;font-size:.75rem;font-weight:600}
/* 置灰不可点 */
.sandbox-desktop-canvas .analysis-roles>button:disabled{cursor:not-allowed;border-style:dashed;transform:none;box-shadow:none}
/* 分析模式：下一步按钮在卡片内纵向居中 */
.sandbox-desktop-canvas .analysis-bottom{align-items:center}
.sandbox-desktop-canvas .analysis-bottom .game-entry-cta{align-self:center}
.sandbox-desktop-canvas .analysis-bottom .game-entry-cta .primary{font-size:.9375rem}
.single-analysis-screen{position:fixed;inset:0;z-index:12000;overflow:auto;background:#f3f8fb}
.header-sandbox-back{flex:none;height:32px;padding:0 12px;border:1px solid #c5dff0;border-radius:0;background:#f4faff;color:#075b97;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}
.header-sandbox-back:hover{background:#e7f5fc}
@media(prefers-reduced-motion:reduce){
  .sandbox-desktop-canvas .game-entry-stage>.game-entry-stage-panel{transition:none}
  .sandbox-desktop-canvas .analysis-roles>button{transition:none}
}

/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/header-compact.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************/
/*
 * 紧凑顶栏（全站试验版）
 *
 * 规则来源：map-refactor.css 里「/map 总览页」原本的紧凑头部 —— 只有两条：
 *   1) 高 58px（原来是 72px）
 *   2) 去掉底部投影
 * 这里把它提升为全站统一规则。其余（内边距 24px、导航间距 8px、链接 16px/14px、
 * 品牌 18px、logo 框 54px）沿用现有一致化后的值，不做改动 —— 即「原 /map 紧凑观感」。
 *
 * ★ 回滚方式（原 72px 版本保留在各文件里，未删改）：
 *   删掉 src/styles/globals.css 最后一行的 `@import "./header-compact.css";`
 *   即可整体回到 72px 顶栏，无需改动其他任何文件。
 *
 * 选择器加 body[data-platform-page] 前缀，是为压过沙盘入口页
 * `sandbox-entry-layout.css` 中 .sandbox-desktop-canvas 作用域的 4.5rem 高度与 min-height。
 */

/* 头栏本体：58px（3.625rem），去投影 */
body[data-platform-page] .platform-global-header {
  height: 3.625rem;
  min-height: 3.625rem;
  box-shadow: none;
}

/* 导航条跟随头栏高度，否则 nav 自带的 4.5rem 会撑破 58px */
body[data-platform-page] .platform-global-nav {
  height: 3.625rem;
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/sandbox-screen-scale.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
/*
 * 沙盘模拟 tab · 非入口屏的统一「自适应缩放」规则
 * ===================================================================
 * 与 sandbox-entry-layout.css（第一/二屏）同一套设计原则，迁移到本 tab 的其余屏：
 *   · 第三屏  联机房间      .online-lobby-screen
 *   · 第四屏  三方博弈/推演  #game-workspace.game-play-shell
 *   · 第五屏  单机业务角色    .solo-role-screen
 *
 * 规则（每屏一套设计画布，画布内尺寸与栅格模板恒定，绝不按视口重排/压缩）：
 *   1. 画布宽度 = 该屏的自然最小宽度。视口比画布窄时整屏等比缩放（zoom），
 *      而不是把三/四栏重排成单栏、把工具栏折行、把面板压到内容挤在一起。
 *      等比缩放同时天然适配「浏览器整体缩放」：浏览器缩放只改变 CSS 视口宽度，
 *      公式随之重算，任何缩放下都是同一张图，只是大小不同。
 *   2. 画布内部的栅格/弹性模板、内边距、间距锁定为桌面值，不再随视口宽度变化
 *      （组件相对位置、内容相对位置恒定）。
 *   3. 高度一律按视口高度反算（100dvh / zoom），缩放后仍刚好铺满视口高度；
 *      内容超出时由面板内部滚动，而不是把面板压扁。
 *   4. rem 承担排版节奏，px 只出现在极值（画布宽度）。
 *
 * 实现方式：只做「覆盖」，不改动 game.css 里的既有规则；本文件在 globals.css 中
 * 于所有样式之后导入，并且选择器带 body[data-platform-page="game"] 前缀，
 * 因此同 !important 时优先级更高，能稳定压过 game.css 里按视口降级的断点规则。
 * 视口 ≥ 设计画布宽时 zoom=1，这些声明与既有计算值完全一致 —— 桌面位置不变。
 */

body[data-platform-page="game"]{
  --sbx-canvas:89.5rem;  /* 1432px：第四屏设计画布宽 = 2×面板 + 公开栏 + 列间距 + 画布内边距 */
  --sbx-zoom:1;          /* 由 useCanvasZoom 写入：clamp(0.62, 视口宽 / 1432, 1) */
}

/* ─────────────────────────────────────────────────────────────
 * 第四屏：三方博弈 / 三方推演（#game-workspace）
 * ───────────────────────────────────────────────────────────── */

/* 顶栏挂到 body 上，固定在视口顶端，不被博弈浮层滚走或盖住。 */
.game-play-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:10000;
  height:3.625rem;
  background:#fff;
}
.game-play-header .platform-global-header{
  position:relative;
  z-index:1;
  width:100%;
  height:3.625rem !important;
  min-height:3.625rem !important;
  flex-wrap:nowrap !important;
  background:#fff;
}

/* 1) 浮层留出顶栏：从顶栏下缘铺到视口底；画布比剩余高度高时由它滚动。 */
body[data-platform-page="game"] #game-workspace.game-play-shell{
  top:3.625rem !important;
  bottom:auto !important;
  height:calc(100dvh - 3.625rem) !important;
  min-height:0 !important;
  overflow:auto !important;
}
body[data-platform-page="game"] .game-board-back{
  top:calc(3.625rem + 12px);
}

/* 2) 设计画布：宽度恒为 --sbx-canvas；视口更窄时整体 zoom 缩小（绝不压缩栏位）。
 *    高度按 100dvh/zoom 反算，缩放后仍刚好铺满视口高度。 */
body[data-platform-page="game"] #game-workspace .game-play-stage{
  display:flex !important;
  flex-direction:column !important;
  flex:0 1 auto !important;
  width:var(--sbx-canvas) !important;
  min-width:0 !important;
  max-width:none !important;
  /* 减 2px：抵消 zoom 换算的亚像素取整，避免浮层多出 1 像素而冒出滚动条。 */
  height:calc((100dvh - 3.625rem) / var(--sbx-zoom) - 2px) !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 0 1.125rem !important;
  overflow:hidden !important;
  zoom:var(--sbx-zoom);
}

/* 3) 内容带：铺满画布。宽度不再跟随视口（原 81vw 会让面板随浏览器缩放一起变窄）。 */
body[data-platform-page="game"] #game-workspace .sandbox-table,
body[data-platform-page="game"] #game-workspace .sandbox-table.is-online{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:.5rem .875rem 0 !important;
  overflow:hidden !important;
}

/* 4a) 联机四方栅格：两栏等分 + 固定宽公开栏，公开栏在第 3 列占满两行。
 *     这条必须显式写「联机」，否则非联机的 grid-column:4 会让公开栏落到隐式第 4 列，
 *     凭空吃掉 260px（面板从 560 被挤回 424，是「栏位相互拥挤」的直接原因）。 */
body[data-platform-page="game"] #game-workspace .game-role-arena.is-online{
  display:grid !important;
  flex:1 1 auto !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 16.25rem !important;
  grid-template-rows:1fr 1fr !important;
  grid-auto-columns:0 !important;
  grid-column-gap:.75rem !important;
  column-gap:.75rem !important;
  grid-row-gap:.75rem !important;
  row-gap:.75rem !important;
  align-items:stretch !important;
  height:auto !important;
  min-height:0 !important;
}
body[data-platform-page="game"] #game-workspace .game-role-arena.is-online>.negotiation-panel:nth-child(1){grid-area:1 / 1 / span 2 !important;width:auto !important;min-width:0 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena.is-online>.negotiation-panel:nth-child(2){grid-area:1 / 2 !important;width:auto !important;min-width:0 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena.is-online>.negotiation-panel:nth-child(3){grid-area:2 / 2 !important;width:auto !important;min-width:0 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena.is-online>.negotiation-research{
  grid-area:1 / 3 / span 2 !important;
  width:16.25rem !important;
  min-width:0 !important;
}

/* 4b) 非联机四方栅格：三栏等分 + 固定宽推理栏，恒为单行四列、列间距恒定。 */
body[data-platform-page="game"] #game-workspace .game-role-arena:not(.is-online){
  display:grid !important;
  flex:1 1 auto !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) 16.25rem !important;
  grid-template-rows:1fr !important;
  grid-auto-columns:0 !important;
  grid-auto-rows:1fr !important;
  grid-column-gap:.75rem !important;
  column-gap:.75rem !important;
  grid-row-gap:.75rem !important;
  row-gap:.75rem !important;
  align-items:stretch !important;
  height:auto !important;
  min-height:0 !important;
}
body[data-platform-page="game"] #game-workspace .game-role-arena:not(.is-online)>.negotiation-panel:nth-child(1){grid-column:1 !important;grid-row:1 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena:not(.is-online)>.negotiation-panel:nth-child(2){grid-column:2 !important;grid-row:1 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena:not(.is-online)>.negotiation-panel:nth-child(3){grid-column:3 !important;grid-row:1 !important}
body[data-platform-page="game"] #game-workspace .game-role-arena:not(.is-online)>.negotiation-research{grid-column:4 !important;grid-row:1 !important;width:16.25rem !important}

/* 5) 面板与推理栏：恒为 100% 填满自己的栅格位，不被矮屏「定高」规则改成固定高度。 */
body[data-platform-page="game"] #game-workspace .game-role-arena>.negotiation-panel,
body[data-platform-page="game"] #game-workspace .game-role-arena>.negotiation-research{
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
}

/* 6) 顶栏与其它横向排布：还原桌面模板，抵消 ≤1480px 视口下的折行重排。 */
body[data-platform-page="game"] #game-workspace .negotiation-config-row{
  grid-template-columns:minmax(120px,.8fr) minmax(140px,1fr) minmax(0,1.3fr) auto auto auto !important;
  align-items:end !important;
}
body[data-platform-page="game"] #game-workspace .negotiation-head-row{
  grid-template-columns:minmax(0,1fr) minmax(0,2.1fr) !important;
}

/* ─────────────────────────────────────────────────────────────
 * 第三屏：联机房间 —— 卡片为固定尺寸、两轴居中；视口不足时滚动到它。
 *   原 align-items/justify-content 居中在内容溢出时会把顶部裁掉且滚不到，
 *   改用自动外边距居中：有富余空间时居中，空间不足时贴起始边并可滚动。
 * ───────────────────────────────────────────────────────────── */
body[data-platform-page="game"] .online-lobby-screen{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  overflow:auto !important;
  background:linear-gradient(180deg,#f7fbfe 0%,#e8f4fb 100%) !important;
  color:#173650;
}
body[data-platform-page="game"] .online-lobby-screen>.platform-global-header{
  position:relative;
  flex:none;
  z-index:2;
  width:100%;
  background:#fff;
  border-bottom:1px solid #d9e7f2;
}
body[data-platform-page="game"] .online-lobby-screen>.online-lobby-center{
  margin:auto !important;
  background:#fff !important;
  border:1px solid #d5e6f0 !important;
  box-shadow:0 14px 38px rgba(20,76,119,.09) !important;
  -webkit-backdrop-filter:none !important;
          backdrop-filter:none !important;
}
body[data-platform-page="game"] .online-lobby-back{
  top:calc(3.625rem + 16px);
  background:#fff !important;
  color:#245a7a !important;
  border:1px solid #c4d6e4 !important;
  -webkit-backdrop-filter:none !important;
          backdrop-filter:none !important;
}
body[data-platform-page="game"] .online-lobby-back:hover{background:#f4fafd !important}
body[data-platform-page="game"] .online-lobby-center h3,
body[data-platform-page="game"] .online-lobby-title{color:#173650 !important;letter-spacing:0 !important}
body[data-platform-page="game"] .online-lobby-help{
  border:1px solid #9ec5dc !important;
  background:#fff !important;
  color:#0068b5 !important;
}
body[data-platform-page="game"] .online-lobby-tabs{border-bottom:1px solid #d5e6f0 !important}
body[data-platform-page="game"] .online-lobby-tabs button{color:#60788c !important;background:transparent !important}
body[data-platform-page="game"] .online-lobby-tabs button.is-active{
  color:#0068b5 !important;
  border-bottom-color:#0068b5 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body[data-platform-page="game"] .online-lobby-lead,
body[data-platform-page="game"] .online-lobby-label,
body[data-platform-page="game"] .online-lobby-codefield,
body[data-platform-page="game"] .online-lobby-tip,
body[data-platform-page="game"] .online-lobby-create .online-lobby-tip{color:#60788c !important}
body[data-platform-page="game"] .online-lobby-codefield input{
  background:#fff !important;
  border:1px solid #cfe2ef !important;
  color:#173650 !important;
}
body[data-platform-page="game"] .online-lobby-codefield input::placeholder{color:#8aa3b5 !important}
body[data-platform-page="game"] .online-lobby-roleopts button{
  background:#f7fbfe !important;
  border:1px solid #cfe2ef !important;
  color:#245a7a !important;
  box-shadow:none !important;
}
body[data-platform-page="game"] .online-lobby-roleopts button small{color:#60788c !important}
body[data-platform-page="game"] .online-lobby-roleopts button.is-selected{
  background:#0068b5 !important;
  border-color:#0068b5 !important;
  color:#fff !important;
}
body[data-platform-page="game"] .online-lobby-roleopts button.is-selected small{color:#e7f3fb !important}
body[data-platform-page="game"] .online-lobby-create{
  background:#f7fbfe !important;
  border:1px solid #d5e6f0 !important;
}
body[data-platform-page="game"] .online-lobby-gen{
  border:1px dashed #9ec5dc !important;
  background:#f4fafd !important;
  color:#0068b5 !important;
}
body[data-platform-page="game"] .online-lobby-code-show{
  background:#eaf5fb !important;
  border:1px solid #c5dfef !important;
}
body[data-platform-page="game"] .online-lobby-code-show span{color:#60788c !important}
body[data-platform-page="game"] .online-lobby-code-show b{color:#0068b5 !important}
body[data-platform-page="game"] .online-lobby-regen{
  border:1px solid #c5dfef !important;
  background:#fff !important;
  color:#0068b5 !important;
}
body[data-platform-page="game"] .online-lobby-foot .primary{
  background:#0068b5 !important;
  box-shadow:none !important;
}
body[data-platform-page="game"] .online-lobby-foot .primary:disabled{background:#b7cddd !important}
body[data-platform-page="game"] .online-lobby-error{color:#b45309 !important}
body[data-platform-page="game"] .online-lobby-playopts button{
  background:#f7fbfe !important;
  border:1px solid #cfe2ef !important;
  color:#245a7a !important;
  box-shadow:none !important;
}
body[data-platform-page="game"] .online-lobby-playopts button small{color:#60788c !important}
body[data-platform-page="game"] .online-lobby-playopts button:hover{
  border-color:#9ec5dc !important;
  box-shadow:0 8px 18px rgba(20,76,119,.08) !important;
}
body[data-platform-page="game"] .online-lobby-playopts button.is-selected{
  background:#0068b5 !important;
  border-color:#0068b5 !important;
  color:#fff !important;
}
body[data-platform-page="game"] .online-lobby-playopts button.is-selected small{color:#e7f3fb !important}
body[data-platform-page="game"] .online-lobby-mode-badge{
  background:#eaf5fb !important;
  border:1px solid #c5dfef !important;
  color:#0068b5 !important;
}

/* ─────────────────────────────────────────────────────────────
 * 第五屏：单机业务角色选择 —— 同上；并把 ≤600px 的降级规则还原成桌面值。
 * ───────────────────────────────────────────────────────────── */
body[data-platform-page="game"] .solo-role-screen{
  align-items:center !important;
  justify-content:center !important;
  padding:5rem 1.5rem !important;
  overflow:auto !important;
}
body[data-platform-page="game"] .solo-role-screen>.solo-role-card{
  width:50rem !important;            /* 800px 固定卡片，不再随视口收缩 */
  max-width:100% !important;
  margin:auto !important;
  padding:2.5rem 2.75rem !important; /* 40px 44px */
}
body[data-platform-page="game"] .solo-role-screen .solo-role-card h1{
  margin:1rem 0 1.875rem !important; /* 16px 0 30px */
  font-size:1.75rem !important;      /* 28px */
}
body[data-platform-page="game"] .solo-role-screen .solo-role-options{
  grid-template-columns:1fr 1fr !important;
}
body[data-platform-page="game"] .solo-role-screen .solo-role-options button{
  min-height:6.75rem !important;     /* 108px */
  padding:1.375rem 1.5rem !important;/* 22px 24px */
}
body[data-platform-page="game"] .solo-role-screen .solo-role-back{
  top:1.5rem !important;             /* 24px */
  left:2rem !important;              /* 32px */
}

/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/platform-tour.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
/*
 * 整站蒙层引导（首次进入平台时自动播放）
 * 三层结构：遮罩(4 块挖空) + 高亮框 + 说明卡片。
 * 与平台主题一致：浅底深字、平台蓝 #0a7ec2 主色。
 */

.platform-tour{position:fixed;inset:0;z-index:200000;font-family:inherit}
.platform-tour-shade{position:fixed;background:rgba(7,40,66,.55);-webkit-backdrop-filter:saturate(.85) blur(1px);backdrop-filter:saturate(.85) blur(1px)}
.platform-tour-ring{
  position:fixed;border:2px solid #4fc3f7;border-radius:12px;pointer-events:none;
  box-shadow:0 0 0 4px rgba(79,195,247,.28),0 0 26px 6px rgba(10,126,194,.35);
}

.platform-tour-card{
  position:fixed;z-index:2;box-sizing:border-box;padding:22px 26px 20px;
  border:1px solid #cfe4f1;border-top:4px solid #0a7ec2;border-radius:16px;background:#fff;
  color:#12384f;box-shadow:0 26px 60px rgba(6,38,63,.3);
  animation:platform-tour-fade .16s ease-out;
}
/* 窄屏：卡片贴底整宽，不再跟随目标定位 */
.platform-tour-card.is-docked{left:14px!important;right:14px;top:auto!important;bottom:16px;width:auto!important}

.platform-tour-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.platform-tour-tag{
  padding:5px 12px;border-radius:999px;background:#e8f4fc;color:#0a6ba4;
  font-size:13px;font-weight:800;letter-spacing:.02em;
}
.platform-tour-count{color:#8aa6b8;font-size:12.5px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}

/* 总进度条：步数走完 100% */
.platform-tour-progress{height:4px;margin:13px 0 0;border-radius:999px;background:#e6f1f8;overflow:hidden}
.platform-tour-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0a8fd4,#0a6ba4);transition:width .3s cubic-bezier(.22,.61,.36,1)}

.platform-tour-card h3{margin:13px 0 0;color:#0a3f63;font-size:20px;font-weight:800;line-height:1.32}
.platform-tour-lead{margin:9px 0 0;color:#4d6d82;font-size:14px;line-height:1.65}
/* 指引行：告诉用户「点这里」 */
.platform-tour-hint{
  margin:12px 0 0;padding:9px 13px;border-radius:9px;background:#eef7fd;
  color:#0a6ba4;font-size:13.5px;font-weight:700;line-height:1.45;
}
.platform-tour-points{margin:14px 0 0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}
.platform-tour-points li{position:relative;padding-left:19px;color:#28536e;font-size:13.5px;line-height:1.6}
.platform-tour-points li::before{
  content:"";position:absolute;left:2px;top:7px;width:7px;height:7px;border-radius:50%;
  background:#0a7ec2;box-shadow:0 0 0 3px rgba(10,126,194,.14);
}

.platform-tour-foot{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:18px}
.platform-tour-total{color:#95b0c2;font-size:12.5px;font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
.platform-tour-actions{display:flex;align-items:center;gap:10px}
.platform-tour-card button{font:inherit;cursor:pointer;white-space:nowrap}
.platform-tour-ghost{
  height:40px;padding:0 18px;border:1px solid #bcd8e8;border-radius:10px;background:#fff;
  color:#0a5b8c;font-size:14px;font-weight:700;
}
.platform-tour-ghost:hover{border-color:#7fbde0;background:#f3faff}
.platform-tour-skip{padding:0 8px;border:0;background:transparent;color:#7b98aa;font-size:14px;font-weight:600}
.platform-tour-skip:hover{color:#0a7ec2}
.platform-tour-next{
  height:42px;padding:0 26px;border:1px solid #0a7ec2;border-radius:10px;
  background:linear-gradient(135deg,#0a8fd4,#0a6ba4);color:#fff;font-size:15px;font-weight:800;
  box-shadow:0 8px 18px rgba(10,126,194,.28);
}
.platform-tour-next:hover{background:linear-gradient(135deg,#0d9ce4,#0a5d90)}

/* 切页／等板块渲染时的加载提示 */
.platform-tour-loading{
  position:fixed;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;gap:10px;padding:14px 22px;
  border:1px solid rgba(207,228,241,.9);border-radius:999px;background:rgba(255,255,255,.97);
  color:#0a3f63;font-size:13.5px;font-weight:700;box-shadow:0 18px 44px rgba(6,38,63,.28);
  animation:platform-tour-fade .2s ease-out;
}
.platform-tour-spinner{
  width:15px;height:15px;border-radius:50%;
  border:2px solid #cfe4f1;border-top-color:#0a7ec2;
  animation:platform-tour-spin .7s linear infinite;
}
@keyframes platform-tour-spin{to{transform:rotate(360deg)}}

@keyframes platform-tour-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes platform-tour-fade{from{opacity:0}to{opacity:1}}

/* 顶栏「?」按钮：随时重看平台引导 */
.platform-global-nav .platform-tour-help{
  display:inline-flex;align-items:center;justify-content:center;align-self:center;
  flex:0 0 auto;width:26px;height:26px;margin:0 6px 0 2px;padding:0;
  border:1.5px solid #0a7ec2;border-radius:50%;background:#fff;
  color:#0a7ec2;font-size:15px;font-weight:800;line-height:1;cursor:pointer;
  transition:background .15s,color .15s,box-shadow .15s;
}
.platform-global-nav .platform-tour-help:hover{
  background:#0a7ec2;color:#fff;box-shadow:0 4px 12px rgba(10,126,194,.3);
}

/* 账户菜单里的「平台引导」入口：与同组链接同款外观 */
.account-menu-entries>button{
  padding:12px 14px;border:1px solid #d5e8f4;border-radius:10px;background:#f7fbfe;
  color:inherit;text-align:left;font:inherit;cursor:pointer;
}
.account-menu-entries>button:hover{border-color:#0a7ec2;background:#eef8fd}
.account-menu-entries>button strong,.account-menu-entries>button span{display:block}
.account-menu-entries>button strong{color:#0a3f63;font-size:14px}
.account-menu-entries>button span{margin-top:4px;color:#7a98ad;font-size:12px}

@media(prefers-reduced-motion:reduce){
  .platform-tour-ring{transition:none}
  .platform-tour-card{animation:none}
}

/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* 紧凑顶栏（试验）：删掉本行即回滚到 72px 顶栏 */
/* 沙盘模拟 tab 非入口屏（第三/四/五屏）的自适应缩放规则：须最后导入以覆盖既有断点降级 */
/* 整站蒙层引导（首次进入平台自动播放） */

/* 原版 platform-shell 场景条 */
.platform-page-context {
  max-width: 1560px;
  margin: 14px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c9e1ef;
  background: #fff;
}
.platform-page-context label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.platform-page-context label > span {
  color: #6f8ca0;
  font-size: 11px;
}
.platform-page-context select {
  width: min(360px, 42vw);
  height: 36px;
  border: 1px solid #bdd9e8;
  background: #fff;
  padding: 0 30px 0 10px;
  color: #126c9f;
  font-size: 12px;
  font-weight: 700;
}
.platform-page-context > a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #1689c5;
  background: #fff;
  color: #0879bd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
}

body.chat-active,
body.agent-fullscreen {
  overflow: hidden;
}

/* 顶栏选中态唯一来源：.is-active（不要再用 body[data-platform-page] 去点亮导航） */
.platform-global-nav a.is-active {
  color: var(--sg-blue, #0068b5) !important;
  border-bottom-color: var(--sg-blue, #0068b5) !important;
  font-weight: 700;
}

.platform-global-nav a.is-deprecated,
.workbench-primary-nav a.is-deprecated {
  color: #8a9bab !important;
  opacity: 0.72;
}

.platform-global-nav a.is-deprecated.is-active,
.workbench-primary-nav a.is-deprecated.active {
  opacity: 0.9;
}

.nav-deprecated-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid #d2b48c;
  border-radius: 3px;
  background: #fff8ee;
  color: #9a6b2f;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
  line-height: 1.4;
}

.workbench-primary-nav a {
  gap: 0;
}

.workbench-primary-nav .nav-deprecated-tag {
  align-self: center;
}

.v6-mode button {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--csg-line, #cfe2ef);
  border-radius: 6px;
  background: #fff;
  color: var(--csg-muted, #60788c);
  cursor: pointer;
}

.v6-mode button.active {
  background: #1689c5;
  border-color: #1689c5;
  color: #fff;
}

.v6-header-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.v6-header-actions button,
.v6-header-actions .primary {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--csg-line, #cfe2ef);
  border-radius: 6px;
  background: #fff;
  color: var(--csg-blue, #0068b5);
  font-weight: 700;
  cursor: pointer;
}

.v6-header-actions .primary {
  background: #1689c5;
  border-color: #1689c5;
  color: #fff;
}

.v6-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #66839a;
  font-size: 11px;
}

.v6-service i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d8fc4;
}

.v6-function-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.v6-function {
  min-height: 104px;
  padding: 14px 16px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--csg-line, #cfe2ef);
  border-radius: 11px;
  cursor: pointer;
}

.v6-function b {
  font-size: 10px;
  letter-spacing: 0.7px;
  color: var(--csg-blue, #0068b5);
}

.v6-function strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 16px;
  color: var(--csg-ink, #173650);
}

.v6-function span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--csg-muted, #60788c);
}

.v6-function.active {
  border: 2px solid var(--csg-blue, #0068b5);
  box-shadow: inset 5px 0 var(--csg-blue, #0068b5), 0 10px 24px rgba(0, 104, 181, 0.12);
}

.v6-console-head {
  padding: 15px 18px 12px;
  background: #fff;
}

.v6-console-head h2 {
  margin: 2px 0;
  font-size: 26px;
  color: var(--csg-navy, #004a86);
}

.muted {
  color: var(--g-muted, #5d7f98);
  font-size: 12px;
}

.decision-page {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 48px;
}
.decision-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.decision-hero h1 {
  margin: 6px 0;
  color: #004a86;
}
.decision-hero nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.decision-hero a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #b9d9ea;
  border-radius: 6px;
  color: #0879bd;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.decision-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  grid-gap: 14px;
  gap: 14px;
}
.decision-panel {
  padding: 18px;
  border: 1px solid #cfe2ef;
  background: #fff;
  border-radius: 8px;
}
.decision-shares,
.decision-costs {
  margin: 0;
  padding-left: 18px;
}
.decision-error {
  color: #b42318;
  font-size: 13px;
}
.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #cfe2ef;
  background: #fff;
}
.qa-header nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.qa-header a {
  color: #0879bd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.qa-brand {
  color: #004a86;
  font-weight: 800;
  text-decoration: none;
}

/* /functions 布局修正：避免与角色栏视觉错位、页面无法滚动 */
body[data-platform-page="functions"] {
  overflow: auto !important;
  height: auto !important;
}

body[data-platform-page="functions"] .functions-main {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 18px 36px !important;
  overflow: visible !important;
}

body[data-platform-page="functions"] .v6-console {
  min-height: 0 !important;
  max-width: 1440px;
  margin: 0 auto;
}

body[data-platform-page="functions"] .function-perspective {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-gap: 10px !important;
  gap: 10px !important;
  margin: 0 18px 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body[data-platform-page="functions"] .function-perspective button {
  min-height: 72px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid var(--csg-line, #cfe2ef) !important;
  box-shadow: none !important;
}

body[data-platform-page="functions"] .function-perspective button.active {
  background: #edf7fd !important;
  border-color: #1689c5 !important;
  box-shadow: inset 4px 0 #1689c5 !important;
}

body[data-platform-page="functions"] .v6-console-body {
  padding: 0 18px 28px !important;
  background: #fff !important;
}

/* 模型选择改为标签栏，不再用大卡片挤在角色栏下方造成“错列” */
body[data-platform-page="functions"] .v6-function-tabs {
  display: flex !important;
  width: max-content !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap;
  gap: 0;
  margin: 4px 0 18px !important;
  border: 1px solid var(--csg-line, #cfe2ef) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: auto;
}

body[data-platform-page="functions"] .v6-function-tabs button,
body[data-platform-page="functions"] .v6-function-tabs button + button {
  flex: 0 0 auto;
  min-width: 168px !important;
  max-width: 240px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border: 0 !important;
  border-right: 1px solid var(--csg-line, #cfe2ef) !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: #fff !important;
  white-space: normal !important;
}

body[data-platform-page="functions"] .v6-function-tabs button:last-child {
  border-right: 0 !important;
}

body[data-platform-page="functions"] .v6-function-tabs button small {
  display: inline !important;
  margin-right: 6px;
  color: var(--csg-sky, #2d8fc4);
  font-size: 10px;
}

body[data-platform-page="functions"] .v6-function-tabs button strong {
  display: inline !important;
  font-size: 13px;
  color: var(--csg-ink, #173650);
}

body[data-platform-page="functions"] .v6-function-tabs button span {
  display: block !important;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--csg-muted, #60788c);
}

body[data-platform-page="functions"] .v6-function-tabs button.active {
  background: #f4faff !important;
  border-bottom-color: #0068b5 !important;
}

body[data-platform-page="functions"] .v6-function-tabs button.active strong {
  color: #0068b5 !important;
}

body[data-platform-page="functions"] .function-perspective {
  margin-bottom: 16px !important;
}

body[data-platform-page="functions"] .functions-workspace-host {
  margin-top: 0;
  min-height: 280px;
}

body[data-platform-page="functions"] .measurement-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  gap: 16px !important;
}

@media (max-width: 960px) {
  body[data-platform-page="functions"] .function-perspective {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body[data-platform-page="functions"] .measurement-layout {
    grid-template-columns: 1fr !important;
  }
}


/* 中宽屏：品牌可收缩，导航保持一行可横滑，避免被长标题挤没 */
@media (max-width: 1480px) {
  .platform-global-brand {
    min-width: 0 !important;
    flex: 0 1 auto;
  }
  .platform-global-brand strong {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(42vw, 360px);
  }
}

/* 顶栏窄屏/DevTools：换行，导航独占第二行 */
@media (max-width: 1200px) {
  .platform-global-header {
    height: auto !important;
    min-height: 64px;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    padding: 8px clamp(12px, 3vw, 28px) !important;
  }
  .platform-global-brand {
    min-width: 0 !important;
    max-width: calc(100% - 72px);
  }
  .platform-global-brand small {
    display: none !important;
  }
  .platform-global-brand strong {
    white-space: normal !important;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
    font-size: 14px !important;
  }
  .platform-global-nav {
    order: 3;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    height: 40px;
    overflow-x: auto;
  }
  .platform-global-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-inline: 12px;
  }
}

