:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#192b39;background:#f5f7f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#146452;text-decoration:none}a:hover{text-decoration:underline}header{height:84px;background:#fff;border-bottom:1px solid #e1e7e8;display:flex;justify-content:space-between;align-items:center;padding:0 5vw}.brand{font-size:24px;letter-spacing:-1px;font-weight:750;color:#192b39}.brand span{font-weight:400;color:#63777b;margin-left:10px}.identity{display:flex;align-items:center;gap:20px;font-size:14px}main{max-width:1280px;margin:auto;padding:44px 32px}h1{font-size:44px;letter-spacing:-1.8px;margin:8px 0 12px;line-height:1.08}h2{font-size:17px;margin:0 0 14px}p{color:#60717b;line-height:1.6}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:#19715e}.login{display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;max-width:970px;margin:70px auto 110px}.login h1{font-size:68px;line-height:1.04}.intro{font-size:19px;line-height:1.8}.card{background:#fff;border:1px solid #dfe6e8;border-radius:14px;padding:28px}.login .card{padding:36px}.stack{display:flex;flex-direction:column;gap:18px}label{font-size:13px;color:#43555e;display:block}input:not([type=checkbox]){display:block;width:100%;border:1px solid #cbd5d9;border-radius:7px;background:#fff;padding:11px 12px;font:inherit;color:#192b39;margin-top:7px}input[type=file]{padding:8px;font-size:12px;margin-bottom:14px}button{border:1px solid #186753;background:#186753;color:#fff;border-radius:7px;padding:11px 17px;font:inherit;font-size:13px;font-weight:650;cursor:pointer}button:hover{filter:brightness(.92)}.quiet{background:#fff;color:#285b50;border-color:#cbd8d4}.small{font-size:12px}.tags{display:flex;gap:10px;margin-top:26px}.tags span{font-size:12px;border:1px solid #d4dfda;border-radius:30px;padding:7px 12px;color:#42645b}.title{display:flex;justify-content:space-between;align-items:center}.quota{text-align:right}.quota strong{font-size:22px}.quota span{font-size:15px;font-weight:400;color:#77868b}.quota p{font-size:12px}.crumb{background:#eaf0ed;padding:15px 20px;border-radius:8px;font-size:14px;margin:22px 0}.tools{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}.actions{display:flex;gap:10px;margin-top:14px}.filelist{background:#fff;border:1px solid #dfe6e8;border-radius:12px}.listhead{padding:20px 24px;display:flex;justify-content:space-between;align-items:center}.listhead h2,.listhead p{margin:0}.listhead h2 span{font-size:12px;background:#ecf1ee;color:#446a5b;padding:3px 8px;border-radius:8px;margin-left:6px}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#f7f9f8;padding:14px 20px;font-size:11px;text-transform:uppercase;letter-spacing:.7px;white-space:nowrap}td{padding:18px 20px;border-top:1px solid #eaf0ee}td:first-child{max-width:360px;overflow-wrap:anywhere}.filename{font-weight:600;color:#263f45;display:flex;align-items:center;gap:12px}.fileicon{color:#4d8c77;font-size:23px}.muted{color:#6c7b81;white-space:nowrap}.rowactions{display:flex;align-items:flex-start;gap:16px;font-size:12px}summary{cursor:pointer;color:#47665c}details[open] summary{margin-bottom:12px}.deleteform{max-width:240px;min-width:150px}.deleteform label{font-size:12px;overflow-wrap:anywhere}.danger{background:#fff;color:#a13636;border-color:#d9bcbc;margin-top:10px;font-size:11px}.empty{text-align:center;padding:64px 24px}.empty strong{font-size:16px}.empty p{margin-bottom:0}.settings{display:flex;gap:40px;margin-top:36px;padding-top:24px;border-top:1px solid #dbe4df}.settings>details{flex:1}.settingsform{max-width:360px;margin-top:20px}.notice{background:#e7f2eb;border:1px solid #bedbc9;border-radius:8px;padding:14px 18px;color:#2a654c}.error{background:#fff0ed;border-color:#edc6c0;color:#953b35}footer{border-top:1px solid #dfe5e3;margin-top:60px;padding-top:22px;font-size:12px;color:#71827e;display:flex;justify-content:space-between;gap:20px}input:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9cbfb0;outline-offset:3px}@media(max-width:700px){header{height:68px;padding:0 20px}.brand{font-size:20px}.identity{gap:10px;font-size:12px}main{padding:28px 18px}.login{grid-template-columns:1fr;gap:30px;margin:15px auto 40px}.login h1{font-size:48px}.login .card{padding:24px}.intro{font-size:16px}.tools{grid-template-columns:1fr}.title{align-items:flex-start}h1{font-size:36px}.quota strong{font-size:17px}.listhead{align-items:flex-start;gap:12px;flex-direction:column}.settings{flex-direction:column;gap:24px}footer{flex-direction:column;margin-top:36px}th,td{padding:14px}.card{padding:22px}}

