
/* ============ RESET & TOKENS ============ */
*{box-sizing:border-box}
:root{
  --blue:#0061ff;
  --blue-d:#0053d9;
  --blue-l:#e8f0ff;
  --ink:#1a1918;
  --ink-2:#3d3c3a;
  --muted:#6b6a67;
  --line:#e6e4e0;
  --line-2:#f0eeeb;
  --bg:#f7f5f2;
  --white:#fff;
  --danger:#c92a2a;
  --radius:8px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow:0 6px 20px rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.06);
  --topbar-h:60px;
  --sidebar-w:248px;
}
html,body{height:100%}
body{
  margin:0;
  font-family:"Atlas Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:14px;color:var(--ink);background:var(--white);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow:hidden;
}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input{font:inherit}
svg{display:block}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#d9d6d1;border-radius:8px;border:3px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:#c4c0ba;background-clip:content-box;border:3px solid transparent}
::-webkit-scrollbar-track{background:transparent}

/* ============ TOPBAR ============ */
.topbar{
  height:var(--topbar-h);display:flex;align-items:center;gap:16px;
  padding:0 16px 0 20px;border-bottom:1px solid var(--line);
  background:var(--white);position:relative;z-index:40;
}
.brand{display:flex;align-items:center;gap:9px;user-select:none;flex:0 0 auto}
.brand svg{width:30px;height:26px;color:var(--blue)}
.brand b{font-size:19px;font-weight:700;letter-spacing:-.4px}

.search{
  flex:1 1 auto;max-width:520px;margin:0 auto;position:relative;
}
.search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted)}
.search input{
  width:100%;height:38px;border-radius:19px;border:1px solid transparent;
  background:var(--bg);padding:0 38px 0 36px;outline:none;color:var(--ink);
  transition:background .12s,border-color .12s,box-shadow .12s;
}
.search input::placeholder{color:var(--muted)}
.search input:focus{background:var(--white);border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-l)}
.search kbd{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  font-size:11px;color:var(--muted);border:1px solid var(--line);
  border-radius:5px;padding:2px 5px;background:var(--white);font-family:inherit;
}
.top-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.icon-btn{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink-2);transition:background .12s;
}
.icon-btn:hover{background:var(--bg)}
.icon-btn svg{width:19px;height:19px}
.avatar{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#0061ff,#7b3fe4);color:#fff;font-weight:600;font-size:14px;
  margin-left:4px;cursor:pointer;user-select:none;box-shadow:0 0 0 2px var(--white),0 0 0 3px var(--line);
}

/* ============ LAYOUT ============ */
.body{display:flex;height:calc(100vh - var(--topbar-h))}

/* ============ SIDEBAR ============ */
.sidebar{
  width:var(--sidebar-w);flex:0 0 var(--sidebar-w);background:var(--bg);
  border-right:1px solid var(--line);padding:14px 12px;overflow-y:auto;
  display:flex;flex-direction:column;gap:4px;
}
.new-wrap{position:relative;margin-bottom:10px}
.btn-new{
  width:100%;height:40px;border-radius:20px;background:var(--blue);color:#fff;
  font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;
  transition:background .12s,box-shadow .12s;
}
.btn-new:hover{background:var(--blue-d)}
.btn-new:active{transform:translateY(1px)}
.btn-new svg{width:16px;height:16px}
.new-menu{
  position:absolute;top:46px;left:0;width:210px;background:#fff;border-radius:10px;
  box-shadow:var(--shadow);padding:6px;z-index:60;display:none;
}
.new-menu.open{display:block;animation:pop .12s ease}
@keyframes pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.menu-item{
  display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:6px;
  text-align:left;color:var(--ink-2);font-size:14px;
}
.menu-item:hover{background:var(--bg)}
.menu-item svg{width:16px;height:16px;color:var(--muted)}
.menu-sep{height:1px;background:var(--line-2);margin:5px 6px}

