/* Task Detail dialog. Tokens from tokens.css (--hub-*) with design-baseline-v1.1 fallbacks. */
.hd-backdrop{position:fixed;inset:0;z-index:60;background:rgba(16,21,35,.67);display:flex;align-items:center;justify-content:center;padding:8px;font-size:13px}
.hd-open{overflow:hidden}
.hd-dialog{width:min(94vw,1600px);height:93vh;min-width:min(520px,100%);min-height:min(400px,100%);max-width:100%;max-height:100%;resize:both;background:var(--hub-surface,#fff);color:var(--hub-text,#202b3d);border:1px solid var(--hub-line,#e4e9f0);border-radius:var(--hub-radius-lg,12px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 90px rgba(0,0,0,.27);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;opacity:1}
.hd-dialog *{box-sizing:border-box}
.hd-dialog button{font:inherit;cursor:pointer}
.hd-dialog button:disabled,.hd-dialog input:disabled,.hd-dialog textarea:disabled{cursor:not-allowed;opacity:.55}
.hd-header{display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--hub-line,#e4e9f0);background:var(--hub-surface,#fff);flex-shrink:0;flex-wrap:wrap}
.hd-hdr-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 320px}
.hd-crumb{display:flex;gap:5px;color:var(--hub-muted,#778297);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}
.hd-sep{opacity:.6}
.hd-entry{font-weight:700;color:var(--hub-accent,#5268d9);background:var(--hub-accent-lite,#edf0ff);padding:2px 7px;border-radius:5px;font-size:12px}
.hd-hdr-title{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hd-hdr-doc{display:flex;align-items:center;gap:8px;min-width:0}
.hd-filename{color:var(--hub-muted,#778297);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-hdr-actions{display:flex;gap:4px;margin-left:auto;align-items:center;flex-shrink:0}
.hd-size-select{font:inherit;font-size:12px;border:1px solid var(--hub-line,#e4e9f0);border-radius:6px;background:var(--hub-surface,#fff);padding:4px 6px;max-width:92px;cursor:pointer}
.hd-dialog[data-size="small"]{width:min(62vw,900px);height:74vh}
.hd-dialog[data-size="medium"]{width:min(80vw,1250px);height:85vh}
.hd-dialog[data-size="large"]{width:min(94vw,1600px);height:93vh}
.hd-dialog .hub-btn,.hd-dialog .hd-pillbtn{border:1px solid var(--hub-line,#e4e9f0);background:var(--hub-surface,#fff);color:inherit;border-radius:var(--hub-radius,8px);padding:5px 10px;text-decoration:none;display:inline-flex;align-items:center}
.hd-dialog .hub-btn-ghost{border-color:transparent;background:transparent}
.hd-dialog .hub-btn-primary{background:var(--hub-accent,#5268d9);border-color:var(--hub-accent,#5268d9);color:#fff}
.hd-dialog .hub-btn:hover:not(:disabled){background:var(--hub-hover,#f1f5fa)}
.hd-dialog .hub-btn-primary:hover:not(:disabled){background:var(--hub-accent,#5268d9);filter:brightness(.95)}
.hd-fav.is-on{color:#f5a524}
.hd-body{display:flex;flex-direction:row;flex:1;min-height:0;min-width:0;width:100%;overflow:hidden}
.hd-body>.hd-preview{flex:1 1 0;min-width:0}
.hd-body>.hd-splitter{flex:0 0 8px;min-width:8px}
.hd-body>.hd-side{flex:0 0 var(--hd-side-percent,36%);min-width:250px;max-width:70%;min-height:0}
.hd-splitter{cursor:col-resize;background:var(--hub-surface,#fff);border-left:1px solid var(--hub-line,#e4e9f0);border-right:1px solid var(--hub-line,#e4e9f0);position:relative;z-index:2}
.hd-splitter:hover,.hd-splitter:focus-visible{background:var(--hub-accent-lite,#edf0ff);outline:1px solid var(--hub-accent,#5268d9)}
.hd-preview{background:var(--hub-canvas,#f5f7fa);display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid var(--hub-line,#e4e9f0);position:relative}
.hd-preview.is-drop{outline:2px dashed var(--hub-accent,#5268d9);outline-offset:-6px}
.hd-drop-hint{position:absolute;inset:0;display:grid;place-items:center;background:rgba(237,240,255,.9);color:var(--hub-accent,#5268d9);font-weight:700;z-index:2;pointer-events:none}
.hd-drop-hint[hidden]{display:none}
.hd-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:stretch;justify-content:center}
.hd-frame{width:100%;height:100%;border:0;background:#fff}
.hd-img{max-width:100%;max-height:100%;object-fit:contain;margin:auto;padding:12px}
.hd-text{margin:0;padding:14px;white-space:pre-wrap;font:12px/1.5 ui-monospace,monospace;width:100%;background:#fff}
.hd-nopreview,.hd-nodoc{margin:auto;padding:24px;text-align:center;color:var(--hub-muted,#778297)}
.hd-nodoc{text-align:left;align-self:flex-start;margin:0;width:100%}
.hd-nodoc-desc{white-space:pre-wrap;color:var(--hub-text,#202b3d)}
.hd-filebar{display:flex;gap:4px;padding:6px 10px;overflow-x:auto;border-bottom:1px solid var(--hub-line,#e4e9f0);background:var(--hub-surface,#fff)}
.hd-filetab{border:1px solid var(--hub-line,#e4e9f0);background:transparent;border-radius:6px;padding:4px 9px;white-space:nowrap;color:var(--hub-muted,#778297)}
.hd-filetab.is-active{background:var(--hub-accent-lite,#edf0ff);color:var(--hub-accent,#5268d9);border-color:var(--hub-accent,#5268d9)}
.hd-files{border-top:1px solid var(--hub-line,#e4e9f0);background:var(--hub-surface,#fff);padding:8px 12px;max-height:30%;overflow:auto;flex-shrink:0}
.hd-files-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.hd-filelist{list-style:none;margin:0;padding:0}
.hd-filelist li{display:flex;align-items:center;gap:6px;padding:3px 0;flex-wrap:wrap}
.hd-filelist li.is-active .hd-link-btn:first-child{font-weight:700}
.hd-file-actions{margin-left:auto;display:flex;gap:8px}
.hd-link-btn{border:0;background:none;color:var(--hub-accent,#5268d9);padding:0;text-decoration:none}
.hd-source,.hd-sys{font-size:10px;background:var(--hub-accent-lite,#edf0ff);color:var(--hub-accent,#5268d9);padding:1px 6px;border-radius:4px}
.hd-side{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--hub-surface,#fff)}
.hd-tabs{display:flex;gap:4px;border-bottom:1px solid var(--hub-line,#e4e9f0);padding:0 14px;flex-shrink:0}
.hd-tab{border:0;background:transparent;color:var(--hub-muted,#778297);padding:10px 13px;border-bottom:2px solid transparent}
.hd-tab.is-active{color:var(--hub-accent,#5268d9);border-bottom-color:var(--hub-accent,#5268d9);font-weight:700}
.hd-panels{flex:1;min-height:0;display:flex;flex-direction:column}
.hd-panel{flex:1;min-height:0;overflow-y:auto;padding:14px 18px}
.hd-panel[hidden]{display:none}
.hd-conflict{background:#fff1d9;color:#7a4f10;padding:8px 14px;border-bottom:1px solid #f0d9a8;flex-shrink:0}
.hd-conflict[hidden]{display:none}
.hd-composer{border-top:1px solid var(--hub-line,#e4e9f0);padding:8px 12px;background:var(--hub-surface,#fff);flex-shrink:0}
.hd-composer-row{display:flex;gap:6px;align-items:flex-end}
.hd-composer-ta{flex:1;resize:none;max-height:120px}
.hd-pending{display:flex;gap:4px;flex-wrap:wrap}
.hd-pending:not(:empty){margin-bottom:6px}
.hd-dialog .hub-input,.hd-dialog input[type=text],.hd-dialog input[type=date],.hd-dialog input[type=number],.hd-dialog input[type=url],.hd-dialog input[type=email],.hd-dialog input[type=tel],.hd-dialog textarea{border:1px solid var(--hub-line,#e4e9f0);padding:7px 9px;border-radius:6px;background:var(--hub-surface,#fff);color:inherit;font:inherit;width:100%;min-width:0}
.hd-dialog .hub-input:focus,.hd-dialog textarea:focus{outline:2px solid var(--hub-accent-lite,#cdd5ff);border-color:var(--hub-accent,#5268d9)}
.hd-title{font-size:17px;font-weight:700;margin-bottom:8px;border-color:transparent!important}
.hd-title:hover:not(:disabled){border-color:var(--hub-line,#e4e9f0)!important}
.hd-desc{margin-bottom:10px;resize:vertical}
.hd-fields-bar{display:flex;align-items:center;justify-content:space-between;margin:8px 0}
.hd-h3{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--hub-muted,#778297);margin:12px 0 6px}
.hd-fields-bar .hd-h3{margin:0}
.hd-toggle{font-size:12px;color:var(--hub-muted,#778297);display:inline-flex;gap:4px;align-items:center}
.hd-toggle input{width:auto}
.hd-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.hd-row{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid var(--hub-line,#e4e9f0);min-width:0}
.hd-row-wide{grid-column:1/-1;grid-template-columns:minmax(0,1fr);align-items:start}
.hd-label{display:block;font-size:11px;color:var(--hub-muted,#778297);font-weight:650;margin:0;overflow:hidden;text-overflow:ellipsis}
.hd-inline{display:flex;align-items:center;gap:6px}
.hd-wrap{flex-wrap:wrap}
.hd-pill,.hd-dialog .hub-pill{display:inline-block;font-size:11px;padding:3px 9px;border-radius:5px;font-weight:650;white-space:nowrap}
.hd-pillbtn{border:1px solid transparent!important;background:transparent!important;padding:0!important}
.hd-pillbtn:hover:not(:disabled){outline:1px solid var(--hub-line,#e4e9f0)}
.hd-empty{color:var(--hub-muted,#778297)}
.hd-chip,.hd-dialog .hub-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:3px 7px;border-radius:5px;background:var(--hub-head,#f8fafc);border:1px solid var(--hub-line,#e4e9f0)}
.hd-x{border:0;background:none;color:var(--hub-muted,#778297);padding:0 2px}
.hd-avatar,.hd-dialog .hub-avatar{display:inline-grid;place-items:center;border-radius:50%;font-size:9px;font-weight:800;color:#5d48a6;flex-shrink:0}
.hd-prefix{color:var(--hub-muted,#778297);font-size:11px}
.hd-subtasks{margin-top:12px}
.hd-sublist{list-style:none;padding:0;margin:0 0 6px}
.hd-sublist li{padding:3px 0;display:flex;gap:6px;align-items:center}
.hd-dialog a{color:var(--hub-accent,#5268d9)}
.hd-menu,.hub-popover .hd-menu{display:flex;flex-direction:column;padding:4px;max-height:320px;overflow:auto}
.hd-menu-item{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left;padding:7px 9px;border-radius:6px;color:inherit;width:100%;font:inherit}
.hd-menu-item:hover:not(:disabled){background:var(--hub-hover,#f1f5fa)}
.hd-menu-item.is-disabled,.hd-menu-item:disabled{opacity:.45;cursor:not-allowed}
.hd-swatch{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.hd-check{margin-left:auto}
.hd-picker{padding:8px}.hd-picker-res{max-height:220px;overflow:auto;margin-top:6px}
.hub-popover{position:absolute;z-index:80;background:var(--hub-surface,#fff);color:var(--hub-text,#202b3d);border:1px solid var(--hub-line,#e4e9f0);border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.2);font-size:13px}
.hd-ctx{color:var(--hub-muted,#778297)}
.hd-activity-bar{display:flex;justify-content:flex-end;margin-bottom:8px}
.hd-activity-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hd-act-head{display:flex;align-items:center;gap:8px}
.hd-act-text{flex:1;min-width:0}
.hd-time{color:var(--hub-muted,#778297);font-size:11px;white-space:nowrap}
.hd-act.is-system{opacity:.8;font-style:italic}
.hd-expand{border:0;background:none;color:var(--hub-muted,#778297);width:16px;padding:0}
.hd-changes{margin:6px 0 0 24px;padding:0;list-style:none;color:var(--hub-muted,#778297)}
.hd-changes[hidden]{display:none}
.hd-old{text-decoration:line-through}
.hd-comment{border:1px solid var(--hub-line,#e4e9f0);border-radius:8px;padding:9px 11px;background:var(--hub-head,#f8fafc)}
.hd-comment-body{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}
.hd-comment-actions{display:flex;gap:8px}
.hd-comment-files{margin-top:6px;display:flex;gap:4px;flex-wrap:wrap}
.hd-mention{color:var(--hub-accent,#5268d9);background:var(--hub-accent-lite,#edf0ff);border-radius:4px;padding:0 3px}
.hd-meta{display:grid;grid-template-columns:130px 1fr;gap:6px 10px;margin:0}
.hd-meta dt{color:var(--hub-muted,#778297);font-size:11px;font-weight:650}
.hd-meta dt.hd-sub{padding-left:12px}
.hd-meta dd{margin:0;overflow-wrap:anywhere}
.hd-error{color:#a13d4e}
.hd-loading{color:var(--hub-muted,#778297)}
@media (max-width:800px){
  .hd-backdrop{padding:0}
  .hd-dialog,.hd-dialog[data-size]{width:100%;height:100%;resize:none;min-height:0;min-width:0;border-radius:0;border:0}
  .hd-body{flex-direction:column}
  .hd-body>.hd-preview{flex:0 0 36%;min-height:0}
  .hd-body>.hd-side{flex:1 1 0;max-width:100%;min-width:0;min-height:0}
  .hd-splitter{display:none}
  .hd-preview{border-right:0;border-bottom:1px solid var(--hub-line,#e4e9f0)}
  .hd-files{display:none}
  .hd-grid{grid-template-columns:minmax(0,1fr)}
  .hd-crumb{max-width:100%}
  .hd-filename{max-width:140px}
  .hd-header{gap:5px;padding:5px 8px}
  .hd-hdr-main{flex-basis:100%}
  .hd-hdr-actions{margin-left:auto}
}
.hd-dialog [hidden]{display:none!important}

/* Canonical external document preview: references stay external, not attachments. */
.hd-external-preview{display:flex;flex-direction:column;width:100%;min-height:100%;gap:8px;padding:8px}
.hd-external-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}
.hd-external-heading a,.hub-url-link{color:var(--hub-primary,#4f46e5);text-decoration:underline;text-underline-offset:2px}
.hd-external-preview .hd-frame{flex:1;min-height:340px;width:100%;border:0}

/* Keep drag handles and header controls functional on compact desktop viewports. */
@media (min-width:801px) and (max-width:1100px){
  .hd-dialog[data-size="small"]{width:78vw}
  .hd-dialog[data-size="medium"]{width:88vw}
  .hd-body>.hd-side{flex-basis:var(--hd-side-percent,40%);min-width:240px}
  .hd-hdr-doc{display:none}
}
@media (prefers-reduced-motion:reduce){.hd-splitter{transition:none}}

/* Independent tabbed left/right columns, with Preview selected initially. */
.hd-preview-content{display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0;overflow:hidden}
.hd-preview-content[hidden],.hd-overview-content[hidden]{display:none!important}
.hd-overview-content{display:block;flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;background:var(--hub-surface,#fff)}
.hd-overview-inner{padding:16px 20px 24px;max-width:900px}
.hd-overview-title{font-size:21px;font-weight:650;line-height:1.35;margin:0 0 18px;overflow-wrap:anywhere}
.hd-overview-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.hd-overview-info{display:grid;grid-template-columns:minmax(100px,145px) minmax(0,1fr);gap:12px 16px}
.hd-overview-info dt{font-size:12px;color:var(--hub-muted,#778297)}
.hd-overview-info dd{margin:0;overflow-wrap:anywhere}
.hd-overview-source{margin-top:20px}
.hd-left-tabs{background:var(--hub-surface,#fff)}
@media(max-width:800px){.hd-overview-inner{padding:12px}.hd-overview-info{grid-template-columns:minmax(80px,110px) minmax(0,1fr)}}

/* Overview: task-centric reading and editing (right-side Fields stays independent). */
.hd-overview-inner{max-width:100%;padding:18px 24px 30px}
.hd-overview-title{font-size:23px;margin-bottom:18px;line-height:1.35}
.hd-overview-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;padding:0 0 22px;border-bottom:1px solid var(--hub-line,#e4e9f0)}
.hd-overview-property{display:grid;grid-template-columns:minmax(70px,100px) minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.hd-overview-property-label{font-size:12px;color:var(--hub-muted,#778297)}
.hd-overview-property-value{min-width:0;overflow-wrap:anywhere}
.hd-overview-select{min-width:0;width:100%;max-width:190px;border:1px solid var(--hub-line,#e4e9f0);border-radius:6px;background:var(--hub-surface,#fff);color:inherit;padding:6px 8px;font:inherit}
.hd-overview-select:disabled{background:transparent;border-color:transparent;opacity:1}
.hd-overview-section{padding:18px 0 4px;border-bottom:1px solid var(--hub-line,#e4e9f0)}
.hd-overview-heading{font-size:13px;font-weight:700;margin:0 0 12px}
.hd-overview-description-editor{display:block;box-sizing:border-box;width:100%;min-height:132px;padding:12px;border:1px solid transparent;border-radius:8px;background:var(--hub-surface,#fff);color:var(--hub-text,#202b3d);font:inherit;line-height:1.55;resize:vertical;white-space:pre-wrap}
.hd-overview-description-editor:hover:not(:disabled),.hd-overview-description-editor:focus{border-color:var(--hub-line,#e4e9f0);outline:none}
.hd-overview-description-editor:focus{box-shadow:0 0 0 2px var(--hub-accent-lite,#edf0ff)}
.hd-overview-description-editor:disabled{opacity:1;resize:none}
.hd-overview-info{display:grid;grid-template-columns:minmax(110px,170px) minmax(0,1fr);gap:0}
.hd-overview-info dt,.hd-overview-info dd{margin:0;padding:9px 8px;border-bottom:1px solid var(--hub-line,#e4e9f0);overflow-wrap:anywhere}
.hd-overview-info dt{font-size:12px}
.hd-overview-file{padding:6px 0}
@media(max-width:1150px){
  .hd-overview-properties{grid-template-columns:minmax(0,1fr)}
  .hd-overview-inner{padding:14px}
}
@media(max-width:800px){
  .hd-overview-property{grid-template-columns:minmax(68px,110px) minmax(0,1fr)}
  .hd-overview-info{grid-template-columns:minmax(85px,120px) minmax(0,1fr)}
}

/* Match the 14px Hub text baseline in the task-detail workspace. */
.hd-backdrop,.hd-crumb,.hd-entry,.hd-size-select,.hd-toggle,.hd-label,
.hd-h3,.hd-pill,.hd-dialog .hub-pill,.hd-chip,.hd-dialog .hub-chip,
.hd-menu-item,.hd-prefix,.hd-time,.hd-meta dt,
.hd-overview-info dt,.hd-overview-property-label,
.hd-overview-heading,.hd-external-heading {font-size:14px}

/* Native Files: one preview window with in-place document navigation. */
.hd-file-switcher{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 10px;border-bottom:1px solid var(--hub-line,#e4e9f0);background:var(--hub-surface,#fff)}
.hd-file-position{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;flex:1;min-width:0}
.hd-file-step{font-size:25px!important;min-width:36px;min-height:34px;line-height:1}
.hd-file-step:disabled{opacity:.3;cursor:default}
.hub-files-icons{display:inline-flex;align-items:center;gap:2px}
.hub-file-icon,.hub-file-more,.hub-file-add{border:0;background:transparent;color:var(--hub-accent,#5268d9);border-radius:4px;cursor:pointer;padding:3px;font-size:14px}
.hub-file-icon:hover,.hub-file-icon:focus-visible,.hub-file-more:hover,.hub-file-add:hover,.hub-file-add:focus-visible{background:var(--hub-accent-lite,#edf0ff);outline-offset:2px}

/* Visible Files-column action even when no attachments exist. */
.hub-file-add{font-weight:600;line-height:1;min-width:24px;min-height:24px}
/* Comments UX: clearer surface hierarchy, legible attachment actions, and list rendering. */
.hd-side{border-left:1px solid var(--hub-line,#cbd5e1)}
.hd-panel{background:var(--hub-surface,#fff)}
.hd-comment{background:color-mix(in srgb,var(--hub-surface,#fff) 92%,var(--hub-text,#182338) 8%);border:1px solid color-mix(in srgb,var(--hub-line,#cbd5e1) 65%,var(--hub-text,#182338) 35%);box-shadow:0 1px 3px rgba(25,32,52,.09);padding:12px 13px}
.hd-comment .hd-act-head{padding-bottom:7px;border-bottom:1px solid var(--hub-line,#cbd5e1)}
.hd-comment-body,.hub-cmt-text{color:var(--hub-text,#182338);line-height:1.52;white-space:normal}
.hd-comment-list{margin:4px 0 6px 18px;padding-left:12px;list-style-position:outside}
ul.hd-comment-list{list-style-type:disc}
ol.hd-comment-list{list-style-type:decimal}
.hd-comment-list li{padding:2px 0}
.hd-comment-line{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1em}
.hd-composer{border-top:2px solid var(--hub-line,#cbd5e1);background:var(--hub-surface,#fff);box-shadow:0 -2px 8px rgba(15,23,42,.045)}
.hd-composer.is-file-over,.hub-cmt-compose.is-file-over{outline:2px dashed var(--hub-accent,#5268d9);outline-offset:-4px}
.hd-dialog .hd-attach{flex:none;white-space:nowrap;padding:7px 11px;border:1px solid var(--hub-line,#cbd5e1)}
.hd-composer-ta{min-height:38px}
.hd-mention-suggestions{position:fixed;z-index:140;min-width:220px;max-width:min(360px,95vw);max-height:240px;overflow:auto;padding:4px;background:var(--hub-surface,#fff);color:var(--hub-text,#202b3d);border:1px solid var(--hub-line,#cbd5e1);border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.hd-mention-suggestion{display:block;width:100%;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.hd-mention-suggestion.is-selected,.hd-mention-suggestion:hover{background:var(--hub-accent-lite,#edf0ff);color:var(--hub-accent,#5268d9)}
.hd-mention-suggestion:focus-visible{outline:2px solid var(--hub-accent,#5268d9)}

/* List Files cell: visible drop affordance and shared upload/Drive actions. */
.hub-td[data-col="files"].hub-files-dragover{outline:2px dashed var(--hub-accent,#5268d9);outline-offset:-3px;background:var(--hub-accent-lite,#edf0ff)}
.hub-file-attachment-menu{display:flex;flex-direction:column;gap:4px;padding:6px}
.hub-file-attachment-menu .hub-menu-item{width:100%;text-align:left}
.hub-files-dropzone{border:1px dashed var(--hub-border,#ccd3df);border-radius:6px;padding:14px 8px;text-align:center;color:var(--hub-text-muted,#667085);font-size:12px}
.hub-files-dropzone.is-dragover{border-color:var(--hub-accent,#5268d9);background:var(--hub-accent-lite,#edf0ff)}

/* Native Google Drive file chooser (868mb7grz). */
.hd-drive-chooser{display:flex;flex-direction:column;gap:8px}
.hd-drive-items{list-style:none;margin:0;padding:0;max-height:300px;overflow:auto;border:1px solid var(--hub-line,#cbd5e1);border-radius:6px}
.hd-drive-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid var(--hub-line,#e4e9f0)}
.hd-drive-open{flex:1;text-align:left}
.hd-drive-file{display:flex;align-items:center;gap:8px;flex:1;cursor:pointer}
.hd-drive-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-drive-paste{display:flex;gap:8px;align-items:center}
.hd-drive-paste .hub-label{white-space:nowrap}
.hd-drive-paste .hub-input{flex:1}
.hd-link-only{padding:16px;text-align:center}
.hd-drive-more{align-self:center}
.hd-drive-crumbs{display:flex;flex-wrap:wrap;gap:2px}
