:root{--orange:#f58220;--orange-dark:#dc6d0e;--orange-soft:#fff5eb;--ink:#172033;--muted:#697586;--line:#e3e8ef;--soft:#f6f8fb;--red:#b42318;--red-soft:#fff1f0;--green:#067647;--blue:#175cd3}*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f4f6f9;color:var(--ink);font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.topbar{height:64px;padding:0 max(24px,calc((100% - 1320px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:760;text-decoration:none;font-size:16px}.brand-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:var(--orange);font-weight:850;font-size:20px}.brand-mark.small{width:31px;height:31px;border-radius:8px;font-size:14px}.topbar nav{display:flex;gap:5px}.topbar nav a{padding:8px 11px;border-radius:7px;color:#526071;text-decoration:none}.topbar nav a:hover,.topbar nav a.active{background:var(--soft);color:var(--ink)}.container{max-width:1320px;margin:0 auto;padding:28px 24px 64px}.manager-header,.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.manager-header h1,.page-heading h1{margin:0 0 3px;font-size:25px;line-height:1.2}.manager-header p,.page-heading p,.muted{margin:0;color:var(--muted)}.manager-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 26px rgba(16,24,40,.045);overflow:hidden}.search-row{display:flex;gap:10px;padding:16px;border-bottom:1px solid var(--line)}.search-form{display:flex;align-items:center;gap:8px;position:relative;flex:1}.search-icon{position:absolute;left:13px;color:#7b8797;font-size:21px;line-height:1;transform:rotate(-15deg)}.search-input{padding-left:40px;min-width:180px}.search-clear{position:absolute;right:91px;color:var(--muted);text-decoration:none;font-size:12px;font-weight:700}.filter-button.active{color:#b54708;border-color:#f6b77b;background:var(--orange-soft)}.filter-panel{display:none;grid-template-columns:180px 180px 200px auto;align-items:end;gap:12px;padding:15px 16px;background:#fafbfc;border-bottom:1px solid var(--line)}.filter-panel.open{display:grid}.path-toolbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;border-bottom:1px solid var(--line)}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.breadcrumbs a{color:#475467;text-decoration:none;font-weight:650}.breadcrumbs a:last-child{color:var(--ink)}.breadcrumbs span{color:#a5adba}.result-count{color:var(--muted);white-space:nowrap}.bulkbar{min-height:56px;padding:9px 14px;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:10px 10px 0 0}.compact-bulk{border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;transition:background .15s}.compact-bulk.has-selection{background:#fff9f4}.bulkbar .button:last-child,.bulkbar .bulk-actions{margin-left:auto}.check-label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px}.manager-table{border:0;border-radius:0}table{width:100%;border-collapse:collapse}th,td{padding:11px 14px;text-align:left;border-bottom:1px solid #edf0f4;vertical-align:middle}th{height:43px;background:#fafbfc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.045em}tbody tr:hover{background:#fcfcfd}th.check,td.check{width:46px;padding-right:0}.actions-heading{text-align:right}.item-name{display:flex;align-items:center;gap:11px;min-width:260px;color:var(--ink);text-decoration:none}.item-name strong{display:block;font-weight:680;word-break:break-word}.item-name small,td small{display:block;max-width:620px;margin-top:2px;color:var(--muted);word-break:break-all}.file-icon{flex:0 0 auto;width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:#eef4ff;color:#3538cd;font-size:9px;font-weight:850;letter-spacing:-.02em}.folder-icon{background:#fff1df;color:#e87512;font-size:20px}.type-label,.muted-cell{color:var(--muted)}.client-pill{display:inline-block;padding:3px 8px;border-radius:999px;background:var(--orange-soft);color:#b54708;font-size:12px;font-weight:750}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;white-space:nowrap}.inline-form{display:inline}.icon-button{border:0;background:transparent;color:#475467;padding:6px 7px;border-radius:6px;text-decoration:none;font:600 12px/1 inherit;cursor:pointer}.icon-button:hover{background:#f0f2f5;color:var(--ink)}.danger-text{color:var(--red)}.danger-text:hover{background:var(--red-soft);color:var(--red)}.parent-row td{background:#fbfcfd}.empty{text-align:center;padding:54px;color:var(--muted)}.empty strong,.empty span{display:block}.empty strong{margin:9px 0 3px;color:var(--ink)}.empty-icon{width:42px;height:42px;margin:auto;border:2px dashed #cbd3df;border-radius:9px;display:grid;place-items:center;font-size:20px}.limit-note{padding:11px 16px;background:#fffaeb;color:#93370d;font-size:12px}.nowrap{white-space:nowrap}.alert{margin:0 0 15px;padding:11px 14px;border-radius:8px;border:1px solid}.alert.success{color:var(--green);background:#ecfdf3;border-color:#abefc6}.alert.error{color:var(--red);background:#fef3f2;border-color:#fecdca}.filter-card{display:grid;grid-template-columns:220px auto;justify-content:start;gap:12px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:16px}.filter-actions,.bulk-actions,.modal-actions{display:flex;gap:8px}label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#475467}input,select{width:100%;height:39px;padding:8px 10px;border:1px solid #cfd6e1;border-radius:7px;background:#fff;color:var(--ink);font:inherit}input:focus,select:focus{outline:3px solid rgba(245,130,32,.14);border-color:var(--orange)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--orange)}.button{display:inline-flex;align-items:center;justify-content:center;height:39px;padding:0 14px;border:1px solid #cfd6e1;border-radius:7px;background:#fff;color:#344054;text-decoration:none;font-weight:700;cursor:pointer;white-space:nowrap}.button:hover{background:var(--soft)}.button.primary{color:#fff;background:var(--orange);border-color:var(--orange)}.button.primary:hover{background:var(--orange-dark)}.button.danger{color:#fff;background:var(--red);border-color:var(--red)}.button.danger.subtle{color:var(--red);background:#fff;border-color:#f4b8b2}.button:disabled{opacity:.42;cursor:not-allowed}.button.full{width:100%}.modal{width:min(450px,calc(100% - 30px));padding:0;border:0;border-radius:13px;box-shadow:0 24px 80px rgba(16,24,40,.24)}.modal::backdrop{background:rgba(15,23,42,.48)}.modal form{padding:21px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.modal h2{margin:0;font-size:20px}.modal p{margin:0 0 18px;color:var(--muted)}.modal-close{border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.modal-actions{justify-content:flex-end;margin-top:20px}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 0,#fff4eb 0,transparent 42%),#f5f7fa}.login-card{width:min(400px,100%);padding:30px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 55px rgba(16,24,40,.09)}.login-card .brand-mark{margin-bottom:18px}.login-card h1{margin:0 0 5px;font-size:25px}.login-card form{display:grid;gap:15px;margin-top:24px}.login-card code{word-break:break-word}@media(max-width:900px){.filter-panel{grid-template-columns:1fr 1fr}.filter-panel .filter-actions{grid-column:1/-1}.container{padding:22px 14px}.row-actions{min-width:190px}.topbar nav a{padding:8px 7px}.bulkbar{flex-wrap:wrap}.bulkbar .button:last-child,.bulkbar .bulk-actions{margin-left:0}}@media(max-width:620px){.topbar{padding:0 12px}.brand span:last-child{display:none}.topbar nav{font-size:12px}.manager-header{align-items:flex-end}.search-row{flex-wrap:wrap}.search-form{width:100%;flex-wrap:wrap}.search-form .search-input{flex:1}.search-form .button.primary{width:100%}.search-clear{right:12px;top:12px}.filter-button{width:100%}.filter-panel{grid-template-columns:1fr}.filter-panel .filter-actions{grid-column:auto}.path-toolbar{align-items:flex-start;flex-direction:column}.result-count{align-self:flex-end}.manager-header h1{font-size:22px}.row-actions{min-width:180px}}
.toolbar-right{display:flex;align-items:center;gap:14px}.sort-form label{display:flex;align-items:center;gap:8px;white-space:nowrap}.sort-form label span{font-size:12px;color:var(--muted)}.sort-form select{width:auto;min-width:145px;height:36px;padding:6px 30px 6px 9px}@media(max-width:620px){.toolbar-right{width:100%;justify-content:space-between}.sort-form select{min-width:132px}}
.icon-button{display:inline-flex;align-items:center;gap:5px}.action-icon{width:15px;height:15px;flex:0 0 auto}@media(max-width:1050px){.icon-button span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-button{width:32px;height:32px;justify-content:center;padding:0}.row-actions{min-width:110px}}
.row-actions .icon-button{width:34px;height:34px;justify-content:center;padding:0;gap:0}.row-actions{min-width:118px}
.confirm-modal{padding:22px;width:min(470px,calc(100% - 30px))}.confirm-content{display:flex;align-items:flex-start;gap:14px}.confirm-content h2{margin:1px 0 5px}.confirm-content p{margin:0;color:var(--muted)}.confirm-symbol{flex:0 0 auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--red-soft);color:var(--red);font-size:20px;font-weight:850}.confirm-modal .modal-actions{margin-top:24px}
.info-symbol{background:#eff8ff;color:#175cd3}
.storage-card{margin-bottom:16px;padding:15px 17px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 6px 20px rgba(16,24,40,.035)}.storage-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.storage-heading>div{display:flex;align-items:baseline;gap:10px}.storage-heading span,.storage-foot{color:var(--muted);font-size:12px}.storage-track{height:9px;overflow:hidden;background:#edf1f5;border-radius:999px}.storage-track span{display:block;height:100%;min-width:2px;background:linear-gradient(90deg,var(--orange),#f7a34e);border-radius:inherit}.storage-foot{display:flex;justify-content:space-between;margin-top:7px}@media(max-width:620px){.storage-heading>div{display:grid;gap:2px}.storage-heading{align-items:flex-start}}
.calculate-size{width:28px;height:28px;margin-left:4px;padding:0;display:inline-grid;place-items:center;vertical-align:middle;border:0;border-radius:6px;background:transparent;color:var(--blue);cursor:pointer}.calculate-size:hover{background:#eff8ff}.calculate-size .action-icon{width:15px;height:15px}.calculate-size.loading .action-icon{animation:size-spin .8s linear infinite}.folder-size-result{vertical-align:middle}@keyframes size-spin{to{transform:rotate(360deg)}}
.calculate-size[hidden]{display:none}
.move-modal{width:min(560px,calc(100% - 30px))}.folder-picker{border:1px solid var(--line);border-radius:9px;overflow:hidden}.folder-picker-toolbar{min-height:46px;display:flex;align-items:center;gap:8px;padding:6px 10px;background:#fafbfc;border-bottom:1px solid var(--line)}.folder-picker-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-picker-list{min-height:160px;max-height:310px;overflow:auto;padding:6px}.folder-choice{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:0;border-radius:7px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.folder-choice:hover,.folder-choice:focus-visible{background:var(--orange-soft);outline:none}.folder-choice-icon{color:var(--orange);font-size:18px}.folder-picker-empty,.folder-picker-loading{padding:34px 12px;text-align:center;color:var(--muted)}.folder-picker-error{margin:8px;padding:9px;border-radius:7px;background:var(--red-soft);color:var(--red)}
