.upload-warning{padding:12px 15px;background:#fff1f0;border:1px solid #f5a19a;border-radius:10px;color:#d92d20;font-size:13px;font-weight:700;line-height:1.7}
.transfer-tip{font-size:12px;color:#816b59;line-height:1.7}
.transfer-title.upload-active + #transfer-body .transfer-tip{color:#d92d20;font-weight:700}
.transfer-title.upload-active{background:#ffe9d4;color:#97440b}
.chat-mode .app{display:block;min-height:100vh}
.chat-mode .sidebar,.chat-mode .topbar,.chat-mode .eyebrow,.chat-mode .drive-tabs,.chat-mode .selection-bar,.chat-mode .list-label,.chat-mode .drop-footer,.chat-mode #view-toggle,.chat-mode #new-folder,.chat-mode #folder-upload{display:none!important}
.chat-mode .selection-bar + .policy{display:none}
.chat-group-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.chat-group-actions button{font-size:12px;padding:6px 9px}.chat-group-actions #chat-bind{color:#b9530d;border-color:#edbb95;background:#fff1e3}.chat-picker-folder{display:block;width:100%;text-align:left;margin:6px 0;font-size:13px}#chat-picker-list{max-height:36vh;overflow:auto;margin:12px 0}.chat-bind-check{line-height:1.8;margin:14px 0}.chat-bind-check input{display:inline;width:auto;margin:0 7px 0 0}#chat-bind-error{color:#b14a18}#chat-picker-path{overflow-wrap:anywhere;font-weight:600}
.chat-mode .main{padding:0 16px 90px;max-width:760px;margin:auto}
.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 0 14px;border-bottom:1px solid #e8ded4;position:relative}
.chat-heading strong{font-size:16px}.chat-full-link{font-size:12px;color:#b65312;white-space:nowrap}
.chat-context{padding-top:16px}.chat-context-status{font-size:13px;font-weight:600;color:#92735c;overflow-wrap:anywhere}.chat-mode .chat-context-hint{font-size:12px;color:#9c8877;margin:5px 0 0;line-height:1.7;white-space:normal;overflow:visible;overflow-wrap:anywhere;max-width:none}
.chat-mode .workspace-head{padding:12px 0 14px;display:block}.chat-mode .workspace-head h1{font-size:23px;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere;margin:0 0 6px}.chat-mode .workspace-head p{font-size:12px;line-height:1.7}
.chat-mode .toolbar{padding:10px 0;gap:6px;flex-wrap:nowrap}.chat-mode .toolbar .actions{width:auto;margin:0;order:2}.chat-mode .toolbar .search{flex:1;max-width:none}.chat-mode .toolbar #sort{width:85px;font-size:11px}.chat-mode #refresh{white-space:nowrap;font-size:12px;padding:8px}
.chat-mode .path-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 12px}.chat-mode #up-folder{display:block;width:auto;min-height:43px;padding:8px 13px;order:0;font-size:14px;border:1px solid #e7c4a7;background:#fff;color:#9c4915;box-shadow:none}.chat-mode #up-folder:disabled{opacity:.48;cursor:default}.chat-mode #file-count{margin-left:auto;white-space:nowrap;font-size:12px}.chat-mode #breadcrumb{order:3;flex-basis:100%;max-width:100%;gap:2px;line-height:1.4}.chat-mode #breadcrumb button{font-size:11px;max-width:100%;overflow-wrap:anywhere;text-align:left}
.chat-mode #drop-zone{min-height:0;background:transparent;border:0;overflow:visible;border-radius:0}.chat-upload-card{padding:20px 15px;margin-bottom:16px;border:1.5px dashed #d9752e;background:#fff0df;border-radius:14px;text-align:center}.chat-upload-card>strong{font-size:17px;display:block;line-height:1.5;overflow-wrap:anywhere}.chat-upload-card>p{font-size:12px;color:#9a7860;line-height:1.7;margin:8px 0 13px}.chat-mode #upload{min-height:46px;font-size:16px;padding:10px 24px;background:#cb5d10;border-color:#cb5d10}.chat-upload-card .chat-upload-reminder{font-size:11px;margin:12px 0 0;color:#966b4b}.chat-upload-card .upload-warning{font-size:12px;font-weight:700;color:#d92d20;background:#fff1f0;margin:12px 0 0;padding:10px}
.chat-mode #files{display:flex;flex-direction:column;border:1px solid #e8ddd2;border-radius:13px;background:white;overflow:hidden;padding:0;gap:0}.chat-mode .chat-file{display:flex;align-items:center;gap:12px;padding:15px 13px;min-height:75px;width:100%;border:0;border-bottom:1px solid #eee6df;border-radius:0;background:transparent;text-align:left;touch-action:manipulation}.chat-mode .chat-file:last-child{border-bottom:0}.chat-mode .chat-file:hover{background:#fff7ee}.chat-mode .chat-file:focus-visible{outline-offset:-3px}.chat-file-copy{min-width:0;flex:1}.chat-file-copy strong{font-weight:550;font-size:14px;line-height:1.6;display:block;overflow-wrap:anywhere}.chat-file-copy small{font-size:11px;color:#aa9280;display:block;margin-top:3px}.chat-file-action{color:#a95a24;font-size:12px;white-space:nowrap}.chat-mode .drive-file-icon{margin:0;flex-shrink:0;width:32px;height:36px;font-size:25px}.chat-mode .drive-file-icon.folder{width:32px;height:25px;border-radius:4px}.chat-mode .drive-file-icon.folder:before{width:14px;height:6px;top:-4px;border-radius:3px 3px 0 0}.chat-mode .empty{padding:36px 18px;font-size:12px}.chat-mode .empty b{font-size:15px}
.chat-mode .policy{font-size:11px;line-height:1.8;margin:16px 0}.chat-mode #drop-hint{position:absolute;inset:0;border-radius:13px;font-size:17px;text-align:center;padding:25px;z-index:20}
.chat-mode .transfer{right:10px;bottom:10px;width:calc(100% - 20px);max-width:520px;border-radius:13px;z-index:25}.chat-mode .transfer #tasks{max-height:210px;max-height:min(30vh,250px)}.chat-mode .transfer-title{font-size:14px;padding:13px}.chat-mode .task-name{font-size:13px;max-width:none;flex:1}.chat-mode .task button{font-size:12px;white-space:nowrap;min-height:32px}.chat-mode .task-info{font-size:11px;line-height:1.7}.chat-mode .transfer-actions{padding:10px 12px;gap:8px}.chat-mode .transfer-actions button{font-size:12px;padding:7px 10px}.chat-mode .toast{bottom:65px;font-size:12px}.chat-mode dialog{max-width:calc(100% - 20px)}
