/* Full-height list workspaces. The table owns scrolling; toolbars stay in view. */
#app.list-workspace{height:100vh;height:100dvh;min-height:0;background:#f5f7fb;overflow:hidden}
#app.list-workspace>.main{height:100%;min-height:0;max-width:none;padding:20px 24px;overflow:hidden}
#app.list-workspace>.main>.footer{display:none}
body:has(#app.list-workspace:not(.hidden)) #mj-launcher{display:none!important}
#app.list-workspace .list-page.active{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;max-width:none;margin:0;color:#22354d}
#app.list-workspace .list-page [hidden]{display:none!important}
#app.list-workspace button:disabled{opacity:.42;cursor:not-allowed}
#app.list-workspace .list-page button,#app.list-workspace .list-page input,#app.list-workspace .list-page select{font-size:12px}
.workspace-heading,#page-credentials .accounts-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;margin:0 0 14px}
.workspace-eyebrow,#page-credentials .accounts-eyebrow{font-size:9px;letter-spacing:.14em;font-weight:750;color:#7d8ba0;margin:0 0 2px}
.workspace-heading h1,#page-credentials h1{margin:0;font-size:26px;font-weight:750;letter-spacing:-.7px;line-height:1.3;color:#182e49}
.workspace-heading p,#page-credentials .accounts-hero p{display:none}
.workspace-heading-actions{display:flex;align-items:center;gap:10px;flex:none}
.workspace-heading-actions button{min-height:34px;padding:7px 12px;border-radius:8px;box-shadow:none}
#page-credentials .accounts-live{padding:6px 10px;font-size:11px;max-width:310px;border:0;background:#eaf7f1}
.workspace-metrics,#page-credentials .account-metrics{display:flex;flex:none;gap:0;border:1px solid #e0e7f0;border-radius:10px;background:#fff;margin:0 0 10px;overflow:hidden}
.workspace-metric,#page-credentials .account-metric{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border:0;border-radius:0;box-shadow:none;background:#fff!important}
.workspace-metric+.workspace-metric,#page-credentials .account-metric+.account-metric{border-left:1px solid #e8edf4}
.workspace-metric span,#page-credentials .account-metric small,#page-credentials .account-metric:first-child small{display:block;margin:0;color:#6b7c92;font-size:11px;line-height:1.3}
.workspace-metric strong,#page-credentials .account-metric strong,#page-credentials .account-metric:first-child strong{font-size:18px;line-height:1.2;color:#263e5a;letter-spacing:-.3px}
#page-credentials .account-metric:first-child strong{color:#285ee6}
.workspace-tabs,#page-credentials .account-tabs{display:flex;align-items:center;flex:none;gap:24px;border-bottom:1px solid #e0e7f0;margin:0 0 12px;min-height:39px}
.workspace-tabs button,#page-credentials .account-tabs button{min-height:0;border:0;box-shadow:none;border-radius:0;padding:9px 0 11px;background:none;color:#77869a;font-size:12px;font-weight:650;white-space:nowrap}
.workspace-tabs button.selected,#page-credentials .account-tabs button.selected{color:#275ede;box-shadow:inset 0 -2px #275ede}
.workspace-panel,#page-credentials .account-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dfe6ef;border-radius:12px;box-shadow:0 2px 5px #1f395003}
.workspace-toolbar{display:flex;align-items:center;gap:8px;flex:none;padding:12px 14px;border-bottom:1px solid #e8edf4}
.workspace-toolbar input,.workspace-toolbar select{height:35px;min-width:0;background:#f8fafd;color:#344b66;border:1px solid #dce5ee;border-radius:7px;padding:7px 10px}
.workspace-toolbar .search{flex:1;width:auto;min-width:150px;max-width:none}
.workspace-toolbar select{width:180px;flex:none}
.workspace-toolbar button{min-height:35px;padding:7px 10px;border-radius:7px;box-shadow:none;white-space:nowrap}
.workspace-filters{display:flex;gap:24px;flex-wrap:wrap;padding:10px 16px;background:#f7f9fc;border-bottom:1px solid #e5ebf3;flex:none}
.workspace-filters fieldset{border:0;padding:0;margin:0;display:flex;align-items:center;gap:10px}
.workspace-filters legend{font-size:10px;font-weight:650;color:#708298;margin-bottom:4px}
.workspace-filters label{font-size:11px;color:#6d7e91;display:flex;align-items:center;gap:5px}
.workspace-filters input{height:30px;border:1px solid #dce5ee;border-radius:5px;padding:4px 6px;color:#344b66;background:white}
.workspace-selection{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:7px 14px;background:#fafbfd;border-bottom:1px solid #e6ecf3;color:#74869b;font-size:11px}
.workspace-selection>div{display:flex;gap:7px;align-items:center}
.workspace-selection button{min-height:29px;box-shadow:none;border-radius:6px;padding:4px 9px;font-size:11px!important}
#page-excel .workspace-scroll,#page-credentials .account-scroll{flex:1;min-height:0;height:auto;max-height:none;width:100%;margin:0;border:0;border-radius:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#90a7c2 #f1f4f9;scrollbar-width:auto;box-shadow:none;contain:layout paint;scroll-behavior:auto}
#page-excel .workspace-scroll::-webkit-scrollbar,#page-credentials .account-scroll::-webkit-scrollbar{width:12px;height:12px}
#page-excel .workspace-scroll::-webkit-scrollbar-thumb,#page-credentials .account-scroll::-webkit-scrollbar-thumb{background:#90a7c2;border:3px solid #f1f4f9;border-radius:9px}
#page-excel .workspace-scroll thead,#page-credentials .accounts-table thead{position:sticky;top:0;z-index:2}
#page-excel .workspace-scroll th,#page-credentials .accounts-table th{padding:10px 12px;background:#f7f9fc;font-size:10px;letter-spacing:.04em;font-weight:700;color:#7b8aa0;text-transform:uppercase;border:0;border-bottom:1px solid #e0e7f0;line-height:1.4}
#page-excel .workspace-scroll td,#page-credentials .accounts-table td{padding:8px 12px;font-size:12px;line-height:1.4;vertical-align:middle;color:#354b65;border:0;border-bottom:1px solid #edf1f6;background:#fff}
#page-excel .workspace-scroll tbody tr:nth-child(even) td,#page-credentials .accounts-table tbody tr:nth-child(even) td{background:#fcfdff}
#page-excel .workspace-scroll tbody tr:hover td,#page-credentials .accounts-table tbody tr:hover td{background:#f2f6fd}
#page-excel .workspace-file-table{width:100%;min-width:990px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.file-select-col{width:38px}.file-name-col{width:28%}.file-client-col{width:17%}.file-date-col{width:17%}.file-size-col{width:9%}.file-status-col{width:12%}.file-actions-col{width:178px}
#page-excel .workspace-scroll td>small{display:block;color:#8a97a8;font-size:10px;line-height:1.5;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-excel .workspace-scroll{contain:none}
#page-excel .workspace-file-table .status-pill{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.workspace-cell-title{font-weight:600;font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-file-identity{display:flex;align-items:center;gap:10px;min-width:0}
.workspace-file-identity>div{min-width:0}
.workspace-file-icon{display:grid;place-items:center;flex:none;width:31px;height:36px;border:1px solid #cce8db;border-radius:6px;background:#edf8f1;color:#388362;font-size:9px;font-weight:800;letter-spacing:.02em}
#page-excel .workspace-file-name{display:block;max-width:100%;min-height:0;padding:0;background:none;border:0;box-shadow:none;border-radius:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#244365;font-size:12px;font-weight:650}
#page-excel .workspace-file-name:hover{color:#285ee6;text-decoration:underline;transform:none}
.workspace-file-identity small{display:block;font-size:10px;line-height:1.5;color:#8a97a8;margin-top:2px}
#page-excel .workspace-file-table .status-pill{font-size:10px;padding:3px 6px;line-height:1.3;border:0;border-radius:5px}
#page-excel .workspace-file-table .status-pill.red{background:#fff1eb;color:#b87845}
#page-excel .workspace-file-table .actions-menu{gap:5px}
#page-excel .workspace-file-table .actions-menu>.secondary,.workspace-download{padding:5px 7px;min-height:28px;font-size:10px!important;border:1px solid #dbe5f0;border-radius:5px;background:#fff;box-shadow:none;text-decoration:none;line-height:1.5;color:#567497}
.workspace-download{color:#2d61bf;border-color:#dbe5f4;background:#f5f8ff}
#page-excel .workspace-file-table .actions-menu-btn{width:25px;min-height:28px;border-radius:5px;font-size:16px}
#page-excel .actions-menu-list a{padding:7px 9px;font-size:12px;text-decoration:none;border-radius:6px}
.workspace-pagination,#page-credentials .account-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none;margin:0;padding:10px 14px;border-top:1px solid #e1e8f0;background:#fff;font-size:11px;color:#788a9f}
.workspace-pagination>span,#page-credentials .account-footer>span{margin-right:auto}
.workspace-pagination>small{font-size:10px;margin-right:10px;color:#97a3b1}
.workspace-pagination button,#page-credentials .account-footer button{min-height:30px;padding:5px 10px;font-size:11px;border-radius:6px;box-shadow:none}
.workspace-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;flex:none}
.workspace-panel-heading h2{font-size:17px;margin:0;color:#263e5a}.workspace-panel-heading p{font-size:12px;margin:2px 0 0;color:#7b8b9f}
#page-credentials .account-panel{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,2fr);grid-template-rows:auto minmax(0,1fr) auto}
#page-credentials .account-panel-head{grid-column:1;grid-row:1;padding:10px 14px;min-width:0;gap:8px;border-bottom:1px solid #e8edf4}
#page-credentials .account-panel-head h2{font-size:14px;margin:0;letter-spacing:0;line-height:1.4}
#page-credentials .account-panel-head p{display:none}
#page-credentials .account-tools{grid-column:2;grid-row:1;padding:10px 14px 10px 0;gap:7px;border-bottom:1px solid #e8edf4}
#page-credentials .account-tools input{height:35px;max-width:none;padding:7px 10px;font-size:12px;border-radius:7px}
#page-credentials .account-action{min-height:33px;padding:6px 10px;border-radius:7px;font-size:11px;white-space:nowrap}
#page-credentials .account-scroll{grid-column:1/-1;grid-row:2}
#page-credentials .account-footer{grid-column:1/-1;grid-row:3}
#page-credentials .accounts-table{min-width:960px}
#page-credentials .accounts-table th:nth-child(1){width:27%}#page-credentials .accounts-table th:nth-child(2){width:22%}#page-credentials .accounts-table th:nth-child(3){width:17%}#page-credentials .accounts-table th:nth-child(4){width:12%}#page-credentials .accounts-table th:nth-child(5){width:15%}#page-credentials .accounts-table th:nth-child(6){width:7%}
#page-credentials .account-email{font-size:13px;font-weight:650;color:#263f5d;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
#page-credentials .account-profile{margin-top:3px;font-size:10px;color:#95a0af;line-height:1.4}
#page-credentials .account-completeness{font-size:8px;padding:1px 4px;margin-left:3px;vertical-align:1px}
#page-credentials .account-password-pair{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:4px}
#page-credentials .account-password-pair>small,#page-credentials .account-password-pair .account-secret+small{font-size:8px;margin:0;letter-spacing:0;text-transform:none}
#page-credentials .account-password-pair:not(:has(.account-secret+small)){grid-template-columns:minmax(0,1fr)}
#page-credentials .account-password-pair:not(:has(.account-secret+small))>small{display:none}
#page-credentials .account-secret{gap:4px}
#page-credentials .account-secret-preview{font-size:12px;letter-spacing:.04em}
#page-credentials .account-secret-preview.cookie-ready{font-size:10px;letter-spacing:0}
#page-credentials .account-icon{font-size:9px;padding:3px 5px;min-height:24px;border-radius:4px}
#page-credentials .account-origin{font-size:9px;margin-top:2px;color:#97a2b1}
#page-credentials .account-client-link{font-size:12px;color:#607ea3}
#page-credentials #accountDirectory{flex:1;min-height:0;overflow:auto;padding:4px 0;scrollbar-gutter:stable}
#page-credentials .account-directory-head{margin-bottom:12px}#page-credentials .account-directory-head h2{font-size:17px}
#page-credentials .account-client-card{padding:17px;box-shadow:none}
@media(min-width:1101px){#app.list-workspace.workspace-wide{grid-template-columns:minmax(0,1fr)}#app.list-workspace.workspace-wide>.topbar{display:none}#app.list-workspace.workspace-wide>.main{grid-column:1}#app.workspace-wide .workspace-metrics,#app.workspace-wide .account-metrics,#app.workspace-wide .workspace-eyebrow,#app.workspace-wide .accounts-eyebrow{display:none}#app.workspace-wide .workspace-heading,#app.workspace-wide .accounts-hero{margin-bottom:8px}}
@media(max-width:1100px){#app.list-workspace{display:flex;flex-direction:column}#app.list-workspace>.topbar{flex:none;position:relative}#app.list-workspace>.main{flex:1;height:auto;width:100%;margin:0;padding:14px 16px}.workspace-expand{display:none}}
@media(max-width:800px){.workspace-heading p,#page-credentials .accounts-hero p{display:none}.workspace-heading,#page-credentials .accounts-hero{margin-bottom:10px}.workspace-metrics{overflow-x:auto}.workspace-metric{min-width:125px;padding:8px 12px}#page-credentials .account-metric{padding:9px 12px;flex-direction:column;align-items:flex-start;gap:4px}#page-credentials .account-panel{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) auto}#page-credentials .account-panel-head{grid-column:1;grid-row:1;padding:7px 12px;border-bottom:0}#page-credentials .account-tools{grid-column:1;grid-row:2;padding:7px 12px}#page-credentials .account-scroll{grid-row:3}#page-credentials .account-footer{grid-row:4}.workspace-toolbar{flex-wrap:wrap;padding:9px 12px}.workspace-toolbar .search{flex-basis:50%}.workspace-toolbar select{width:150px}.workspace-selection{flex-wrap:wrap;gap:5px}.workspace-selection>div{flex-wrap:wrap}.workspace-tabs{gap:18px;overflow-x:auto}.workspace-filters{max-height:170px;overflow:auto;gap:10px}}
@media(max-width:540px){#app.list-workspace>.main{padding:10px}.workspace-heading h1,#page-credentials h1{font-size:22px}.workspace-eyebrow,#page-credentials .accounts-eyebrow{display:none}.workspace-heading-actions{gap:5px}.workspace-heading-actions button{font-size:10px!important}#page-credentials .accounts-hero{flex-direction:row;align-items:center;gap:8px}#page-credentials .accounts-live{font-size:10px;max-width:190px}#page-credentials .account-metric small{font-size:9px}#page-credentials .account-metric strong{font-size:16px}#page-credentials .account-tools{flex-wrap:wrap}#page-credentials .account-tools input{flex-basis:100%}#page-credentials .account-action{font-size:10px;min-height:30px}.workspace-pagination>small{display:none}.workspace-pagination{gap:5px;padding:8px}.workspace-pagination button{font-size:10px}.workspace-toolbar{gap:6px}.workspace-toolbar select{width:120px}.workspace-file-table{min-width:940px}}
