:root{color-scheme:dark}*{box-sizing:border-box}html{min-height:100%;background:var(--share-bg)}body.public-file-share{min-height:100vh;margin:0;background:radial-gradient(circle at 12% 5%,color-mix(in srgb,var(--share-primary) 18%,transparent),transparent 34rem),radial-gradient(circle at 88% 90%,color-mix(in srgb,var(--share-secondary) 14%,transparent),transparent 38rem),var(--share-bg);color:var(--share-text);font-family:Inter,Arial,sans-serif}.public-file-header,.public-file-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(18px,4vw,52px);border-color:color-mix(in srgb,var(--share-accent) 24%,transparent);background:color-mix(in srgb,var(--share-panel) 92%,transparent);backdrop-filter:blur(18px)}.public-file-header{position:sticky;top:0;z-index:20;border-bottom:1px solid}.public-file-footer{border-top:1px solid;color:var(--share-muted);font-size:12px}.public-file-brand{display:flex;align-items:center;gap:12px;color:var(--share-text);text-decoration:none}.public-file-brand img,.public-file-brand span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff;object-fit:contain;padding:5px}.public-file-brand span{background:var(--share-accent);color:#080b11;font-weight:950}.public-file-state,.eyebrow{color:var(--share-accent);font-size:10px;font-weight:950;letter-spacing:.16em}.public-file-shell{width:min(1280px,calc(100% - 28px));margin:28px auto 50px}.public-file-card{border:1px solid color-mix(in srgb,var(--share-accent) 24%,transparent);border-radius:24px;background:color-mix(in srgb,var(--share-panel) 96%,transparent);box-shadow:0 25px 80px #0008;overflow:hidden}.access-card{width:min(700px,100%);margin:8vh auto;padding:clamp(24px,5vw,48px)}.access-card h1,.public-file-title h1{margin:.25em 0;font-size:clamp(2rem,5vw,4rem);overflow-wrap:anywhere}.access-card p{color:var(--share-muted);line-height:1.7}.public-file-access-form,.public-file-reset form{display:grid;gap:14px;margin-top:24px}.public-file-access-form label,.public-file-reset label{display:grid;gap:7px;color:var(--share-muted);font-size:12px;font-weight:800}.public-file-access-form input,.public-file-reset input{width:100%;border:1px solid #ffffff20;border-radius:11px;padding:14px;background:#05080e;color:#fff;font:inherit}.public-file-access-form button,.public-file-reset button,.public-file-actions a,.public-file-actions button{border:0;border-radius:10px;padding:13px 18px;background:var(--share-accent);color:#080b11;font-weight:950;text-decoration:none;cursor:pointer}.secondary{background:#ffffff12!important;color:var(--share-text)!important;border:1px solid #ffffff24!important}.public-file-reset{margin-top:20px;border-top:1px solid #ffffff14;padding-top:18px}.public-file-reset summary{cursor:pointer;color:var(--share-secondary);font-weight:800}.public-file-title{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px clamp(20px,4vw,42px);border-bottom:1px solid #ffffff14}.public-file-actions{display:flex;gap:10px;flex-wrap:wrap}.public-file-viewer{display:grid;place-items:center;min-height:clamp(420px,68vh,900px);background:#020407}.public-file-viewer img,.public-file-viewer video{display:block;max-width:100%;max-height:82vh;width:auto;height:auto}.public-file-viewer video{width:100%;height:min(78vh,900px);object-fit:contain;background:#000}.public-file-viewer audio{width:min(760px,90%)}.public-file-viewer iframe{width:100%;height:min(80vh,1000px);border:0;background:#fff}.public-file-unsupported{text-align:center;padding:60px 24px;color:var(--share-muted)}.public-file-unsupported>span{display:grid;place-items:center;width:110px;height:110px;margin:auto;border-radius:26px;background:var(--share-accent);color:#080b11;font-size:24px;font-weight:950}.public-file-details{padding:26px clamp(20px,4vw,42px)}.public-file-details h2{margin-top:0}.public-file-meta{display:grid;grid-template-columns:minmax(120px,.32fr) minmax(0,1fr);gap:10px 20px;margin:0}.public-file-meta.compact{margin-top:30px}.public-file-meta dt{color:var(--share-muted);font-size:11px;font-weight:900;text-transform:uppercase}.public-file-meta dd{margin:0;overflow-wrap:anywhere}.public-file-meta code{font-size:11px;color:var(--share-secondary)}.public-file-alert{width:min(900px,100%);margin:0 auto 16px;padding:13px 16px;border-radius:12px;background:#164e6380;border:1px solid #67e8f955}.public-file-alert.error{background:#7f1d1d80;border-color:#fca5a555}.public-file-alert.warning{background:#78350f80;border-color:#fcd34d55}@media(max-width:720px){.public-file-header,.public-file-footer,.public-file-title{align-items:flex-start;flex-direction:column}.public-file-state{display:none}.public-file-viewer{min-height:360px}.public-file-meta{grid-template-columns:1fr}.public-file-actions{width:100%}.public-file-actions>*{flex:1;text-align:center}.public-file-footer{gap:5px}}
/* Signed-in file library controls */
.company-files-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}.company-files-upload input[type=file]{width:100%;padding:13px;border:1px dashed #ffffff32;border-radius:12px;background:#07101a}.file-share-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;background:#ffffff10;color:#dbeafe;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.file-share-badge.public{background:#14532d;color:#bbf7d0}.file-share-badge.external{background:#713f12;color:#fde68a}.file-share-badge.internal,.file-share-badge.selected{background:#164e63;color:#a5f3fc}.file-share-badge.private{background:#27272a;color:#d4d4d8}.asset-library-preview video,.asset-library-preview audio{display:block;width:100%;height:100%;object-fit:cover;background:#000}.asset-library-preview.audio{display:grid;place-items:center;padding:16px}.asset-library-preview.audio audio{height:auto}.file-share-control{margin-top:14px;border-top:1px solid #ffffff14;padding-top:12px}.file-share-control summary{cursor:pointer;color:#7dd3fc;font-weight:850}.file-share-form{display:grid;gap:10px;margin-top:12px}.file-share-form label{display:grid;gap:5px;font-size:11px;color:#aebacc}.file-share-form select,.file-share-form input{width:100%}.file-share-selected{min-height:120px}.file-share-mode-panel{display:none}.file-share-form[data-mode=selected] .mode-selected,.file-share-form[data-mode=protected] .mode-protected,.file-share-form[data-mode=external] .mode-external,.file-share-form[data-mode=public] .mode-public{display:grid}.file-share-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.file-share-link input{min-width:0}.file-share-secondary-actions{display:flex;gap:8px;flex-wrap:wrap}.file-share-secondary-actions form{margin:0}.file-meta-copy{cursor:pointer}.asset-library-preview.video iframe{display:none}@media(max-width:720px){.company-files-upload{grid-template-columns:1fr}.file-share-link{grid-template-columns:1fr}.file-share-secondary-actions>*{flex:1}}

.file-share-inline-status{margin:10px 0;padding:10px 12px;border:1px solid rgba(130,231,255,.35);border-radius:10px;background:rgba(130,231,255,.08);color:#dff8ff;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.file-share-inline-status.success{border-color:rgba(74,222,128,.4);background:rgba(74,222,128,.09);color:#d8ffe5}.file-share-inline-status.warning{border-color:rgba(250,204,21,.45);background:rgba(250,204,21,.09);color:#fff4bf}.file-share-inline-status.error{border-color:rgba(248,113,113,.48);background:rgba(248,113,113,.1);color:#ffd8d8}.file-share-form[aria-busy="true"]{opacity:.82}.file-share-form button[disabled]{cursor:wait}.public-file-pdf-frame{display:block;width:100%;min-height:72vh;border:0;background:#fff}.public-file-pdf-fallback{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.1);background:#0a111b}.public-file-pdf-fallback p{margin:0;color:#9eacbd}.public-file-pdf-fallback a{display:inline-flex;padding:8px 11px;border:1px solid rgba(130,231,255,.35);border-radius:9px;color:#c9f7ff;text-decoration:none}

/* R85FY Drive-style signed-in file manager */
.drive-shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;align-items:start}.drive-sidebar{position:sticky;top:82px;padding:18px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(180deg,#0b1522f2,#07101af0);box-shadow:0 18px 50px #0004}.drive-brand h2{margin:.2rem 0 1rem}.drive-new-folder{display:grid;gap:8px}.drive-new-folder input,.drive-search input,.drive-action-menu input,.drive-action-menu select,.drive-folder-share-form input,.drive-folder-share-form select{width:100%;min-width:0}.drive-nav{display:grid;gap:5px;margin-top:18px}.drive-nav a{padding:10px 12px;border-radius:10px;color:#cbd5e1;text-decoration:none;font-weight:750}.drive-nav a:hover,.drive-nav a.active{background:#ffffff10;color:#fff}.drive-main{min-width:0}.drive-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:5px 2px 14px}.drive-toolbar h1{margin:.15em 0 0}.drive-search{display:flex;gap:8px;width:min(520px,100%)}.drive-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;color:#8190a5;font-size:13px}.drive-breadcrumbs a{color:#bae6fd;text-decoration:none}.drive-folder-share,.drive-upload-zone,.drive-section{border:1px solid #ffffff14;border-radius:18px;background:#08111caa;margin-bottom:16px;box-shadow:0 12px 35px #0002}.drive-folder-share{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:18px;padding:16px}.drive-folder-share-summary{display:grid;align-content:start;gap:6px}.drive-folder-share-summary>span,.drive-upload-zone span{color:#94a3b8;font-size:12px;line-height:1.5}.drive-copy-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.drive-copy-link input{min-width:0}.drive-folder-share details summary{cursor:pointer;color:#7dd3fc;font-weight:850}.drive-folder-share-form{display:grid;gap:10px;margin-top:10px}.drive-folder-share-form label{display:grid;gap:5px;color:#aebacc;font-size:11px}.drive-external-fields{display:grid;gap:8px}.drive-external-fields small{color:#8190a5}.drive-upload-zone{padding:14px}.drive-upload-zone form{display:flex;gap:12px;align-items:center}.drive-upload-zone label{display:grid;flex:1;padding:14px 16px;border:1px dashed #ffffff30;border-radius:14px;cursor:pointer;background:#ffffff04}.drive-upload-zone input[type=file]{margin-top:10px}.drive-section{padding:14px}.drive-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.drive-section-head h2{margin:0;font-size:15px}.drive-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:10px}.drive-folder-card{position:relative;display:flex;align-items:center;justify-content:space-between;border:1px solid #ffffff12;border-radius:13px;background:#0c1724}.drive-folder-open{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:13px;color:#fff;text-decoration:none}.drive-folder-open>div{display:grid;min-width:0}.drive-folder-open strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-folder-open small{color:#94a3b8;font-size:11px}.drive-folder-icon{font-size:25px;color:#7dd3fc}.drive-menu{position:relative;padding:8px}.drive-menu>summary{cursor:pointer;list-style:none;font-weight:900;letter-spacing:.08em}.drive-action-menu{position:absolute;right:0;top:34px;z-index:40;width:min(420px,82vw);max-height:72vh;overflow:auto;padding:12px;border:1px solid #ffffff20;border-radius:14px;background:#050b12;box-shadow:0 20px 60px #000c}.folder-menu{width:250px}.drive-action-menu>form{display:grid;gap:8px;padding:8px 0;border-bottom:1px solid #ffffff10}.drive-action-menu label{display:grid;gap:5px;color:#aebacc;font-size:11px}.drive-file-list{display:grid}.drive-file-row{display:grid;grid-template-columns:48px minmax(180px,1fr) auto auto;gap:12px;align-items:center;padding:10px;border-top:1px solid #ffffff0e}.drive-file-row:first-child{border-top:0}.drive-file-row:hover{background:#ffffff04}.drive-file-type{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#0e7490,#155e75);color:#ecfeff;font-size:9px;font-weight:950;overflow:hidden}.drive-file-name{display:grid;min-width:0}.drive-file-name>a{color:#fff;text-decoration:none;font-weight:820;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-name>a:hover{color:#7dd3fc}.drive-file-name small{color:#8190a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-row-actions{display:flex;align-items:center;gap:7px}.drive-existing-share{margin-top:10px;border-top:1px solid #ffffff14;padding-top:10px}.drive-existing-share>strong{font-size:11px;color:#7dd3fc}.drive-public-list{display:grid;gap:8px;margin-top:18px}.drive-public-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff04}.drive-public-item>div{display:grid;min-width:0}.drive-public-item strong{overflow-wrap:anywhere}.drive-public-item small{color:var(--share-muted)}.drive-public-item a{padding:8px 11px;border-radius:8px;background:var(--share-accent);color:#071018;text-decoration:none;font-weight:900}
@media(max-width:900px){.drive-shell{grid-template-columns:1fr}.drive-sidebar{position:static}.drive-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.drive-toolbar,.drive-upload-zone form{align-items:stretch;flex-direction:column}.drive-folder-share{grid-template-columns:1fr}.drive-search{width:100%}.drive-file-row{grid-template-columns:44px minmax(0,1fr) auto}.drive-file-row>.file-share-badge{display:none}.drive-copy-link{grid-template-columns:1fr}}
@media(max-width:560px){.drive-nav{grid-template-columns:1fr 1fr}.drive-file-row{grid-template-columns:42px minmax(0,1fr)}.drive-row-actions{grid-column:1/-1;justify-content:flex-end}.drive-folder-grid{grid-template-columns:1fr}}

/* R85FZ — retain the established editable public file-share presentation inside the Drive UX. */
.drive-public-presentation{margin:0 0 18px;border:1px solid var(--line,rgba(255,255,255,.12));border-radius:16px;background:var(--panel,rgba(255,255,255,.035));overflow:hidden}
.drive-public-presentation>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;cursor:pointer;list-style:none}
.drive-public-presentation>summary::-webkit-details-marker{display:none}
.drive-public-presentation>summary span{font-size:.84rem;color:var(--muted,#93a0b5);text-align:right}
.drive-public-presentation[open]>summary{border-bottom:1px solid var(--line,rgba(255,255,255,.12))}
.drive-public-presentation-editor{padding:16px}
.drive-public-presentation-editor>.panel{margin:0}
@media(max-width:760px){.drive-public-presentation>summary{align-items:flex-start;flex-direction:column}.drive-public-presentation>summary span{text-align:left}}

/* R85GA — multi-view Drive, customizable organization, drag/drop movement, dismissible menus. */
.drive-display-toolbar{display:grid;gap:10px;margin:0 0 16px;padding:12px 14px;border:1px solid #ffffff14;border-radius:16px;background:#08111caa}.drive-display-toolbar form{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.drive-display-toolbar label{display:grid;gap:4px;color:#8fa0b6;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.drive-display-toolbar select{min-width:112px;padding:8px 10px}.drive-view-switcher{display:flex;gap:4px;padding:3px;border:1px solid #ffffff16;border-radius:11px;background:#050b12}.drive-view-switcher button{display:flex;align-items:center;gap:5px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#9fb0c4;font-size:11px;font-weight:850;cursor:pointer}.drive-view-switcher button:hover,.drive-view-switcher button.active{background:#12304a;color:#dff7ff}.drive-drag-hint{color:#7f91a7;font-size:11px}.drive-sidebar-heading{display:grid;gap:2px;margin:18px 0 7px;color:#dbeafe}.drive-sidebar-heading small{color:#75869b;font-size:10px;font-weight:500}.drive-drop-destinations{display:grid;gap:4px;max-height:min(40vh,380px);overflow:auto;padding-right:3px}.drive-drop-destination{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;padding:7px 8px;border:1px solid transparent;border-radius:8px;color:#9fb0c4;text-decoration:none;font-size:10px}.drive-drop-destination b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.drive-drop-destination:hover{background:#ffffff08;color:#fff}.drive-drop-target{outline:2px solid #67e8f9!important;outline-offset:2px;background:#0e749044!important;box-shadow:0 0 0 5px #22d3ee18!important}.drive-folder-card[data-drive-drop-folder]{transition:transform .15s ease,background .15s ease,outline .15s ease}.drive-file-row[draggable=true]{cursor:grab}.drive-file-row.drive-dragging{opacity:.4;transform:scale(.99)}.drive-drag-handle{color:#63768e;cursor:grab;font-weight:900;letter-spacing:-3px;padding-right:4px;user-select:none}.drive-file-title-line{display:flex;align-items:center;min-width:0}.drive-file-title-line>a{color:#fff;text-decoration:none;font-weight:820;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-title-line>a:hover{color:#7dd3fc}.drive-upload-zone.drive-upload-hover{outline:2px dashed #67e8f9;outline-offset:-7px;background:#0e749028}.drive-group-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;color:#b7c7da}.drive-group-heading strong{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.drive-group-heading span{font-size:10px;color:#73859b}.drive-file-group+.drive-file-group{margin-top:14px}.drive-files-section>.drive-section-head>div{display:grid;gap:2px}.drive-files-section>.drive-section-head small{color:#73859b;font-size:10px}.drive-file-preview{display:grid;place-items:center;min-width:0}.drive-file-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.drive-file-owner,.drive-file-date,.drive-file-size{min-width:0;color:#90a0b5;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-mobile-label{display:none}.drive-file-sharing{display:flex;align-items:center}.drive-file-table-head{display:grid;grid-template-columns:54px minmax(200px,1.8fr) minmax(110px,.8fr) minmax(150px,.9fr) minmax(90px,.55fr) minmax(90px,.55fr) minmax(145px,.7fr);gap:10px;align-items:center;padding:8px 10px;border-bottom:1px solid #ffffff14;color:#65778d;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.drive-toast{position:fixed;right:22px;bottom:22px;z-index:9999;max-width:min(420px,calc(100vw - 32px));padding:11px 14px;border:1px solid #67e8f955;border-radius:11px;background:#07131d;color:#dcf8ff;box-shadow:0 18px 55px #000c;font-size:12px}.drive-toast.error{border-color:#fb718566;color:#ffe4e8}.drive-menu>summary:focus-visible{outline:2px solid #67e8f9;outline-offset:4px;border-radius:5px}

/* Table view */
.drive-file-list[data-view=table] .drive-file-row{grid-template-columns:54px minmax(200px,1.8fr) minmax(110px,.8fr) minmax(150px,.9fr) minmax(90px,.55fr) minmax(90px,.55fr) minmax(145px,.7fr);gap:10px;align-items:center;padding:9px 10px;border-top:1px solid #ffffff0e}.drive-file-list[data-view=table] .drive-file-preview{width:42px;height:42px}.drive-file-list[data-view=table] .drive-secondary-meta{display:none}.drive-file-list[data-view=table] .drive-row-actions{justify-content:flex-end}.drive-file-list[data-view=table] .drive-row-actions>.button{display:none}

/* Grid/card view */
.drive-file-list[data-view=grid]{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:11px}.drive-file-list[data-view=grid] .drive-file-table-head{display:none}.drive-file-list[data-view=grid] .drive-file-row{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:9px;align-items:center;padding:13px;border:1px solid #ffffff12;border-radius:14px;background:#0b1622}.drive-file-list[data-view=grid] .drive-file-preview{width:52px;height:52px}.drive-file-list[data-view=grid] .drive-file-owner,.drive-file-list[data-view=grid] .drive-file-date,.drive-file-list[data-view=grid] .drive-file-size{display:none}.drive-file-list[data-view=grid] .drive-file-sharing{grid-column:1/3}.drive-file-list[data-view=grid] .drive-row-actions{grid-column:3;grid-row:1/3;align-self:start}.drive-file-list[data-view=grid] .drive-row-actions>.button{display:none}.drive-file-list[data-view=grid] .drive-secondary-meta{display:block;color:#71839a;font-size:10px}

/* Compact list */
.drive-file-list[data-view=compact] .drive-file-table-head{display:none}.drive-file-list[data-view=compact] .drive-file-row{display:grid;grid-template-columns:30px minmax(180px,1fr) minmax(110px,.35fr) auto;gap:8px;align-items:center;min-height:38px;padding:5px 8px;border-top:1px solid #ffffff0a}.drive-file-list[data-view=compact] .drive-file-preview{width:28px;height:28px}.drive-file-list[data-view=compact] .drive-file-type{width:28px;height:28px;border-radius:7px;font-size:7px}.drive-file-list[data-view=compact] .drive-secondary-meta,.drive-file-list[data-view=compact] .drive-file-owner,.drive-file-list[data-view=compact] .drive-file-date{display:none}.drive-file-list[data-view=compact] .drive-file-size{font-size:10px}.drive-file-list[data-view=compact] .drive-file-sharing{display:none}.drive-file-list[data-view=compact] .drive-row-actions{justify-content:flex-end}.drive-file-list[data-view=compact] .drive-row-actions>.button{display:none}

/* Gallery / visual browsing */
.drive-file-list[data-view=gallery]{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:13px}.drive-file-list[data-view=gallery] .drive-file-table-head{display:none}.drive-file-list[data-view=gallery] .drive-file-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px;border:1px solid #ffffff12;border-radius:15px;background:#091420;overflow:visible}.drive-file-list[data-view=gallery] .drive-file-preview{grid-column:1/-1;width:100%;height:165px;border-radius:11px;background:linear-gradient(145deg,#0d2233,#07111b);overflow:hidden}.drive-file-list[data-view=gallery] .drive-file-preview .drive-file-type{width:84px;height:84px;border-radius:18px;font-size:12px}.drive-file-list[data-view=gallery] .drive-file-name{grid-column:1}.drive-file-list[data-view=gallery] .drive-file-owner,.drive-file-list[data-view=gallery] .drive-file-date,.drive-file-list[data-view=gallery] .drive-file-size{display:none}.drive-file-list[data-view=gallery] .drive-file-sharing{grid-column:1}.drive-file-list[data-view=gallery] .drive-row-actions{grid-column:2;grid-row:2/4;align-self:start}.drive-file-list[data-view=gallery] .drive-row-actions>.button{display:none}

@media(max-width:1100px){.drive-file-table-head,.drive-file-list[data-view=table] .drive-file-row{grid-template-columns:48px minmax(180px,1fr) minmax(100px,.7fr) minmax(90px,.5fr) minmax(130px,.65fr)}.drive-file-table-head span:nth-child(4),.drive-file-table-head span:nth-child(6),.drive-file-list[data-view=table] .drive-file-date,.drive-file-list[data-view=table] .drive-file-sharing{display:none}.drive-display-toolbar form{align-items:stretch}.drive-display-toolbar label{flex:1;min-width:120px}}
@media(max-width:900px){.drive-drop-destinations{max-height:180px}.drive-sidebar-heading{margin-top:12px}.drive-file-table-head{display:none!important}.drive-file-list[data-view=table] .drive-file-row{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.drive-file-list[data-view=table] .drive-file-owner,.drive-file-list[data-view=table] .drive-file-date,.drive-file-list[data-view=table] .drive-file-size{display:none}.drive-file-list[data-view=table] .drive-file-sharing{display:flex;grid-column:2}.drive-file-list[data-view=table] .drive-row-actions{grid-column:3;grid-row:1/3}.drive-view-switcher{width:100%}.drive-view-switcher button{flex:1;justify-content:center}.drive-drop-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.drive-display-toolbar form{display:grid;grid-template-columns:1fr 1fr}.drive-view-switcher{grid-column:1/-1}.drive-view-switcher button span{display:none}.drive-display-toolbar label{min-width:0}.drive-file-list[data-view=grid],.drive-file-list[data-view=gallery]{grid-template-columns:1fr}.drive-file-list[data-view=compact] .drive-file-row{grid-template-columns:28px minmax(0,1fr) auto}.drive-file-list[data-view=compact] .drive-file-size{display:none}.drive-drop-destinations{grid-template-columns:1fr}.drive-drag-hint{display:none}}

/* R85GB — resumable uploads, location visibility, and shared-folder browser. */
.drive-upload-progress{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff12}.drive-upload-overall{display:grid;gap:7px}.drive-upload-overall>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.drive-upload-overall span{color:#8fa0b6;font-size:11px}.drive-upload-progress progress{width:100%;height:9px;accent-color:#22d3ee}.drive-upload-queue{display:grid;gap:7px;max-height:300px;overflow:auto}.drive-upload-item{display:grid;gap:6px;padding:9px 10px;border:1px solid #ffffff12;border-radius:10px;background:#050b12}.drive-upload-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.drive-upload-item-head>div{display:grid;min-width:0}.drive-upload-item-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.drive-upload-item-head small,.drive-upload-item-status{color:#8293a8;font-size:10px}.drive-upload-item-head button{padding:5px 8px;border:1px solid #ffffff1f;border-radius:7px;background:#ffffff08;color:#dbeafe;font-size:9px;cursor:pointer}.drive-upload-item.complete{border-color:#4ade8055}.drive-upload-item.complete .drive-upload-item-status{color:#86efac}.drive-upload-item.failed{border-color:#fb718566}.drive-upload-item.failed .drive-upload-item-status{color:#fda4af}.drive-upload-item.cancelled{opacity:.65}.drive-file-path{display:block;color:#67e8f9aa!important;font-size:9px!important;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-location{min-width:0;color:#9eb0c5;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-path-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-file-list[data-view=table] .drive-file-table-head,.drive-file-table-head{grid-template-columns:54px minmax(190px,1.45fr) minmax(130px,.85fr) minmax(105px,.7fr) minmax(125px,.8fr) minmax(86px,.5fr) minmax(88px,.5fr) minmax(135px,.65fr)}.drive-file-list[data-view=table] .drive-file-row{grid-template-columns:54px minmax(190px,1.45fr) minmax(130px,.85fr) minmax(105px,.7fr) minmax(125px,.8fr) minmax(86px,.5fr) minmax(88px,.5fr) minmax(135px,.65fr)}.drive-file-list[data-view=table] .drive-file-name>.drive-file-path{display:none}.drive-file-list[data-view=grid] .drive-file-location,.drive-file-list[data-view=gallery] .drive-file-location,.drive-file-list[data-view=compact] .drive-file-location{display:none}.drive-file-list[data-view=grid] .drive-file-path,.drive-file-list[data-view=gallery] .drive-file-path,.drive-file-list[data-view=compact] .drive-file-path{display:block}.drive-file-row.drive-moving{opacity:.6;pointer-events:none}

/* Shared folder surface inherits the company palette, but action contrast is hard-failed safe. */
.public-folder-share{--share-accent-safe:var(--share-accent,#f4c84a);--share-text-safe:var(--share-text,#f7f8fa);--share-panel-safe:var(--share-panel,#111722);--share-muted-safe:var(--share-muted,#aab4c4)}.public-folder-shell{display:grid;gap:14px}.public-folder-header .public-file-brand>div{display:grid;gap:2px}.public-folder-header .public-file-brand small{color:var(--share-muted-safe);font-size:10px}.public-folder-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:clamp(20px,4vw,38px)}.public-folder-hero h1{margin:.2em 0;font-size:clamp(2rem,5vw,4rem)}.public-folder-hero p{max-width:780px;margin:0;color:var(--share-muted-safe);line-height:1.65}.public-folder-summary{display:grid;grid-template-columns:auto auto;gap:2px 8px;align-items:baseline;padding:14px 16px;border:1px solid #ffffff18;border-radius:14px;background:#ffffff07}.public-folder-summary strong{font-size:24px}.public-folder-summary span{color:var(--share-muted-safe);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.public-folder-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 4px;color:var(--share-muted-safe);font-size:12px}.public-folder-breadcrumbs a{color:var(--share-secondary,#7dd3fc);font-weight:800;text-decoration:none}.public-folder-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:14px;overflow:visible}.public-folder-search{display:flex;align-items:end;gap:8px}.public-folder-search label{display:grid;gap:4px;min-width:240px;flex:1;color:var(--share-muted-safe);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.public-folder-search input,.public-folder-options select{width:100%;border:1px solid #ffffff22;border-radius:9px;padding:10px 11px;background:#05080e;color:#fff}.public-folder-search button,.public-folder-clear,.public-folder-order{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #ffffff20;border-radius:9px;padding:9px 12px;background:#ffffff0b;color:var(--share-text-safe);font-weight:850;text-decoration:none;cursor:pointer}.public-folder-options{display:flex;align-items:end;gap:8px}.public-folder-options>label{display:grid;gap:4px;color:var(--share-muted-safe);font-size:10px;font-weight:850;text-transform:uppercase}.public-folder-view-switcher{display:flex;padding:3px;border:1px solid #ffffff18;border-radius:10px;background:#05080e}.public-folder-view-switcher a{padding:8px 10px;border-radius:7px;color:#9fb0c4;text-decoration:none;font-size:10px;font-weight:850}.public-folder-view-switcher a.active,.public-folder-view-switcher a:hover{background:#ffffff12;color:#fff}.public-folder-section{padding:14px}.public-folder-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.public-folder-section-title h2{margin:0;font-size:15px}.public-folder-section-title span{color:var(--share-muted-safe);font-size:11px}.public-folder-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:9px}.public-folder-folder{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;border:1px solid #ffffff14;border-radius:12px;background:#ffffff04;color:var(--share-text-safe);text-decoration:none}.public-folder-folder:hover{border-color:color-mix(in srgb,var(--share-secondary,#38bdf8) 55%,transparent);background:#ffffff08}.public-folder-folder>div{display:grid;min-width:0}.public-folder-folder strong,.public-folder-folder small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-folder-folder small{color:var(--share-muted-safe);font-size:9px}.public-folder-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--share-secondary,#38bdf8) 18%,transparent);color:var(--share-secondary,#38bdf8);font-size:20px}.public-folder-files{display:grid}.public-folder-table-head,.public-folder-files[data-public-folder-view=table] .public-folder-file{display:grid;grid-template-columns:52px minmax(190px,1.5fr) minmax(150px,.9fr) minmax(95px,.45fr) minmax(160px,.7fr);gap:10px;align-items:center}.public-folder-table-head{padding:8px 10px;color:var(--share-muted-safe);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid #ffffff12}.public-folder-file{padding:10px;border-top:1px solid #ffffff0d}.public-folder-file:first-of-type{border-top:0}.public-folder-file-preview{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,#0e7490,#155e75);overflow:hidden}.public-folder-file-preview img{width:100%;height:100%;object-fit:cover}.public-folder-file-preview span{font-size:8px;font-weight:950;color:#ecfeff}.public-folder-file-name{display:grid;min-width:0}.public-folder-file-name strong,.public-folder-file-name small,.public-folder-file-path small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-folder-file-name small,.public-folder-file-path small,.public-folder-file-size{color:var(--share-muted-safe);font-size:10px}.public-folder-file-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.public-folder-view-button,.public-folder-download-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:82px!important;min-height:38px!important;padding:9px 13px!important;border-radius:9px!important;text-decoration:none!important;font-weight:950!important;line-height:1!important}.public-folder-view-button{border:1px solid #ffffff30!important;background:#ffffff10!important;color:var(--share-text-safe)!important}.public-folder-download-button{border:1px solid #ffffff!important;background:var(--share-accent-safe)!important;color:#05070a!important;box-shadow:0 5px 18px #0005!important}.public-folder-download-button:hover{filter:brightness(1.12);transform:translateY(-1px)}.public-folder-files[data-public-folder-view=grid],.public-folder-files[data-public-folder-view=gallery]{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.public-folder-files[data-public-folder-view=grid] .public-folder-table-head,.public-folder-files[data-public-folder-view=gallery] .public-folder-table-head,.public-folder-files[data-public-folder-view=compact] .public-folder-table-head{display:none}.public-folder-files[data-public-folder-view=grid] .public-folder-file,.public-folder-files[data-public-folder-view=gallery] .public-folder-file{display:grid;grid-template-columns:56px minmax(0,1fr);gap:9px;border:1px solid #ffffff13;border-radius:13px;background:#ffffff035}.public-folder-files[data-public-folder-view=grid] .public-folder-file-path,.public-folder-files[data-public-folder-view=grid] .public-folder-file-size{grid-column:2}.public-folder-files[data-public-folder-view=grid] .public-folder-file-actions{grid-column:1/-1;justify-content:stretch}.public-folder-files[data-public-folder-view=grid] .public-folder-file-actions>a{flex:1}.public-folder-files[data-public-folder-view=gallery] .public-folder-file{grid-template-columns:1fr}.public-folder-files[data-public-folder-view=gallery] .public-folder-file-preview{width:100%;height:150px}.public-folder-files[data-public-folder-view=gallery] .public-folder-file-actions{justify-content:stretch}.public-folder-files[data-public-folder-view=gallery] .public-folder-file-actions>a{flex:1}.public-folder-files[data-public-folder-view=compact] .public-folder-file{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(110px,.6fr) auto;gap:8px;align-items:center;padding:6px 8px}.public-folder-files[data-public-folder-view=compact] .public-folder-file-preview{width:30px;height:30px;border-radius:7px}.public-folder-files[data-public-folder-view=compact] .public-folder-file-size{display:none}.public-folder-files[data-public-folder-view=compact] .public-folder-file-actions a{min-width:68px!important;min-height:30px!important;padding:6px 9px!important;font-size:10px}.public-folder-empty{display:grid;gap:4px;padding:28px;text-align:center;color:var(--share-muted-safe)}
@media(max-width:1180px){.drive-file-table-head,.drive-file-list[data-view=table] .drive-file-row{grid-template-columns:48px minmax(180px,1.5fr) minmax(120px,.8fr) minmax(100px,.6fr) minmax(90px,.45fr) minmax(130px,.65fr)}.drive-file-table-head span:nth-child(5),.drive-file-table-head span:nth-child(7),.drive-file-list[data-view=table] .drive-file-date,.drive-file-list[data-view=table] .drive-file-sharing{display:none}.public-folder-controls{grid-template-columns:1fr}.public-folder-options{flex-wrap:wrap}}
@media(max-width:900px){.drive-file-list[data-view=table] .drive-file-location{display:none}.drive-file-list[data-view=table] .drive-file-name>.drive-file-path{display:block}.public-folder-table-head{display:none}.public-folder-files[data-public-folder-view=table] .public-folder-file{grid-template-columns:44px minmax(0,1fr) auto}.public-folder-files[data-public-folder-view=table] .public-folder-file-path,.public-folder-files[data-public-folder-view=table] .public-folder-file-size{grid-column:2}.public-folder-files[data-public-folder-view=table] .public-folder-file-actions{grid-column:3;grid-row:1/4}.public-folder-hero{align-items:flex-start;flex-direction:column}.public-folder-search{align-items:stretch;flex-wrap:wrap}.public-folder-search label{min-width:100%;}.public-folder-options{align-items:stretch}.public-folder-view-switcher{width:100%;overflow:auto}.public-folder-view-switcher a{flex:1;text-align:center}}
@media(max-width:600px){.drive-upload-zone form{display:grid}.public-folder-files[data-public-folder-view=grid],.public-folder-files[data-public-folder-view=gallery]{grid-template-columns:1fr}.public-folder-files[data-public-folder-view=compact] .public-folder-file{grid-template-columns:30px minmax(0,1fr) auto}.public-folder-files[data-public-folder-view=compact] .public-folder-file-path{display:none}.public-folder-file-actions{flex-direction:column}.public-folder-file-actions>a{width:100%}.public-folder-options>label,.public-folder-order{flex:1}}


/* FCFW 1.0.38 — upload-first searchable OCR/transcription */
.file-intelligence-panel{display:grid;gap:16px;padding:clamp(18px,3vw,28px);border:1px solid #ffffff1f;border-radius:18px;background:linear-gradient(145deg,#0b111b 0%,#111a28 100%);color:#f8fafc;box-shadow:0 18px 54px #0005;min-width:0}.file-intelligence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.file-intelligence-head h2{margin:.2rem 0 .4rem;font-size:clamp(1.4rem,3vw,2rem)}.file-intelligence-head p{margin:0;max-width:760px;color:#b8c3d2;line-height:1.55}.file-intelligence-badge{flex:none;border:1px solid #38bdf866;border-radius:999px;padding:8px 11px;background:#38bdf815;color:#dff7ff;font-size:11px;font-weight:900;letter-spacing:.04em}.file-intelligence-progress{display:grid;gap:8px;padding:13px;border:1px solid #ffffff17;border-radius:12px;background:#05080d99}.file-intelligence-progress>div{display:flex;justify-content:space-between;gap:12px}.file-intelligence-progress progress,.drive-intelligence-mini progress{width:100%;height:9px;accent-color:#38bdf8}.file-intelligence-progress small{color:#91a1b5}.file-intelligence-error{padding:12px;border:1px solid #ef444466;border-radius:10px;background:#7f1d1d40;color:#fecaca}.file-intelligence-ready{display:grid;gap:12px;min-width:0}.file-intelligence-stats{display:flex;gap:9px;flex-wrap:wrap}.file-intelligence-stats span{padding:7px 9px;border-radius:9px;background:#ffffff08;color:#b8c3d2;font-size:11px}.file-intelligence-find{display:grid;gap:6px;color:#dbeafe;font-size:11px;font-weight:850}.file-intelligence-find input{width:100%;padding:11px 12px;border:1px solid #ffffff22;border-radius:10px;background:#03060b;color:#fff}.file-intelligence-find-result{min-height:1em;color:#7dd3fc;font-size:11px}.file-intelligence-text{max-height:52vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:16px;border:1px solid #ffffff16;border-radius:12px;background:#03060b;color:#e7eef8;font:500 13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.internal-file-shell{display:grid;gap:18px}.internal-file-hero{display:flex;align-items:end;justify-content:space-between;gap:20px}.internal-file-hero h1{overflow-wrap:anywhere;margin:.2rem 0}.internal-file-hero p{max-width:760px;color:var(--muted,#9aa8b8)}.internal-file-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(360px,.8fr);gap:18px;align-items:start}.internal-file-view-card{min-width:0}.internal-file-view-card .public-file-viewer{min-height:420px}.internal-file-view-card iframe{width:100%;min-height:70vh;border:0}.internal-file-view-card img,.internal-file-view-card video{display:block;max-width:100%;max-height:72vh;margin:auto}.internal-file-view-card audio{width:100%;margin:30px 0}.internal-file-meta{margin-top:14px}.drive-intelligence-mini{display:grid;gap:4px;margin-top:7px;padding:7px 8px;border:1px solid #ffffff10;border-radius:8px;background:#ffffff04}.drive-intelligence-mini>div{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#9fb0c4}.drive-intelligence-mini strong{color:#dbeafe;white-space:nowrap}.drive-intelligence-mini.status-completed progress{display:none}.drive-intelligence-mini.status-completed>div span{color:#86efac}.drive-intelligence-mini.status-failed>div span{color:#fca5a5}.drive-upload-item.analysis-complete .drive-upload-item-status{color:#86efac}.drive-upload-item.analysis-failed .drive-upload-item-status{color:#fca5a5}.submission-intelligence-list{display:grid;gap:16px}.submission-intelligence-file{display:grid;gap:12px;padding:14px;border:1px solid #ffffff14;border-radius:14px}.submission-intelligence-file-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.submission-intelligence-file-head>div{display:grid;gap:4px;min-width:0}.submission-intelligence-file-head small{overflow-wrap:anywhere;color:var(--muted,#9aa8b8)}
@media(max-width:980px){.internal-file-layout{grid-template-columns:1fr}.internal-file-hero{align-items:flex-start;flex-direction:column}.file-intelligence-head{flex-direction:column}.file-intelligence-badge{align-self:flex-start}}@media(max-width:600px){.submission-intelligence-file-head{align-items:flex-start;flex-direction:column}.file-intelligence-panel{padding:14px}.file-intelligence-text{max-height:44vh}}

/* 1.0.38 mobile-safe PDF preview */
.public-pdf-mobile{width:100%;background:#111820;padding:10px}.public-pdf-mobile[hidden]{display:none!important}.public-pdf-mobile-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;gap:12px;padding:10px 12px;margin:-10px -10px 10px;background:rgba(9,14,22,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.1)}.public-pdf-mobile-head span{color:var(--share-muted,#aab4c4);font-size:12px}.public-pdf-pages{display:grid;gap:12px}.public-pdf-page{margin:0;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.35)}.public-pdf-page img{display:block;width:100%;height:auto;background:#fff}.public-pdf-page figcaption{padding:7px 10px;background:#0d1520;color:#cdd7e4;font-size:11px}.public-pdf-sentinel{text-align:center;padding:14px;color:var(--share-muted,#aab4c4)}.public-file-pdf-fallback button{display:inline-flex;padding:8px 11px;border:1px solid rgba(130,231,255,.35);border-radius:9px;color:#c9f7ff;background:transparent;font:inherit;cursor:pointer}@media(max-width:900px),(pointer:coarse){.public-file-pdf-frame{min-height:58vh}.public-pdf-native.mobile-pdf-replaced{display:none}.public-pdf-mobile.mobile-pdf-active{display:block!important}}


/* FCFW 1.0.38 — authenticated per-file AI analysis + persistent report history */
.internal-file-ai{margin-top:24px;padding:clamp(18px,3vw,30px)}
.internal-file-ai-head,.file-ai-history-head,.file-ai-submit,.file-ai-batch,.file-ai-report{display:flex;align-items:center;justify-content:space-between;gap:16px}
.internal-file-ai-head{align-items:flex-start;margin-bottom:18px}
.internal-file-ai-head h2,.file-ai-history-head h3{margin:.2rem 0 .4rem}
.internal-file-ai-head p{max-width:850px;margin:0;color:var(--muted,#64748b)}
.file-ai-scan-form{display:grid;gap:16px;padding:18px;border:1px solid rgba(15,23,42,.12);border-radius:18px;background:linear-gradient(145deg,rgba(248,250,252,.98),rgba(241,245,249,.9))}
.file-ai-prompt{display:grid;gap:8px;font-weight:800;color:#0f172a}.file-ai-prompt textarea{width:100%;min-height:130px;resize:vertical}
.file-ai-agent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.file-ai-agent{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;cursor:pointer}.file-ai-agent.primary{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.08)}
.file-ai-agent input{margin-top:4px}.file-ai-agent span{display:grid;gap:2px}.file-ai-agent small,.file-ai-submit small,.file-ai-report small,.file-ai-batch small{color:#64748b}
.file-ai-submit{border-top:1px solid #e2e8f0;padding-top:14px}.file-ai-submit small{max-width:750px}
.file-ai-history{margin-top:24px}.file-ai-history-head{padding-bottom:12px;border-bottom:1px solid #e2e8f0}.file-ai-history-head>span{font-weight:800;color:#475569}
.file-ai-batches,.file-ai-report-list{display:grid;gap:8px;margin-top:12px}.file-ai-batch,.file-ai-report{padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.file-ai-batch>span:first-child,.file-ai-report>span:first-child{display:grid;gap:3px;min-width:0}.file-ai-report{text-decoration:none;color:#0f172a}.file-ai-report:hover{border-color:#94a3b8;transform:translateY(-1px)}
.file-ai-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;background:#f8fafc}
@media(max-width:720px){.internal-file-ai-head,.file-ai-submit,.file-ai-batch,.file-ai-report,.file-ai-history-head{align-items:stretch;flex-direction:column}.internal-file-ai-head .button,.file-ai-submit .button{width:100%;text-align:center}.file-ai-agent-grid{grid-template-columns:1fr}}

/* FCFW 1.0.38 — file-attached OCR/transcript/report translations and downloads */
.file-artifact-hub{margin-top:24px;padding:clamp(18px,3vw,30px)}
.artifact-hub-head,.artifact-card,.artifact-actions,.artifact-job,.report-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}
.artifact-hub-head{align-items:flex-start;margin-bottom:18px}.artifact-hub-head h2{margin:.2rem 0 .4rem}.artifact-hub-head p{max-width:900px;margin:0;color:#64748b}.artifact-count{white-space:nowrap;padding:7px 11px;border-radius:999px;background:#0f172a;color:#fff;font-weight:800;font-size:.82rem}
.artifact-card{padding:15px 16px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;margin-top:10px}.artifact-card.artifact-primary{border-color:#60a5fa;background:linear-gradient(135deg,#eff6ff,#fff)}.artifact-card-main{min-width:0}.artifact-card-main h3,.artifact-card-main h4{margin:3px 0 4px}.artifact-card-main p{margin:0;color:#64748b;font-size:.86rem}.artifact-type{font-size:.72rem;font-weight:900;letter-spacing:.11em;color:#1d4ed8}
.artifact-actions{justify-content:flex-end;flex-wrap:wrap}.artifact-translate-form{display:flex;align-items:center;gap:8px;margin:0}.artifact-translate-form select{min-width:160px}.artifact-translate-form.compact select{min-width:130px}.artifact-awaiting{padding:18px;border:1px dashed #94a3b8;border-radius:14px;background:#f8fafc;color:#475569}
.artifact-jobs,.artifact-library{margin-top:20px}.artifact-jobs h3,.artifact-library h3{margin:0 0 8px}.artifact-job{padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.artifact-job>span:first-child{display:grid;gap:2px}.artifact-job small{color:#64748b}.artifact-job.status-failed{border-color:#fecaca;background:#fff1f2}.artifact-grid{display:grid;gap:8px}.report-actions{justify-content:flex-end;flex-wrap:wrap;margin-left:auto}.file-ai-report{cursor:default}.file-ai-report:hover{transform:none}
@media(max-width:760px){.artifact-hub-head,.artifact-card,.artifact-actions,.artifact-job,.report-actions{align-items:stretch;flex-direction:column}.artifact-count{white-space:normal;align-self:flex-start}.artifact-translate-form{width:100%;display:grid;grid-template-columns:1fr}.artifact-translate-form select,.artifact-translate-form.compact select{width:100%;min-width:0}.artifact-actions .button,.report-actions .button{width:100%;text-align:center}}


/* FCFW 1.0.40 — resilient mobile public media presentation */
.public-media-image{max-width:100%;height:auto;object-fit:contain;image-orientation:from-image}.public-media-video{display:block;width:100%;max-width:100%;background:#000}.public-media-fallback{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid rgba(255,255,255,.1);background:#0a111b;color:var(--share-muted,#aab4c4);font-size:12px}.public-media-fallback[hidden]{display:none!important}.public-media-fallback a{display:inline-flex;padding:8px 11px;border:1px solid rgba(130,231,255,.35);border-radius:9px;color:#c9f7ff;text-decoration:none}.public-media-fallback.media-fallback-passive{opacity:.72}.public-file-viewer.kind-image{padding:clamp(8px,2vw,20px)}.public-file-viewer.kind-image .public-media-image{max-height:min(82vh,1100px);border-radius:8px}.public-file-viewer.kind-video{display:block;min-height:0}.public-file-viewer.kind-video .public-media-video{min-height:240px;height:min(76vh,900px);object-fit:contain}.public-folder-file-view .public-file-shell{width:min(1280px,calc(100% - 18px))}@media(max-width:900px){.public-file-shell{width:min(100%,calc(100% - 12px));margin:8px auto 28px}.public-file-card{border-radius:14px}.public-file-viewer{min-height:0}.public-file-viewer.kind-image{display:flex;min-height:220px;padding:6px}.public-file-viewer.kind-image .public-media-image{width:100%;max-height:none;object-fit:contain}.public-file-viewer.kind-video .public-media-video{height:auto;min-height:220px;max-height:70vh}.public-pdf-mobile{padding:6px}.public-pdf-page{border-radius:4px}.public-pdf-page img{width:100%;max-width:100%;height:auto}.public-file-pdf-fallback,.public-media-fallback{align-items:stretch;flex-direction:column}.public-file-pdf-fallback a,.public-file-pdf-fallback button,.public-media-fallback a{width:100%;justify-content:center;text-align:center}.public-file-title{padding:16px 14px}.public-file-title h1{font-size:clamp(1.25rem,7vw,2rem)}}

/* FCFW 1.0.81 Project Drive storage visibility */
.drive-storage-card{display:grid;gap:10px;margin:14px 0;padding:13px;border:1px solid #ffffff17;border-radius:14px;background:linear-gradient(145deg,#0a121d,#0e1826);box-shadow:0 12px 30px #0003}.drive-storage-total{display:grid;gap:3px}.drive-storage-total>span{color:#8fa4ba;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.drive-storage-total>strong{font-size:22px;color:#f8fafc;line-height:1.1}.drive-storage-total>small{color:#8ea0b4;font-size:10px}.drive-storage-breakdown{border-top:1px solid #ffffff10;padding-top:8px}.drive-storage-breakdown>summary{cursor:pointer;color:#dce8f5;font-size:10px;font-weight:800}.drive-storage-members{display:grid;gap:7px;margin-top:9px;max-height:260px;overflow:auto}.drive-storage-members>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border:1px solid #ffffff0e;border-radius:9px;background:#ffffff04}.drive-storage-members span{display:grid;min-width:0}.drive-storage-members b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-storage-members small{color:#8193a8;font-size:9px}.drive-storage-members strong{font-size:10px;color:#67e8f9;white-space:nowrap}.drive-storage-members .legacy{border-style:dashed}

/* FCFW 1.0.85 signed-in Project Drive: high-contrast light interface */
.signed-in .drive-shell{color:#111827}.signed-in .drive-sidebar,.signed-in .drive-folder-share,.signed-in .drive-upload-zone,.signed-in .drive-section,.signed-in .drive-display-toolbar,.signed-in .drive-storage-card,.signed-in .drive-public-presentation,.signed-in .drive-ai-strip{background:#fff!important;color:#111827!important;border-color:#d6dee7!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important}.signed-in .drive-nav a{color:#334155}.signed-in .drive-nav a:hover,.signed-in .drive-nav a.active{background:#edf5ff;color:#164d8f}.signed-in .drive-view-switcher{background:#f4f7fa;border-color:#d6dee7}.signed-in .drive-view-switcher button{color:#465568}.signed-in .drive-view-switcher button:hover,.signed-in .drive-view-switcher button.active{background:#fff;color:#164d8f;box-shadow:0 1px 4px rgba(15,23,42,.12)}.signed-in .drive-file-list[data-view=grid] .drive-file-row,.signed-in .drive-file-list[data-view=gallery] .drive-file-row,.signed-in .drive-file-list[data-view=compact] .drive-file-row,.signed-in .drive-file-list[data-view=table] .drive-file-row{background:#fff!important;color:#111827!important;border-color:#e1e7ed!important}.signed-in .drive-file-list[data-view=gallery] .drive-file-preview{background:#f3f6f9!important}.signed-in .drive-file-title-line>a{color:#111827}.signed-in .drive-file-title-line>a:hover{color:#145a96}.signed-in .drive-file-owner,.signed-in .drive-file-date,.signed-in .drive-file-size,.signed-in .drive-file-location,.signed-in .drive-secondary-meta,.signed-in .drive-folder-share-summary>span,.signed-in .drive-upload-zone span,.signed-in .drive-drag-hint,.signed-in .drive-storage-total>small,.signed-in .drive-storage-members small{color:#5f6b7a!important}.signed-in .drive-file-path{color:#1767a5!important}.signed-in .drive-file-table-head{background:#f1f5f9;color:#475569;border-color:#d8e0e8}.signed-in .drive-folder-card{background:#fff!important;color:#111827!important;border-color:#d8e0e8!important}.signed-in .drive-folder-open{color:#111827!important}.signed-in .drive-action-menu,.signed-in .drive-menu[open] .drive-action-menu{background:#fff!important;color:#111827!important;border-color:#cfd8e3!important}.signed-in .drive-action-menu :is(input,select,textarea),.signed-in .drive-search input,.signed-in .drive-new-folder input,.signed-in .drive-display-toolbar select{background:#fff!important;color:#111827!important;border-color:#cfd8e3!important}.signed-in .drive-storage-total>strong,.signed-in .drive-storage-breakdown>summary,.signed-in .drive-storage-members b{color:#111827!important}.signed-in .drive-storage-members>div{background:#f8fafc;border-color:#e2e8f0}.signed-in .drive-storage-members strong{color:#145a96}.signed-in .drive-live-search-state{display:flex;align-items:center;min-width:120px;color:#526171;font-size:11px;font-weight:750}.signed-in .drive-search{align-items:center}.signed-in .file-share-badge.private{background:#e5e7eb;color:#374151}.signed-in .file-share-badge.internal,.signed-in .file-share-badge.selected{background:#e0f2fe;color:#075985}.signed-in .file-share-badge.external{background:#fef3c7;color:#92400e}.signed-in .file-share-badge.public{background:#dcfce7;color:#166534}

.signed-in .drive-shell{color-scheme:light}


/* FCFW 1.0.107 — Drive-owned action sheet; no generic popup portal. */
.drive-menu{position:relative;padding:4px}.drive-menu-trigger{min-width:38px;min-height:36px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172b48;font-weight:950;letter-spacing:.08em;cursor:pointer}.drive-menu-trigger:hover,.drive-menu-trigger[aria-expanded="true"]{background:#e8f1ff;border-color:#88aee8;color:#123b72}.drive-menu-trigger:focus-visible{outline:3px solid #f4b740;outline-offset:2px}.drive-action-menu[hidden]{display:none!important}.fcfw-drive-action-layer{position:fixed!important;z-index:2147483290!important;display:grid!important;gap:12px!important;overflow:auto!important;overscroll-behavior:contain!important;padding:14px!important;border:1px solid #c7d4e4!important;border-radius:16px!important;background:#fff!important;color:#172b48!important;box-shadow:0 24px 72px rgba(15,23,42,.28)!important;pointer-events:auto!important;isolation:isolate!important}.fcfw-drive-action-layer *{text-shadow:none!important}.drive-action-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;border-bottom:1px solid #dce5ef}.drive-action-sheet-head>div{display:grid;gap:2px;min-width:0}.drive-action-sheet-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172b48!important}.drive-action-sheet-head small{color:#607089!important}.drive-action-close{width:34px;height:34px;border:1px solid #cbd5e1;border-radius:50%;background:#f8fafc;color:#172b48;font-size:22px;line-height:1;cursor:pointer}.drive-action-quick{display:flex;gap:8px;flex-wrap:wrap}.drive-action-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;border:1px solid #dbe5f0;border-radius:12px;background:#f4f7fb}.drive-action-tabs button{border:0;border-radius:9px;padding:9px 8px;background:transparent;color:#38506f;font-size:11px;font-weight:850;cursor:pointer}.drive-action-tabs button:hover{background:#e7effa;color:#143d73}.drive-action-tabs button.active{background:#1f5fbf;color:#fff;box-shadow:0 4px 12px rgba(31,95,191,.24)}.drive-action-view{display:grid;gap:10px}.drive-action-view>form{display:grid;gap:9px}.drive-action-view label{display:grid;gap:5px;color:#42546d;font-size:11px;font-weight:750}.drive-action-view :is(input,select,textarea){width:100%;background:#fff;color:#111827;border:1px solid #b9c7d8;border-radius:10px}.drive-action-view button[type=submit]{justify-self:start}.fcfw-drive-action-layer .drive-existing-share{border-top:0;margin-top:0;padding-top:0}.fcfw-drive-action-layer .file-share-control{border:0;background:#f8fafc;border-radius:12px;padding:9px}.fcfw-drive-action-layer .file-share-control>summary{color:#173e71!important;font-weight:900}.internal-file-share-link{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);gap:18px;align-items:center;margin:0 0 18px;padding:16px 18px;border-color:#bfd4ef!important;background:linear-gradient(135deg,#f7fbff,#fff)!important}.internal-file-share-link h2{margin:.2rem 0 .35rem}.internal-file-share-link p{margin:0;color:#5b6c83}.internal-file-copy-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.internal-file-copy-link input{min-width:0;background:#fff;color:#172b48;border:1px solid #bfd0e3;border-radius:10px;padding:10px 11px}.signed-in .fcfw-drive-action-layer :is(label,strong,b,small,span,p,h1,h2,h3,h4,summary){color:#172b48!important}.signed-in .fcfw-drive-action-layer .button.secondary{background:#f4f7fb!important;color:#173e71!important;border-color:#b8c9dc!important}.signed-in .fcfw-drive-action-layer .button.secondary:hover{background:#e6effb!important;color:#0d3265!important}.signed-in .fcfw-drive-action-layer :is(input,textarea,select){background:#fff!important;color:#111827!important;border-color:#b8c6d6!important}@media(max-width:720px){.fcfw-drive-action-layer{left:8px!important;right:8px!important;width:auto!important;max-height:82vh!important}.drive-action-tabs{grid-template-columns:1fr}.internal-file-share-link{grid-template-columns:1fr}.internal-file-copy-link{grid-template-columns:1fr}.internal-file-copy-link .button{width:100%;text-align:center}}


/* FCFW 1.0.107 — viewport-safe Drive actions + clearer file views. */
.fcfw-drive-action-layer{
  max-height:calc(100dvh - 20px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
.fcfw-drive-action-layer .drive-action-sheet-head{
  position:sticky;top:-14px;z-index:5;
  margin:-14px -14px 0;padding:14px 14px 10px;
  background:#fff;
}
.fcfw-drive-action-layer .drive-action-tabs{
  position:sticky;top:52px;z-index:4;background:#f4f7fb;
}
.drive-rename-field{display:flex;align-items:stretch;min-width:0}
.drive-rename-field input{border-radius:10px 0 0 10px!important;min-width:0;flex:1}
.drive-rename-extension{display:flex;align-items:center;padding:0 11px;border:1px solid #b9c7d8;border-left:0;border-radius:0 10px 10px 0;background:#edf2f7;color:#334155!important;font-size:12px;font-weight:900;white-space:nowrap}
.drive-rename-help{color:#64748b!important;font-size:10px!important;line-height:1.35}
.drive-files-section{min-height:0;overflow:hidden}
.drive-files-header{padding-bottom:8px}
.drive-file-count{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef4fb;color:#31506f;font-size:10px;font-weight:850}
.drive-files-section>.drive-display-toolbar{margin:0 0 12px;border-radius:14px;box-shadow:none!important}
.drive-files-section>.drive-display-toolbar form{width:100%;align-items:center}
.drive-files-section .drive-view-switcher{order:-10;min-width:max-content;padding:5px;background:#eef3f8!important;border:1px solid #d2dce8!important}
.drive-files-section .drive-view-switcher button{min-height:38px;padding:8px 12px;color:#40536a!important;border:1px solid transparent!important}
.drive-files-section .drive-view-switcher button:hover{background:#fff!important;color:#17477f!important;border-color:#c4d3e5!important}
.drive-files-section .drive-view-switcher button.active{background:#173f73!important;color:#fff!important;border-color:#173f73!important;box-shadow:0 5px 14px rgba(23,63,115,.18)!important}
.drive-files-section .drive-view-switcher button.active span{color:#fff!important}
.drive-file-list[data-view=gallery]{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}
.drive-file-list[data-view=gallery] .drive-file-row{padding:0!important;overflow:hidden;border-radius:16px!important;box-shadow:0 7px 22px rgba(15,23,42,.07)!important}
.drive-file-list[data-view=gallery] .drive-file-preview{min-height:150px;border-radius:0!important;background:linear-gradient(145deg,#eef5fc,#f8fbff)!important}
.drive-file-list[data-view=gallery] .drive-file-name{padding:13px 14px 8px}
.drive-file-list[data-view=gallery] .drive-file-location,.drive-file-list[data-view=gallery] .drive-file-owner,.drive-file-list[data-view=gallery] .drive-file-date,.drive-file-list[data-view=gallery] .drive-file-size,.drive-file-list[data-view=gallery] .drive-file-sharing{padding-left:14px;padding-right:14px}
.drive-file-list[data-view=gallery] .drive-row-actions{padding:10px 14px 14px}
.drive-file-list[data-view=grid]{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.drive-file-list[data-view=grid] .drive-file-row{border-radius:14px!important;box-shadow:0 4px 16px rgba(15,23,42,.055)!important}
.drive-file-list[data-view=compact]{display:grid;gap:4px}
.drive-file-list[data-view=compact] .drive-file-row{border-radius:10px!important;padding-top:7px!important;padding-bottom:7px!important}
.drive-file-list[data-view=table]{border:1px solid #dce4ed;border-radius:14px;overflow:clip;background:#fff}
.drive-file-list[data-view=table] .drive-file-table-head{position:sticky;top:70px;z-index:3;background:#f5f8fb!important}
.drive-file-list[data-view=table] .drive-file-row{border-radius:0!important;border-left:0!important;border-right:0!important;border-top:0!important;box-shadow:none!important}
.drive-file-list[data-view=table] .drive-file-row:last-child{border-bottom:0!important}
@media(max-width:720px){
  .fcfw-drive-action-layer{top:8px!important;bottom:auto!important;max-height:calc(100dvh - 16px)!important}
  .fcfw-drive-action-layer .drive-action-tabs{top:52px}
  .drive-files-section>.drive-display-toolbar form{display:grid;grid-template-columns:1fr 1fr}
  .drive-files-section .drive-view-switcher{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);width:100%}
  .drive-files-section .drive-view-switcher button{justify-content:center;padding:8px 5px}
}

/* FCFW 1.0.107 — Project Drive fixed two-pane workspace + controlled 2/3-column card layouts. */
@media (min-width:901px){
  .drive-shell{
    height:calc(100dvh - 94px);
    min-height:620px;
    overflow:hidden;
    align-items:stretch;
  }
  .drive-sidebar{
    position:relative;
    top:auto;
    height:100%;
    max-height:100%;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  .drive-main{
    height:100%;
    max-height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    padding-right:4px;
  }
}

/* Keep Drive folders and both visual card modes to a maximum of three cards per row. */
@media (min-width:1280px){
  .drive-folder-grid,
  .drive-file-list[data-view=grid],
  .drive-file-list[data-view=gallery]{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (min-width:601px) and (max-width:1279px){
  .drive-folder-grid,
  .drive-file-list[data-view=grid],
  .drive-file-list[data-view=gallery]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:600px){
  .drive-folder-grid,
  .drive-file-list[data-view=grid],
  .drive-file-list[data-view=gallery]{
    grid-template-columns:1fr!important;
  }
}

/* FCFW 1.0.111 — searchable transcript/OCR match navigation */
.file-intelligence-searchbox{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.file-intelligence-find-nav{display:flex;gap:8px;align-items:center}.file-intelligence-find-result{min-height:1.5em;font-weight:700;color:#111827}.file-intelligence-text mark[data-intelligence-match]{background:#ffe58a;color:#111827;border-radius:3px;padding:0 .08em;box-shadow:0 0 0 1px rgba(120,83,0,.18)}.file-intelligence-text mark[data-intelligence-match].active{background:#ffb300;color:#111;outline:3px solid rgba(255,179,0,.32);outline-offset:2px}.signed-in .file-intelligence-find-result{color:#111827}.signed-in .file-intelligence-text mark[data-intelligence-match]{color:#111827}.file-intelligence-text{scroll-behavior:smooth}@media(max-width:680px){.file-intelligence-searchbox{grid-template-columns:1fr}.file-intelligence-find-nav{justify-content:flex-start}}


/* FCFW 1.0.128 — Project Drive viewport containment / internal scrolling. */
@media (min-width:901px){
  .drive-shell{
    height:var(--drive-viewport-height,calc(100dvh - 112px))!important;
    min-height:0!important;
    max-height:var(--drive-viewport-height,calc(100dvh - 112px))!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }
  .drive-shell>.drive-sidebar,
  .drive-shell>.drive-main{min-height:0!important;max-height:100%!important;}
  .drive-shell>.drive-sidebar{overflow-y:auto!important;overflow-x:hidden!important;}
  .drive-shell>.drive-main{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;}
  .drive-main>[data-drive-live-results],
  .drive-main .drive-section,
  .drive-files-section{min-width:0;max-width:100%;}
}


/* FCFW 1.0.128 — hard containment for Organization > Assets file results.
   The Files card owns its own scrollport; file rows can no longer escape below it. */
.drive-files-section{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
.drive-files-section>.drive-files-header,
.drive-files-section>.drive-display-toolbar{
  flex:0 0 auto;
}
.drive-files-scroll-region{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  min-width:0;
  overflow:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable both-edges;
  padding-right:2px;
  border-radius:12px;
}
.drive-files-scroll-region:focus{outline:2px solid #93c5fd;outline-offset:2px}
.drive-files-scroll-region .collection-footer{position:relative;z-index:1;background:inherit;padding-top:10px}
.drive-files-scroll-region .drive-file-list[data-view=table]{overflow:clip!important}
.drive-files-scroll-region .drive-file-list[data-view=table] .drive-file-table-head{
  position:sticky!important;
  top:0!important;
  z-index:8!important;
}
@media (min-width:901px){
  .drive-files-section{
    height:clamp(360px,62dvh,760px)!important;
    max-height:clamp(360px,62dvh,760px)!important;
  }
}
@media (max-width:900px){
  .drive-files-section{height:auto!important;max-height:none!important;overflow:visible!important}
  .drive-files-scroll-region{max-height:min(68dvh,720px);overflow:auto!important}
}

/* FCFW 1.0.128 hierarchical Project Drive tree */
.drive-folder-tree{margin-top:14px;min-height:0;max-height:min(47dvh,560px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 3px 8px}.drive-folder-tree .drive-sidebar-heading{position:sticky;top:0;z-index:4;background:#08111c;padding:8px 4px}.drive-tree-level{list-style:none;margin:0;padding:0 0 0 13px;border-left:1px solid #d9e3ef}.drive-folder-tree>.drive-tree-level{padding-left:4px;border-left:0}.drive-tree-node{list-style:none;margin:2px 0;padding:0}.drive-tree-branch>summary{display:flex;align-items:center;gap:2px;list-style:none;min-width:0}.drive-tree-branch>summary::-webkit-details-marker{display:none}.drive-tree-caret{display:inline-grid;place-items:center;width:18px;height:18px;flex:0 0 18px;color:#64748b;font-weight:900;transition:transform .16s ease}.drive-tree-branch[open]>summary .drive-tree-caret{transform:rotate(90deg)}.drive-folder-tree .drive-drop-destination{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 8px;border-radius:9px;text-decoration:none;color:#25364f;background:transparent;border:1px solid transparent}.drive-folder-tree .drive-drop-destination b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-folder-tree .drive-drop-destination:hover,.drive-folder-tree .drive-drop-destination.active{background:#eaf2ff;color:#123d73;border-color:#c5d8f1}.drive-folder-tree .drive-drop-destination.drive-drop-over{background:#fff4cf!important;border-color:#e7b84c!important}.drive-tree-root{margin-bottom:5px;font-weight:900}

/* FCFW 1.0.128 — destination-folder creation inside upload workflows. */
.drive-upload-destination{display:grid;gap:8px;flex:1 1 100%;min-width:min(100%,420px)}
.drive-upload-destination label{display:grid!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important;cursor:default!important}
.drive-upload-destination select{width:100%;min-width:0}
.drive-upload-destination .folder-create-panel{display:grid;gap:7px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#172b48}
.drive-upload-destination .folder-create-panel[hidden]{display:none!important}
.drive-upload-destination .folder-create-panel>div{display:flex;gap:7px;flex-wrap:wrap}
.drive-upload-destination .folder-create-panel input{flex:1 1 240px;min-width:0}
.drive-upload-destination .folder-create-panel small{color:#607089}


/* FCFW 1.0.128 — clean Project Drive ingestion workspace. */
.drive-ingest-panel{
  display:grid;gap:14px;margin:0 0 16px;padding:16px;
  border:1px solid #ffffff18;border-radius:18px;background:#08111caa;
  box-shadow:0 12px 35px #0002;
}
.drive-ingest-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.drive-ingest-head h2{margin:.15rem 0 .2rem}.drive-ingest-head p{margin:0;color:#94a3b8;font-size:12px}
.drive-ingest-destination{display:grid;gap:8px;padding:12px;border:1px solid #ffffff14;border-radius:14px;background:#0b1623}
.drive-ingest-destination>label{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:0;border:0;background:transparent;cursor:default}
.drive-ingest-destination>label>span{font-size:12px;font-weight:850;color:#dbeafe}
.drive-ingest-destination select{width:100%;min-width:0}
.drive-ingest-destination .folder-create-panel{display:grid;gap:7px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#172b48}
.drive-ingest-destination .folder-create-panel[hidden]{display:none!important}
.drive-ingest-destination .folder-create-panel>div{display:flex;gap:7px;flex-wrap:wrap}
.drive-ingest-destination .folder-create-panel input{flex:1 1 260px;min-width:0}
.drive-ingest-actions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:12px}
.drive-ingest-card{display:grid!important;align-content:start;gap:14px!important;padding:15px!important;margin:0!important;border:1px solid #ffffff16!important;border-radius:15px!important;background:#0b1623!important;min-width:0}
.drive-ingest-card-copy{display:flex;gap:12px;align-items:flex-start}.drive-ingest-card-copy>div{display:grid;gap:4px;min-width:0}
.drive-ingest-card-copy strong{font-size:15px;color:#fff}.drive-ingest-card-copy small{color:#94a3b8;line-height:1.45}
.drive-ingest-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#12345a;color:#dbeafe;font-size:20px;font-weight:900}
.drive-ingest-file-picker{display:grid!important;gap:7px!important;padding:12px!important;border:1px dashed #ffffff2b!important;border-radius:12px!important;background:#ffffff04!important;cursor:pointer!important}
.drive-ingest-file-picker span{font-size:11px!important;font-weight:850;color:#cbd5e1!important}
.drive-ingest-file-picker input[type=file]{margin:0!important;width:100%}
.drive-ingest-card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.drive-ingest-transfer .drive-ingest-card-actions{margin-top:auto}
.drive-ingest-panel.drive-upload-hover{outline:2px solid #60a5fa;outline-offset:2px;background:#0a1827}
@media(max-width:900px){
  .drive-ingest-actions{grid-template-columns:1fr}
  .drive-ingest-destination>label{grid-template-columns:1fr}
}

/* FCFW 1.0.150 — Drive text/intelligence contrast + reversible privacy controls */
.signed-in .file-intelligence-panel{background:#fff!important;color:#111827!important;border:1px solid #c9d5e3!important;box-shadow:0 8px 26px rgba(15,23,42,.08)!important}.signed-in .file-intelligence-head h2,.signed-in .file-intelligence-head p,.signed-in .file-intelligence-progress strong,.signed-in .file-intelligence-progress span,.signed-in .file-intelligence-progress small,.signed-in .file-intelligence-stats span,.signed-in .file-intelligence-find{color:#111827!important}.signed-in .file-intelligence-head p,.signed-in .file-intelligence-progress small{color:#53657a!important}.signed-in .file-intelligence-badge{background:#e8f4ff!important;border-color:#91c5f3!important;color:#123f6f!important}.signed-in .file-intelligence-progress{background:#f6f9fc!important;border-color:#d7e1ec!important}.signed-in .file-intelligence-stats span{background:#eef4fa!important;color:#243b55!important}.signed-in .file-intelligence-find input{background:#fff!important;color:#111827!important;border-color:#aebfd1!important}.signed-in .file-intelligence-text{background:#fff!important;color:#111827!important;border-color:#c8d4e1!important}.plain-text-frame{background:#fff!important;color:#111827!important;border:1px solid #c8d4e1!important}.internal-file-privacy{background:#fff!important;border-color:#cbd8e6!important}.internal-file-privacy :is(h2,p,label,small,strong,span){color:#172b48!important}.privacy-current{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eaf3ff;color:#17477f!important;font-weight:850;font-size:11px}.internal-privacy-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.internal-privacy-form>label,.privacy-mode-extra label{display:grid;gap:6px;font-size:12px;font-weight:800}.internal-privacy-form :is(input,select){width:100%;background:#fff!important;color:#111827!important;border:1px solid #b8c7d8!important;border-radius:10px;padding:10px}.privacy-mode-extra{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #d8e2ed;border-radius:12px;background:#f7faff}.privacy-mode-extra[hidden]{display:none!important}.internal-privacy-form button[type=submit]{justify-self:start}.urlintel-drive-history{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.urlintel-drive-history>div{display:grid;gap:3px;padding:10px;border:1px solid #d7e2ee;border-radius:10px;background:#f8fbff}.urlintel-drive-history strong{color:#142f50;font-size:13px}.urlintel-drive-history span{color:#66778c;font-size:10px}.urlintel-drive-record-details{margin-top:12px;padding:10px 12px;border:1px solid #d7e2ee;border-radius:11px;background:#fff;color:#172b48}.urlintel-drive-record-details summary{cursor:pointer;font-weight:850;color:#173f73}.urlintel-observation-mini-list{display:grid;gap:6px;margin-top:10px}.urlintel-observation-mini-list a{display:flex;justify-content:space-between;gap:10px;padding:7px 9px;border-radius:8px;background:#f5f8fc;color:#173252;text-decoration:none}.public-url-evidence{border-top:1px solid #ffffff18}.public-url-evidence .metric-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.public-url-evidence .metric-chip{display:inline-flex;gap:5px;padding:7px 9px;border-radius:999px;background:#ffffff10;border:1px solid #ffffff22;color:var(--share-text)}@media(max-width:760px){.internal-privacy-form,.privacy-mode-extra{grid-template-columns:1fr}.urlintel-drive-history{grid-template-columns:1fr 1fr}}

.urlintel-associated-content{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;padding:11px;border:1px solid #cfe0ef;border-radius:11px;background:#f5faff}.urlintel-associated-content>div:first-child{display:grid;gap:3px}.urlintel-associated-content small{color:#60748b}.urlintel-observation-mini{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.mini-artifact-links{display:flex;gap:5px}.mini-artifact-links a{padding:4px 6px;border:1px solid #cbd9e8;border-radius:7px;background:#fff;color:#17477f;font-size:10px;text-decoration:none}.public-url-evidence-content>.public-file-viewer{min-height:240px;margin-top:14px;border-radius:14px;overflow:hidden}.public-url-evidence-content>.public-file-viewer iframe{width:100%;height:70vh;border:0;background:#fff}@media(max-width:700px){.urlintel-associated-content{align-items:flex-start;flex-direction:column}.urlintel-observation-mini{grid-template-columns:1fr}.mini-artifact-links{flex-wrap:wrap}}
.signed-in .mini-metric-values{display:flex;flex-wrap:wrap;gap:.35rem .5rem;margin-top:.35rem;color:#374151;font-size:.8rem}.signed-in .mini-metric-values span{display:inline-flex;gap:.25rem;align-items:center;padding:.18rem .42rem;border:1px solid #dbe3ee;border-radius:999px;background:#f8fafc;color:#111827}.signed-in .mini-metric-values b{font-weight:700;color:#334155}
.public-url-history{margin-top:1rem;border-top:1px solid #d8e2ee;padding-top:.85rem}.public-url-history h3{margin:0 0 .6rem;color:#111827}.public-url-history article{display:grid;gap:.45rem;padding:.65rem 0;border-top:1px solid #e5e7eb}.public-url-history article:first-of-type{border-top:0}.public-url-history article>div:first-child{display:flex;flex-wrap:wrap;gap:.4rem .75rem;align-items:center;color:#111827}.public-url-history article>div:first-child span{color:#475569;font-size:.85rem}.public-url-history-metrics{display:flex;flex-wrap:wrap;gap:.35rem}.public-url-history-metrics span{display:inline-flex;gap:.25rem;padding:.2rem .45rem;border:1px solid #dbe3ee;border-radius:999px;background:#f8fafc;color:#111827;font-size:.8rem}.public-url-history-metrics b{color:#334155}


/* FCFW 1.0.153 — Project Drive color system + mobile-safe horizontal table scrolling. */
.signed-in .drive-shell{--drive-blue:#1767a5;--drive-cyan:#0e7490;--drive-violet:#6d4cc4;--drive-amber:#b86b13;--drive-green:#18794e}
.signed-in .drive-sidebar{background:linear-gradient(180deg,#f4f8ff 0%,#f8f5ff 48%,#f4fbff 100%)!important;border-color:#cbdcf0!important;box-shadow:0 14px 36px rgba(31,73,125,.10)!important}
.signed-in .drive-main>.drive-section,.signed-in .drive-files-section{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 72%,#f8f7ff 100%)!important;border-color:#cadced!important}
.signed-in .drive-toolbar{padding:12px 14px!important;border:1px solid #d7e4f2!important;border-radius:15px;background:linear-gradient(105deg,#eef7ff,#f5f0ff 54%,#eefcff)!important;margin-bottom:12px}
.signed-in .drive-folder-card:nth-child(5n+1),.signed-in .drive-file-row:nth-child(5n+1){border-left:4px solid var(--drive-blue)!important}
.signed-in .drive-folder-card:nth-child(5n+2),.signed-in .drive-file-row:nth-child(5n+2){border-left:4px solid var(--drive-cyan)!important}
.signed-in .drive-folder-card:nth-child(5n+3),.signed-in .drive-file-row:nth-child(5n+3){border-left:4px solid var(--drive-violet)!important}
.signed-in .drive-folder-card:nth-child(5n+4),.signed-in .drive-file-row:nth-child(5n+4){border-left:4px solid var(--drive-amber)!important}
.signed-in .drive-folder-card:nth-child(5n),.signed-in .drive-file-row:nth-child(5n){border-left:4px solid var(--drive-green)!important}
.signed-in .drive-files-scroll-region{background:linear-gradient(135deg,rgba(237,247,255,.62),rgba(248,245,255,.54))!important;border:1px solid #d9e7f4;padding:7px!important}
@media(max-width:900px){
  .signed-in .drive-main{overflow-x:hidden!important}
  .signed-in .drive-files-scroll-region{overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges}
  .signed-in .drive-files-scroll-region .drive-file-list[data-view=table]{min-width:1080px!important;width:max-content!important;max-width:none!important;overflow:visible!important}
  .signed-in .drive-files-scroll-region .drive-file-list[data-view=table] .drive-file-table-head,
  .signed-in .drive-files-scroll-region .drive-file-list[data-view=table] .drive-file-row{min-width:1080px!important}
}

/* FCFW 1.0.155 — never embed dead Drive storage paths. */
.missing-storage{display:grid;place-items:center;align-content:center;gap:9px;min-height:220px;padding:28px;text-align:center;border:1px dashed #c7d2e2;border-radius:16px;background:#f8fafc;color:#172033}.missing-storage>span{font-size:11px;font-weight:950;letter-spacing:.12em;color:#b45309}.missing-storage h2{margin:0;max-width:760px}.missing-storage p{max-width:760px;margin:0;color:#526176}.button.disabled{opacity:.58;pointer-events:none}.urlintel-content-missing{border-color:#f0c36d;background:linear-gradient(135deg,#fffaf0,#fff7ed)}


/* FCFW 1.0.163 — intent-first Drive cards and genuinely multi-column visual modes. */
.drive-file-list[data-view="grid"],.drive-file-list[data-view="gallery"]{display:grid!important;width:100%!important;align-items:stretch!important}
.drive-file-list[data-view="grid"] .drive-file-row,.drive-file-list[data-view="gallery"] .drive-file-row{width:100%!important;min-width:0!important;max-width:none!important;align-content:start!important}
.drive-file-list[data-view="grid"] .drive-file-name,.drive-file-list[data-view="gallery"] .drive-file-name{min-width:0!important;overflow:hidden}
.drive-file-list[data-view="grid"] .drive-file-title-line>a,.drive-file-list[data-view="gallery"] .drive-file-title-line>a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1280px){.drive-file-list[data-view="grid"],.drive-file-list[data-view="gallery"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:701px) and (max-width:1279px){.drive-file-list[data-view="grid"],.drive-file-list[data-view="gallery"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.drive-file-list[data-view="grid"],.drive-file-list[data-view="gallery"]{grid-template-columns:minmax(0,1fr)!important}}
[data-drive-ajax-root].drive-loading{opacity:.68;pointer-events:none;transition:opacity .12s ease}
[data-drive-ajax-root].drive-loading::before{content:'Loading Drive…';position:sticky;top:6px;z-index:50;display:block;width:max-content;margin:0 auto -34px;padding:7px 12px;border-radius:999px;background:#173f73;color:#fff;font-size:11px;font-weight:900;box-shadow:0 6px 20px rgba(15,23,42,.2)}


/* R17 public Drive file comments */
.public-file-comments{display:grid;gap:18px;width:min(1280px,calc(100% - 28px));margin:22px auto 28px}.public-file-comments-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.public-file-comments-head h2{margin:.25rem 0 .35rem}.public-file-comments-head p{margin:0;max-width:820px;color:#5c6b76}.public-file-comment-count{white-space:nowrap;padding:7px 10px;border:1px solid #d4dde4;border-radius:999px;background:#f7fafc;color:#173c58;font-size:12px;font-weight:900}.public-file-comment-list{display:grid;gap:10px}.public-file-comment{padding:14px 15px;border:1px solid #dbe3e9;border-radius:14px;background:#fff}.public-file-comment header{display:flex;justify-content:space-between;gap:12px;align-items:center}.public-file-comment time{font-size:11px;color:#6b7780}.public-file-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0}.public-file-comment-moderate{margin-top:10px;padding:6px 10px;border:1px solid #e1b2b2;border-radius:9px;background:#fff5f5;color:#8e3030;font-weight:800;cursor:pointer}.public-file-comments-empty{padding:16px;border:1px dashed #cbd7df;border-radius:13px;background:#f8fafb;color:#5c6b76}.public-file-comment-form{display:grid;gap:12px;padding:16px;border:1px solid #d4dde4;border-radius:16px;background:#f8fafb}.public-file-comment-form label{display:grid;gap:6px;font-weight:800;color:#243746}.public-file-comment-form input,.public-file-comment-form textarea{width:100%;padding:11px 12px;border:1px solid #cbd6de;border-radius:10px;background:#fff;color:#14212b;font:inherit}.public-file-comment-form button[type=submit]{justify-self:start;padding:10px 16px;border:0;border-radius:10px;background:#173c58;color:#fff;font-weight:900;cursor:pointer}.public-file-comment-captcha{max-width:360px}@media(max-width:640px){.public-file-comments-head{display:grid}.public-file-comment-count{justify-self:start}.public-file-comment header{display:grid;gap:2px}}


/* FCFW R30 · lazy Drive action hydration */
.drive-action-loading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px dashed #c9d5e3;border-radius:10px;background:#f8fafc;color:#526171;font-size:12px}
.drive-action-loading.error{border-color:#e6b9b9;background:#fff7f7;color:#8b2d2d}

/* R32 Drive popup sharing controls: present immediately, initialize on demand. */
.fcfw-drive-action-layer .embedded-share-control{margin-top:6px;border-top:0;padding-top:0;background:transparent}
.fcfw-drive-action-layer .embedded-share-control .file-share-form{margin-top:0}

/* FCFW R33 — compact, scrollable Drive controls popup. */
.fcfw-drive-action-layer{gap:8px!important;padding:10px!important;border-radius:12px!important;box-shadow:0 18px 54px rgba(15,23,42,.24)!important;scrollbar-gutter:stable!important}
.fcfw-drive-action-layer .drive-action-sheet-head{position:sticky!important;top:-10px!important;z-index:6!important;margin:-10px -10px 0!important;padding:9px 10px 8px!important;background:#fff!important;border-bottom:1px solid #e1e7ef!important}
.fcfw-drive-action-layer .drive-action-sheet-head strong{font-size:12px!important}.fcfw-drive-action-layer .drive-action-sheet-head small{font-size:9px!important}.fcfw-drive-action-layer .drive-action-close{width:28px!important;height:28px!important;font-size:18px!important}
.fcfw-drive-action-layer .drive-action-quick{gap:5px!important}.fcfw-drive-action-layer .drive-action-quick .button{padding:5px 8px!important;font-size:9px!important}
.fcfw-drive-action-layer .drive-action-tabs{gap:3px!important;padding:3px!important;border-radius:9px!important}.fcfw-drive-action-layer .drive-action-tabs button{padding:7px 5px!important;border-radius:7px!important;font-size:10px!important}
.fcfw-drive-action-layer .drive-action-view{gap:7px!important}.fcfw-drive-action-layer .drive-action-view>form{gap:7px!important}.fcfw-drive-action-layer .drive-action-view label{gap:3px!important;font-size:10px!important}.fcfw-drive-action-layer .drive-action-view :is(input,select,textarea){padding:7px 8px!important;border-radius:8px!important;font-size:11px!important}
.fcfw-drive-action-layer .embedded-share-control{margin-top:0!important;padding-top:0!important}.fcfw-drive-action-layer .file-share-control{padding:7px!important;border-radius:9px!important}.fcfw-drive-action-layer .file-share-form{gap:7px!important;margin-top:0!important}.fcfw-drive-action-layer .file-share-form label{gap:3px!important;font-size:10px!important}.fcfw-drive-action-layer .file-share-form small{font-size:9px!important;line-height:1.25!important;color:#66768b!important}.fcfw-drive-action-layer .file-share-selected{min-height:86px!important;max-height:150px!important}.fcfw-drive-action-layer .file-share-link{gap:5px!important}.fcfw-drive-action-layer .file-share-secondary-actions{gap:5px!important}.fcfw-drive-action-layer button[type=submit]{padding:7px 10px!important;font-size:10px!important}
@media(max-width:720px){.fcfw-drive-action-layer{max-height:76vh!important}.fcfw-drive-action-layer .drive-action-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
