/* Native dashboard only. Existing workspaces retain their own layout and actions. */
#content:has(>.dashboard-workspace){max-width:none;padding:24px 26px 34px;background:linear-gradient(120deg,#f5f8fe,#edf3fc)}
.workspace:has(.dashboard-workspace)>.topbar{height:56px;padding:0 26px}
.dashboard-workspace{color:#112440;font-size:13px;min-width:0}
.dashboard-workspace svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.dw-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.dw-head h1{font-size:29px;font-weight:650;letter-spacing:-.7px;margin:0 0 4px}.dw-head p{font-size:15px;color:#536882;margin:0}.dw-controls{display:flex;gap:14px;flex:none}.dw-controls select,.dw-controls button{min-height:40px;background:#fff;border:1px solid #ccd9ed;border-radius:8px;padding:9px 15px;font-size:13px;font-weight:400;color:#152944}.dw-controls select{min-width:156px}
.dashboard-workspace button,.dashboard-workspace a{font-family:inherit}.dashboard-workspace button{font-weight:400;box-shadow:none}.dashboard-workspace a{color:#1450ef;text-decoration:none}.dashboard-workspace a:hover{text-decoration:underline}.dw-controls button,.dw-shortcuts a,.dw-shortcuts button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.dw-controls button svg{width:20px;height:20px}
.dw-warning{display:flex;align-items:center;gap:16px;border:1px solid #f3d292;background:#fff5e4;border-radius:9px;padding:10px 16px;color:#68400e;margin-bottom:15px}.dw-warning>span{font-size:15px;font-weight:550;white-space:nowrap}.dw-warning p{border-left:1px solid #e7c9a0;padding-left:16px;font-size:12px;margin:0;color:#48392a;line-height:1.5}.dw-warning>a{margin-left:auto;white-space:nowrap}.dashboard-workspace .dw-primary{background:#1550ff;color:#fff;border:1px solid #1550ff;border-radius:7px;padding:9px 16px;font-size:12px;font-weight:450;text-decoration:none}
.dw-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:17px}.dw-metric{display:flex;gap:18px;background:#fff;border:1px solid #d4dff0;border-radius:11px;padding:18px;min-height:108px}.dw-metric>svg{width:29px;height:29px;color:#475e7b}.dw-metric p{font-size:13px;margin:0 0 2px;line-height:1.4}.dw-metric strong{display:block;font-size:28px;font-weight:550;line-height:1.25;margin-bottom:5px}.dw-metric a{display:inline-block;font-size:12px}
.dw-shortcuts{display:flex;align-items:center;gap:20px;border:1px solid #cfdcf0;border-radius:10px;background:#fff;padding:10px 18px;margin-bottom:16px;flex-wrap:wrap}.dw-shortcuts h2{font-size:16px;font-weight:550;letter-spacing:0;margin:0 30px 0 -6px}.dw-shortcuts a:not(.dw-primary){padding:8px 16px;border:1px solid #b8cbf0;border-radius:7px;font-size:12px}.dw-shortcuts svg{width:21px;height:21px}
.dw-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(290px,1fr);gap:17px}.dw-panel{background:#fff;border:1px solid #d2dff0;border-radius:11px;overflow:hidden;min-width:0}.dw-panel>header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;gap:12px}.dw-panel h2{font-size:18px;font-weight:550;letter-spacing:-.3px;margin:0}.dw-panel>header>a{font-size:12px}.dw-tabs{display:flex;gap:8px;padding:6px 18px 14px;flex-wrap:wrap}.dw-tabs button{padding:7px 12px;font-size:12px;border:1px solid #d6e0ee;border-radius:7px;color:#1b304d;background:#fff}.dw-tabs button.active{background:#e4ecff;color:#174dee;border-color:#d5e0ff}
.dw-table-wrap{overflow:auto;margin:0 16px}.dw-orders table{width:100%;min-width:560px;border-collapse:collapse;font-size:12px;table-layout:fixed}.dw-orders th{background:#f2f5fc;text-align:left;font-size:11px;font-weight:500;color:#445b79;letter-spacing:0;padding:9px 10px}.dw-orders th:first-child{width:46%}.dw-orders th:nth-child(2){width:18%}.dw-orders th:nth-child(3){width:18%}.dw-orders th:last-child{width:18%;text-align:right}.dw-orders td{vertical-align:middle;padding:11px 9px;border-bottom:1px solid #dce5f1;line-height:1.5;overflow-wrap:anywhere;font-size:11px}.dw-orders td:last-child{text-align:right;font-variant-numeric:tabular-nums}.dw-orders td small{display:block;font-size:10px;color:#6d809b}.dw-orders .orders-product-name{font-size:12px;font-weight:500}.dw-orders .orders-product-options{font-size:10px;color:#5b7191}.dw-orders .orders-product-image{width:44px;height:44px;flex-basis:44px}.dw-orders .orders-product-order{max-width:180px;font-size:9px}.dw-order-name{font-weight:500}.dw-order-open{display:block;font-size:9px;margin-top:5px}.dw-badge{display:inline-block;border-radius:6px;padding:4px 8px;background:#edf1f6;color:#4e617d;font-size:11px;line-height:1.35;font-weight:400;white-space:normal}.dw-badge.is-good{background:#e6f6ec;color:#207545}.dw-badge.is-bad{background:#ffebec;color:#af343f}.dw-badge.is-warn{background:#ffedc7;color:#8b510b}.dw-note{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#667a97;padding:10px 18px;margin:0;line-height:1.6}.dw-note svg{width:16px;height:16px;margin-top:2px}
.dw-connection-list{padding:0 18px 18px}.dw-connection{display:flex;align-items:center;gap:14px;padding:11px 5px;border-bottom:1px solid #e2e8f2;color:#1c2e49!important;text-decoration:none!important;font-size:13px}.dw-connection>span:nth-child(2){margin-right:auto}.dw-connection>span:last-child{font-size:22px;color:#607695;line-height:1}.dw-connection:hover{background:#f6f9ff}.dw-flag{display:inline-block;flex:none;width:24px;height:17px;border-radius:3px;box-shadow:0 0 0 1px #d7deea;background:linear-gradient(90deg,#002b7f 33.33%,#fcd116 33.33% 66.66%,#ce1126 66.66%)}.dw-flag-hu{background:linear-gradient(#ce2939 33.33%,#fff 33.33% 66.66%,#477050 66.66%)}.dw-flag-bg{background:linear-gradient(#fff 33.33%,#00966e 33.33% 66.66%,#d62612 66.66%)}
.dw-connector{display:flex;align-items:center;gap:14px;margin-top:9px;padding:14px 5px;border-top:1px solid #d3deed;font-size:13px}.dw-connector>.dw-badge{margin-left:auto}.dw-connection-list>button{width:100%;margin-top:12px;padding:9px;border:1px solid #759bff;border-radius:7px;color:#1652f5;background:#fff;font-size:13px}
.dw-activity>header,.dw-stock>header{border-bottom:1px solid #dfe6f1}.dw-empty{text-align:center;padding:20px;color:#637895;font-size:12px}.dw-empty>svg{display:block;width:32px;height:32px;margin:0 auto 8px}.dw-empty h3{font-size:14px;font-weight:500;color:#203959;margin:0}.dw-empty p{margin:3px 0 9px;font-size:12px}.dw-activity ul{list-style:none;padding:0 17px;margin:0}.dw-activity li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e3eaf4;padding:11px 0;font-size:12px}.dw-activity li:last-child{border:0}.dw-activity li small{display:block;color:#6e819b;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.dw-activity li>div:first-child{min-width:0}.dw-activity li>div:last-child{text-align:right;flex-shrink:0}
.dw-stock dl{padding:0 18px;margin:0}.dw-stock dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #dae3f0}.dw-stock dt{display:flex;align-items:center;gap:12px;font-size:12px}.dw-stock dt svg{width:20px;height:20px;color:#5a7091}.dw-stock dd{margin:0;font-size:11px;text-align:right}.dw-stock-link{display:block;margin:0 18px 16px;font-size:12px}.dw-footnote{font-size:10px;color:#7588a3;margin:14px 0 0}.dw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.dashboard-workspace[aria-busy=true]{opacity:.7}.dashboard-workspace:focus-visible,.dashboard-workspace :focus-visible{outline:3px solid #416dff66;outline-offset:3px}
@media(max-width:1250px){.dw-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-grid{grid-template-columns:minmax(0,1fr)}.dw-connections{grid-row:auto}.dw-warning{flex-wrap:wrap}.dw-warning p{border:0;padding:0;flex-basis:70%}.dw-head{align-items:flex-start}.dw-shortcuts{gap:12px}.dw-shortcuts h2{margin-right:10px}}
@media(max-width:650px){#content:has(>.dashboard-workspace){padding:18px 12px}.dw-head{flex-wrap:wrap}.dw-head h1{font-size:25px}.dw-head p{font-size:13px}.dw-controls{width:100%;gap:10px}.dw-controls label{flex:1}.dw-controls select{width:100%;min-width:0}.dw-metrics{gap:10px}.dw-metric{padding:13px;gap:9px;min-height:110px}.dw-metric>svg{width:22px;height:22px}.dw-metric p{font-size:11px}.dw-metric strong{font-size:24px}.dw-metric a{font-size:10px}.dw-warning p{flex-basis:100%}.dw-shortcuts{padding:12px}.dw-shortcuts h2{flex:1}.dw-shortcuts a,.dw-shortcuts button{flex:1 1 160px}.dw-grid{gap:12px}.dw-panel>header{padding:12px 14px}.dw-panel h2{font-size:16px}}
