:root{font-family:Inter,"Segoe UI",sans-serif;color:#202927;background:#f8faf8;font-synthesis:none;--green:#155647;--muted:#7c8580;--line:#e8ede9;--tint:#edf4ef;--radius:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{border:0;background:none;color:inherit}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #81b6a4;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #81b6a4;outline-offset:1px}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.15;font-weight:600;letter-spacing:-1.6px}h2{font-size:24px;letter-spacing:-.6px;font-weight:600}h3{font-size:17px;font-weight:600}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:650;color:#719184}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.sidebar{padding:36px 24px;border-right:1px solid var(--line);background:#fff;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;min-width:0;font-size:21px;font-weight:650;letter-spacing:-.5px}.brand-text{overflow-wrap:anywhere}.brandmark{width:36px;height:36px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:10px;font-size:23px;font-weight:650;flex-shrink:0}.nav{display:flex;flex-direction:column;gap:8px;margin-top:64px}.nav button{display:flex;align-items:center;gap:13px;min-height:49px;padding:0 16px;border-radius:10px;text-align:left;color:#7b8580;font-weight:550}.nav button.active{color:var(--green);background:var(--tint)}.sidebar-bottom{margin-top:auto}.privacy{border-top:1px solid var(--line);padding:22px 0;font-size:12px;color:var(--muted);line-height:1.7}.privacy strong{display:block;color:#455c50;font-weight:500}.account{display:flex;align-items:center;gap:11px;padding-top:12px}.avatar{height:36px;width:36px;border-radius:50%;background:#e7eee8;color:var(--green);display:grid;place-items:center;font-size:12px;font-weight:700}.account-info{font-size:13px;flex:1}.account-info small{display:block;color:var(--muted);margin-top:3px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.icon-button:hover{background:var(--tint)}.main{max-width:1400px;width:100%;padding:38px 54px 50px;margin:auto;align-self:start}.topbar{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:47px}.topbar .secure{display:flex;align-items:center;gap:7px}.topbar .icon{width:14px;height:14px}.mobile-header{display:none}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:11px 0 31px}.heading p{margin-top:12px;color:var(--muted);font-size:14px}.primary,.secondary,.danger{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;border-radius:11px;font-size:14px;font-weight:550}.primary{background:var(--green);color:#fff}.primary:hover{background:#0e4437}.secondary{background:#fff;border:1px solid #dfe6e0;color:#46594e}.secondary:hover{background:var(--tint)}.danger{color:#ab453c;background:#fbefed}.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:26px}.search{background:#fff;border:1px solid var(--line);display:flex;align-items:center;gap:10px;border-radius:11px;padding:0 15px;max-width:450px;flex:1;height:47px;color:#8a948d}.search input{width:100%;border:0;background:none;outline:none;padding:12px 0;font-size:14px}.toolbar select{margin-left:auto;background:transparent;border:0;color:#69746c;padding:10px;max-width:160px;font-size:12px}.crumbs{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-height:32px;font-size:12px;margin-bottom:14px}.crumbs button{padding:8px 7px;color:var(--muted)}.crumbs button:last-child{color:var(--green);font-weight:600}.crumbs .icon{width:12px;height:12px;color:#b0b9b2}.files-panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.list-header{display:grid;grid-template-columns:minmax(0,1fr) 100px 140px 90px;gap:20px;padding:18px 25px;background:#fcfdfb;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1px;color:#8b948d;text-transform:uppercase}.file-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 140px 90px;gap:20px;align-items:center;min-height:86px;padding:14px 25px;border-bottom:1px solid #eef1ed}.file-row:last-child{border-bottom:0}.file-row:hover{background:#fbfcfa}.file-main{display:flex;gap:16px;align-items:center;min-width:0;text-align:left;padding:0;min-height:48px}.file-icon{display:grid;place-items:center;width:43px;height:49px;flex-shrink:0;border-radius:10px;background:#f0f3ed;color:#66806e}.file-icon.folder{background:#edf5ef;color:#3f8063}.file-icon.pdf{background:#fbefea;color:#bf7c66}.file-icon.media{background:#edf0f7;color:#7c89b2}.file-icon .icon{width:25px;height:25px}.filename{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;line-height:1.5}.filetext{min-width:0}.filetext small{display:block;font-size:11px;color:#9aa299;margin-top:3px}.file-size,.file-date{color:#889188;font-size:12px}.row-actions{display:flex;align-items:center;justify-content:flex-end;color:#738276}.row-actions .icon-button{width:38px;height:42px}.list-footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#919a92;margin-top:18px}.list-footer span{display:flex;align-items:center;gap:7px}.list-footer .icon{width:13px;height:13px}.welcome-note{display:flex;gap:17px;padding:24px 0;margin-top:26px;border-top:1px solid var(--line);color:#5d7364}.welcome-note>.icon{width:20px;height:20px}.welcome-note p{font-size:12px;line-height:1.8;color:#8a948a;margin-top:5px;max-width:650px}.welcome-note h3{font-size:13px;font-weight:550}.bottom-nav{display:none}.empty{padding:65px 25px;text-align:center;color:var(--muted)}.empty .icon{width:38px;height:38px;margin-bottom:16px;color:#7fa48a}.empty h3{color:#3e5748;margin-bottom:10px}.empty p{font-size:13px;line-height:1.7;max-width:360px;margin:auto}.settings-grid{max-width:760px}.section{border-top:1px solid var(--line);padding:27px 0;margin-top:8px}.section>p{font-size:13px;line-height:1.7;color:var(--muted);margin:8px 0 23px}.form-grid{display:grid;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5df;border-radius:10px;padding:13px 14px;background:#fff;color:#243a2e;min-height:46px;font-size:14px;font-weight:400}.field small{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6}.field textarea{resize:vertical;min-height:130px;line-height:1.65}.form-actions{display:flex;justify-content:flex-start;margin-top:5px;gap:10px;flex-wrap:wrap}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:#eaf1e9;padding:52px 64px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story h1{font-size:65px;letter-spacing:-3px;line-height:1.06;max-width:500px;margin:35px 0 24px;color:#204d38}.auth-story p{color:#718272;line-height:1.8;max-width:360px;font-size:15px}.auth-story footer{font-size:11px;color:#829482}.auth-main{display:flex;align-items:center;justify-content:center;padding:35px}.auth-card{max-width:370px;width:100%}.auth-card .brand{margin-bottom:45px}.auth-card h2{font-size:30px;margin-bottom:10px}.auth-card>p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:28px}.auth-card .primary{width:100%;margin-top:6px}.auth-foot{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#8c998c;margin-top:24px}.auth-foot .icon{width:13px;height:13px}.error{background:#fbefed;color:#a1463e;padding:11px 13px;border-radius:8px;font-size:12px;margin:12px 0;line-height:1.6}.hidden{display:none!important}.share-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:50px 24px;background:#f6f8f4}.share-page>.brand{margin-bottom:60px}.share-card{background:#fff;border:1px solid var(--line);max-width:460px;width:100%;padding:35px;border-radius:20px;text-align:center}.share-card .file-icon{width:64px;height:75px;margin:0 auto 25px}.share-card h1{font-size:24px;letter-spacing:-.6px;overflow-wrap:anywhere}.share-card .detail{font-size:13px;color:var(--muted);margin:15px 0 30px;line-height:1.8}.share-card .field{text-align:left}.share-card .primary{width:100%;margin-top:18px}.share-page>p{font-size:11px;color:var(--muted);margin-top:25px}.share-row{display:flex;align-items:center;gap:17px;padding:23px 25px;border-bottom:1px solid var(--line)}.share-row:last-child{border:0}.share-row .filetext{flex:1}.share-row .badge{display:inline-flex;align-items:center;gap:5px;margin:7px 8px 0 0;font-size:10px;color:#66816d}.badge .icon{width:12px;height:12px}.share-row.inactive{opacity:.6}.row-actions .danger{font-size:11px;padding:9px;min-height:37px}.progress{margin:12px 0;padding:14px;background:var(--tint);border-radius:10px;display:flex;gap:12px;align-items:center;font-size:12px}.progress progress{flex:1;accent-color:var(--green);min-width:30px}dialog{border:0;border-radius:22px;padding:0;width:min(490px,calc(100vw - 32px));max-height:90dvh;overflow-y:auto;color:#233b2d;box-shadow:0 24px 100px #132f2930}dialog::backdrop{background:#132e2860;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 25px 12px}.dialog-head h2{font-size:21px}.dialog-body{padding:5px 26px 28px}.chosen-file{display:flex;gap:13px;align-items:center;padding:14px;background:#f5f7f3;border-radius:12px;margin-bottom:23px}.chosen-file .file-icon{background:#fff}.chosen-file small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.segmented{display:flex;padding:4px;gap:3px;background:#f0f3ef;border-radius:10px;margin:9px 0 19px}.segmented button{flex:1;padding:11px 4px;font-size:12px;border-radius:7px}.segmented button.selected{background:#fff;color:var(--green);box-shadow:0 1px 5px #233e2810;font-weight:600}.segmented .icon{width:14px;height:14px;vertical-align:middle;margin-right:5px}.label{font-size:12px;font-weight:600}.full{width:100%}.hint{font-size:11px;color:var(--muted);line-height:1.7;margin:14px 0}.password-line{display:flex;gap:8px}.password-line .secondary{font-size:11px;padding:8px}.success-symbol{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e5f3e9;color:var(--green);margin:0 auto 16px}.preview{width:100%;max-height:420px;object-fit:contain;border:0;border-radius:10px;background:#f7f9f5}.preview-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:12px;line-height:1.7;padding:15px;background:#f5f7f3;border-radius:10px}.loading{min-height:100dvh;display:grid;place-items:center;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:12px;background:#203e31;color:white;z-index:10;font-size:13px;max-width:90vw;box-shadow:0 4px 25px #18312420;display:none}#toast.visible{display:block}.count{font-size:12px;color:#8d988d;margin-left:8px}.settings-grid .field{max-width:520px}
@media(min-width:1500px){.main{padding-left:70px;padding-right:70px}.file-row{min-height:95px}}
@media(max-width:1050px){.sidebar{width:200px;padding:30px 18px}.shell{grid-template-columns:200px minmax(0,1fr)}.main{padding:30px}.file-date{display:none}.file-row,.list-header{grid-template-columns:minmax(0,1fr) 80px 80px;gap:10px}.list-header span:nth-child(3){display:none}.auth-story{padding:40px}.auth-story h1{font-size:50px}}
@media(max-width:700px){body{background:#fff}.shell{display:block}.sidebar,.topbar{display:none}.main{padding:0 22px 110px}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:25px 0 33px;gap:15px}.brand{font-size:20px}.brandmark{width:33px;height:33px;font-size:21px}.mobile-header .avatar{background:var(--green);color:white;width:35px;height:35px}.heading{align-items:flex-start;margin:9px 0 26px;gap:12px}.heading h1{font-size:33px;letter-spacing:-1.2px}.heading p{font-size:12px;line-height:1.6;margin-top:10px}.heading .primary{min-width:45px;padding:11px}.heading .primary span{display:none}.eyebrow{font-size:10px}.toolbar{gap:5px;margin-bottom:20px}.search{background:#f3f5f1;border:0;height:49px}.search input{font-size:13px}.toolbar select{max-width:88px;padding:8px 0;font-size:11px}.files-panel{border:0;border-radius:0}.list-header{display:none}.file-row{grid-template-columns:minmax(0,1fr) 40px;padding:17px 0;gap:8px;min-height:90px}.file-size,.file-date{display:none}.filetext small{font-size:11px;line-height:1.5}.file-main{gap:13px}.filename{font-size:13px}.file-icon{width:39px;height:45px}.file-icon .icon{width:24px;height:24px}.row-actions .download-btn{display:none}.row-actions .icon-button{width:40px}.crumbs{margin-bottom:3px;font-size:11px}.list-footer{font-size:10px;margin-top:20px}.list-footer .muted{display:none}.welcome-note{margin-top:30px;padding-top:22px}.welcome-note p{font-size:11px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:11px 20px calc(11px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(10px);z-index:3}.bottom-nav button{display:flex;align-items:center;flex-direction:column;gap:6px;flex:1;padding:6px 0;font-size:10px;color:#8b938c;min-height:48px}.bottom-nav button.active{color:var(--green);font-weight:650}.bottom-nav button.active:after{content:'';width:19px;height:3px;border-radius:3px;background:var(--green)}.auth-page{display:flex;min-height:100dvh}.auth-story{display:none}.auth-main{padding:35px 28px;width:100%}.auth-card .brand{margin-bottom:55px}.auth-card h2{font-size:29px}.share-page{padding:35px 20px}.share-page>.brand{margin-bottom:40px}.share-card{padding:28px 22px}.share-row{padding:20px 0;gap:10px;flex-wrap:wrap}.share-row .row-actions{margin-left:52px}.share-row .file-icon{width:40px}.share-row .filename{white-space:normal;overflow-wrap:anywhere}.share-row .filetext{min-width:calc(100% - 55px)}dialog{margin:auto auto 0;width:100%;max-height:94dvh;border-radius:23px 23px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog-head{padding:18px 23px 10px}.dialog-body{padding:4px 24px 27px}.settings-grid .section{padding:24px 0}.settings-grid h3{font-size:15px}#toast{bottom:100px}.form-actions .primary{width:100%}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .16s ease,color .16s ease}dialog[open]{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}
.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.remember-line{display:flex;align-items:center;gap:9px;font-size:14px;cursor:pointer}.remember-line input{width:18px;height:18px;margin:0}@media(max-width:640px){.heading-actions{width:100%}.heading-actions button{flex:1}}

.check{display:flex;gap:12px;align-items:flex-start;margin:18px 0 6px;padding:14px;border:1px solid #dfe6e0;border-radius:11px;cursor:pointer;font-size:12px}
.check input{width:20px;height:20px;margin-top:1px;flex:none;accent-color:var(--green)}
.check span{display:flex;flex-direction:column;gap:4px}
.check small{font-size:11px;color:var(--muted);line-height:1.6}
.auth-card .public-btn{margin-top:12px}
.public-page{max-width:760px;margin:0 auto}
.public-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px}
.public-card h1{margin-bottom:6px}
.public-card .files-panel{margin:18px 0}
.public-card .back-btn{margin-top:6px}
@media(max-width:700px){.public-card{padding:22px 16px}.public-card .share-row .row-actions{margin-left:52px}}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}
body{overflow-x:hidden;min-width:0;width:100%}
#app,.shell,.main,.auth-page,.auth-main,.auth-card,.share-page,.share-card,.public-card,dialog{max-width:100%;min-width:0}
img,video,audio,iframe,.preview{max-width:100%}
@media(max-width:700px){
input,select,textarea,.field input,.field select,.field textarea,.search input,.toolbar select{font-size:16px!important}
.toolbar select{max-width:120px}
.main{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
.auth-main{padding:28px max(22px,env(safe-area-inset-right)) 28px max(22px,env(safe-area-inset-left))}
.share-page{padding:28px max(16px,env(safe-area-inset-right)) 28px max(16px,env(safe-area-inset-left))}
.auth-card{margin:0 auto}
.auth-card .brand{margin-bottom:36px}
.heading h1,.share-card h1,.public-card h1{overflow-wrap:anywhere}
.password-line{flex-wrap:wrap}.password-line input{flex:1 1 100%}
.form-actions{flex-wrap:wrap}.form-actions>*{flex:1 1 100%}
dialog{width:100%;max-width:100%;overflow-x:hidden}
}
.icon-button.is-public{color:var(--green);background:var(--tint)}
.public-note{display:flex;align-items:center;gap:6px;margin-top:6px;color:var(--green);font-size:13px}
.section-gap{margin-top:32px}
.section-gap h2{margin:0 0 4px}
