@fanglinwei/agent-fit 0.0.0-stage → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +161 -2
- package/VERSION +1 -0
- package/adapters/codex/modes.json +360 -0
- package/adapters/codex/skills/agent-fit/SKILL.md +120 -0
- package/adapters/codex/skills/agent-fit/agents/openai.yaml +6 -0
- package/adapters/codex/skills/agent-fit/assets/AGENTS.fragment.md +13 -0
- package/adapters/codex/skills/agent-fit/assets/codex/agents/task-delegate.toml +18 -0
- package/adapters/codex/skills/agent-fit/assets/codex/agents/task-execute.toml +20 -0
- package/adapters/codex/skills/agent-fit/assets/codex/agents/task-review.toml +20 -0
- package/adapters/codex/skills/agent-fit/assets/codex/agents/task-scan.toml +20 -0
- package/adapters/codex/skills/agent-fit/assets/codex/config.toml +17 -0
- package/adapters/codex/skills/agent-fit/references/calibration.md +66 -0
- package/adapters/codex/skills/agent-fit/references/configuration.md +42 -0
- package/adapters/codex/skills/agent-fit/references/failure-policy.md +26 -0
- package/adapters/codex/skills/agent-fit/references/task-routing.md +36 -0
- package/bin/agent-fit.mjs +265 -0
- package/docs/README.md +15 -0
- package/docs/implementation-review.md +119 -0
- package/docs/usage.md +481 -0
- package/lib/accounts.mjs +129 -0
- package/lib/codex.mjs +220 -0
- package/lib/install.mjs +796 -0
- package/lib/model-history.mjs +93 -0
- package/lib/models.mjs +376 -0
- package/lib/probe.mjs +186 -0
- package/lib/scopes.mjs +113 -0
- package/lib/server.mjs +200 -0
- package/lib/skill.mjs +145 -0
- package/package.json +15 -4
- package/web/app.js +744 -0
- package/web/index.html +109 -0
- package/web/styles.css +407 -0
package/web/index.html
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="color-scheme" content="light">
|
|
7
|
+
<title>Agent Fit · 子代理委派配置</title>
|
|
8
|
+
<link rel="stylesheet" href="/styles.css">
|
|
9
|
+
<script src="/app.js" defer></script>
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<a class="skip-link" href="#main">跳到配置内容</a>
|
|
13
|
+
<div class="page">
|
|
14
|
+
<header class="header">
|
|
15
|
+
<div class="brand">
|
|
16
|
+
<svg class="brand-mark" viewBox="0 0 32 32" fill="none" aria-hidden="true"><path d="M9 8v16m0-8h9m0 0V8m0 8v8" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/><circle cx="9" cy="8" r="3" fill="currentColor"/><circle cx="18" cy="8" r="3" fill="currentColor"/><circle cx="18" cy="24" r="3" fill="currentColor"/><circle cx="9" cy="24" r="3" fill="currentColor"/></svg>
|
|
17
|
+
<strong>Agent Fit</strong><span class="brand-description">子代理委派配置</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="header-actions"><span class="host-label">Codex</span><button id="refresh" type="button" class="secondary refresh-button"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M16.2 8a6.5 6.5 0 1 0-.5 5.3M16.2 8V3.5M16.2 8h-4.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>刷新状态</button></div>
|
|
20
|
+
</header>
|
|
21
|
+
<div class="shell">
|
|
22
|
+
<aside class="sidebar" aria-label="工具导航">
|
|
23
|
+
<nav class="tabs" aria-label="配置页面">
|
|
24
|
+
<a href="#modes" aria-current="page"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M3 5h14M3 10h14M3 15h14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><rect x="6" y="3" width="3" height="4" rx="1" fill="currentColor"/><rect x="12" y="8" width="3" height="4" rx="1" fill="currentColor"/><rect x="6" y="13" width="3" height="4" rx="1" fill="currentColor"/></svg><span>档位配置</span></a>
|
|
25
|
+
<a href="#rules"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M6 5h7M6 5v10h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><circle cx="5" cy="5" r="2" fill="currentColor"/><circle cx="14" cy="5" r="2" fill="currentColor"/><circle cx="14" cy="15" r="2" fill="currentColor"/></svg><span>委派规则</span></a>
|
|
26
|
+
<a href="#accounts"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><rect x="3" y="3" width="5" height="5" rx="1.5" stroke="currentColor" stroke-width="1.5"/><rect x="12" y="3" width="5" height="5" rx="1.5" stroke="currentColor" stroke-width="1.5"/><rect x="3" y="12" width="5" height="5" rx="1.5" stroke="currentColor" stroke-width="1.5"/><path d="m12 14 2 2 3-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg><span>账号配置</span></a>
|
|
27
|
+
<a href="#restore"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M3.5 8a6.5 6.5 0 1 1 .7 6M3.5 8V3.5M3.5 8H8M10 6.5V10l2.5 1.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg><span>恢复配置</span></a>
|
|
28
|
+
</nav>
|
|
29
|
+
<div class="environment">
|
|
30
|
+
<details class="home-details"><summary>配置目录</summary><p id="home" class="path">加载中</p><p class="muted">由启动服务时的终端指定。</p></details>
|
|
31
|
+
<p id="versions">正在连接本地服务…</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="sidebar-note"><span class="local-mark" aria-hidden="true"></span><p>本地配置工具<span>更改经确认后写入</span></p></div>
|
|
34
|
+
</aside>
|
|
35
|
+
<div class="content-column">
|
|
36
|
+
<main id="main" tabindex="-1">
|
|
37
|
+
<p id="progress" class="progress" role="status" hidden></p>
|
|
38
|
+
<div id="error" class="notice error" tabindex="-1" hidden><h2>操作未完成</h2><div id="error-content"></div><button id="compare" type="button" class="secondary" hidden>刷新后比较</button></div>
|
|
39
|
+
<div id="result" class="notice result" role="status" hidden></div>
|
|
40
|
+
<section id="modes" class="panel" aria-labelledby="modes-title">
|
|
41
|
+
<div class="section-heading">
|
|
42
|
+
<div><h1 id="modes-title">委派档位</h1><p class="muted">为不同难度的任务,选择合适的子代理模型。</p></div>
|
|
43
|
+
<div class="heading-controls"><p id="configured" class="configured-state">正在读取配置…</p><button id="new-mode" type="button" class="secondary" disabled>新建档位</button></div>
|
|
44
|
+
</div>
|
|
45
|
+
<p id="runtime" class="runtime" hidden></p>
|
|
46
|
+
<div class="surface scope-controls"><label for="scope">配置作用域</label><select id="scope"><option value="global">全局</option><option value="project">当前项目</option><option value="session">当前会话</option></select><p id="scope-context" class="muted path"></p><p id="scope-source" class="muted" role="status"></p><button id="clear-scope" type="button" class="secondary" disabled>清除本层选择,恢复继承</button></div>
|
|
47
|
+
<div id="diagnostics" class="notice warning" hidden></div>
|
|
48
|
+
<fieldset id="mode-options" class="mode-options">
|
|
49
|
+
<legend>选择档位</legend>
|
|
50
|
+
<div id="mode-radios" class="segmented"></div>
|
|
51
|
+
<div id="custom-picker" class="custom-picker" hidden><label for="custom-mode">自定义名称</label><select id="custom-mode"></select></div>
|
|
52
|
+
</fieldset>
|
|
53
|
+
<div class="workspace">
|
|
54
|
+
<div class="editor surface">
|
|
55
|
+
<div class="editor-heading"><div><h2 id="editing-title">四级模型预设</h2><p id="editing-note" class="muted">选择档位后查看完整定义。</p></div><div><button id="copy-mode" type="button" class="secondary" disabled>复制为自定义</button><button id="delete-mode" type="button" class="secondary" disabled>删除自定义档位</button></div></div>
|
|
56
|
+
<div class="allocation-heading" aria-hidden="true"><span>任务等级</span><div class="field-grid"><span>主模型</span><span>推理强度</span></div></div>
|
|
57
|
+
<div id="levels" class="levels"></div>
|
|
58
|
+
<datalist id="effort-suggestions"><option value="low"></option><option value="medium"></option><option value="high"></option><option value="xhigh"></option></datalist>
|
|
59
|
+
<details class="technical allocation-notes"><summary>备用模型什么时候使用?</summary><p>备用候选只有在原授权与预算允许、宿主支持参数、工具与任务要求满足且原职责与验收不变时使用。写入任务改用备用前,先确认上一产出者已经停止。</p><p>目录信息与静态配置不能证明模型调用权限。页面不会自动派发备用模型。</p></details>
|
|
60
|
+
</div>
|
|
61
|
+
<aside class="changes surface" aria-labelledby="changes-title">
|
|
62
|
+
<div class="changes-heading"><h2 id="changes-title">本次变更</h2><span id="draft-label" class="draft-label" hidden>待确认</span></div>
|
|
63
|
+
<p id="changes-count" class="muted">尚未修改</p><div id="change-list"></div>
|
|
64
|
+
<p id="save-note" class="save-note"></p>
|
|
65
|
+
<div class="actions"><button id="apply" type="button" class="primary" disabled>无修改</button><button id="cancel-draft" type="button" class="secondary" hidden>取消修改</button><button id="cancel-selection" type="button" class="secondary" hidden>取消选择</button><button id="preview" type="button" class="secondary" disabled>预览文件变更</button></div>
|
|
66
|
+
<details id="command-details" class="technical"><summary>查看终端命令</summary><p id="command-label" class="muted">将执行的命令(尚未执行)</p><pre id="command"></pre><button id="copy-definition" type="button" class="secondary" hidden>复制完整四级 JSON</button><p id="copy-status" class="muted" role="status"></p></details>
|
|
67
|
+
</aside>
|
|
68
|
+
</div>
|
|
69
|
+
<section class="surface preview" aria-labelledby="primary-check-title"><h2 id="primary-check-title">当前档位主模型检测</h2><p id="primary-check-note" class="muted"></p><button id="check-primary" type="button" class="secondary" disabled>检测当前档位主模型</button><div id="primary-check-result" role="status"></div></section>
|
|
70
|
+
<section id="preview-area" class="surface preview" hidden aria-labelledby="preview-title"><div class="section-heading"><h2 id="preview-title">文件变更预览</h2><button id="close-preview" type="button" class="secondary">关闭预览</button></div><p id="preview-note" class="muted"></p><div id="preview-files"></div></section>
|
|
71
|
+
</section>
|
|
72
|
+
<section id="rules" class="panel" hidden aria-labelledby="rules-title">
|
|
73
|
+
<div class="section-heading"><div><h1 id="rules-title">委派规则</h1><p class="muted">什么任务,交给哪个模型?先看等级,再看具体任务。</p></div><button id="edit-routes" type="button" class="secondary">前往档位配置</button></div>
|
|
74
|
+
<div class="surface routing-context">
|
|
75
|
+
<div><p id="rules-context">正在读取生效配置…</p><p id="rules-bound-context" class="muted path"></p></div>
|
|
76
|
+
<div class="routing-picker"><label for="rules-mode">查看档位(只读)</label><select id="rules-mode" aria-describedby="rules-view-note"></select></div>
|
|
77
|
+
<p id="rules-view-note" class="routing-view-note" role="status"></p>
|
|
78
|
+
</div>
|
|
79
|
+
<div id="rules-maximum" class="notice warning" hidden></div>
|
|
80
|
+
<nav id="route-overview" class="route-overview" aria-label="四级默认路由"></nav>
|
|
81
|
+
<div class="routing-intro"><h2>按任务找到模型</h2><p class="muted">每级先列默认组合,再列适用的任务候选。点击任一路由查看依据与备用;任务数量不决定等级。</p></div>
|
|
82
|
+
<div id="routing-workspace" class="routing-workspace">
|
|
83
|
+
<div id="route-levels"></div>
|
|
84
|
+
<aside id="route-detail" class="surface route-detail" aria-labelledby="route-detail-title">
|
|
85
|
+
<h2 id="route-detail-title" tabindex="-1">查看一条路由</h2>
|
|
86
|
+
<div id="route-selection"><p class="muted">点击左侧等级或任务,查看模型、选择依据与备用条件。</p></div>
|
|
87
|
+
<div id="explanation" class="explanation" aria-live="polite"></div>
|
|
88
|
+
<details id="route-permissions" class="technical" hidden><summary>职责与执行权限</summary><p class="muted">职责限定允许做什么,不直接决定等级和模型。</p><label for="explain-role">本次职责</label><select id="explain-role"><option value="task_delegate">明确委派</option><option value="task_scan">扫描取证(只读)</option><option value="task_execute">范围内产出</option><option value="task_review">独立复核(只读)</option></select><div id="route-contract"></div></details>
|
|
89
|
+
</aside>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="surface routing-reference"><details><summary>子代理职责说明</summary><p class="muted">模型与强度由任务路由决定;固定角色的组合不匹配时,用明确委派保留原职责。</p><div id="role-list"></div></details><details class="technical"><summary>共同边界与完整规则</summary><div id="rule-summary"></div></details><details class="technical"><summary>配置来源与未检查范围</summary><div id="sources"></div></details></div>
|
|
92
|
+
</section>
|
|
93
|
+
<section id="accounts" class="panel" hidden aria-labelledby="accounts-title">
|
|
94
|
+
<div class="section-heading"><div><h1 id="accounts-title">账号配置</h1><p class="muted">查看已有授权,管理当前 Codex 配置目录的登录。</p></div></div>
|
|
95
|
+
<section class="surface account-surface" aria-labelledby="account-title"><div class="account-heading"><h2 id="account-title">账号与授权</h2><button id="account-refresh" type="button" class="secondary">检查已有授权</button></div><p id="account-status" role="status" class="muted">优先复用当前 Codex 配置目录中的登录与供应商凭据。</p><p id="account-context" class="muted path"></p><div class="account-actions"><button id="login-browser" type="button" class="secondary">ChatGPT 浏览器授权</button><button id="login-device" type="button" class="secondary">设备码登录</button><button id="login-key" type="button" class="secondary">API Key 登录</button><button id="account-logout" type="button" class="secondary" hidden>退出当前登录</button></div><div id="account-login" role="status"></div></section>
|
|
96
|
+
</section>
|
|
97
|
+
<section id="restore" class="panel" hidden aria-labelledby="restore-title">
|
|
98
|
+
<div class="section-heading"><div><h1 id="restore-title">恢复原配置</h1><p class="muted">撤销本工具的修改,回到首次配置之前。</p></div></div>
|
|
99
|
+
<div class="surface restore-surface"><h2>恢复前先确认</h2><p id="restore-capability">正在读取恢复状态…</p><p id="restore-target" class="path"></p><p class="muted">将移除本工具的委派规则和四个角色,清理全局、所有项目和所有会话的选择及自定义档位。原有配置与无关文件会保留。</p><div id="restore-customs"></div><button id="restore-preview" type="button" class="secondary" disabled>预览恢复</button><section id="restore-plan" class="restore-plan" hidden><h2>本次恢复计划</h2><div id="restore-files"></div><p id="restore-plan-note" class="muted"></p><button id="restore-confirm" type="button" class="danger">恢复原配置</button></section></div>
|
|
100
|
+
</section>
|
|
101
|
+
</main>
|
|
102
|
+
<footer><p>配置保存在本机。日常切档无需重启;首次安装、基础规则更新或恢复后需重启。新任务读取新配置,运行模型身份需另行核实。</p><p id="last-read"></p></footer>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
<dialog id="confirm-dialog" aria-labelledby="dialog-title" aria-describedby="dialog-description"><form method="dialog"><h2 id="dialog-title"></h2><p id="dialog-description"></p><div id="dialog-content"></div><div id="dialog-actions" class="dialog-actions"></div></form></dialog>
|
|
107
|
+
<noscript><p>本地配置页面需要 JavaScript。也可在终端使用 agent-fit 命令。</p></noscript>
|
|
108
|
+
</body>
|
|
109
|
+
</html>
|
package/web/styles.css
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--canvas: #f8f9fc;
|
|
4
|
+
--surface: #fff;
|
|
5
|
+
--text: #1d2533;
|
|
6
|
+
--muted: #626c7e;
|
|
7
|
+
--line: #e5e8ef;
|
|
8
|
+
--control: #bdc5d4;
|
|
9
|
+
--blue: #3d5dd8;
|
|
10
|
+
--blue-hover: #304dc0;
|
|
11
|
+
--edited: #f0f3ff;
|
|
12
|
+
--error: #b42332;
|
|
13
|
+
--warning: #8a570d;
|
|
14
|
+
--success: #277355;
|
|
15
|
+
--font: "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
|
|
16
|
+
--mono: "SF Mono", Menlo, Consolas, monospace;
|
|
17
|
+
font-family: var(--font);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
line-height: 1.6;
|
|
20
|
+
color: var(--text);
|
|
21
|
+
background: var(--canvas);
|
|
22
|
+
}
|
|
23
|
+
* { box-sizing: border-box; }
|
|
24
|
+
body { margin: 0; }
|
|
25
|
+
[hidden] { display: none !important; }
|
|
26
|
+
button, input, select, textarea { font: inherit; }
|
|
27
|
+
button, summary, a, input, select { -webkit-tap-highlight-color: transparent; }
|
|
28
|
+
button {
|
|
29
|
+
min-height: 40px;
|
|
30
|
+
padding: 8px 14px;
|
|
31
|
+
border: 1px solid var(--line);
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
font-weight: 550;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
background: var(--surface);
|
|
36
|
+
color: var(--text);
|
|
37
|
+
transition: background-color .15s, border-color .15s;
|
|
38
|
+
}
|
|
39
|
+
button:hover:not(:disabled) { background: #f4f5f9; border-color: var(--control); }
|
|
40
|
+
button:disabled { cursor: not-allowed; color: #788193; background: #f0f2f6; border-color: var(--line); }
|
|
41
|
+
button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
|
|
42
|
+
button.primary:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); }
|
|
43
|
+
button.primary:disabled { background: #eef0f5; color: #788193; border-color: var(--line); }
|
|
44
|
+
button.danger { background: var(--error); border-color: var(--error); color: #fff; }
|
|
45
|
+
button.danger:hover:not(:disabled) { background: #951b28; border-color: #951b28; }
|
|
46
|
+
input:not([type=radio]):not([type=checkbox]), select {
|
|
47
|
+
width: 100%;
|
|
48
|
+
min-height: 42px;
|
|
49
|
+
padding: 9px 11px;
|
|
50
|
+
color: var(--text);
|
|
51
|
+
background: var(--surface);
|
|
52
|
+
border: 1px solid var(--control);
|
|
53
|
+
border-radius: 7px;
|
|
54
|
+
}
|
|
55
|
+
input[type=radio], input[type=checkbox] { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); flex: none; }
|
|
56
|
+
input[aria-invalid=true] { border-color: var(--error); }
|
|
57
|
+
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
|
|
58
|
+
a { color: var(--blue); }
|
|
59
|
+
a[aria-disabled=true] { pointer-events: none; color: var(--muted); }
|
|
60
|
+
h1, h2, h3, h4, p { margin: 0; }
|
|
61
|
+
h1 { font-size: 27px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
|
|
62
|
+
h2 { font-size: 17px; line-height: 1.45; font-weight: 600; }
|
|
63
|
+
h3 { font-size: 16px; font-weight: 600; }
|
|
64
|
+
h4 { font-size: 14px; font-weight: 600; }
|
|
65
|
+
p + p { margin-top: 8px; }
|
|
66
|
+
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 550; }
|
|
67
|
+
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
|
|
68
|
+
legend { font-size: 13px; font-weight: 550; padding: 0; margin-bottom: 12px; }
|
|
69
|
+
summary { cursor: pointer; min-height: 36px; padding: 7px 0; font-weight: 500; }
|
|
70
|
+
details > p { padding-bottom: 10px; }
|
|
71
|
+
pre, code { font-family: var(--mono); font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
72
|
+
pre { margin: 10px 0; padding: 13px; background: #f5f6fa; border: 1px solid var(--line); border-radius: 7px; }
|
|
73
|
+
ul { margin: 10px 0; padding-left: 20px; }
|
|
74
|
+
li + li { margin-top: 6px; }
|
|
75
|
+
dl { margin: 16px 0; display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 10px 20px; }
|
|
76
|
+
dt { color: var(--muted); font-size: 13px; }
|
|
77
|
+
dd { margin: 0; overflow-wrap: anywhere; }
|
|
78
|
+
svg { flex: none; }
|
|
79
|
+
.muted { color: var(--muted); font-size: 13px; }
|
|
80
|
+
.path { overflow-wrap: anywhere; word-break: break-word; }
|
|
81
|
+
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; padding: 0 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
|
|
82
|
+
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
83
|
+
.brand-mark { width: 34px; height: 34px; padding: 3px; border-radius: 9px; color: var(--blue); background: var(--edited); }
|
|
84
|
+
.brand strong { font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
|
|
85
|
+
.brand-description { border-left: 1px solid var(--line); padding-left: 16px; margin-left: 8px; color: var(--muted); font-size: 13px; }
|
|
86
|
+
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
|
|
87
|
+
.host-label { font-size: 13px; font-weight: 550; }
|
|
88
|
+
.refresh-button { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
|
|
89
|
+
.refresh-button svg { width: 16px; height: 16px; }
|
|
90
|
+
.shell { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: calc(100vh - 76px); }
|
|
91
|
+
.sidebar { display: flex; flex-direction: column; padding: 30px 16px 24px; border-right: 1px solid var(--line); background: #fbfcfe; }
|
|
92
|
+
.tabs { display: flex; flex-direction: column; gap: 6px; }
|
|
93
|
+
.tabs a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; }
|
|
94
|
+
.tabs a svg { width: 19px; height: 19px; }
|
|
95
|
+
.tabs a:hover { background: #f0f2f7; color: var(--text); }
|
|
96
|
+
.tabs a[aria-current=page] { background: #edf1fe; color: #3454c9; font-weight: 600; }
|
|
97
|
+
.environment { margin-top: 32px; padding: 18px 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
|
|
98
|
+
.environment summary { font-size: 12px; }
|
|
99
|
+
.environment .path { font-family: var(--mono); font-size: 11px; margin: 5px 0; }
|
|
100
|
+
.environment .muted { font-size: 11px; }
|
|
101
|
+
#versions { margin-top: 8px; font-size: 11px; line-height: 1.8; }
|
|
102
|
+
.sidebar-note { margin-top: auto; padding: 40px 12px 0; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
|
|
103
|
+
.sidebar-note p span { display: block; font-size: 11px; margin-top: 3px; }
|
|
104
|
+
.local-mark { width: 7px; height: 7px; border: 1.5px solid #75809a; border-radius: 50%; margin-top: 7px; }
|
|
105
|
+
.content-column { min-width: 0; }
|
|
106
|
+
main { max-width: 1360px; margin: auto; padding: 38px 36px 0; }
|
|
107
|
+
.section-heading, .editor-heading { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; }
|
|
108
|
+
.section-heading { margin-bottom: 28px; }
|
|
109
|
+
.heading-controls { display: flex; align-items: center; gap: 12px; }
|
|
110
|
+
.heading-controls > button { font-size: 12px; }
|
|
111
|
+
.section-heading p { margin-top: 9px; max-width: 72ch; }
|
|
112
|
+
.heading-controls > .configured-state { margin-top: 0; }
|
|
113
|
+
.configured-state { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 5px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; color: var(--muted); font-size: 12px; }
|
|
114
|
+
.configured-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #919aab; }
|
|
115
|
+
.configured-state[data-state=installed] { color: var(--success); background: #f3f9f5; border-color: #dbece2; }
|
|
116
|
+
.configured-state[data-state=installed]::before { background: var(--success); }
|
|
117
|
+
.runtime { font-size: 12px; color: var(--muted); margin: -14px 0 24px; }
|
|
118
|
+
.mode-options { margin-bottom: 28px; }
|
|
119
|
+
.mode-options legend { margin-bottom: 11px; color: var(--muted); font-size: 12px; }
|
|
120
|
+
.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
|
|
121
|
+
.segmented label { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 88px; padding: 17px 18px; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
|
|
122
|
+
.segmented label:hover { border-color: var(--control); }
|
|
123
|
+
.segmented label:has(input:checked) { border-color: var(--blue); background: #f5f7ff; box-shadow: inset 0 0 0 1px var(--blue); }
|
|
124
|
+
.segmented label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
|
|
125
|
+
.segmented label:has(input:disabled) { cursor: not-allowed; }
|
|
126
|
+
.segmented input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; }
|
|
127
|
+
.segmented label::after { content: ''; position: absolute; right: 15px; top: 18px; width: 13px; height: 13px; border: 1px solid var(--control); border-radius: 50%; pointer-events: none; }
|
|
128
|
+
.segmented label:has(input:checked)::after { border: 4px solid var(--blue); background: var(--surface); }
|
|
129
|
+
.mode-name { font-size: 15px; font-weight: 600; padding-right: 22px; }
|
|
130
|
+
.mode-description { color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 5px; }
|
|
131
|
+
.custom-picker { display: flex; align-items: center; gap: 14px; margin-top: 16px; max-width: 430px; }
|
|
132
|
+
.custom-picker label { flex: none; margin: 0; }
|
|
133
|
+
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 276px; gap: 22px; align-items: start; }
|
|
134
|
+
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 25px; min-width: 0; overflow-wrap: anywhere; }
|
|
135
|
+
.surface + .surface { margin-top: 22px; }
|
|
136
|
+
.workspace .surface + .surface { margin-top: 0; }
|
|
137
|
+
.surface > p { margin-top: 10px; max-width: 78ch; }
|
|
138
|
+
.surface > button { margin-top: 20px; }
|
|
139
|
+
.scope-controls { margin-bottom: 22px; }
|
|
140
|
+
.scope-controls select { max-width: 260px; }
|
|
141
|
+
.editor-heading > div:last-child:has(button) { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
142
|
+
.editor { padding: 0; overflow: hidden; }
|
|
143
|
+
.editor-heading { align-items: center; padding: 24px; }
|
|
144
|
+
.editor-heading h2 { font-size: 17px; }
|
|
145
|
+
.editor-heading p { margin-top: 5px; font-size: 12px; }
|
|
146
|
+
.editor-heading > button { font-size: 12px; white-space: nowrap; }
|
|
147
|
+
.allocation-heading { display: grid; grid-template-columns: minmax(160px, .85fr) minmax(0, 1.4fr); gap: 16px; padding: 10px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafbfe; font-size: 11px; color: var(--muted); }
|
|
148
|
+
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 14px; }
|
|
149
|
+
.field-grid > div { min-width: 0; }
|
|
150
|
+
.level { display: grid; grid-template-columns: minmax(160px, .85fr) minmax(0, 1.4fr); gap: 16px; padding: 21px 24px; border-bottom: 1px solid var(--line); }
|
|
151
|
+
.level:last-child { border-bottom: 0; }
|
|
152
|
+
.level.changed { background: var(--edited); }
|
|
153
|
+
.level > summary { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 3px 10px; align-content: start; padding: 1px 0; list-style: none; cursor: default; }
|
|
154
|
+
.level > summary::-webkit-details-marker { display: none; }
|
|
155
|
+
.level-code { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; font-size: 11px; font-weight: 650; border-radius: 8px; color: #455a9b; background: #edf1fa; margin-top: 3px; }
|
|
156
|
+
#level-L2 .level-code { color: #46549b; background: #eceffa; }
|
|
157
|
+
#level-L3 .level-code { color: #5b4c8b; background: #f0edfa; }
|
|
158
|
+
#level-L4 .level-code { color: #755071; background: #f4eef5; }
|
|
159
|
+
.level-name { font-size: 13px; font-weight: 550; align-self: center; }
|
|
160
|
+
.level-example { grid-column: 2; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.6; }
|
|
161
|
+
.level-summary { display: none; }
|
|
162
|
+
.tag { grid-column: 2; justify-self: start; font-size: 10px; border-radius: 4px; color: var(--blue); background: #e3e9ff; padding: 1px 6px; }
|
|
163
|
+
.level-fields { min-width: 0; }
|
|
164
|
+
.level-fields input { font-family: var(--mono); font-size: 12px; min-height: 38px; padding: 8px 9px; }
|
|
165
|
+
.level-fields label { font-size: 11px; }
|
|
166
|
+
.readonly-value { padding: 0; min-height: 29px; overflow-wrap: anywhere; }
|
|
167
|
+
.readonly-value.model-value { font-family: var(--mono); font-size: 13px; line-height: 1.7; font-weight: 500; }
|
|
168
|
+
.readonly-value.effort-value { display: inline-block; min-height: 24px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; color: #535f78; background: #f7f8fb; }
|
|
169
|
+
.readonly .field-grid > div > .muted { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
170
|
+
.level-meta { display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 16px; margin-top: 5px; }
|
|
171
|
+
.level-meta details { min-width: 0; max-width: 100%; }
|
|
172
|
+
.level-meta summary { font-size: 11px; color: var(--muted); font-weight: 400; min-height: 28px; padding: 4px 0; overflow-wrap: anywhere; }
|
|
173
|
+
.level-meta details[open] { flex-basis: 100%; }
|
|
174
|
+
.level-meta details > p { font-size: 12px; }
|
|
175
|
+
.fallback label.enable { display: flex; gap: 8px; align-items: center; min-height: 36px; margin: 3px 0 10px; font-size: 12px; font-weight: 400; }
|
|
176
|
+
.fallback .field-grid { margin-bottom: 8px; }
|
|
177
|
+
.field-error { color: var(--error); font-size: 12px; margin-top: 8px; }
|
|
178
|
+
.technical { border-top: 1px solid var(--line); margin-top: 20px; font-size: 12px; }
|
|
179
|
+
.technical > summary { font-size: 12px; color: var(--muted); min-height: 44px; padding: 12px 0; }
|
|
180
|
+
.technical p { font-size: 12px; color: var(--muted); }
|
|
181
|
+
.task-candidates textarea { width: 100%; min-height: 160px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); resize: vertical; }
|
|
182
|
+
.task-candidates li { overflow-wrap: anywhere; }
|
|
183
|
+
.allocation-notes { margin: 0; padding: 0 24px; }
|
|
184
|
+
.changes { position: sticky; top: 24px; padding: 22px; }
|
|
185
|
+
.changes-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
|
|
186
|
+
.changes-heading h2 { font-size: 15px; }
|
|
187
|
+
.draft-label { font-size: 10px; color: var(--muted); padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; }
|
|
188
|
+
#changes-count { margin-top: 7px; margin-bottom: 16px; font-size: 12px; }
|
|
189
|
+
.change-item { border-top: 1px solid var(--line); padding: 12px 0; }
|
|
190
|
+
.change-item h4 { font-size: 11px; font-weight: 550; margin-bottom: 6px; }
|
|
191
|
+
.change-item p { font-size: 11px; overflow-wrap: anywhere; line-height: 1.7; }
|
|
192
|
+
.change-item p + p { margin-top: 3px; }
|
|
193
|
+
.change-before { color: var(--muted); }
|
|
194
|
+
.change-after { color: var(--blue); }
|
|
195
|
+
.empty-changes { text-align: center; border: 1px dashed var(--line); border-radius: 8px; padding: 23px 15px; color: var(--muted); }
|
|
196
|
+
.empty-changes > span { width: 26px; height: 26px; margin: 0 auto 12px; display: grid; place-items: center; background: #f0f3fa; border-radius: 50%; color: #6b7893; }
|
|
197
|
+
.empty-changes p { font-size: 12px; }
|
|
198
|
+
.empty-changes p + p { font-size: 11px; }
|
|
199
|
+
.save-note { color: var(--muted); font-size: 11px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 10px !important; }
|
|
200
|
+
.actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
|
|
201
|
+
.actions .primary { min-height: 42px; }
|
|
202
|
+
.actions .secondary { font-size: 12px; }
|
|
203
|
+
#command-details { margin-top: 18px; }
|
|
204
|
+
#command-details summary { min-height: 34px; padding: 9px 0 0; }
|
|
205
|
+
#command-label { margin-top: 9px; }
|
|
206
|
+
.notice { border: 1px solid var(--line); border-radius: 9px; padding: 16px 19px; margin-bottom: 24px; background: var(--surface); }
|
|
207
|
+
.notice h2 { font-size: 15px; margin-bottom: 8px; }
|
|
208
|
+
.notice p { overflow-wrap: anywhere; font-size: 13px; }
|
|
209
|
+
.notice.error { border-left: 3px solid var(--error); background: #fff9fa; }
|
|
210
|
+
.notice.error h2 { color: var(--error); }
|
|
211
|
+
.notice.warning { border-left: 3px solid var(--warning); background: #fffcf6; }
|
|
212
|
+
.notice.result { border-left: 3px solid var(--success); }
|
|
213
|
+
.notice.result p:first-child { font-weight: 550; }
|
|
214
|
+
.notice.result details { margin-top: 8px; }
|
|
215
|
+
.notice button { margin-top: 12px; }
|
|
216
|
+
.progress { color: var(--blue); font-size: 12px; margin-bottom: 16px; }
|
|
217
|
+
.preview { margin-top: 22px; }
|
|
218
|
+
.preview .section-heading { margin-bottom: 10px; }
|
|
219
|
+
.file-list { list-style: none; padding: 0; }
|
|
220
|
+
.file-list li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: 12px; }
|
|
221
|
+
.file-list strong { display: inline-block; min-width: 44px; margin-right: 12px; color: var(--muted); font-size: 11px; }
|
|
222
|
+
#role-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 12px; }
|
|
223
|
+
.role { padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
|
|
224
|
+
.role h4 { margin-bottom: 8px; font-size: 13px; overflow-wrap: anywhere; }
|
|
225
|
+
.role p { font-size: 12px; color: var(--muted); }
|
|
226
|
+
.role p.path { font-size: 11px; }
|
|
227
|
+
.explanation { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
|
|
228
|
+
.routing-context { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 12px 24px; margin-bottom: 22px; }
|
|
229
|
+
.routing-context #rules-context { font-weight: 550; }
|
|
230
|
+
.routing-picker { min-width: 0; }
|
|
231
|
+
.routing-context > .routing-view-note { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
|
|
232
|
+
.routing-view-note[data-preview=true] { color: var(--warning); }
|
|
233
|
+
.route-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 30px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
|
|
234
|
+
.route-overview-item { text-align: left; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 16px; min-width: 0; }
|
|
235
|
+
.route-overview-item:last-child { border-right: 0; }
|
|
236
|
+
.route-overview-heading { display: flex; flex-wrap: wrap; gap: 4px 9px; font-size: 12px; font-weight: 400; color: var(--muted); }
|
|
237
|
+
.route-overview-heading strong { color: var(--blue); font-weight: 650; }
|
|
238
|
+
.route-overview-model { display: block; font-size: 16px; margin: 8px 0 3px; overflow-wrap: anywhere; }
|
|
239
|
+
.route-overview .muted { font-size: 11px; }
|
|
240
|
+
.route-overview-item:focus-visible { outline-offset: -4px; }
|
|
241
|
+
.routing-intro { margin-bottom: 16px; }
|
|
242
|
+
.routing-intro p { margin-top: 6px; }
|
|
243
|
+
.routing-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 22px; }
|
|
244
|
+
#route-levels { min-width: 0; }
|
|
245
|
+
.route-level { padding: 22px; scroll-margin-top: 20px; }
|
|
246
|
+
.route-level-heading { display: flex; align-items: flex-start; gap: 12px; }
|
|
247
|
+
.route-level-heading .level-code { flex: none; margin-top: 2px; }
|
|
248
|
+
.route-level-heading h3 { font-size: 17px; }
|
|
249
|
+
.route-level-heading p { margin-top: 4px; }
|
|
250
|
+
.route-level > .route-example { margin: 12px 0 16px; }
|
|
251
|
+
.route-columns, .route-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .7fr); gap: 16px; align-items: center; text-align: left; }
|
|
252
|
+
.route-columns { padding: 0 12px 8px; font-size: 11px; }
|
|
253
|
+
.route-row { width: 100%; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 13px 12px; min-height: 52px; font-weight: 400; }
|
|
254
|
+
.route-level > .route-row { margin-top: 0; }
|
|
255
|
+
.route-baseline { background: #fafbfe; }
|
|
256
|
+
.route-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
|
|
257
|
+
.route-task { font-size: 13px; }
|
|
258
|
+
.route-model { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
|
|
259
|
+
div.route-row { color: var(--muted); }
|
|
260
|
+
div.route-row .route-model { font-weight: 400; font-size: 12px; }
|
|
261
|
+
.route-row[aria-pressed=true], .route-overview-item[aria-pressed=true] { background: var(--edited); box-shadow: inset 3px 0 var(--blue); }
|
|
262
|
+
.routing-workspace > .route-detail { position: sticky; top: 22px; margin-top: 0; max-height: calc(100vh - 44px); overflow-y: auto; scrollbar-gutter: stable; }
|
|
263
|
+
.route-detail { padding: 22px; scroll-margin-top: 16px; }
|
|
264
|
+
.route-detail h2 { font-size: 16px; }
|
|
265
|
+
#route-selection > p { margin-top: 12px; }
|
|
266
|
+
.route-selected-model { color: var(--blue); font-size: 23px; font-weight: 650; overflow-wrap: anywhere; }
|
|
267
|
+
.route-detail .explanation { margin-top: 18px; padding-top: 16px; }
|
|
268
|
+
.route-detail dl { grid-template-columns: 1fr; gap: 4px; margin: 0; font-size: 13px; }
|
|
269
|
+
.route-detail dd { margin-bottom: 12px; }
|
|
270
|
+
.route-detail .technical { margin-top: 16px; }
|
|
271
|
+
.route-detail label { margin-top: 10px; }
|
|
272
|
+
#route-contract { margin-top: 16px; }
|
|
273
|
+
.routing-reference { margin-top: 24px; }
|
|
274
|
+
@media (max-width: 1199px) {
|
|
275
|
+
.routing-workspace { grid-template-columns: minmax(0, 1fr); }
|
|
276
|
+
.routing-workspace > .route-detail { position: static; max-height: none; overflow: visible; }
|
|
277
|
+
.route-level > .route-detail { margin-top: 18px; border-color: var(--control); background: #fafbfe; }
|
|
278
|
+
.routing-context { grid-template-columns: minmax(0, 1fr) 240px; }
|
|
279
|
+
}
|
|
280
|
+
.account-surface { margin-bottom: 22px; }
|
|
281
|
+
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
|
|
282
|
+
.account-actions button, #account-refresh { font-size: 12px; }
|
|
283
|
+
#account-login:not(:empty) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
|
|
284
|
+
.auth-link { display: inline-block; padding: 8px 0; margin-right: 16px; }
|
|
285
|
+
.device-code { display: inline-block; margin-left: 8px; padding: 3px 8px; background: var(--edited); font-size: 16px; font-weight: 600; }
|
|
286
|
+
.account-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
|
|
287
|
+
.table-wrap { overflow-x: auto; margin-top: 22px; }
|
|
288
|
+
table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
|
|
289
|
+
caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
|
|
290
|
+
th, td { vertical-align: top; padding: 13px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; min-width: 100px; }
|
|
291
|
+
th { font-weight: 550; background: #f7f8fc; }
|
|
292
|
+
td p + p { margin-top: 4px; }
|
|
293
|
+
.restore-surface { border-top: 3px solid #d7a0a5; }
|
|
294
|
+
.restore-surface > .path { font-family: var(--mono); font-size: 12px; background: #f7f8fb; padding: 13px; border-radius: 6px; }
|
|
295
|
+
.restore-plan { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
|
|
296
|
+
.restore-plan > button { margin-top: 16px; }
|
|
297
|
+
footer { max-width: 1360px; margin: 0 auto; padding: 24px 36px; color: var(--muted); font-size: 11px; }
|
|
298
|
+
footer p + p { margin-top: 3px; }
|
|
299
|
+
.skip-link { position: fixed; left: 16px; top: -100px; background: var(--surface); padding: 12px 16px; z-index: 20; border-radius: 7px; }
|
|
300
|
+
.skip-link:focus { top: 16px; }
|
|
301
|
+
dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100% - 48px); border: 1px solid var(--line); border-radius: 15px; padding: 30px; color: var(--text); background: var(--surface); overflow-y: auto; box-shadow: 0 24px 80px #1d253326; }
|
|
302
|
+
dialog::backdrop { background: #26314b42; backdrop-filter: blur(3px); }
|
|
303
|
+
dialog h2 { font-size: 21px; margin-bottom: 10px; }
|
|
304
|
+
dialog p { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
|
|
305
|
+
dialog label { margin-top: 20px; }
|
|
306
|
+
dialog .field-grid { margin-top: 16px; }
|
|
307
|
+
.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 26px; }
|
|
308
|
+
.dialog-error { color: var(--error); font-size: 12px; margin-top: 12px; }
|
|
309
|
+
@media (min-width: 1600px) {
|
|
310
|
+
main { padding-top: 48px; }
|
|
311
|
+
.workspace { grid-template-columns: minmax(0, 1fr) 292px; gap: 28px; }
|
|
312
|
+
.shell { grid-template-columns: 232px minmax(0, 1fr); }
|
|
313
|
+
}
|
|
314
|
+
@media (max-width: 1199px) {
|
|
315
|
+
.shell { grid-template-columns: 180px minmax(0, 1fr); }
|
|
316
|
+
main { padding: 30px 24px 0; }
|
|
317
|
+
footer { padding: 24px; }
|
|
318
|
+
.workspace { grid-template-columns: minmax(0, 1fr); }
|
|
319
|
+
.changes { position: static; }
|
|
320
|
+
#change-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
|
|
321
|
+
.changes .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
322
|
+
.empty-changes { grid-column: 1 / -1; }
|
|
323
|
+
.mode-description { font-size: 10px; }
|
|
324
|
+
.segmented label { padding: 15px 12px; }
|
|
325
|
+
.segmented label::after { right: 12px; }
|
|
326
|
+
}
|
|
327
|
+
@media (max-width: 767px) {
|
|
328
|
+
.header { height: 66px; padding: 0 18px; gap: 10px; }
|
|
329
|
+
.brand { gap: 9px; }
|
|
330
|
+
.brand strong { font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
|
|
331
|
+
.brand-description, .host-label { display: none; }
|
|
332
|
+
.brand-mark { width: 30px; height: 30px; }
|
|
333
|
+
.header-actions { gap: 0; }
|
|
334
|
+
.refresh-button { min-height: 40px; padding: 8px 10px; }
|
|
335
|
+
.shell { display: block; min-height: calc(100vh - 66px); }
|
|
336
|
+
.sidebar { padding: 12px 16px 0; border: 0; background: var(--surface); }
|
|
337
|
+
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-bottom: 12px; }
|
|
338
|
+
.tabs a { flex-direction: column; justify-content: center; gap: 5px; padding: 9px 2px; font-size: 11px; min-height: 57px; }
|
|
339
|
+
.tabs a svg { width: 17px; height: 17px; }
|
|
340
|
+
.environment { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 7px 2px; border-top: 1px solid var(--line); }
|
|
341
|
+
.home-details { min-width: 0; flex: 1; }
|
|
342
|
+
.environment summary { min-height: 30px; padding: 5px 0; }
|
|
343
|
+
#versions { margin-top: 0; max-width: 50%; font-size: 10px; text-align: right; }
|
|
344
|
+
.sidebar-note { display: none; }
|
|
345
|
+
main { padding: 26px 16px 0; }
|
|
346
|
+
h1 { font-size: 24px; }
|
|
347
|
+
.section-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
|
|
348
|
+
.section-heading p { margin-top: 7px; }
|
|
349
|
+
.section-heading > .configured-state { margin-top: 0; }
|
|
350
|
+
.configured-state { font-size: 11px; }
|
|
351
|
+
.runtime { margin: -8px 0 20px; line-height: 1.8; }
|
|
352
|
+
.mode-options { margin-bottom: 22px; }
|
|
353
|
+
.segmented { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
354
|
+
.segmented label { min-height: 79px; padding: 13px 15px; }
|
|
355
|
+
.segmented label::after { right: 14px; top: 16px; }
|
|
356
|
+
.mode-name { font-size: 14px; }
|
|
357
|
+
.mode-description { font-size: 11px; }
|
|
358
|
+
.custom-picker { display: block; max-width: none; }
|
|
359
|
+
.custom-picker label { margin-bottom: 7px; }
|
|
360
|
+
.workspace { gap: 16px; }
|
|
361
|
+
.surface { padding: 20px; }
|
|
362
|
+
.editor { padding: 0; }
|
|
363
|
+
.editor-heading { flex-wrap: wrap; gap: 13px; padding: 20px; }
|
|
364
|
+
.editor-heading h2 { font-size: 16px; }
|
|
365
|
+
.allocation-heading { display: none; }
|
|
366
|
+
.level { display: block; padding: 0 20px; border-top: 1px solid var(--line); border-bottom: 0; }
|
|
367
|
+
.level > summary { position: relative; padding: 18px 24px 18px 0; grid-template-columns: 32px minmax(0, 1fr); cursor: pointer; gap: 3px 11px; }
|
|
368
|
+
.level > summary::after { content: ''; position: absolute; right: 2px; top: 28px; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); }
|
|
369
|
+
.level[open] > summary::after { transform: rotate(225deg); top: 31px; }
|
|
370
|
+
.level-code { grid-row: 1 / 4; }
|
|
371
|
+
.level-name { font-size: 13px; }
|
|
372
|
+
.level-example { display: none; }
|
|
373
|
+
.level-summary { display: block; grid-column: 2; font-size: 11px; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
|
|
374
|
+
.level-fields { padding-bottom: 17px; }
|
|
375
|
+
.readonly .field-grid > div > .muted { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-size: 11px; margin-bottom: 5px; }
|
|
376
|
+
.level-meta { margin-top: 9px; }
|
|
377
|
+
.field-grid { grid-template-columns: minmax(0, 1fr) 90px; gap: 12px; }
|
|
378
|
+
.fallback .field-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
|
|
379
|
+
.changes { padding: 20px; }
|
|
380
|
+
#change-list { gap: 0 14px; }
|
|
381
|
+
.changes .actions { display: flex; }
|
|
382
|
+
.change-item h4 { font-size: 11px; }
|
|
383
|
+
.notice { padding: 16px; }
|
|
384
|
+
.technical { margin-top: 16px; }
|
|
385
|
+
.allocation-notes { padding: 0 20px; margin-top: 0; }
|
|
386
|
+
#role-list { grid-template-columns: 1fr; }
|
|
387
|
+
.routing-context { grid-template-columns: minmax(0, 1fr); gap: 16px; }
|
|
388
|
+
.route-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
|
|
389
|
+
.route-overview-item:nth-child(2) { border-right: 0; }
|
|
390
|
+
.route-overview-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
|
|
391
|
+
.route-overview-model { font-size: 15px; }
|
|
392
|
+
.route-level, .route-detail { padding: 16px; }
|
|
393
|
+
.route-columns, .route-row { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 12px; padding-left: 0; padding-right: 0; }
|
|
394
|
+
.route-row[aria-pressed=true] { box-shadow: none; outline: 1px solid var(--blue); outline-offset: -1px; }
|
|
395
|
+
.route-task { font-size: 12px; }
|
|
396
|
+
.route-model { font-size: 13px; }
|
|
397
|
+
.route-selected-model { font-size: 21px; }
|
|
398
|
+
dl { grid-template-columns: 1fr; gap: 5px; }
|
|
399
|
+
dd { margin-bottom: 10px; }
|
|
400
|
+
footer { padding: 22px 16px; line-height: 1.8; }
|
|
401
|
+
dialog { padding: 23px; }
|
|
402
|
+
.dialog-actions { flex-direction: column-reverse; }
|
|
403
|
+
.dialog-actions button { width: 100%; }
|
|
404
|
+
}
|
|
405
|
+
@media (prefers-reduced-motion: reduce) {
|
|
406
|
+
*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
|
|
407
|
+
}
|