































:root,
html.theme-light {

    --wb-face:        #f0f0f0;
    --wb-face-2:      #e6e6e6;
    --wb-white:       #ffffff;
    --wb-desk:        #d9d9d9;
    --wb-well:        #f4f4f4;


    --wb-edge:        #a0a0a0;
    --wb-edge-2:      #c6c6c6;
    --wb-edge-3:      #dedede;
    --wb-edge-4:      #ececec;
    --wb-etch-lo:     #c9c9c9;
    --wb-etch-hi:     #ffffff;


    --wb-ink:         #111111;
    --wb-ink-2:       #3b3b3b;
    --wb-ink-3:       #6b6b6b;
    --wb-ink-4:       #8d8d8d;
    --wb-link:        #0645ad;


    --wb-hover:       #e5f3ff;
    --wb-hover-edge:  #cce8ff;
    --wb-sel:         #cce8ff;
    --wb-sel-edge:    #99d1ff;
    --wb-focus:       #0078d7;


    --wb-btn:         #e1e1e1;
    --wb-btn-edge:    #adadad;
    --wb-btn-hover:   #e5f1fb;
    --wb-btn-down:    #cce4f7;
    --wb-btn-down-edge: #005499;
    --wb-field-edge:  #7a7a7a;



    --wb-title:       linear-gradient(#fbfbfb, #e7e7e7);
    --wb-title-edge:  #a0a0a0;
    --wb-title-act:   linear-gradient(#edf4fd, #d2e3f6);
    --wb-title-act-edge: #86a8d3;


    --wb-ok:          #107c10;
    --wb-err:         #c42b1c;
    --wb-warn:        #9d5d00;
    --wb-info:        #0063b1;
    --wb-violet:      #6b2fa3;





    --wb-dots:        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='1' height='1' fill='%23a9a9a9'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E");
    --wb-dots-act:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='1' height='1' fill='%238aa9d4'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23f4f8fd'/%3E%3C/svg%3E");
    --wb-grip-v:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='11'%3E%3Cg fill='%23e8effb'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='3' y='0' width='1' height='1'/%3E%3Crect x='6' y='0' width='1' height='1'/%3E%3Crect x='0' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3Crect x='6' y='3' width='1' height='1'/%3E%3Crect x='0' y='6' width='1' height='1'/%3E%3Crect x='3' y='6' width='1' height='1'/%3E%3Crect x='6' y='6' width='1' height='1'/%3E%3Crect x='0' y='9' width='1' height='1'/%3E%3Crect x='3' y='9' width='1' height='1'/%3E%3Crect x='6' y='9' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
    --wb-grip-h:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cg fill='%23e8effb'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='0' y='3' width='1' height='1'/%3E%3Crect x='0' y='6' width='1' height='1'/%3E%3Crect x='3' y='0' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3Crect x='3' y='6' width='1' height='1'/%3E%3Crect x='6' y='0' width='1' height='1'/%3E%3Crect x='6' y='3' width='1' height='1'/%3E%3Crect x='6' y='6' width='1' height='1'/%3E%3Crect x='9' y='0' width='1' height='1'/%3E%3Crect x='9' y='3' width='1' height='1'/%3E%3Crect x='9' y='6' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");


    --wb-thumb-v:       var(--wb-grip-v) center / 7px 11px no-repeat, linear-gradient(90deg, #a8c0e8 0%, #87a6db 40%, #6a8fcd 100%);
    --wb-thumb-h:       var(--wb-grip-h) center / 11px 7px no-repeat, linear-gradient(180deg, #a8c0e8 0%, #87a6db 40%, #6a8fcd 100%);
    --wb-thumb-v-hover: var(--wb-grip-v) center / 7px 11px no-repeat, linear-gradient(90deg, #b8cdef 0%, #95b2e3 40%, #789cd6 100%);
    --wb-thumb-h-hover: var(--wb-grip-h) center / 11px 7px no-repeat, linear-gradient(180deg, #b8cdef 0%, #95b2e3 40%, #789cd6 100%);
    --wb-thumb-v-down:  var(--wb-grip-v) center / 7px 11px no-repeat, linear-gradient(90deg, #7f9fd6 0%, #5f86c7 100%);
    --wb-thumb-h-down:  var(--wb-grip-h) center / 11px 7px no-repeat, linear-gradient(180deg, #7f9fd6 0%, #5f86c7 100%);
    --wb-grip-split:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='1' height='1' fill='%23909090'/%3E%3C/svg%3E");

    --wb-check:       url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M2 5.5 4.5 8 9 3' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");
    --wb-caret:       url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5'%3E%3Cpath d='M0 0h9L4.5 5z' fill='%23333'/%3E%3C/svg%3E");



    --nk-hand-offen: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2232%22%20height=%2232%22%20viewBox=%220%200%2032%2032%22%3E%3Cg%20fill=%22%231f2328%22%20stroke=%22%231f2328%22%20stroke-width=%222.4%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%2210.2%22%20y=%226.0%22%20width=%223.4%22%20height=%2212%22%20rx=%221.7%22/%3E%3Crect%20x=%2213.8%22%20y=%224.5%22%20width=%223.4%22%20height=%2213.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2217.4%22%20y=%225.5%22%20width=%223.4%22%20height=%2212.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2221.0%22%20y=%228.5%22%20width=%223.2%22%20height=%2210%22%20rx=%221.6%22/%3E%3Crect%20x=%2210.2%22%20y=%2213%22%20width=%2214%22%20height=%2213.5%22%20rx=%225%22/%3E%3Crect%20x=%224.5%22%20y=%2217.8%22%20width=%228.5%22%20height=%223.6%22%20rx=%221.8%22%20transform=%22rotate(38%2012%2019.6)%22/%3E%3C/g%3E%3Cg%20fill=%22%23fff%22%3E%3Crect%20x=%2210.2%22%20y=%226.0%22%20width=%223.4%22%20height=%2212%22%20rx=%221.7%22/%3E%3Crect%20x=%2213.8%22%20y=%224.5%22%20width=%223.4%22%20height=%2213.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2217.4%22%20y=%225.5%22%20width=%223.4%22%20height=%2212.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2221.0%22%20y=%228.5%22%20width=%223.2%22%20height=%2210%22%20rx=%221.6%22/%3E%3Crect%20x=%2210.2%22%20y=%2213%22%20width=%2214%22%20height=%2213.5%22%20rx=%225%22/%3E%3Crect%20x=%224.5%22%20y=%2217.8%22%20width=%228.5%22%20height=%223.6%22%20rx=%221.8%22%20transform=%22rotate(38%2012%2019.6)%22/%3E%3C/g%3E%3Cg%20stroke=%22%231f2328%22%20stroke-width=%220.9%22%20stroke-linecap=%22round%22%20fill=%22none%22%3E%3Cpath%20d=%22M13.8%209.5V15.5%22/%3E%3Cpath%20d=%22M17.4%209.0V15.5%22/%3E%3Cpath%20d=%22M21.0%2011.5V15.5%22/%3E%3C/g%3E%3C/svg%3E") 16 15, grab;
    --nk-hand-zu: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2232%22%20height=%2232%22%20viewBox=%220%200%2032%2032%22%3E%3Cg%20fill=%22%231f2328%22%20stroke=%22%231f2328%22%20stroke-width=%222.4%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%2210.2%22%20y=%2211.0%22%20width=%223.4%22%20height=%226%22%20rx=%221.7%22/%3E%3Crect%20x=%2213.8%22%20y=%2210.3%22%20width=%223.4%22%20height=%226.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2217.4%22%20y=%2210.8%22%20width=%223.4%22%20height=%226%22%20rx=%221.7%22/%3E%3Crect%20x=%2221.0%22%20y=%2212.0%22%20width=%223.2%22%20height=%225%22%20rx=%221.6%22/%3E%3Crect%20x=%2210.2%22%20y=%2213%22%20width=%2214%22%20height=%2212.5%22%20rx=%225%22/%3E%3Crect%20x=%226.5%22%20y=%2217.2%22%20width=%227%22%20height=%223.6%22%20rx=%221.8%22%20transform=%22rotate(15%2012.5%2019)%22/%3E%3C/g%3E%3Cg%20fill=%22%23fff%22%3E%3Crect%20x=%2210.2%22%20y=%2211.0%22%20width=%223.4%22%20height=%226%22%20rx=%221.7%22/%3E%3Crect%20x=%2213.8%22%20y=%2210.3%22%20width=%223.4%22%20height=%226.5%22%20rx=%221.7%22/%3E%3Crect%20x=%2217.4%22%20y=%2210.8%22%20width=%223.4%22%20height=%226%22%20rx=%221.7%22/%3E%3Crect%20x=%2221.0%22%20y=%2212.0%22%20width=%223.2%22%20height=%225%22%20rx=%221.6%22/%3E%3Crect%20x=%2210.2%22%20y=%2213%22%20width=%2214%22%20height=%2212.5%22%20rx=%225%22/%3E%3Crect%20x=%226.5%22%20y=%2217.2%22%20width=%227%22%20height=%223.6%22%20rx=%221.8%22%20transform=%22rotate(15%2012.5%2019)%22/%3E%3C/g%3E%3Cg%20stroke=%22%231f2328%22%20stroke-width=%220.9%22%20stroke-linecap=%22round%22%20fill=%22none%22%3E%3Cpath%20d=%22M13.8%2012.3V15.5%22/%3E%3Cpath%20d=%22M17.4%2012.3V15.5%22/%3E%3Cpath%20d=%22M21.0%2013.3V15.5%22/%3E%3C/g%3E%3C/svg%3E") 16 15, grabbing;
    --wb-arr-up:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 4h7L3.5 0z' fill='%23111'/%3E%3C/svg%3E");
    --wb-arr-down:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 0h7L3.5 4z' fill='%23111'/%3E%3C/svg%3E");
    --wb-arr-left:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M4 0v7L0 3.5z' fill='%23111'/%3E%3C/svg%3E");
    --wb-arr-right:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M0 0v7l4-3.5z' fill='%23111'/%3E%3C/svg%3E");


    --bg-darkest: #ffffff;
    --bg-dark: var(--wb-face);
    --bg-panel: #f5f5f5;
    --bg-card: #ffffff;
    --bg-hover: #ebebeb;
    --bg-input: #ffffff;
    --bg-elev: #ffffff;
    --bg: #ffffff;
    --panel-2: #f5f5f5;
    --border: var(--wb-edge-2);
    --border-light: var(--wb-edge);
    --line: var(--wb-edge-2);
    --text: var(--wb-ink);
    --text-dim: var(--wb-ink-2);
    --text-muted: var(--wb-ink-3);

    --accent: var(--wb-focus);
    --accent-hover: #0a5fb4;
    --accent-2: #b35c00;
    --accent-2-hover: #8f4a00;
    --accent-2-dim: rgba(179, 92, 0, 0.10);
    --accent-dim: rgba(0, 120, 215, 0.10);
    --accent-glow: rgba(0, 120, 215, 0.18);
    --accent-grad: linear-gradient(180deg, #3d8fdc, #1f6fc0);
    --brown: var(--accent-2);

    --green: var(--wb-ok);
    --green-dim: rgba(16, 124, 16, 0.10);
    --accent-green: var(--wb-ok);
    --red: var(--wb-err);
    --red-dim: rgba(196, 43, 28, 0.09);
    --yellow: var(--wb-warn);
    --yellow-dim: rgba(157, 93, 0, 0.11);
    --blue: var(--wb-info);
    --blue-dim: rgba(0, 99, 177, 0.09);

    --font: "Segoe UI", Tahoma, "Noto Sans", "DejaVu Sans", Arial, sans-serif;
    --mono: Consolas, "Cascadia Mono", "Lucida Console", "Courier New", monospace;
    --font-mono: var(--mono);

    --radius: 0px;
    --radius-lg: 0px;
    --shadow-sm: none;
    --shadow: 2px 3px 6px rgba(0, 0, 0, 0.26);
    --shadow-glow: none;


    --hairline: rgba(0, 0, 0, 0.07);






    --mb-h: 22px;
    --tb-h: 42px;
    --ft-h: 23px;
    --pt-h: 31px;
    --log-h: 23px;
    --log-open-h: 0px;
    --sb-h: 22px;
    --dock-w: 21px;
    --nav-panel-w: 268px;
    --split-w: 5px;
    --insp-w: 0px;
    --dock-r-w: 21px;
    --nav-w: calc(var(--dock-w) + var(--nav-panel-w) + var(--split-w));
    --header-h: calc(var(--mb-h) + var(--tb-h) + var(--ft-h) + var(--pt-h));
    --footer-h: calc(var(--log-h) + var(--log-open-h) + var(--sb-h));



    --page-h: calc(100vh - var(--header-h) - var(--footer-h) - 5px);
    --page-pad-y: 12px;
    --page-pad-x: 14px;


    --sb-expanded: var(--nav-w);
    --sb-collapsed: var(--dock-w);
}


html.nav-collapsed { --nav-w: calc(var(--dock-w) + 4px); }

html.wb-ohne-seitenleiste { --pt-h: 0px; }

html.wb-ohne-werkzeugleiste { --tb-h: 0px; }

html.wb-ohne-statusleiste { --sb-h: 0px; }

html.wb-mit-inspektor { --insp-w: 300px; }


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--wb-face); }
body {
    background: var(--bg-darkest);
    color: var(--text);
    font-family: var(--font);
    font-size: 12px;
    line-height: 1.4;
    min-height: 100vh;
    overflow-x: hidden;


    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}



a { color: var(--wb-link); text-decoration: none; }
a:hover { color: #0b0080; text-decoration: underline; }

:focus-visible { outline: 1px dotted #111; outline-offset: 1px; }
::selection { background: #3399ff; color: #fff; }







::-webkit-scrollbar { width: 15px; height: 15px; }
::-webkit-scrollbar-track { background: #fbfbfb; }
::-webkit-scrollbar-track:vertical { border-left: 1px solid #e4e4e4; }
::-webkit-scrollbar-track:horizontal { border-top: 1px solid #e4e4e4; }
::-webkit-scrollbar-corner { background: var(--wb-face); }
::-webkit-scrollbar-thumb {
    border: 1px solid #4a6ea8;
    min-height: 24px;
    min-width: 24px;
}
::-webkit-scrollbar-thumb:vertical { background: var(--wb-thumb-v); }
::-webkit-scrollbar-thumb:horizontal { background: var(--wb-thumb-h); }
::-webkit-scrollbar-thumb:vertical:hover { background: var(--wb-thumb-v-hover); }
::-webkit-scrollbar-thumb:horizontal:hover { background: var(--wb-thumb-h-hover); }
::-webkit-scrollbar-thumb:vertical:active { background: var(--wb-thumb-v-down); }
::-webkit-scrollbar-thumb:horizontal:active { background: var(--wb-thumb-h-down); }
::-webkit-scrollbar-button:single-button {
    display: block;
    width: 15px; height: 15px;
    background-color: #ffffff;
    border: 1px solid #c3c3c3;
    background-repeat: no-repeat;
    background-position: center;
}
::-webkit-scrollbar-button:single-button:hover { background-color: var(--wb-hover); border-color: #7eb4ea; }
::-webkit-scrollbar-button:single-button:active { background-color: var(--wb-btn-down); }
::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: var(--wb-arr-up); background-size: 7px 4px; }
::-webkit-scrollbar-button:single-button:vertical:increment { background-image: var(--wb-arr-down); background-size: 7px 4px; }
::-webkit-scrollbar-button:single-button:horizontal:decrement { background-image: var(--wb-arr-left); background-size: 4px 7px; }
::-webkit-scrollbar-button:single-button:horizontal:increment { background-image: var(--wb-arr-right); background-size: 4px 7px; }

::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement,
::-webkit-scrollbar-button:horizontal:start:increment,
::-webkit-scrollbar-button:horizontal:end:decrement { display: none; }
@supports (-moz-appearance: none) {
    * { scrollbar-color: #7f9fd6 #fbfbfb; }
}















body.app-shell { overflow: hidden; height: 100vh; }

.wb-menubar,
.wb-toolbar,
.wb-logdock,
.wb-statusbar { position: fixed; left: 0; right: 0; }


.wb-menubar {
    top: 0;
    height: var(--mb-h);
    z-index: 120;
    display: flex;
    align-items: stretch;
    padding: 0 2px;
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    user-select: none;
}
.wb-menu { position: relative; display: flex; }
.wb-menu__btn {
    display: flex;
    align-items: center;
    padding: 0 7px;
    margin: 1px 0;
    background: none;
    border: 1px solid transparent;
    color: var(--wb-ink);
    font: 12px var(--font);
    cursor: default;
}

.wb-menu__btn u { text-decoration: underline; text-underline-offset: 2px; }
.wb-menu__btn:hover,
.wb-menubar.is-aktiv .wb-menu__btn:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); }
.wb-menu.is-open > .wb-menu__btn { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.wb-menubar__rechts {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    color: var(--wb-ink-3);
    font-size: 11px;
}
.wb-menubar__marke { color: var(--wb-ink); font-weight: 600; letter-spacing: 0.01em; }
.wb-beta {
    padding: 0 4px;
    border: 1px solid #c9a36b;
    background: #fff8ec;
    color: #8a5a12;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.wb-pop {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1300;
    min-width: 214px;
    padding: 2px;
    background: #f2f2f2;
    border: 1px solid #a0a0a0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.28);
    display: none;
}
.wb-menu.is-open > .wb-pop { display: block; }
.wb-pop--frei { position: fixed; display: block; }
.wb-pop__item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 22px;
    padding: 0 22px 0 28px;
    background: none;
    border: 1px solid transparent;
    color: var(--wb-ink);
    font: 12px var(--font);
    text-align: left;
    white-space: nowrap;
    cursor: default;
    text-decoration: none;
}
a.wb-pop__item:hover { text-decoration: none; color: var(--wb-ink); }
.wb-pop__item:hover:not(:disabled),
.wb-pop__item.is-fokus { background: #cce8ff; border-color: #99d1ff; }
.wb-pop__item:disabled,
.wb-pop__item.is-aus { color: var(--wb-ink-4); }
.wb-pop__item > svg,
.wb-pop__item > .wb-tb { position: absolute; left: 6px; top: 2px; }
.wb-pop__item.is-an::before {
    content: '';
    position: absolute;
    left: 8px; top: 5px;
    width: 11px; height: 11px;
    background: var(--wb-check) center / 11px 11px no-repeat;
}
.wb-pop__kurz { margin-left: auto; padding-left: 28px; color: var(--wb-ink-3); font-size: 11px; }
.wb-pop__sep { height: 1px; margin: 3px 2px 3px 28px; background: #d7d7d7; border-bottom: 1px solid #ffffff; }
.wb-pop__kopf {
    padding: 3px 8px 2px 28px;
    color: var(--wb-ink-3);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wb-pop__item--sub::after {
    content: '';
    position: absolute;
    right: 8px; top: 7px;
    width: 4px; height: 7px;
    background: var(--wb-arr-right) center / 4px 7px no-repeat;
}
.wb-pop .wb-pop { top: -3px; left: 100%; }
.wb-pop__wrap { position: relative; }
.wb-pop__wrap:hover > .wb-pop { display: block; }


.wb-toolbar {
    top: var(--mb-h);
    height: var(--tb-h);
    z-index: 110;
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 0 6px;
    background: #ffffff;
    border-bottom: 1px solid #d5d5d5;
    overflow: hidden;
    user-select: none;
}
html.wb-ohne-werkzeugleiste .wb-toolbar { display: none; }
.wb-tool {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 46px;
    height: 38px;
    padding: 1px 6px 0;
    background: none;
    border: 1px solid transparent;
    color: var(--wb-ink);
    font: 11.5px var(--font);
    text-decoration: none;
    white-space: nowrap;
    cursor: default;
}
.wb-tool:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); color: var(--wb-ink); text-decoration: none; }
.wb-tool:active { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.wb-tool.is-hier { background: #f0f6fd; border-color: #d6e6f7; }
.wb-tool svg { width: 18px; height: 18px; color: #555; flex: none; }
.wb-tool.is-hier svg { color: var(--wb-focus); }
.wb-tool__sep {
    flex: none;
    width: 2px;
    height: 30px;
    margin: 0 5px;
    border-left: 1px solid #d0d0d0;
    border-right: 1px solid #ffffff;
}


.wb-tool--haupt {
    flex-direction: row;
    height: 26px;
    min-width: 0;
    margin: 0 4px;
    padding: 0 14px;
    background: linear-gradient(#4a97e0, #2b7bd0);
    border: 1px solid #1f64ad;
    color: #ffffff;
    font-size: 12px;
}
.wb-tool--haupt:hover { background: linear-gradient(#5aa3e8, #3587d8); border-color: #1f64ad; color: #fff; }
.wb-tool--haupt:active { background: #2170c0; border-color: #174f8a; }
.wb-toolbar__rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; padding-left: 10px; }
.wb-suche {
    position: relative;
    display: flex;
    align-items: center;
}
.wb-suche__label { color: var(--wb-ink-2); font-size: 11.5px; margin-right: 6px; white-space: nowrap; }
.app-shell .wb-suche input[type="search"] {
    width: 230px;
    height: 22px;
    padding: 1px 22px 1px 5px;
    font-size: 12px;
}
.wb-suche__knopf {
    position: absolute;
    right: 1px; top: 1px;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: 0;
    color: #555;
    cursor: default;
}
.wb-suche__liste {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    z-index: 1300;
    width: 420px;
    max-height: 420px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #a0a0a0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}
.wb-suche__liste[hidden] { display: none; }
.wb-treffer {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 21px;
    padding: 0 6px;
    background: none;
    border: 1px solid transparent;
    color: var(--wb-ink);
    font: 12px var(--font);
    text-align: left;
    cursor: default;
}
.wb-treffer:hover, .wb-treffer.is-fokus { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.wb-treffer__pfad { margin-left: auto; color: var(--wb-ink-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.wb-treffer__leer { padding: 6px 8px; color: var(--wb-ink-3); font-style: italic; }
.wb-hilfe-knopf {
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 1px 6px 0; height: 38px; justify-content: center;
    background: none; border: 1px solid transparent; color: var(--wb-ink); font: 11.5px var(--font);
    cursor: default;
}
.wb-hilfe-knopf:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); }
.wb-hilfe-knopf svg { width: 18px; height: 18px; color: #2f6db5; }





.wb-i { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: -3px; color: #555; }
.wb-i--klein { width: 12px; height: 12px; vertical-align: -1px; }



.wb-tb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
    background: #ffffff;
    color: #555555;
    font: 700 9px/1 var(--mono);
    letter-spacing: 0;
    vertical-align: -3px;
}
.wb-tb--agent    { color: #1f5fa8; background: #eef4fb; }
.wb-tb--modell   { color: #6b2fa3; background: #f5effa; }
.wb-tb--tool     { color: #9a5b00; background: #fdf6ea; }
.wb-tb--mcp      { color: #0d7377; background: #eaf6f6; }
.wb-tb--skill    { color: #2e7d32; background: #eef7ee; }
.wb-tb--prozess  { color: #8a3b12; background: #fbf1ec; }
.wb-tb--kunde    { color: #455a64; background: #f1f4f5; }
.wb-tb--benutzer { color: #37474f; background: #f2f3f4; }
.wb-tb--rolle    { color: #7a4f01; background: #fbf5e8; }
.wb-tb--tabelle  { color: #0b5394; background: #edf3fa; }
.wb-tb--konnektor{ color: #00695c; background: #e9f5f3; }
.wb-tb--seite    { color: #444444; background: #f6f6f6; }
.wb-tb--feld     { color: #6d6d6d; background: #ffffff; }


.wb-meth {
    display: inline-block;
    flex: none;
    min-width: 34px;
    padding: 0 2px;
    border: 1px solid currentColor;
    font: 700 9px/12px var(--mono);
    text-align: center;
    letter-spacing: 0.02em;
    background: #fff;
}
.wb-meth--get    { color: #0b62b5; }
.wb-meth--post   { color: #117a37; }
.wb-meth--put    { color: #9a5b00; }
.wb-meth--patch  { color: #6b2fa3; }
.wb-meth--delete { color: #b3261e; }
.wb-meth--ws     { color: #555555; }


.wb-dock {
    position: fixed;
    top: calc(var(--mb-h) + var(--tb-h));
    bottom: var(--footer-h);
    width: var(--dock-w);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
    gap: 4px;
    background: var(--wb-face);
}
.wb-dock--l { left: 0; border-right: 1px solid #d5d5d5; }
.wb-dock--r { right: 0; border-left: 1px solid #d5d5d5; }
.wb-dock__tab {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 7px 1px;
    width: 17px;
    background: #fdfdfd;
    border: 1px solid #9b9b9b;
    border-radius: 2px;
    color: var(--wb-ink);
    font: 12px var(--font);
    cursor: default;
    user-select: none;
    white-space: nowrap;
}
.wb-dock--r .wb-dock__tab { transform: none; }
.wb-dock__tab:hover { background: var(--wb-hover); border-color: #7eb4ea; }
.wb-dock__tab.is-an { background: #ffffff; border-color: #7a7a7a; font-weight: 600; }




.sidebar {
    position: fixed;
    top: calc(var(--mb-h) + var(--tb-h));
    bottom: var(--footer-h);
    left: var(--dock-w);
    width: calc(var(--nav-panel-w) + var(--split-w));
    z-index: 100;
    display: flex;
    background: var(--wb-face);
}
html.nav-collapsed .sidebar { display: none; }
.wb-nav__panel {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 4px 0 4px 4px;
    background: #ffffff;
    border: 1px solid var(--wb-edge);
}

.wb-split {
    flex: none;
    width: var(--split-w);
    cursor: ew-resize;
    background: var(--wb-face);
}
.wb-split:hover, .wb-split.is-zieht { background: #dcdcdc; }
.wb-split--h {
    width: auto;
    height: var(--split-w);
    cursor: ns-resize;
    background: var(--wb-face) var(--wb-grip-split) center / 18px 3px no-repeat;
    border-top: 1px solid var(--wb-edge-2);
    border-bottom: 1px solid var(--wb-edge-2);
}


.wb-phead {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 3px 0 6px;
    background: #ffffff;
    border-bottom: 1px solid var(--wb-edge-3);
    user-select: none;
}
.wb-phead__title { font-weight: 600; font-size: 12px; color: var(--wb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-phead__title--blau { color: #2c5c9c; font-weight: 400; }
.wb-phead__tools { margin-left: auto; display: flex; align-items: center; gap: 0; }
.wb-mini {
    width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none;
    border: 1px solid transparent;
    color: #555;
    cursor: default;
    padding: 0;
}
.wb-mini:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); }
.wb-mini:active, .wb-mini.is-an { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.wb-mini svg { width: 16px; height: 16px; }

.wb-mini[hidden] { display: none; }

.wb-nav__filter {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 4px;
    border-bottom: 1px solid var(--wb-edge-3);
    background: #fafafa;
}
.app-shell .wb-nav__filter input[type="search"] { height: 20px; padding: 0 4px; font-size: 11.5px; }
.wb-nav__zahl { flex: none; color: var(--wb-ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }

.wb-tree {
    flex: 1 1 auto;
    min-height: 60px;
    overflow: auto;
    padding: 3px 0 6px 2px;
    outline: none;
    font-size: 12px;
    background: #ffffff;
    user-select: none;
}
.wb-tree ul { list-style: none; }
.wb-tree li { position: relative; }



.wb-tree > ul { display: inline-block; min-width: 100%; vertical-align: top; }



.wb-tree li > ul { margin-left: 8px; padding-left: 9px; border-left: 1px dotted #a3a3a3; }
.wb-tree li > ul > li::before {
    content: '';
    position: absolute;
    left: -9px; top: 10px;
    width: 9px;
    border-top: 1px dotted #a3a3a3;
}
.wb-tree li > ul > li:last-child::after {
    content: '';
    position: absolute;
    left: -10px; top: 11px; bottom: 0;
    width: 2px;
    background: #ffffff;
}
.wb-tree li:not(.is-offen) > ul { display: none; }
.wb-tn {
    display: flex;
    align-items: center;
    height: 20px;
    padding-right: 6px;
    white-space: nowrap;
    cursor: default;
}

.wb-tn__tog {
    position: relative;
    flex: none;
    width: 9px; height: 9px;
    margin: 0 4px 0 -4px;
    background: #ffffff;
    border: 1px solid #919191;
    z-index: 1;
}
.wb-tn__tog::before,
.wb-tn__tog::after { content: ''; position: absolute; background: #222; }
.wb-tn__tog::before { left: 1px; right: 1px; top: 3px; height: 1px; }
.wb-tn__tog::after { top: 1px; bottom: 1px; left: 3px; width: 1px; }
li.is-offen > .wb-tn > .wb-tn__tog::after { display: none; }
.wb-tn__tog--leer { visibility: hidden; }
li.is-blatt > .wb-tn > .wb-tn__tog { visibility: hidden; }
.wb-tn__kopf {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    height: 18px;
    padding: 0 3px 0 2px;
    border: 1px solid transparent;
    color: var(--wb-ink);
    text-decoration: none;
}
a.wb-tn__kopf:hover { text-decoration: none; color: var(--wb-ink); }
.wb-tn__kopf:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); }
.wb-tn.is-sel > .wb-tn__kopf { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.wb-tree:focus .wb-tn.is-sel > .wb-tn__kopf { background: #b9dcfb; border-color: #66a7e8; }
.wb-tn.is-hier > .wb-tn__kopf .wb-tn__lbl { font-weight: 700; }
.wb-tn__lbl { white-space: nowrap; }
.wb-tn__zusatz { color: var(--wb-ink-3); font-size: 11px; margin-left: 3px; }
.wb-tn__zusatz--mono { font-family: var(--mono); font-size: 10.5px; }
.wb-tn__zustand { width: 7px; height: 7px; flex: none; margin-left: 4px; border: 1px solid rgba(0,0,0,0.25); }
.wb-tn__zustand--ok { background: #3fae3f; }
.wb-tn__zustand--warn { background: #e0a526; }
.wb-tn__zustand--err { background: #d9412f; }
.wb-tn__zustand--aus { background: #c8c8c8; }
.wb-tn__laden { color: var(--wb-ink-3); font-style: italic; padding-left: 6px; height: 20px; display: flex; align-items: center; }
.wb-tn__laden--fehler { color: var(--wb-err); }
.wb-tree .is-gefiltert { display: none !important; }
.wb-tree mark { background: #fff3a8; color: inherit; }

.wb-tn .wb-i--auf { display: none; }
li.is-offen > .wb-tn .wb-i--auf { display: inline-block; }
li.is-offen > .wb-tn .wb-i--zu { display: none; }

html.wb-ohne-eigenschaften .wb-props,
html.wb-ohne-eigenschaften #wbPropsGriff { display: none; }


.wb-props {
    flex: none;
    height: var(--wb-props-h, 210px);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.wb-ptab {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin: 0 4px 4px;
    border: 1px solid #9c9c9c;
    background: var(--wb-well);
}
.wb-ptab table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11.5px; background: #fff; }
.wb-ptab th {
    position: sticky; top: 0;
    height: 20px;
    padding: 0 5px;
    background: linear-gradient(#ffffff, #f1f1f1);
    border-right: 1px solid #d5d5d5;
    border-bottom: 1px solid #a8a8a8;
    color: var(--wb-ink);
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}
.wb-ptab td {
    height: 19px;
    padding: 0 5px;
    border-right: 1px solid var(--wb-edge-4);
    border-bottom: 1px solid var(--wb-edge-4);
    color: var(--wb-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wb-ptab td:first-child { width: 42%; color: var(--wb-ink-2); }
.wb-ptab tr:hover td { background: var(--wb-hover); }
.wb-ptab tr.is-sel td { background: var(--wb-sel); }
.wb-ptab td.is-mono { font-family: var(--mono); font-size: 11px; }
.wb-ptab td.is-ok { color: var(--wb-ok); }
.wb-ptab td.is-err { color: var(--wb-err); }
.wb-ptab td.is-warn { color: var(--wb-warn); }
.wb-ptab .wb-ptab__gruppe td {
    background: #f3f3f3;
    color: var(--wb-ink-3);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.wb-props__fuss {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px 4px;
}
.wb-props__fuss .wb-knopf { height: 21px; }

.wb-inspektor {
    position: fixed;
    top: calc(var(--mb-h) + var(--tb-h));
    bottom: var(--footer-h);
    right: var(--dock-r-w);
    width: var(--insp-w);
    z-index: 100;
    display: none;
    flex-direction: column;
    padding: 4px 0 4px 4px;
    background: var(--wb-face);
}
html.wb-mit-inspektor .wb-inspektor { display: flex; }
.wb-inspektor__box { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-right: 4px; border: 1px solid var(--wb-edge); background: #fff; }
.wb-inspektor pre {
    flex: 1 1 auto;
    margin: 0;
    border: 0;
    padding: 6px 8px;
    overflow: auto;
    background: #ffffff;
    color: #1e1e1e;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre;
}
.wb-json-k { color: #0451a5; }
.wb-json-s { color: #a31515; }
.wb-json-n { color: #098658; }
.wb-json-b { color: #0000ff; }





.app-header {
    position: fixed;
    top: calc(var(--mb-h) + var(--tb-h));
    left: var(--nav-w);
    right: calc(var(--insp-w) + var(--dock-r-w));
    height: calc(var(--ft-h) + var(--pt-h));
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 4px 4px 0 0;
    background: var(--wb-face);
}
.wb-ftitel {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    height: calc(var(--ft-h) - 4px);
    padding: 0 2px 0 6px;
    background: var(--wb-title-act);
    border: 1px solid var(--wb-title-act-edge);
    border-bottom-color: #9fb6d6;
    user-select: none;
}
.wb-ftitel .wb-i { color: #3d5f8c; }
.app-header__heading {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    max-width: 60%;
}
.app-header__title {
    font-size: 12px;
    font-weight: 700;
    color: #0e1b2c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-header__sub {
    font-size: 11px;
    color: #4a5f7b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-ftitel__raster {
    flex: 1 1 auto;
    align-self: stretch;
    margin: 4px 4px;
    min-width: 12px;
    background: var(--wb-dots-act) repeat;
    opacity: 0.9;
}
.wb-ftitel__knoepfe { display: flex; align-items: center; gap: 1px; flex: none; }
.wb-fk {
    width: 19px; height: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    color: #1d2f47;
    cursor: default;
}
.wb-fk:hover { background: #ffffff; border-color: #7da2ce; }
.wb-fk:active { background: var(--wb-btn-down); }
.wb-fk svg { width: 14px; height: 14px; }
.wb-fk--zu:hover { background: #e81123; border-color: #c50f1f; color: #fff; }


.app-header__desk {
    flex: none;
    padding: 0 6px;
    border: 1px solid #c9a36b;
    background: #fff8ec;
    color: #7a4d0b;
    font-size: 11px;
    line-height: 15px;
    white-space: nowrap;
}
.app-header__desk[hidden] { display: none; }
.app-header__desk--ziel { border-color: #6fb36f; background: #eef8ee; color: var(--wb-ok); }


.app-header__page {
    flex: none;
    height: var(--pt-h);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 6px;
    background: linear-gradient(#fcfcfc, #f1f1f1);
    border-left: 1px solid var(--wb-title-act-edge);
    border-right: 1px solid var(--wb-title-act-edge);
    border-bottom: 1px solid var(--wb-edge-2);
    overflow: hidden;
}
html.wb-ohne-seitenleiste .app-header__page { display: none; }
.app-header__actions {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}
.app-header__actions::-webkit-scrollbar { height: 6px; }
.app-header__actions::-webkit-scrollbar-button { display: none; }
.app-header__actions::-webkit-scrollbar-thumb:horizontal { background: #b5b5b5; border: 0; }
.app-header__actions > * { flex-shrink: 0; }
html.nk-desk-voll .app-header__heading,
html.nk-desk-voll .app-header__actions { display: none; }





.app-header__actions button,
.app-header__actions .btn,
.app-header__actions a.btn,
.app-header__actions .canvas-zoom button,
.app-header__actions .in-period button,
.app-header__actions .cv-scope__btn,
.app-header__actions .cv-agents__btn,
.app-header__actions .cv-agents__acts button,
.app-header__actions .mcpb-btn,
.app-header__actions .u-btn,
.app-header__actions .test-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 23px;
    width: auto;
    min-width: 0;
    padding: 0 6px;
    background: none;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--wb-ink);
    font: 12px var(--font);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
}
.app-header__actions .canvas-zoom button { padding: 0 5px; font-size: 13px; }
.app-header__actions button:hover:not(:disabled),
.app-header__actions .btn:hover,
.app-header__actions a.btn:hover,
.app-header__actions .mcpb-btn:hover:not(:disabled),
.app-header__actions .u-btn:hover,
.app-header__actions .cv-agents__btn:hover,
.app-header__actions .test-toggle:hover {
    background: var(--wb-hover);
    border-color: var(--wb-hover-edge);
    color: var(--wb-ink);
    text-decoration: none;
}
.app-header__actions button:active:not(:disabled) { background: var(--wb-sel); border-color: var(--wb-sel-edge); }
.app-header__actions button:disabled,
.app-header__actions .mcpb-btn:disabled { color: var(--wb-ink-4); }



.app-header__actions .btn-primary,
.app-header__actions .mcpb-btn--primary,
.app-header__actions .mcpb-btn--deploy,
.app-header__actions .u-btn {
    background: var(--wb-btn);
    border: 1px solid var(--wb-focus);
    box-shadow: inset 0 0 0 1px #3c93dc;
    color: var(--wb-ink);
    padding: 0 10px;
}
.app-header__actions .btn-primary:hover,
.app-header__actions .mcpb-btn--primary:hover:not(:disabled),
.app-header__actions .mcpb-btn--deploy:hover:not(:disabled),
.app-header__actions .u-btn:hover { background: var(--wb-btn-hover); border-color: var(--wb-focus); color: var(--wb-ink); }


.app-header__actions .cv-scope__btn.is-active,
.app-header__actions .in-period button.on,
.app-header__actions .test-toggle.active,
.app-header__actions button.is-active,
.app-header__actions button.active,
.app-header__actions button.on {
    background: var(--wb-sel);
    border-color: var(--wb-sel-edge);
    color: var(--wb-ink);
    font-weight: 400;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.06);
}
.app-header__actions .test-toggle.active .test-hd__dot { background: var(--wb-focus); }



.app-header__actions .cv-scope,
.app-header__actions .cv-cust,
.app-header__actions .canvas-zoom,
.app-header__actions .in-period,
.app-header__actions .model-switcher {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 0 0 0 6px;
    margin-left: 3px;
    background: none;
    border: 0;
    border-left: 1px solid #d0d0d0;
    box-shadow: -1px 0 0 #ffffff;
    border-radius: 0;
}
.app-header__actions .cv-cust__chev,
.app-header__actions .cv-agents__chev { color: var(--wb-ink-3); }
.app-header__actions .cv-agents__badge { background: none; border: 0; padding: 0; color: var(--wb-ink-3); }

.app-header__actions select,
.app-header__actions .model-switcher select {
    height: 21px;
    width: auto;
    padding: 0 20px 0 4px;
    font-size: 12px;
}
.app-header__actions .model-switcher label {
    margin: 0 4px 0 0;
    font: 12px var(--font);
    color: var(--wb-ink-2);
    text-transform: none;
    letter-spacing: 0;
}
.app-header__actions input[type="text"],
.app-header__actions input[type="search"] { height: 21px; padding: 0 5px; width: 200px; }


.app-header__actions .badge,
.app-header__actions .live-pill,
.app-header__actions .dsh-live,
.app-header__actions .mcpb-status {
    background: none;
    border: 0;
    padding: 0 4px;
    font-size: 11.5px;
    font-weight: 400;
    color: var(--wb-ink-2);
}
.app-header__actions code {
    background: none;
    border: 0;
    padding: 0;
    font-size: 11px;
    color: var(--wb-ink-3);
}


.main-content {
    position: fixed;
    top: var(--header-h);
    left: var(--nav-w);
    right: calc(var(--insp-w) + var(--dock-r-w) + 4px);
    bottom: var(--footer-h);
    overflow: auto;
    padding: var(--page-pad-y) var(--page-pad-x);
    background: var(--bg-darkest);
    border-left: 1px solid var(--wb-title-act-edge);
    border-right: 1px solid var(--wb-title-act-edge);
    border-bottom: 1px solid var(--wb-title-act-edge);
    margin-bottom: 4px;
}


body.app-shell .main-content { bottom: calc(var(--footer-h) + 4px); margin-bottom: 0; }


.wb-logdock {
    bottom: var(--sb-h);
    height: calc(var(--log-h) + var(--log-open-h));
    z-index: 105;
    display: flex;
    flex-direction: column;
    background: var(--wb-face);
    border-top: 1px solid #d5d5d5;
}
.wb-logdock__panel {
    flex: 1 1 auto;
    min-height: 0;
    display: none;
    flex-direction: column;
    margin: 3px 4px 0;
    background: #ffffff;
    border: 1px solid var(--wb-edge);
}
html.wb-log-offen .wb-logdock__panel { display: flex; }
.wb-logdock__griff {
    flex: none;
    height: 4px;
    cursor: ns-resize;
    background: var(--wb-grip-split) center / 18px 3px no-repeat;
    display: none;
}
html.wb-log-offen .wb-logdock__griff { display: block; }
.wb-logdock__kopf {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 3px 0 6px;
    border-bottom: 1px solid var(--wb-edge-3);
    background: linear-gradient(#fdfdfd, #f1f1f1);
    font-size: 11.5px;
}
.wb-logdock__kopf b { font-weight: 600; }
.wb-logdock__info { color: var(--wb-ink-3); font-size: 11px; }
.wb-logdock__tools { margin-left: auto; display: flex; gap: 1px; align-items: center; }
.wb-log {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin: 0;
    padding: 2px 0;
    font: 11px/16px var(--mono);
    color: #1e1e1e;
    white-space: pre;
    background: #ffffff;
}
.wb-log__z { display: block; padding: 0 8px 0 0; }
.wb-log__z:hover { background: #f3f8fe; }
.wb-log__nr { display: inline-block; width: 44px; padding-right: 8px; margin-right: 8px; text-align: right; color: #9a9a9a; border-right: 1px solid #ececec; user-select: none; }
.wb-log__zeit { color: #6b6b6b; }
.wb-log__warn { color: #9d5d00; }
.wb-log__err { color: #c42b1c; }
.wb-log__ok { color: #107c10; }
.wb-log__info { color: #0b62b5; }
.wb-log__leer { padding: 8px; color: var(--wb-ink-3); font-family: var(--font); font-style: italic; white-space: normal; }
.wb-logdock__reiter {
    flex: none;
    display: flex;
    align-items: stretch;
    height: var(--log-h);
    padding: 0 4px;
    user-select: none;
}
.wb-lr {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    background: none;
    border: 1px solid transparent;
    border-top: 0;
    color: var(--wb-ink);
    font: 12px var(--font);
    cursor: default;
}
.wb-lr:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); }
.wb-lr.is-an { background: #ffffff; border-color: var(--wb-edge); margin-top: -1px; }
.wb-lr__zahl {
    min-width: 16px;
    padding: 0 3px;
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    color: var(--wb-ink-3);
    font-size: 10px;
    line-height: 13px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.wb-lr__zahl--err { border-color: #e3a49b; background: #fdf0ef; color: var(--wb-err); }
.wb-lr__zahl:empty { display: none; }


.wb-statusbar {
    bottom: 0;
    height: var(--sb-h);
    z-index: 106;
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 2px 3px;
    background: var(--wb-face);
    border-top: 1px solid #d5d5d5;
    font-size: 11.5px;
    color: var(--wb-ink);
    user-select: none;
}
html.wb-ohne-statusleiste .wb-statusbar { display: none; }

.wb-sf {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 7px;
    border: 1px solid;
    border-color: #c9c9c9 #ffffff #ffffff #c9c9c9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}
.wb-sf--dehnt { flex: 1 1 auto; min-width: 0; color: var(--wb-ink-2); }
.wb-sf .status-dot { width: 8px; height: 8px; }
.wb-sf button {
    background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: default;
}
.wb-sf button:hover { color: var(--wb-link); text-decoration: underline; }
.wb-sf--link { cursor: default; }
.wb-sf a { color: inherit; }
.wb-sf img { width: 14px; height: 14px; object-fit: cover; border: 1px solid #a0a0a0; }
.wb-griff-ecke {
    width: 12px;
    align-self: flex-end;
    height: 12px;
    background: var(--wb-grip-split) 0 0 / 3px 3px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.8;
}


.app-version {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: default;
}
.app-version--update { color: var(--wb-warn); cursor: pointer; text-decoration: underline; }
.app-version--offline { color: var(--wb-ink-3); }

.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #b5b5b5;
    border: 1px solid rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}
.status-dot--on { background: #3fae3f; }
.status-dot--warn { background: #e0a526; }
.status-dot--err { background: #d9412f; }


.app-user { display: flex; align-items: center; gap: 5px; min-width: 0; }
.app-user__avatar {
    width: 14px; height: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eef4fb;
    border: 1px solid #1f5fa8;
    color: #1f5fa8;
    font: 700 9px/1 var(--mono);
    flex: none;
}
.app-user__avatar--img { background: none; padding: 0; overflow: hidden; border-color: #a0a0a0; }
.app-user__avatar--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-user__name { font-weight: 600; }
.app-user__role { color: var(--wb-ink-3); text-transform: capitalize; }
.app-user__logout { display: inline-flex; align-items: center; color: var(--wb-ink-2); }
.app-user__logout:hover { color: var(--wb-err); text-decoration: none; }




.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--wb-edge-3);
}
.page-header h1 { font-size: 14px; font-weight: 700; color: var(--text); }
.page-header-right { display: flex; align-items: center; gap: 8px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wb-link);
    font-size: 12px;
    margin-bottom: 8px;
}
.back-link:hover { text-decoration: underline; }



.section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--wb-edge-3);
    color: var(--wb-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.section-label::before {
    content: '';
    flex: none;
    width: 11px; height: 11px;
    border: 1px solid #8a8a8a;
    background: #fff var(--wb-arr-down) center / 7px 4px no-repeat;
}


.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid var(--wb-edge-2);
    border-right: 0;
}
.stat-card {
    background: #ffffff;
    border: 0;
    border-right: 1px solid var(--wb-edge-2);
    padding: 5px 8px 6px;
    min-width: 0;
}
.stats-row > .stat-card { border-bottom: 0; }
.stat-card__label {
    display: block;
    font-size: 11px;
    color: var(--wb-ink-3);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stat-card__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}
.stat-card__value--cost { color: var(--green); }
.stat-card__value--small { font-size: 13px; font-weight: 600; }


.panel {
    background: #ffffff;
    border: 1px solid var(--wb-edge);
    margin-bottom: 12px;
    overflow: hidden;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 23px;
    padding: 2px 6px;
    background: var(--wb-title);
    border-bottom: 1px solid var(--wb-edge);
}
.panel-header h2,
.panel-header h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.panel-header h2::after,
.panel-header h3::after { content: none; }
.panel-body { padding: 10px; }


.panel-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding: 4px 4px 0;
    background: var(--wb-face);
    border-bottom: 1px solid var(--wb-edge);
}
.panel-tab {
    position: relative;
    margin-right: -1px;
    padding: 3px 12px 3px;
    font: 12px var(--font);
    color: var(--wb-ink);
    cursor: default;
    background: linear-gradient(#ececec, #d9d9d9);
    border: 1px solid var(--wb-edge);
    border-bottom: 0;
    top: 0;
}
.panel-tab:hover { background: linear-gradient(#f4f9fe, #e1eefb); }
.panel-tab.active {
    z-index: 1;
    padding-top: 5px;
    margin-bottom: -1px;
    background: #ffffff;
    border-bottom: 1px solid #ffffff;
    color: var(--wb-ink);
}


.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }


.agent-card {
    background: #ffffff;
    border: 1px solid var(--wb-edge-2);
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.agent-card:hover { border-color: #7eb4ea; background: #fbfdff; }
.agent-card__head { display: flex; align-items: center; justify-content: space-between; }
.agent-card__name { font-size: 12.5px; font-weight: 700; color: var(--text); }
.agent-card__desc { font-size: 12px; color: var(--text-dim); line-height: 1.45; }
.agent-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid var(--wb-edge-3);
}
.agent-card__endpoint { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.agent-card__actions { display: flex; gap: 4px; }


.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 16px;
    padding: 0 4px;
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    color: var(--wb-ink-2);
    font-size: 10.5px;
    font-weight: 400;
    line-height: 14px;
    white-space: nowrap;
    border-radius: 0;
}
.badge--green, .badge-green   { background: #eef8ee; border-color: #9fd09f; color: var(--wb-ok); }
.badge--red, .badge-red       { background: #fdf0ef; border-color: #e7aaa2; color: var(--wb-err); }
.badge--yellow, .badge-yellow { background: #fff8e8; border-color: #e3c27f; color: var(--wb-warn); }
.badge--blue, .badge-blue     { background: #eef5fc; border-color: #a9cbeb; color: var(--wb-info); }
.badge--neutral               { background: #f7f7f7; border-color: #c8c8c8; color: var(--wb-ink-2); }
.badge--teal, .badge-teal     { background: #eaf6f6; border-color: #9ccfd0; color: #0d6b6f; }


.btn,
.wb-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 23px;
    padding: 0 12px;
    border: 1px solid var(--wb-btn-edge);
    border-radius: 0;
    background: var(--wb-btn);
    color: var(--wb-ink);
    font: 12px var(--font);
    white-space: nowrap;
    cursor: default;
    text-decoration: none;
    box-shadow: none;
}
.btn:hover,
.wb-knopf:hover { background: var(--wb-btn-hover); border-color: var(--wb-focus); color: var(--wb-ink); text-decoration: none; }
.btn:active,
.wb-knopf:active { background: var(--wb-btn-down); border-color: var(--wb-btn-down-edge); }
.btn:disabled,
.wb-knopf:disabled { background: #cccccc; border-color: #bfbfbf; color: #838383; }
.btn:focus-visible,
.wb-knopf:focus-visible { outline: 1px dotted #111; outline-offset: -4px; }

.btn-primary,
.wb-knopf--haupt {
    border-color: var(--wb-focus);
    box-shadow: inset 0 0 0 1px #3c93dc;
    background: var(--wb-btn);
    color: var(--wb-ink);
    font-weight: 400;
}
.btn-primary:hover,
.wb-knopf--haupt:hover { background: var(--wb-btn-hover); border-color: var(--wb-focus); color: var(--wb-ink); }
.btn-sm { height: 20px; padding: 0 8px; font-size: 11.5px; }
.btn-danger, .wb-knopf--gefahr { color: var(--wb-err); }

.btn-close {
    width: 19px; height: 17px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none;
    border: 1px solid transparent;
    color: var(--wb-ink-2);
    font-size: 14px;
    line-height: 1;
    cursor: default;
    padding: 0;
}
.btn-close:hover { background: #e81123; border-color: #c50f1f; color: #fff; }


.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--wb-edge);
    background: #ffffff;
}
table { width: 100%; border-collapse: collapse; font-size: 12px; }
thead th,
table thead th {
    height: 22px;
    padding: 2px 6px;
    text-align: left;
    background: linear-gradient(#ffffff, #f0f0f0);
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #a8a8a8;
    color: var(--wb-ink);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
thead th:last-child { border-right: 0; }
tbody td {
    height: 21px;
    padding: 2px 6px;
    border-bottom: 1px solid var(--wb-edge-4);
    border-right: 1px solid var(--wb-edge-4);
    color: var(--wb-ink);
    vertical-align: middle;
}
tbody td:last-child { border-right: 0; }
tbody tr:hover,
table tbody tr:hover { background: var(--wb-hover); }
tbody tr.selected,
tbody tr.is-sel,
tbody tr.active { background: var(--wb-sel); }
tbody tr:last-child td { border-bottom: 1px solid var(--wb-edge-4); }
table tbody tr { transition: none; }

.empty-state {
    text-align: left;
    color: var(--text-muted);
    padding: 10px 8px !important;
    font-style: italic;
    background: var(--wb-well);
}


select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
textarea {
    background: #ffffff;
    border: 1px solid var(--wb-field-edge);
    border-radius: 0;
    color: var(--wb-ink);
    font-family: var(--font);
    font-size: 12px;
    padding: 2px 5px;
    min-height: 22px;
    outline: none;
    width: 100%;
    box-shadow: none;
}
input:hover,
select:hover,
textarea:hover { border-color: #171717; }
input:focus,
select:focus,
textarea:focus { border-color: var(--wb-focus) !important; box-shadow: none; outline: none; }
input:disabled,
select:disabled,
textarea:disabled { background: #f0f0f0; border-color: #cccccc; color: #838383; }
input::placeholder,
textarea::placeholder { color: #8d8d8d; }
input[type="search"]::-webkit-search-cancel-button { cursor: default; }


select {
    width: auto;
    padding-right: 22px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--wb-btn) var(--wb-caret) right 6px center / 9px 5px no-repeat;
    border-color: var(--wb-btn-edge);
    cursor: default;
}
select:hover { background-color: var(--wb-btn-hover); border-color: var(--wb-focus); }
select[multiple] { background-image: none; background-color: #fff; padding-right: 4px; }
option { background: #ffffff; color: var(--wb-ink); }

textarea {
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.45;
    resize: vertical;
    min-height: 64px;
    padding: 4px 6px;
}


input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 13px; height: 13px;
    margin: 0;
    flex: none;
    border: 1px solid #333333;
    background: #ffffff;
    vertical-align: -2px;
    cursor: default;
}
input[type="checkbox"]:hover { border-color: var(--wb-focus); background: var(--wb-hover); }
input[type="checkbox"]:checked { background: #ffffff var(--wb-check) center / 11px 11px no-repeat; }
input[type="checkbox"]:checked:hover { background-color: var(--wb-hover); }
input[type="checkbox"]:indeterminate { background: #fff linear-gradient(#111, #111) center / 7px 7px no-repeat; }
input[type="checkbox"]:disabled { border-color: #bcbcbc; background-color: #f0f0f0; }
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 13px; height: 13px;
    margin: 0;
    flex: none;
    border: 1px solid #333333;
    border-radius: 50%;
    background: #ffffff;
    vertical-align: -2px;
}
input[type="radio"]:checked { background: radial-gradient(circle, #111 0 3px, #fff 3.5px); }
input[type="radio"]:hover { border-color: var(--wb-focus); }
input[type="range"] { accent-color: var(--wb-focus); }

label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--wb-ink);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 3px;
}


fieldset {
    border: 1px solid var(--wb-edge-2);
    padding: 6px 10px 10px;
    margin: 0 0 10px;
}
legend { padding: 0 4px; color: #1f4f8f; font-size: 12px; }




.toggle-switch {
    position: relative;
    display: inline-block;
    width: 13px;
    height: 13px;
    vertical-align: -2px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
    position: absolute;
    inset: 0;
    cursor: default;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 0;
    transition: none;
}
.toggle-slider::before { content: none; }
.toggle-switch:hover .toggle-slider { border-color: var(--wb-focus); background: var(--wb-hover); }
input:checked + .toggle-slider { background: #ffffff var(--wb-check) center / 11px 11px no-repeat; border-color: #333333; }
input:focus-visible + .toggle-slider { outline: 1px dotted #111; outline-offset: 1px; }


code {
    font-family: var(--mono);
    font-size: 11px;
    padding: 0 3px;
    background: #f6f6f6;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    color: #0b3d91;
}
pre {
    font-family: var(--mono);
    font-size: 11.5px;
    background: #ffffff;
    border: 1px solid var(--wb-edge-2);
    border-radius: 0;
    padding: 6px 8px;
    overflow-x: auto;
    color: #1e1e1e;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}


.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: none;
}
.modal-content {
    background: var(--wb-face);
    border: 1px solid #6f8fb8;
    border-radius: 0;
    width: 90%;
    max-width: 620px;
    max-height: 82vh;
    overflow-y: auto;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.35);
}
.modal-header {
    position: sticky; top: 0; z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 26px;
    padding: 0 3px 0 8px;
    background: var(--wb-title-act);
    border-bottom: 1px solid var(--wb-title-act-edge);
}
.modal-header h3 { font-size: 12px; font-weight: 700; }
.modal-body { padding: 10px 12px; background: var(--wb-face); }
.modal-body textarea { margin-bottom: 8px; min-height: 180px; }
.modal-result { padding: 0 12px 12px; }
.modal-result pre { max-height: 300px; overflow-y: auto; }


.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0;
    border-top: 1px solid var(--wb-edge-4);
    border-left: 1px solid var(--wb-edge-4);
}
.status-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 4px 8px;
    border-right: 1px solid var(--wb-edge-4);
    border-bottom: 1px solid var(--wb-edge-4);
}
.status-label { font-size: 11px; color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.status-value { font-size: 12px; color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 6px; }

.model-switcher { display: flex; align-items: center; gap: 6px; }
.model-switcher select { width: auto; font-size: 12px; }
.model-switcher .success { color: var(--green); font-size: 11px; }
.model-switcher .error { color: var(--red); font-size: 11px; }


.api-list { display: flex; flex-direction: column; border: 1px solid var(--wb-edge-2); }
.api-item {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    padding: 0 8px;
    border-bottom: 1px solid var(--wb-edge-4);
    font-size: 12px;
}
.api-item:last-child { border-bottom: none; }
.api-item:hover { background: var(--wb-hover); }
.method {
    display: inline-block;
    min-width: 40px;
    padding: 0 3px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: #ffffff;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 13px;
    text-align: center;
}
.method.post { color: #117a37; background: #ffffff; }
.method.get { color: #0b62b5; background: #ffffff; }
.method.put { color: #9a5b00; }
.method.delete { color: #b3261e; }
.api-item code { background: none; border: 0; padding: 0; color: var(--text); }
.api-item span { color: var(--text-dim); margin-left: auto; }

.cost-value { color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }


.test-interface { display: flex; flex-direction: column; gap: 8px; }

.test-interface > .btn { align-self: flex-end; min-width: 96px; }
.test-interface .input-field {
    background: #ffffff;
    border: 1px solid var(--wb-field-edge);
    color: var(--text);
    font-family: var(--font);
    font-size: 12px;
    padding: 3px 6px;
    outline: none;
    width: 100%;
}
.test-interface textarea.input-field { font-family: var(--mono); resize: vertical; }
.test-interface .input-field:focus { border-color: var(--wb-focus); }
.result-box {
    background: #ffffff;
    border: 1px solid var(--wb-edge-2);
    padding: 8px;
    margin-top: 6px;
}
.result-box h4 { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.system-prompt { max-height: 400px; overflow-y: auto; }

.tools-config { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--wb-edge-2); }
.tool-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid var(--wb-edge-4);
}
.tool-toggle-item:last-child { border-bottom: 0; }
.tool-toggle-info { display: flex; flex-direction: column; gap: 1px; }
.tool-name { font-size: 12px; font-family: var(--mono); }
.tool-desc { font-size: 11px; color: var(--text-muted); }
.tool-toggle-control { display: flex; align-items: center; gap: 6px; }


.tool-card {
    background: #ffffff;
    border: 1px solid var(--wb-edge);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-width: 0;
}
.tool-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 23px;
    padding: 2px 6px;
    background: var(--wb-title);
    border-bottom: 1px solid var(--wb-edge);
}
.tool-card__head h3 { font-size: 12px; font-weight: 700; font-family: var(--mono); }
.tool-card__desc { font-size: 11.5px; color: var(--text-dim); padding: 6px 8px; line-height: 1.45; }
.tool-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    font-size: 11px;
    padding: 0;
    border-top: 1px solid var(--wb-edge-3);
    margin-top: auto;
}
.tool-card__meta-item { display: flex; flex-direction: column; gap: 1px; padding: 3px 8px; border-bottom: 1px solid var(--wb-edge-4); border-right: 1px solid var(--wb-edge-4); }
.tool-card__meta-label { color: var(--text-muted); font-weight: 400; text-transform: none; font-size: 10.5px; letter-spacing: 0; }

.param-list { display: flex; flex-direction: column; gap: 0; margin-top: 4px; border: 1px solid var(--wb-edge-3); }
.param-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 2px 6px;
    background: #ffffff;
    border-bottom: 1px solid var(--wb-edge-4);
}
.param-item code { background: none; border: 0; padding: 0; font-size: 11px; }
.param-type { color: var(--blue); font-size: 10px; font-weight: 600; font-family: var(--mono); }
.param-req { color: var(--wb-err); font-size: 9.5px; font-weight: 700; }
.param-opt { color: var(--text-muted); font-size: 9.5px; font-weight: 600; }

.svc-card {
    background: #ffffff;
    border: 1px solid var(--wb-edge);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.svc-card__head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 23px;
    padding: 2px 6px;
    background: var(--wb-title);
    border-bottom: 1px solid var(--wb-edge);
}
.svc-card__dot { width: 8px; height: 8px; border-radius: 50%; background: #b5b5b5; border: 1px solid rgba(0,0,0,0.28); flex-shrink: 0; }
.svc-card__dot--on { background: #3fae3f; box-shadow: none; }
.svc-card__head h3 { font-size: 12px; font-weight: 700; }
.svc-card__desc { font-size: 11.5px; color: var(--text-dim); padding: 6px 8px 0; }
.svc-card__chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; }
.svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 5px;
    height: 18px;
    background: #f7f7f7;
    border: 1px solid var(--wb-edge-3);
    font-size: 11px;
    color: var(--text-dim);
}
.svc-chip__label { color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: none; }
.svc-methods { display: flex; flex-direction: column; gap: 0; margin: 0 8px 8px; border: 1px solid var(--wb-edge-3); }
.svc-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 6px;
    background: #ffffff;
    border-bottom: 1px solid var(--wb-edge-4);
    font-size: 11px;
}
.svc-method code { background: none; border: 0; padding: 0; }
.svc-method__desc { color: var(--text-dim); flex: 1; }
.svc-method__badges { display: flex; gap: 3px; flex-shrink: 0; }

.db-card {
    background: #ffffff;
    border: 1px solid var(--wb-edge);
    overflow: hidden;
    margin-bottom: 6px;
}
.db-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    padding: 2px 8px;
    cursor: default;
    background: var(--wb-title);
}
.db-card__header:hover { background: linear-gradient(#f4f9fe, #e1eefb); }
.db-card__title { font-size: 12px; font-weight: 700; font-family: var(--mono); }
.db-card__desc { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.db-card__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.db-card__cols-count { font-size: 11px; color: var(--text-muted); }
.db-toggle { color: var(--text-muted); font-size: 10px; }
.db-card__columns { padding: 0 8px 8px; }
.db-card__io { display: flex; gap: 12px; padding: 4px 8px; border-top: 1px solid var(--wb-edge-3); font-size: 11px; }
.db-io { display: flex; align-items: center; gap: 5px; color: var(--text-dim); }
.db-io__label { font-weight: 600; font-size: 10.5px; text-transform: none; color: var(--text-muted); }
.db-io__badges { display: flex; gap: 3px; }


.mt-12 { margin-top: 8px; }
.mt-16 { margin-top: 10px; }
.mt-24 { margin-top: 14px; }
.mb-16 { margin-bottom: 10px; }
.mb-24 { margin-bottom: 14px; }
.gap-12 { gap: 8px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.wb-mono { font-family: var(--mono); font-size: 11px; }
.wb-leise { color: var(--wb-ink-3); }
.wb-ok { color: var(--wb-ok); }
.wb-err { color: var(--wb-err); }
.wb-warn { color: var(--wb-warn); }



.wb-falt {
    flex: none;
    width: 11px; height: 11px;
    padding: 0;
    margin-right: 2px;
    border: 1px solid #8a8a8a;
    background: #ffffff var(--wb-arr-down) center / 7px 4px no-repeat;
    cursor: default;
}
.wb-falt:hover { border-color: var(--wb-focus); background-color: var(--wb-hover); }
.is-zugeklappt > .wb-falt,
.is-zugeklappt .wb-falt { background-image: var(--wb-arr-right); background-size: 4px 7px; }



.panel-header > .wb-falt ~ h2:first-of-type,
.panel-header > .wb-falt ~ h3:first-of-type,
.panel-header > .wb-falt ~ .panel-title:first-of-type { margin-right: auto; }
.is-zugeklappt > :not(:first-child) { display: none !important; }




.desk {
    position: fixed;
    top: calc(var(--mb-h) + var(--tb-h));
    left: var(--nav-w);
    right: calc(var(--insp-w) + var(--dock-r-w));
    bottom: var(--footer-h);
    z-index: 95;
    display: flex;
    flex-direction: column;
    background: transparent;
    pointer-events: none;
}
.win, .desk__div, .desk__tray, .desk__wahl { pointer-events: auto; }
.desk[hidden] { display: none; }
.desk__stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.desk--busy iframe { pointer-events: none; }
.desk--busy { user-select: none; }

.win {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: var(--wb-face);
    border: 1px solid #8f8f8f;
    border-radius: 0;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.30);
    overflow: hidden;
}
.win[hidden] { display: none; }
.win.is-top { border-color: var(--wb-title-act-edge); }
.win--split { box-shadow: none; }
.win--max { box-shadow: none; }
.win__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    flex-shrink: 0;
    padding: 0 2px 0 6px;
    background: var(--wb-title);
    border-bottom: 1px solid #a0a0a0;
    user-select: none;
}
.win__bar::after {
    content: '';
    order: 1;
    flex: 1 1 auto;
    align-self: stretch;
    margin: 4px 2px;
    min-width: 8px;
    background: var(--wb-dots) repeat;
}
.win.is-top .win__bar { background: var(--wb-title-act); border-bottom-color: #9fb6d6; }
.win.is-top .win__bar::after { background-image: var(--wb-dots-act); }
.win--float .win__bar { cursor: var(--nk-hand-offen); }
.win--float .win__bar:active { cursor: var(--nk-hand-zu); }
.win__title {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    color: #111;
}
.win__acts { order: 2; display: flex; align-items: center; gap: 1px; flex-shrink: 0; margin-left: 0; }
.win__act {
    width: 19px; height: 16px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 0;
    color: #1d2f47;
    cursor: default;
}
.win__act:hover { background: #ffffff; border-color: #7da2ce; color: #111; }
.win__act--close:hover { background: #e81123; border-color: #c50f1f; color: #ffffff; }
.win__act.is-on { color: var(--wb-focus); border-color: var(--wb-sel-edge); background: var(--wb-sel); }
.win__act svg { display: block; width: 12px; height: 12px; }
.win__body { flex: 1 1 auto; min-height: 0; background: #ffffff; }
.win__body iframe { display: block; width: 100%; height: 100%; border: 0; }

.win--geist { background: transparent; border-color: transparent; box-shadow: none; pointer-events: none; }
.win--geist .win__bar,
.win--geist .win__body { opacity: 0.08; }
.win--geist .win__grip { display: none; }
.win__ring { position: absolute; inset: 0; display: none; pointer-events: none; }
.win--geist .win__ring { display: block; border: 1px dashed #6f6f6f; opacity: 0.6; }
.win--geist .win__ring span { position: absolute; pointer-events: auto; cursor: pointer; }
.win--geist .win__ring span.t { top: -1px; left: 0; right: 0; height: 10px; }
.win--geist .win__ring span.b { bottom: -1px; left: 0; right: 0; height: 10px; }
.win--geist .win__ring span.l { top: 0; bottom: 0; left: -1px; width: 10px; }
.win--geist .win__ring span.r { top: 0; bottom: 0; right: -1px; width: 10px; }

.desk--wahl { background: var(--wb-desk); }
.desk__wahl { position: absolute; inset: 0; z-index: 12; }
.desk__wahl-feld {
    position: absolute;
    top: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 0 8px;
    background: transparent;
    border: 2px dashed var(--wb-ok);
    cursor: pointer;
}
.desk__wahl-feld--neu { background: rgba(16, 124, 16, 0.07); }
.desk__wahl-feld:hover { border-style: solid; background: rgba(16, 124, 16, 0.10); }
.desk__wahl-text {
    max-width: 100%;
    padding: 4px 10px;
    border: 1px solid var(--wb-ok);
    background: #ffffff;
    color: var(--wb-ok);
    font: 600 12px var(--font);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.win__grip { position: absolute; z-index: 2; }
.win:not(.win--float) .win__grip { display: none; }
.win__grip--e { top: 0; right: 0; width: 5px; height: 100%; cursor: ew-resize; }
.win__grip--s { left: 0; bottom: 0; height: 5px; width: 100%; cursor: ns-resize; }
.win__grip--se { right: 0; bottom: 0; width: 14px; height: 14px; cursor: nwse-resize; background: var(--wb-grip-split) 0 0 / 3px 3px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.desk__div { position: absolute; z-index: 5; cursor: ew-resize; background: var(--wb-face); }
.desk__div::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 3px; height: 24px;
    background: var(--wb-grip-split) 0 0 / 3px 3px;
}
.desk__div:hover { background: #dcdcdc; }
.desk__tray {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    background: var(--wb-face);
    border-top: 1px solid var(--wb-edge-2);
}
.desk__tray[hidden] { display: none; }
.desk__tray-label { flex-shrink: 0; font-size: 11px; color: var(--wb-ink-3); user-select: none; }
.desk__tray-items { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.desk__tray-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 220px;
    height: 21px;
    padding: 0 3px 0 6px;
    background: var(--wb-btn);
    border: 1px solid var(--wb-btn-edge);
    color: var(--wb-ink);
    font: 12px var(--font);
    cursor: default;
}
.desk__tray-item:hover { background: var(--wb-btn-hover); border-color: var(--wb-focus); }
.desk__tray-item--geist { border-style: dashed; color: var(--wb-ink-3); }
.desk__tray-item--geist:hover { border-style: dashed; color: var(--wb-ink); }
.desk__tray-item svg { flex-shrink: 0; }
.desk__tray-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk__tray-close { display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; flex-shrink: 0; color: var(--wb-ink-3); }
.desk__tray-close:hover { background: #e81123; color: #fff; }



.sidebar-item__acts { display: none; margin-left: auto; gap: 1px; padding-left: 6px; }
.wb-tn:hover > .sidebar-item__acts,
.wb-tn:focus-within > .sidebar-item__acts { display: inline-flex; }
.sidebar-item__act {
    width: 18px; height: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    color: #555;
    cursor: default;
}
.sidebar-item__act:hover { background: var(--wb-hover); border-color: var(--wb-hover-edge); color: #111; }
.sidebar-item__act.is-ziel,
.sidebar-item__act.is-ziel:hover { color: var(--wb-ok); border-color: #6fb36f; background: #eef8ee; }
.sidebar-item__act svg { display: block; width: 12px; height: 12px; }


.nk-panelwin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 17px;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: 0;
    color: inherit;
    opacity: 0.8;
    cursor: default;
}
.nk-panelwin-btn:hover { opacity: 1; background: #ffffff; border-color: #7da2ce; color: #111; }
.nk-panelwin-btn svg { display: block; }
.nk-panelwin-btn.is-on { opacity: 1; color: var(--wb-focus); border-color: var(--wb-sel-edge); background: var(--wb-sel); }
.nk-panelwin-paar { display: inline-flex; align-items: center; gap: 1px; margin-left: auto; flex-shrink: 0; }
.nk-panelwin {
    border-radius: 0 !important;
    border: 1px solid var(--wb-title-act-edge) !important;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.30) !important;
    overflow: hidden;
}
.nk-panelwin__kopf { cursor: var(--nk-hand-offen); user-select: none; background: var(--wb-title-act) !important; }
.nk-panelwin__kopf:active { cursor: var(--nk-hand-zu); }
.nk-panelwin-griffe { position: absolute; inset: 0; pointer-events: none; z-index: 9; }
.nk-panelwin-griff { position: absolute; pointer-events: auto; }
.nk-panelwin-griff--n { top: 0; left: 12px; right: 12px; height: 6px; cursor: ns-resize; }
.nk-panelwin-griff--s { bottom: 0; left: 12px; right: 12px; height: 6px; cursor: ns-resize; }
.nk-panelwin-griff--w { left: 0; top: 12px; bottom: 12px; width: 6px; cursor: ew-resize; }
.nk-panelwin-griff--e { right: 0; top: 12px; bottom: 12px; width: 6px; cursor: ew-resize; }
.nk-panelwin-griff--nw { top: 0; left: 0; width: 13px; height: 13px; cursor: nwse-resize; }
.nk-panelwin-griff--se { bottom: 0; right: 0; width: 13px; height: 13px; cursor: nwse-resize; }
.nk-panelwin-griff--ne { top: 0; right: 0; width: 13px; height: 13px; cursor: nesw-resize; }
.nk-panelwin-griff--sw { bottom: 0; left: 0; width: 13px; height: 13px; cursor: nesw-resize; }
body.nk-panelwin-zieht { user-select: none; }
body.nk-panelwin-zieht iframe { pointer-events: none; }





html.nk-framed {
    --mb-h: 0px;
    --tb-h: 0px;
    --ft-h: 0px;
    --log-h: 0px;
    --log-open-h: 0px;
    --sb-h: 0px;
    --nav-w: 0px;
    --dock-r-w: 0px;
    --insp-w: 0px;

    --page-h: calc(100vh - var(--header-h));
}
html.nk-framed .wb-menubar,
html.nk-framed .wb-toolbar,
html.nk-framed .wb-dock,
html.nk-framed .sidebar,
html.nk-framed .desk,
html.nk-framed .wb-logdock,
html.nk-framed .wb-statusbar,
html.nk-framed .wb-inspektor,
html.nk-framed .wb-ftitel { display: none; }
html.nk-framed .app-header { padding: 0; }
html.nk-framed .app-header__page { border-left: 0; border-right: 0; }
html.nk-framed .main-content,
html.nk-framed body.app-shell .main-content { border: 0; bottom: 0; right: 0; }
html.nk-framed.wb-ohne-seitenleiste .app-header { display: none; }


.wb-dlg-schleier { position: fixed; inset: 0; z-index: 1400; background: rgba(0, 0, 0, 0.12); display: flex; align-items: center; justify-content: center; }
.wb-dlg-schleier[hidden] { display: none; }
.wb-dlg {
    min-width: 380px;
    max-width: 560px;
    background: var(--wb-face);
    border: 1px solid #6f8fb8;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.35);
}
.wb-dlg__kopf {
    display: flex; align-items: center; gap: 6px;
    height: 26px; padding: 0 3px 0 8px;
    background: var(--wb-title-act);
    border-bottom: 1px solid var(--wb-title-act-edge);
    font-weight: 700;
}
.wb-dlg__kopf .wb-fk { margin-left: auto; }
.wb-dlg__inhalt { padding: 12px 14px; }
.wb-dlg__fuss { display: flex; justify-content: flex-end; gap: 6px; padding: 0 14px 12px; }
.wb-dlg__fuss .wb-knopf { min-width: 75px; }
.wb-dlg table { font-size: 12px; background: #fff; border: 1px solid var(--wb-edge-2); }
.wb-dlg td { height: 20px; }
.wb-dlg kbd {
    display: inline-block;
    min-width: 18px;
    padding: 0 4px;
    border: 1px solid #a0a0a0;
    border-bottom-width: 2px;
    background: #fafafa;
    font: 11px var(--mono);
    text-align: center;
}


@media (max-width: 900px) {
    :root { --nav-panel-w: 210px; }
    .wb-tool span { display: none; }
    .wb-tool { min-width: 30px; }
    .wb-suche__label { display: none; }
    .app-shell .wb-suche input[type="search"] { width: 150px; }
}
@media (max-width: 720px) {
    html:not(.nk-framed) { --nav-w: var(--dock-w); }
    html:not(.nk-framed) .sidebar { display: none; }
    .wb-menubar__rechts, .wb-tool__sep, .wb-tool--haupt { display: none; }
}
