/* Reference direction: quiet white surfaces, soft floating chrome, blue selection. */
.crm-workspace{--crm-canvas:#eef0f3;--crm-surface:#fff;--crm-soft:#f4f5f7;--crm-ink:#24272d;--crm-secondary:#68717e;--crm-line:#e8ebef;--crm-accent:#406cdd;--crm-selection:#547de0;--crm-radius:22px;--crm-shadow:0 12px 42px #2333450a,0 2px 5px #23334504;--crm-menu-shadow:0 16px 44px #202f451c,0 2px 6px #202f4508}
body.crm-workspace{background:var(--crm-canvas)!important;color:var(--crm-ink)}
.crm-workspace .app{height:100dvh;min-height:0;box-sizing:border-box;padding:18px;gap:14px;background:transparent;overflow:hidden}
.crm-workspace .side{width:224px!important;flex-basis:224px;height:100%!important;position:relative;top:auto;padding:22px 12px 14px!important;border:1px solid #ffffffc9!important;border-radius:var(--crm-radius);background:#f5f6f8e8!important;box-shadow:var(--crm-shadow)!important}
.crm-workspace .brand.logo-brand{padding:0 6px!important;margin-bottom:24px!important;justify-content:space-between;gap:8px;min-height:38px;background:transparent!important}
.crm-workspace .side-logo{width:144px!important;max-width:144px!important}
.crm-workspace .sidebar-toggle{padding:6px!important;display:flex;align-items:center;justify-content:center;min-height:30px;width:30px;flex-shrink:0;background:transparent!important;color:#6d7580!important;border:0!important;border-radius:9px!important}
.crm-workspace .sidebar-toggle:hover{background:#e5e8ed!important}
.crm-workspace .nav a{min-height:43px!important;padding:10px 13px!important;border-radius:13px!important;margin:1px 0;gap:12px}
.crm-workspace .nav a.active{background:#fff!important;color:#304d8d!important;box-shadow:0 2px 8px #283c5410!important}
.crm-workspace .nav a:hover{background:#e9ecf1!important}
.crm-workspace .nav-settings{border-top:0;margin-top:20px;padding-top:10px}
.crm-workspace .nav-settings>summary{border-radius:13px;padding:10px 13px}
.crm-workspace .nav-settings .nav{padding-left:8px;border-left:1px solid #dfe3e8;margin:8px 0 0 20px}
.crm-workspace .nav-settings .nav a{font-size:13px!important;padding:9px 8px!important;gap:9px}
.crm-workspace .sidebar-account{border-top:1px solid #e3e6eb;padding:16px 6px 0;margin-top:14px;gap:9px}
.crm-workspace .account-avatar{background:#e3e7ef;color:#596779;width:34px;height:34px}
.crm-workspace .main{border:1px solid #fff;border-radius:var(--crm-radius);background:var(--crm-surface);box-shadow:var(--crm-shadow);width:auto;flex:1;height:100%;padding:0 30px 30px!important;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd1da transparent}
.crm-workspace .top{min-height:78px;margin-bottom:26px!important;padding:20px 0!important;border-color:var(--crm-line)!important;background:#ffffffed!important;backdrop-filter:blur(16px)}
.crm-workspace .top h2{font-size:22px;font-weight:600;letter-spacing:-.4px}
.crm-workspace button{border-radius:11px!important;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}
.crm-workspace button:not(.light):not(.danger):not(:disabled):active{filter:brightness(.96)}
.crm-workspace input,.crm-workspace select,.crm-workspace textarea{border-radius:10px!important;border-color:#e4e7ec!important}
.crm-workspace :is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid var(--crm-accent)!important;outline-offset:3px}
.crm-workspace .table-scroll,.crm-workspace .business-table{border-radius:15px;border-color:var(--crm-line)}
.crm-workspace .table th{background:#f7f8fa!important;color:#757c87!important;font-size:12px!important}
.crm-workspace .table td{border-color:#f0f2f5!important}
.crm-workspace .card,.crm-workspace .panel,.crm-workspace .lab-app-access{border-radius:16px!important;border-color:var(--crm-line)!important}
.crm-workspace .filter-chip.active{box-shadow:inset 0 0 0 1px #dce5fb!important}
.crm-workspace .action-menu>summary{border-radius:11px;gap:12px}
.crm-workspace .action-menu-items{padding:7px;min-width:176px;border-color:#ffffffb8;border-radius:17px;background:#fffffff5;box-shadow:var(--crm-menu-shadow);backdrop-filter:blur(18px)}
.crm-workspace .action-menu-items button{min-height:39px;padding:9px 12px!important;border-radius:10px!important}
.crm-workspace .box,.crm-workspace .mf-share-dialog{border-radius:22px!important;box-shadow:0 28px 90px #182c4a26!important}
.crm-workspace .modal{backdrop-filter:blur(5px);background:#202b3b36;z-index:1100}
.crm-workspace .workspace-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;max-width:none}
.crm-workspace .workspace-app-row{align-items:flex-start;flex-direction:column;gap:19px;padding:24px!important;border:1px solid var(--crm-line);border-radius:19px;background:linear-gradient(150deg,#f8f9fb,#fff 74%);min-height:194px}
.crm-workspace .workspace-app-icon{width:43px;height:43px;border-radius:13px;background:#fff;color:#5473af;box-shadow:0 3px 11px #2437540b}
.crm-workspace .workspace-app-name h3{font-size:16px;font-weight:600}
.crm-workspace .workspace-app-actions{width:100%;justify-content:space-between;gap:12px;margin-top:auto}
.crm-workspace .workspace-app-open{font-size:13px;border-radius:10px;background:#fff}
.crm-workspace .workspace-recent{max-width:none;margin-top:32px}
.crm-workspace .recent-record{padding:17px 8px;border-radius:10px}
.crm-workspace .recent-record:hover{background:#f8f9fb}
.crm-workspace .recent-icon{background:#f3f5f8;border-radius:10px;width:32px;height:32px}
/* File workspace: one ownership picker, three useful views, one inspector. */
.crm-workspace .mf-shell{min-width:0!important;background:transparent}
.crm-workspace .mf-layout{display:block;position:relative}
.crm-workspace .mf-main{container-type:inline-size}
.crm-workspace .mf-people-panel{position:absolute;top:0;right:60px;z-index:25;display:block;width:max-content;max-width:100%;overflow:visible;padding:0!important;margin:0;background:transparent!important;border:0!important;max-height:none}
.crm-workspace .mf-people-panel[hidden]{display:none}
.crm-workspace .mf-people-panel>summary{list-style:none;display:flex;align-items:center;gap:16px;cursor:pointer;background:var(--crm-soft);border:1px solid #e8ebf0;padding:8px 14px;border-radius:11px;font-size:13px;min-height:36px;max-width:290px;overflow-wrap:anywhere}
.crm-workspace .mf-people-panel>summary::-webkit-details-marker{display:none}
.crm-workspace .mf-people-panel>summary::after{content:'';width:6px;height:6px;flex-shrink:0;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin-top:-3px}
.crm-workspace .mf-people-popover{position:absolute;z-index:45;top:calc(100% + 8px);right:0;width:300px;max-width:calc(100vw - 50px);padding:16px;border:1px solid #fff;border-radius:18px;box-shadow:var(--crm-menu-shadow);background:#fcfcfef5;backdrop-filter:blur(20px)}
.crm-workspace .mf-people-list{max-height:310px!important;overflow:auto}
.crm-workspace .mf-people-head{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.crm-workspace .mf-person.active{background:#edf2ff;border-color:#dce5fb;box-shadow:none}
.crm-workspace .mf-head{padding-bottom:12px}.crm-workspace .mf-head>div{display:flex;align-items:center;gap:10px}
.crm-workspace .mf-head #mfPageDesc{margin:0}
.crm-workspace .mf-mode-tabs{gap:6px;margin:0 0 20px}
.crm-workspace .fe-locationbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.crm-workspace .mf-mode-tabs button{font-weight:500;min-height:42px;padding:10px 15px!important}
.crm-workspace .mf-toolbar{margin:0;gap:8px;min-height:36px;align-items:center}
.crm-workspace .mf-breadcrumb{display:flex;gap:4px;align-items:center;padding:0;margin:0;flex-wrap:wrap}
.crm-workspace .mf-breadcrumb button{font-size:13px!important;padding:4px 7px!important;min-height:28px;color:#77808e!important;font-weight:400}
.crm-workspace .mf-breadcrumb button.active{color:#333c4a!important;font-weight:600}
.crm-workspace .mf-drop-zone{padding:11px 16px;min-height:42px;border-radius:12px;background:#fafbfc!important;display:flex;align-items:center;justify-content:center;margin:6px 0 16px;border-color:#e0e5ec!important}
.crm-workspace .mf-drop-zone[hidden]{display:none}
.crm-workspace .mf-drop-zone strong{font-size:12px;color:#7a8493;font-weight:400}
.crm-workspace .mf-drop-zone.dragging{background:#e9f0ff!important;border-color:#7e9de8!important}
.crm-workspace .mf-progress-list:empty{display:none}
.crm-workspace .mf-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 16px;font-size:12px;color:#737e8c}
.crm-workspace .fe-select-all{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:12px!important}
.crm-workspace .fe-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}
.crm-workspace #feTools[hidden]{display:none}
.crm-workspace .fe-search{display:flex;align-items:center;flex:1;max-width:300px;min-width:180px;position:relative}
.crm-workspace .fe-search>.crm-icon{position:absolute;left:11px;width:16px;height:16px;color:#778393;pointer-events:none}
.crm-workspace .fe-search input{width:100%;min-width:0;padding-left:34px!important;background:#f8f9fb!important;border-color:#eef0f4!important;min-height:36px;font-size:13px!important}
.crm-workspace .fe-display-tools{display:flex;gap:10px;align-items:center}
.crm-workspace .fe-display-tools select{font-size:12px!important;border:0!important;background:transparent!important;max-width:114px;min-height:36px;padding:5px!important}
.crm-workspace .fe-view-switch{display:flex;padding:3px;gap:2px;border-radius:11px;background:#f0f2f5}
.crm-workspace .fe-view-switch button,.crm-workspace .fe-info-toggle{display:flex;align-items:center;justify-content:center;padding:7px!important;width:32px;min-height:30px;background:transparent!important;border:0!important;color:#818996!important;border-radius:8px!important}
.crm-workspace .fe-view-switch button .crm-icon,.crm-workspace .fe-info-toggle .crm-icon{width:17px;height:17px}
.crm-workspace .fe-view-switch button.active{background:#fff!important;box-shadow:0 2px 5px #23354e13!important;color:#35445d!important}
.crm-workspace .fe-info-toggle.active{background:#edf2ff!important;color:#4064b6!important}
.crm-workspace .fe-browser{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:25px;align-items:start;min-height:380px}
.crm-workspace .fe-browser.details-hidden,.crm-workspace .fe-browser.fe-legacy{grid-template-columns:minmax(0,1fr)}
.crm-workspace .fe-entries{min-width:0;border:0!important;border-radius:0!important;overflow:visible}
.crm-workspace .fe-entries.dragging{outline:2px dashed #6489dd;outline-offset:6px;background:#edf3ff;border-radius:16px!important}
.crm-workspace .fe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.crm-workspace .fe-card{position:relative;isolation:isolate;border:1px solid #e7ebef;border-radius:19px;background:linear-gradient(150deg,#f1f3f5,#fafbfc 68%);transition:box-shadow .16s ease,border-color .16s ease,background .16s ease}
.crm-workspace .fe-card:hover{border-color:#c9d5e9;box-shadow:0 5px 14px #2c416414}
.crm-workspace .fe-card.is-selected{background:linear-gradient(150deg,#7898e9,#4369c4 48%,#365bb5);border-color:#7190d8;box-shadow:0 6px 18px #436abe29}
.crm-workspace .fe-card .fe-item-main{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;width:100%;min-height:205px;gap:8px;padding:22px 20px 19px!important;border:0!important;border-radius:18px!important;background:transparent!important;color:var(--crm-ink)!important;text-align:left}
.crm-workspace .fe-entry-name{font-size:14px;font-weight:500;line-height:1.5;max-width:100%;overflow-wrap:anywhere;text-align:left}
.crm-workspace .fe-entry-meta{font-size:11px;color:#657184;font-weight:400}
.crm-workspace .fe-card.is-selected .fe-entry-name,.crm-workspace .fe-card.is-selected .fe-entry-meta{color:#fff}
.crm-workspace .fe-check{accent-color:#365fc7}
.crm-workspace .fe-card>.fe-check{position:absolute;top:12px;right:12px;z-index:2;width:16px;height:16px;opacity:0;cursor:pointer}
.crm-workspace .fe-card:hover>.fe-check,.crm-workspace .fe-card:focus-within>.fe-check,.crm-workspace .fe-card.is-selected>.fe-check{opacity:1}
.crm-workspace .fe-inspector{min-width:0;border-left:1px solid var(--crm-line);padding-left:24px;min-height:360px}
.crm-workspace .fe-inspector[hidden]{display:none}
.crm-workspace .fe-inspector>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 24px}
.crm-workspace .fe-inspector h3{margin:0;font-size:13px;font-weight:600}
.crm-workspace .fe-close-info{display:flex;padding:6px!important;background:transparent!important;border:0!important;color:#84909e!important;min-height:28px}
.crm-workspace .fe-close-info .crm-icon{width:16px;height:16px}
.crm-workspace .fe-inspector-art{padding:8px 0;display:flex;justify-content:center}
.crm-workspace .fe-inspector.has-selection .fe-inspector-art{display:none}
.crm-workspace .fe-inspector h4{font-size:14px;font-weight:600;margin:3px 0 5px;overflow-wrap:anywhere;line-height:1.6}
.crm-workspace .fe-info-kind{font-size:12px;color:#68717e}
.crm-workspace .fe-info-actions{display:flex;align-items:center;gap:10px;margin-top:16px}
.crm-workspace .fe-info-actions button{font-size:12px!important;flex:1;border-radius:10px!important}
.crm-workspace .fe-download{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #e4e8ed;border-radius:10px;color:#526785;background:#fafbfc}
.crm-workspace .fe-properties{margin:23px 0 0;padding-top:18px;border-top:1px solid var(--crm-line)}
.crm-workspace .fe-properties>div{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;margin-bottom:13px;font-size:11px}
.crm-workspace .fe-properties dt{color:#68717e;flex-shrink:0}.crm-workspace .fe-properties dd{margin:0;color:#424e60;text-align:right;overflow-wrap:anywhere}
.crm-workspace .fe-inline-preview{margin-top:22px;min-width:0}
.crm-workspace .fe-inline-preview pre{background:#f6f8fa;color:#566374;border:1px solid #edf0f4;border-radius:12px;max-height:230px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 'Segoe UI','Microsoft YaHei',sans-serif;padding:13px}
.crm-workspace .fe-inline-preview img{max-width:100%;max-height:250px;object-fit:contain;border-radius:10px}
.crm-workspace .fe-preview-placeholder{padding:20px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;border:1px dashed #e0e6ef;border-radius:12px;color:#788698;font-size:11px;text-align:center}
.crm-workspace .fe-empty{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#929daa;font-size:13px}
.crm-workspace .fe-empty>.crm-icon{width:37px;height:37px;stroke-width:1.1;color:#a7b6cc}
.crm-workspace .fe-empty strong{font-weight:400}
.crm-workspace .fe-view-list{overflow-x:auto;border:1px solid var(--crm-line)!important;border-radius:14px!important}
.crm-workspace .fe-list{min-width:630px;border:0!important}.crm-workspace .fe-list th:first-child{width:38px}
.crm-workspace .fe-list td,.crm-workspace .fe-list th{padding:12px 10px!important;font-size:12px!important}
.crm-workspace .fe-list .fe-item-main{background:transparent!important;border:0!important;display:flex;align-items:center;gap:10px;padding:3px!important;color:#414c5c!important;width:100%;min-width:170px;text-align:left}
.crm-workspace .fe-list .fe-entry-name{font-size:13px;white-space:normal;max-width:260px}.crm-workspace .fe-small-icon{color:#7c91b0;display:flex}
.crm-workspace .fe-list tr.is-selected{background:#edf3ff!important}
.crm-workspace .fe-columns{display:flex;min-height:380px;max-height:540px;overflow:auto;border:1px solid var(--crm-line);border-radius:15px;scrollbar-width:thin;scrollbar-color:#cbd3df transparent}
.crm-workspace .fe-column{flex:1 0 205px;min-width:205px;max-width:270px;border-right:1px solid var(--crm-line);display:flex;flex-direction:column;min-height:380px}
.crm-workspace .fe-column:last-child{border:0}.crm-workspace .fe-column>header{padding:13px 14px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#7e8997;border-bottom:1px solid #f0f2f5;min-height:44px}
.crm-workspace .fe-column>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-workspace .fe-column-items{padding:8px;overflow-y:auto;scrollbar-width:thin}
.crm-workspace .fe-column-row{display:flex;align-items:center;gap:4px;border-radius:10px;margin:3px 0;padding:0 7px}
.crm-workspace .fe-column-row:hover{background:#f5f7fa}.crm-workspace .fe-column-row.is-selected,.crm-workspace .fe-column-row.in-path{background:#edf2fb}
.crm-workspace .fe-column-row>.fe-check{width:13px;height:13px}
.crm-workspace .fe-column-item{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:transparent!important;color:#536070!important;border:0!important;padding:10px 3px!important;font-size:13px!important;text-align:left;font-weight:400}
.crm-workspace .fe-column-item span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-workspace .fe-column-item .crm-icon{width:17px;height:17px;color:#8098bd}.crm-workspace .fe-column-item .crm-icon:last-child:not(:first-child){width:12px;height:12px;color:#a5aebc}
.crm-workspace .fe-column .fe-empty{min-height:220px;font-size:12px}
@container (max-width:700px){.crm-workspace .fe-browser{grid-template-columns:minmax(0,1fr)}.crm-workspace .fe-inspector{border-left:0;border-top:1px solid var(--crm-line);padding:22px 0 0;min-height:0}.crm-workspace .fe-inspector:not(.has-selection){display:none}.crm-workspace .fe-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}.crm-workspace .fe-inline-preview pre{max-height:220px}.crm-workspace .fe-inspector-art{display:none}.crm-workspace .fe-info-actions{max-width:260px}}
@media(min-width:761px){
  .crm-workspace.sidebar-collapsed .side{width:76px!important;flex-basis:76px;padding-left:10px!important;padding-right:10px!important}
  .crm-workspace.sidebar-collapsed .side-logo,.crm-workspace.sidebar-collapsed .nav a>span,.crm-workspace.sidebar-collapsed .nav-settings>summary>span,.crm-workspace.sidebar-collapsed .nav-settings>summary::after,.crm-workspace.sidebar-collapsed .account-label,.crm-workspace.sidebar-collapsed .maintenance{display:none!important}
  .crm-workspace.sidebar-collapsed .brand.logo-brand{justify-content:center;padding:0!important}
  .crm-workspace.sidebar-collapsed .nav a,.crm-workspace.sidebar-collapsed .nav-settings>summary{justify-content:center;padding:12px!important}
  .crm-workspace.sidebar-collapsed .nav-settings .nav{margin-left:0;padding-left:0;border:0}
  .crm-workspace.sidebar-collapsed .sidebar-account{flex-direction:column;padding-left:0;padding-right:0}
}
@media(max-width:1100px){.crm-workspace .app{padding:12px;gap:10px}.crm-workspace .main{padding:0 22px 25px!important}.crm-workspace .workspace-app-row{padding:20px!important}.crm-workspace .workspace-app-actions{flex-wrap:wrap}}
@media(max-width:760px){
  .crm-workspace .app{padding:0;gap:0;height:100dvh}.crm-workspace .main{padding:0 18px 24px!important;border:0;border-radius:0;box-shadow:none}
  .crm-workspace .side{inset:10px auto 10px 10px!important;height:calc(100dvh - 20px)!important;transform:translateX(calc(-100% - 12px));border-radius:20px!important;box-shadow:var(--crm-menu-shadow)!important}
  .crm-workspace .sidebar-toggle{display:none}.crm-workspace .brand.logo-brand{justify-content:flex-start}
  .crm-workspace .top{min-height:70px;margin-bottom:22px!important;padding:14px 0!important}.crm-workspace .top h2{font-size:20px}
  .crm-workspace .workspace-apps{grid-template-columns:1fr;gap:12px}.crm-workspace .workspace-app-row{min-height:0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px 14px;padding:18px!important}
  .crm-workspace .workspace-app-actions{grid-column:2;justify-content:flex-start;gap:20px}.crm-workspace .workspace-app-icon{grid-row:1/span 2;align-self:center}
  .crm-workspace .mf-people-panel>summary{min-height:44px}.crm-workspace .mf-people-panel{position:relative;inset:auto;margin-bottom:14px}
  .crm-workspace .mf-people-popover{left:0;right:auto}.crm-workspace .mf-layout:has(.mf-people-panel:not([hidden])) .mf-refresh{padding-left:11px!important}
  .crm-workspace .fe-locationbar{gap:10px}.crm-workspace .fe-locationbar .mf-toolbar{width:100%}
  .crm-workspace .mf-drop-zone{display:none}.crm-workspace .mf-mode-tabs{gap:0;margin-bottom:18px}.crm-workspace .mf-mode-tabs button{padding:9px 11px!important}
  .crm-workspace .fe-tools{gap:12px}.crm-workspace .fe-search{flex-basis:100%;max-width:none}.crm-workspace .fe-search input{min-height:44px}
  .crm-workspace .fe-display-tools{width:100%;justify-content:flex-end;gap:10px}.crm-workspace .fe-display-tools select{margin-right:auto;min-height:44px}
  .crm-workspace .fe-view-switch button,.crm-workspace .fe-info-toggle{min-height:44px;width:44px}
  .crm-workspace .fe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crm-workspace .fe-card .fe-item-main{min-height:185px;padding:18px 14px 15px!important}
  .crm-workspace .fe-card>.fe-check{opacity:1}.crm-workspace .fe-entry-name{font-size:13px}
  .crm-workspace .fe-inspector>header{margin-bottom:12px}.crm-workspace .fe-column{flex-basis:205px;min-width:205px}
  .crm-workspace .fe-info-actions button{min-height:44px}.crm-workspace .fe-download{height:44px;width:44px}
}
@media(prefers-reduced-motion:reduce){.crm-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Personal C: is the existing account root, presented as a permanent drive. */
.crm-workspace .fe-drive-rail[hidden]{display:none}
.crm-workspace .mf-disk-workspace .fe-browser{grid-template-columns:190px minmax(0,1fr) 235px;gap:0;align-items:stretch;min-height:380px;background:#fafafa;border-radius:12px;overflow:hidden}
.crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:190px minmax(0,1fr)}
.crm-workspace .mf-disk-workspace .fe-drive-rail{padding:12px 12px 12px 0;border-right:1px solid #e7e7e9;min-width:0}
.crm-workspace .fe-drive-link{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;text-align:left;padding:10px 12px!important;border:0!important;border-radius:9px!important;background:#ededef!important;color:#283747!important;font-weight:400;font-size:13px!important}
.crm-workspace .fe-drive-link>span{flex:1;white-space:nowrap}
.crm-workspace .fe-drive-link>.crm-icon{width:12px;height:12px;color:#8d959f;flex-shrink:0}
.crm-workspace .mf-disk-workspace .mf-head{display:none}
.crm-workspace .mf-disk-workspace .mf-breadcrumb{gap:5px}
.crm-workspace .mf-disk-workspace .mf-breadcrumb button{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:400}
.crm-workspace .mf-disk-workspace .mf-breadcrumb button.active{font-weight:500}
.crm-workspace .mf-breadcrumb .fe-back{min-width:34px;min-height:34px;justify-content:center;padding:6px!important;margin-right:3px}
.crm-workspace .mf-breadcrumb .fe-back:disabled{opacity:.3;cursor:default}
.crm-workspace .fe-read-only{font-size:12px;color:#657184;padding:4px 9px;border-radius:6px;background:#f0f2f5;margin-left:5px}
.crm-workspace .mf-disk-workspace .mf-summary{margin-bottom:12px}
.crm-workspace .mf-disk-workspace .fe-tools{margin-bottom:15px}
.crm-workspace .mf-disk-workspace .fe-entries{padding:0 12px;min-height:380px;background:transparent}
.crm-workspace .mf-disk-workspace .fe-view-columns{padding:0}
.crm-workspace .mf-disk-workspace .fe-columns{min-height:380px;height:clamp(380px,calc(100dvh - 345px),680px);max-height:680px;border:0;border-radius:0;background:transparent;scrollbar-gutter:stable}
.crm-workspace .mf-disk-workspace .fe-column{flex:0 0 280px;min-width:240px;max-width:320px;border-right:1px solid #e7e7e9}
.crm-workspace .mf-disk-workspace .fe-column:last-child{border-right:1px solid #e7e7e9}
.crm-workspace .mf-disk-workspace .fe-column>header{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;min-height:0}
.crm-workspace .mf-disk-workspace .fe-column-items{padding:12px;min-height:0}
.crm-workspace .mf-disk-workspace .fe-column-row{position:relative;min-height:48px;margin:0 0 7px;padding:0 8px;gap:0;border-radius:9px}
.crm-workspace .mf-disk-workspace .fe-column-row:hover{background:#f0f0f2}
.crm-workspace .mf-disk-workspace .fe-column-row.in-path,.crm-workspace .mf-disk-workspace .fe-column-row.is-selected{background:#e9edf4}
.crm-workspace .mf-disk-workspace .fe-column-item{min-height:48px;gap:12px;padding:8px 0!important;color:#263544!important;font-size:14px!important}
.crm-workspace .mf-disk-workspace .fe-column-item>.crm-icon:first-child{width:25px;height:25px;color:#8a9baa}
.crm-workspace .mf-disk-workspace .fe-column-item>.crm-icon:last-child:not(:first-child){width:12px;height:12px;color:#aeb4bd}
.crm-workspace .mf-disk-workspace .fe-column-row>.fe-check{position:absolute;left:-2px;top:17px;width:14px;height:14px;z-index:2;opacity:0}
.crm-workspace .mf-disk-workspace .fe-column-row:hover>.fe-check,.crm-workspace .mf-disk-workspace .fe-column-row:focus-within>.fe-check,.crm-workspace .mf-disk-workspace .fe-column-row.is-selected>.fe-check{opacity:1}
.crm-workspace .mf-disk-workspace .fe-column-row:has(.fe-check) .fe-column-item{padding-left:12px!important}
.crm-workspace .mf-disk-workspace .fe-inspector{padding:17px 18px;background:#fff;border-left:1px solid #e7e7e9}
.crm-workspace .mf-disk-workspace .fe-inspector>header{margin-bottom:18px}
.crm-workspace .mf-disk-workspace .fe-grid{padding:12px 0}
.crm-workspace .mf-disk-workspace .fe-view-list{border:0!important;border-radius:0!important;padding:0 12px}
@container (max-width:850px){
  .crm-workspace .mf-disk-workspace .fe-browser,.crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:170px minmax(0,1fr)}
  .crm-workspace .mf-disk-workspace .fe-inspector{grid-column:1/-1;border-left:0;border-top:1px solid #e7e7e9}
  .crm-workspace .mf-disk-workspace .fe-column{flex-basis:260px;min-width:225px}
}
@container (max-width:560px){
  .crm-workspace .mf-disk-workspace .fe-browser,.crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:minmax(0,1fr)}
  .crm-workspace .mf-disk-workspace .fe-drive-rail{padding:10px;border-right:0;border-bottom:1px solid #e7e7e9}
  .crm-workspace .mf-disk-workspace .fe-drive-link{width:max-content;min-width:185px}
  .crm-workspace .mf-disk-workspace .fe-column{flex-basis:100%;min-width:0;max-width:none}
  .crm-workspace .mf-disk-workspace .fe-column-row>.fe-check{opacity:1}
  .crm-workspace .mf-disk-workspace .fe-columns{height:360px;min-height:360px}
  .crm-workspace .mf-disk-workspace .fe-column-item{min-height:48px}
}

/* Use the actual Shell bitmaps without recoloring, artificial paper frames or tilt. */
.crm-workspace .fe-native-icon{display:inline-block;width:16px;height:16px;min-width:16px;flex:0 0 16px;object-fit:contain;vertical-align:middle;border:0;border-radius:0;box-shadow:none;filter:none;transform:none}
.crm-workspace .fe-native-art{display:flex;align-items:center;justify-content:center;align-self:center;width:96px;height:96px;margin:0 auto 14px;flex-shrink:0}
.crm-workspace .fe-native-large{width:88px;height:88px;min-width:88px;flex-basis:88px}
.crm-workspace .fe-inspector-art .fe-native-art{margin-bottom:12px}
.crm-workspace .mf-disk-workspace .fe-column-item>.fe-native-icon{margin-right:2px}
.crm-workspace .fe-drive-link>.fe-native-icon{margin-right:2px}
/* Windows-style navigation and working file commands. */
.crm-workspace .mf-disk-workspace .fe-locationbar{margin:10px 0 14px;display:block}
.crm-workspace .mf-disk-workspace #mfToolbar{display:none}
.crm-workspace .mf-disk-workspace .mf-breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;width:100%;min-width:0}
.crm-workspace .fe-history{display:flex;gap:3px;flex-shrink:0}
.crm-workspace .fe-history button{display:flex;align-items:center;justify-content:center;width:33px;height:36px;padding:6px!important;background:transparent!important;border:0!important;color:#556170!important;border-radius:6px!important}
.crm-workspace .fe-history button:disabled,.crm-workspace .fe-commandbar button:disabled{opacity:.32;cursor:default}
.crm-workspace .fe-address{display:flex;align-items:center;gap:7px;min-width:100px;flex:1;overflow-x:auto;background:#f7f8fa;border:1px solid #edf0f3;border-radius:7px;padding:3px 10px;white-space:nowrap;min-height:40px}
.crm-workspace .fe-address button{flex-shrink:0;display:flex;align-items:center;gap:9px;font-size:13px!important;color:#233248!important}
.crm-workspace .mf-breadcrumb .fe-search{flex:0 1 250px;min-width:150px;margin:0;min-height:40px}
.crm-workspace .mf-breadcrumb .fe-search input{min-height:38px;font-size:13px!important}
.crm-workspace .fe-commandbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3;padding:11px 0;margin-bottom:14px}
.crm-workspace .fe-commandbar>.action-menu>summary{display:flex;align-items:center;gap:8px;min-height:36px;border:0!important;background:transparent!important;padding:6px 10px!important;border-radius:6px!important}
.crm-workspace .fe-commandbar .action-menu-items{min-width:180px;z-index:25}
.crm-workspace .fe-commandbar .action-menu-items button{display:flex;align-items:center;gap:9px}
.crm-workspace .fe-commandbar .crm-icon,.crm-workspace .fe-history .crm-icon{width:18px;height:18px;flex-shrink:0}
.crm-workspace .fe-commandbar .fe-command{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:8px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#536477!important;box-shadow:none!important}
.crm-workspace .fe-commandbar .fe-command:hover:not(:disabled),.crm-workspace .fe-history button:hover:not(:disabled),.crm-workspace .fe-commandbar>.action-menu>summary:hover{background:#edf1f7!important}
.crm-workspace .fe-command-divider{height:22px;border-left:1px solid #e3e7ed;margin:0 5px}
.crm-workspace .fe-commandbar .fe-sort-control{display:flex!important;flex-direction:row;align-items:center;gap:3px;margin:0}
.crm-workspace .fe-sort-control select{border:0!important;background:transparent!important;font-size:13px;padding:7px 4px!important;width:auto!important;min-height:36px}
.crm-workspace .fe-commandbar .fe-info-toggle{width:auto;min-width:74px;gap:8px;margin-left:auto;padding:7px 9px!important;color:#526479!important;white-space:nowrap}
.crm-workspace .fe-commandbar .fe-info-toggle.active{background:#edf2ff!important;color:#4267df!important}
.crm-workspace .fe-operation-status{font-size:12px;color:#5472ac;margin:-4px 0 12px}
.crm-workspace .fe-operation-status:empty{display:none}
.crm-workspace [data-fe-id].is-cut .fe-native-icon,.crm-workspace [data-fe-id].is-cut .fe-entry-name,.crm-workspace [data-fe-id].is-cut .fe-column-item{opacity:.45}
.crm-workspace .fe-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.crm-workspace .mf-disk-workspace .fe-browser{grid-template-columns:170px minmax(0,1fr) 300px}
.crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:170px minmax(0,1fr)}
.crm-workspace .fe-inline-preview iframe{width:100%;height:410px;border:1px solid #e5e9ef;border-radius:5px;background:#f9fafb}
.crm-workspace .fe-inline-preview video,.crm-workspace .fe-inline-preview audio{width:100%;max-height:320px}
.crm-workspace .fe-no-preview{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:330px;color:#8b929b;font-size:13px;text-align:center;line-height:1.8}
.crm-workspace .fe-no-preview span{font-size:12px;color:#969da6}
.crm-workspace .mf-disk-workspace .fe-inspector:not(.has-selection){display:block}
.crm-workspace .mf-disk-workspace .fe-inspector[hidden]{display:none}
.crm-workspace .fe-inline-preview{margin:16px 0}
.crm-workspace .fe-inline-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}
@container (max-width:950px){
 .crm-workspace .mf-disk-workspace .fe-browser{grid-template-columns:150px minmax(0,1fr) 250px}
 .crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:150px minmax(0,1fr)}
 .crm-workspace .fe-commandbar{gap:3px}.crm-workspace .fe-command-divider{margin:0 2px}
}
@container (max-width:700px){
 .crm-workspace .mf-disk-workspace .mf-breadcrumb{flex-wrap:wrap}.crm-workspace .mf-breadcrumb .fe-search{flex-basis:100%;max-width:none}
 .crm-workspace .mf-disk-workspace .fe-browser,.crm-workspace .mf-disk-workspace .fe-browser.details-hidden{grid-template-columns:minmax(0,1fr)}
 .crm-workspace .mf-disk-workspace .fe-drive-rail{border-right:0;border-bottom:1px solid #e7e7e9}
 .crm-workspace .mf-disk-workspace .fe-inspector{grid-column:1/-1;border-left:0;border-top:1px solid #e7e7e9}
 .crm-workspace .fe-history{gap:0}.crm-workspace .fe-address{padding:3px 6px}
 .crm-workspace .fe-commandbar .fe-command{height:42px;width:38px}.crm-workspace .fe-commandbar .fe-command-divider{display:none}
 .crm-workspace .fe-commandbar .fe-info-toggle{min-height:42px}.crm-workspace .fe-no-preview{min-height:170px}
}
.crm-workspace .fe-dialog{border:1px solid #e2e7ee;border-radius:14px;padding:24px;width:min(420px,calc(100vw - 32px));color:#243248;box-shadow:0 18px 70px #142b5030;background:#fff}
.crm-workspace .fe-dialog::backdrop{background:#142b5040}
.crm-workspace .fe-dialog h3{margin:0 0 20px;font-size:17px}
.crm-workspace .fe-dialog p{white-space:pre-wrap;line-height:1.7;font-size:14px}
.crm-workspace .fe-dialog input{width:100%;font-size:14px;padding:11px;border:1px solid #cfd8e5;border-radius:7px}
.crm-workspace .fe-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.crm-workspace .fe-dialog-actions button{min-width:74px}
.crm-workspace .fe-notification{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;background:#263447;color:#fff;box-shadow:0 6px 25px #15233720;display:flex;align-items:center;gap:22px;padding:13px 18px;border-radius:9px;font-size:14px;max-width:calc(100vw - 32px)}
.crm-workspace .fe-notification button{background:transparent!important;color:white!important;border:0!important;padding:0!important;display:flex;flex-shrink:0}
.crm-workspace .fe-commandbar>.action-menu:first-of-type>.action-menu-items{left:0;right:auto}
