.drive-search { position: relative; flex: 1 1 auto; max-width: 560px; margin: 0 24px; }
.drive-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a94a6; font-size: 14px; pointer-events: none; }
.drive-search-input { width: 100%; height: 40px; padding: 0 40px 0 38px; border: 1px solid #dfe3ea; border-radius: 20px; background: #f4f6f9; font-size: 14px; outline: none; transition: background .15s, box-shadow .15s, border-color .15s; }
.drive-search-input:focus { background: #fff; border-color: #f33030; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.drive-search-spinner { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid #dfe3ea; border-top-color: #f33030; border-radius: 50%; animation: dsSpin .7s linear infinite; }
@keyframes dsSpin { to { transform: rotate(360deg); } }

.drive-search-results { position: absolute; top: 46px; left: 0; right: 0; z-index: 1050; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid #e3e7ee; border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 6px 0; }
.drive-search-results .ds-group { padding: 8px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a94a6; }
.drive-search-results .ds-item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; cursor: pointer; }
.drive-search-results .ds-item:hover, .drive-search-results .ds-item.active { background: #f4f6f9; }
.drive-search-results .ds-ico { font-size: 22px; width: 26px; text-align: center; flex: none; }
.drive-search-results .ds-main { flex: 1 1 auto; min-width: 0; }
.drive-search-results .ds-name { font-size: 14px; font-weight: 600; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drive-search-results mark { background: #ffe8a3; padding: 0; color: inherit; }
.drive-search-results .ds-path { font-size: 12px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drive-search-results .ds-crumb { color: #6b7280; text-decoration: none; }
.drive-search-results .ds-crumb:hover { color: #f33030; text-decoration: underline; }
.drive-search-results .ds-sep { font-size: 8px; margin: 0 6px; color: #b4bcc9; }
.drive-search-results .ds-actions { display: flex; gap: 6px; flex: none; }
.drive-search-results .ds-btn { padding: 4px 10px; border-radius: 6px; font-size: 12px; color: #fff; background: #f33030; text-decoration: none; white-space: nowrap; }
.drive-search-results .ds-btn:hover { background: #d92222; color: #fff; }
.drive-search-results .ds-btn-light { background: #eef1f6; color: #4b5563; }
.drive-search-results .ds-btn-light:hover { background: #dde2ea; color: #1f2937; }
.drive-search-results .ds-empty { padding: 24px 16px; text-align: center; color: #6b7280; font-size: 13px; }
.drive-search-results .ds-empty i { display: block; font-size: 22px; margin-bottom: 8px; color: #b4bcc9; }

@media (max-width: 767px) {
    .drive-search { margin: 0 8px; }
    .drive-search-results .ds-actions .ds-btn { font-size: 0; padding: 6px 9px; }
    .drive-search-results .ds-actions .ds-btn i { font-size: 12px; }
}
