/* BF Control · Grafito. Scoped presentation layer; Alpine controls visibility. */
[x-cloak]{display:none!important}
body.bf-modern{--bf-nav-width:224px;--bf-dock-width:292px;--bf-bg:#f4f5f9;--bf-surface:#fff;--bf-raised:#f8f9fc;--bf-border:#e3e6ee;--bf-text:#242837;--bf-muted:#72798b;--bf-accent:#7759ed;--bf-accent-soft:#efebff;--bf-shadow:0 22px 70px -30px #18213c40;background-color:var(--bf-bg);color:var(--bf-text);font-family:Inter,ui-sans-serif,system-ui,sans-serif;line-height:1.5}
html.dark body.bf-modern{--bf-bg:#11131a;--bf-surface:#191c25;--bf-raised:#20242f;--bf-border:#2b303e;--bf-text:#eef0f7;--bf-muted:#969daf;--bf-accent:#ad98ff;--bf-accent-soft:#302842;--bf-shadow:0 24px 80px -24px #0009}
body.bf-modern *{scrollbar-width:thin;scrollbar-color:var(--bf-border) transparent}
body.bf-modern :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--bf-accent);outline-offset:3px}
body.bf-modern .bf-sidebar{position:fixed;inset:0 auto 0 0;width:var(--bf-nav-width);z-index:80;background:var(--bf-surface);border-right:1px solid var(--bf-border);color:var(--bf-text);overflow-y:auto;box-shadow:none}
body.bf-modern .bf-sidebar :is(button,a){border-radius:10px}
body.bf-modern .bf-sidebar nav{padding:8px 12px}
body.bf-modern .bf-header{position:fixed;top:0;left:var(--bf-nav-width);right:0;height:64px;z-index:70;padding:0 28px;gap:16px;background:var(--bf-surface);border-bottom:1px solid var(--bf-border);box-shadow:none;color:var(--bf-text);backdrop-filter:blur(20px)}
body.bf-modern .bf-header-search{min-width:100px;max-width:420px;flex:1}
body.bf-modern .bf-header-actions{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0}
body.bf-modern .bf-header-actions>button{flex-shrink:0}
body.bf-modern .bf-view-switch{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--bf-border);border-radius:11px;background:var(--bf-raised);white-space:nowrap}
body.bf-modern .bf-view-switch button{min-height:32px;padding:5px 12px;border-radius:7px;font-size:12px;font-weight:600}
body.bf-modern .bf-main{margin-left:0;padding:92px 28px 48px calc(var(--bf-nav-width) + 28px);min-height:100dvh;width:100%;max-width:none}
body.bf-modern .bf-main-inner{padding:0;max-width:1600px;margin:0 auto;width:100%;min-width:0}
body.bf-modern .bf-dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
body.bf-modern .bf-dashboard-top h1{font-size:28px;letter-spacing:-1px;line-height:1.2;font-weight:700;color:var(--bf-text)}
body.bf-modern .bf-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}
body.bf-modern .bf-summary>button{padding:18px 20px;border:1px solid var(--bf-border);border-radius:14px;background:var(--bf-surface);text-align:left;color:var(--bf-text);transition:border-color .16s,transform .16s}
body.bf-modern .bf-summary>button:hover{border-color:var(--bf-accent);transform:translateY(-2px)}
body.bf-modern .bf-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
body.bf-modern :is(.bf-tools-content,.bf-tools){min-width:0}
body.bf-modern .bf-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}
body.bf-modern .bf-tool-card{border:1px solid var(--bf-border);border-radius:15px;background:var(--bf-surface);color:var(--bf-text);box-shadow:0 3px 12px #00000004;overflow:hidden;min-height:166px;transition:border-color .18s,box-shadow .18s,transform .18s}
body.bf-modern .bf-tool-card:hover{border-color:var(--bf-accent);box-shadow:0 12px 32px -18px #7759ed70;transform:translateY(-2px)}
body.bf-modern .bf-tool-card .acciones-card-hero{display:none}
body.bf-modern .bf-tool-card.bf-has-image .acciones-card-hero{display:block;height:110px;min-height:0}
body.bf-modern .bf-tool-body{padding:19px 20px 14px;flex:1;min-width:0}
body.bf-modern .bf-tool-body h3{font-size:14px;font-weight:650;line-height:1.4;letter-spacing:-.15px}
body.bf-modern .bf-tool-body p{font-size:12px;line-height:1.65;color:var(--bf-muted)}
body.bf-modern .bf-tool-footer{opacity:1;transform:none;padding:10px 0 0;border-color:var(--bf-border);font-size:11px;color:var(--bf-muted)}
body.bf-modern .bf-monitor{background:var(--bf-surface);border:1px solid var(--bf-border);border-radius:16px;padding:20px;color:var(--bf-text);min-width:0}
body.bf-modern .bf-monitor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:650;margin-bottom:22px}
body.bf-modern .bf-monitor-row{display:block;font-size:12px;margin:12px 0 8px}
body.bf-modern .bf-monitor-row>span:first-child{color:var(--bf-muted)}
body.bf-modern .bf-monitor-row strong{font-variant-numeric:tabular-nums;font-weight:600}
body.bf-modern .bf-meter{height:5px;border-radius:99px;background:var(--bf-border);overflow:hidden}
body.bf-modern .bf-meter>span{display:block;height:100%;max-width:100%;border-radius:inherit;background:var(--bf-accent);transition:width .4s ease}
body.bf-modern .bf-gpu{border-top:1px solid var(--bf-border);margin-top:19px;padding-top:16px;font-size:12px}
body.bf-modern .bf-gpu h3{font-size:12px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
body.bf-modern .bf-monitor-foot{margin-top:18px;padding-top:14px;border-top:1px solid var(--bf-border);font-size:10px;line-height:1.6;color:var(--bf-muted)}
body.bf-modern .bf-monitor-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--bf-muted)}
body.bf-modern .bf-task-panel{z-index:75;box-shadow:var(--bf-shadow);background:var(--bf-surface);border-color:var(--bf-border);max-width:100vw}
body.bf-modern .bf-dialog-surface{background:var(--bf-surface)!important;color:var(--bf-text);border:1px solid var(--bf-border)!important;border-radius:18px;box-shadow:var(--bf-shadow);max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
body.bf-modern .bf-dialog-head{padding:22px 24px 18px;border-color:var(--bf-border);flex-shrink:0;background:var(--bf-surface)}
body.bf-modern .bf-dialog-body{padding:22px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
body.bf-modern .bf-dialog-foot{position:sticky;bottom:0;padding:16px 24px;border-top:1px solid var(--bf-border);background:var(--bf-surface);flex-shrink:0;z-index:2}
body.bf-modern .bf-dialog-surface :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:var(--bf-raised)!important;border:1px solid var(--bf-border)!important;color:var(--bf-text)!important;border-radius:9px;min-height:40px;font-size:13px;accent-color:var(--bf-accent)}
body.bf-modern .bf-dialog-surface :is(input,textarea)::placeholder{color:var(--bf-muted);opacity:.8}
body.bf-modern .bf-dialog-surface label{font-size:12px;line-height:1.6}
body.bf-modern .bf-dialog-surface :is(input[type=checkbox],input[type=radio]){accent-color:var(--bf-accent);width:17px;height:17px}
body.bf-modern .bf-dialog-surface :is(button,select){min-height:36px}
body.bf-modern :is(.bf-menu-toggle,.bf-dock-toggle,.bf-mobile-brand,.bf-nav-scrim){display:none}
body.bf-modern.bf-os-mode .bf-header{left:0}
body.bf-modern.bf-os-mode .bf-sidebar{display:none}
body.bf-modern .bfcos-desktop{top:64px;right:var(--bf-dock-width);background:radial-gradient(ellipse at 23% 22%,#29203d 0,transparent 55%),linear-gradient(135deg,#151721,#10121a);color:#edf0fa}
body.bf-modern .bfcos-stage{top:64px;right:var(--bf-dock-width)}
body.bf-modern .bfcos-lw{max-width:1500px;padding:30px 30px 60px}
body.bf-modern .bfcos-grid2{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:24px 12px}
body.bf-modern .bfcos-appimg{width:64px;height:64px;border-radius:19px;border-color:#ffffff18;box-shadow:0 10px 28px -15px #0009}
body.bf-modern .bfcos-appname{font-size:12px;line-height:1.5;max-width:118px;color:#e7e9f3}
body.bf-modern .bfcos-cat2-h{font-size:10px;letter-spacing:.15em;color:#a0a4b5}
body.bf-modern .bfcos-dock{top:64px;right:0;bottom:0;width:var(--bf-dock-width);padding:18px 16px;background:var(--bf-surface);border-left:1px solid var(--bf-border);color:var(--bf-text);overflow-y:auto;gap:14px;z-index:60}
body.bf-modern .bfcos-dock>div.flex-1{flex:0 0 auto;max-height:220px;min-height:90px!important;overflow-y:auto}
body.bf-modern .bfcos-dock .bf-monitor{padding:15px;flex-shrink:0;background:var(--bf-raised)}
body.bf-modern .bfcos-dock .bf-monitor-head{margin-bottom:12px}
body.bf-modern .bfcos-btn{background:var(--bf-raised);border-color:var(--bf-border);color:var(--bf-text);min-height:40px;border-radius:10px;font-size:12px}
body.bf-modern .bfcos-seg{background:var(--bf-raised);border:1px solid var(--bf-border);border-radius:10px;padding:4px;flex-shrink:0}
body.bf-modern .bfcos-seg button{min-height:34px;color:var(--bf-muted);font-weight:600}
body.bf-modern .bfcos-seg button.on{background:var(--bf-accent-soft);color:var(--bf-accent)}
body.bf-modern .bfcos-tile{background:var(--bf-raised);border:1px solid transparent;color:var(--bf-text);padding:10px;border-radius:10px;margin-bottom:5px}
body.bf-modern .bfcos-tile.act{border-color:var(--bf-accent);background:var(--bf-accent-soft)}
body.bf-modern .bfcos-win{background:var(--bf-surface);border:1px solid var(--bf-border);border-radius:15px;box-shadow:var(--bf-shadow)}
body.bf-modern .bfcos-bar{min-height:52px;height:52px;padding:0 10px;gap:4px;background:var(--bf-raised);color:var(--bf-text);border-bottom:1px solid var(--bf-border)}
body.bf-modern .bfcos-bar>span{color:var(--bf-text)}
body.bf-modern :is(.bfcos-tl,.bfcos-ctrl){width:36px;height:36px;min-width:36px;min-height:36px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--bf-muted)}
body.bf-modern .bfcos-tl{border:11px solid var(--bf-raised);border-radius:50%}
body.bf-modern .bfcos-ctrl:hover{background:var(--bf-accent-soft);color:var(--bf-accent)}
body.bf-modern .bfcos-grip{width:36px;height:36px}
body.bf-modern .bfcos-frame{min-height:0;flex:1}
body.bf-modern:not(.bf-os-mode) .bf-header{color:var(--bf-text)}
html:not(.dark) body.bf-modern .bfcos-desktop{background:radial-gradient(ellipse at 23% 22%,#e7e0fa 0,transparent 55%),linear-gradient(135deg,#f1f3fa,#e6eaf4)}
html:not(.dark) body.bf-modern .bfcos-appname{color:#303747}
html:not(.dark) body.bf-modern .bfcos-cat2-h{color:#6c7385}
@media(min-width:1280px){body.bf-modern .bf-workspace{grid-template-columns:minmax(0,1fr) 280px}body.bf-modern .bf-workspace>.bf-monitor{position:sticky;top:88px}}
@media(max-width:1279px){body.bf-modern .bf-workspace>.bf-monitor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}body.bf-modern .bf-workspace>.bf-monitor :is(.bf-monitor-head,.bf-monitor-foot){grid-column:1/-1}}
@media(max-width:1100px){body.bf-modern{--bf-nav-width:0px;--bf-dock-width:240px}body.bf-modern .bf-sidebar{width:224px;transform:translateX(-100%);transition:transform .2s}body.bf-modern.bf-nav-open .bf-sidebar{transform:translateX(0)}body.bf-modern .bf-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px}body.bf-modern.bf-nav-open .bf-nav-scrim{display:block;position:fixed;inset:0;background:#080b1490;z-index:79}body.bf-modern .bf-header{padding:0 16px;gap:10px}body.bf-modern .bf-header-actions{gap:5px}body.bf-modern .bf-main{padding:88px 20px 36px}body.bf-modern .bfcos-lw{padding:24px 18px 48px}body.bf-modern .bfcos-bar{height:56px;min-height:56px}body.bf-modern :is(.bfcos-tl,.bfcos-ctrl){width:44px;height:44px;min-width:44px;min-height:44px}body.bf-modern .bfcos-tl{border-width:15px}body.bf-modern .bfcos-bar .ml-auto{gap:0}body.bf-modern .bfcos-grip{width:44px;height:44px}body.bf-modern .bf-dialog-surface :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=range])){min-height:44px}}
@media(max-width:700px){body.bf-modern{--bf-dock-width:0px}body.bf-modern .bf-header{padding:0 10px;gap:6px}body.bf-modern .bf-header-search{display:flex;min-width:60px;max-width:160px;padding:0 8px}body.bf-modern .bf-header-search kbd{display:none}body.bf-modern .bf-header-search svg{width:14px}body.bf-modern .bf-header-search input{font-size:12px}body.bf-modern .bf-header-actions{flex:1;justify-content:flex-end;overflow-x:auto;scrollbar-width:none}body.bf-modern .bf-mobile-brand{display:block;font-size:13px;font-weight:700;white-space:nowrap}body.bf-modern .bf-view-switch button{padding:5px 8px;font-size:11px}body.bf-modern .bf-main{padding:84px 14px 28px}body.bf-modern .bf-dashboard-top{align-items:flex-start;gap:10px;margin-bottom:18px}body.bf-modern .bf-dashboard-top h1{font-size:25px}body.bf-modern .bf-summary{gap:8px;margin-bottom:20px}body.bf-modern .bf-summary>button{padding:12px 10px;border-radius:11px}body.bf-modern .bf-tools{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}body.bf-modern .bf-workspace>.bf-monitor{display:block}body.bf-modern .bf-dialog-surface{border-radius:14px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 20px)}body.bf-modern :is(.bf-dialog-head,.bf-dialog-body){padding:16px}body.bf-modern .bf-dialog-foot{padding:12px 16px}body.bf-modern .bfcos-dock{width:min(320px,90vw);transform:translateX(100%);transition:transform .2s;z-index:76;box-shadow:var(--bf-shadow)}body.bf-modern.bf-dock-open .bfcos-dock{transform:translateX(0)}body.bf-modern.bf-os-mode .bf-dock-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}body.bf-modern .bfcos-grid2{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:18px 8px}body.bf-modern .bfcos-lw{padding:24px 14px 40px}body.bf-modern .bfcos-bar{flex-wrap:wrap;height:auto;min-height:56px}body.bf-modern .bfcos-bar>.ml-auto{margin-left:auto}body.bf-modern .bfcos-bar>span.truncate{max-width:calc(100% - 145px)}}
@media(pointer:coarse){body.bf-modern :is(.bfcos-tl,.bfcos-ctrl){width:44px;height:44px;min-width:44px;min-height:44px}body.bf-modern .bfcos-tl{border-width:15px}body.bf-modern .bfcos-bar{height:56px;min-height:56px}body.bf-modern :is(.bfcos-btn,.bfcos-tile,.bf-view-switch button){min-height:44px}body.bf-modern .bf-tool-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){body.bf-modern *,body.bf-modern *::before,body.bf-modern *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Real markup integration: field groups, compact search, and touch actions. */
body.bf-modern .bf-monitor-row>div:not(.bf-meter){display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
body.bf-modern .bf-monitor-row>small{display:block;margin:-2px 0 7px;color:var(--bf-muted);font-size:10px}
body.bf-modern .bf-monitor-row .bf-meter{width:100%}
body.bf-modern .bf-monitor-row>div>span:first-child{color:var(--bf-muted)}
body.bf-modern .bf-gpu-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}
body.bf-modern .bf-gpu-title>span{color:var(--bf-muted);font-variant-numeric:tabular-nums}
body.bf-modern .bf-gpu-name{display:block;color:var(--bf-muted);font-size:10px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
body.bf-modern .bf-summary>button>span,body.bf-modern .bf-summary>button>strong,body.bf-modern .bf-summary>button>small{display:block}
body.bf-modern .bf-summary>button>span{font-size:11px;font-weight:500;color:var(--bf-muted)}
body.bf-modern .bf-summary>button>strong{font-size:28px;font-weight:650;line-height:1.4;letter-spacing:-.8px;margin:3px 0;font-variant-numeric:tabular-nums}
body.bf-modern .bf-summary>button>small{font-size:10px;color:var(--bf-muted)}
body.bf-modern .bf-header-search{display:flex;align-items:center;gap:9px;min-height:38px;padding:0 12px;border:1px solid var(--bf-border);border-radius:10px;background:var(--bf-raised);color:var(--bf-muted)}
body.bf-modern .bf-header-search svg{flex-shrink:0}
body.bf-modern .bf-header-search input{background:transparent;border:none;outline:none;width:100%;min-width:0;color:var(--bf-text);font-size:12px;box-shadow:none;padding:6px 0}
body.bf-modern .bf-header-search:focus-within{border-color:var(--bf-accent)}
body.bf-modern .bf-header-search kbd{font-size:9px;font-family:inherit;white-space:nowrap;border:1px solid var(--bf-border);border-radius:4px;padding:1px 4px;opacity:.7}
body.bf-modern [data-legacy-usage],body.bf-modern [data-server-ip]{display:none}
body.bf-modern .bf-view-switch .on{background:var(--bf-accent-soft);color:var(--bf-accent);box-shadow:0 1px 3px #00000008}
body.bf-modern .bf-secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:8px 13px;background:var(--bf-surface);border:1px solid var(--bf-border);border-radius:9px;color:var(--bf-text);font-size:12px;white-space:nowrap}
body.bf-modern .bf-secondary:hover{border-color:var(--bf-accent);background:var(--bf-accent-soft)}
body.bf-modern .bf-secondary>span{font-size:10px;padding:1px 5px;border-radius:5px;background:var(--bf-raised);color:var(--bf-muted)}
body.bf-modern .bf-dock-scrim{display:none}
@media(max-width:700px){body.bf-modern.bf-dock-open .bf-dock-scrim{display:block;position:fixed;inset:64px 0 0;border:none;background:#080b1490;z-index:75}body.bf-modern .bf-header-search{min-width:60px;max-width:160px;padding:0 8px;gap:5px}body.bf-modern .bf-header-search kbd{display:none}body.bf-modern .bf-header-search input{font-size:12px}body.bf-modern .bf-secondary{min-height:44px}body.bf-modern .bf-summary>button>strong{font-size:25px}}
/* Integration refinements: keep the full monitor visible and form help readable. */
body.bf-modern .bf-field-help { font-size:12px;line-height:1.65;color:var(--bf-muted);opacity:1 }
body.bf-modern .bf-field-help summary { cursor:pointer;color:var(--bf-accent);padding:6px 0;min-height:32px }
body.bf-modern .bf-field-help p { margin-top:8px;overflow-wrap:anywhere }
body.bf-modern .bf-action-dialog>.bf-dialog-surface { display:flex;flex-direction:column;overflow:hidden }
body.bf-modern .bf-action-dialog .bf-dialog-body { max-height:none }
body.bf-modern .bf-action-dialog .bf-dialog-head [id=bf-action-title] { white-space:normal;line-height:1.35 }
body.bf-modern .bf-monitor-head { margin-bottom:8px }
body.bf-modern .bf-monitor-row { margin:10px 0 7px }
body.bf-modern .bf-gpu { margin-top:14px;padding-top:12px }
body.bf-modern .bf-online { color:#36b58a }
body.bf-modern .bf-monitor-status::before { content:'';height:6px;width:6px;border-radius:50%;background:currentColor }
body.bf-modern .bf-tool-card:focus-visible { outline:2px solid var(--bf-accent);outline-offset:3px }
body.bf-modern .bf-dock-scrim { display:none }
@media(max-width:1279px){body.bf-modern .bf-workspace>.bf-monitor { grid-row:1 }body.bf-modern .bf-workspace>.bf-monitor>.bf-monitor-status{grid-column:1/-1} }
@media(max-width:1100px){body.bf-modern .bf-sidebar button { min-height:44px }body.bf-modern .bf-dialog-surface :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}body.bf-modern .bf-view-switch button{min-height:44px} }
@media(max-width:700px){body.bf-modern.bf-dock-open .bf-dock-scrim{display:block;position:fixed;inset:64px 0 0;background:#080b1490;z-index:75}body.bf-modern .bf-header>.bf-mobile-brand{display:none}body.bf-modern .bf-header>.bf-header-actions{flex:0 1 auto}body.bf-modern .bf-header-search{min-width:68px}body.bf-modern .bf-header-actions>[data-server-ip],body.bf-modern .bf-header-actions>button[title='Fondo de pantalla']{display:none}body.bf-modern .bf-action-dialog .bf-dialog-head{flex-wrap:wrap} }
/* Preserve original modal stacking and dialog widths. */
body.bf-modern .bf-header{z-index:20}
body.bf-modern .bf-sidebar{z-index:30}
body.bf-modern .bf-task-panel{z-index:40}
body.bf-modern.bf-os-mode .bf-task-panel{z-index:100}
body.bf-modern.bf-nav-open .bf-nav-scrim{z-index:29}
body.bf-modern .bf-dialog-surface{max-width:min(var(--bf-dialog-max,100vw),calc(100vw - 24px))}
body.bf-modern .bf-dialog-surface.max-w-xs{--bf-dialog-max:20rem}
body.bf-modern .bf-dialog-surface.max-w-sm{--bf-dialog-max:24rem}
body.bf-modern .bf-dialog-surface.max-w-md{--bf-dialog-max:28rem}
body.bf-modern .bf-dialog-surface.max-w-lg{--bf-dialog-max:32rem}
body.bf-modern .bf-dialog-surface.max-w-xl{--bf-dialog-max:36rem}
body.bf-modern .bf-dialog-surface.max-w-2xl{--bf-dialog-max:42rem}
body.bf-modern .bf-dialog-surface.max-w-3xl{--bf-dialog-max:48rem}
body.bf-modern .bf-dialog-surface.max-w-4xl{--bf-dialog-max:56rem}
body.bf-modern .bf-dialog-surface.max-w-5xl{--bf-dialog-max:64rem}
body.bf-modern .bfcos-bar{background:var(--bf-raised)!important}
body.bf-modern .bf-tool-status{display:block;font-size:10px;color:#d89a3a;line-height:1.5;margin:0 0 10px}
body.bf-modern .bf-tool-status:empty{display:none}
/* Modular home: compact tools, administration, work and personal side panels. */
body.bf-modern{--bf-bg:#f5f7f6;--bf-surface:#fff;--bf-raised:#fbfcfc;--bf-border:#e6ebe8;--bf-text:#172622;--bf-muted:#74827e;--bf-accent:#08755c;--bf-accent-soft:#e8f4ed}
html.dark body.bf-modern{--bf-bg:#10151b;--bf-surface:#181e27;--bf-raised:#202731;--bf-border:#2a323f;--bf-text:#eef0f5;--bf-muted:#9aa5b6;--bf-accent:#ac98ff;--bf-accent-soft:#302e49}
body.bf-modern .bf-sidebar button[aria-pressed=true]{background:var(--bf-accent-soft)!important;color:var(--bf-accent)!important}
body.bf-modern .bf-sidebar nav svg{color:var(--bf-muted)}
body.bf-modern .bf-view-switch button[aria-pressed=true]{background:var(--bf-accent-soft);color:var(--bf-accent)}
body.bf-modern .bf-workspace{grid-template-columns:minmax(0,1fr) 290px;gap:18px}
body.bf-modern .bf-workspace.bf-no-side{grid-template-columns:minmax(0,1fr)}
body.bf-modern .bf-dashboard-side{display:flex;flex-direction:column;gap:16px;min-width:0}
body.bf-modern .bf-widget{background:var(--bf-surface);border:1px solid var(--bf-border);border-radius:12px;padding:16px;margin-bottom:16px;min-width:0;color:var(--bf-text)}
body.bf-modern .bf-dashboard-side .bf-widget,body.bf-modern .bfcos-dock .bf-widget{margin-bottom:0;flex-shrink:0}
body.bf-modern .bf-widget>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.bf-modern .bf-widget h2{font-size:14px;font-weight:650;letter-spacing:-.2px}
body.bf-modern .bf-widget>header button{font-size:11px;color:var(--bf-accent);min-height:30px;flex-shrink:0}
body.bf-modern .bf-quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.bf-modern .bf-quick-tool{display:flex;align-items:center;gap:10px;text-align:left;background:var(--bf-raised);border:1px solid var(--bf-border);border-radius:9px;padding:13px 11px;min-width:0;min-height:91px;transition:border-color .15s}
body.bf-modern .bf-quick-tool:hover,body.bf-modern .bf-quick-admin button:hover{border-color:var(--bf-accent);background:var(--bf-accent-soft)}
body.bf-modern .bf-quick-tool>span:nth-child(2){flex:1;min-width:0}
body.bf-modern .bf-quick-tool strong{display:block;font-size:12px;font-weight:600;line-height:1.4}
body.bf-modern .bf-quick-tool small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.5;margin-top:4px;color:var(--bf-muted)}
body.bf-modern .bf-quick-icon{display:flex;align-items:center;justify-content:center;width:38px;height:42px;flex-shrink:0;color:var(--bf-accent);background:var(--bf-accent-soft);border-radius:9px}
body.bf-modern .bf-quick-admin{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.bf-modern .bf-quick-admin button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:78px;font-size:10px;text-align:center;border:1px solid var(--bf-border);border-radius:8px;padding:10px 6px;background:var(--bf-raised);line-height:1.4}
body.bf-modern .bf-quick-admin svg{width:21px;height:21px;color:var(--bf-muted)}
body.bf-modern .bf-summary{margin-bottom:16px;gap:12px}
body.bf-modern .bf-summary>button{padding:15px 16px;border-radius:12px}
body.bf-modern .bf-summary strong{font-size:29px}
body.bf-modern .bf-dashboard-top{gap:12px;margin-bottom:20px}
body.bf-modern .bf-dashboard-top h1{margin-right:auto}
body.bf-modern .bf-dashboard-top>button{flex-shrink:0}
body.bf-modern .bf-widget-empty{padding:20px 8px;font-size:12px;line-height:1.7;color:var(--bf-muted);text-align:center}
body.bf-modern .bf-widget-empty .bf-secondary{margin-top:12px}
body.bf-modern .bf-widget-note{font-size:11px;line-height:1.6;color:var(--bf-muted);margin:12px 0}
body.bf-modern .bf-job-table{overflow-x:auto}
body.bf-modern .bf-job-table table{width:100%;text-align:left;font-size:12px;border-collapse:collapse}
body.bf-modern .bf-job-table th{font-size:10px;color:var(--bf-muted);font-weight:500;background:var(--bf-raised);padding:10px 8px}
body.bf-modern .bf-job-table td{padding:12px 8px;border-bottom:1px solid var(--bf-border);vertical-align:middle}
body.bf-modern .bf-job-table small{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--bf-muted);font-size:10px;margin-top:3px}
body.bf-modern .bf-job-table td:nth-child(3){min-width:100px}
body.bf-modern .bf-job-table .bf-meter{margin-top:6px}
body.bf-modern .bf-live-badge{font-size:10px;white-space:nowrap;background:#10b98119;color:#36ae86;border-radius:6px;padding:4px 7px}
body.bf-modern .bf-activity-row{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--bf-border)}
body.bf-modern .bf-activity-row:last-child{border:0}
body.bf-modern .bf-activity-row strong{font-size:12px;font-weight:550;display:block}
body.bf-modern .bf-activity-row small{display:block;font-size:10px;line-height:1.6;color:var(--bf-muted)}
body.bf-modern .bf-activity-dot{width:8px;height:8px;border-radius:50%;background:#36ae86;flex-shrink:0;margin-top:6px}
body.bf-modern .bf-activity-dot.bf-failed{background:#e87b80}
body.bf-modern .bf-calendar-nav{display:flex;align-items:center;gap:7px;margin:6px 0 12px}
body.bf-modern .bf-calendar-nav strong{font-size:13px;text-transform:capitalize;margin-right:auto}
body.bf-modern .bf-calendar-nav button{border:1px solid var(--bf-border);border-radius:8px;width:30px;height:30px;font-size:20px}
body.bf-modern .bf-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center;font-size:11px}
body.bf-modern .bf-calendar-grid>:not(template){height:28px;display:grid;place-items:center}
body.bf-modern .bf-calendar-grid small{color:var(--bf-muted)}
body.bf-modern .bf-calendar-grid .bf-today{background:var(--bf-accent);color:var(--bf-bg);font-weight:700;border-radius:8px}
body.bf-modern .bf-calendar-open{width:100%;border-top:1px solid var(--bf-border);padding-top:12px;color:var(--bf-accent);font-size:11px;text-align:left}
body.bf-modern .bf-catalog-back{color:var(--bf-accent);font-size:12px;margin:0 0 20px;min-height:35px}
body.bf-modern .bf-customize-trigger{display:grid;place-items:center;font-size:24px;min-width:40px;min-height:40px;border-radius:9px}
body.bf-modern .bf-customize-trigger:hover{background:var(--bf-accent-soft)}
body.bf-modern .bf-module-overlay{position:fixed;inset:0;background:#080b14a6;z-index:250;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(6px)}
body.bf-modern .bf-module-editor{width:420px;max-width:100%;max-height:90dvh;overflow-y:auto;padding:24px;background:var(--bf-surface);border:1px solid var(--bf-border);border-radius:18px;box-shadow:var(--bf-shadow);color:var(--bf-text)}
body.bf-modern .bf-module-editor header{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.bf-modern .bf-module-editor h2{font-size:19px;font-weight:650}
body.bf-modern .bf-module-editor header button{width:44px;height:44px;font-size:25px}
body.bf-modern .bf-module-editor p{font-size:12px;color:var(--bf-muted);line-height:1.7;margin:8px 0 18px}
body.bf-modern .bf-module-editor label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;min-height:48px;border-bottom:1px solid var(--bf-border);cursor:pointer;font-size:13px}
body.bf-modern .bf-module-editor input{width:20px;height:20px;accent-color:var(--bf-accent)}
body.bf-modern .bf-module-editor footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px}
body.bf-modern .bf-module-editor .bf-primary{background:var(--bf-accent);color:var(--bf-bg);border-radius:9px;padding:10px 24px}
@media(min-width:1500px){body.bf-modern .bf-workspace{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1279px){body.bf-modern .bf-workspace{grid-template-columns:minmax(0,1fr) 270px;gap:14px}body.bf-modern .bf-quick-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body.bf-modern .bf-workspace{grid-template-columns:minmax(0,1fr)}body.bf-modern .bf-dashboard-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}body.bf-modern .bf-dashboard-side>.bf-monitor{grid-column:1/-1}body.bf-modern .bf-widget button{min-height:44px}body.bf-modern .bf-calendar-nav button{min-width:44px}body.bf-modern .bf-customize-trigger{min-width:44px;min-height:44px}}
@media(max-width:600px){body.bf-modern .bf-quick-tools{grid-template-columns:minmax(0,1fr)}body.bf-modern .bf-dashboard-side{display:flex}body.bf-modern .bf-dashboard-top{flex-wrap:wrap}body.bf-modern .bf-dashboard-top h1{width:100%}body.bf-modern .bf-module-overlay{padding:12px}body.bf-modern .bf-module-editor{padding:18px}body.bf-modern .bf-quick-admin{grid-template-columns:repeat(3,minmax(0,1fr))}}
body.bf-modern .bf-summary{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){body.bf-modern .bf-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.bf-modern .bf-summary>button{display:grid;grid-template-columns:38px minmax(0,1fr);gap:0 10px;align-content:center;padding:16px 12px}
body.bf-modern .bf-summary>button>:not(i){grid-column:2}
body.bf-modern .bf-summary-symbol{grid-column:1;grid-row:1/span 3;align-self:start;display:grid;place-items:center;height:38px;border-radius:11px;background:var(--bf-accent-soft);color:var(--bf-accent)}
body.bf-modern .bf-summary-symbol.bf-symbol-1{background:#428fe51a;color:#5998d8}
body.bf-modern .bf-summary-symbol.bf-symbol-2{background:#43aa891a;color:#40a783}
body.bf-modern .bf-summary-symbol.bf-symbol-3{background:#dc5b631a;color:#d86e76}
body.bf-modern .bf-summary>button small{font-size:9px;line-height:1.5}
html:not(.dark) body.bf-modern .bf-quick-admin button{flex-direction:row;justify-content:flex-start;text-align:left;min-height:44px;padding:10px;gap:10px}
html:not(.dark) body.bf-modern .bf-quick-admin button>span:first-child{color:var(--bf-accent)}
@media(min-width:1200px){html.dark body.bf-modern .bf-quick-admin{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:600px){body.bf-modern .bf-summary>button{grid-template-columns:30px minmax(0,1fr);padding:12px 9px;gap:0 8px}body.bf-modern .bf-summary-symbol{height:30px}body.bf-modern .bf-summary-symbol svg{width:18px}}
/* Wide forms with retained inputs and adaptive sections. */
body.bf-modern .bf-action-dialog>.bf-dialog-surface{width:min(1020px,calc(100vw - 32px));max-width:min(1020px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}
body.bf-modern .bf-action-dialog .bf-dialog-head{padding:18px 22px;flex-shrink:0}
body.bf-modern .bf-action-dialog .bf-dialog-head .text-\[13px\]{font-size:12px;line-height:1.5}
body.bf-modern .bf-form-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:10px 22px;border-bottom:1px solid var(--bf-border);flex-shrink:0}
body.bf-modern .bf-form-tabs button{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid var(--bf-border);border-radius:8px;padding:8px 12px;font-size:11px;min-height:36px;text-align:left}
body.bf-modern .bf-form-tabs button[aria-pressed=true]{background:var(--bf-accent-soft);color:var(--bf-accent);border-color:var(--bf-accent)}
body.bf-modern .bf-form-grid{display:grid;grid-template-columns:repeat(var(--bf-form-columns,2),minmax(0,1fr));gap:18px 24px;align-items:start}
body.bf-modern .bf-form-field{min-width:0}
body.bf-modern .bf-form-field input,body.bf-modern .bf-form-field select,body.bf-modern .bf-form-field textarea{min-width:0}
body.bf-modern .bf-form-field textarea{max-height:120px}
body.bf-modern .bf-action-dialog .bf-dialog-body{padding:18px 22px}
body.bf-modern .bf-action-dialog .bf-dialog-body>.bf-form-grid{margin-top:0}
body.bf-modern .bf-form-pager{display:flex;gap:8px;margin-right:auto}
body.bf-modern .bf-form-pager button{border:1px solid var(--bf-border);padding:8px 12px;border-radius:8px;font-size:12px;min-height:40px}
body.bf-modern .bf-form-pager button:disabled{opacity:.35;cursor:default}
body.bf-modern .bf-action-dialog .bf-dialog-foot{flex-wrap:wrap;padding:12px 22px}
@media(max-width:1100px){body.bf-modern .bf-form-tabs button{min-height:44px}body.bf-modern .bf-form-grid{gap:16px}body.bf-modern .bf-form-pager button{min-height:44px}}
@media(max-width:600px){body.bf-modern .bf-action-dialog .bf-dialog-head{padding:12px 16px}body.bf-modern .bf-form-tabs{padding:8px 16px}body.bf-modern .bf-form-tabs button{max-width:145px}body.bf-modern .bf-action-dialog .bf-dialog-body{padding:14px 16px}body.bf-modern .bf-form-pager{width:100%;justify-content:space-between}body.bf-modern .bf-action-dialog .bf-dialog-foot{padding:10px 16px}}
@media(max-height:700px){body.bf-modern .bf-action-dialog .bf-dialog-body{padding:10px 20px}body.bf-modern .bf-form-grid{gap:12px 20px}body.bf-modern .bf-action-dialog .bf-dialog-head{padding:12px 20px}body.bf-modern .bf-form-tabs{padding:8px 20px}}
/* Blend saved wallpapers with the dark canvas, without altering the saved choice. */
html.dark body.bf-modern :is(.bf-main,.bfcos-desktop){background-color:var(--bf-bg)!important;background-blend-mode:multiply}
body.bf-modern .bf-quick-admin button{min-height:76px;border-radius:8px;gap:9px;font-weight:400}
body.bf-modern .bf-quick-admin svg{width:24px;height:24px;color:#c5cddd}
html:not(.dark) body.bf-modern .bf-quick-admin svg{color:var(--bf-accent)}
body.bf-modern .bf-agenda-header{align-items:center;margin-bottom:12px}
body.bf-modern .bf-agenda-weekday{display:block;text-transform:capitalize;font-size:13px;color:var(--bf-muted);line-height:1.4}
body.bf-modern .bf-agenda-date{font-size:24px;line-height:1.1;font-weight:750;text-transform:uppercase;letter-spacing:-.8px}
body.bf-modern .bf-agenda-year{font-size:13px;color:var(--bf-muted);margin-left:5px}
body.bf-modern .bf-agenda-arrows{display:flex;gap:6px}
body.bf-modern .bf-agenda-arrows button{width:28px;height:28px;min-height:28px;border-radius:50%;background:var(--bf-raised);color:var(--bf-text);font-size:23px;line-height:1}
body.bf-modern .bf-agenda-event{display:flex;align-items:flex-start;gap:11px;width:100%;padding:15px 0;border-bottom:1px solid var(--bf-border);text-align:left}
body.bf-modern .bf-agenda-hours{width:45px;flex-shrink:0;border-right:1px solid var(--bf-border);font-size:10px;line-height:1.7}
body.bf-modern .bf-agenda-hours strong,body.bf-modern .bf-agenda-hours small{display:block}
body.bf-modern .bf-agenda-hours small{color:var(--bf-muted);font-size:10px}
body.bf-modern .bf-agenda-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;flex-shrink:0}
body.bf-modern .bf-agenda-description{flex:1;min-width:0}
body.bf-modern .bf-agenda-description strong{display:block;font-size:11px;font-weight:600;line-height:1.5}
body.bf-modern .bf-agenda-description small{display:block;color:var(--bf-muted);font-size:10px;margin-top:3px;line-height:1.5}
body.bf-modern .bf-agenda-connect{padding:14px 0}
body.bf-modern .bf-agenda-connect label{font-size:12px;font-weight:500}
body.bf-modern .bf-agenda-connect input{display:block;width:100%;min-width:0;margin:10px 0;padding:10px;background:var(--bf-raised);border:1px solid var(--bf-border);border-radius:7px;font-size:12px}
body.bf-modern .bf-agenda-connect button{background:var(--bf-accent-soft);color:var(--bf-accent);border-radius:7px;padding:9px 12px;font-size:12px}
body.bf-modern .bf-agenda-connect small{display:block;color:var(--bf-muted);font-size:10px;line-height:1.6;margin-top:9px}
body.bf-modern .bf-agenda-footer{display:flex;align-items:center;gap:12px;margin-top:10px}
body.bf-modern .bf-agenda-footer .bf-calendar-open{color:var(--bf-muted);display:flex;justify-content:space-between;padding-top:10px;border:0}
body.bf-modern .bf-ai-hub{width:940px;max-height:calc(100dvh - 32px)}
body.bf-modern .bf-ai-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.bf-modern .bf-ai-card{display:flex;align-items:flex-start;gap:13px;text-align:left;padding:18px;border:1px solid var(--bf-border);border-radius:11px;background:var(--bf-raised);min-width:0}
body.bf-modern .bf-ai-card:hover{border-color:var(--bf-accent)}
body.bf-modern .bf-ai-card strong{display:block;font-size:14px}
body.bf-modern .bf-ai-card small{display:block;font-size:12px;line-height:1.6;color:var(--bf-muted);margin:7px 0 10px}
body.bf-modern .bf-ai-open{font-size:11px;color:var(--bf-accent)}
body.bf-modern .bf-ai-hub footer{align-items:center;font-size:12px}
body.bf-modern .bf-ai-hub button:disabled{opacity:.4}
@media(max-width:600px){body.bf-modern .bf-ai-grid{grid-template-columns:1fr}body.bf-modern .bf-ai-card{padding:12px}body.bf-modern .bf-agenda-arrows button{min-width:44px;min-height:44px}}
body.bf-modern .bf-main{padding-top:80px}

/* Agenda: complete readable session details in tablet-friendly sections. */
body.bf-modern .bf-task-panel{top:auto!important;left:auto!important;right:16px!important;bottom:20px!important;width:min(410px,calc(100vw - 32px))!important;max-height:min(620px,calc(100dvh - 100px));border:1px solid var(--bf-border)!important;border-radius:16px;overflow:auto;z-index:100}
body.bf-modern.bf-os-mode .bf-task-panel{bottom:76px!important;max-height:calc(100dvh - 150px)}
.bf-agenda-description strong,.bf-agenda-description small{white-space:normal!important;overflow-wrap:anywhere;-webkit-line-clamp:unset!important}
.bf-agenda-detail{width:min(850px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px);overflow:auto}
.bf-agenda-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:18px 0}
.bf-agenda-detail-grid dt{font-size:11px;color:var(--bf-muted);margin-bottom:5px}
.bf-agenda-detail-grid dd{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.bf-agenda-notes{grid-column:1/-1}
.bf-agenda-detail footer{flex-wrap:wrap;gap:10px}
@media(max-width:650px){.bf-agenda-detail-grid{grid-template-columns:1fr;gap:12px}}

body.bf-modern:not(.bf-os-mode) .bfcos-stage{right:0;bottom:62px}
body.bf-modern .bfcos-ctrl.bf-web-link{width:auto;padding:0 10px;font-size:11px;gap:6px;white-space:nowrap}
.bf-window-tray{position:fixed;bottom:10px;left:16px;right:80px;z-index:80;display:flex;gap:8px;overflow:auto;pointer-events:none}
.bf-window-tray button{pointer-events:auto;background:var(--bf-surface);color:var(--bf-text);border:1px solid var(--bf-border);border-radius:10px;padding:8px 14px;display:flex;flex-direction:column;max-width:210px;min-width:100px;box-shadow:var(--bf-shadow)}
.bf-window-tray span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px}
.bf-window-tray small{font-size:10px;color:var(--bf-muted)}

.bf-tool-picker{border-top:1px solid var(--bf-border);padding-top:14px;margin-top:12px}
.bf-tool-picker h3{font-weight:600;font-size:13px}
.bf-tool-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
.bf-tool-picker-grid label{display:flex!important;align-items:center;justify-content:flex-start!important;gap:8px;font-size:12px!important;min-height:40px}
.bf-tool-picker nav{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:8px}
.bf-tool-picker nav button{padding:8px}
.bf-module-editor:has(.bf-tool-picker){width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}

.bf-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.bf-module-grid label{display:flex;align-items:center;justify-content:space-between;min-height:40px;font-size:12px}

.bf-result-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 12px 16px}.bf-result-actions button{font-size:11px;color:var(--bf-accent);padding:6px 8px;border:1px solid var(--bf-border);border-radius:7px}

/* Solid desktop taskbar: always readable above the workspace. */
body.bf-modern .bf-window-tray{left:0;right:0;bottom:0;height:68px;align-items:center;padding:8px 84px 8px 16px;background:var(--bf-surface)!important;border-top:2px solid var(--bf-border);box-shadow:0 -8px 28px #00000035;pointer-events:auto;gap:10px;isolation:isolate}
body.bf-modern .bf-window-tray button{height:50px;min-width:150px;max-width:240px;flex:0 0 auto;justify-content:center;border:1px solid var(--bf-border);border-bottom:3px solid var(--bf-muted);background:var(--bf-raised)!important;box-shadow:none;padding:6px 14px;text-align:left;border-radius:8px}
body.bf-modern .bf-window-tray button span{font-size:13px;font-weight:650;color:var(--bf-text)}
body.bf-modern .bf-window-tray button small{font-size:11px;margin-top:2px}
body.bf-modern .bf-window-tray button.bf-tray-active{border-color:var(--bf-accent);border-bottom-width:4px;box-shadow:inset 0 0 0 1px var(--bf-accent)}
body.bf-modern .bf-window-tray button:hover{border-color:var(--bf-accent)}
.bf-tray-label{display:flex;flex-direction:column;gap:3px;flex:0 0 auto;padding:0 12px 0 4px;color:var(--bf-text)}
.bf-tray-label strong{font-size:12px}.bf-tray-label small{font-size:10px;color:var(--bf-muted)}
body.bf-modern:not(.bf-os-mode) .bfcos-stage{bottom:72px}
body.bf-modern:has(.bf-window-tray:not([style*="display: none"])) .bf-task-panel{bottom:80px!important}
@media(max-width:650px){.bf-tray-label{display:none}body.bf-modern .bf-window-tray{padding-left:10px;gap:8px}body.bf-modern .bf-window-tray button{min-width:128px;max-width:180px}}
