.dashboard-layout-grid{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:16px;align-items:start}
.dashboard-layout-widget{--dashboard-columns:24;--dashboard-height:auto;position:relative;min-width:0;grid-column:span var(--dashboard-columns);height:var(--dashboard-height);display:flex;flex-direction:column;border:1px solid #d8e0e9;border-radius:12px;background:var(--portal-panel,#fff)}
.dashboard-layout-widget:has(>.dashboard-widget-content>[data-client-widget][hidden]),.dashboard-layout-widget:has(>.dashboard-widget-content>[data-client-support-widget][hidden]){display:none}
.dashboard-widget-content{min-width:0;min-height:0;overflow:auto;flex:1;border-radius:0 0 11px 11px;overscroll-behavior:contain;font-size:15px;line-height:1.4}
.dashboard-widget-content>.card{margin:0;border:0;border-radius:0;min-height:100%;box-shadow:none}
.dashboard-widget-content>[data-client-widget$="-metric"]{display:flex;flex-direction:column;gap:8px}
.dashboard-widget-content>[data-client-widget$="-metric"]>span,.dashboard-widget-content>[data-client-widget$="-metric"]>small{display:block;font-size:15px;line-height:1.4;color:var(--portal-muted,#59677c)}
.dashboard-widget-content>[data-client-widget$="-metric"]>strong{display:block;font-size:26px;line-height:1.25;font-weight:700;margin:0;overflow-wrap:anywhere}
.dashboard-layout-widget[data-columns="4"] .columns,.dashboard-layout-widget[data-columns="8"] .columns{grid-template-columns:minmax(0,1fr);gap:12px}
.dashboard-layout-widget dl{grid-template-columns:minmax(0,120px) minmax(0,1fr)}
.dashboard-layout-widget dt,.dashboard-layout-widget dd{overflow-wrap:anywhere;min-width:0}
.dashboard-layout-widget input,.dashboard-layout-widget select,.dashboard-layout-widget textarea{min-width:0;max-width:100%}
.dashboard-layout-widget .inline label{min-width:0}
.dashboard-layout-toolbar{margin:10px 0 16px;font-size:14px}
.dashboard-layout-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.dashboard-layout-toolbar button{font-size:14px;min-height:32px;padding:5px 10px}
.dashboard-layout-toolbar p{font-size:14px;font-weight:400;letter-spacing:normal;line-height:1.4;margin:6px 0;color:var(--portal-muted,#59677c)}
.dashboard-layout-help{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dashboard-widget-controls{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:2px 6px;background:transparent;flex:none}
.dashboard-widget-controls button{border:0;background:transparent;padding:4px;min-height:32px;min-width:32px;color:var(--portal-muted,#59677c)}
.dashboard-widget-controls .dashboard-widget-handle{display:grid;grid-template-columns:repeat(2,4px);grid-template-rows:repeat(2,4px);place-content:center;gap:3px;cursor:grab;touch-action:none;user-select:none}
.dashboard-grip-dot{width:4px;height:4px;border-radius:50%;background:currentColor}
.dashboard-widget-handle:active{cursor:grabbing}
.dashboard-widget-controls .dashboard-widget-close{font-size:24px;font-weight:400;line-height:1}
.dashboard-widget-close:not(:disabled):hover{color:#d73b4f;background:#d73b4f12}
.dashboard-layout-widget[data-drop-target=true]{outline:2px solid var(--portal-action,#f97316);outline-offset:3px}
.dashboard-widget-resize-edge,.dashboard-widget-resize-corner{position:absolute;z-index:1;border:0;background:transparent;border-radius:0;padding:0;min-height:0!important;min-width:0!important;touch-action:none;user-select:none;color:var(--portal-muted,#59677c)}
.dashboard-widget-resize-edge{width:12px;top:36px;right:-5px;bottom:18px;cursor:ew-resize}
.dashboard-widget-resize-edge:not(:disabled):hover{background:#f9731630}
.dashboard-widget-resize-corner{width:24px;height:24px;bottom:0;right:0;cursor:nwse-resize;border-radius:0 0 11px 0;background:transparent}
.dashboard-widget-resize-corner::after{content:'';position:absolute;right:4px;bottom:4px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor}
.dashboard-widget-resize-corner:hover{background-color:#f9731630}
.dashboard-layout-navigation{display:grid;gap:6px}
.dashboard-layout-navigation .dashboard-layout-widget{grid-column:auto;border-color:#294058;background:transparent;height:auto;flex-direction:row;align-items:center}
.dashboard-layout-navigation .dashboard-widget-controls{min-height:28px;padding:2px 0 2px 4px;flex:none}
.dashboard-layout-navigation .dashboard-widget-controls button{min-height:28px;color:#b7cbd7}
.dashboard-layout-navigation [data-view]{width:100%}
.dashboard-layout-navigation .dashboard-widget-content{overflow:visible;border-radius:0;flex:1}
aside .dashboard-layout-toolbar{color:#f2f8fc}
aside .dashboard-layout-toolbar p{display:block;color:#b7cbd7}
aside .dashboard-layout-toolbar button{color:#f2f8fc;background:#162a40;border-color:#45617a;text-align:left}
.dashboard-panels-menu{margin-top:18px;padding-top:12px;border-top:1px solid #294058}
.dashboard-panels-menu>button{width:100%;text-align:left;color:#f2f8fc;background:#162a40;border-color:#45617a}
.dashboard-panels-list{max-height:60vh;overflow:auto;overscroll-behavior:contain;padding-top:8px}
.dashboard-panels-group{padding:8px 0}
.dashboard-panels-group h3{font-size:14px;color:#b7cbd7;margin:0 0 8px}
.dashboard-panels-row{display:flex;gap:6px;align-items:center;margin-bottom:8px;font-size:14px;color:#f2f8fc}
.dashboard-panels-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.dashboard-panels-row button{min-height:32px;padding:5px 7px;font-size:14px;color:#f2f8fc;background:#162a40;border-color:#45617a}
.dashboard-panels-row[data-unavailable=true]{opacity:.65}
.dashboard-layout-toolbar button:focus-visible,.dashboard-widget-controls button:focus-visible,.dashboard-widget-resize-edge:focus-visible,.dashboard-widget-resize-corner:focus-visible,.dashboard-panels-menu button:focus-visible{outline:3px solid var(--portal-action,#f97316);outline-offset:2px}
@media(max-width:800px){.dashboard-layout-grid{grid-template-columns:minmax(0,1fr)}.dashboard-layout-grid>.dashboard-layout-widget{grid-column:span 1;max-width:100%;height:auto}.dashboard-widget-resize-edge,.dashboard-widget-resize-corner{display:none}.dashboard-layout-navigation{display:flex;flex-wrap:wrap}.dashboard-layout-toolbar{width:100%}.dashboard-panels-menu{width:100%}.dashboard-panels-list{max-height:45vh}.dashboard-layout-widget .columns{grid-template-columns:minmax(0,1fr)}}
