/* V959 — Native Information attachment workspace, matching ATOSY navy. */
.info-drive-v959{display:grid;gap:14px;min-width:0;width:100%;box-sizing:border-box;padding:18px 20px 20px;color:#e5f3ff;font:500 13px/1.5 system-ui,sans-serif}
.info-drive-toolbar-v959{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.info-drive-heading-v959{display:grid;gap:2px}
.info-drive-heading-v959 strong{font-size:14px;color:#f2faff}
.info-drive-heading-v959 small{font-size:11px;color:#aac8e3}
.info-drive-heading-v959 small[data-error="1"]{color:#ffc18d}
.info-drive-actions-v959{display:flex;gap:8px;align-items:center}
.info-drive-v959 button,.info-drive-v959 .info-drive-folder-v959 a{border:1px solid rgba(88,165,229,.55);border-radius:10px;background:rgba(14,82,139,.62);color:#e9f7ff;padding:7px 12px;font:650 12px/1.35 system-ui,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.info-drive-v959 button:hover,.info-drive-v959 .info-drive-folder-v959 a:hover{background:rgba(22,139,199,.5);border-color:#66d5ff}
.info-drive-v959 button:focus-visible{outline:2px solid #70dfff;outline-offset:2px}
.info-drive-folder-v959{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;background:rgba(5,25,56,.38);border:1px solid rgba(86,137,193,.28);border-radius:10px;padding:10px 12px}
.info-drive-folder-v959>span{font-size:11px;color:#9ebfdf;overflow-wrap:anywhere}
.info-drive-list-v959{display:grid;gap:6px;min-height:44px}
.info-drive-empty-v959{color:#9cbddd;padding:12px;border-radius:10px;background:rgba(10,33,66,.35)}
.info-drive-file-v959{display:grid;grid-template-columns:27px minmax(0,1fr) auto auto auto;gap:7px;align-items:center;min-width:0;padding:9px 10px;background:rgba(10,41,80,.57);border:1px solid rgba(87,149,206,.29);border-radius:11px}
.info-drive-file-icon-v959{font-size:19px;color:#78d7ff;text-align:center}
.info-drive-file-name-v959{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:650}
.info-drive-file-v959 small{color:#9bb6d3}
.info-drive-file-v959 button{padding:6px 8px}
.info-drive-preview-overlay-v959{position:fixed;inset:0;z-index:100050;display:grid;place-items:center;padding:24px;background:rgba(0,8,25,.75);backdrop-filter:blur(6px)}
.info-drive-preview-dialog-v959{display:flex;flex-direction:column;width:min(1000px,96vw);height:min(82vh,880px);min-height:280px;border-radius:17px;background:#0b2852;border:1px solid #3e80b7;box-shadow:0 25px 70px rgba(0,0,0,.45);color:#eff8ff;overflow:hidden}
.info-drive-preview-dialog-v959 header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid #345c87}
.info-drive-preview-dialog-v959 header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info-drive-preview-dialog-v959 button{padding:8px 13px;border-radius:9px;border:1px solid #4e91cc;background:#174a7c;color:#fff;cursor:pointer}
.info-drive-preview-dialog-v959 header button{font-size:20px;padding:2px 11px}
.info-drive-preview-content-v959{flex:1;min-height:0;overflow:auto;padding:12px}
.info-drive-preview-content-v959 iframe,.info-drive-preview-content-v959 img{width:100%;height:100%;border:0;object-fit:contain}
.info-drive-preview-content-v959 textarea{width:100%;height:100%;resize:none;box-sizing:border-box;outline:none;border:1px solid #457caf;border-radius:10px;padding:16px;background:#092245;color:#fff;font:13px/1.7 ui-monospace,monospace}
.info-drive-preview-content-v959 pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace}
.info-drive-preview-dialog-v959 footer{display:flex;gap:8px;justify-content:flex-end;padding:12px 18px;border-top:1px solid #345c87}
@media(max-width:700px){.info-drive-v959{padding:14px 12px 16px;gap:12px}.info-drive-toolbar-v959{align-items:flex-start}.info-drive-file-v959{grid-template-columns:26px minmax(0,1fr) auto auto}.info-drive-file-v959 small{display:none}.info-drive-v959{font-size:12px}}

/* V962 — Separate legacy reference from ERP-managed OAuth workspace. */
.info-drive-sources-v962{display:grid;gap:16px;min-width:0;width:100%;box-sizing:border-box;padding:18px 20px 20px}
.info-drive-sources-v962>section{min-width:0;border:1px solid rgba(78,151,211,.48);border-radius:16px;overflow:hidden;background:rgba(7,31,67,.42)}
.info-drive-source-title-v962{display:grid;gap:3px;padding:13px 20px;background:rgba(42,95,157,.27);border-bottom:1px solid rgba(77,139,198,.34);color:#edf7ff}
.info-drive-source-title-v962 strong{font:700 14px/1.4 system-ui,sans-serif}
.info-drive-source-title-v962 small{font:500 11px/1.5 system-ui,sans-serif;color:#a7c8e7}
.info-drive-legacy-body-v962{padding:16px 20px;display:flex;align-items:center;min-height:36px;min-width:0}
.info-drive-legacy-link-v962{color:#8ad8ff;font:600 12px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;text-decoration:none}
.info-drive-legacy-link-v962:hover{text-decoration:underline;color:#c9f0ff}
.info-drive-legacy-link-v962:focus-visible{outline:2px solid #70dfff;outline-offset:4px}
.info-drive-legacy-empty-v962{color:#9cbddd;font:500 12px/1.5 system-ui,sans-serif}
@media(max-width:700px){.info-drive-source-title-v962{padding:12px}.info-drive-legacy-body-v962{padding:14px 12px}.info-drive-sources-v962{gap:12px;padding:14px 12px 16px}}

/* V963: native file picker trigger works without a synthetic click. */
.info-drive-v959 .info-drive-upload-label-v963{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(88,165,229,.55);border-radius:10px;background:rgba(14,82,139,.62);color:#e9f7ff;padding:7px 12px;font:650 12px/1.35 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.info-drive-v959 .info-drive-upload-label-v963:hover{background:rgba(22,139,199,.5);border-color:#66d5ff}
.info-drive-v959 .info-drive-upload-label-v963:focus-within{outline:2px solid #70dfff;outline-offset:2px}
.info-drive-file-input-v963{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}

/* V964: input occupies the actual button surface, producing a trusted native picker click in Electron. */
.info-drive-v959 .info-drive-upload-label-v963{position:relative;overflow:hidden;isolation:isolate}
.info-drive-v959 .info-drive-upload-label-v963 .info-drive-file-input-v963{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;pointer-events:auto!important;z-index:2!important;font-size:100px!important}
.info-drive-v959 .info-drive-upload-label-v963:focus-within{outline:2px solid #70dfff;outline-offset:2px}
.info-drive-v959 .info-drive-upload-label-v963 .info-drive-file-input-v963::file-selector-button{cursor:pointer!important}
.info-drive-v959 .info-drive-upload-label-v963 .info-drive-file-input-v963::-webkit-file-upload-button{cursor:pointer!important}
/* V933: the transparent native file input covers the whole upload control.
   Its UA file-selection button must inherit the hand cursor, not the default arrow. */

/* V968 — Inline rename editor, matching ATOSY spacing and avoiding OS dialogs. */
.info-drive-v959 .info-drive-rename-editor-v968{grid-column:1/-1;display:flex;align-items:center;gap:9px;min-width:0;margin-top:7px;padding:10px;border:1px solid rgba(104,185,244,.38);border-radius:10px;background:rgba(6,31,65,.7)}
.info-drive-v959 .info-drive-rename-input-v968{box-sizing:border-box;flex:1;min-width:0;width:100%;height:34px;padding:7px 10px;border:1px solid #579bd4;border-radius:8px;color:#f1f9ff;background:#092a55;font:500 12px/1.4 system-ui,sans-serif;outline:none}
.info-drive-v959 .info-drive-rename-input-v968:focus{border-color:#80d5ff;box-shadow:0 0 0 2px rgba(66,187,245,.17)}
.info-drive-v959 .info-drive-rename-editor-v968 button{flex-shrink:0;min-width:48px;height:34px;padding:6px 12px}
.info-drive-v959 .info-drive-rename-editor-v968 button[type=submit]{border-color:#38bfff;background:#126ab5}
.info-drive-v959 .info-drive-rename-editor-v968 button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.info-drive-v959 .info-drive-rename-editor-v968{flex-wrap:wrap}.info-drive-v959 .info-drive-rename-input-v968{flex-basis:100%}}

/* V972 — Preview zoom / copy toolbar. Scoped to Drive preview only. */
.info-drive-preview-dialog-v959 .info-drive-preview-image-header-v972{display:flex;align-items:center;gap:12px;min-height:64px;flex-wrap:wrap}
.info-drive-preview-image-header-v972>strong{flex:1 1 220px;min-width:0;font-size:14px}
.info-drive-preview-image-header-v972>button{order:3}
.info-drive-preview-tools-v972{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-left:auto}
.info-drive-preview-dialog-v959 .info-drive-preview-tools-v972 button{min-width:35px;width:auto;min-height:32px;height:32px;padding:5px 9px;border-radius:8px;font-size:12px;font-weight:650;line-height:1}
.info-drive-preview-dialog-v959 .info-drive-preview-tools-v972 button:disabled{opacity:.55;cursor:wait}
.info-drive-preview-zoom-v972{display:inline-flex;align-items:center;justify-content:center;min-width:70px;color:#bcd9f3;font:600 12px/1.3 system-ui,sans-serif}
.info-drive-preview-image-area-v972{overflow:auto!important;padding:14px!important}
.info-drive-preview-image-stage-v972{display:flex;justify-content:center;align-items:center;min-width:100%;min-height:100%;width:max-content;height:max-content}
.info-drive-preview-content-v959 .info-drive-preview-image-stage-v972 img{display:block;flex:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:700px){.info-drive-preview-dialog-v959 .info-drive-preview-image-header-v972{gap:8px;padding:10px 12px}.info-drive-preview-image-header-v972>strong{flex-basis:100%}.info-drive-preview-tools-v972{margin-left:0}.info-drive-preview-dialog-v959 .info-drive-preview-tools-v972 button{min-height:32px}}

/* V972 polish: match the scrollbars' intersection to the dark preview surface. */
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959{
  background-color:#0c2b54;
  scrollbar-color:#366895 #0c2b54;
}
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959::-webkit-scrollbar-corner{
  background:#0c2b54;
}
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959::-webkit-scrollbar-track{
  background:#0c2b54;
}
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959::-webkit-scrollbar-thumb{
  background:#366895;
  border-radius:8px;
}

/* V1110 — Information (A) Drive attachment drop target and transfer progress. */
.info-drive-v959 .info-drive-dropzone-v1110{
 display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;
 padding:13px 15px;border:1px dashed #528dc3;border-radius:13px;
 background:#0d315e;color:#c6def3;font:550 12px/1.5 system-ui,sans-serif;
 transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.info-drive-v959 .info-drive-dropzone-icon-v1110{
 display:inline-grid;place-items:center;border-radius:9px;min-width:28px;height:28px;
 background:#1a5791;color:#d8f4ff;font-size:21px;
}
.info-drive-v959 .info-drive-dropzone-v1110 strong{color:#f2f9ff}
.info-drive-v959 .info-drive-dropzone-v1110 small{
 color:#9fc4e5;font-size:11px;flex-basis:100%;padding-left:38px;
}
.info-drive-v959 .info-drive-dropzone-v1110.is-dragover-v1110{
 border-color:#83e5ff;background:#154a7a;
 box-shadow:inset 0 0 0 1px #83e5ff,0 0 16px rgba(56,185,255,.2);
}
.info-drive-v959 .info-drive-transfer-v1110{
 display:grid;gap:6px;padding:10px 12px;border:1px solid #427bb0;
 border-radius:11px;background:#103560;color:#ceeaff;font:550 11px/1.4 system-ui,sans-serif;
}
.info-drive-v959 .info-drive-transfer-v1110[hidden]{display:none!important}
.info-drive-v959 .info-drive-transfer-header-v1110{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.info-drive-v959 .info-drive-transfer-header-v1110 strong{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.info-drive-v959 .info-drive-transfer-v1110 progress{
 width:100%;height:8px;accent-color:#37bdf8;
}
.info-drive-v959 .info-drive-transfer-v1110 small{color:#adcee8}
.info-drive-v959 .info-drive-transfer-v1110 button[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
 .info-drive-v959 .info-drive-dropzone-v1110{transition:none}
}

/* V1208 — Every edge of an enlarged image must be reachable.
   Center a fitted image with auto margins on the image itself, never with
   centered flex alignment on the overflow-sized scroll stage: the latter
   creates inaccessible negative scroll overflow at the top/left edges. */
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959.info-drive-preview-image-area-v972{
  display:block!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  min-width:0;
  min-height:0;
}
.info-drive-preview-dialog-v959 .info-drive-preview-image-stage-v972,
.info-drive-preview-dialog-v959.is-design-edit-split-v1148 .info-drive-preview-image-stage-v972{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  box-sizing:content-box!important;
  width:max-content!important;
  height:max-content!important;
  min-width:100%!important;
  min-height:100%!important;
  margin:0!important;
}
.info-drive-preview-dialog-v959 .info-drive-preview-image-stage-v972 > img{
  display:block!important;
  flex:0 0 auto!important;
  margin:auto!important;
  max-width:none!important;
  max-height:none!important;
}

/* V1209: canonical two-line Design identity in image preview header. */
.info-drive-preview-dialog-v959 .info-drive-preview-image-header-v972 > .info-drive-preview-identity-v1209 {
 flex:1 1 280px;min-width:0;display:flex;flex-direction:column;justify-content:center;
 gap:3px;overflow:hidden;
}
.info-drive-preview-dialog-v959 .info-drive-preview-identity-v1209 > strong{
 font-size:15px;font-weight:750;line-height:1.25;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.info-drive-preview-dialog-v959 .info-drive-preview-identity-v1209 > small {
 display:block;max-width:100%;font-size:11px;line-height:1.4;
 color:#a9cbe7;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.info-drive-preview-dialog-v959 .info-drive-preview-identity-v1209 {
 min-width:0;
}
@media(max-width:700px) {
 .info-drive-preview-dialog-v959 .info-drive-preview-image-header-v972 > .info-drive-preview-identity-v1209{
  flex-basis:100%;
 }
}

/* V1220 — White matte for transparent PNG/WebP/GIF in the shared image viewer.
   Opaque source backgrounds remain unchanged; no image data is modified. */
.info-drive-preview-dialog-v959 .info-drive-preview-image-stage-v972 > img,
.info-drive-preview-dialog-v959 .info-drive-preview-content-v959 > img{
  background-color:#fff!important;
}

/* V1229 — Unrelated actions are visibly disabled during crop selection. */
.info-drive-preview-dialog-v959.is-cropping-v1229 button:disabled{
 opacity:.34!important;filter:grayscale(1)!important;cursor:not-allowed!important;
 pointer-events:none!important;box-shadow:none!important;
}

/* V1233 — Unified rounded controls within the shared image preview only.
   Pill-shaped text actions and circular compact +/-/close buttons. */
.info-drive-preview-dialog-v959 button{
  border-radius:999px!important;
}
.info-drive-preview-dialog-v959 .info-drive-preview-tools-v972 button,
.info-drive-preview-dialog-v959 header > button[aria-label="Đóng xem tệp"]{
  border-radius:999px!important;
}
.info-drive-preview-dialog-v959 .info-drive-crop-menu-v1226{
  border-radius:16px!important;
  overflow:visible;
}
.info-drive-preview-dialog-v959 .info-drive-crop-menu-v1226 button{
  border-radius:999px!important;
}

/* V1236 — Canonical representative image in attached Drive files. */
.info-drive-v959 [data-drive-action="set-cover"]{
  border-radius:999px!important;
  white-space:nowrap;
  border:1px solid #5aa8d7;
  background:#194c79;color:#e2f5ff;
  padding:6px 10px;
  cursor:pointer;
}
.info-drive-v959 [data-drive-action="set-cover"][aria-pressed="true"]{
  border-color:#72d3f5;background:#166788;color:#fff;font-weight:750;
}
.info-drive-v959 .info-drive-cover-auto-v1236{
  display:inline-flex;align-items:center;padding:5px 8px;
  color:#a4e2fa;font-size:12px;white-space:nowrap;
}

/* V1236 — Provide an explicit grid column for the optional cover control. */
.info-drive-v959 .info-drive-file-v959{
  grid-template-columns:27px minmax(0,1fr) auto auto auto auto;
}
@media(max-width:700px){
  .info-drive-v959 .info-drive-file-v959{
    grid-template-columns:26px minmax(0,1fr) auto auto auto;
  }
}

/* V1248 — Crop popup is a sibling of the preview dialog (not a descendant):
   it paints above the split comments pane with its own opaque surface. */
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226{
  box-sizing:border-box!important;
  display:flex;
  flex-direction:column;
  position:fixed!important;
  z-index:100200!important;
  padding:7px!important;
  gap:5px!important;
  min-width:200px;
  background:#0b2d56!important;
  background-color:#0b2d56!important;
  opacity:1!important;
  border:1px solid #58a4db!important;
  border-radius:16px!important;
  box-shadow:0 16px 38px rgba(0,8,25,.75)!important;
  overflow:hidden!important;
}
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226[style*="display:none"]{
  display:none!important;
}
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226 > button{
  box-sizing:border-box;
  display:block;
  width:100%;
  padding:9px 12px;
  border:1px solid #5298ca!important;
  border-radius:999px!important;
  background:#194b7b!important;
  background-color:#194b7b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-align:left;
  font:650 12px/1.3 Inter,system-ui,sans-serif;
  opacity:1;
  cursor:pointer;
}
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226 > button:hover:not(:disabled),
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226 > button:focus-visible:not(:disabled){
  background:#246fa9!important;
  border-color:#79ccfb!important;
}
.info-drive-preview-overlay-v959 > .info-drive-crop-menu-v1226 > button:disabled{
  opacity:.48!important;
  cursor:not-allowed;
}

/* V1597 — Detached files remain recoverable within the Information attachment tab. */
.info-drive-v959 .info-drive-file-v959{
  grid-template-columns:27px minmax(0,1fr) repeat(5,auto);
}
.info-drive-v959 .info-drive-detached-v1597{
  padding:8px 10px;
  border:1px solid rgba(91,158,219,.35);
  border-radius:11px;
  background:rgba(6,33,67,.45);
}
.info-drive-v959 .info-drive-detached-v1597 summary{
  cursor:pointer;color:#a7c9ee;font-weight:650;padding:4px 0;
}
.info-drive-v959 .info-drive-detached-v1597 .info-drive-file-v959{
  margin-top:7px;grid-template-columns:27px minmax(0,1fr) auto auto;
}
.info-drive-v959 [data-drive-action="detach"]{color:#ffd0b6;border-color:rgba(245,149,99,.55)}
@media(max-width:700px){
 .info-drive-v959 .info-drive-file-v959{grid-template-columns:26px minmax(0,1fr) repeat(4,auto)}
 .info-drive-v959 .info-drive-detached-v1597 .info-drive-file-v959{grid-template-columns:26px minmax(0,1fr) auto}
}

/* V2348 — One unified document workspace below the existing ERP Header.
   Keep the browser's native PDF toolbar and all preview operations intact. */
html body .info-drive-preview-overlay-v959.info-drive-document-workspace-v2348 {
 position:fixed!important;
 top:var(--atosy-doc-header-bottom,144px)!important;
 right:0!important;bottom:0!important;left:0!important;
 width:100vw!important;
 height:calc(100dvh - var(--atosy-doc-header-bottom,144px))!important;
 box-sizing:border-box!important;
 /* V2349: above InterMail (z-index 7990), below ERP header (9000). */
 z-index:8990!important;
 padding:10px clamp(7px,1.2vw,22px) 12px!important;
 background:linear-gradient(145deg,#061b3b,#0752a0 70%,#091b40)!important;
 backdrop-filter:none!important;
 display:flex!important;
 align-items:stretch!important;
 justify-content:center!important;
}
html body .info-drive-document-workspace-v2348 > .info-drive-preview-dialog-v959 {
 width:100%!important;
 max-width:1800px!important;
 height:100%!important;
 max-height:none!important;
 min-height:0!important;
 border-radius:20px!important;
 box-shadow:0 10px 36px rgba(0,10,38,.34)!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-preview-content-v959 {
 min-height:0!important;
 flex:1 1 auto!important;
 padding:6px 9px!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-preview-content-v959 iframe {
 width:100%!important;
 height:100%!important;
 min-height:0!important;
 border:0!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-document-pin-v2348 {
 flex:none!important;
 font:650 12px/1.2 Inter,system-ui,sans-serif!important;
 border:1px solid rgba(92,213,255,.8)!important;
 background:linear-gradient(145deg,#154b90,#0a3265)!important;
 color:#e8f7ff!important;
 border-radius:22px!important;
 padding:8px 13px!important;
 white-space:nowrap!important;
 cursor:pointer;
}
html body .info-drive-document-workspace-v2348 .info-drive-document-pin-v2348[aria-pressed="true"] {
 background:linear-gradient(145deg,#096ac7,#0b3d91)!important;
 box-shadow:inset 2px 0 0 #a2e6ff!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959 > header {
 min-height:51px;
 box-sizing:border-box;
}
@media(max-width:680px){
 html body .info-drive-preview-overlay-v959.info-drive-document-workspace-v2348 {
  padding:5px!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959 > header {
  gap:6px;
  padding:8px 9px!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-document-pin-v2348 {
  font-size:11px!important;padding:6px 8px!important;
 }
}

/* V2350 — single bottom toolbar for PDF workspace: filename left, Close right.
   No top header in either the loading shell or the ready PDF viewer.
   Other formats and Design image preview keep their existing controls. */
html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959:has(> .info-drive-doc-footer-v2350) {
 display:flex!important;
 flex-direction:column!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959 > .info-drive-doc-footer-v2350 {
 display:flex!important;
 flex:0 0 auto!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:16px!important;
 min-height:52px!important;
 padding:8px 16px!important;
 box-sizing:border-box!important;
 border-top:1px solid #345c87!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-filename-v2350 {
 display:block!important;
 flex:1 1 auto!important;
 min-width:0!important;
 max-width:100%!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important;
 font-size:14px!important;
 font-weight:650!important;
 line-height:1.4!important;
 color:#edf6ff!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-preview-close-v1148 {
 flex:0 0 auto!important;
 margin-left:auto!important;
}
@media(max-width:700px){
 html body .info-drive-document-workspace-v2348 .info-drive-doc-filename-v2350{
  font-size:12px!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959 > .info-drive-doc-footer-v2350{
  padding:7px 10px!important;
  gap:8px!important;
 }
}

/* V2351 — two-line Information identity in PDF footer.
 * The first line remains the filename; the second is canonical record metadata. */
html body .info-drive-document-workspace-v2348 .info-drive-doc-meta-wrap-v2351 {
 display:flex!important;
 flex:1 1 auto!important;
 flex-direction:column!important;
 justify-content:center!important;
 align-items:flex-start!important;
 gap:4px!important;
 min-width:0!important;
 max-width:100%!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-meta-wrap-v2351 > .info-drive-doc-filename-v2350 {
 flex:none!important;
 width:100%!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-submeta-v2351 {
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 gap:4px 15px!important;
 min-width:0!important;
 font-size:12px!important;
 line-height:1.4!important;
 color:#bcd7f4!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-submeta-v2351 > span {
 display:inline-block!important;
 max-width:100%!important;
 overflow-wrap:anywhere!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-preview-dialog-v959 > .info-drive-doc-footer-v2350 {
 min-height:66px!important;
}
@media(max-width:700px){
 html body .info-drive-document-workspace-v2348 .info-drive-doc-submeta-v2351 {
  font-size:11px!important;
  gap:2px 9px!important;
 }
}

/* V2355 — PDF search morphs in place of Search button inside the footer.
   No floating search surface; keep the filename and Close control in place. */
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 {
 display:flex!important;
 align-items:center!important;
 gap:12px!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-doc-meta-wrap-v2351 {
 order:0!important;
 flex:1 1 auto!important;
 min-width:0!important;
 margin-right:auto!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-toggle-v2352,
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > [data-drive-browser-v2359] {
 order:1!important;
 flex:0 0 auto!important;
 margin:0!important;
 padding:8px 12px!important;
 min-width:118px!important;
 border-radius:18px!important;
 border:1px solid #4a9dcf!important;
 background:linear-gradient(150deg,#1a5998,#0b3569)!important;
 color:#e8f6ff!important;
 font:650 12px/1.3 system-ui,sans-serif!important;
 cursor:pointer!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-toggle-v2352[hidden] {
 display:none!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-panel-v2352 {
 order:1!important;
 position:static!important;
 display:flex!important;
 flex:0 1 610px!important;
 flex-direction:column!important;
 min-width:0!important;
 width:min(610px,55vw)!important;
 box-sizing:border-box!important;
 margin:0!important;
 padding:4px 7px!important;
 border:1px solid #67c3f1!important;
 border-radius:16px!important;
 background:linear-gradient(145deg,#164779,#092748)!important;
 color:#f5fbff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.15)!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-panel-v2352[hidden] {
 display:none!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 {
 display:flex!important;
 align-items:center!important;
 gap:12px!important;
 min-width:0!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 input[type="search"] {
 display:block!important;
 flex:1 1 auto!important;
 min-width:88px!important;
 height:33px!important;
 box-sizing:border-box!important;
 padding:6px 10px!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 outline:0!important;
 box-shadow:none!important;
 -webkit-appearance:none!important;
 color:#f5fbff!important;
 -webkit-text-fill-color:#f5fbff!important;
 caret-color:#6eeaff!important;
 opacity:1!important;
 font:500 12px/1.35 system-ui,sans-serif!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 input[type="search"]:is(:focus,:focus-visible) {
 outline:0!important;
 border:0!important;
 box-shadow:none!important;
 background:transparent!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-panel-v2352:focus-within {
 border-color:#67c3f1!important;
 outline:0!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.15)!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 input[type="search"]::placeholder {
 color:#bed9ef!important;
 -webkit-text-fill-color:#bed9ef!important;
 opacity:1!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-count-v2352 {
 flex:0 0 auto!important;
 min-width:120px!important;
 max-width:152px!important;
 padding:0 10px 0 4px!important;
 margin-left:3px!important;
 white-space:nowrap!important;
 font:550 11px/1.4 system-ui,sans-serif!important;
 color:#d9efff!important;
 -webkit-text-fill-color:#d9efff!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 button {
 flex:0 0 27px!important;
 width:27px!important;
 height:29px!important;
 padding:0!important;
 border:1px solid #4f8ebb!important;
 border-radius:9px!important;
 background:#194676!important;
 color:#fff!important;
 font-size:17px!important;
 cursor:pointer!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 button:disabled {
 opacity:.45!important;
 cursor:not-allowed!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-snippet-v2352 {
 display:none!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-preview-close-v1148 {
 order:2!important;
 flex:0 0 auto!important;
 margin:0!important;
}
@media(max-width:820px) {
 html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 {
  flex-wrap:wrap!important;
  gap:7px!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-doc-meta-wrap-v2351 {
  flex-basis:100%!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-panel-v2352 {
  width:auto!important;
  flex:1 1 260px!important;
 }
 html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-toggle-v2352 {
  margin-left:auto!important;
 }
}

/* V2356 — white close (×) control inside the PDF search bar. */
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 button:last-child {
 color:#ffffff!important;
 -webkit-text-fill-color:#ffffff!important;
 opacity:1!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-pdf-search-row-v2352 input[type="search"]::-webkit-search-cancel-button {
 filter:brightness(0) invert(1)!important;
 opacity:1!important;
 cursor:pointer!important;
}

/* V2360 — Browser shares the canonical PDF Search button typography and surface. */
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > [data-drive-browser-v2359] {
 order:1!important;
 min-width:0!important;
 white-space:nowrap!important;
}

/* V2362 — canonical Dashboard search and ATOSY Browser glyphs in PDF footer. */
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > .info-drive-pdf-search-toggle-v2352:not([hidden]),
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 > [data-drive-browser-v2359]:not([hidden]) {
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:6px!important;
 white-space:nowrap!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-doc-footer-v2350 .info-drive-footer-icon-v2362 {
 display:block!important;
 width:16px!important;
 height:16px!important;
 flex:0 0 16px!important;
 color:inherit!important;
 fill:none!important;
 stroke:currentColor!important;
 pointer-events:none!important;
}

/* V2372 — Liquid Glass indeterminate loader, shared by both PDF loading phases. */
html body .info-drive-document-workspace-v2348 .info-drive-liquid-loader-v2372 {
 position:relative!important;
 isolation:isolate!important;
 box-sizing:border-box!important;
 display:block!important;
 flex:0 0 14px!important;
 width:min(360px,85%)!important;
 height:14px!important;
 border:1px solid rgba(137,211,255,.42)!important;
 border-radius:999px!important;
 overflow:hidden!important;
 background:linear-gradient(180deg,rgba(126,196,247,.16),rgba(5,27,65,.48))!important;
 box-shadow:inset 0 2px 5px rgba(0,13,40,.38),inset 0 1px 0 rgba(205,241,255,.19),0 3px 12px rgba(0,18,56,.16)!important;
}
html body .info-drive-document-workspace-v2348 .info-drive-liquid-loader-v2372 > span {
 position:absolute!important;
 top:2px!important;bottom:2px!important;left:0!important;
 width:34%!important;
 border-radius:999px!important;
 background:linear-gradient(180deg,rgba(232,253,255,.9) 0%,rgba(115,229,255,.85) 22%,#16bdf5 53%,#1475ea 100%)!important;
 box-shadow:inset 0 1px 1px rgba(255,255,255,.74),0 0 11px rgba(38,206,255,.65)!important;
 will-change:transform;
 animation:atosy-pdf-liquid-flow-v2372 1.65s cubic-bezier(.45,0,.55,1) infinite alternate;
}
@keyframes atosy-pdf-liquid-flow-v2372 {
 from{transform:translateX(2px) scaleX(.82)}
 to{transform:translateX(190%) scaleX(1)}
}
@media(prefers-reduced-motion:reduce){
 html body .info-drive-document-workspace-v2348 .info-drive-liquid-loader-v2372 > span {
  animation:none!important;transform:translateX(97%)!important;
 }
}

/* V2687 — center the preview close glyph independently of font metrics. */
html body .info-drive-preview-dialog-v959 > header > button[aria-label="Đóng xem tệp"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:0!important;min-width:36px!important;width:36px!important;min-height:32px!important;height:32px!important;flex:0 0 36px!important;line-height:1!important;}
html body .info-drive-preview-dialog-v959 > header > button[aria-label="Đóng xem tệp"] > svg{display:block!important;width:16px!important;height:16px!important;flex:none!important;margin:0!important;pointer-events:none;}

/* V2893 — independent metadata and right-aligned actions; no orphaned grid buttons. */
.info-drive-v959 .info-drive-list-v959{container-type:inline-size}
.info-drive-v959 .info-drive-list-v959 .info-drive-file-v959{grid-template-columns:minmax(120px,1fr) minmax(0,auto);gap:8px 12px;align-items:center}
.info-drive-file-meta-v2893{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0}
.info-drive-file-meta-v2893 .info-drive-file-name-v959{min-width:0}
.info-drive-v959 .info-drive-file-meta-v2893 .info-drive-file-size-v2893{display:inline-block;white-space:nowrap;font-size:11px}
.info-drive-file-actions-v2893{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;min-width:0;max-width:100%;justify-self:end}
.info-drive-v959 .info-drive-file-actions-v2893>button{display:inline-flex;align-items:center;justify-content:center;min-width:62px;max-width:100%;height:32px;box-sizing:border-box;padding:0 10px;margin:0;border-radius:999px;font-size:12px;white-space:nowrap}
.info-drive-v959 .info-drive-file-actions-v2893>.info-drive-cover-auto-v1236{margin:0}
.info-drive-v959 .info-drive-file-actions-v2893>[data-drive-action="detach"]{min-width:62px}
.info-drive-v959 .info-drive-file-v959>[data-ausa-versions],.info-drive-v959 .info-drive-file-v959>[data-drive-rename-editor]{grid-column:1/-1;min-width:0}
@container(max-width:580px){.info-drive-v959 .info-drive-list-v959 .info-drive-file-v959{grid-template-columns:minmax(0,1fr)}.info-drive-file-actions-v2893{width:100%;justify-self:stretch}}
@container(max-width:310px){.info-drive-file-actions-v2893>button{flex:0 1 auto}}
