/* Three review directions. Layout/data controls stay shared. */
body:has(.bd-modern) .shell::before{background:radial-gradient(ellipse at 23% 38%,#ffb28e55,transparent 33%),radial-gradient(ellipse at 79% 40%,#86aaff66,transparent 35%),radial-gradient(ellipse at 60% 92%,#65d9ae44,transparent 38%),#f0f2f6}
body:has(.bd-modern) #secTitle{font-weight:750;letter-spacing:-1px}
.bd-modern{--bd-text:#17202c;--bd-muted:#596476;color:#17202c}
.bd-modern .bd-toolbar{gap:12px}
.bd-modern .bd-appearance{background:#192332;border:0;padding:4px;box-shadow:0 8px 18px #18233516}
.bd-modern .bd-appearance button{color:#c9d2df;padding:9px 12px;font-weight:650;white-space:nowrap}
.bd-modern .bd-appearance button[aria-pressed=true]{background:linear-gradient(110deg,#fb935c,#ea6025);color:#fff}
.bd-modern .bd-swatch-aurora{background:linear-gradient(135deg,#ffb68f,#86aaff,#82ddb7)}
.bd-modern .bd-swatch-porcelain{background:#fafbff}
.bd-modern .bd-swatch-prism{background:linear-gradient(135deg,#e9eeff 48%,#233751 50%)}
.bd-modern .bd-brands{background:transparent;gap:7px;padding:0}
.bd-modern .bd-brands button,.bd-modern .bd-tool{background:#ffffffd9;border:1px solid #fff;border-radius:99px;color:#505c70;box-shadow:0 7px 16px #202c4510;font-weight:650}
.bd-modern .bd-brands button{padding:10px 16px}
.bd-modern .bd-brands button[aria-pressed=true]{background:linear-gradient(110deg,#fb935c,#ed652b);color:white;box-shadow:0 8px 18px #e9673233}
.bd-modern .bd-summary button{background:#ffffff87;border:1px solid #fffc;color:#28354a;box-shadow:0 8px 24px #25384f0a;backdrop-filter:blur(16px)}
.bd-modern .bd-summary button:nth-of-type(1){background:linear-gradient(115deg,#ffb08480,#fff6);color:#a23e16;border-color:#fff}
.bd-modern .bd-summary button:nth-of-type(3){background:linear-gradient(115deg,#c3d5ff88,#fff8)}
.bd-modern .bd-summary strong{font-weight:750;letter-spacing:-1px}
.bd-modern .bd-collection{color:#735339}
.bd-modern .bd-card,.bd-modern:not(.bd-prism) .bd-glass{
 --bd-muted:#596476;color:#17202c;border:1px solid #ffff;border-radius:26px;
 background:radial-gradient(ellipse at 10% 0,var(--panel-tint,#fbdac466),transparent 76%),#ffffff78;
 box-shadow:0 14px 32px #23334f12,inset 0 1px #fff;backdrop-filter:blur(26px) saturate(130%);-webkit-backdrop-filter:blur(26px) saturate(130%);
}
.bd-modern .bd-card::before,.bd-modern:not(.bd-prism) .bd-glass::before{inset:0;border-radius:inherit;border:1px solid #fff9;box-shadow:none;background:none}
.bd-modern .bd-card::after,.bd-modern:not(.bd-prism) .bd-glass::after{display:none}
.bd-modern .bd-card:hover,.bd-modern:not(.bd-prism) .bd-glass:hover{border-color:#fff;box-shadow:0 16px 35px #23334f1a,inset 0 1px #fff}
.bd-modern .bd-card[aria-label="Заказы"]{--panel-tint:#ffb38a99}
.bd-modern .bd-card[aria-label="Продажи"]{--panel-tint:#88acff8c}
.bd-modern .bd-card[aria-label="Склад"]{--panel-tint:#86ddba88}
.bd-modern .bd-card[aria-label="Производство"]{--panel-tint:#ffe3a680}
.bd-modern .bd-card[aria-label="Реклама и склейки"]{--panel-tint:#c3b6f080}
.bd-modern .bd-card[aria-label="Доставки FBS"]{--panel-tint:#96d9e480}
.bd-modern .bd-card-head{color:#1d2939;font-weight:700}
.bd-modern .bd-card-head>span:last-child{background:#ffffffa3;color:#647086}
.bd-modern .bd-number strong{color:#131e2d;font-weight:780;letter-spacing:-1.2px}
.bd-modern .bd-number small,.bd-modern .bd-number>span,.bd-modern .bd-money-total small{color:#596476}
.bd-modern .bd-money-total{color:#9b421e;font-weight:650}
.bd-modern .bd-card .bd-seg{background:#ffffff65;border:1px solid #fff9}
.bd-modern .bd-card .bd-seg button{color:#515d70;font-weight:650}
.bd-modern .bd-card .bd-seg button[aria-pressed=true]{background:linear-gradient(115deg,#f8935b,#ed6328);color:#fff;box-shadow:0 4px 10px #ed632830}
.bd-modern .bd-split{border-color:#fff;gap:8px}
.bd-modern .bd-split>span,.bd-modern .bd-commerce-split small,.bd-modern .bd-fbs-card td small{color:#596476}
.bd-modern .bd-split b{color:#182535;font-weight:720}
.bd-modern .bd-note,.bd-modern .bd-note.bd-muted{background:#ffffff70;border:1px solid #fff9;color:#4c5b70;border-radius:14px}
.bd-modern .bd-note:hover{background:#fff;color:#192c46}
.bd-modern .bd-note.bd-good{background:#e0f7eb80;color:#176346}
.bd-modern .bd-route{background:#ffffff80;color:#596476;border-radius:12px}
.bd-modern .bd-route b{color:#20324b}
.bd-modern .bd-cabinets summary{background:#ffffff96;color:#384c66;border-color:#fff}
.bd-modern .bd-cab-menu{background:#f6f8fded;border-color:#fff;box-shadow:0 18px 40px #21345226}
.bd-modern .bd-cab-option{color:#263a53}.bd-modern .bd-cab-option b{color:#a8451c}
.bd-modern .bd-cab-option:hover{background:#e2eaf6}.bd-modern .bd-cab-menu>small{color:#596476}
.bd-modern .bd-cab-option:first-child,.bd-modern .bd-cab-menu>small{border-color:#d6deeb}
.bd-modern th,.bd-modern td{border-color:#fff9}.bd-modern tbody th{color:#35465a}.bd-modern td{color:#17283e;font-weight:650}.bd-modern thead th{color:#596476}
.bd-modern .bd-flow-tabs{background:#fff9;border:1px solid #fff;padding:4px;box-shadow:0 5px 16px #2437550e}
.bd-modern .bd-flow-tabs button{color:#596476;font-weight:650}.bd-modern .bd-flow-tabs button[aria-pressed=true]{background:linear-gradient(110deg,#f8935b,#ed6328);color:#fff}
.bd-modern:not(.bd-prism) .bd-glass{background:radial-gradient(ellipse at 85% 12%,#8cafff80,transparent 48%),radial-gradient(ellipse at 15% 83%,#83dfbd66,transparent 52%),#ffffff78}
.bd-modern:not(.bd-prism) .bd-conveyor-head{border-color:#fff}
.bd-modern:not(.bd-prism) .bd-conveyor-head h2{color:#455673;font-weight:650}
.bd-modern:not(.bd-prism) .bd-conveyor-head strong{color:#17202c;font-weight:780}
.bd-modern:not(.bd-prism) .bd-conveyor-head small,.bd-modern:not(.bd-prism) .bd-lane-label small,.bd-modern:not(.bd-prism) .bd-time,.bd-modern:not(.bd-prism) .bd-glass footer{color:#53627a}
.bd-modern:not(.bd-prism) .bd-tempo{background:#fff9;border-color:#fff;color:#334a6d}
.bd-modern:not(.bd-prism) .bd-lane{border-color:#fff9}
.bd-modern:not(.bd-prism) .bd-lane-label b{color:#283c59;font-weight:700}
.bd-modern:not(.bd-prism) .bd-track{background:linear-gradient(180deg,#ffffff94,#ffffff36);border-color:#fff;box-shadow:inset 0 2px 5px #31507412,0 2px 5px #fff6}
.bd-modern:not(.bd-prism) .bd-count{color:#234c96;font-weight:750}
.bd-modern:not(.bd-prism) .bd-lane-signal{color:#1c6a4f}
.bd-modern:not(.bd-prism) .bd-lane[data-status=quiet] .bd-lane-signal,.bd-modern:not(.bd-prism) .bd-lane[data-status=stale] .bd-lane-signal{color:#87521c}
.bd-modern:not(.bd-prism) .bd-lane[data-status=offline] .bd-lane-signal{color:#a63425}
.bd-modern:not(.bd-prism) .bd-lane[data-status=missing] .bd-lane-signal,.bd-modern:not(.bd-prism) .bd-track-empty,.bd-modern:not(.bd-prism) .bd-empty{color:#53627a}
.bd-modern .bd-card button:focus-visible,.bd-modern .bd-glass button:focus-visible,.bd-modern .bd-card summary:focus-visible{outline-color:#285cb2}
.bd-modern .bd-bottom{color:#637086;border-color:#d6deeb}
/* Aurora: illuminated smoked glass only inside individual panels. */
body:has(.bd-aurora){background:#eef0f4}
body:has(.bd-aurora) .shell::before{background:linear-gradient(145deg,#fafbfc,#e9ecf2)}
body:has(.bd-aurora) .shell::after,body:has(.bd-aurora) .shell-glow-b{opacity:.15}
body:has(.bd-aurora) #secTitle{color:#17202c}
body:has(.bd-aurora) #secHint{color:#596476}
.bd-modern.bd-aurora .bd-shell{
 --bd-text:#17202c;--bd-muted:#596476;color:var(--bd-text);padding:0;border-radius:0;border:0;background:none;box-shadow:none;
}
.bd-modern.bd-aurora .bd-card,.bd-modern.bd-aurora .bd-glass{
 --bd-muted:#c4cbd6;color:#f5f7fc;background:radial-gradient(ellipse at 8% 0,var(--glass-glow,#b9552c40),transparent 78%),linear-gradient(135deg,#ffffff18,#ffffff08),#202b3bf2;
 border:1px solid #e2e9f052;box-shadow:0 8px 24px #07101c1a,inset 0 1px 1px #ffffff4d,inset 0 -1px 1px #ffffff14;
 backdrop-filter:blur(24px) saturate(125%);-webkit-backdrop-filter:blur(24px) saturate(125%);
}
.bd-modern.bd-aurora .bd-card[aria-label="Продажи"],.bd-modern.bd-aurora .bd-card[aria-label="Доставки FBS"]{--glass-glow:#376cce55}
.bd-modern.bd-aurora .bd-card[aria-label="Склад"]{--glass-glow:#14846066}
.bd-modern.bd-aurora .bd-card[aria-label="Производство"]{--glass-glow:#ad843c40}
.bd-modern.bd-aurora .bd-card[aria-label="Реклама и склейки"]{--glass-glow:#7163b94d}
.bd-modern.bd-aurora .bd-glass{background:radial-gradient(ellipse at 100% 0,#2857bb66,transparent 60%),radial-gradient(ellipse at 0 100%,#14846066,transparent 60%),linear-gradient(135deg,#ffffff18,#ffffff08),#202b3bf2}
.bd-modern.bd-aurora .bd-card::before,.bd-modern.bd-aurora .bd-glass::before{border-color:#ffffff1c;background:linear-gradient(120deg,#ffffff05,transparent 40%);box-shadow:none}
.bd-modern.bd-aurora .bd-card:hover,.bd-modern.bd-aurora .bd-glass:hover{border-color:#e2e9f078;box-shadow:0 10px 28px #07101c26,inset 0 1px 1px #ffffff66}
.bd-modern.bd-aurora .bd-summary>b{color:#596476}
.bd-modern.bd-aurora .bd-card-head,.bd-modern.bd-aurora .bd-number strong,.bd-modern.bd-aurora .bd-split b,.bd-modern.bd-aurora td,.bd-modern.bd-aurora .bd-route b,.bd-modern.bd-aurora .bd-conveyor-head strong{color:#f8faff}
.bd-modern.bd-aurora .bd-number small,.bd-modern.bd-aurora .bd-number>span,.bd-modern.bd-aurora .bd-money-total small,.bd-modern.bd-aurora .bd-split>span,.bd-modern.bd-aurora .bd-commerce-split small,.bd-modern.bd-aurora .bd-fbs-card td small,.bd-modern.bd-aurora thead th,.bd-modern.bd-aurora .bd-time,.bd-modern.bd-aurora .bd-glass footer,.bd-modern.bd-aurora .bd-conveyor-head small,.bd-modern.bd-aurora .bd-lane-label small{color:#c4cbd6}
.bd-modern.bd-aurora .bd-money-total{color:#ffba95}
.bd-modern.bd-aurora tbody th,.bd-modern.bd-aurora .bd-lane-label b,.bd-modern.bd-aurora .bd-conveyor-head h2{color:#edf2fa}
.bd-modern.bd-aurora .bd-card-head>span:last-child{background:#ffffff14;color:#d6dfec}
.bd-modern.bd-aurora .bd-split,.bd-modern.bd-aurora th,.bd-modern.bd-aurora td,.bd-modern.bd-aurora .bd-lane,.bd-modern.bd-aurora .bd-conveyor-head{border-color:#e4ecf026}
.bd-modern.bd-aurora .bd-note,.bd-modern.bd-aurora .bd-note.bd-muted,.bd-modern.bd-aurora .bd-route{background:#ffffff0c;border-color:#ffffff24;color:#e0e6f0}
.bd-modern.bd-aurora .bd-note:hover{background:#ffffff1c;color:#fff}
.bd-modern.bd-aurora .bd-note.bd-good{background:#6cdeb014;color:#a0e5c5;border-color:#9ee3c52e}
.bd-modern.bd-aurora .bd-card .bd-seg,.bd-modern.bd-aurora .bd-flow-tabs{background:#ffffff0e;border-color:#ffffff26;box-shadow:inset 0 1px #ffffff14}
.bd-modern.bd-aurora .bd-flow-tabs{background:linear-gradient(135deg,#35445c,#233044);border-color:#ffffff60}
.bd-modern.bd-aurora .bd-card .bd-seg button,.bd-modern.bd-aurora .bd-flow-tabs button{color:#dce3ee}
.bd-modern.bd-aurora .bd-card .bd-seg button[aria-pressed=true],.bd-modern.bd-aurora .bd-flow-tabs button[aria-pressed=true]{color:#fff}
.bd-modern.bd-aurora .bd-cabinets summary,.bd-modern.bd-aurora .bd-tempo{background:#ffffff14;border-color:#ffffff30;color:#edf2fa}
.bd-modern.bd-aurora .bd-cab-menu{background:#202c3af5;border-color:#b8c9e45c;box-shadow:0 18px 40px #080f1c80}
.bd-modern.bd-aurora .bd-cab-option{color:#eef3fb}.bd-modern.bd-aurora .bd-cab-option b{color:#ffba95}
.bd-modern.bd-aurora .bd-cab-option:hover{background:#ffffff12}
.bd-modern.bd-aurora .bd-cab-option:first-child,.bd-modern.bd-aurora .bd-cab-menu>small{border-color:#ffffff26}
.bd-modern.bd-aurora .bd-cab-menu>small{color:#c4cbd6}
.bd-modern.bd-aurora .bd-summary button{background:linear-gradient(135deg,#ffffff12,#ffffff04),#273345f2;border-color:#ffffff60;color:#edf2fa;box-shadow:0 8px 20px #17233114,inset 0 1px #ffffff30}
.bd-modern.bd-aurora .bd-summary button:first-of-type strong{color:#ffba95}
.bd-modern.bd-aurora .bd-summary button:nth-of-type(2) strong{color:#a0e5c5}
.bd-modern.bd-aurora .bd-track{background:linear-gradient(180deg,#ffffff12,#ffffff05);border-color:#ffffff42;box-shadow:inset 0 2px 6px #09131f40,inset 0 1px #ffffff20}
.bd-modern.bd-aurora .bd-count{color:#b7d0ff}
.bd-modern.bd-aurora .bd-lane-signal{color:#a0e5c5}
.bd-modern.bd-aurora .bd-lane[data-status=quiet] .bd-lane-signal,.bd-modern.bd-aurora .bd-lane[data-status=stale] .bd-lane-signal{color:#ffd09d}
.bd-modern.bd-aurora .bd-lane[data-status=offline] .bd-lane-signal{color:#ffb4a4}
.bd-modern.bd-aurora .bd-lane[data-status=missing] .bd-lane-signal,.bd-modern.bd-aurora .bd-track-empty,.bd-modern.bd-aurora .bd-empty{color:#c4cbd6}
.bd-modern.bd-aurora .bd-collection{color:#805333}
.bd-modern.bd-aurora .bd-bottom{color:#596476;border-color:#26374d26}
.bd-modern.bd-aurora .bd-card button:focus-visible,.bd-modern.bd-aurora .bd-glass button:focus-visible,.bd-modern.bd-aurora .bd-card summary:focus-visible{outline-color:#ffbd82}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.bd-modern.bd-aurora .bd-card,.bd-modern.bd-aurora .bd-glass{background:#303d4c}}
/* Porcelain: compact white instruments with a blue control rail. */
body:has(.bd-porcelain) .shell::before{background:linear-gradient(140deg,#fafbfe,#e9edf5)}
body:has(.bd-porcelain) .shell::after,body:has(.bd-porcelain) .shell-glow-b{opacity:.25}
.bd-porcelain .bd-card,.bd-porcelain .bd-card:hover,.bd-porcelain .bd-glass,.bd-porcelain .bd-glass:hover{background:#ffffffed!important;border:1px solid #dce3ef;border-radius:17px;box-shadow:0 5px 16px #21375508}
.bd-porcelain .bd-card-head{border-bottom:1px solid #edf1f7}
.bd-porcelain .bd-summary{background:#1d2e48;border-radius:20px;padding:0 14px}
.bd-porcelain .bd-summary>b{color:#c4d3e9}
.bd-porcelain .bd-summary button,.bd-porcelain .bd-summary button:nth-of-type(1),.bd-porcelain .bd-summary button:nth-of-type(3){background:transparent;border:0;border-left:1px solid #a8c6ed33;border-radius:0;box-shadow:none;color:#fff}
.bd-porcelain .bd-card .bd-seg{background:#f0f3f9;border-color:#e2e8f2}
.bd-porcelain .bd-card .bd-seg button[aria-pressed=true]{background:#254f96;box-shadow:0 4px 10px #254f9630}
.bd-porcelain .bd-brands button[aria-pressed=true]{background:#254f96;box-shadow:0 8px 18px #254f9626}
.bd-porcelain .bd-split{border-color:#e7edf5}.bd-porcelain th,.bd-porcelain td{border-color:#edf1f7}
.bd-porcelain .bd-note,.bd-porcelain .bd-note.bd-muted,.bd-porcelain .bd-route{background:#f2f5fa;border-color:#edf1f7}
.bd-porcelain .bd-track{background:#f1f5fb!important;border-color:#dce5f3!important;box-shadow:inset 0 1px 3px #2038590c!important}
.bd-porcelain .bd-lane,.bd-porcelain .bd-conveyor-head{border-color:#e4eaf4!important}
/* Prism: one dark central instrument, separate quiet white business tiles. */
body:has(.bd-prism) .shell::before{background:radial-gradient(ellipse at 55% 46%,#a5b8dd66,transparent 55%),#f1f3f8}
.bd-prism .bd-card,.bd-prism .bd-card:hover{background:#ffffffe0;border-color:#fff;box-shadow:0 12px 28px #2236560f;border-radius:24px}
.bd-prism .bd-card-head{border-left:3px solid #ec793e;padding-left:9px}
.bd-prism .bd-card[aria-label="Продажи"] .bd-card-head,.bd-prism .bd-card[aria-label="Доставки FBS"] .bd-card-head{border-color:#5284d7}
.bd-prism .bd-card[aria-label="Склад"] .bd-card-head{border-color:#359978}
.bd-prism .bd-glass{background:radial-gradient(ellipse at 90% 12%,#5686ba66,transparent 56%),linear-gradient(150deg,#17283fed,#213c60e0);border-radius:28px;box-shadow:0 22px 44px #172d5333,inset 0 1px #fff8}
.bd-prism .bd-conveyor-head strong{font-weight:780;font-size:44px}
.bd-prism .bd-summary button:nth-of-type(1){background:linear-gradient(120deg,#f69255,#ec652b);color:white}
.bd-prism .bd-summary button:nth-of-type(3){background:#fff9}
.bd-prism .bd-split{border-color:#e8edf4}.bd-prism th,.bd-prism td{border-color:#e8edf4}
.bd-prism .bd-note,.bd-prism .bd-note.bd-muted{background:#f0f4fa;border-color:#e9eef6}
@media(min-width:1151px){.bd-prism .bd-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.34fr) minmax(0,1fr)}.bd-porcelain .bd-workspace{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr) minmax(0,1.08fr)}}
@media(max-width:650px){.bd-modern .bd-tools{justify-content:start}.bd-modern .bd-appearance{width:100%;justify-content:space-between}.bd-modern .bd-appearance button{padding:9px 10px;flex:1;justify-content:center}.bd-modern .bd-card{border-radius:24px}.bd-porcelain .bd-summary{padding:8px}.bd-porcelain .bd-summary>b{color:#c4d3e9}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.bd-modern .bd-card,.bd-modern:not(.bd-prism) .bd-glass{background:#f2f5fb}.bd-prism .bd-glass{background:#233953}}
/* Readable instruments: content determines card height, never smaller type. */
.bd-modern .bd-workspace{height:auto;align-items:stretch}
.bd-modern .bd-column{grid-template-rows:auto auto auto;align-content:start;gap:14px}
.bd-modern .bd-card{padding:18px;gap:12px!important;min-height:0;font-size:14px;line-height:1.45}
.bd-modern .bd-card-head{font-size:17px!important;line-height:1.3;letter-spacing:-.2px}
.bd-modern .bd-card .bd-number{flex-wrap:wrap;align-items:center;gap:6px 12px}
.bd-modern .bd-card .bd-number strong{font-size:36px;line-height:1.15;font-weight:750;letter-spacing:-1px;white-space:normal}
.bd-modern .bd-card .bd-number small{font-size:13px;line-height:1.4;font-weight:500;letter-spacing:0}
.bd-modern .bd-card .bd-number>span{font-size:13px;line-height:1.4;max-width:130px}
.bd-modern .bd-commerce-card .bd-number>span{max-width:none;text-align:left;font-size:12px}
.bd-modern .bd-money-total{font-size:17px;font-weight:700;line-height:1.45;margin-top:4px}
.bd-modern .bd-money-total small{font-size:12px;font-weight:500}
.bd-modern .bd-card .bd-split{gap:10px;padding-top:10px}
.bd-modern .bd-card .bd-split>span{font-size:13px;line-height:1.4}
.bd-modern .bd-card .bd-split b{font-size:22px;line-height:1.2;margin-top:5px;letter-spacing:-.4px}
.bd-modern .bd-card .bd-commerce-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bd-modern .bd-card .bd-commerce-split small{font-size:13px;line-height:1.4;margin-top:4px;white-space:normal}
.bd-modern .bd-card .bd-note{font-size:13px!important;line-height:1.45;padding:10px 12px;letter-spacing:0}
.bd-modern .bd-order-open small{font-size:12px;line-height:1.45;margin-top:5px}
.bd-modern .bd-card .bd-muted,.bd-modern .bd-route{font-size:13px;line-height:1.5}
.bd-modern .bd-route{padding:9px 11px;gap:10px;flex-wrap:wrap}
.bd-modern .bd-card .bd-seg button,.bd-modern .bd-flow-tabs button{font-size:13px;line-height:1.4;padding:7px 6px}
.bd-modern .bd-cabinets summary{font-size:13px;line-height:1.4;padding:6px 9px}
.bd-modern .bd-cab-option{font-size:14px;line-height:1.4;min-height:40px}
.bd-modern .bd-cab-option b,.bd-modern .bd-cab-menu>small{font-size:12px}
.bd-modern .bd-fbs-card .bd-table-wrap{max-height:none;flex:none}
.bd-modern .bd-fbs-card th,.bd-modern .bd-fbs-card td{font-size:13px;line-height:1.4;padding:9px 3px;vertical-align:top}
.bd-modern .bd-fbs-card thead th{font-size:12px;font-weight:600;white-space:normal}
.bd-modern .bd-fbs-card tbody th{font-weight:600;width:31%}
.bd-modern .bd-fbs-card td{font-size:15px}
.bd-modern .bd-fbs-card td small{display:block;font-size:12px;font-weight:500;line-height:1.4;margin:3px 0 0;white-space:normal}
.bd-modern .bd-glass{padding:18px}
.bd-modern .bd-conveyor-head{align-items:start;gap:12px;padding-bottom:16px}
.bd-modern .bd-conveyor-head h2{font-size:15px;line-height:1.4}
.bd-modern .bd-conveyor-head strong{font-size:40px;line-height:1.15}
.bd-modern .bd-conveyor-head small{display:block;font-size:13px;line-height:1.4;margin:5px 0 0}
.bd-modern .bd-tempo{font-size:12px!important;padding:8px 10px}
.bd-modern .bd-lanes{justify-content:start;min-height:0;max-height:960px}
.bd-modern .bd-lane{grid-template-columns:minmax(82px,26%) minmax(0,1fr) 36px;padding:15px 0;gap:7px 8px;flex:none}
.bd-modern .bd-lane-label b{font-size:14px;line-height:1.35;overflow-wrap:normal}
.bd-modern .bd-lane-label small{font-size:12px;line-height:1.4}
.bd-modern .bd-lane-signal{font-size:12px!important;line-height:1.4;grid-column:1/-1}
.bd-modern .bd-time{font-size:12px;line-height:1.4;grid-column:1/-1;text-align:left}
.bd-modern .bd-track-empty{font-size:12px;line-height:1.4}
.bd-modern .bd-count{font-size:24px;line-height:1.2}
.bd-modern .bd-glass footer{font-size:12px;line-height:1.5;flex-wrap:wrap;gap:6px 14px}
.bd-modern .bd-summary button{font-size:13px;line-height:1.4}
.bd-modern .bd-collection,.bd-modern .bd-bottom{font-size:12px;line-height:1.5}
@media(min-width:1151px){
 .bd-modern .bd-column{grid-template-rows:auto auto auto;align-content:stretch}
 .bd-modern .bd-center{min-height:780px}
 .bd-modern .bd-lanes{height:0;flex-basis:0;max-height:none}
}
@media(max-width:1150px){
 .bd-modern .bd-workspace{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}
 .bd-modern .bd-center{grid-column:1/-1;grid-row:2}
 .bd-modern .bd-column{grid-template-rows:auto auto auto}
 .bd-modern .bd-card{padding:18px}
 .bd-modern .bd-lanes{max-height:600px;overflow-y:auto}
 .bd-modern .bd-lane{grid-template-columns:minmax(90px,20%) minmax(0,1fr) 42px}
}
@media(max-width:650px){
 .bd-modern .bd-workspace{display:flex;flex-direction:column}
 .bd-modern .bd-card{padding:18px;min-height:0}
 .bd-modern .bd-glass{padding:16px}
 .bd-modern .bd-lane{grid-template-columns:82px minmax(0,1fr) 32px;gap:7px 6px}
 .bd-modern .bd-summary button{font-size:12px;height:auto;min-height:90px}
 .bd-modern .bd-order-heading .bd-cabinets{max-width:65%}
}

/* BRAIN.LANE.COUNT.V1: число дорожки (заказы за день) — трёх- и четырёхзначное помещается целиком, колонка по ширине числа */
.bd .bd-lane{grid-template-columns:minmax(76px,24%) minmax(0,1fr) minmax(32px,max-content)!important}
.bd .bd-count{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:650px){.bd .bd-lane{grid-template-columns:72px minmax(0,1fr) minmax(28px,max-content)!important}}

/* ===== BRAIN.LAYOUT.V2 (Роман 01.10.2026): блоки выровнены по верху и равны по высоте, переключатель потока — внутри конвейера,
   фото на ленте на 30 % крупнее, «Возвраты» едут в обратную сторону, производство — сетка стадий, FBS — Сейчас/Сегодня/Вчера ===== */
.bd .bd-photo{width:55px!important;height:55px!important}
.bd .bd-track{height:66px!important}
.bd .bd-belt[data-dir=rev]{animation-direction:reverse!important}
.bd .bd-glass>.bd-flow-tabs{align-self:flex-start;margin:0 0 6px;padding:3px;border-radius:999px;background:#ffffff14;border:1px solid #ffffff2e;box-shadow:none}
.bd .bd-glass>.bd-flow-tabs button{padding:7px 16px;font-size:13px}
.bd .bd-prod-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
.bd .bd-prod-grid>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.bd .bd-prod-grid b{font-size:22px;line-height:1.15}
.bd .bd-prod-grid small{opacity:.7;font-size:11px}
.bd .bd-fbs-seg{margin:2px 0 8px;align-self:flex-start}
.bd .bd-fbs-seg button{padding:5px 12px;font-size:12px}
@media(min-width:1151px){
 .bd.bd-modern .bd-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto;height:auto!important;align-items:stretch;row-gap:14px}
 .bd.bd-modern .bd-workspace>.bd-column{display:contents!important}
 .bd.bd-modern .bd-workspace>.bd-column:first-of-type>.bd-card{grid-column:1}
 .bd.bd-modern .bd-workspace>.bd-column:last-of-type>.bd-card{grid-column:3}
 .bd.bd-modern .bd-workspace>.bd-column>.bd-card:nth-child(1){grid-row:1}
 .bd.bd-modern .bd-workspace>.bd-column>.bd-card:nth-child(2){grid-row:2}
 .bd.bd-modern .bd-workspace>.bd-column>.bd-card:nth-child(3){grid-row:3}
 .bd.bd-modern .bd-workspace>.bd-center{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;min-height:0;gap:0}
 .bd.bd-modern .bd-workspace>.bd-center>.bd-glass{flex:1;height:auto!important;min-height:0}
 .bd.bd-modern .bd-workspace .bd-card{height:auto!important;min-height:0;display:flex;flex-direction:column;margin:0!important}
 .bd.bd-modern .bd-workspace .bd-card>.bd-note:last-child,.bd.bd-modern .bd-workspace .bd-card>button:last-child{margin-top:auto}
 .bd.bd-modern .bd-lanes{flex:1;min-height:0}
}
