.s-mydlg { width: min(1280px, calc(100vw - 32px)); max-width: none; height: 680px; max-height: 88vh; padding: 0; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; color: #0f172a; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .28); }
.s-mydlg[open] { display: flex; flex-direction: column; overflow: hidden; }
.s-mydlg [hidden] { display: none !important; }
.s-mydlg::backdrop { background: rgba(15, 23, 42, .58); backdrop-filter: blur(2px); }
.s-mydlg .my-head { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 32px 16px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.my-head h2 { margin: 0; color: #0f172a; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.my-head p { margin: 5px 0 0; color: #64748b; font-size: 13px; line-height: 1.45; }
.s-mydlg .my-close { flex: none; width: 36px; height: 36px; border-radius: 9px; color: #94a3b8; }
.s-mydlg .my-close:hover { background: #f1f5f9; color: #334155; }
.my-actions { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 32px; border-bottom: 1px solid #e2e8f0; background: rgba(248, 250, 252, .8); }
.my-create, .my-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.my-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #334155; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); font-size: 13px; font-weight: 600; }
.my-actions .btn:hover { border-color: #cbd5e1; background: #f1f5f9; }
.my-actions .btn-main { border-color: #2563eb; background: #2563eb; color: #fff; }
.my-actions .btn-main:hover { border-color: #1d4ed8; background: #1d4ed8; }
.my-dot { width: 8px; height: 8px; border-radius: 50%; }
.my-dot.ka { background: #f59e0b; }.my-dot.os { background: #059669; }.my-dot.ssr { background: #7c3aed; }
.my-search { position: relative; display: flex; align-items: center; width: 240px; }
.my-search > svg { position: absolute; left: 10px; width: 16px; height: 16px; fill: none; stroke: #94a3b8; stroke-width: 2; pointer-events: none; }
.my-search input { width: 100%; height: 32px; padding: 0 28px 0 32px; border: 1px solid #e2e8f0; border-radius: 8px; outline: none; background: #fff; color: #1e293b; font: 13px Inter, var(--sans); user-select: text; }
.my-search input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .12); }
.my-search button { position: absolute; right: 4px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #94a3b8; font-size: 20px; cursor: pointer; }
.my-view { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #e2e8f0; border-radius: 8px; background: #e2e8f0; }
.my-view button { display: grid; place-items: center; width: 28px; height: 26px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #64748b; cursor: pointer; }
.my-view button.on { background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.my-view svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.my-workspace { flex: 1; min-height: 0; padding: 20px 32px; overflow: auto; background: #f8fafc; }
.my-workhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; margin-bottom: 14px; }
.my-location { min-width: 0; }
#s_myRootTitle { display: flex; align-items: center; gap: 10px; }
#s_myRootTitle b { font-size: 15px; }
#s_myRootTitle span { color: #94a3b8; font-size: 11px; }
.my-crumbs { display: flex; align-items: center; gap: 8px; }
.my-crumbs[hidden] { display: none !important; }
.my-crumbs > span { color: #cbd5e1; }
.my-crumbs > b { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.my-crumbs button { padding: 5px 10px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; color: #2563eb; font: 600 12px var(--sans); cursor: pointer; }
.my-crumbs button.is-root-target { border-color: #2563eb; background: #dbeafe; box-shadow: 0 0 0 2px rgba(37, 99, 235, .2); }
.my-head-right { display: flex; align-items: center; gap: 12px; flex: none; }
#s_myCount { color: #64748b; font-size: 13px; font-weight: 500; }
.my-bulk { display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 10px; background: #0f172a; color: #e2e8f0; font-size: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .1); }
.my-bulk[hidden] { display: none !important; }
.my-bulk b { margin-right: 4px; color: #93c5fd; }
.my-bulk button { padding: 4px 7px; border: 0; border-radius: 5px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.my-bulk button:hover { background: #1e293b; }
.my-delete-btn { background: #e11d48 !important; color: #fff !important; }
.my-delete-btn:hover { background: #be123c !important; }
.my-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: stretch; align-content: start; }
.my-tile { --doc-stroke: #2563eb; --doc-soft: #eff6ff; --doc-badge: #2563eb; position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; aspect-ratio: 1 / 1; padding: 12px; border: 1px solid #e2e8f0; border-radius: 16px; outline: none; background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); cursor: pointer; transition: border-color .18s, background-color .18s, box-shadow .18s, opacity .18s; transform: none !important; user-select: none; }
.my-tile:hover { border-color: #cbd5e1; box-shadow: 0 8px 20px -6px rgba(15, 23, 42, .1); }
.my-tile:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }
.my-tile.is-selected { border-color: #2563eb; background: #f8faff; box-shadow: 0 0 0 1.5px #2563eb, 0 6px 16px -4px rgba(37, 99, 235, .12); }
.my-tile.is-drag-source { opacity: .42; border-style: dashed; border-color: #94a3b8; }
.my-tile.my-type-ka { --doc-stroke: #d97706; --doc-soft: #fffbeb; --doc-badge: #d97706; }
.my-tile.my-type-os { --doc-stroke: #059669; --doc-soft: #ecfdf5; --doc-badge: #059669; }
.my-tile.my-type-ssr { --doc-stroke: #7c3aed; --doc-soft: #f5f3ff; --doc-badge: #7c3aed; }
.my-tile-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 27px; }
.my-check { display: grid; place-items: center; width: 24px; height: 24px; margin: -4px 0 0 -4px; padding: 0; border: 0; border-radius: 7px; background: transparent; opacity: 0; cursor: pointer; transition: opacity .14s; }
.my-tile:hover .my-check, .my-tile.is-selected .my-check, .my-check:focus-visible { opacity: 1; }
.my-check svg { width: 16px; height: 16px; }
.my-check rect { fill: #fff; stroke: #cbd5e1; }
.my-check path { fill: none; stroke: transparent; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.my-tile.is-selected .my-check rect { fill: #2563eb; stroke: #2563eb; }
.my-tile.is-selected .my-check path { stroke: #fff; }
.my-rename, .my-menu-btn { display: grid; place-items: center; width: 28px; height: 28px; margin: -3px -3px 0 0; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #94a3b8; cursor: pointer; }
.my-rename:hover, .my-menu-btn:hover { background: #f1f5f9; color: #334155; }
.my-rename svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.my-menu-btn { border-color: #e2e8f0; background: #fff; font-size: 17px; line-height: 1; }
.my-menu-wrap { position: relative; }
.my-menu-pop { position: absolute; z-index: 30; top: 30px; right: 0; display: grid; width: 205px; padding: 6px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px -4px rgba(15, 23, 42, .18); }
.my-menu-pop > button { padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: #334155; font: 500 12px var(--sans); text-align: left; cursor: pointer; }
.my-menu-pop > button:hover { background: #f8fafc; }
.my-menu-pop .danger { color: #e11d48; }
.my-menu-move { display: grid; gap: 5px; padding: 6px 10px; color: #64748b; font-size: 11px; }
.my-menu-move select { width: 100%; height: 29px; padding: 0 6px; border: 1px solid #dbe3ed; border-radius: 6px; background: #fff; color: #334155; font: 12px var(--sans); }
.my-tile-center { display: grid; grid-template-rows: minmax(0, 1fr) 2.6em; flex: 1; min-height: 0; align-items: center; justify-items: center; padding: 2px 4px; text-align: center; }
.my-tile-center .my-icon { display: block; align-self: end; width: 48px; height: 48px; margin: 0; transform: translateY(-5px); }
.my-tile-center h3 { display: -webkit-box; align-self: start; width: 100%; min-height: 2.6em; max-height: 2.6em; margin: 0; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #0f172a; font-size: 12.5px; line-height: 1.3; }
.my-tile-center .my-rename-input { align-self: start; }
.my-folder-icon { fill: #fbbf24; stroke: #d97706; stroke-width: 2; stroke-linejoin: round; }
.my-folder-icon .back { fill: #fef3c7; }.my-folder-icon .paper { fill: #fff; stroke: #94a3b8; stroke-width: 1.5; }.my-folder-icon .lines { stroke: #2563eb; stroke-width: 1.5; }
.my-doc-icon { fill: var(--doc-soft); stroke: var(--doc-stroke); stroke-width: 2; stroke-linejoin: round; }
.my-doc-icon .fold { fill: #fff; }.my-doc-icon .stamp { fill: var(--doc-stroke); stroke: none; }.my-doc-icon text { fill: #fff; stroke: none; font: 700 6.3px Inter, var(--sans); text-anchor: middle; }.my-doc-icon .lines { fill: none; stroke-linecap: round; }
.my-rename-input { width: 100%; min-width: 0; padding: 4px 6px; border: 1px solid #2563eb; border-radius: 5px; outline: none; background: #fff; color: #0f172a; font: 700 12px Inter, var(--sans); text-align: center; user-select: text; }
.my-tile-bottom { flex: none; padding-top: 6px; border-top: 1px solid #f1f5f9; }
.my-folder-count { display: block; color: #64748b; font-size: 11px; font-weight: 500; text-align: center; }
.my-amount { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 7px; border: 1px solid #e2e8f0; border-radius: 7px; background: #f8fafc; color: #64748b; }
.my-amount.has { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.my-amount span { font-size: 10px; }
.my-amount b { overflow: hidden; font: 600 11.5px var(--sans); text-overflow: ellipsis; white-space: nowrap; }
.my-meta { display: flex; justify-content: space-between; gap: 4px; margin-top: 5px; color: #94a3b8; font-size: 10px; }
.my-meta time { font-family: var(--sans); white-space: nowrap; }
.my-folder-overlay { position: absolute; z-index: 20; inset: 6px; display: flex; visibility: hidden; flex-direction: column; align-items: center; justify-content: center; padding: 12px; border-radius: 12px; background: rgba(37, 99, 235, .96); color: #fff; opacity: 0; pointer-events: none; text-align: center; transition: opacity .18s, visibility .18s; }
.my-folder-overlay b { font-size: 12px; }.my-folder-overlay span { margin-top: 4px; color: #dbeafe; font-size: 11px; }
.my-tile.is-folder-target { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb, 0 12px 28px -6px rgba(37, 99, 235, .25); }
.my-tile.is-folder-target .my-folder-overlay { visibility: visible; opacity: 1; }
.my-tile.is-drop-before::before, .my-tile.is-drop-after::after { content: ''; position: absolute; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #2563eb; box-shadow: 0 0 8px rgba(37, 99, 235, .45); pointer-events: none; }
.my-tile.is-drop-before::before { left: -8px; }.my-tile.is-drop-after::after { right: -8px; }
.my-dragging .my-tile *, .my-dragging .my-crumbs * { pointer-events: none !important; }
.my-table-wrap { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.my-table-wrap[hidden] { display: none !important; }
.my-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.my-table th { padding: 12px 8px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; color: #94a3b8; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.my-table th:first-child, .my-table td:first-child { width: 38px; padding-left: 14px; }
.my-table th:nth-last-child(2), .my-table td:nth-last-child(2) { white-space: nowrap; }
.my-table td { padding: 10px 8px; border-bottom: 1px solid #f1f5f9; color: #475569; }
.my-table tr:last-child td { border-bottom: 0; }
.my-table tbody tr { cursor: pointer; }
.my-table tbody tr:hover { background: #f8fafc; }.my-table tbody tr.is-selected { background: #eff6ff; }
.my-table .my-name { color: #0f172a; font-weight: 600; }
.my-table .my-num, .my-table .my-date { font-family: var(--sans); font-size: 11px; white-space: nowrap; }
.my-table .my-num { text-align: right; color: #0f172a; font-weight: 600; }
.my-type-badge { display: inline-block; padding: 3px 8px; border: 1px solid #bfdbfe; border-radius: 6px; background: #eff6ff; color: #1d4ed8; font-size: 11px; font-weight: 600; }
.my-type-badge.ka { border-color: #fde68a; background: #fffbeb; color: #b45309; }.my-type-badge.os { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }.my-type-badge.ssr { border-color: #ddd6fe; background: #f5f3ff; color: #6d28d9; }.my-type-badge.folder { border-color: #fde68a; background: #fffbeb; color: #b45309; }
.my-row-del { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: none; color: #94a3b8; cursor: pointer; }
.my-row-del:hover { background: #fff1f2; color: #e11d48; }
.my-empty { display: flex; min-height: 280px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px dashed #cbd5e1; border-radius: 12px; background: #fff; text-align: center; }
.my-empty[hidden] { display: none !important; }.my-empty-icon { color: #94a3b8; font-size: 38px; }.my-empty b { color: #1e293b; font-size: 14px; }.my-empty p { margin: 6px 0 0; color: #64748b; font-size: 12px; }
.my-foot { display: flex; flex: none; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 32px; border-top: 1px solid #e2e8f0; background: #fff; color: #64748b; font-size: 11px; }
.my-foot b { color: #334155; font-weight: 600; }
.my-delete { width: min(448px, calc(100vw - 32px)); padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px; color: #0f172a; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); }
.my-delete::backdrop { background: rgba(15, 23, 42, .6); }
.my-delete-symbol { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #fecdd3; border-radius: 10px; background: #fff1f2; color: #e11d48; font-size: 26px; }
.my-delete h2 { margin: 14px 0 6px; font-size: 16px; }.my-delete > p { margin: 0 0 14px; color: #64748b; font-size: 12px; line-height: 1.5; }
.my-delete-items { display: grid; gap: 5px; max-height: 150px; overflow: auto; padding: 8px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.my-delete-items > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; font-size: 12px; }.my-delete-items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.my-delete-items small { flex: none; color: #94a3b8; }
.my-delete-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }.my-delete-actions .btn { padding: 8px 14px; }
.my-lasso { position: fixed; z-index: 1000; display: none; border: 1px solid #2563eb; border-radius: 4px; background: rgba(37, 99, 235, .08); pointer-events: none; }
@media (max-width: 1100px) { .my-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .s-mydlg .my-head, .my-actions, .my-workspace, .my-foot { padding-left: 20px; padding-right: 20px; }
  .my-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .my-tools { flex: 1 1 100%; }.my-search { flex: 1; width: auto; }
  .my-table-wrap { overflow-x: auto; }.my-table { min-width: 800px; }
  #s_myRootTitle span { display: none; }
}
@media (max-width: 500px) {
  .s-mydlg { width: calc(100vw - 16px); height: calc(100dvh - 24px); max-height: none; border-radius: 13px; }
  .s-mydlg .my-head { padding: 15px 14px 12px; }.my-head h2 { font-size: 19px; }.my-head p { font-size: 11px; }
  .my-actions { gap: 10px; padding: 10px 12px; }.my-create { gap: 5px; }.my-actions .btn { height: 31px; padding: 0 9px; font-size: 11px; }
  .my-workspace { padding: 12px; }.my-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .my-workhead { height: auto; min-height: 40px; align-items: flex-start; }.my-bulk { flex-wrap: wrap; max-width: 210px; }.my-bulk b { flex: 1 1 100%; }
  .my-tile { padding: 9px; border-radius: 12px; }.my-tile-center .my-icon { width: 32px; height: 32px; margin-bottom: 3px; }.my-tile-center h3 { font-size: 11px; }
  .my-amount { padding: 3px 5px; }.my-amount span { font-size: 9px; }.my-amount b { font-size: 10px; }.my-meta { flex-direction: column; gap: 1px; font-size: 9px; }.my-meta time { font-size: 8.5px; }
  .my-check { opacity: 1; }.my-foot { display: none; }.my-crumbs > b { max-width: 135px; }
}
@media (hover: none) { .my-check { opacity: 1; } }