.nav{display:flex;flex-direction:column;gap:1px}
.nav-item{
  display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:6px;
  color:var(--ink-2);width:100%;text-align:left;position:relative;transition:background .1s;
}
.nav-item:hover{background:#efedea}
.nav-item.active{background:#e4e1dc;font-weight:600;color:var(--ink)}
.nav-item svg{width:18px;height:18px;color:var(--muted);flex:0 0 auto}
.nav-item.active svg{color:var(--blue)}
.nav-item .count{margin-left:auto;font-size:12px;color:var(--muted);font-weight:500}

.side-label{
  font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  color:#9a9793;padding:18px 10px 6px;
}
.folder-list{display:flex;flex-direction:column;gap:1px}
.folder-list .nav-item svg{color:var(--blue)}

.storage{margin-top:auto;padding:16px 10px 6px;border-top:1px solid var(--line);margin-top:20px}
.storage-title{font-size:12px;font-weight:700;color:var(--ink-2);margin-bottom:8px;display:flex;justify-content:space-between}
.storage-title span{font-weight:500;color:var(--muted)}
.bar{height:6px;border-radius:4px;background:#e2dfda;overflow:hidden}
.bar i{display:block;height:100%;background:var(--blue);border-radius:4px;transition:width .3s ease}
.storage-sub{font-size:12px;color:var(--muted);margin-top:8px}
.storage-sub a{color:var(--blue);text-decoration:none;font-weight:600}
.storage-sub a:hover{text-decoration:underline}

/* ============ MAIN ============ */
.main{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;position:relative;background:#fff}

.toolbar{
  height:56px;flex:0 0 56px;display:flex;align-items:center;gap:12px;
  padding:0 20px;border-bottom:1px solid var(--line-2);
}
.crumbs{display:flex;align-items:center;gap:2px;min-width:0;flex:1 1 auto;overflow:hidden}
.crumb{
  padding:5px 8px;border-radius:6px;color:var(--ink-2);white-space:nowrap;
  font-weight:500;max-width:220px;overflow:hidden;text-overflow:ellipsis;
}
.crumb:hover{background:var(--bg)}
.crumb.last{font-weight:700;color:var(--ink);font-size:15px}
.crumb-sep{color:#c4c0ba;flex:0 0 auto}
.crumb-sep svg{width:14px;height:14px}

.tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.select{
  height:34px;border-radius:6px;border:1px solid var(--line);background:#fff;
  padding:0 30px 0 10px;color:var(--ink-2);outline:none;cursor:pointer;
  appearance:none;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6a67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 8px center;background-size:14px;
}
.select:hover{border-color:#cfccc7}
.btn{
  height:34px;padding:0 14px;border-radius:6px;font-weight:600;display:inline-flex;
  align-items:center;gap:7px;transition:background .12s,border-color .12s;white-space:nowrap;
}
.btn svg{width:16px;height:16px}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-d)}
.btn-ghost{border:1px solid var(--line);color:var(--ink-2);background:#fff}
.btn-ghost:hover{background:var(--bg);border-color:#cfccc7}
.btn-danger{background:#fff;border:1px solid var(--line);color:var(--danger)}
.btn-danger:hover{background:#fff5f5;border-color:#f0b4b4}
.view-toggle{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.view-toggle button{width:36px;height:32px;display:grid;place-items:center;color:var(--muted)}
.view-toggle button:hover{background:var(--bg)}
.view-toggle button.active{background:var(--blue-l);color:var(--blue)}
.view-toggle svg{width:16px;height:16px}

/* selection bar */
.selbar{
  display:none;align-items:center;gap:10px;height:56px;padding:0 20px;
  border-bottom:1px solid var(--line-2);background:var(--blue-l);
}
.selbar.show{display:flex}
.selbar .n{font-weight:700;color:var(--blue-d);margin-right:auto}

/* ============ CONTENT ============ */
.content{flex:1 1 auto;overflow-y:auto;padding:8px 12px 60px;position:relative}

/* LIST */
.list-head{
  display:grid;grid-template-columns:40px 34px 1fr 170px 100px 44px;
  align-items:center;gap:6px;padding:10px 12px;font-size:12px;font-weight:600;
  color:var(--muted);border-bottom:1px solid var(--line-2);position:sticky;top:0;
  background:#fff;z-index:5;
}
.list-head button{text-align:left;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:4px}
.list-head button:hover{color:var(--ink)}
.list-head svg{width:12px;height:12px}
.row{
  display:grid;grid-template-columns:40px 34px 1fr 170px 100px 44px;
  align-items:center;gap:6px;padding:7px 12px;border-radius:6px;cursor:default;
  border-bottom:1px solid var(--line-2);position:relative;
}
.row:hover{background:#faf9f7}
.row.selected{background:var(--blue-l)}
.row.drop-target{background:var(--blue-l);outline:2px dashed var(--blue);outline-offset:-2px}
.row .cell{display:flex;align-items:center;min-width:0}
.row .icon svg{width:26px;height:26px}
.row .name{
  font-weight:500;color:var(--ink);overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;display:flex;align-items:center;gap:8px;
}
.row .name .txt{overflow:hidden;text-overflow:ellipsis}
.row .meta{color:var(--muted);font-size:13px}
.row .more{
  width:32px;height:32px;border-radius:6px;display:grid;place-items:center;
  color:var(--muted);opacity:0;transition:opacity .1s,background .1s;
}
.row:hover .more,.row.selected .more{opacity:1}
.row .more:hover{background:#e9e6e1;color:var(--ink)}
.row .more svg{width:16px;height:16px}

.chk{
  width:17px;height:17px;border-radius:4px;border:1.5px solid #b9b5af;background:#fff;
  appearance:none;cursor:pointer;display:grid;place-items:center;transition:all .12s;
  position:relative;flex:0 0 auto;
}
.chk:hover{border-color:var(--blue)}
.chk:checked{background:var(--blue);border-color:var(--blue)}
.chk:checked::after{
  content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) translate(0,-1px);
}

.badge{
  font-size:11px;font-weight:600;padding:2px 7px;border-radius:20px;
  background:#eef1f5;color:#5a6270;flex:0 0 auto;
}
.badge.star{background:#fff3d6;color:#a06a00}

/* GRID */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;padding:12px 8px}
.card{
  border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff;
  display:flex;flex-direction:column;gap:10px;transition:box-shadow .12s,border-color .12s;
  cursor:default;position:relative;min-height:150px;
}
.card:hover{box-shadow:var(--shadow-sm);border-color:#d8d5d0}
.card.selected{background:var(--blue-l);border-color:var(--blue)}
.card.drop-target{background:var(--blue-l);outline:2px dashed var(--blue);outline-offset:-2px}
.card .thumb{
  height:74px;border-radius:6px;background:var(--bg);display:grid;place-items:center;overflow:hidden;
}
.card .thumb svg{width:38px;height:38px}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .cname{font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card .cmeta{font-size:12px;color:var(--muted);margin-top:-6px}
.card .cmore{
  position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:6px;
  display:grid;place-items:center;color:var(--muted);opacity:0;background:#fff;
  box-shadow:var(--shadow-sm);
}
.card:hover .cmore{opacity:1}
.card .cmore svg{width:15px;height:15px}
.card .cchk{position:absolute;top:10px;left:10px;opacity:0}
.card:hover .cchk,.card.selected .cchk{opacity:1}

/* EMPTY */
.empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:100%;min-height:340px;color:var(--muted);text-align:center;gap:6px;padding:40px;
}
.empty svg{width:82px;height:82px;color:#d9d6d1;margin-bottom:8px}
.empty h3{margin:0;font-size:16px;color:var(--ink);font-weight:600}
.empty p{margin:0;font-size:13px;max-width:340px;line-height:1.5}

/* ============ DROP OVERLAY ============ */
.dropzone{
  position:absolute;inset:12px;border:2px dashed var(--blue);border-radius:12px;
  background:rgba(232,240,255,.9);display:none;place-items:center;z-index:30;
  pointer-events:none;color:var(--blue-d);font-weight:600;font-size:16px;
}
.dropzone.show{display:grid}
.dropzone .dz-inner{display:flex;flex-direction:column;align-items:center;gap:10px}
.dropzone svg{width:44px;height:44px}

/* ============ CONTEXT MENU ============ */
.ctx{
  position:fixed;z-index:100;background:#fff;border-radius:10px;box-shadow:var(--shadow);
  padding:6px;min-width:206px;display:none;
}
.ctx.open{display:block;animation:pop .1s ease}
.ctx button{
  display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:6px;
  text-align:left;color:var(--ink-2);font-size:13.5px;
}
.ctx button:hover{background:var(--bg)}
.ctx button.danger{color:var(--danger)}
.ctx button svg{width:16px;height:16px;color:var(--muted);flex:0 0 auto}
.ctx button.danger svg{color:var(--danger)}
.ctx .sep{height:1px;background:var(--line-2);margin:5px 6px}

/* ============ MODAL ============ */
.overlay{
  position:fixed;inset:0;background:rgba(26,25,24,.55);z-index:200;
  display:none;align-items:center;justify-content:center;padding:24px;
  backdrop-filter:blur(2px);
}
.overlay.open{display:flex;animation:fade .14s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.modal{
  background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.3);
  width:100%;max-width:460px;overflow:hidden;animation:rise .18s cubic-bezier(.2,.8,.3,1);
}
@keyframes rise{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.modal.wide{max-width:760px}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 6px}
.modal-head h3{margin:0;font-size:17px;font-weight:700}
.modal-body{padding:14px 20px 20px;font-size:14px;color:var(--ink-2);line-height:1.55}
.modal-foot{padding:12px 20px 18px;display:flex;justify-content:flex-end;gap:8px}
.field{
  width:100%;height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;
  outline:none;transition:border-color .12s,box-shadow .12s;
}
.field:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-l)}
.preview-box{
  background:var(--bg);border-radius:10px;display:grid;place-items:center;
  min-height:320px;max-height:56vh;overflow:auto;padding:16px;
}
.preview-box img{max-width:100%;max-height:52vh;border-radius:6px;box-shadow:var(--shadow-sm)}
.preview-box pre{
  margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:12.5px;white-space:pre-wrap;word-break:break-word;color:var(--ink);
  width:100%;text-align:left;
}
.file-hero{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted)}
.file-hero svg{width:72px;height:72px}

/* ============ TOASTS ============ */
.toasts{
  position:fixed;bottom:22px;left:22px;z-index:300;display:flex;
  flex-direction:column;gap:10px;pointer-events:none;
}
.toast{
  background:#1a1918;color:#fff;padding:12px 16px;border-radius:9px;font-size:13.5px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);display:flex;align-items:center;gap:10px;
  animation:slidein .22s cubic-bezier(.2,.8,.3,1);max-width:340px;
}
.toast svg{width:16px;height:16px;flex:0 0 auto;color:#7ee787}
@keyframes slidein{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
.toast.out{animation:slideout .2s ease forwards}
@keyframes slideout{to{opacity:0;transform:translateX(-16px)}}

/* ============ RESPONSIVE ============ */
@media (max-width:1000px){
  .list-head,.row{grid-template-columns:40px 34px 1fr 110px 44px}
  .col-size{display:none}
}
@media (max-width:760px){
  :root{--sidebar-w:0px}
  .sidebar{display:none}
  .list-head,.row{grid-template-columns:34px 1fr 80px 44px}
  .col-date{display:none}
  .list-head .col-date{display:none}
  .search kbd{display:none}
}

/* Reference interface: graphite workspace, frosted silver sidebar, blue controls. */
:root{--blue:#1784ed;--blue-d:#0866ca;--blue-l:#263b55;--ink:#f1f2f4;--ink-2:#d9dfe5;--muted:#b4bdc6;--line:#3b434b;--line-2:#333a42;--bg:#282e35;--white:#22272d;--sidebar-w:237px;--topbar-h:58px;--shadow:0 12px 40px #0007}
body{background:#22272d;font-size:15px}
.topbar{background:linear-gradient(110deg,#25303d,#20252a 45%);box-shadow:0 1px 0 #ffffff09;padding:0 17px}
.brand b{font-size:25px;letter-spacing:-1px;color:#dce3eb;text-shadow:0 2px 2px #0008}.brand svg{color:#c6d2dd}
.search{max-width:460px}.search input{background:linear-gradient(#3b454f,#30373e);border:1px solid #58616a;height:40px;box-shadow:0 3px 10px #0005;font-size:16px}.search kbd{background:#4a525a;color:#e2e6eb;border:0}
.avatar{background:linear-gradient(#50565d,#3a4149);box-shadow:0 1px 3px #0008;color:#ddd;font-size:18px}
.sidebar{background:linear-gradient(120deg,#b6c1ce,#a4adb8 55%,#b5b8bc);color:#101923;border-right:2px solid #67727e;padding:13px 12px;gap:3px;box-shadow:inset -1px 0 #ffffff50}.sidebar svg{color:currentColor}.btn-new{background:linear-gradient(110deg,#2398f4,#0646a9);box-shadow:inset 0 1px 2px #ffffff60,0 3px 6px #16355255;font-size:16px}.nav-item{border-radius:6px;color:#101923;height:38px}.nav-item.active{background:#687d9280;color:#fff;box-shadow:inset 0 1px #ffffff35}.nav-item:hover{background:#667b9140}.nav-item.active svg{color:#fff}.sidebar .folder-item{color:#15202c}.sidebar .folder-item:hover{background:#7f91a34a}.sidebar .section-label{color:#253442}.storage{border-color:#dce0e680;color:#111b26}.storage-title,.storage-sub{color:#111b26}.storage-sub a{color:#082e66}.bar{background:#3b4652;box-shadow:0 1px #fff8}.bar i{background:linear-gradient(90deg,#93ffa0,#2aa768)}
.main{padding:17px 17px 24px;background:radial-gradient(ellipse at 40% 0%,#20314355,transparent 55%),#22272d}.crumbs{font-size:21px}.toolbar{margin-bottom:13px}.select,.btn-ghost,.view-toggle{background:#22282e;border:1px solid #49525b;color:#f4f5f7;border-radius:7px}.view-toggle button.active{background:#3e474f}.btn{height:39px}.tools #btnUpload{background:linear-gradient(125deg,#55c5c4,#42358f);border-color:#7c92b7;box-shadow:0 2px 5px #0004}.list-head{color:#edf0f4;height:44px;border-color:#3a424a;font-weight:400}.row{min-height:68px;border-bottom:1px solid #3a424a;border-radius:4px}.row:hover{background:linear-gradient(100deg,#ffffff11,#ffffff18)}.row.selected{background:linear-gradient(100deg,#282239,#211e33);box-shadow:inset 0 0 0 1px #655d8738}.row .cell.name{font-size:16px}.row .meta{font-size:15px;color:#e7e9ed}.row .icon svg{width:41px;height:41px;filter:drop-shadow(0 2px 2px #0005)}.chk{border-color:#78838d;background:#ffffff05}.more{color:#ddd}.more:hover{background:#ffffff15}.card{background:#2b323a;border-color:#414b55}.card:hover{background:#363e48}.modal,.ctx,.new-menu{background:#2c333b;border:1px solid #56616c;color:#f0f3f6}.ctx-item:hover,.new-item:hover{background:#404c59}.field{background:#20262d;color:#f1f4f8;border-color:#586575}.modal-head,.modal-foot{border-color:#48535f}.toast{background:#354353;color:#fff}.account-card{margin-top:auto;display:flex;align-items:center;gap:11px;text-decoration:none;color:#151d27;border:1px solid #e5e9ed;border-radius:9px;padding:14px 10px;background:#ffffff35;box-shadow:0 4px 7px #0001}.account-card strong{font-size:15px;font-weight:500;display:block}.account-card small{display:block;margin-top:3px;font-size:12px}.account-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(130deg,#a0c0d0,#4b657d);display:grid;place-items:center;color:#e6eff6;font-size:23px}.account-card>span:last-child{margin-left:auto}.preview-box{background:#1c2229}.empty-state{color:#b9c4ce}
button:focus-visible,a:focus-visible{outline:2px solid #79c7ff;outline-offset:3px}
@media(max-width:760px){:root{--sidebar-w:180px}.brand b{font-size:20px}.search{margin-left:10px}.search kbd{display:none}.main{padding:14px 10px}.tools{gap:5px}.account-card{padding:10px 6px}.account-avatar{display:none}}
@media(max-width:520px){:root{--sidebar-w:62px}.sidebar{padding:12px 6px}.sidebar .nav-item{font-size:0;justify-content:center}.sidebar .nav-item svg{width:21px;height:21px}.sidebar .section-label,.sidebar .folder-list,.sidebar .storage,.account-card,.btn-new span{display:none}.btn-new{font-size:0}.brand b{display:none}.top-actions{gap:0}.search{max-width:none}.col-size{display:none}.toolbar{flex-wrap:wrap;gap:12px}.row .cell.name{font-size:14px}.crumbs{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.crumb.last{font-size:21px}.toolbar{padding:0 0 12px;border:0}.storage-title span{color:#243344}.sidebar .nav-section-title{color:#253442}.btn-danger{background:#392c31}.storage{margin-top:22px}.row,.list-head{grid-template-columns:34px 58px 1fr 178px 95px 44px}.content{padding:0}.row .icon{padding:0}.crumb{padding-left:8px}
@media(max-width:760px){.row,.list-head{grid-template-columns:28px 42px 1fr 115px 34px}.col-size{display:none}}
@media(max-width:520px){.row,.list-head{grid-template-columns:26px 38px 1fr 34px}.col-date{display:none}}

body{font-family:"Segoe UI",Arial,sans-serif;font-weight:400}.list-head{background:#22272d}.list-head button{color:#e8edf3;font-size:15px;font-weight:400}.row .name{font-weight:400}.row .more{opacity:1}.sidebar .nav-item[data-gofolder] svg{width:22px;height:22px}.sidebar .nav-label{color:#263442}.row .col-date,.row .col-size{white-space:nowrap}.row .more:hover{background:#4b5664}.nav-section{color:#293746}
@media(min-width:761px) and (max-width:1000px){.row,.list-head{grid-template-columns:28px 48px 1fr 145px 34px}.row .col-size,.list-head .col-size{display:none}}
@media(max-width:760px){.sidebar{display:flex}.toolbar{height:auto;min-height:90px;flex:0 0 auto;align-items:flex-start;flex-direction:column;gap:8px}.tools{flex-wrap:wrap}.main{padding:12px 8px}.row,.list-head{grid-template-columns:24px 36px minmax(0,1fr) 30px;gap:4px;padding-left:4px;padding-right:4px}.row .col-date,.row .col-size,.list-head .col-date,.list-head .col-size{display:none}.list-head{height:40px}.row .icon svg{width:33px;height:33px}.list-head button{font-size:13px}.row .more{width:28px}.sidebar .section-title{color:#253442}.topbar{padding:0 10px;gap:8px}.search{min-width:0;margin-left:0}.top-actions{gap:0}.icon-btn{width:28px}.search input{font-size:13px;padding-right:9px}.row .cell.name{font-size:14px}.sidebar .account-card{display:none}}
@media(max-width:520px){.sidebar .section-title,.sidebar .folder-list,.sidebar .storage{display:none}.sidebar .nav-item span{display:none}.sidebar .nav-item{padding:8px;justify-content:center}.sidebar .new-wrap{margin-bottom:5px}.btn-new{height:38px}.toolbar .select{width:80px;padding-right:5px}.tools{gap:5px}.tools .btn{padding:0 9px}.view-toggle button{width:27px}.crumb.last{font-size:19px}.top-actions [title="Notifications"]{display:none}.row .badge{display:none}}

.empty>svg{width:72px;height:72px}.empty .btn svg{width:19px;height:19px;margin:0;flex:0 0 19px;color:inherit}.empty .btn{justify-content:center;gap:9px;min-height:40px;flex-shrink:0}.app-logo{display:block;width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 2px #0006)}.logout-btn{display:flex;align-items:center;justify-content:center;gap:6px;color:#dce7f0;border:1px solid #53616f;border-radius:7px;padding:7px 10px;margin-left:6px;min-height:34px;font-size:13px}.logout-btn svg{width:17px;height:17px}.logout-btn:hover{background:#3b4857}.logout-btn:disabled{opacity:.5;cursor:wait}.sidebar .section-label{color:#293b4b}
@media(max-width:620px){.logout-btn{width:32px;padding:6px;margin-left:1px}.logout-btn span{display:none}.app-logo{width:29px;height:29px}.top-actions [title="Help"]{display:none}}
.about-trigger{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #53616f;border-radius:7px;min-height:34px;color:#dce7f0;font-size:13px;white-space:nowrap}.about-trigger svg{width:17px;height:17px}.about-trigger:hover{background:#3b4857}.about-dialog{position:fixed;inset:0;margin:auto;width:460px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:30px 32px 26px;border:1px solid #61788d88;border-radius:20px;background:radial-gradient(ellipse at top,#2b4355,#242f39 65%);color:#edf4fa;box-shadow:0 24px 90px #0009;font-family:"Segoe UI",Arial,sans-serif;text-align:center}.about-dialog::backdrop{background:#050e18b3;backdrop-filter:blur(7px)}.about-close{position:absolute;right:13px;top:10px;width:32px;height:32px;padding:0;font:28px/1 inherit;display:grid;place-items:center;color:#b9cedf;border:0;background:transparent;border-radius:6px;cursor:pointer}.about-close:hover{background:#ffffff12}.about-logo{display:block;margin:0 auto 10px;filter:drop-shadow(0 3px 3px #0006)}.about-eyebrow{margin:4px 0 8px;color:#88b8dd;font-size:11px;letter-spacing:.2em}.about-dialog h2{font-size:27px;line-height:1.25;overflow-wrap:anywhere;font-weight:500;margin:0 0 14px;color:#eef6fc;letter-spacing:-.6px}.about-description{font-size:14px;line-height:1.65;color:#becfdd;margin:0 0 23px}.about-details{margin:0;text-align:left;border-top:1px solid #728ba13a}.about-details>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #728ba12b;font-size:13px;line-height:1.5}.about-details dt{color:#9fb5c9}.about-details dd{margin:0;color:#e5eff8;overflow-wrap:anywhere}.about-details a{color:#a7d5ff;text-decoration:none}.about-details a:hover{text-decoration:underline}.about-done{display:block;margin:23px auto 0;width:100%;height:39px;background:linear-gradient(#205e99,#173e6d);border:1px solid #6a99c0;border-radius:7px;color:#eff7ff;font:inherit;cursor:pointer}.settings-header-actions{display:flex;gap:9px;align-items:center}.login-page .login-about-link{display:block;width:auto;margin:21px auto 0;padding:0;background:transparent;border:0;color:#9bb7ce;font-size:12px}.login-about-link:hover{text-decoration:underline}.brand b{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.about-trigger{width:31px;padding:6px;justify-content:center}.about-trigger span{display:none}.settings-header-actions{flex-direction:column;align-items:stretch}.about-dialog{padding:25px 22px 22px}.about-details>div{grid-template-columns:95px minmax(0,1fr)}}
