/* Content-only visual system sampled from the GenZen console on port 4317.
   The homepage, navigation rail and sidebar deliberately have no matching rules. */
/* Functional pages share navigation and action placement; no homepage selectors. */
#main .wb-functional-page .console-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px;}
#main .wb-functional-page .console-page-back{min-height:36px;white-space:nowrap;}
#main .wb-functional-page .pagehead{justify-content:space-between;align-items:center;}
#main .wb-functional-page .pagehead h2{margin:0;}
#main .wb-functional-page :is(.pagehead,.card)>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;box-sizing:border-box;border:1px solid var(--w-line);border-radius:8px;background:var(--w-raised);color:var(--w-fg);text-decoration:none;}
#main .wb-functional-page :is(.pagehead,.card)>a:hover{background:var(--w-hover);}
#main .wb-functional-page :is(a,button,input,textarea,select):focus-visible,.embedded-tool-toolbar button:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
#main .wb-functional-page .grid:has(>.card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr));}
#main .embedded-tool-shell{display:flex;flex-direction:column;height:calc(100dvh - 34px);min-height:0;width:100%;overflow:hidden;box-sizing:border-box;}
#main .embedded-tool-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px;flex-shrink:0;padding:12px 24px;border-bottom:1px solid var(--w-line);background:var(--w-bg);color:var(--w-fg);}
#main .embedded-tool-toolbar button{min-height:40px;padding:8px 12px;background:var(--w-card);color:var(--w-fg);border:1px solid var(--w-line);border-radius:8px;cursor:pointer;font:inherit;}
body.wb-tool-surface .intro{display:none;}
body.wb-tool-surface .editor-grid textarea{min-height:180px;height:clamp(180px,30dvh,320px);}
@media(max-width:600px){#main .wb-functional-page .grid:has(>.card:nth-child(4):last-child){grid-template-columns:minmax(0,1fr);}#main .embedded-tool-toolbar{padding:10px 16px;gap:8px;}#main .embedded-tool-toolbar strong{font-size:13px;}}
body:has(#main):not(:has(#main .reference-home)),body.wb-tool-surface {
 --w-bg:#171717;--w-card:#212121;--w-raised:#262626;--w-line:#3d3d3d;
 --w-fg:#f2f2f2;--w-muted:#adadad;--w-hover:#353535;--w-accent:#f2acba;
}
body:not(.dark):has(#main):not(:has(#main .reference-home)),html[data-theme=light] body.wb-tool-surface {
 --w-bg:#fff;--w-card:#fafafa;--w-raised:#fff;--w-line:#e3e3e3;
 --w-fg:#171717;--w-muted:#626262;--w-hover:#eee;--w-accent:#a82d52;
}
@font-face{font-family:WorkbenchConsoleGeist;src:url('/open-platform.woff2') format('woff2');font-display:swap}
html body #main:not(:has(.reference-home)),html body.wb-tool-surface {
 background:var(--w-bg)!important;color:var(--w-fg)!important;
 font-family:WorkbenchConsoleGeist,"PingFang SC","Microsoft YaHei",sans-serif!important;
 font-size:14px;line-height:1.6;min-width:0;
}
html body #main:not(:has(.reference-home)) :is(.page,.market-page,.r-schedules,.r-library,.conversation,.assistant-start),html body.wb-tool-surface>main {
 width:100%!important;max-width:1120px!important;box-sizing:border-box;
 margin:0 auto!important;padding:32px 40px 48px!important;min-width:0;
}
html body #main:not(:has(.reference-home)) :is(.pagehead,.market-top,.r-schedule-head,.video-history-all>header) {
 display:flex;align-items:center;flex-wrap:wrap;gap:12px;
 margin:0 0 24px!important;padding-bottom:0;min-height:40px;
}
html body #main:not(:has(.reference-home)) :is(h1,h2),html body.wb-tool-surface :is(.intro h1,section>h2) {
 font-family:WorkbenchConsoleGeist,"Microsoft YaHei",sans-serif!important;
 font-size:24px!important;font-weight:600!important;line-height:1.4!important;
 letter-spacing:0!important;color:var(--w-fg)!important;margin:0 0 16px;
}
html body #main:not(:has(.reference-home)) h3 {font-size:16px!important;font-weight:600;line-height:1.5;color:var(--w-fg)!important;}
html body #main:not(:has(.reference-home)) .console-breadcrumb {font-size:12px;line-height:20px;color:var(--w-muted);margin-bottom:24px;}
html body #main:not(:has(.reference-home)) :is(p,small,.sub,.muted,.blank,.hint,.library-summary),html body.wb-tool-surface :is(.hint,.intro p,.empty) {color:var(--w-muted)!important;line-height:1.7;}
html body #main:not(:has(.reference-home)) :is(.grid,.r-schedule-grid,.expert-cards,.library-uses) {gap:16px!important;}
html body #main:not(:has(.reference-home)) :is(.card,.panel,.list-row,.blank,.r-setting,.reference-expert,.r-schedule-card,.library-info),html body.wb-tool-surface :is(.pane,.preset-card,.detail-card) {
 background:var(--w-card)!important;color:var(--w-fg)!important;
 border:1px solid var(--w-line)!important;border-radius:12px!important;
 padding:20px!important;box-shadow:none!important;min-width:0;
}
html body #main:not(:has(.reference-home)) :is(button,input,select,textarea),html body.wb-tool-surface :is(button,input,select,textarea) {
 font-family:WorkbenchConsoleGeist,"Microsoft YaHei",sans-serif!important;
 font-size:13px!important;color:var(--w-fg)!important;box-sizing:border-box;
}
html body #main:not(:has(.reference-home)) button:not(.compose-inner button):not(.reference-compose-menu button):not(.conversation-input-actions button),html body.wb-tool-surface button {
 min-height:36px;padding:8px 14px;border:1px solid var(--w-line)!important;
 border-radius:8px!important;background:var(--w-card)!important;box-shadow:none!important;line-height:1.4;
}
html body #main:not(:has(.reference-home)) button:hover:not(:disabled),html body.wb-tool-surface button:hover:not(:disabled) {background:var(--w-hover)!important;}
html body #main:not(:has(.reference-home)) button:disabled,html body.wb-tool-surface button:disabled {color:var(--w-muted)!important;cursor:not-allowed;}
html body #main:not(:has(.reference-home)) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),html body.wb-tool-surface :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {
 background:var(--w-card)!important;border:1px solid var(--w-line)!important;border-radius:8px;
 max-width:100%;padding:10px 12px;
}
html body #main:not(:has(.reference-home)) :is(input,select):not([type=checkbox]):not([type=radio]):not([type=file]) {min-height:40px;}
html body #main:not(:has(.reference-home)) ::placeholder,html body.wb-tool-surface ::placeholder {color:var(--w-muted)!important;opacity:1;}
html body #main:not(:has(.reference-home)) :is(button,a,input,select):focus-visible,html body.wb-tool-surface :focus-visible {outline:2px solid var(--w-muted)!important;outline-offset:2px;}
html body #main:not(:has(.reference-home)) .conversation-compose #prompt {border:0!important;background:transparent!important;padding:0!important;}
html body #main:not(:has(.reference-home)) :is(.tabs,.market-tabs,.settings-column-nav) {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;border-color:var(--w-line)!important;}
html body #main:not(:has(.reference-home)) :is(.tabs,.market-tabs,.settings-column-nav) button.active {border-color:var(--w-accent)!important;color:var(--w-accent)!important;}
html body #main:not(:has(.reference-home)) :is(th,td),html body.wb-tool-surface :is(th,td) {padding:12px 16px;border-color:var(--w-line)!important;text-align:left;}
html body #main:not(:has(.reference-home)) th,html body.wb-tool-surface th {background:var(--w-card)!important;color:var(--w-muted)!important;font-weight:500;}
html body #main:not(:has(.reference-home)) :is(.pagehead,.r-schedule-head) svg {width:16px;height:16px;flex-shrink:0;}
html body.wb-tool-surface {--bg:var(--w-bg);--panel:var(--w-card);--input:var(--w-card);--text:var(--w-fg);--muted:var(--w-muted);--line:var(--w-line);--hover:var(--w-hover);--focus:var(--w-muted);--selected:var(--w-hover);--link:var(--w-accent);}
html body.wb-tool-surface .intro {margin-bottom:24px;}
html body.wb-tool-surface .tabs a {min-height:36px;padding:8px 14px;border-radius:8px;}
html body.wb-tool-surface .pane {padding:0!important;}
html body.wb-tool-surface .pane-label {min-height:44px;padding:10px 16px;}
html body.wb-tool-surface>header[hidden]{display:none!important;}
html body:not(:has(#main .reference-home)) :is(.settings-layer .replica-window,.settings-layer .r-setting-content) {
 background:var(--w-bg)!important;color:var(--w-fg)!important;border-color:var(--w-line)!important;
 font-family:WorkbenchConsoleGeist,"Microsoft YaHei",sans-serif!important;
}
html body:not(:has(#main .reference-home)) .settings-layer :is(input,select,textarea,.r-setting) {
 background:var(--w-card)!important;color:var(--w-fg)!important;border-color:var(--w-line)!important;border-radius:8px;
}
@media(max-width:900px){html body #main:not(:has(.reference-home)) :is(.page,.market-page,.r-schedules,.r-library,.conversation,.assistant-start),html body.wb-tool-surface>main{padding:24px!important;}html body #main:not(:has(.reference-home)) .feature-banners{flex-wrap:wrap;}}
@media(max-width:600px){html body #main:not(:has(.reference-home)) :is(.page,.market-page,.r-schedules,.r-library,.conversation,.assistant-start),html body.wb-tool-surface>main{padding:20px 16px 36px!important;}html body #main:not(:has(.reference-home)) :is(h1,h2),html body.wb-tool-surface .intro h1{font-size:21px!important;}html body #main:not(:has(.reference-home)) :is(.grid,.expert-cards,.r-schedule-grid){grid-template-columns:minmax(0,1fr)!important;}}
