:root { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; color:#25292d; background:#fff; --page-inset:max(48px,calc((100vw - 1264px)/2)); }
* { box-sizing:border-box; }
body { margin:0; }
.shell { min-height:100vh; }
button { font:inherit; cursor:pointer; border:0; background:none; }
button:focus-visible, summary:focus-visible { outline:2px solid #176c64; outline-offset:4px; }
[hidden] { display:none !important; }
.topbar { height:76px; padding:0 var(--page-inset); display:flex; justify-content:space-between; align-items:center; background:#fff; }
.brand { display:flex; align-items:center; font-size:18px; line-height:26px; letter-spacing:.065em; color:#25292d; }
.brand strong { font-weight:600; }
.top-actions { display:flex; align-items:center; gap:28px; }
.local-label { display:inline-flex; align-items:center; gap:7px; color:#737d85; font-size:11px; }
.local-label i { width:5px; height:5px; border-radius:50%; background:#42796d; }
.top-actions button { padding:8px 0; color:#666f75; font-size:12px; font-weight:400; transition:color 200ms; }
.top-actions button:hover { color:#176c64; }
main { margin:0; }
.business-entries { padding:27px var(--page-inset) 0; background:#fff; }
.business-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:18px; }
.business-heading h2 { margin:0; color:#343b40; font-size:15px; line-height:22px; font-weight:600; letter-spacing:.03em; }
.business-heading p { margin:0; color:#8a9298; font-size:11px; }
.tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.tool { position:relative; min-width:0; height:118px; padding:19px 24px 16px 62px; border:1px solid #e9ecee; border-radius:6px; background:#fafbfc; transition:background-color 200ms ease,border-color 200ms ease; }
.tool-primary { background:#f5f8f7; border-color:#dde6e3; }
.tool-icon { position:absolute; left:22px; top:21px; display:flex; color:#58656e; }
.tool-icon svg { width:22px; height:22px; }
.tool h2 { margin:0 22px 5px 0; color:#2d353b; font-size:16px; font-weight:600; line-height:24px; letter-spacing:.015em; }
.tool-description { margin:0; color:#6c7780; font-size:12px; line-height:19px; }
.status { position:absolute; left:62px; bottom:14px; color:#737e86; font-size:11px; line-height:14px; }
.status.ready { color:#5e756b; }
.status.error { color:#a34532; }
.open-link { position:absolute; inset:0; border-radius:inherit; color:#7f8b93; text-decoration:none; outline:none; }
.open-link[aria-disabled="true"] { cursor:not-allowed; }
.tool-arrow { position:absolute; top:24px; right:20px; display:flex; transition:transform 200ms ease,color 200ms ease; }
.tool-arrow svg { width:16px; height:16px; }
.tool:has(.open-link[href]):hover { background:#f1f4f5; border-color:#c9d3d7; }
.tool:has(.open-link[href]):hover .tool-arrow { color:#176c64; transform:translate(2px,-2px); }
.tool:has(.open-link:focus-visible) { outline:2px solid #176c64; outline-offset:3px; }
.tool-pending { background:#fcfcfd; border-color:#eef0f2; }
.tool-pending .tool-icon { color:#8b959d; }
.tool-pending .tool-arrow { color:#b8bfc4; }
.tool-retry { position:absolute; right:18px; bottom:10px; z-index:1; padding:6px 0; color:#176c64; font-size:11px; }
.tool:has(.error:not([hidden])) { height:auto; min-height:154px; padding-bottom:59px; }
.tool .error { position:relative; margin:7px 0 0; }
.error { margin:12px 0 0; color:#9c4637; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.runtime-notes { margin:20px var(--page-inset) 28px; color:#828c94; font-size:11px; }
.runtime-notes summary { width:fit-content; cursor:pointer; line-height:20px; }
.runtime-notes p { margin:10px 0 0; max-width:760px; font-size:12px; line-height:1.8; }
.footnote { margin:20px var(--page-inset); color:#74828a; font-size:12px; }
@media (max-width:1100px) { :root { --page-inset:32px; } }
@media (max-width:1024px) { .tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { :root { --page-inset:24px; } .topbar { height:64px; } .brand { font-size:17px; } .top-actions { gap:16px; } .local-label { font-size:10px; } .business-entries { padding-top:22px; } }
@media (max-width:600px) { .tool-grid { grid-template-columns:1fr; } .business-heading p { display:none; } .top-actions { gap:12px; } .top-actions button { font-size:11px; } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { transition:none !important; } }
.platform-showcase { position:relative; height:clamp(410px,48vh,460px); background:#f3f5f6; color:#222c33; }
.platform-visual { position:absolute; top:0; bottom:84px; left:0; right:0; }
.platform-watermark { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#e7ecf0; opacity:.65; font-size:clamp(72px,8.3vw,132px); line-height:1; letter-spacing:.08em; font-weight:600; pointer-events:none; user-select:none; }
.platform-canvas { position:absolute; inset:0 4% 0; }
.platform-canvas canvas { display:block; touch-action:none; cursor:grab; }
.platform-canvas canvas:active { cursor:grabbing; }
.platform-loading { position:absolute; inset:38% 15% auto; margin:0; text-align:center; color:#76838d; font-size:12px; line-height:1.8; pointer-events:none; }
.platform-prev, .platform-next { position:absolute; top:42%; width:40px; height:40px; display:grid; place-items:center; padding:0; border:1px solid #d4dde3; border-radius:50%; color:#53636f; transition:background-color 200ms,border-color 200ms; }
.platform-prev { left:0; } .platform-next { right:0; }
.platform-prev:hover, .platform-next:hover { background:#fff; border-color:#9fadb8; }
.platform-count { position:absolute; bottom:0; left:0; color:#687b88; font:10px/20px Consolas,monospace; }
.platform-count i { color:#9daab3; font-style:normal; }
.platform-controls { position:absolute; bottom:-3px; right:0; display:flex; align-items:center; gap:12px; color:#87949e; font-size:10px; }
.platform-controls button { display:grid; place-items:center; width:27px; height:27px; padding:0; color:#6b7d89; border-radius:4px; }
.platform-controls button:hover { background:#e4e9ed; }
.platform-info { position:absolute; left:0; right:0; bottom:48px; display:flex; align-items:center; justify-content:center; gap:16px; text-align:center; }
.platform-info h2 { margin:0; font-size:25px; line-height:34px; font-weight:500; letter-spacing:-.055em; }
.platform-details { display:inline-flex; align-items:center; gap:5px; color:#5d727d; font-size:12px; line-height:22px; text-decoration:none; transition:color 200ms; }
.platform-details svg { color:currentColor; transition:transform 200ms,color 200ms; }
.platform-details:hover { color:#176c64; }
.platform-details:hover svg { transform:translate(2px,-2px); color:#176c64; }
.platform-details:focus-visible { outline:2px solid #176c64; outline-offset:4px; }
.platform-models { position:absolute; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border-top:1px solid #d6dfe5; }
.platform-models button { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; height:40px; padding:0 5px; color:#8a9aa6; font-size:11px; white-space:nowrap; }
.platform-models button::before { position:absolute; top:-1px; left:15%; right:15%; height:2px; background:#34454f; content:""; opacity:0; }
.platform-models button span { width:3px; height:3px; background:currentColor; border-radius:50%; }
.platform-models button[aria-checked="true"] { color:#344b5b; }
.platform-models button[aria-checked="true"]::before { opacity:1; }
.platform-models button:hover { color:#344b5b; }

.workspace-copy { position:absolute; left:var(--page-inset); top:38%; max-width:315px; }
.workspace-copy p:first-child { margin:0 0 19px; font-size:10px; line-height:16px; letter-spacing:.16em; color:#68737a; }
.workspace-copy h1 { margin:0 0 17px; font-size:32px; line-height:1.4; letter-spacing:-.02em; font-weight:600; }
.workspace-copy p:last-child { margin:0; color:#737c83; font-size:13px; line-height:1.8; }
.platform-deck { position:absolute; top:12px; bottom:12px; left:calc(var(--page-inset) + 350px); right:var(--page-inset); }
.platform-models button { font-size:10px; gap:5px; }
.platform-controls span { font-size:9px; }
.platform-prev,.platform-next { width:32px; height:32px; }
@media(max-width:1100px) { .workspace-copy { max-width:275px; } .workspace-copy h1 { font-size:28px; } .workspace-copy p:last-child { font-size:12px; } .platform-deck { left:calc(var(--page-inset) + 290px); } .platform-models button { font-size:9px; gap:3px; } .platform-controls span { display:none; } }
@media(max-width:720px) { .platform-showcase { height:610px; } .workspace-copy { top:25px; max-width:none; } .workspace-copy p:first-child { margin-bottom:10px; font-size:9px; } .workspace-copy h1 { font-size:26px; margin-bottom:8px; } .platform-deck { top:150px; bottom:12px; left:var(--page-inset); } .platform-visual { bottom:120px; } .platform-canvas { inset:0 -8px 12px; } .platform-watermark { font-size:18vw; } .platform-info { bottom:85px; } .platform-info h2 { font-size:26px; line-height:34px; } .platform-models { grid-template-columns:repeat(3,minmax(0,1fr)); } .platform-models button { height:36px; font-size:10px; } }
