.mt-root .md-dashboard{--md-gap:12px;--md-row:94px;min-width:0}
.mt-root .md-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.mt-root .md-toolbar strong{font-size:12px;font-weight:600}.mt-root .md-toolbar p{font-size:10px;color:var(--text3);margin:4px 0 0;line-height:1.5}
.mt-root .md-toolbar button,.mt-root .md-link,.mt-root .md-estimate-note button,.mt-root .md-library button{font:500 11px 'Poppins',sans-serif;border:1px solid var(--border2);border-radius:var(--r);padding:9px 12px;color:var(--text2);background:var(--bg3);cursor:pointer}
.mt-root .md-toolbar button:hover,.mt-root .md-library button:hover:not(:disabled){background:var(--bg4);color:var(--text)}
.mt-root .md-customize{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.mt-root .md-estimate-note{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;margin-bottom:14px;background:var(--violetbg);border:1px solid var(--violetborder);border-radius:var(--r);color:var(--text2);font-size:10px;line-height:1.6}
.mt-root .md-estimate-note button{border:0;background:transparent;white-space:nowrap;padding:4px;color:var(--violet3);font-size:10px}
.mt-root .md-grid{display:grid;grid-template-columns:repeat(var(--md-cols),minmax(0,1fr));grid-template-rows:repeat(var(--md-rows),var(--md-row));gap:var(--md-gap);min-width:0;align-content:start;position:relative}
.mt-root .md-tile{background:var(--bg2);border:1px solid var(--border);border-radius:var(--r2);padding:14px 16px;min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;overflow:hidden}
.mt-root .md-tile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0;flex:none;margin-bottom:7px}
.mt-root .md-tile-heading h3{font-size:10px;line-height:1.45;color:var(--text2);font-weight:500;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mt-root .md-info{flex:none;width:16px;height:16px;display:grid;place-items:center;padding:0!important;border:0!important;background:transparent!important;color:var(--text3);font:12px/1 inherit;cursor:pointer}
.mt-root .md-tile-body{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.mt-root .md-type-metric .md-tile-body{overflow:hidden}
.mt-root .md-value{font-size:21px;line-height:1.2;letter-spacing:-.5px;font-weight:650;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-root .md-tile small{display:block;font-size:9px;line-height:1.5;color:var(--text3);margin-top:4px}
.mt-root .md-positive{color:var(--emerald)!important}.mt-root .md-negative{color:var(--rose)!important}.mt-root .md-progress{color:var(--amber)!important}.mt-root .md-missing{color:var(--text3)}
.mt-root .md-empty{display:grid;place-items:center;min-height:48px;height:100%;color:var(--text3);font-size:10px;text-align:center;line-height:1.7}
.mt-root .md-ranking>div{margin:13px 0 17px}.mt-root .md-rank-label{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:10px}.mt-root .md-rank-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-root .md-rank-label strong{flex:none;font-size:11px;font-weight:500}.mt-root .md-rank-track{height:4px;margin-top:9px;border-radius:5px;background:var(--bg4)}.mt-root .md-rank-track i{display:block;height:4px;border-radius:5px;background:var(--violet2)}
.mt-root .md-payments{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;min-height:150px}
.mt-root .md-donut{width:min(140px,100%);aspect-ratio:1;flex:none;border-radius:50%;background:conic-gradient(var(--md-donut));position:relative;display:grid;place-items:center}
.mt-root .md-donut:before{content:'';position:absolute;inset:13px;background:var(--bg2);border-radius:50%}.mt-root .md-donut span{position:relative;text-align:center}.mt-root .md-donut strong{font-size:22px;font-weight:600}.mt-root .md-payment-legend{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 16px}.mt-root .md-payment-legend>div{display:flex;align-items:center;gap:6px;font-size:10px}.mt-root .md-payment-legend i{width:7px;height:7px;border-radius:50%;flex:none}.mt-root .md-payment-legend strong{font-size:9px;font-weight:500;color:var(--text2)}
.mt-root .md-type-chart svg{width:100%;height:calc(100% - 22px);min-height:80px}.mt-root .md-type-chart .chart{height:100%;min-height:0}
.mt-root .md-approval>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}.mt-root .md-approval small{grid-column:1/-1}
.mt-root .md-demands>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}.mt-root .md-demands strong{font-size:24px;line-height:1;font-weight:600}.mt-root .md-link{display:block;margin-top:12px;width:100%;font-size:10px}
.mt-root .md-demand-list>div:not(.md-empty){padding:12px 0;border-bottom:1px solid var(--border)}.mt-root .md-demand-list strong{display:block;font-size:11px;font-weight:500}
.mt-root .md-workspace{min-width:0}.mt-root .md-editing .md-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.mt-root .md-editing .md-toolbar{position:sticky;top:8px;z-index:25;background:var(--bg2);padding:14px;border:1px solid var(--violetborder);border-radius:var(--r2);flex-wrap:wrap}
.mt-root .md-editor-actions,.mt-root .md-device{display:flex;align-items:center;gap:6px}.mt-root .md-device{margin-left:auto}.mt-root .md-device button[aria-pressed=true]{color:var(--violet3);background:var(--violetbg);border-color:var(--violetborder)}
.mt-root .md-toolbar button.primary{background:var(--violet);border-color:var(--violet);color:#fff;min-width:72px}.mt-root .md-toolbar button:disabled{opacity:.6;cursor:wait}
.mt-root .md-library{position:sticky;top:105px;border:1px solid var(--border);border-radius:var(--r2);padding:16px;background:var(--bg2);max-height:calc(100dvh - 150px);overflow:auto;scrollbar-width:thin}
.mt-root .md-library h3{font-size:12px;margin:0 0 15px}.mt-root .md-library h4{font-size:9px;color:var(--text3);text-transform:uppercase;letter-spacing:.08em;margin:20px 0 9px}.mt-root .md-search-label{font-size:10px;color:var(--text3);display:block}.mt-root .md-search-label input{width:100%;margin-top:6px;padding:9px;background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);font:11px 'Poppins',sans-serif;color:var(--text)}
.mt-root .md-library button{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left;border:0;padding:9px 5px;background:transparent;font-size:10px}.mt-root .md-library button:disabled{opacity:.45;cursor:default}
.mt-root .md-editing .md-tile{border-color:var(--border2);padding-top:39px;outline:1px solid transparent}.mt-root .md-editing .md-tile:hover{outline-color:var(--violetborder)}
.mt-root .md-tile-tools{position:absolute;inset:5px 6px auto;display:flex;align-items:center;justify-content:space-between;gap:4px;height:25px}.mt-root .md-tile-tools button,.mt-root .md-resize{display:grid;place-items:center;padding:0;width:24px;height:24px;min-width:0;border:0;border-radius:5px;background:var(--bg3);color:var(--text2);cursor:pointer;font:16px/1 inherit}
.mt-root .md-drag{cursor:grab!important;touch-action:none}.mt-root .md-size-controls{display:flex;gap:3px}.mt-root .md-size-controls button{font-size:13px;width:20px}.mt-root .md-resize{position:absolute;right:3px;bottom:3px;background:var(--bg3);cursor:nwse-resize;touch-action:none;width:20px;height:20px}.mt-root .md-resize svg{width:12px;height:12px}
.mt-root .md-moving{z-index:40;box-shadow:0 12px 40px #0006;outline:2px solid var(--violet2)!important;opacity:.95;overflow:visible}
.mt-root .md-editing.md-mobile-layout .md-grid{width:100%;max-width:430px;margin:0 auto}
.md-profit-formula{display:grid;grid-template-columns:1fr auto;gap:12px;margin:22px 0;font-size:12px}.md-profit-formula strong{font-weight:500}.md-profit-formula span{text-align:right}
@media(max-width:1100px){.mt-root .md-editing .md-workspace{grid-template-columns:180px minmax(0,1fr)}.mt-root .md-editing .md-toolbar>div:first-child{flex:1 1 100%}.mt-root .md-device{margin-left:0}.mt-root .md-value{font-size:19px}.mt-root .md-tile{padding:12px}}
@media(max-width:900px){.mt-root .md-dashboard{--md-gap:10px;--md-row:96px}.mt-root .md-toolbar{gap:10px;align-items:flex-start}.mt-root .md-toolbar strong{font-size:11px}.mt-root .md-customize{padding:8px 10px}.mt-root .md-value{font-size:20px}.mt-root .md-tile{padding:12px}.mt-root .md-tile-heading h3{font-size:10px}.mt-root .md-tile small{font-size:8px}.mt-root .md-estimate-note{align-items:flex-start;flex-direction:column;gap:4px}.mt-root .md-editing .md-workspace{display:flex;flex-direction:column}.mt-root .md-library{position:relative;top:auto;width:100%;max-height:230px}.mt-root .md-library h3{margin-bottom:8px}.mt-root .md-library section{margin-top:10px}.mt-root .md-library h4{margin-top:12px}.mt-root .md-library button{min-height:38px}.mt-root .md-editing .md-grid{width:100%}.mt-root .md-editing .md-toolbar{top:calc(var(--mobile-header-height) + var(--safe-top) + 4px)}.mt-root .md-editor-actions{width:100%;justify-content:flex-end}.mt-root .md-editing:not(.md-mobile-layout) .md-grid{min-width:760px}.mt-root .md-editing:not(.md-mobile-layout) .md-workspace{overflow-x:auto}.mt-root .md-editing .md-value{font-size:17px}.mt-root .md-toolbar button{font-size:10px;min-height:36px}}
@media(prefers-reduced-motion:reduce){.mt-root .md-tile{transition:none}}
