:root{--navy:#073451;--blue:#1683bd;--bg:#f3f8fc;--line:#dce8f1;--text:#183247;--muted:#668096;--indigo:#073451;--cyan:#36a9df}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.top{height:70px;background:linear-gradient(90deg,#edf8ff 0%,#c7e8f8 22%,#55acd7 43%,#137eaf 68%,#073451 100%);color:white;display:flex;align-items:center;padding:0 22px;gap:20px;position:sticky;top:0;z-index:3}.brand{font-size:18px;font-weight:700;min-width:225px;color:#073451;text-shadow:0 1px 0 rgba(255,255,255,.22)}.brand b{display:inline-grid;place-items:center;border:1px solid #dce5ef;border-radius:50%;width:42px;height:42px;margin-right:10px;vertical-align:middle;background:#fff;overflow:hidden}.brand b.logo img{width:35px;height:39px;object-fit:contain;display:block}.search{flex:1;max-width:700px}.search input{width:100%;height:40px;border:0;border-radius:8px;padding:0 15px}.user{margin-left:auto;background:#d9eafa;color:var(--navy);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:700}.layout{display:flex;min-height:calc(100vh - 70px)}aside{width:245px;background:#fff;border-right:1px solid var(--line);padding:17px 12px;display:flex;flex-direction:column;gap:5px}.new{background:var(--indigo);color:#fff;border:0;border-radius:8px;padding:12px;margin:0 4px 12px;font-weight:650}.nav{padding:11px 13px;border-radius:8px;color:#46596b;cursor:pointer}.nav:hover{background:#f0f5f8}.nav.active{background:#e2f1fb;color:#075887;font-weight:650}.bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:10px}.main{padding:25px 28px;flex:1;min-width:0}.heading{display:flex;justify-content:space-between;align-items:center}.heading h1{font-size:23px;margin:0;font-weight:650}.toolbar{display:flex;gap:8px;margin:17px 0;flex-wrap:wrap}.btn{border:1px solid #d9e2e9;background:white;color:#34495e;border-radius:8px;padding:9px 13px}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.btn.danger{color:#b83227}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px;margin:10px 0 20px}.folder{background:white;border:1px solid var(--line);border-radius:9px;padding:14px;cursor:pointer;display:flex;gap:10px;align-items:center}.folder:hover,.row:hover{background:#f8fcff;border-color:#b9d8ed}.folder.selected,.row.selected,.filecard.selected{background:#dceeff!important;border-color:#83b9e8!important;box-shadow:inset 0 0 0 1px #83b9e8}.folder.selected strong,.row.selected .fname strong,.filecard.selected strong{color:#075985}.row.trash-selected{background:#dceeff!important;box-shadow:inset 0 0 0 1px #83b9e8}.row.trash-selected .fname strong{color:#075985}.folder span{font-size:23px}.section{font-weight:650;margin:20px 0 10px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.filehead,.row{display:grid;grid-template-columns:minmax(200px,2fr) 100px 140px 42px;gap:10px;align-items:center;padding:12px 16px}.filehead{background:#f8fafc;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.row{border-bottom:1px solid #edf1f4;min-height:54px}.row:last-child{border:0}.fname{display:flex;align-items:center;gap:10px;min-width:0}.fname strong{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ico{font-size:21px}.share-state{font-size:12px;color:#0b6b45;white-space:nowrap}.share-state.shared{font-weight:650}.share-state.shared:before{content:'↗ ';font-weight:700;color:#0b6b45}.folder-row{cursor:pointer}.muted{color:var(--muted)}.more{border:0;background:none;font-size:20px;color:#65798b}.empty{text-align:center;padding:48px 15px;color:var(--muted)}.empty b{display:block;color:#33485a;font-size:16px;margin-bottom:5px}.login{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:22px;background:rgba(7,28,49,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.card{position:relative;width:min(520px,calc(100vw - 36px));background:white;border:1px solid var(--line);border-radius:15px;padding:30px;box-shadow:0 8px 28px #173b5514}.card h1{margin:0 0 5px;color:var(--indigo)}.field{margin:16px 0}.field label{display:block;font-weight:600;margin-bottom:6px}.field input{width:100%;height:43px;border:1px solid #d6e0e8;border-radius:8px;padding:0 11px}.card button{width:100%;height:44px}.toast{position:fixed;left:50%;bottom:28px;right:auto;transform:translateX(-50%);background:#173e57;color:white;padding:10px 16px;border-radius:10px;z-index:99999;max-width:min(420px,calc(100vw - 32px));box-shadow:0 8px 28px rgba(7,32,51,.25);text-align:center;animation:toastIn .18s ease-out}.toast.bad{background:#a52d27}@keyframes toastIn{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}@media(max-width:760px){aside{width:65px;padding:10px 5px}.nav{font-size:0;text-align:center;padding:12px 2px}.nav:first-letter{font-size:16px}.new{font-size:20px;padding:10px 0}.brand{min-width:0}.main{padding:18px 12px}.filehead,.row{grid-template-columns:minmax(140px,1fr) 45px}.filehead span:nth-child(2),.filehead span:nth-child(3),.row .size,.row .modified{display:none}}
.top{box-shadow:0 2px 12px #17255420}.brand{display:flex;align-items:center;gap:0;letter-spacing:.1px}.nav.active{border-left:3px solid var(--blue);padding-left:10px}.folder,.panel,.card{box-shadow:0 3px 14px #17255408}.new,.btn.primary{box-shadow:0 2px 5px #17255414}.login .brand{font-size:20px}.login .brand b.logo{flex:0 0 48px;width:48px;height:48px}.login .brand b.logo img{width:40px;height:44px}.drive-login-modal{border-radius:22px;padding:34px 36px;box-shadow:0 24px 80px rgba(0,0,0,.28);animation:driveLoginFloat .22s ease-out}.drive-login-close{position:absolute;right:16px;top:16px;width:38px!important;height:38px!important;border:0;border-radius:11px;background:#edf3f9;color:#174c82;font-size:25px;line-height:1;display:grid;place-items:center}.drive-login-close:hover{background:#dceaf5}@keyframes driveLoginFloat{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:520px){.drive-login-modal{padding:30px 22px}.drive-login-close{right:12px;top:12px}}
/* BIG-inspired visual refresh: blue palette, transparent logo, softer surfaces */
:root{--navy:#073451;--blue:#1683bd;--bg:#f3f8fc;--line:#dce8f1;--text:#183247;--muted:#668096;--indigo:#073451;--cyan:#36a9df}
body{background:linear-gradient(145deg,#f7fbfe 0%,#eef6fb 55%,#f7fbfe 100%);color:var(--text)}
.top{height:76px;background:linear-gradient(105deg,#062f4b 0%,#07517c 58%,#0879b4 100%);box-shadow:0 5px 22px #07345120;padding:0 26px;gap:24px}
.brand{min-width:245px;font-size:20px;letter-spacing:.15px;gap:10px}
.brand b,.brand b.logo,.login .brand b.logo{display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:transparent;overflow:visible;width:58px;height:58px;flex:0 0 58px;margin:0 2px 0 0}
.brand b.logo img,.login .brand b.logo img{width:56px;height:56px;object-fit:contain;display:block}
.search{max-width:760px}
.search input{height:46px;border-radius:13px;background:#fffF;border:1px solid #d9e9f4;box-shadow:0 2px 10px #002c4712}
.user{background:#e6f5ff;color:#07517c;width:42px;height:42px;border:2px solid #ffffff55}
.layout{min-height:calc(100vh - 76px)}
aside{width:258px;background:#ffffffed;backdrop-filter:blur(12px);border-right:1px solid #dce8f1;padding:20px 14px;gap:7px}
.new{background:linear-gradient(110deg,#087db7,#168fc8);border-radius:13px;padding:14px;margin:0 4px 14px;box-shadow:0 6px 15px #087db72b;transition:transform .18s,box-shadow .18s}
.new:hover,.btn.primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px #087db733}
.nav{padding:12px 14px;border-radius:11px;color:#35566e;transition:background .18s,color .18s}
.nav:hover{background:#eaf5fb;color:#07517c}
.nav.active{background:linear-gradient(90deg,#dff2fc,#edf8fd);color:#075887;border-left:3px solid #1683bd;padding-left:11px}
.main{padding:30px 34px}
.heading h1{font-size:26px;color:#123d59}
.toolbar{gap:10px;margin:20px 0}
.btn{border:1px solid #d5e4ee;background:#fff;color:#244b65;border-radius:11px;padding:10px 15px;transition:all .18s}
.btn:hover{background:#f3faff;border-color:#9ccde8;transform:translateY(-1px)}
.btn.primary{background:linear-gradient(110deg,#087db7,#168fc8);border-color:#1683bd;border-radius:11px;box-shadow:0 3px 9px #087db722}
.folder{border:1px solid #dce8f1;border-radius:13px;padding:16px;background:#ffffffed;box-shadow:0 4px 15px #07345109;transition:all .18s}
.folder:hover,.row:hover{background:#f2faff;border-color:#9ccde8;box-shadow:0 7px 18px #07345110;transform:translateY(-1px)}
.panel,.card{border:1px solid #dce8f1;border-radius:14px;box-shadow:0 7px 24px #0734510a}
.filehead{background:#f2f8fc}
.row{border-bottom:1px solid #edf3f7}
.login{background:radial-gradient(ellipse at 15% 15%,#d9effb 0%,transparent 42%),radial-gradient(ellipse at 90% 85%,#dceff9 0%,transparent 38%),linear-gradient(135deg,#f7fbfe,#eaf4fa)}
.card{border-radius:20px;padding:34px;box-shadow:0 16px 42px #07345116}
.card h1{color:#073451}
.card button{border-radius:11px;background:linear-gradient(110deg,#087db7,#168fc8);border:0;box-shadow:0 5px 14px #087db72b}
.field input{border-radius:10px;border-color:#cbdde9}
.toast{background:#073e5e;border-radius:11px;box-shadow:0 8px 22px #07345126}
@media(max-width:760px){.top{padding:0 12px;gap:10px}.brand{min-width:0;font-size:16px}.brand b,.brand b.logo{width:42px;height:48px;flex-basis:42px}.brand b.logo img{width:42px;height:48px}.main{padding:18px 12px}}

/* Header correction: gradient belongs to the background; brand lettering stays black. */
.top{background:linear-gradient(90deg,#f4fbff 0%,#d9effa 24%,#a6d8ef 46%,#4ba6d2 70%,#07517c 100%) !important}
.top .brand,.top .brand b:not(.logo),.top .brand strong,.top .brand span{color:#000 !important;text-shadow:none !important}

/* DISIGT Drive Phase 1 enhancements */
.breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 15px;color:#61758a;font-size:13px}.breadcrumb button{border:0;background:transparent;color:#12659a;cursor:pointer;padding:3px 4px;font:inherit}.breadcrumb button.current{color:#173451;font-weight:700}.viewtools{display:flex;gap:5px;margin-left:auto}.viewtools button{padding:8px 11px;border:1px solid #d5e4ee;background:#fff;border-radius:9px;color:#35566e;cursor:pointer}.viewtools button.active{background:#e5f2fc;color:#075887;border-color:#1683bd;font-weight:700}.cards.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px;margin:12px 0}.filecard{background:#fff;border:1px solid #dce8f1;border-radius:13px;padding:15px;min-width:0;box-shadow:0 3px 12px #17255408}.filecard .ico{font-size:28px;display:block;margin-bottom:12px}.filecard strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filecard small{display:block;color:#718096;margin-top:6px}.filecard .cardactions{display:flex;justify-content:flex-end;margin-top:9px}.storagebox{font-size:11px;color:#61758a;padding:12px 8px;border-top:1px solid #dce8f1;margin-top:10px}.storagebar{height:6px;background:#e4edf4;border-radius:9px;overflow:hidden;margin:7px 0}.storagebar span{display:block;height:100%;background:#1683bd;width:0}.folderline{display:flex;align-items:center;gap:7px}.folderline .more{margin-left:auto}.row .fname{min-width:0}.row .fname strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filehead,.row{grid-template-columns:minmax(180px,2fr) 100px 140px 42px}.folder{position:relative}.folder .foldermore{margin-left:auto;border:0;background:transparent;color:#65798b;font-size:19px;cursor:pointer}@media(max-width:760px){.filehead,.row{grid-template-columns:minmax(120px,1fr) 70px 38px}.filehead span:nth-child(3),.row .modified{display:none}}


/* Refined context menu — compact, anchored, Drive-like */
.context-menu{position:fixed;z-index:9999;min-width:218px;max-width:270px;padding:6px;background:#fff;border:1px solid #e5eaf0;border-radius:12px;box-shadow:0 10px 32px rgba(20,42,65,.18),0 2px 7px rgba(20,42,65,.08);color:#263746;animation:menuIn .12s ease-out}
.context-menu .menu-item{width:100%;display:flex;align-items:center;gap:11px;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#263746;text-align:left;font:500 13px/1.25 inherit;cursor:pointer;white-space:nowrap}
.context-menu .menu-item:hover{background:#f0f6fb;color:#075887}
.context-menu .menu-item .mi{width:17px;display:inline-flex;justify-content:center;color:#61788b;font-size:15px}
.context-menu .menu-item.danger{color:#b42318}
.context-menu .menu-item.danger .mi{color:#b42318}
.context-menu .menu-sep{height:1px;background:#edf0f3;margin:5px 4px}
@keyframes menuIn{from{opacity:0;transform:translateY(-3px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Native-looking rename dialog, styled consistently with DISIGT Drive */
.rename-overlay{position:fixed;inset:0;z-index:10020;background:rgba(20,27,35,.34);display:flex;align-items:center;justify-content:center;padding:20px;animation:renameFade .12s ease-out}
.rename-dialog{width:min(560px,100%);background:#fff;border-radius:27px;padding:24px;box-shadow:0 12px 42px rgba(15,35,55,.2);color:#202124}
.rename-title{font-size:23px;font-weight:500;line-height:1.3;margin:0 0 18px}
.rename-input{display:block;width:100%;height:56px;border:2px solid #1769e8;border-radius:4px;padding:0 13px;font:16px/1.4 inherit;color:#202124;outline:none;background:#fff;box-sizing:border-box}
.rename-input:focus{box-shadow:0 0 0 1px rgba(26,115,232,.08)}
.rename-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:24px}
.rename-actions button{min-width:72px;height:40px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:#1769e8;font:500 14px inherit;cursor:pointer}
.rename-actions button:hover{background:#f1f6fe}
.rename-actions .rename-ok{font-weight:600}
@keyframes renameFade{from{opacity:0}to{opacity:1}}
@media(max-width:600px){.rename-dialog{padding:22px 20px;border-radius:22px}.rename-title{font-size:21px}}


/* Duplicate upload options dialog */
.duplicate-overlay{position:fixed;inset:0;z-index:10050;background:rgba(32,33,36,.38);display:flex;align-items:center;justify-content:center;padding:18px;animation:renameFade .12s ease-out}
.duplicate-dialog{width:min(650px,100%);background:#fff;border-radius:28px;padding:28px;box-shadow:0 12px 42px rgba(15,35,55,.24);color:#202124}
.duplicate-title{font-size:25px;font-weight:500;margin:0 0 18px}
.duplicate-desc{font-size:15px;line-height:1.55;color:#5f6368;margin:0 0 14px}
.duplicate-name{font-weight:600;overflow-wrap:anywhere;color:#202124;margin:0 0 18px}
.duplicate-choice{display:flex;gap:13px;align-items:flex-start;padding:13px 10px;border-radius:12px;cursor:pointer}
.duplicate-choice:hover{background:#f5f8fc}.duplicate-choice input{width:19px;height:19px;margin:3px 0 0;accent-color:#1769e8}
.duplicate-choice strong{display:block;font-size:15px;font-weight:500}.duplicate-choice small{display:block;color:#68727d;font-size:13px;line-height:1.45;margin-top:4px}
.duplicate-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.duplicate-actions button{border:0;border-radius:22px;padding:11px 20px;font:600 14px inherit;cursor:pointer}
.duplicate-cancel{background:transparent;color:#1769e8}.duplicate-submit{background:#1769e8;color:#fff}.duplicate-submit:hover{background:#0d57c7}
@media(max-width:600px){.duplicate-dialog{padding:22px 18px;border-radius:22px}.duplicate-title{font-size:22px}}

/* Google Drive-like folder destination picker */
.move-overlay{position:fixed;inset:0;z-index:10030;background:rgba(25,32,40,.34);display:flex;align-items:center;justify-content:center;padding:18px;animation:renameFade .12s ease-out}
.move-dialog{width:min(570px,100%);height:min(540px,calc(100vh - 36px));background:#fff;border-radius:13px;box-shadow:0 12px 42px rgba(15,35,55,.22);display:flex;flex-direction:column;overflow:hidden;color:#202124}
.move-head{padding:20px 22px 12px;border-bottom:1px solid #e7eaed}
.move-title{font-size:20px;font-weight:500;margin:0 0 9px;line-height:1.3;overflow-wrap:anywhere}
.move-current{font-size:12px;color:#5f6368;display:flex;align-items:center;gap:7px}.move-current strong{font-weight:600;color:#3c4043;background:#f1f3f4;border-radius:6px;padding:5px 9px}
.move-toolbar{display:flex;align-items:center;gap:0;padding:0 14px;border-bottom:1px solid #e7eaed;min-height:48px}
.move-tab{height:47px;padding:0 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:#5f6368;font:500 12px inherit;cursor:pointer}
.move-tab.active{color:#1967d2;border-bottom-color:#1a73e8}
.move-search{margin-left:auto;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#5f6368;cursor:pointer;font-size:17px}.move-search:hover,.move-row:hover{background:#f1f3f4}
.move-search-input{display:none;width:170px;border:0;border-bottom:1px solid #1a73e8;padding:7px 4px;outline:none;font:13px inherit}
.move-crumbs{display:flex;align-items:center;gap:5px;padding:10px 20px 5px;min-height:32px;overflow:auto;white-space:nowrap;font-size:12px;color:#5f6368}
.move-crumbs button{border:0;background:transparent;color:#1967d2;padding:3px 4px;cursor:pointer;font:inherit}.move-crumbs button:last-child{color:#3c4043;font-weight:600}
.move-list{flex:1;min-height:0;overflow:auto;padding:4px 10px 10px}
.move-row{display:flex;align-items:center;gap:11px;width:100%;height:42px;padding:0 10px;border:0;border-radius:7px;background:#fff;text-align:left;color:#3c4043;cursor:pointer;font:13px inherit}
.move-row.selected{background:#e8f0fe;color:#174ea6}.move-folder-icon{width:20px;flex:0 0 20px;color:#5f6368;font-size:17px}.move-row.selected .move-folder-icon{color:#1967d2}.move-folder-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.move-enter{width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#5f6368;cursor:pointer;font-size:18px}.move-enter:hover{background:#e8eaed}
.move-empty{padding:30px 14px;text-align:center;color:#80868b;font-size:13px}
.move-foot{padding:12px 20px;border-top:1px solid #e7eaed;display:flex;align-items:center;justify-content:space-between;gap:12px}.move-hint{font-size:11px;color:#80868b}.move-actions{display:flex;gap:8px}.move-actions button{height:36px;padding:0 17px;border-radius:6px;border:0;background:transparent;color:#1967d2;font:500 13px inherit;cursor:pointer}.move-actions button:hover{background:#f1f6fe}.move-actions .move-confirm{background:#1a73e8;color:#fff}.move-actions .move-confirm:disabled{background:#e8eaed;color:#9aa0a6;cursor:not-allowed}.move-actions .move-confirm:not(:disabled):hover{background:#1765cc}
@media(max-width:600px){.move-dialog{height:min(590px,calc(100vh - 24px));border-radius:12px}.move-head{padding:17px 16px 10px}.move-crumbs{padding-left:14px}.move-foot{padding:10px 14px}.move-hint{max-width:130px}}


/* DISIGT Drive compact workspace redesign — 2026-11 */
:root{--navy:#073451;--blue:#1683bd;--bg:#f7f9fc;--line:#e5ebf1;--text:#203747;--muted:#718395}
body{background:#f7f9fc;font-size:13px;color:#203747}
.top{height:58px;padding:0 20px;gap:18px;background:linear-gradient(100deg,#f5fbff 0%,#d9effa 34%,#75bddd 68%,#17658f 100%)!important;box-shadow:0 1px 8px #07345112}
.brand{min-width:210px;font-size:17px;gap:8px;color:#071f30!important}
.brand b,.brand b.logo,.login .brand b.logo{width:43px;height:43px;flex:0 0 43px;margin:0}
.brand b.logo img,.login .brand b.logo img{width:42px;height:42px}
.search{max-width:680px}
.search input{height:36px;border-radius:9px;padding:0 13px;background:#fff;border:1px solid #dbe7ef;box-shadow:none;font-size:13px}
.user{width:34px;height:34px;border:1px solid #ffffff80;background:#f2faff}
.layout{min-height:calc(100vh - 58px)}
aside{width:224px;flex:0 0 224px;padding:14px 11px;background:#fff;border-right:1px solid #e7edf2;gap:3px}
.new{height:38px;padding:0 12px;margin:0 3px 10px;border-radius:8px;background:#1683bd;box-shadow:none;font-size:13px;font-weight:600}
.new:hover,.btn.primary:hover{transform:none;box-shadow:0 3px 9px #087db722}
.nav{min-height:36px;padding:8px 11px;border-radius:7px;font-size:13px;color:#435b6c}
.nav.active{padding-left:9px;border-left:2px solid #1683bd;background:#eaf5fb;color:#075887}
.bottom{padding-top:8px}
.storagebox{padding:9px 7px;font-size:11px}
.main{padding:20px 26px;max-width:none}
.breadcrumb{gap:5px;margin:0 0 9px;font-size:12px;min-height:24px;color:#81909d}
.breadcrumb button{padding:3px 5px;border-radius:5px;color:#53738b}
.breadcrumb button:hover{background:#eaf3f8}
.breadcrumb button.current{color:#173b53;background:#edf4f8;font-weight:650}
.heading{min-height:34px;align-items:center}
.heading h1{font-size:20px;line-height:1.25;font-weight:650;color:#143b55}
.heading .muted{font-size:12px;color:#8493a0}
.toolbar{align-items:center;gap:7px;margin:11px 0 15px}
.btn{height:34px;padding:0 11px;border-radius:7px;font-size:12px;font-weight:550;box-shadow:none;transition:background .15s,border-color .15s,color .15s}
.btn:hover{background:#f3f8fb;border-color:#b9d2e1;transform:none}
.btn.primary{background:#1683bd;border-color:#1683bd;border-radius:7px;box-shadow:none}
.btn.danger{color:#b42318}
.viewtools{gap:3px}
.viewtools button{height:32px;padding:0 10px;border-radius:7px;font-size:12px}
.viewtools button.active{background:#eaf5fb;border-color:#b8d9eb;color:#075887}
.section{font-size:13px;margin:14px 0 8px;color:#29475b;font-weight:650}
.cards{grid-template-columns:repeat(auto-fill,minmax(170px,230px));gap:9px;margin:8px 0 15px}
.folder{min-height:58px;padding:10px 12px;gap:9px;border-radius:9px;box-shadow:none;background:#fff}
.folder span{font-size:19px}
.folder strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folder:hover,.row:hover{background:#f7fbfe;border-color:#c7deeb;box-shadow:none;transform:none}
.folder .foldermore{font-size:17px;padding:3px 5px;border-radius:5px}
.folder .foldermore:hover,.more:hover{background:#edf4f8}
.panel{border-radius:9px;box-shadow:none;border-color:#e2e9ef}
.filehead,.row{grid-template-columns:minmax(180px,2fr) 90px 125px 34px;gap:8px;padding:9px 12px}
.filehead{font-size:11px;background:#f5f8fa}
.row{min-height:43px;font-size:12px}
.fname{gap:8px}
.fname strong{font-size:12px;font-weight:550}
.ico{font-size:18px}
.more{font-size:17px;padding:3px 6px;border-radius:5px}
.cards.files-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:9px;margin:9px 0}
.filecard{padding:12px;border-radius:9px;box-shadow:none}
.filecard .ico{font-size:23px;margin-bottom:8px}
.filecard strong{font-size:12px}
.filecard small{font-size:10px}
.context-menu{border-radius:9px;padding:5px;min-width:205px;box-shadow:0 8px 25px #142a4126}
.context-menu .menu-item{padding:8px 9px;font-size:12px;gap:9px}
.rename-dialog{width:min(500px,100%);border-radius:16px;padding:22px}
.rename-title{font-size:20px;margin-bottom:14px}
.rename-input{height:44px;border-radius:7px;font-size:14px}
.rename-actions{margin-top:18px}
.move-dialog{width:min(540px,100%);height:min(510px,calc(100vh - 32px));border-radius:12px}
@media(max-width:900px){.main{padding:17px 18px}.brand{min-width:175px}}
@media(max-width:760px){.top{height:54px;padding:0 10px;gap:8px}.brand{min-width:0;font-size:14px}.brand b,.brand b.logo{width:34px;height:38px;flex-basis:34px}.brand b.logo img{width:34px;height:36px}.search input{height:34px}.layout{min-height:calc(100vh - 54px)}aside{width:58px;flex-basis:58px;padding:9px 5px}.nav{font-size:0;text-align:center;padding:10px 2px}.nav:first-letter{font-size:15px}.new{font-size:0;padding:0;width:38px;margin:0 auto 9px}.new:after{content:'+';font-size:19px}.main{padding:15px 11px}.filehead,.row{grid-template-columns:minmax(120px,1fr) 65px 32px}.filehead span:nth-child(3),.row .modified{display:none}}


/* DISIGT Drive confirmation modal — replaces browser-native confirm() */
.confirm-overlay{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(7,30,48,.42);backdrop-filter:blur(3px);animation:confirmFade .16s ease-out}
.confirm-dialog{width:min(420px,100%);background:#fff;border:1px solid #e3edf4;border-radius:18px;padding:23px 24px 20px;box-shadow:0 22px 70px rgba(5,35,58,.25);color:#183247;animation:confirmPop .18s ease-out}
.confirm-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.confirm-icon{width:43px;height:43px;flex:0 0 43px;border-radius:13px;background:#fff1f0;color:#c43b35;display:grid;place-items:center}
.confirm-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.confirm-title{font-size:17px;font-weight:700;color:#123d59;line-height:1.3;margin:0}
.confirm-message{font-size:13.5px;line-height:1.65;color:#526b7d;margin:0 0 22px;overflow-wrap:anywhere}
.confirm-message strong{color:#183247;font-weight:650}
.confirm-actions{display:flex;justify-content:flex-end;gap:9px}
.confirm-actions button{height:38px;padding:0 17px;border-radius:9px;font:600 13px system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;transition:all .15s}
.confirm-cancel{background:#fff;border:1px solid #d7e3ec;color:#456174}.confirm-cancel:hover{background:#f3f8fc}
.confirm-ok{background:#c43b35;border:1px solid #c43b35;color:#fff;box-shadow:0 3px 8px #c43b3528}.confirm-ok:hover{background:#a92e29;transform:translateY(-1px)}
@keyframes confirmFade{from{opacity:0}to{opacity:1}}@keyframes confirmPop{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.confirm-dialog{padding:20px;border-radius:16px}.confirm-title{font-size:16px}}


/* DISIGT Drive drag-and-drop upload */
#driveDropOverlay{position:fixed;inset:0;z-index:9998;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(7,30,55,.48);backdrop-filter:blur(5px)}
#driveDropOverlay.active{display:flex}
#driveDropOverlay .drop-card{width:min(520px,calc(100vw - 36px));padding:38px 28px;text-align:center;background:#fff;border:2px dashed #1683bd;border-radius:22px;box-shadow:0 24px 70px rgba(7,52,81,.24);color:#183247}
#driveDropOverlay .drop-icon{width:66px;height:66px;margin:0 auto 16px;border-radius:20px;display:grid;place-items:center;background:#e8f4fc;color:#087db7;font-size:32px}
#driveDropOverlay h2{margin:0 0 8px;font-size:21px;color:#073451}
#driveDropOverlay p{margin:0;color:#64748b;font-size:14px}
#driveDropOverlay .drop-hint{margin-top:18px;font-size:12px;color:#8a9aab}
.fname,.filecard{cursor:default}.fname strong,.filecard strong{cursor:pointer}.filecard{user-select:none}

.share-overlay{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:10050;display:flex;align-items:center;justify-content:center;padding:18px}.share-dialog{width:min(620px,96vw);max-height:88vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(15,23,42,.25);padding:24px;color:#183247}.share-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.share-head h2{margin:0;font-size:22px}.share-close{border:0;background:#f1f5f9;border-radius:9px;width:34px;height:34px;font-size:20px}.share-tabs{display:flex;gap:8px;border-bottom:1px solid #dce8f1;margin-bottom:18px}.share-tab{border:0;background:transparent;padding:11px 16px;color:#64748b;border-bottom:3px solid transparent;font-weight:650}.share-tab.active{color:#075887;border-color:#075887}.share-label{display:block;font-weight:650;margin:14px 0 7px}.share-input,.share-select{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;font:inherit;background:#fff;color:#183247}.share-row{display:flex;gap:10px;align-items:center}.share-row>*{flex:1}.share-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.share-btn{border:1px solid #cbd5e1;background:#fff;color:#183247;border-radius:10px;padding:10px 15px;font-weight:650;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease}.share-btn:hover{filter:brightness(.96);box-shadow:0 3px 10px rgba(7,52,81,.14);transform:translateY(-1px)}.share-btn:active{transform:translateY(1px) scale(.98);box-shadow:inset 0 2px 4px rgba(0,0,0,.14)}.share-btn:focus-visible{outline:3px solid rgba(22,131,189,.28);outline-offset:2px}.share-btn:disabled{opacity:.68;cursor:wait;transform:none;box-shadow:none}.share-btn.primary{background:#1683bd;color:#fff;border-color:#1683bd}.share-btn.primary:hover{background:#0874ad;border-color:#0874ad}.share-list{border:1px solid #e2e8f0;border-radius:12px;margin-top:14px;overflow:hidden}.share-list-item{display:flex;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid #edf2f7}.share-list-item:last-child{border-bottom:0}.share-list-item .meta{flex:1;min-width:0}.share-list-item small{display:block;color:#64748b}.share-list-item button{border:0;background:transparent;color:#b42318;padding:6px}.share-link{display:flex;gap:8px;align-items:center;margin-top:12px}.share-link input{flex:1;min-width:0}.share-muted{font-size:12px;color:#64748b;margin-top:5px}.share-public-page{max-width:520px;margin:8vh auto;padding:26px;background:#fff;border:1px solid #dce8f1;border-radius:18px;box-shadow:0 12px 40px rgba(15,23,42,.1)}.share-public-page h1{font-size:22px;margin:0 0 8px}.share-public-file{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;margin:10px 0}.share-public-file a{color:#075887;font-weight:650;text-decoration:none}

/* External share compact controls and guest collaboration workspace */
.share-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.share-top-grid>div{min-width:0;flex:1}.share-top-grid .share-label{display:block;margin:0 0 7px}.share-top-grid .share-muted{display:block;margin-top:5px}.share-link-result{border:1px solid #dce6ef;border-radius:11px;padding:10px 12px;margin-top:10px;background:#fbfdff}.share-link-result .share-link{margin:0}.share-link-result .share-input{min-width:0}.share-link-result .share-muted{display:block;margin-top:7px}.share-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 8px}.share-option{min-width:0;padding:10px;border:1px solid #e2eaf1;border-radius:10px;background:#fbfdff}.share-option label{display:flex;align-items:center;gap:7px;font-weight:650;font-size:13px;min-height:24px}.share-option input[type=checkbox]{width:16px;height:16px;accent-color:#1683bd}.share-option .share-input{margin-top:8px;padding:9px 10px;font-size:13px}.share-option .share-input[hidden]{display:none}.guest-shell{min-height:100vh;background:#f6f9fc;padding:28px 16px;color:#183247}.guest-head{max-width:920px;margin:0 auto 14px;display:flex;justify-content:space-between;align-items:center}.guest-head strong{font-size:20px}.guest-card{max-width:920px;margin:0 auto;background:#fff;border:1px solid #dce8f1;border-radius:16px;padding:22px;box-shadow:0 12px 40px #0f172a12}.guest-card h2{margin:0 0 10px}.guest-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.guest-item{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #edf2f7;min-height:48px}.guest-item strong{flex:1;min-width:0;overflow-wrap:anywhere}.guest-item button{border:1px solid #dbe5ee;border-radius:8px;background:#fff;padding:6px 9px;color:#23516c;cursor:pointer}.guest-item[data-folder]{cursor:pointer}.guest-file-info{padding:20px 0}.guest-shared-file .guest-more{justify-self:end;border:1px solid #dbe5ee;border-radius:8px;background:#fff;color:#23516c;padding:5px 10px;font-size:18px;cursor:pointer}.guest-shared-file .guest-more:hover{background:#eaf3f9}.guest-shared-file .guest-file-name:hover{text-decoration:underline;color:#087db5}.guest-item small{color:#718395}@media(max-width:560px){.share-option-grid{grid-template-columns:1fr}.guest-card{padding:16px}.guest-item{flex-wrap:wrap}}
 .guest-move-overlay{position:fixed;inset:0;background:#0f172a66;z-index:11000;display:grid;place-items:center;padding:16px}.guest-move-overlay section{background:#fff;border-radius:14px;padding:20px;width:min(420px,94vw);box-shadow:0 20px 60px #0003}.guest-move-overlay h3{margin:0 0 14px}
@media(max-width:560px){.share-top-grid{grid-template-columns:1fr}.share-option-grid{grid-template-columns:1fr}}


.guest-shell{min-height:100vh;padding:0;background:#f5f8fc;color:var(--text)}
.guest-head{max-width:none;height:68px;margin:0;padding:0 28px;background:linear-gradient(90deg,#eaf6ff,#1683bd 72%,#073451);color:#073451;box-shadow:0 2px 8px #0f172a12}
.guest-head strong{font-size:20px;color:#073451}
.guest-head .guest-permission-pill{background:#fff9;border:1px solid #ffffff88;border-radius:18px;padding:7px 12px;font-size:12px}
.guest-card{max-width:none;margin:0;padding:26px 32px;border:0;border-radius:0;background:transparent;box-shadow:none}
.guest-drive-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 18px}
.guest-drive-toolbar .guest-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.guest-drive-toolbar button,.guest-drive-toolbar label{border:1px solid #d5e2ee;border-radius:9px;background:#fff;padding:10px 14px;color:#17445f;cursor:pointer;font:inherit}
.guest-drive-toolbar button.primary{background:#1683bd;color:white;border-color:#1683bd}
.guest-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#668097}
.guest-breadcrumb strong{background:#eaf3f9;padding:6px 10px;border-radius:8px;color:#173e58}
.guest-section-title{font-weight:700;margin:20px 0 10px}
.guest-list-head{display:grid;grid-template-columns:minmax(220px,1fr) 110px 130px;gap:12px;padding:12px 16px;border:1px solid #dce8f1;background:#f3f7fa;border-radius:10px;color:#668097;font-size:13px}
#guestItems.guest-list{margin-top:10px;background:#fff;border:1px solid #dce8f1;border-radius:10px;overflow:hidden}
#guestItems.guest-list .guest-item{display:grid;grid-template-columns:minmax(220px,1fr) 110px 130px;gap:12px;padding:12px 16px;border-bottom:1px solid #edf2f7;min-height:52px}
#guestItems.guest-list .guest-item:last-child{border-bottom:0}
#guestItems.guest-list .guest-item .guest-name{display:flex;align-items:center;gap:10px;min-width:0}
#guestItems.guest-list .guest-item .guest-meta{color:#668097;font-size:12px}
#guestItems.guest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-top:10px}
#guestItems.guest-grid .guest-item{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border:1px solid #dce8f1;border-radius:12px;background:#fff;min-height:145px}
#guestItems.guest-grid .guest-item .guest-name{display:flex;align-items:center;gap:10px;width:100%}
#guestItems.guest-grid .guest-item .guest-meta{color:#668097;font-size:12px}
#guestItems .guest-item strong{overflow-wrap:anywhere}
#guestItems .guest-item button{font-size:12px}
.guest-empty{padding:48px 20px;text-align:center;background:#fff;border:1px solid #dce8f1;border-radius:12px;color:#668097;margin-top:10px}
.guest-view-switch{display:flex;gap:6px}
.guest-view-switch button.active{background:#eaf5fc;border-color:#a9d5f0;color:#0875ae}
@media(max-width:700px){.guest-card{padding:18px 14px}.guest-list-head{display:none}#guestItems.guest-list .guest-item{grid-template-columns:1fr;gap:6px}.guest-head{padding:0 16px}}

.share-label-inline{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.share-label-inline span{font-size:12px;font-weight:400;color:var(--muted)}

/* Shared-file page: align its list/table with the parent Drive listing. */
.guest-list-head.guest-file-head{grid-template-columns:minmax(220px,1fr) 110px 110px 130px 42px;align-items:center}
#guestItems.guest-list .guest-item.guest-shared-file{grid-template-columns:minmax(220px,1fr) 110px 110px 130px 42px;align-items:center;min-height:56px;padding:12px 16px}
.guest-shared-file .guest-name{min-width:0}
.guest-shared-file .guest-file-icon{font-size:21px;flex:0 0 auto}
.guest-shared-file .guest-file-name{font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.guest-shared-file .guest-file-name:hover{color:#087db5;text-decoration:underline}
.guest-shared-file .guest-share-status{font-size:12px;font-weight:650;color:#0b6b45;white-space:nowrap}
.guest-shared-file .guest-more{justify-self:end;width:34px;height:34px;display:grid;place-items:center;border:1px solid #dbe5ee;border-radius:8px;background:#fff;color:#23516c;font-size:19px;cursor:pointer;transition:background .15s,border-color .15s}
.guest-shared-file .guest-more:hover{background:#eaf5fc;border-color:#a9d5f0}
#guestItems.guest-grid .guest-shared-file{min-height:145px}
#guestItems.guest-grid .guest-shared-file .guest-share-status{margin-top:auto}
@media(max-width:700px){.guest-list-head.guest-file-head{display:none}#guestItems.guest-list .guest-item.guest-shared-file{grid-template-columns:1fr 38px;gap:8px}#guestItems.guest-list .guest-shared-file .guest-share-status,#guestItems.guest-list .guest-shared-file .guest-meta{display:none}}
