:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#20283a;background:#f3f5f9;font-size:14px;--accent:#5146e5;--muted:#69748a;--line:#e5e9f1}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;color:#34405a;padding:9px 13px;white-space:nowrap}button:hover{background:#eef0fc}button:disabled{opacity:.4;cursor:not-allowed}.primary{background:var(--accent);color:white;border-color:var(--accent);font-weight:650}.primary:hover{background:#4034cc}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 10%,#e5e6ff,transparent 55%),#f3f5f9}.login-card{width:min(100%,410px);padding:38px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 25px 75px #293c7020}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#5146e5;color:white;font-weight:800;font-size:23px}.login-card .brand-mark{margin-bottom:24px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--muted);margin:0 0 8px}h1{font-size:28px;letter-spacing:-.04em;margin:0 0 8px}p,small{color:var(--muted)}.login-card form{display:grid;gap:15px;margin:24px 0 10px}.login-card label{display:grid;gap:8px;font-weight:600}.login-card input,dialog input{border:1px solid #d9dfea;border-radius:9px;padding:12px;width:100%;outline-color:var(--accent)}.login-card button{display:flex;justify-content:space-between;padding:13px 15px}.error{color:#b42338;margin:0;min-height:18px}.app{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}aside{background:#fff;border-right:1px solid var(--line);padding:23px 15px;display:flex;flex-direction:column;gap:13px;min-width:0}.brand{display:flex;align-items:center;gap:11px;margin:0 4px 27px}.brand small{display:block;margin-top:3px}.nav{text-align:left;display:flex;gap:12px;align-items:center;border:none}.nav.active{background:#eeedff;color:#5146e5;font-weight:650}.tree{display:grid;gap:4px;max-height:65vh;overflow:auto}.tree button{text-align:left;border:0;background:transparent;overflow:hidden;text-overflow:ellipsis}.tree button:hover{background:#f0f2f8}.sidebottom{margin-top:auto;color:var(--muted);font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sidebottom button{width:100%;text-align:left}.dot{width:8px;height:8px;border-radius:50%;background:#2eab78}.workspace{padding:32px;min-width:0;max-width:1800px;width:100%;margin:auto}header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.actions,.tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.crumb{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:#8a92a3}.crumb button{border:0;background:transparent;padding:2px;color:#5146e5}.toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:10px;padding:0 12px;min-width:0;flex:1;max-width:340px}.search input{border:0;outline:none;min-width:0;width:100%;padding:12px 0;background:none}.search span{font-size:22px;color:#69748a}select{background:white;border:1px solid var(--line);padding:9px;border-radius:9px;color:#34405a}.files{position:relative;min-height:390px;border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8f9fc;color:#69748a;font-weight:650;font-size:12px;padding:14px}td{padding:12px 14px;border-top:1px solid #edf0f6}td:first-child{width:43%;white-space:normal;word-break:break-word}td:last-child{white-space:nowrap}tr:hover td{background:#fafbfe}.file-name{display:inline-flex;gap:10px;align-items:center;border:0;padding:0;background:none;text-align:left;white-space:normal;font-weight:550;word-break:break-word}.file-icon{display:grid;place-items:center;flex:none;width:31px;height:31px;background:#f0f1ff;color:#5146e5;border-radius:8px;font-size:16px}.file-icon.folder{background:#fff1d7;color:#b77813}.row-actions{display:flex;gap:5px}.row-actions button{font-size:12px;padding:6px 8px}.danger{color:#b42338}.empty{text-align:center;padding:85px 20px;color:var(--muted)}.empty div{font-size:48px;color:#b7c0d5}.empty h3{color:#303c54}footer{display:flex;justify-content:space-between;padding:13px 3px;font-size:12px;color:var(--muted)}#drag-overlay{position:absolute;inset:0;background:#eeedfff2;border:3px dashed #5146e5;border-radius:14px;display:grid;place-items:center;font-size:24px;font-weight:750;color:#5146e5;pointer-events:none}#progress-panel{position:fixed;bottom:20px;right:20px;width:min(340px,90vw);background:white;border:1px solid var(--line);border-radius:12px;padding:15px;box-shadow:0 8px 30px #27396722;display:grid;gap:9px;z-index:4}progress{width:100%;accent-color:var(--accent)}#toast{position:fixed;right:20px;top:18px;max-width:min(380px,90vw);background:#20283a;color:white;border-radius:10px;padding:14px 18px;box-shadow:0 8px 20px #20283a20;z-index:9}dialog{border:1px solid var(--line);border-radius:16px;padding:24px;width:min(420px,92vw);box-shadow:0 16px 50px #293b7050}dialog::backdrop{background:#17203380}dialog h2{margin-top:0}dialog .actions{justify-content:flex-end;margin-top:18px}@media(max-width:760px){.app{display:block}aside{padding:12px 16px;flex-direction:row;align-items:center;flex-wrap:wrap}.brand{margin:0 auto 0 0}.brand small,aside>.eyebrow,.tree,.sidebottom .dot,.sidebottom{display:none}.workspace{padding:18px 12px}header{align-items:flex-start;flex-direction:column}.toolbar{flex-wrap:wrap}.search{max-width:none}.files{min-height:320px}th,td{padding:10px}th:nth-child(2),td:nth-child(2),th:nth-child(4),td:nth-child(4){display:none}.row-actions{flex-wrap:wrap}td:first-child{min-width:130px}.sidebottom{display:flex;width:auto;font-size:0}.sidebottom button{font-size:12px}}
