:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20251f;background:#f7f8f6;--green:#24563d;--muted:#747c73;--line:#e3e7e1;--paper:#fff;--soft:#edf4ed;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #90b89b;outline-offset:2px}button{transition:background .16s,transform .16s}button:active{transform:scale(.97)}button svg{flex-shrink:0}svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button.icon{display:inline-grid;place-items:center;width:36px;height:36px;border:0;background:transparent;border-radius:9px;flex-shrink:0}button.icon:hover,.plain:hover{background:#eef1ec}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:750;letter-spacing:-.6px}.brandmark{width:38px;height:38px;display:grid;place-items:center;background:var(--green);color:white;border-radius:12px}.brandmark svg{width:25px;height:25px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:600;margin-top:3px}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-main{display:flex;flex-direction:column;justify-content:space-between;padding:42px 8vw;min-height:100dvh}.login-form{width:100%;max-width:390px;margin:auto}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.3px;line-height:1.15}h2{font-size:20px;letter-spacing:-.5px}p{line-height:1.6}.muted{color:var(--muted)}.login-form h1{font-size:36px;margin:12px 0}.login-form p{margin-bottom:28px}.field{display:grid;gap:8px;margin:15px 0;font-weight:600}.field input,.field select{border:1px solid #d9dfd7;border-radius:10px;padding:13px;background:white;min-width:0;width:100%;font-weight:400}.primary,.secondary,.danger{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:11px 15px;font-weight:650;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#19432e}.secondary{background:white;border-color:var(--line)}.secondary:hover{background:#f3f5f1}.danger{background:#b43d37;color:white}.login-form .primary{width:100%;margin-top:9px;padding:14px}.login-art{position:relative;overflow:hidden;margin:15px;border-radius:24px;background:#173e2d;color:white;display:flex;flex-direction:column;justify-content:flex-end;padding:52px;min-height:450px}.login-art:before,.login-art:after{content:"";position:absolute;border:1px solid #ffffff22;width:540px;height:540px;border-radius:50%;top:-180px;right:-120px;box-shadow:0 0 0 50px #ffffff07,0 0 0 100px #ffffff05,0 0 0 150px #ffffff04}.login-art:after{width:260px;height:260px;top:65px;right:20%;background:#ffffff08;box-shadow:none}.login-art h2{font-size:45px;letter-spacing:-2px;max-width:470px;line-height:1.05;z-index:1}.login-art p{color:#c4d6c9;margin-top:18px;z-index:1;max-width:380px}.art-icon{position:absolute;top:25%;left:35%;z-index:2;transform:rotate(-10deg);color:#d0e8ce}.art-icon svg{width:110px;height:110px;stroke-width:.7}.login-footer{font-size:12px;color:var(--muted);padding-top:20px}.error{color:#b43d37;font-size:13px;margin-top:10px;min-height:18px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:25px 19px 18px;background:#fbfcfa;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:28px}.nav-label{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:700;margin:0 10px 12px}.nav{display:grid;gap:4px}.nav button{display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;padding:11px;border-radius:9px;color:#596257;font-weight:550}.nav button.active{background:#e6efe5;color:var(--green);font-weight:700}.nav button:hover{background:#edf1eb}.storage{margin-top:auto;border:1px solid var(--line);background:white;padding:15px;border-radius:13px;display:grid;gap:10px}.storage-line{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:650}.meter{height:6px;width:100%;background:#edf0eb;border:0;border-radius:99px;appearance:none;overflow:hidden}.meter::-webkit-progress-bar{background:#edf0eb}.meter::-webkit-progress-value{background:#45845b;border-radius:99px}.meter::-moz-progress-bar{background:#45845b}.profile{display:flex;gap:10px;align-items:center;min-width:0}.avatar{display:grid;place-items:center;background:#e1ebdd;color:var(--green);border-radius:50%;width:36px;height:36px;font-weight:750;flex-shrink:0}.profile-info{flex:1;min-width:0}.profile-info strong,.profile-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-info small{font-size:11px;color:var(--muted);margin-top:3px}.main{min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#f7f8f6;gap:16px;position:sticky;top:0;z-index:4}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:10px;padding:0 12px;width:min(410px,65%);color:var(--muted)}.search input{min-width:0;width:100%;border:0;outline:none;background:transparent;padding:11px 0;color:#20251f}.topright{display:flex;align-items:center;gap:12px}.private{display:flex;align-items:center;gap:6px;color:#637260;font-size:12px}.private svg{width:15px;height:15px}.workspace{padding:32px;max-width:1600px;margin:auto}.welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:25px}.welcome p{margin-top:8px}.actions{display:flex;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:18px;display:flex;gap:13px;align-items:center}.stat-icon{display:grid;place-items:center;width:43px;height:43px;background:var(--soft);color:var(--green);border-radius:11px}.stat strong{display:block;font-size:23px;letter-spacing:-.7px;margin-top:5px}.stat small{color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.crumbs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.crumbs button{border:0;background:none;padding:5px 3px;border-radius:6px;color:var(--muted);font-weight:600;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crumbs button:last-child{color:#20251f}.crumbs svg{width:15px;height:15px;color:var(--muted)}.view-toggle{display:flex;border:1px solid var(--line);border-radius:9px;background:white;padding:3px;flex-shrink:0}.view-toggle .icon{height:29px;width:32px}.view-toggle .active{background:#e8eee6;color:var(--green)}.section-label{display:flex;align-items:center;gap:10px;margin:24px 0 12px;font-size:14px;font-weight:700}.count{font-size:11px;color:var(--muted);background:#e9ede6;border-radius:6px;padding:3px 7px;font-weight:500}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px}.tile{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid var(--line);border-radius:13px;padding:15px;text-align:left;transition:box-shadow .15s,border .15s;cursor:pointer;position:relative}.tile:hover{border-color:#abc5ae;box-shadow:0 4px 14px #173e2d09}.tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:18px}.file-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:11px;background:#edf2ec;color:#39704e;flex-shrink:0}.file-icon.folder{background:#eaf0d8;color:#6d8542}.file-icon.pdf{background:#faeae6;color:#bb5948}.file-icon.image{background:#e8edf9;color:#5771aa}.file-icon.doc{background:#e8effa;color:#5079b8}.file-icon.sheet{background:#e4f1e7;color:#3b8154}.file-icon svg{width:25px;height:25px}.tile-name{font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.tile-meta{font-size:11px;color:var(--muted);margin-top:7px}.list-wrap{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.file-table{width:100%;border-collapse:collapse;text-align:left}.file-table th{font-size:11px;letter-spacing:.4px;color:var(--muted);font-weight:650;background:#fafbf9;padding:13px 16px}.file-table td{padding:12px 16px;border-top:1px solid #edf0eb;font-size:12px}.file-table tbody tr{cursor:pointer}.file-table tbody tr:hover{background:#f8faf7}.file-table .name-cell{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:650;min-width:0}.file-table .name-cell span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px}.file-table .file-icon{width:34px;height:34px;border-radius:8px}.file-table .file-icon svg{width:19px;height:19px}.empty{border:1px dashed #cbd5c9;border-radius:16px;min-height:290px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;padding:25px;background:#fff9}.empty .file-icon{width:65px;height:65px}.empty p{max-width:330px}.empty h3{font-size:18px}.mobile-brand,.mobile-only{display:none}.drop-active .workspace{outline:2px dashed #45845b;outline-offset:-8px;background:#edf4ed}.menu{position:fixed;background:white;border:1px solid var(--line);box-shadow:0 10px 35px #0002;padding:5px;border-radius:11px;z-index:10;min-width:170px}.menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:white;padding:10px;border-radius:7px;text-align:left}.menu button:hover{background:#f0f3ee}.menu .red{color:#b43d37}dialog{border:1px solid var(--line);border-radius:18px;padding:25px;width:min(440px,calc(100% - 30px));color:inherit;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#15291d66;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.details{display:grid;gap:0;margin:15px 0}.details div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.details dt{color:var(--muted)}.details dd{margin:0;text-align:right;font-weight:550;min-width:0}.detail-name{overflow-wrap:anywhere;margin:10px 0}.preview-img{width:100%;max-height:280px;object-fit:contain;background:#f5f6f3;border-radius:9px}.upload-panel{position:fixed;bottom:20px;right:20px;background:white;box-shadow:0 8px 30px #0002;border:1px solid var(--line);border-radius:13px;z-index:8;width:min(340px,calc(100% - 40px));padding:15px;display:grid;gap:10px}.upload-panel progress{width:100%;accent-color:var(--green)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:20;background:#203b2c;color:white;border-radius:10px;padding:12px 18px;box-shadow:0 4px 20px #0002;max-width:90%;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.loading{display:grid;place-items:center;min-height:100dvh;color:var(--muted)}@media(max-width:1000px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:20px 12px}.topbar{padding:0 22px}.workspace{padding:24px}.welcome{align-items:flex-start;flex-direction:column}.file-table .owner-col{display:none}}@media(max-width:720px){.login{grid-template-columns:1fr}.login-main{padding:25px;min-height:100dvh}.login-art{display:none}.shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:14px 16px;gap:12px}.mobile-brand,.mobile-only{display:flex}.mobile-brand .brandmark{width:30px;height:30px;border-radius:9px}.mobile-brand .brandmark svg{width:20px;height:20px}.mobile-brand .brand{font-size:15px}.mobile-brand .brand small{display:none}.search{order:3;width:100%}.private{display:none}.topright{margin-left:auto}.workspace{padding:20px 16px}.welcome{margin-bottom:18px;gap:14px}h1{font-size:27px}.actions{width:100%}.actions button{flex:1}.stats{gap:7px;margin-bottom:23px}.stat{padding:10px;display:block;border-radius:11px}.stat-icon{width:29px;height:29px;margin-bottom:8px}.stat-icon svg{width:16px;height:16px}.stat strong{font-size:19px}.stat small{font-size:10px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tile{padding:12px}.tile-top{margin-bottom:13px}.tile-name{font-size:13px}.tile-meta{font-size:10px}.file-table th,.file-table td{padding:10px 8px}.file-table .date-col,.file-table .size-col{display:none}.file-table .name-cell span:last-child{max-width:53vw}.section-head{align-items:flex-start}.crumbs button{max-width:110px}.login-form h1{font-size:32px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.login-note{font-size:12px;margin-top:18px}

.image-tile{position:relative;display:block;margin-bottom:12px}.image-tile>.icon{position:absolute;right:6px;top:6px;background:#fff;border:1px solid var(--line);border-radius:8px;z-index:1}.thumb{aspect-ratio:4/3;background:#f1f4f0;border-radius:9px;overflow:hidden;position:relative;display:grid;place-items:center}.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f1f4f0}.user-list{display:grid;gap:5px;margin:16px 0;max-height:45vh;overflow:auto}.user-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.user-text{flex:1;min-width:0;overflow-wrap:anywhere}.user-text small{display:block;color:var(--muted);font-size:11px}.user-text strong{font-size:14px}.user-row .avatar{flex-shrink:0}
