.module-frame{display:flex;flex-direction:column;gap:14px}.module-banner{background:linear-gradient(110deg,#f4f1ff,#f7f8fc 60%,#eef7f3);border:1px solid #eeebf8;border-radius:15px;padding:15px 18px;display:flex;align-items:center;gap:12px}.module-badge{font-size:12px;font-weight:700;color:#6253d0;background:#fff;border:1px solid #e8e3ff;border-radius:999px;padding:6px 10px;white-space:nowrap}.module-banner p{margin:0;color:#777d8e;font-size:12px;line-height:1.6}.module-content{min-width:0}.module-content>.identity-page-head{margin-top:0}@media(max-width:640px){.module-banner{align-items:flex-start;flex-direction:column;gap:7px;padding:13px 15px}}

/* Shared flexible layout controls for identity modules. */
.workbench-layout-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:34px;margin:-5px 0 10px}
.workbench-layout-toolbar .button{min-height:32px;padding:6px 12px;font-size:11px}
.workbench-layout-reset{background:#fff;border-color:#e9e6f3;color:#66627c}
.workbench-layout-profile{margin-right:auto;color:#77798a;font-size:10px;font-weight:600}
.workbench-layout-status{min-width:56px;color:#8b8e9b;font-size:10px;text-align:right}
.workbench-layout-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:32px;grid-auto-flow:row;gap:12px;align-items:stretch;min-width:0}
.workbench-layout-item{position:relative;min-width:0;min-height:0;overflow:visible;z-index:0}
.workbench-layout-item>.card{height:100%;min-height:0!important;max-height:100%;margin:0!important;box-sizing:border-box;overflow:auto;scrollbar-width:thin}
.workbench-widget-drag{display:none;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #e7e2f5;border-radius:9px;background:#fff;color:#766bb7;font:700 17px/1 sans-serif;cursor:grab;touch-action:none}
.workbench-widget-drag:active{cursor:grabbing}
.workbench-widget-resize{display:none;position:absolute;right:5px;bottom:5px;width:25px;height:25px;padding:0;border:1px solid #e7e2f5;border-radius:8px;background:rgba(255,255,255,.94);cursor:nwse-resize;touch-action:none;z-index:3}
.workbench-widget-resize span{position:absolute;right:5px;bottom:5px;width:10px;height:10px;border-right:2px solid #8b80c9;border-bottom:2px solid #8b80c9}
.workbench-layout-item>.workbench-widget-drag{position:absolute;top:5px;left:5px;z-index:3}
.is-editing-layout .workbench-layout-item.is-layout-editable{z-index:2;outline:1px dashed #aaa0e5;outline-offset:2px}
.is-editing-layout .workbench-layout-item.is-layout-editable>.card{border-color:#ded8f4;box-shadow:0 5px 18px rgba(92,76,164,.08)}
.is-editing-layout .workbench-widget-drag,.is-editing-layout .workbench-widget-resize{display:flex}
.is-editing-layout .workbench-widget-drag:focus-visible,.is-editing-layout .workbench-widget-resize:focus-visible{outline:2px solid #786bd1;outline-offset:2px}
.workbench-layout-item.is-pointer-active{z-index:4}
@media(max-width:760px){
  .workbench-layout-grid{display:flex;flex-direction:column;gap:12px}
  .workbench-layout-item{height:auto;min-height:0}
  .workbench-layout-item>.card{height:100%;min-height:0!important;max-height:none;overflow:visible}
  .workbench-layout-toolbar{min-height:34px;margin:-5px 0 10px}
  .workbench-layout-status{display:inline;min-width:0}
  .is-editing-layout .workbench-widget-drag,.is-editing-layout .workbench-widget-resize{display:flex}
  .workbench-widget-drag{touch-action:none;cursor:grab}
  .workbench-widget-resize{cursor:ns-resize;touch-action:none}
  .is-editing-layout .workbench-layout-item>.card{overflow:auto;scrollbar-width:thin}
  .workbench-layout-item.has-fixed-layout-height>.card{overflow:auto;scrollbar-width:thin}
  .workbench-layout-item.is-pointer-active{z-index:4}
}

@media(min-width:761px) and (max-width:850px){
  .overview-layout-grid>.workbench-layout-item[data-overview-widget="tasks"],
  .overview-layout-grid>.workbench-layout-item[data-overview-widget="plans"]{grid-column:1/-1!important;grid-row:auto/span 11!important}
}
