/* Cloud workspace: local assets, accessible controls and responsive explorer. */
:root{--drive-ink:#1f1f1f;--drive-blue:#0b57d0;--drive-background:#f8fafd;--drive-selected:#c2e7ff;--drive-line:#e1e5ea}
[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.drive-shell{background:var(--drive-background);color:var(--drive-ink);font-family:"Segoe UI",Arial,sans-serif;font-size:14px}.drive-shell a{color:var(--drive-blue)}.drive-shell .sidebar{width:246px;padding:22px 12px;border:0;background:var(--drive-background)}.drive-shell .brand{padding:0 14px;font-size:25px;font-weight:500;gap:12px;display:flex;align-items:center;margin-bottom:25px;color:#444746}.brand svg{width:36px;height:36px;color:#4285f4}.new-button{display:flex;align-items:center;gap:12px;background:#fff;border:0;box-shadow:0 2px 5px #0002;padding:16px 23px;border-radius:16px;font-size:15px;font-weight:600;margin:0 0 23px 4px}.new-button span{font-size:28px;font-weight:400;line-height:1}.new-button:hover{background:#edf2fa;box-shadow:0 3px 8px #0002}.drive-shell .sidebar nav a{display:flex;align-items:center;gap:14px;border-radius:24px;padding:11px 17px;color:#444746;font-weight:500;margin:1px 0}.drive-shell .sidebar nav a:hover{background:#e8edf4}.drive-shell .sidebar nav a.active{background:var(--drive-selected);color:#001d35;font-weight:600}.nav-label{display:block;font-size:10px;letter-spacing:1.5px;color:#73777d;padding:8px 17px}.nav-divider{border-top:1px solid var(--drive-line);margin:18px 15px 7px}.new-menu,.context-menu{background:#fff;border:1px solid var(--drive-line);border-radius:10px;box-shadow:0 6px 24px #0002;padding:6px;z-index:1100}.new-menu{position:absolute;top:115px;left:17px;min-width:205px}.new-menu button,.menu-action{display:block;width:100%;text-align:left;border:0;background:none;padding:11px 14px;border-radius:6px;color:var(--drive-ink);font-size:14px}.new-menu button:hover,.menu-action:hover{background:#edf2fa}.menu-action:disabled{color:#9aa0a6;cursor:not-allowed}.context-menu{position:fixed;width:230px}.drive-shell .sidebar-footer{font-size:13px;padding:14px 18px;border:0;color:#5f6368}.drive-shell .workspace{margin-left:246px}.drive-shell .topbar{background:var(--drive-background);height:84px;padding:12px 25px 12px 12px;border:0;gap:16px}.drive-search{display:flex;align-items:center;gap:14px;border-radius:28px;background:#eaf1fb;padding:0 15px;flex:1;max-width:740px;height:52px}.drive-search:focus-within{background:white;box-shadow:0 1px 5px #0002}.drive-search input{border:0;background:transparent;outline:0;min-width:0;width:100%;font-size:16px;color:#444746}.drive-search svg{color:#444746}.drive-shell .user-menu{gap:12px;margin-left:auto}.user-avatar{display:grid;place-items:center;background:#0b57d0;color:#fff;border-radius:50%;width:34px;height:34px;font-weight:600}.icon-button{border:0;background:none;border-radius:50%;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:#444746;font-size:20px;flex-shrink:0}.icon-button:hover{background:#e6ebf2}.drive-shell .main-content{margin:0 18px 20px 0;padding:27px 28px 40px;max-width:none;background:#fff;border-radius:22px;min-height:calc(100vh - 104px)}.drive-shell .page-heading{margin-bottom:22px}.drive-shell h1{font-size:25px;font-weight:400;letter-spacing:0}.drive-shell h2{font-size:18px;font-weight:500}.drive-shell h3{font-weight:500}.drive-shell .btn{border-radius:22px;font-size:13px;font-weight:500;padding:8px 16px}.drive-shell .btn-primary{background:var(--drive-blue);border-color:var(--drive-blue)}.drive-shell .btn-outline-secondary{border-color:#c4c7c5;color:#444746}.drive-shell .panel{box-shadow:none;border-color:var(--drive-line);border-radius:14px}.drive-shell .welcome-banner{background:#eaf1fb;color:#1f1f1f;border-radius:14px}.drive-shell .welcome-banner h2{color:#1f1f1f;font-size:23px}.drive-shell .welcome-banner p{color:#5f6368}.drive-shell .metric{border:1px solid var(--drive-line);box-shadow:none}.drive-shell .file-preview img{object-fit:contain}.drive-shell .file-card{box-shadow:none;border:1px solid var(--drive-line)}.drive-shell .file-info h3{font-size:14px}.drive-shell .file-info p,.drive-shell .file-meta small{font-size:12px}.skip-link{position:fixed;left:15px;top:-60px;padding:12px;background:#fff;z-index:4000}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #1a73e8;outline-offset:3px}
.explorer-location{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:22px}.company-select{font-size:12px;color:#5f6368;min-width:215px}.company-select select{margin-top:5px;font-size:14px;max-width:310px}.breadcrumbs{display:flex;gap:10px;align-items:center;flex:1;flex-wrap:wrap;font-size:15px}.breadcrumbs a{text-decoration:none;color:#444746}.location-actions{display:flex;gap:7px;flex-wrap:wrap}.explorer-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.explorer-filters label{font-size:11px;color:#5f6368}.explorer-filters select,.explorer-filters input{font-size:12px;margin-top:5px;border-radius:9px}.explorer-filters select{min-width:130px}.explorer-filters input[type=date]{width:140px}.explorer-filters #view-toggle{margin-left:auto;border:1px solid #c4c7c5}.drive-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:22px}.drive-folder{display:flex;align-items:center;gap:14px;padding:18px;border-radius:12px;background:#f0f4f9;color:#444746!important;text-decoration:none;min-width:0}.drive-folder span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-folder:hover{background:#e2e8f0}.drive-folder small{font-size:11px;margin-left:auto}.listing-summary{font-size:12px;color:#5f6368;margin:18px 0 12px}.drive-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:16px}.drive-file{min-width:0;position:relative;background:#f0f4f9;border:1px solid transparent;border-radius:12px;cursor:default;overflow:hidden}.drive-file:hover{background:#e4eaf2}.drive-file.selected{background:#c2e7ff;border-color:#a8c7fa}.drive-card-head{display:flex;gap:7px;align-items:center;padding:7px 10px}.drive-file-name{display:flex;align-items:center;gap:9px;min-width:0;flex:1;font-size:13px;font-weight:500}.drive-file-name span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-name svg{width:18px;height:18px;color:#5f6368}.favorite-mark{color:#b57d00;flex-shrink:0}.drive-thumbnail{height:180px;margin:0 10px;background:#fff;border-radius:7px;display:flex;justify-content:center;align-items:center;overflow:hidden}.drive-thumbnail img{width:100%;height:100%;object-fit:contain}.drive-thumbnail svg{width:45px;height:45px;color:#9aa0a6}.drive-file-grid .file-location{display:block;padding:10px 12px 0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5f6368}.file-status{font-size:11px;color:#5f6368}.drive-file-grid .file-status{display:block;padding:4px 12px 12px}.file-status.failed{color:#b3261e}.file-status.completed{color:#137333}.drive-file input[type=checkbox]{width:16px;height:16px;accent-color:var(--drive-blue);flex-shrink:0;cursor:pointer}.drive-file-list .drive-file,.file-table-heading{display:grid;grid-template-columns:24px minmax(180px,2fr) minmax(120px,1.4fr) 90px 140px minmax(100px,1fr) 36px;align-items:center;gap:12px;padding:10px 14px;border-radius:0;background:#fff;border-bottom:1px solid var(--drive-line);min-height:54px}.drive-file-list .drive-file:hover{background:#f0f4f9}.drive-file-list .drive-file.selected{background:#c2e7ff}.file-table-heading{font-size:12px;color:#5f6368;font-weight:600;min-height:42px}.drive-file-list .file-location{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#5f6368}.file-size,.file-date{font-size:12px;color:#5f6368}.drive-empty{padding:65px 15px;text-align:center;grid-column:1/-1;color:#5f6368}.drive-empty svg{width:70px;height:70px;color:#b0bdcb;margin-bottom:20px}.drive-empty h2{color:#444746}.selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#c2e7ff;border-radius:12px;padding:10px 14px;margin-bottom:16px;position:sticky;top:10px;z-index:20}.selection-toolbar label{font-size:12px;display:flex;gap:6px;align-items:center}.selection-toolbar strong{font-size:12px}.selection-toolbar #bulk-actions{display:flex;gap:6px;flex-wrap:wrap;flex:1}.selection-toolbar .btn{padding:6px 11px;font-size:12px;background:#fff8}.drive-shell .pagination-actions{justify-content:center;align-items:center;gap:20px;margin-top:28px}
.action-dialog{border:0;border-radius:24px;padding:28px;width:440px;max-width:calc(100vw - 24px);box-shadow:0 10px 40px #0004}.action-dialog::backdrop{background:#0005}.action-dialog h2{font-size:22px;margin-bottom:20px}.action-dialog label{font-size:14px;width:100%}.action-dialog .form-control{margin-top:10px}.dialog-actions{display:flex;gap:10px;justify-content:end;margin-top:25px}.preview-dialog{border:0;padding:0;max-width:none;max-height:none;width:100vw;height:100dvh;background:#171a1d;color:#fff;border-radius:0;overflow:hidden}.preview-dialog::backdrop{background:#171a1d}.preview-dialog header{height:66px;display:flex;align-items:center;gap:12px;padding:10px 20px;background:#24272a}.preview-dialog header h2{font-size:15px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;color:#fff}.preview-dialog .icon-button,.preview-dialog .btn{color:#fff}.preview-dialog .icon-button:hover{background:#ffffff25}.preview-content{display:flex;height:calc(100dvh - 118px);align-items:center;gap:12px;padding:12px}.preview-arrow{display:grid;place-items:center;padding:0;line-height:1;border:0;background:#ffffff20;border-radius:50%;color:#fff;flex-shrink:0;width:45px;height:45px}.preview-arrow svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.preview-arrow:disabled{opacity:.3}.preview-dialog footer{height:52px;display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px}.preview-content #preview-media{flex:1;min-width:0;height:100%;display:flex;justify-content:center;align-items:center;overflow:auto}.preview-content img,.preview-content video{max-width:100%;max-height:100%;object-fit:contain}.preview-content .zoomed img{max-width:none;max-height:none}.preview-state{font-size:20px;text-align:center}.preview-content aside{align-self:stretch;width:330px;background:#fff;color:#1f1f1f;border-radius:10px;padding:22px;overflow:auto;flex-shrink:0}.preview-content aside h3{font-size:19px;margin-bottom:22px}.preview-content aside dd{overflow-wrap:anywhere}.preview-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.transfer-tray{position:fixed;right:25px;bottom:0;width:420px;max-width:calc(100vw - 20px);max-height:75dvh;overflow:auto;background:#fff;border-radius:14px 14px 0 0;border:1px solid var(--drive-line);box-shadow:0 5px 35px #0003;z-index:70}.transfer-tray>header{position:sticky;top:0;z-index:1;background:#eaf1fb;display:flex;align-items:center;justify-content:space-between;padding:10px 16px}.upload-context{padding:15px;border-bottom:1px solid var(--drive-line)}.upload-context summary{font-size:13px;font-weight:500;overflow-wrap:anywhere}.admin-upload-app{padding-top:16px}.admin-upload-app .dropzone{padding:20px;border-radius:12px}.admin-upload-app .dropzone p{margin-bottom:10px}.admin-upload-app .upload-toolbar{flex-wrap:wrap}.admin-upload-app .upload-item{grid-template-columns:18px minmax(0,1fr) auto;padding:10px 0}.admin-upload-app .upload-item .btn{font-size:11px;padding:6px 10px}.admin-upload-app .upload-file-name{font-size:12px}.admin-upload-app .upload-file-status{font-size:11px}.admin-upload-app h3{font-size:14px}.export-section{padding:15px}.export-section h2{font-size:14px}.export-row{padding:14px 0;border-top:1px solid var(--drive-line)}.export-row strong{font-size:12px}.export-row p,.export-row small{font-size:11px;display:block;margin:7px 0}.toast-message{z-index:3500;max-width:calc(100vw - 24px)}
@media(max-width:1200px){.drive-shell .sidebar{width:210px}.drive-shell .workspace{margin-left:210px}.drive-file-list .drive-file,.file-table-heading{grid-template-columns:24px minmax(150px,2fr) 100px 85px minmax(90px,1fr) 36px}.drive-file-list .file-date{display:none}.drive-shell .main-content{padding:24px 20px}}
@media(max-width:800px){.drive-shell .sidebar{width:225px;transform:translateX(-100%);box-shadow:0 0 30px #0002;z-index:100}.drive-shell.menu-open .sidebar{transform:none}.drive-shell .workspace{margin-left:0}.drive-shell .menu-toggle{display:inline-flex}.drive-shell .topbar{padding:10px 12px;height:74px;gap:7px}.drive-search{height:46px}.drive-shell .main-content{margin:0 8px 12px;padding:20px 15px;min-height:calc(100dvh - 86px)}.drive-shell .user-menu{gap:3px}.user-avatar{display:none}.drive-shell .user-menu .btn{padding:7px 10px}.explorer-location{gap:12px}.company-select{width:100%}.company-select select{max-width:none}.breadcrumbs{font-size:13px}.explorer-filters{gap:8px}.explorer-filters label{flex:1;min-width:110px}.explorer-filters input[type=date]{width:100%}.explorer-filters select{min-width:0}.drive-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.drive-thumbnail{height:145px;margin:0 7px}.drive-file-name svg{display:none}.drive-card-head{padding:4px 7px;gap:5px}.drive-file-name{font-size:12px}.drive-card-head .icon-button{width:30px;height:35px}.drive-file-grid .file-location{font-size:10px}.drive-file-list .drive-file,.file-table-heading{grid-template-columns:22px minmax(110px,1fr) 75px 32px;gap:8px}.drive-file-list .file-location,.drive-file-list .file-status,.file-table-heading .file-location,.file-table-heading .file-status{display:none}.selection-toolbar{position:sticky;top:5px;padding:10px}.selection-toolbar #bulk-actions{width:100%;flex-basis:100%}.selection-toolbar .btn{min-height:36px}.preview-content{padding:7px;gap:6px}.preview-arrow{width:44px;height:44px}.preview-content aside{position:absolute;right:8px;top:70px;bottom:58px;width:min(330px,calc(100vw - 16px));box-shadow:0 0 30px #0005}.preview-dialog header{padding:8px}.preview-dialog header .btn{padding:7px 12px}.transfer-tray{right:10px;width:400px}.drive-search input{font-size:14px}.drive-folders{grid-template-columns:repeat(2,minmax(0,1fr))}.drive-folder{padding:14px 10px;font-size:12px}.drive-folder small{display:none}.drive-empty{padding:40px 10px}.drive-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:801px){.drive-shell .menu-toggle{display:none}}
.drive-shell .topbar{position:sticky;top:0;z-index:25}.drive-shell .sidebar nav{margin-top:0;gap:0}

.public-shell{background:var(--drive-background);color:var(--drive-ink);font-family:"Segoe UI",Arial,sans-serif}.public-brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:500}.public-brand svg{color:#4285f4;width:30px;height:30px}.public-shell .upload-card{border:1px solid var(--drive-line);box-shadow:0 3px 18px #00000006;border-radius:24px}.public-shell .btn{border-radius:24px}.public-shell .btn-primary{background:var(--drive-blue);border-color:var(--drive-blue)}.public-shell .upload-file-status{font-size:12px}

/* Folder hierarchy and opt-in file selection. */
.new-button{flex-direction:row;flex-wrap:nowrap;white-space:nowrap;align-items:center}.new-button svg{display:block;width:24px;height:24px;flex:0 0 24px}.new-button .new-label{font-size:15px;font-weight:600;line-height:24px}
.drive-file{-webkit-user-select:none;user-select:none}.drive-file img{-webkit-user-drag:none}.drive-directory .drive-file-name svg{color:#5f6368;width:24px;height:24px;flex-shrink:0}.drive-file-grid .drive-directory .drive-card-head{padding:14px 12px 6px}.drive-file-grid .drive-directory .file-location{padding-top:4px}
.drive-file-list:not(.selection-mode) .drive-file,.drive-file-list:not(.selection-mode) .file-table-heading{grid-template-columns:minmax(180px,2fr) minmax(120px,1.4fr) 90px 140px minmax(100px,1fr) 36px}
@media(max-width:1200px){.drive-file-list:not(.selection-mode) .drive-file,.drive-file-list:not(.selection-mode) .file-table-heading{grid-template-columns:minmax(150px,2fr) 100px 85px minmax(90px,1fr) 36px}}
.file-table-heading .file-date{display:block}
@media(max-width:1200px){.file-table-heading .file-date{display:none}}
@media(max-width:800px){.drive-file-list:not(.selection-mode) .drive-file,.drive-file-list:not(.selection-mode) .file-table-heading{grid-template-columns:minmax(100px,1fr) 70px 32px}.file-table-heading .file-date,.file-table-heading .file-location,.file-table-heading .file-status{display:none!important}.file-table-heading .file-size{display:block!important}.drive-directory .drive-file-name svg{display:block}.drive-directory .drive-card-head{min-height:60px}}

/* Compact command area: hidden controls never reserve vertical space. */
.main-content:has(#explorer) .page-heading{margin-bottom:12px}.explorer-location{gap:12px;margin-bottom:12px}.explorer-command-area{margin-bottom:14px;min-width:0}
.explorer-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;min-width:0}.explorer-filters label{margin:0}.filter-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.explorer-filters select,.explorer-filters input{margin-top:0}.explorer-filters .filter-chip select{min-width:0;width:auto;max-width:170px;height:40px;border-radius:8px;border-color:#c4c7c5;padding-left:12px;color:#444746;background-color:#fff;font-size:13px}.explorer-filters .filter-chip{margin:0}.explorer-filters button{min-height:40px}.explorer-filters button.filter-chip{border-radius:8px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.explorer-filters .filter-active{background-color:#e8f0fe!important;border-color:#a8c7fa!important;color:#174ea6!important}
.command-utils{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto;min-width:0}.listing-summary{margin:0;font-size:12px;color:#5f6368;max-width:220px;overflow-wrap:anywhere}.explorer-filters .sort-control{min-width:0;flex:0 0 auto}.explorer-filters .sort-control select{min-width:0;width:134px;height:40px;font-size:12px;border-radius:8px}.explorer-filters #clear-filters{font-size:12px}.mobile-filters{display:none}.view-switch{display:inline-flex;align-items:center;border:1px solid #c4c7c5;border-radius:22px;flex:0 0 auto;overflow:visible}.view-switch .icon-button{width:40px;height:40px;min-height:40px;border-radius:20px}.view-switch .icon-button[aria-pressed=true]{background:#d3e3fd;color:#174ea6}.view-switch .icon-button svg{width:20px;height:20px}
.selection-toolbar{position:static;min-height:40px;margin:0;padding:4px 12px;gap:8px;box-shadow:none}.selection-toolbar[hidden]{display:none!important}.selection-toolbar label{min-height:40px;margin:0;white-space:nowrap}.selection-toolbar #bulk-actions{margin-left:auto;flex:0 1 auto;gap:8px;align-items:center;min-width:0}.bulk-primary{display:flex;align-items:center;gap:6px}.selection-toolbar .btn{min-height:40px;white-space:nowrap}.selection-toolbar strong{white-space:nowrap}.selection-toolbar #clear-selection{background:transparent;border-color:#a8c7fa}.select-page-label input{width:16px;height:16px;accent-color:var(--drive-blue)}
.drive-file-list .drive-file{min-height:48px;padding-top:3px;padding-bottom:3px}.file-table-heading{min-height:40px;padding-top:6px;padding-bottom:6px}.drive-file{scroll-margin-block-start:100px}.drive-file-grid .drive-thumbnail img{object-fit:contain}
.filter-dialog fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}.filter-dialog #filter-media,.filter-dialog .period-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.filter-dialog legend{font-size:13px;margin-bottom:8px}.filter-dialog .form-select,.filter-dialog .form-control{margin-top:6px;min-height:40px}.filter-dialog .dialog-actions{margin-top:12px}.filter-dialog .dialog-actions button{min-height:40px}.filter-dialog h2{margin-bottom:16px}
@media(max-width:1100px){.bulk-primary{display:none}.command-utils{margin-left:0;flex:1}.command-utils .listing-summary{margin-right:auto}}
@media(max-width:800px){.main-content:has(#explorer) .page-heading{margin-bottom:12px}.explorer-location{gap:8px;margin-bottom:12px}.company-select select{height:44px}.breadcrumbs{gap:6px}.location-actions .btn{min-height:44px;display:inline-flex;align-items:center}.explorer-filters .filter-controls{display:none}.mobile-filters{display:inline-flex;align-items:center}.explorer-filters button{min-height:44px}.command-utils{flex:1 1 100%;gap:8px}.explorer-filters .sort-control select{height:44px;width:128px}.view-switch .icon-button{width:44px;height:44px;min-height:44px}.selection-toolbar{position:static;min-height:44px;gap:6px 8px;padding:8px 10px;box-shadow:none}.selection-toolbar .select-page-label{min-height:44px}.selection-toolbar .btn{min-height:44px}.selection-toolbar #bulk-actions{width:auto;flex-basis:auto;margin-left:auto}.selection-toolbar #clear-selection{margin-left:auto}.drive-card-head .icon-button{width:44px;height:44px}.drive-file-list .drive-file,.drive-file-list:not(.selection-mode) .drive-file{grid-template-columns:minmax(90px,1fr) 60px 44px;gap:6px;padding:6px 8px}.drive-file-list.selection-mode .drive-file{grid-template-columns:22px minmax(80px,1fr) 60px 44px}.drive-file-list .icon-button{width:44px;height:44px}.file-table-heading{padding:6px 8px;gap:6px}.drive-file-list:not(.selection-mode) .file-table-heading{grid-template-columns:minmax(90px,1fr) 60px 44px}.drive-file-list.selection-mode .file-table-heading{grid-template-columns:22px minmax(80px,1fr) 60px 44px}.filter-dialog{max-height:calc(100dvh - 24px);overflow:auto;padding:22px}.filter-dialog .form-select,.filter-dialog .form-control,.filter-dialog .dialog-actions button{min-height:44px}.drive-file{scroll-margin-block-start:90px}}

/* The label has its own row; controls share their vertical center. */
.explorer-location{display:grid;grid-template-columns:215px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:4px 12px}
.company-label{grid-column:1;grid-row:1;font-size:12px;line-height:16px;color:#5f6368;margin:0}
.explorer-location>.company-select{grid-column:1;grid-row:2;min-width:0;max-width:none;width:100%;height:44px;min-height:44px;margin:0;font-size:14px;color:var(--drive-ink)}
.explorer-location>.breadcrumbs{grid-column:2;grid-row:2;min-width:0;min-height:44px;margin:0;overflow-wrap:anywhere;font-size:14px;line-height:20px;gap:6px}
.explorer-location>.location-actions{grid-column:3;grid-row:2;min-width:0;align-items:center}
.location-actions .btn{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;white-space:nowrap}
.location-actions:empty{display:none}
@media(max-width:1100px){.explorer-location{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;row-gap:8px}.company-label{grid-column:1;grid-row:1}.explorer-location>.company-select{grid-column:1;grid-row:2;max-width:310px}.explorer-location>.breadcrumbs{grid-column:1;grid-row:3;min-height:0}.explorer-location>.location-actions{grid-column:1;grid-row:4;flex-wrap:wrap}}
@media(max-width:800px){.explorer-location>.company-select{max-width:none}.location-actions .btn{max-width:100%;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere}}

/* The home collection uses the same file interactions, with fewer controls. */
.dashboard-recent-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:44px}
.dashboard-recent-controls h2{font-size:19px;margin:0}.dashboard-recent-actions{display:flex;align-items:center;gap:16px}.dashboard-recent-actions .btn{min-height:40px}
#explorer[data-context=dashboard] .selection-toolbar strong{white-space:normal;overflow-wrap:anywhere}
#explorer[data-context=dashboard] .drive-empty{grid-column:1/-1}
@media(max-width:800px){.dashboard-recent-actions .btn,.dashboard-recent-actions a{min-height:44px;display:inline-flex;align-items:center}#explorer[data-context=dashboard] .select-page-label{white-space:normal}#explorer[data-context=dashboard] .selection-toolbar strong{font-size:13px}}
/* WhatsApp member destinations: readable rows and touch-friendly actions. */
.wa-member-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.3fr) auto;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e2e7ee;scroll-margin-top:90px}
.wa-member-row:last-child{border-bottom:0}
.wa-member-identity,.wa-member-destination{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.wa-member-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wa-member-actions form{margin:0}
.wa-member-actions .btn,#wa-binding-dialog .btn{min-height:44px}
.wa-member-row:focus{outline:2px solid #1765db;outline-offset:4px;border-radius:8px}
#wa-binding-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
#wa-binding-dialog .form-select{min-height:44px}
#wa-binding-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.wa-member-row{grid-template-columns:minmax(0,1fr);gap:12px}.wa-member-actions{justify-content:flex-start}.wa-member-actions .btn{white-space:normal}}