.directory-tree{margin-bottom:24px}.directory-tree>summary{font-weight:700}.directory-tree nav{max-height:420px;overflow:auto}.directory-tree ul{list-style:none;padding-left:22px;border-left:1px solid #dce6df;margin:8px 0}.directory-tree li{padding:5px 0;overflow-wrap:anywhere}.directory-tree .openfolder{font-size:12px;margin-left:20px}.app-download{margin-top:36px}.app-download p{font-size:13px}.download-button{display:inline-block;padding:11px 18px;border-radius:7px;background:#186753;color:white}

.move-panel{margin-bottom:24px}.move-panel select,#upload-form select{display:block;max-width:100%;width:100%;padding:12px;margin-top:8px;border:1px solid #cbd5d9;border-radius:7px;background:white;color:#192b39;font:inherit}.rowactions{flex-wrap:wrap}

.drag-handle{touch-action:none;cursor:grab;float:left;margin-right:10px;background:#eff5f2;color:#186753;border:1px solid #cbd8d4;font-size:20px;padding:3px 8px}.drop-target{outline:3px solid #2a9b78!important;background:#e2f4e9!important}#move-destination-label{color:#186753;font-weight:600}#move-panel{scroll-margin-top:20px}

.bulk-toolbar{padding:0 24px 20px;border-bottom:1px solid #dfe6e8}.bulk-toolbar .actions{align-items:center;flex-wrap:wrap}.bulk-toolbar details{margin-top:16px}.bulk-toolbar select,.workspace-switch select{padding:10px;display:block;max-width:100%;min-width:220px;margin:8px 0}.selected-row{background:#edf7f1}.item-select,#select-all{width:20px;height:20px;cursor:pointer}.filelist{margin-bottom:24px}.phone-install{margin-top:32px}.title h1{margin-bottom:8px}.workspace-switch{margin:12px 0}.owner-view #upload-tools,.owner-view .drag-handle,.owner-view .rowactions>a[href*="move="],.owner-view .rowactions details,.owner-view #move-panel,.owner-view #move-status{display:none}#files,#upload-tools{scroll-margin-top:20px}@media(max-width:700px){.bulk-toolbar{padding:0 14px 16px}.bulk-toolbar .actions{gap:14px}.tablewrap td,.tablewrap th{padding:12px 8px}.filename{min-width:140px}.quota{max-width:120px}.rowactions{min-width:90px}}

.renameform{min-width:180px;max-width:260px}.renameform button{margin-top:10px}

.tree-name{display:flex;align-items:center;gap:6px}.tree-indent{display:inline-block;flex:0 0 22px}.tree-toggle{flex:0 0 30px;padding:4px;font-size:20px}.tree-name .filename{min-width:120px}.tree-name .drag-handle{float:none;margin:0}.tree-help{padding:0 24px}.listhead .small{max-width:620px}tr[hidden]{display:none}

/* Compact file rows, including expanded descendants. */
.filelist .tablewrap td{padding:4px 10px;vertical-align:middle}
.filelist .tablewrap th{padding:7px 10px}
.filelist .tree-name{gap:4px;min-height:26px}
.filelist .tree-toggle,.filelist .tree-name .drag-handle{width:26px;height:26px;flex:0 0 26px;padding:0;font-size:17px;line-height:24px}
.filelist .filename{gap:6px;line-height:1.3;white-space:nowrap}
.filelist .fileicon{font-size:18px;line-height:1}
.filelist .rowactions{flex-wrap:nowrap;gap:12px;line-height:24px;white-space:nowrap}
.filelist .rowactions form{white-space:normal;line-height:1.4}
.filelist .item-select,.filelist #select-all{width:18px;height:18px;margin:0;vertical-align:middle}
.filelist .tablewrap td.empty{padding:28px 16px}
@media(max-width:700px){.filelist .tablewrap td{padding:4px 8px}.filelist .tablewrap th{padding:7px 8px}}

.trash-panel{margin-bottom:24px}.trash-item{padding:12px 0;border-top:1px solid #dfe6e8;overflow-wrap:anywhere}.trash-item form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.trash-item select{display:block;padding:10px;max-width:100%;margin-top:7px}.trash-item label{max-width:100%}

/* Separate selection from expansion without increasing row height. */
.filelist .tablewrap th:first-child,.filelist .tablewrap td:first-child{width:64px;min-width:64px;padding-left:14px;padding-right:24px}

/* Consistent, compact workspace panels. */
.workspace header{height:60px}
.workspace main{padding:22px 24px}
.workspace h1{font-size:30px;margin:0}
.workspace h2{font-size:16px;margin-bottom:10px}
.workspace p{margin:8px 0;line-height:1.45}
.workspace .quota strong{font-size:18px}
.workspace .quota p{margin:4px 0}
.workspace .crumb{margin:14px 0;padding:10px 14px}
.workspace .card{padding:16px;border-radius:10px}
.workspace .listhead{padding:12px 16px;gap:12px}
.workspace .listhead h2,.workspace .listhead p{margin:0}
.workspace .bulk-toolbar{padding:0 16px 12px}
.workspace .bulk-toolbar .actions{margin-top:6px;gap:14px}
.workspace .bulk-toolbar details{margin-top:10px}
.workspace .tools{gap:14px;margin-bottom:16px;align-items:start}
.workspace .trash-panel,.workspace .filelist{margin-bottom:14px}
.workspace .tree-help{padding:8px 16px}
.workspace .tree-help p{max-width:850px}
.workspace .settings{gap:20px;margin-top:18px;padding-top:16px}
.workspace .settingsform{margin-top:12px;gap:12px}
.workspace .app-download,.workspace .phone-install{margin-top:14px}
.workspace .phone-install .tools{margin:12px 0 0}
.workspace footer{margin-top:20px;padding-top:14px}
.workspace input:not([type=checkbox]),.workspace select{padding:8px 10px}
.workspace #upload-form select,.workspace .move-panel select{padding:8px 10px}
.workspace button:not(.tree-toggle):not(.drag-handle),.workspace .download-button{padding:8px 12px}
.workspace #move-status:empty,.workspace .upload-preview:empty,.workspace .upload-errors:empty,.workspace #upload-form [role=status]:empty{display:none}
@media(max-width:700px){.workspace main{padding:16px 12px}.workspace .listhead{flex-direction:row;align-items:center;flex-wrap:wrap}.workspace h1{font-size:26px}.workspace .card{padding:14px}.workspace .listhead,.workspace .bulk-toolbar{padding-left:12px;padding-right:12px}}
