/* Independent Drive workspace. */
.emblem-drive{background:#e8edf5;color:var(--theme-muted,#516c8d)}.workbench-ui .drive-new-button{margin:1px 3px 18px;padding:12px 18px;min-height:43px;min-width:120px;justify-content:flex-start;font-size:14px}.drive-app{display:flex;flex-direction:column;height:calc(100dvh - 48px);min-height:500px;background:var(--theme-surface,#fff);position:relative}.drive-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 28px 16px;min-height:78px}.drive-heading h1{font-size:24px}.drive-heading .heading-actions{gap:12px}.drive-mobile-new{display:none!important}.drive-breadcrumbs{display:flex;align-items:center;gap:9px;padding:0 28px 14px;min-height:32px;font-size:12px;color:var(--theme-muted,#536577);overflow:auto;white-space:nowrap;flex-shrink:0}.drive-breadcrumbs>.icon{height:13px;width:13px;color:var(--theme-muted,#708293)}.drive-tools{padding:0 28px 18px}.drive-search-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.drive-search-form .search-field{margin:0;flex:1;min-width:190px;max-width:440px;background:var(--theme-surface-muted,#f5f7fa);border-color:transparent;border-radius:7px}.drive-search-form .search-field input{background:none;font-size:13px;min-height:36px}.drive-search-form select{width:auto;max-width:190px;min-height:35px;border-radius:6px;font-size:12px;padding:6px 27px 6px 11px;background-color:var(--theme-surface,#fff)}.drive-body{display:flex;flex:1;min-height:0;border-top:1px solid var(--line)}.drive-content{min-width:0;flex:1;position:relative;display:flex;flex-direction:column}.drive-table-scroll{overflow:auto;min-width:0;flex:1;min-height:180px}.drive-table{width:100%;min-width:790px;border-collapse:collapse;table-layout:fixed}.drive-table th{position:sticky;top:0;background:var(--theme-surface,#fff);z-index:2;font-size:11px;color:var(--theme-muted,#617181);font-weight:600;padding:12px 15px;border-bottom:1px solid var(--line);text-transform:none;letter-spacing:0;text-align:left}.drive-table td{height:52px;padding:4px 15px;border-bottom:1px solid var(--theme-line,#eff1f4);font-size:12px;vertical-align:middle}.drive-table th:first-child,.drive-table td:first-child{width:44px;padding-inline:19px 5px}.drive-table th:nth-child(2){width:auto}.drive-table th:nth-child(3){width:150px}.drive-table th:nth-child(4){width:150px}.drive-table th:nth-child(5){width:85px}.drive-table th:last-child{width:52px}.drive-table .person-link{min-width:0;gap:12px;max-width:100%;display:flex}.drive-table .person-link>span:last-child{min-width:0;display:block}.drive-table strong{font-size:12px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-ink,#304a5b)}.drive-table small{display:none;color:var(--theme-muted,#657889);font-size:10px;margin-top:4px}.drive-table .folder-tile,.drive-table .file-tile{height:28px;width:28px;border-radius:4px;background:none;flex-shrink:0}.drive-table .folder-tile{color:var(--theme-muted,#6d8294)}.drive-table .file-tile{color:var(--theme-muted,#6d8294)}.drive-table .file-tile>.icon,.drive-table .folder-tile>.icon{height:22px;width:22px}.drive-entry{outline-offset:-2px;cursor:default}.drive-entry:hover{background:var(--theme-surface-muted,#f6f8fb)}.drive-entry.is-selected{background:var(--theme-surface-muted,#edf3fb)}.drive-entry.is-selected:hover{background:#e7effa}.drive-name-cell{position:relative}.drive-entry .drive-star{position:absolute;right:8px;top:18px;color:#805e29}.drive-star>.icon{height:14px;width:14px;fill:#fbefcf}.drive-entry .drive-thumbnail{display:none}.drive-entry-actions .icon-button{opacity:0}.drive-entry:hover .drive-entry-actions .icon-button,.drive-entry:focus-within .drive-entry-actions .icon-button,.drive-entry.is-selected .drive-entry-actions .icon-button{opacity:1}.drive-footer{padding:11px 28px;border-top:1px solid var(--line);color:var(--theme-muted,#647585);font-size:11px;flex-shrink:0}.drive-selection-bar{display:flex;align-items:center;gap:14px;min-height:53px;margin:0 28px 15px;background:var(--theme-surface-muted,#edf3fb);border-radius:6px;padding:8px 11px;flex-shrink:0}.drive-selection-bar strong{font-size:12px;font-weight:600}.drive-selection-bar>div{margin-left:auto;display:flex;gap:8px}.drive-selection-bar .button{background:transparent;border-color:transparent}.drive-selection-bar .button:hover{background:#e0eaf6}.drive-empty{padding:70px 20px;display:flex;flex-direction:column;align-items:center;gap:22px;color:var(--theme-muted,#5a6c7b)}.drive-empty>strong{font-size:15px;font-weight:600}.drive-new-menu{min-width:245px;padding:8px}.drive-upload-choice{display:flex;align-items:center;gap:10px;padding:10px;border-radius:5px;cursor:pointer;font-size:12px;margin:0;min-height:40px;position:relative}.drive-upload-choice:hover{background:var(--theme-surface-muted,#f3f5f7)}.drive-upload-choice input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.drive-upload-choice>.icon{height:17px;width:17px}.drive-new-menu>button{min-height:40px}.drive-context-menu{min-width:245px;z-index:65}.drive-context-menu .icon{height:16px;width:16px}.drive-context-menu button:last-child{color:#964b32}.drive-details{width:310px;flex:0 0 310px;border-left:1px solid var(--line);padding:0!important;background:var(--theme-surface,#fff);overflow:auto;min-height:0}.drive-details>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line)}.drive-details>header h2{font-size:13px}.drive-detail-content{padding:22px}.drive-detail-content>h3{font-size:15px;overflow-wrap:anywhere;line-height:1.6;margin:18px 0}.drive-detail-icon{height:110px;display:grid;place-items:center;background:var(--theme-surface-muted,#f5f7fa);border-radius:7px}.drive-detail-icon>.icon{width:40px;height:40px;color:var(--theme-muted,#6a8091)}.drive-detail-image{width:100%;max-height:180px;object-fit:contain;background:var(--theme-surface-muted,#f4f6f9);border-radius:6px}.drive-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.drive-detail-actions .button{font-size:11px}.drive-details dl{display:grid;grid-template-columns:88px minmax(0,1fr);gap:13px 8px;font-size:11px}.drive-details dt{color:var(--theme-muted,#647584)}.drive-details dd{margin:0;overflow-wrap:anywhere}.drive-details section{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.drive-details section h3{font-size:12px;margin-bottom:12px}.drive-details .linked-row{font-size:12px;overflow-wrap:anywhere}.drive-folder-tree{padding-bottom:25px}.drive-folder-tree .page-tree-link{font-size:12px}.drive-app .file-drop-overlay{inset:0;z-index:12;background:#f0f5fbea;border:2px dashed var(--theme-line,#b6c8d9);pointer-events:none}.drive-grid .drive-table{display:block;min-width:0;table-layout:auto}.drive-grid .drive-table thead{display:none}.drive-grid .drive-table tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:15px;padding:20px 28px}.drive-grid .drive-entry{display:block;position:relative;border:1px solid var(--theme-line,#e2e7ed);border-radius:8px;min-width:0;min-height:168px;overflow:hidden}.drive-grid .drive-entry.is-selected{border-color:#9eb9d5}.drive-grid .drive-entry td{display:none;height:auto;border:0;padding:0}.drive-grid .drive-entry .drive-name-cell{display:block;padding:13px 13px 16px}.drive-grid .drive-entry .drive-check-cell{position:absolute;display:block;top:10px;left:8px;z-index:2;width:auto;opacity:0}.drive-grid .drive-entry:hover .drive-check-cell,.drive-grid .drive-entry:focus-within .drive-check-cell,.drive-grid .drive-entry.is-selected .drive-check-cell{opacity:1}.drive-grid .drive-entry .person-link{flex-direction:column;align-items:stretch;gap:10px}.drive-grid .drive-entry .person-link>.file-tile,.drive-grid .drive-entry .person-link>.folder-tile{width:100%;height:100px;display:grid;place-items:center;background:var(--theme-surface-muted,#f2f5f8);border-radius:5px}.drive-grid .drive-entry .person-link>.file-tile>.icon,.drive-grid .drive-entry .person-link>.folder-tile>.icon{width:36px;height:36px}.drive-grid .drive-entry .drive-thumbnail{display:block;width:100%;height:100px;object-fit:contain;background:var(--theme-surface-muted,#f3f6f9);border-radius:5px}.drive-grid .drive-entry .drive-thumbnail+.file-tile{display:none}.drive-grid .drive-entry-actions{display:block!important;position:absolute;top:6px;right:7px}.drive-grid .drive-entry-actions .icon-button{background:var(--theme-surface,#fff)}.drive-grid .drive-name-cell .drive-star{top:auto;bottom:13px;right:12px}.drive-grid .drive-name-cell:has(.drive-star) .person-link>span:last-child{padding-right:16px}.drive-upload-tray{position:fixed;right:24px;bottom:18px;width:340px;z-index:55;background:var(--theme-surface,#fff);border:1px solid var(--theme-line,#dbe3ec);border-radius:9px;box-shadow:0 7px 28px #263f5726;overflow:hidden}.drive-upload-tray>header{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;background:var(--theme-surface-muted,#f5f7fa);border-bottom:1px solid var(--line);font-size:12px}.drive-upload-tray ol{list-style:none;margin:0;padding:0;max-height:290px;overflow:auto}.drive-upload-tray li{padding:12px 16px;border-bottom:1px solid var(--theme-line,#edf0f4)}.drive-upload-tray li>div{display:flex;justify-content:space-between;gap:8px;font-size:11px}.drive-upload-tray strong{max-width:205px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.drive-upload-tray li span{font-size:10px;color:var(--theme-muted,#5f7466);overflow-wrap:anywhere}.drive-upload-tray progress{width:100%;height:5px;accent-color:var(--coral);margin-top:9px}.drive-upload-tray progress[value='100']{display:none}
/* Pages own their hierarchy, title and editor. */
.workbench-ui.app-docs .documents-library{padding:28px}.page-tree-row{display:flex;align-items:center;min-width:0;border-radius:5px}.page-tree-row .page-tree-link{min-width:0;flex:1}.page-tree-add{opacity:0;flex:0 0 24px!important;width:24px!important;height:25px!important;background:transparent;border:0;color:var(--theme-muted,#6c7f8e);display:grid;place-items:center;padding:3px}.page-tree-add>.icon{width:14px;height:14px}.page-tree-row:hover .page-tree-add,.page-tree-row:focus-within .page-tree-add{opacity:1}.page-tree-row:hover{background:var(--theme-surface-muted,#eff2f6)}.page-tree-branch>summary .page-tree-row{flex:1;min-width:0}.page-drop-active,.drive-folder-drop{background:#e7eff9!important;outline:1px solid #9fb9d1}.document-breadcrumb{display:flex;align-items:center;gap:7px;min-width:0;max-width:60%;font-size:11px;color:var(--theme-muted,#5e7280);overflow:hidden;white-space:nowrap}.document-breadcrumb>a,.document-breadcrumb>span{overflow:hidden;text-overflow:ellipsis;max-width:190px}.document-breadcrumb>.icon{height:12px;width:12px;flex-shrink:0}.workbench-ui .workbench-toolbar{gap:15px;flex-wrap:wrap}.workbench-ui .workbench-toolbar>#save-status{margin-left:auto;font-size:10px}.workbench-ui .workbench-toolbar>.toolbar-right{margin-left:0}.document-canvas h1[contenteditable]{outline:0;cursor:text;min-height:48px;border-radius:5px;padding:3px 5px;margin-left:-5px;border:1px solid transparent;white-space:pre-wrap;overflow-wrap:anywhere}.document-canvas h1[contenteditable]:hover{border-color:var(--theme-line,#e6eaee)}.document-canvas h1[contenteditable]:focus{border-color:#c9a28b}.document-child-pages{padding-top:20px;margin-top:15px;border-top:1px solid var(--line)}.document-child-pages .linked-row{font-size:13px;gap:9px;padding:9px 0}.document-child-pages>.button{margin-top:10px}.document-child-pages .icon{height:17px;width:17px}
/* Keep communication inside the viewport and preserve familiar input behavior. */
.workbench-ui .chat-workspace{height:calc(100dvh - 48px);min-height:0;overflow:hidden}.workbench-ui .chat-main{min-height:0;flex:1 1 auto;overflow:hidden;height:100%}.workbench-ui .messages{flex:1 1 0;min-height:0;overflow:auto}.workbench-ui .message-composer{flex-shrink:0}.composer-attachments{display:flex;gap:7px;flex-wrap:wrap;padding:0 12px}.composer-attachment{display:flex;align-items:center;gap:7px;border:1px solid var(--theme-line,#dce5ec);border-radius:5px;background:var(--theme-surface-muted,#f6f9fc);padding:5px 7px;font-size:11px;max-width:100%}.composer-attachment>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-attachment>button{border:0;background:transparent;display:grid;place-items:center;padding:0;color:var(--theme-muted,#587181)}.composer-attachment .icon{height:14px;width:14px}.mobile-editor-settings{display:none!important}.editor-inspector-dialog{padding:0;border:0;border-radius:10px;width:min(540px,calc(100vw - 24px));max-height:85dvh;background:var(--theme-surface,#fff);color:var(--ink);box-shadow:0 12px 50px #203c5333}.editor-inspector-dialog::backdrop{background:#19303c66}.editor-inspector-dialog>header{position:sticky;top:0;background:var(--theme-surface,#fff);z-index:3;display:flex;align-items:center;justify-content:space-between;padding:14px 19px;border-bottom:1px solid var(--line)}.editor-inspector-dialog>header strong{font-size:14px}.editor-inspector-dialog .designer-inspector,.editor-inspector-dialog .flow-inspector{display:block!important;overflow:visible;max-height:none;padding:0 20px 25px!important;border:0!important}.editor-inspector-dialog .designer-panel-heading{padding-top:16px!important}.editor-inspector-dialog .inspector-tabs{padding-top:9px}.editor-inspector-dialog .field-hint{font-size:11px}.workbench-ui ::selection{background:#f4d9c9;color:#233f50}.workbench-ui input,.workbench-ui textarea,[contenteditable]{caret-color:#b55738}.workbench-ui :focus-visible{outline:2px solid #b56a4b;outline-offset:2px}.drive-table,.week-calendar{font-variant-numeric:tabular-nums}
@media(max-width:1200px){.drive-table .drive-owner{display:none}.drive-table{min-width:660px}.drive-details{width:285px;flex-basis:285px}.document-breadcrumb{max-width:45%}}
@media(max-width:760px){.drive-app{height:calc(100dvh - 110px);min-height:450px}.drive-heading{padding:20px 16px 14px;min-height:72px}.drive-heading h1{font-size:22px}.drive-heading .heading-actions{gap:7px}.drive-mobile-new{display:flex!important}.drive-breadcrumbs{padding-inline:16px;font-size:11px}.drive-tools{padding:0 16px 15px}.drive-search-form{gap:8px}.drive-search-form .search-field{flex-basis:100%;max-width:none}.drive-search-form select{font-size:11px;max-width:none;min-width:0;flex:1}.drive-search-form .button{font-size:11px}.drive-table{min-width:620px}.drive-table td{height:54px}.drive-table th,.drive-table td{padding-inline:10px}.drive-table th:nth-child(2){width:250px}.drive-table th:nth-child(4){width:130px}.drive-table th:first-child,.drive-table td:first-child{padding-left:13px}.drive-grid .drive-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px 16px;gap:12px}.drive-grid .drive-entry{min-height:154px}.drive-grid .drive-entry .drive-name-cell{padding:10px}.drive-grid .drive-entry strong{font-size:11px}.drive-grid .drive-entry .drive-thumbnail,.drive-grid .drive-entry .person-link>.file-tile,.drive-grid .drive-entry .person-link>.folder-tile{height:90px}.drive-grid .drive-entry .drive-check-cell{opacity:1;top:9px;left:0}.drive-entry-actions .icon-button{opacity:1}.drive-grid .drive-entry-actions{right:3px;top:5px}.drive-selection-bar{margin:0 16px 13px;padding:8px;gap:8px;flex-wrap:wrap}.drive-selection-bar>div{gap:1px}.drive-selection-bar .button{font-size:10px;padding-inline:7px}.drive-selection-bar strong{font-size:11px}.drive-footer{padding:10px 16px}.drive-details{position:fixed;inset:49px 0 61px;width:100%;z-index:52;min-height:0;border-left:0}.drive-detail-content{padding:23px}.drive-details>header{min-height:50px}.drive-detail-image{max-height:220px}.drive-upload-tray{left:12px;right:12px;bottom:73px;width:auto}.drive-new-menu{min-width:230px}.workbench-ui.app-docs .documents-library{padding:22px 16px}.workbench-ui .chat-workspace{height:calc(100dvh - 110px);min-height:0;display:block}.workbench-ui .chat-main{height:100%;min-height:0;flex:none}.workbench-ui .messages{min-height:0;flex:1 1 0;overflow:auto}.workbench-ui .chat-heading{flex-shrink:0}.conversation-tabs{flex-shrink:0}.workbench-ui .message-composer{margin:7px 12px 10px;flex-shrink:0}.document-breadcrumb{max-width:100%;width:100%;font-size:10px}.workbench-ui .workbench-toolbar{gap:6px}.workbench-ui .workbench-toolbar>#save-status{margin-left:0}.workbench-ui .workbench-toolbar>.toolbar-right{margin-left:auto}.page-tree-add{opacity:1}.document-canvas h1[contenteditable]{font-size:28px;min-height:43px}.mobile-editor-settings{display:flex!important;font-size:10px!important}.focus-workspace .designer>.designer-inspector,.focus-workspace .workflow-builder>.flow-inspector{display:none}.focus-workspace .canvas-tools{flex-wrap:wrap}.editor-inspector-dialog{margin:auto auto 0;width:100%;max-width:none;border-radius:12px 12px 0 0;max-height:88dvh}.editor-inspector-dialog .designer-inspector,.editor-inspector-dialog .flow-inspector{display:block!important}.editor-inspector-dialog .designer-inspector input,.editor-inspector-dialog .flow-inspector input,.editor-inspector-dialog select,.editor-inspector-dialog textarea{font-size:14px!important;min-height:40px!important}.editor-inspector-dialog .ql-editor{font-size:14px!important;min-height:170px!important}.editor-inspector-dialog label{font-size:12px!important}.editor-inspector-dialog .designer-global{padding-top:14px}.focus-workspace .workflow-stage{height:520px}.workbench-ui .week-day-heading.chosen-day{background:var(--theme-surface-muted,#f6f1eb)}}
@media(prefers-reduced-motion:reduce){.workbench-ui *{scroll-behavior:auto!important}}
.message-toolbar>.message-more{display:none!important}@media(max-width:760px){.message{position:relative}.message-toolbar{position:absolute!important;right:12px;top:5px!important;padding:0!important;background:transparent!important;border:0!important;z-index:3}.message-toolbar>button:not(.message-more){display:none!important}.message-toolbar>.message-more{display:grid!important;width:28px!important;height:28px!important;padding:4px!important}.workbench-ui .drive-table{min-width:0}.drive-table th:nth-child(2){width:auto}.drive-table .drive-modified,.drive-table .drive-size,.drive-table th:nth-child(4),.drive-table th:nth-child(5){display:none}.drive-table small{display:block}.drive-grid .drive-table small{display:none}}
/* Larger touch targets keep message and file menus easy to open on a phone. */
@media(max-width:760px){.message-toolbar>.message-more{height:44px!important;width:44px!important}.message-more>.icon{height:20px!important;width:20px!important;stroke-width:2.5}.workbench-ui .message-content{padding-right:20px}.workbench-ui .message-content>p{font-size:14px}.drive-entry-actions .icon-button{height:40px;width:40px}}
