*{box-sizing:border-box}:root{font-family:DM Sans,sans-serif;color:#192b3d;background:#f4f8f5;font-synthesis:none}body{margin:0}.boot{padding:40px;font-size:25px;font-weight:800}.boot span{display:block;font-size:13px;font-weight:500;color:#718477;margin-top:8px}.shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.sidebar{background:#e5f6ec;border-right:2px solid #1e3448;padding:28px 18px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:10px;font-size:21px;margin:0 0 48px 8px}.brandmark{width:34px;height:34px;border:2px solid #1d3347;border-radius:11px;background:#d5ee8f;display:grid;place-items:center;font-weight:900;box-shadow:3px 3px #1d3347}.side-label,.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#778b80}.side-label{margin:0 0 12px 10px}.navitem{border:0;background:transparent;padding:13px 12px;text-align:left;border-radius:12px;font:600 14px inherit;color:#344a5b;display:flex;gap:12px;align-items:center;cursor:pointer;width:100%;margin-bottom:5px}.navitem.active{background:#fff;border:1.5px solid #20364a;box-shadow:3px 3px #20364a}.side-bottom{margin-top:auto}.storage-mini{background:#fff;border:1.5px solid #20364a;border-radius:15px;padding:15px;margin-bottom:15px;box-shadow:3px 3px #20364a}.storage-mini span,.storage-mini small{display:block;color:#718477;font-size:11px}.storage-mini b{display:block;font-size:20px;margin:7px 0}.meter,.progressbar{height:7px;background:#e7eee8;border-radius:10px;overflow:hidden}.meter i,.progressbar i{display:block;height:100%;background:#a9d77c;border-radius:10px}.main{padding:30px clamp(20px,4vw,60px);max-width:1500px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.topbar h2{margin:5px 0 0;font-size:25px}.avatar{width:42px;height:42px;border:2px solid #20364a;border-radius:14px;background:#e8dcff;display:grid;place-items:center;font-weight:800}.welcome{border:2px solid #20364a;border-radius:22px;background:#e7f5e9;padding:30px;display:flex;justify-content:space-between;align-items:center;box-shadow:5px 5px #20364a;overflow:hidden}.welcome h1{font-size:clamp(25px,4vw,38px);line-height:1.15;margin:10px 0}.welcome h1 span{color:#638b52}.welcome p,.file-section p{color:#6b7d75;margin:0}.welcome-art{font-size:95px;color:#b5d77f;transform:rotate(-12deg);padding:0 25px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0}.stat{background:#fff;border:1.5px solid #20364a;border-radius:17px;padding:17px;box-shadow:3px 3px #20364a}.stat span,.stat small{display:block;color:#78877f;font-size:12px}.stat b{display:block;font-size:25px;margin:7px 0}.stat .online{color:#4f985e;font-size:20px}.file-section{margin-top:32px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head h3,.file-section h3{margin:0 0 5px;font-size:20px}.section-head p{font-size:13px}.btn{border:1.5px solid #20364a;border-radius:12px;padding:12px 16px;background:#fff;color:#20364a;font:700 13px inherit;cursor:pointer;box-shadow:3px 3px #20364a}.btn.primary{background:#d8ee9a}.upload-label{position:relative;overflow:hidden}.upload-label input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.toolbar{display:flex;gap:10px;margin:20px 0}.toolbar input,.toolbar select,textarea{font:inherit;border:1.5px solid #b8c8bd;border-radius:11px;padding:12px;background:#fff;color:#20364a}.toolbar input{flex:1;min-width:0}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.filecard{background:#fff;border:1.5px solid #20364a;border-radius:16px;padding:15px;box-shadow:3px 3px #20364a;min-width:0}.filetop{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.fileicon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eee7ff;font-size:19px}.filedate,.filecard small{font-size:11px;color:#87938c}.filename{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;margin-bottom:5px}.fileactions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.action{border:1px solid #c6d1c9;border-radius:8px;background:#f7faf7;padding:7px 9px;font:600 11px inherit;color:#253d4d;text-decoration:none;cursor:pointer}.action.danger{color:#b14e4e}.empty{grid-column:1/-1;text-align:center;padding:45px 10px;color:#75867c}.empty div{font-size:42px}.empty b{display:block;color:#243b4b}.empty p{font-size:13px;margin-top:5px}.progressrow{padding:12px 14px;background:#fff;border:1px solid #d2ded5;border-radius:12px;margin-top:10px;display:grid;grid-template-columns:1fr 100px 42px;gap:12px;align-items:center}.progressrow b,.progressrow span{display:block;font-size:12px}.progressrow span{color:#809087;margin-top:3px}.progressrow strong{font-size:12px}.progressbar{height:8px}.failed{border-color:#e6aaaa}.activity{margin-top:15px;background:#fff;border:1.5px solid #20364a;border-radius:15px;padding:5px 16px}.activityrow{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ed}.activityrow:last-child{border:0}.activityrow div{flex:1;min-width:0}.activityrow b,.activityrow small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activityrow b{font-size:13px}.activityrow small{font-size:11px;color:#849087;margin-top:4px}.activityrow strong{font-size:12px}.muted{color:#78877f}footer{text-align:center;color:#8a978f;font-size:11px;padding:35px 0 10px}.bottomnav{display:none}.restore{min-height:100vh;display:grid;place-items:center;padding:25px;background:#e7f5e9}.restorebox{width:min(100%,460px);background:#fff;border:2px solid #20364a;border-radius:23px;padding:30px;box-shadow:6px 6px #20364a}.restorebox h1{font-size:35px;line-height:1.1}.restorebox h1 span{color:#70985d}.restorebox p,.restorebox small{color:#7a8b81;font-size:13px}.restorebox textarea{width:100%;min-height:110px;margin:10px 0}.full{width:100%}.error{color:#b44b4b!important}.toast{position:fixed;z-index:20;bottom:25px;right:25px;background:#20364a;color:#fff;padding:13px 18px;border-radius:12px;font-size:13px;box-shadow:3px 3px #a9d77c}.toast.bad{background:#a84242}.admin-shell{padding:30px;max-width:1200px;margin:auto}.admin-shell .stats{grid-template-columns:repeat(4,1fr)}@media(max-width:760px){.shell{display:block}.sidebar{display:none}.main{padding:20px 16px 100px}.topbar{margin-bottom:18px}.topbar h2{font-size:22px}.welcome{padding:23px 20px}.welcome-art{font-size:60px;padding:0}.stats{gap:9px;margin:20px 0}.stat{padding:12px}.stat b{font-size:20px}.stat span,.stat small{font-size:10px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filecard{padding:12px}.fileactions{gap:5px}.action{padding:6px 7px;font-size:10px}.section-head{align-items:flex-start}.section-head h3{font-size:17px}.upload-label{white-space:nowrap;padding:10px 12px}.toolbar{margin:15px 0}.toolbar input,.toolbar select{padding:10px;font-size:12px;max-width:45%}.bottomnav{display:flex;position:fixed;bottom:10px;left:12px;right:12px;z-index:10;background:#fff;border:1.5px solid #20364a;border-radius:17px;box-shadow:3px 3px #20364a;padding:7px;justify-content:space-around}.bottomnav button{border:0;background:transparent;color:#607268;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:19px;padding:4px 14px}.bottomnav button.active{color:#20364a}.bottomnav small{font:600 9px DM Sans}.progressrow{grid-template-columns:1fr 60px 34px;gap:7px}.admin-shell{padding:18px}.admin-shell .stats{grid-template-columns:repeat(2,1fr)}}.textbtn{border:0;background:none;color:#477bca;font:inherit;cursor:pointer;text-decoration:underline}.top-actions{display:flex;align-items:center;gap:12px}.profilecard,.panel{background:var(--surface,#fff);border:1.5px solid var(--line,#20364a);border-radius:17px;padding:18px;box-shadow:3px 3px 0 var(--line,#20364a);margin:18px 0}.profilecard{display:flex;align-items:center;gap:15px}.profilecard b,.profilecard small{display:block}.profilecard small{font-size:12px;color:var(--muted,#78877f);margin-top:5px}.profileavatar{width:52px;height:52px;border-radius:16px;background:#e8dcff;display:grid;place-items:center;font-size:22px;font-weight:800}.profilepanel{max-width:700px}.profilepanel textarea{width:100%;min-height:100px;margin:8px 0 12px}.profilepanel h3{margin:12px 0 5px}.profilepanel p{margin:0 0 12px}.dangerbtn{color:#b14e4e}.adminuser{flex-wrap:wrap}.adminuser .action{flex-shrink:0}:root{--surface:#fff;--line:#20364a;--muted:#78877f}html[data-theme=dark]{color-scheme:dark;--surface:#172433;--line:#9aadc0;--muted:#a8b5c2;background:#101923;color:#e8eef5}html[data-theme=dark] body,html[data-theme=dark] .main{background:#101923;color:#e8eef5}html[data-theme=dark] .sidebar,html[data-theme=dark] .restore{background:#172b2b}html[data-theme=dark] .welcome{background:#1b3434;border-color:var(--line)}html[data-theme=dark] .stat,html[data-theme=dark] .filecard,html[data-theme=dark] .activity,html[data-theme=dark] .profilecard,html[data-theme=dark] .panel,html[data-theme=dark] .storage-mini,html[data-theme=dark] .bottomnav{background:#172433;color:#e8eef5;border-color:var(--line)}html[data-theme=dark] .navitem,html[data-theme=dark] .action{color:#e8eef5}html[data-theme=dark] .navitem.active,html[data-theme=dark] .action,html[data-theme=dark] .toolbar input,html[data-theme=dark] .toolbar select,html[data-theme=dark] textarea,html[data-theme=dark] .restorebox{background:#223447;color:#e8eef5;border-color:#8298ac}html[data-theme=dark] .activityrow{border-color:#34485a}html[data-theme=dark] .welcome h1 span{color:#b5d77f}.file-grid{max-height:560px;overflow-y:auto;padding:4px 5px 12px;overscroll-behavior:contain;scrollbar-width:thin}.folderbar{margin:18px 0 10px;padding:14px;background:#fff;border:1.5px solid #20364a;border-radius:15px;box-shadow:3px 3px #20364a}.folderbar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.folderbar-head b{font-size:14px}.folderchips{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 3px;max-width:100%}.folderunit{display:inline-flex;align-items:center;flex-shrink:0;border:1px solid #c9d6cc;border-radius:10px;overflow:hidden}.folderchip{border:0;background:#f3f8f3;padding:8px 11px;font:600 12px inherit;color:#2c4352;white-space:nowrap;cursor:pointer}.folderchip.selected{background:#d8ee9a}.folderremove{border:0;border-left:1px solid #d4ddd5;background:#fff;color:#a34a4a;padding:7px 9px;font-size:16px;cursor:pointer}.boot{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:24px;background:#e7f5e9;text-align:center}.boot:before{content:"S";display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border:2px solid #20364a;border-radius:18px;background:#d8ee9a;box-shadow:4px 4px #20364a;font-size:30px;font-weight:900}.boot{display:block;padding-top:calc(50svh - 95px);font-size:26px;font-weight:800;color:#20364a}.boot span{display:block;font-size:13px;font-weight:500;color:#718477;margin-top:10px}html[data-theme=dark] .folderbar{background:#172433;color:#e8eef5;border-color:#9aadc0}html[data-theme=dark] .folderchip,html[data-theme=dark] .folderremove{background:#223447;color:#e8eef5;border-color:#526779}@media(max-width:760px){.file-grid{max-height:58vh}.folderbar{padding:12px}.folderbar-head .btn{padding:9px 11px}}html,body{min-height:100%;overscroll-behavior-y:auto}body{overflow-x:hidden;-webkit-text-size-adjust:100%}.main,.file-section,.folderbar,.file-grid,.activity{min-width:0}.file-grid{overflow-y:auto;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-gutter:stable}.folderchips{overflow-x:auto;overflow-y:hidden;touch-action:pan-x;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9caf9f transparent}.folderchips>*{flex-shrink:0}button,a,.upload-label{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{opacity:.6;cursor:wait}.fileactions a,.fileactions button{position:relative;z-index:1}.admin-file-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#0f1c277a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.folder-dialog{width:min(100%,420px);padding:25px;background:var(--surface,#fff);color:inherit;border:2px solid var(--line,#20364a);border-radius:22px;box-shadow:6px 6px 0 var(--line,#20364a);animation:dialog-in .16s ease-out}.folder-dialog .dialog-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e8f3d7;font-size:24px;margin-bottom:14px}.folder-dialog h3{margin:0 0 6px;font-size:21px}.folder-dialog p{margin:0 0 18px;color:var(--muted,#78877f);font-size:13px}.folder-dialog label{display:block;margin-bottom:7px;font-size:12px;font-weight:700}.folder-dialog input{width:100%;min-width:0;border:1.5px solid #aebfb3;border-radius:11px;padding:13px;background:var(--surface,#fff);color:inherit;font:inherit;outline-offset:2px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}html[data-theme=dark] .folder-dialog input{background:#223447;border-color:#526779;color:#e8eef5}html[data-theme=dark] .folder-dialog .dialog-icon{background:#2d463d}@media(max-width:760px){.main{padding-left:14px;padding-right:14px;min-width:0}.file-grid{max-height:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 2px 12px}.folderchips{max-width:calc(100vw - 60px);padding-bottom:8px}.folderbar{overflow:hidden}.folderbar-head{align-items:center}.admin-file-tools{width:100%;justify-content:flex-start}.section-head:has(.admin-file-tools){flex-direction:column;align-items:stretch}.admin-file-tools .btn{flex:1;text-align:center;white-space:normal}.admin-file-tools .upload-label{flex:1;text-align:center}.activityrow{flex-wrap:wrap}.adminuser .action{padding:8px 10px}.modal-backdrop{align-items:end;padding:12px}.folder-dialog{border-radius:20px;padding:22px;margin-bottom:8px}.dialog-actions .btn{flex:1}}@media(min-width:761px){.file-grid{max-height:min(68vh,850px)}}.bottomnav{pointer-events:auto;isolation:isolate;touch-action:manipulation}.bottomnav button{position:relative;z-index:1;min-width:48px;min-height:48px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.bottomnav button.active{background:#e7f5e9;border-radius:11px;color:#20364a}@media(max-width:760px){.main{padding-bottom:125px}.bottomnav{bottom:max(10px,env(safe-area-inset-bottom))}}.fileactions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.fileactions .action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.fileactions .download{border-color:#b8d7c5;color:#20364a;background:#e7f5e9}.file-tools-separated{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.tool-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:17px;background:var(--surface,#fff);border:1.5px solid var(--line,#20364a);border-radius:15px;box-shadow:3px 3px 0 var(--line,#20364a)}.tool-card b{font-size:14px}.tool-card p{margin:0 0 5px;color:var(--muted,#78877f);font-size:12px;line-height:1.5}.broadcast-banner{margin:0 0 16px;padding:15px 18px;background:#fff3c4;border:1.5px solid #9b7622;border-radius:14px;box-shadow:3px 3px #9b7622;color:#46340d}.broadcast-banner[hidden]{display:none}.broadcast-banner p{margin:6px 0;font-size:14px}.broadcast-banner small{font-size:11px;opacity:.75}.chat-section{max-width:950px}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.chat-heading h3{margin:0}.chat-heading p{margin:5px 0 0;color:var(--muted,#78877f);font-size:12px}.chat-messages{height:min(58vh,650px);min-height:300px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:14px;background:var(--surface,#fff);border:1.5px solid var(--line,#20364a);border-radius:16px;overscroll-behavior:contain}.chat-message{align-self:flex-start;max-width:min(85%,620px);padding:12px 14px;background:#f1f5f3;border:1px solid #cbd8d0;border-radius:14px 14px 14px 4px;color:#20364a;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#e5f3d5;border-color:#a9c58b;border-radius:14px 14px 4px}.chat-message.admin-message{border:1.5px solid #80a8e8;background:#edf4ff}.chat-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.chat-meta b{font-size:12px}.chat-meta small{margin-left:auto;font-size:10px;color:#718477}.chat-message p{margin:8px 0 3px;font-size:14px;white-space:pre-wrap}.verified-badge{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#1685ed;color:#fff;font-size:11px;font-weight:900;line-height:1}.chat-image{display:block;max-width:min(100%,360px);max-height:300px;object-fit:contain;border-radius:10px;margin-top:8px}.chat-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.chat-actions button,.reply-preview button,.chat-image-preview button{border:0;background:transparent;color:#5275a4;font:600 11px inherit;cursor:pointer;padding:2px}.pinned-label{font-size:10px;color:#9b6d15;margin-bottom:6px;font-weight:700}.quoted-message{display:flex;flex-direction:column;gap:3px;padding:7px 9px;margin-bottom:7px;background:#5a78961a;border-left:3px solid #6c91bf;border-radius:5px;font-size:11px}.quoted-message span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-compose{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.chat-compose textarea{flex:1;min-width:0;max-height:120px;resize:vertical;padding:12px;border:1.5px solid var(--line,#20364a);border-radius:12px;background:var(--surface,#fff);color:inherit;font:inherit}.chat-image-btn{width:44px;height:44px;display:grid;place-items:center;border:1.5px solid var(--line,#20364a);border-radius:12px;font-size:22px;cursor:pointer}.chat-image-btn input{display:none}.reply-preview{margin-top:10px;padding:9px 12px;background:#e8f1ff;border-radius:9px;font-size:12px;color:#315a88}.reply-preview[hidden]{display:none}.reply-preview button{float:right;font-size:17px}.chat-image-preview{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px}.chat-image-preview img{max-width:100px;max-height:80px;border-radius:8px}.notification-list{display:grid;gap:10px}.notification-card{padding:15px;background:var(--surface,#fff);border:1.5px solid var(--line,#20364a);border-radius:13px;box-shadow:2px 2px 0 var(--line,#20364a)}.notification-card small{color:var(--muted,#78877f);font-size:10px}.notification-card p{margin:7px 0 0;white-space:pre-wrap}html[data-theme=dark] .tool-card,html[data-theme=dark] .chat-messages,html[data-theme=dark] .notification-card{background:#172433;color:#e8eef5;border-color:#9aadc0}html[data-theme=dark] .chat-message{background:#223447;color:#e8eef5;border-color:#526779}html[data-theme=dark] .chat-message.mine{background:#294332;border-color:#62856c}html[data-theme=dark] .chat-message.admin-message{background:#203650;border-color:#5686c5}html[data-theme=dark] .chat-compose textarea{background:#223447;color:#e8eef5;border-color:#8298ac}html[data-theme=dark] .broadcast-banner{background:#453b20;color:#fff0bf;border-color:#9b7622}@media(max-width:650px){.file-tools-separated{grid-template-columns:1fr}.tool-card{padding:14px}.chat-messages{height:55vh;min-height:280px;padding:9px}.chat-message{max-width:94%;padding:10px}.chat-heading{align-items:flex-start}.chat-compose{gap:6px}.chat-compose .btn{padding:10px 12px}.chat-image-btn{width:42px;height:42px;flex:0 0 42px}}.chat-section{display:flex;flex-direction:column;min-height:0;width:100%;max-width:950px}.chat-messages{height:clamp(320px,58vh,650px);min-height:320px;max-height:650px;overflow-y:scroll;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:0 1 auto;min-width:0}.chat-message{flex:0 0 auto;min-width:0}.chat-compose{position:sticky;bottom:0;z-index:2;padding:8px 0;background:var(--page-bg,#f4f8f5)}.chat-compose textarea{min-height:44px}.chat-image-preview{flex-wrap:wrap}.activityrow>div{min-width:0;flex:1 1 180px;overflow-wrap:anywhere}.activityrow .action{flex:0 0 auto}.adminuser{gap:8px}.notification-card .action{margin-top:10px}.upload-toolbar{display:flex;justify-content:flex-end;margin:16px 0}@media(max-width:760px){.shell{min-width:0}.main{width:100%;padding:14px 12px 125px;overflow:visible}.topbar{gap:10px;align-items:center}.topbar h2{font-size:20px;overflow-wrap:anywhere}.welcome{gap:8px;padding:18px 14px}.welcome-art{font-size:42px;padding:0}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{flex-wrap:wrap;gap:10px}.admin-file-tools{display:flex;flex-wrap:wrap;width:100%}.admin-file-tools .btn{min-width:0;flex:1 1 130px}.activityrow{display:flex;align-items:center;gap:8px;padding:10px}.activityrow>div{flex:1 1 100%;min-width:0}.adminuser .action{flex:1 1 auto}.chat-section{margin-top:14px}.chat-heading{display:flex;flex-wrap:wrap;align-items:center}.chat-heading>div{flex:1 1 180px;min-width:0}.chat-heading .btn{flex:0 0 auto}.chat-messages{height:calc(100dvh - 310px);min-height:280px;max-height:none;padding:10px;overscroll-behavior:contain}.chat-message{max-width:94%;padding:10px}.chat-compose{position:sticky;bottom:calc(72px + env(safe-area-inset-bottom));gap:6px;padding:8px 0 5px}.chat-compose textarea{font-size:14px;max-height:100px}.chat-compose .btn{padding:10px 11px}.bottomnav{z-index:30}.notification-card{min-width:0;overflow-wrap:anywhere}.upload-toolbar{justify-content:stretch}.upload-toolbar .upload-label{width:100%;text-align:center}}@media(min-width:761px){.chat-section{max-height:none}.chat-messages{height:min(62vh,650px)}}.shell{grid-template-columns:245px minmax(0,1fr)}.main{min-width:0;overflow-x:clip}.file-section,.profilepanel,.activity,.notification-list,.chat-section{min-width:0;max-width:100%}.profileidentity{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:1;min-width:0}.profileidentity>div{min-width:0;overflow-wrap:anywhere}.profile-edit{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1.5px solid var(--line,#20364a);border-radius:11px;background:var(--surface,#fff);color:inherit;font-size:21px;line-height:1;cursor:pointer;box-shadow:2px 2px 0 var(--line,#20364a)}.profile-edit:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--line,#20364a)}.chat-section{width:100%;max-width:1000px;margin-left:auto;margin-right:auto}.chat-heading{min-width:0}.chat-heading>div{min-width:0;flex:1}.chat-heading p{line-height:1.5;overflow-wrap:anywhere}.chat-messages{width:100%;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:12px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}.chat-message{align-self:flex-start;width:fit-content;max-width:min(82%,620px);min-width:0;flex:0 0 auto}.chat-message.mine{align-self:flex-end;margin-left:auto}.chat-message.pending{opacity:.78}.chat-compose{position:static!important;bottom:auto!important;z-index:1;width:100%;min-width:0}.chat-compose textarea{width:100%;min-width:0}.chat-image-preview{min-width:0;overflow-wrap:anywhere}.notification-intro{margin:0 0 14px!important}.toast{z-index:1100;max-width:min(420px,calc(100vw - 28px))}@media(max-width:760px){.shell{display:block;width:100%;min-width:0}.main{width:100%;max-width:100%;padding:14px 12px calc(145px + env(safe-area-inset-bottom));overflow-x:clip}.topbar{align-items:center;gap:8px;min-width:0}.topbar>div:first-child{min-width:0}.topbar h2{font-size:clamp(18px,5vw,22px);overflow-wrap:anywhere}.welcome{width:100%;min-width:0;gap:10px;padding:18px 14px}.welcome>div:first-child{min-width:0}.welcome-art{font-size:40px;flex:0 0 auto}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0;overflow-wrap:anywhere}.file-section{margin-top:24px}.section-head{align-items:flex-start;flex-wrap:wrap}.section-head>div{min-width:0}.admin-file-tools{width:100%;min-width:0;display:flex;flex-wrap:wrap}.admin-file-tools .btn,.admin-file-tools .upload-label{min-width:0;flex:1 1 130px;white-space:normal;overflow-wrap:anywhere}.activity{padding:5px 10px;overflow:hidden}.activityrow{min-width:0;flex-wrap:wrap;gap:8px}.activityrow>div{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}.activityrow b,.activityrow small{white-space:normal;overflow-wrap:anywhere}.adminuser .action{flex:0 0 auto}.profilecard{align-items:center;padding:14px;min-width:0}.profileidentity{gap:8px}.profile-edit{width:40px;height:40px}.profilepanel{width:100%;padding:14px}.profilepanel textarea{width:100%;max-width:100%}.chat-section{margin-top:14px;max-width:none}.chat-heading{align-items:center;flex-wrap:wrap;gap:10px}.chat-heading>div{flex:1 1 170px;min-width:0}.chat-heading .btn{flex:0 0 auto;padding:10px 12px}.chat-messages{height:clamp(280px,54svh,560px);min-height:280px;max-height:none;padding:10px;gap:10px;overflow-y:auto;overscroll-behavior-y:contain}.chat-message{max-width:88%;padding:10px 11px}.chat-message p{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.chat-compose{display:flex;align-items:flex-end;gap:7px;margin-top:10px;padding:0;background:transparent}.chat-compose textarea{flex:1 1 auto;min-width:0;min-height:44px;max-height:110px;padding:11px;font-size:14px}.chat-compose .btn{flex:0 0 auto;padding:11px 12px;white-space:nowrap}.chat-image-btn{width:44px;height:44px;flex:0 0 44px}.chat-image-preview{margin-top:8px}.bottomnav{z-index:100;left:10px;right:10px;bottom:max(9px,env(safe-area-inset-bottom));padding:6px 5px;gap:2px}.bottomnav button{flex:1 1 0;min-width:0;min-height:46px;padding:4px 2px;font-size:18px}.bottomnav small{font-size:9px}.toast{left:14px;right:14px;bottom:calc(82px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 28px);margin:0 auto;text-align:center}.notification-card{min-width:0;overflow-wrap:anywhere}.notification-card p{overflow-wrap:anywhere;line-height:1.5}.upload-toolbar{justify-content:stretch}.upload-toolbar .upload-label{width:100%;text-align:center}.progressrow{grid-template-columns:minmax(0,1fr) 52px 34px;gap:7px;min-width:0}.progressrow>div:first-child{min-width:0;overflow-wrap:anywhere}.restorebox{width:min(100%,460px);padding:22px}}@media(max-width:380px){.main{padding-left:10px;padding-right:10px}.chat-messages{padding:8px}.chat-message{max-width:92%}.chat-compose{gap:5px}.chat-compose .btn{padding:10px}.chat-image-btn{width:40px;height:40px;flex-basis:40px}.bottomnav button{font-size:17px}.bottomnav small{font-size:8px}}@media(min-width:761px){.sidebar{position:sticky;top:0;height:100vh;max-height:100vh;overflow-y:auto}.main{padding-bottom:35px}.chat-messages{height:min(62vh,650px);min-height:360px}.chat-compose{margin-top:12px}}
