:root{color:#17212b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100vh;margin:0}button,input,select{letter-spacing:0}.auth-page,.vault-shell{background:linear-gradient(120deg,#1f5e731a,#0000 32%),linear-gradient(330deg,#84562a14,#0000 30%),#f5f7f6;min-height:100vh}.auth-page{place-items:center;padding:24px;display:grid}.auth-panel{background:#fff;border:1px solid #dce4e1;border-radius:8px;width:min(460px,100%);padding:26px;box-shadow:0 28px 80px #1624301f}.auth-brand,.logo-row,.vault-toolbar,.toolbar-actions,.name-cell,.row-actions{align-items:center;display:flex}.auth-brand{gap:14px;margin-bottom:24px}.auth-brand svg,.logo-row>span,.detail-icon{color:#fff;background:#173f49;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.auth-brand svg{width:54px;height:54px;padding:12px}h1,h2,h3,p{margin:0}h1,h2,h3{color:#17212b;letter-spacing:0}p,span,dd,dt,em{letter-spacing:0}.auth-brand h1{font-size:25px;line-height:1.12}.auth-brand p,.logo-row p,.detail-panel p,.empty,.detail-empty p{color:#687583}.auth-form,.user-form{gap:12px;display:grid}.auth-form h2{font-size:20px}input,select{color:#17212b;min-height:42px;font:inherit;background:#fbfcfc;border:1px solid #dce4e1;border-radius:7px;padding:0 12px}input:focus,select:focus{border-color:#2d7181;outline:0;box-shadow:0 0 0 3px #2d718124}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}.auth-form button,.upload-button,.folder-form button,.user-form button,.share-panel form button,.danger-button,.side-nav button,.logout,.close-detail{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;font-weight:800;display:inline-flex}.auth-form button,.upload-button,.user-form button,.share-panel form button{color:#fff;background:#173f49}.notice{color:#6e5528;background:#fff8ea;border:1px solid #d7c29d;border-radius:7px;margin-top:14px;padding:11px 12px;font-weight:800}.vault-shell{grid-template-columns:260px 1fr;display:grid}.vault-sidebar{background:#ffffffdb;border-right:1px solid #dce4e1;flex-direction:column;gap:22px;padding:22px;display:flex}.logo-row{gap:12px}.logo-row>span{width:46px;height:46px}.logo-row h1{font-size:22px;line-height:1.1}.side-nav{gap:8px;display:grid}.side-nav button,.logout{color:#50606f;background:0 0;justify-content:flex-start;width:100%;padding:0 12px}.side-nav button.active,.side-nav button:hover,.logout:hover{color:#173f49;background:#eef4f3}.folder-tree{border-top:1px solid #edf2f0;border-bottom:1px solid #edf2f0;gap:7px;padding:14px 0;display:grid}.folder-tree>span{color:#687583;text-transform:uppercase;font-size:12px;font-weight:850}.folder-tree button{color:#50606f;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;min-height:34px;padding:0 9px;display:flex}.folder-tree button.current{color:#9a661f;background:#fff7df;font-weight:850}.logout{margin-top:auto}.vault-main{min-width:0;padding:22px}.vault-toolbar{justify-content:space-between;gap:12px;margin-bottom:16px}.search{color:#687583;background:#ffffffdb;border:1px solid #dce4e1;border-radius:8px;align-items:center;gap:9px;width:min(470px,100%);padding:0 12px;display:flex}.search input{background:0 0;border:0;width:100%;min-height:44px;padding:0}.search input:focus{box-shadow:none}.toolbar-actions{gap:10px}.folder-form{grid-template-columns:minmax(150px,210px) 112px;gap:8px;display:grid}.folder-form button{color:#173f49;background:#fff;border-color:#dce4e1}.upload-button{padding:0 14px}.app-notice{color:#6e5528;background:#fff8ea;border:1px solid #d7c29d;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;margin-bottom:14px;padding:0 12px;font-weight:800;display:flex}.app-notice button{color:#6e5528;cursor:pointer;background:#6e55281a;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.path-row{color:#687583;align-items:center;gap:4px;min-height:42px;margin-bottom:12px;display:flex;overflow-x:auto}.path-part{flex:none;align-items:center;gap:4px;display:inline-flex}.path-part svg{color:#8a96a3}.path-row button{color:#173f49;cursor:pointer;background:#fff;border:1px solid #dce4e1;border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:0 10px;font-weight:750;display:inline-flex}.file-layout{grid-template-columns:minmax(0,1fr) 320px;gap:16px;display:grid}.folder-browser,.detail-panel,.users-view{background:#ffffffe6;border:1px solid #dce4e1;border-radius:8px;box-shadow:0 20px 54px #16243014}.folder-browser{min-width:0;overflow:hidden}.manager-header{background:#fbfcfc;border-bottom:1px solid #edf2f0;justify-content:space-between;align-items:start;gap:14px;padding:16px 18px;display:flex}.manager-header h2{font-size:24px;line-height:1.14}.manager-header p{color:#687583;margin-top:4px}.manager-header>span{color:#2d7181;white-space:nowrap;background:#eef4f3;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.manager-list{width:100%;overflow-x:auto}.manager-row{color:#50606f;border-bottom:1px solid #edf2f0;grid-template-columns:minmax(190px,1.8fr) 82px 118px 72px 122px 64px 52px;align-items:center;gap:10px;min-width:720px;min-height:48px;padding:0 12px;display:grid}.manager-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.manager-head{color:#687583;text-transform:uppercase;background:#f6f8f8;min-height:38px;font-size:12px;font-weight:850}.manager-row:not(.manager-head):hover{background:#f3f7f6}.manager-row.selected{background:#eaf3f4;box-shadow:inset 3px 0 #2d7181}.manager-name{color:#17212b;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;min-width:0;min-height:48px;padding:0;display:flex}.manager-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.manager-icon{border-radius:7px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.manager-icon.folder{color:#b57924;background:#fff2c8}.manager-icon.file{color:#2d7181;background:#eef4f3}.manager-actions{justify-content:flex-end;display:flex}.manager-actions button,.manager-actions a{color:#173f49;cursor:pointer;background:#fff;border:1px solid #dce4e1;border-radius:7px;justify-content:center;align-items:center;min-width:38px;min-height:34px;padding:0 10px;font-weight:850;text-decoration:none;display:inline-flex}.manager-actions button:hover,.manager-actions a:hover{background:#eef4f3}.empty{text-align:center;padding:28px}.folder-empty{color:#2d7181;align-content:center;place-items:center;gap:8px;min-height:260px;display:grid}.folder-empty strong{color:#17212b}.folder-empty span{color:#687583}.detail-panel{min-height:380px;padding:20px;position:relative}.close-detail{color:#50606f;background:#fff;border-color:#dce4e1;width:36px;min-height:36px;position:absolute;top:12px;right:12px}.detail-icon{width:56px;height:56px;margin-bottom:16px}.detail-panel h2{overflow-wrap:anywhere;font-size:24px;line-height:1.15}dl{gap:10px;margin:18px 0;display:grid}dl div{border-bottom:1px solid #edf2f0;justify-content:space-between;gap:12px;padding-bottom:9px;display:flex}dt{color:#687583}dd{color:#17212b;margin:0;font-weight:800}.danger-button{color:#a9464e;background:#fff2f2;border-color:#f0c9ca;width:100%}.share-panel{gap:12px;margin-top:20px;display:grid}.share-panel h3{font-size:17px}.share-panel form{grid-template-columns:1fr 1fr 42px;gap:8px;display:grid}.share-list{gap:8px;display:grid}.share-list div{border:1px solid #edf2f0;border-radius:7px;grid-template-columns:1fr auto 32px;align-items:center;gap:8px;min-height:38px;padding:0 8px;display:grid}.share-list em{color:#2d7181;font-style:normal;font-weight:800}.share-list button{color:#a9464e;cursor:pointer;background:0 0;border:0}.detail-empty{text-align:center;color:#2d7181;align-content:center;place-items:center;gap:10px;height:100%;min-height:320px;display:grid}.users-view{gap:16px;padding:16px;display:grid}.user-form{grid-template-columns:repeat(5,minmax(0,1fr))}.user-list{gap:10px;display:grid}.user-list article{border:1px solid #edf2f0;border-radius:7px;grid-template-columns:1fr 1fr 90px;align-items:center;gap:12px;min-height:58px;padding:0 12px;display:grid}.user-list strong{color:#17212b}.user-list span{color:#687583}.user-list em{color:#2d7181;font-style:normal;font-weight:800}@media (width<=1080px){.vault-shell{grid-template-columns:1fr}.vault-sidebar{border-bottom:1px solid #dce4e1;border-right:0}.folder-tree{display:none}.file-layout{grid-template-columns:1fr}}@media (width<=760px){.vault-main,.vault-sidebar{padding:16px}.vault-toolbar,.toolbar-actions{flex-direction:column;align-items:stretch}.folder-form,.user-form,.share-panel form{grid-template-columns:1fr}.manager-header{flex-direction:column;align-items:stretch}.manager-header h2{font-size:23px}.folder-browser,.detail-panel,.users-view{box-shadow:0 12px 34px #16243012}.path-row button,.upload-button,.folder-form button{min-height:46px}.manager-list{min-width:0;overflow-x:hidden}.manager-head{display:none}.manager-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;min-width:0;min-height:74px;padding:10px 12px}.manager-row>span:nth-child(2),.manager-row>span:nth-child(3),.manager-row>span:nth-child(5),.manager-row>span:nth-child(6){display:none}.manager-row>span:nth-child(4){color:#687583;grid-column:1;padding-left:42px;font-size:13px}.manager-name{min-height:36px}.manager-actions{grid-area:1/2/span 2;align-self:center}.manager-actions button,.manager-actions a{min-width:54px;min-height:42px}.user-list article{grid-template-columns:1fr;padding:12px}}.mails-view{gap:16px;display:grid}.mail-metrics-bar{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.metric-card{background:#ffffffe6;border:1px solid #dce4e1;border-radius:8px;align-items:center;gap:14px;padding:14px 16px;display:flex;box-shadow:0 4px 16px #1624300a}.metric-card strong{color:#17212b;font-size:18px;line-height:1.2;display:block}.metric-card span{color:#687583;font-size:12px}.domain-tabs-row{align-items:center;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.domain-tab{color:#50606f;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dce4e1;border-radius:7px;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-size:13px;font-weight:750;transition:all .15s;display:inline-flex}.domain-tab em{color:#173f49;background:#edf2f0;border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal;font-weight:800}.domain-tab:hover{color:#173f49;background:#f3f7f6}.domain-tab.active{color:#fff;background:#173f49;border-color:#173f49}.domain-tab.active em{color:#fff;background:#fff3}.domain-action-banner{background:linear-gradient(135deg,#eef7f9 0%,#fff 100%);border:1px solid #cbe0e5;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.domain-action-banner h3{color:#173f49;font-size:17px}.domain-action-banner p{color:#50606f;margin-top:2px;font-size:13px}.banner-actions{align-items:center;gap:8px;display:flex}.domain-dl-btn{color:#fff;cursor:pointer;background:#2d7181;border:1px solid #2d7181;border-radius:6px;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.domain-dl-btn.zip{color:#2d7181;background:#fff}.domain-dl-btn:hover{opacity:.9}.mail-head{grid-template-columns:minmax(190px,2fr) 100px 85px 85px 1fr 220px}.mail-row{cursor:pointer;grid-template-columns:minmax(190px,2fr) 100px 85px 85px 1fr 220px}.mail-icon{color:#1f5e73;background:#eef4f7}.domain-badge{color:#2d7181;background:#edf2f0;border-radius:4px;padding:3px 8px;font-size:11px;font-weight:800}.mail-folders-preview{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.folder-pill{color:#92641e;white-space:nowrap;background:#fdf6e7;border:1px solid #f2e2be;border-radius:4px;padding:2px 6px;font-size:10px;font-style:normal;font-weight:750}.mail-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.btn-backup-dl{color:#173f49;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dce4e1;border-radius:5px;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:11px;font-weight:800;text-decoration:none;display:inline-flex}.btn-backup-dl.outlook{color:#0078d4;background:#eef7ff;border-color:#badcfc}.btn-backup-dl.outlook:hover{color:#fff;background:#0078d4;border-color:#0078d4}.btn-backup-dl.zip{color:#687583}.btn-backup-dl:hover{color:#2d7181;background:#eef4f3;border-color:#2d7181}.mailbox-folders-list{background:#fbfcfc;border:1px solid #edf2f0;border-radius:6px;gap:6px;max-height:180px;padding:8px;display:grid;overflow-y:auto}.mailbox-folder-item{color:#17212b;border-radius:4px;align-items:center;gap:8px;padding:4px 6px;font-size:13px;display:flex}.mailbox-folder-item:hover{background:#fff}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:1s linear infinite spin}.twofa-form{gap:16px}.twofa-header h2{color:#173f49;margin-bottom:4px;font-size:19px}.twofa-header p{color:#50606f;font-size:13px;line-height:1.4}.twofa-input-wrap{justify-content:center;margin:6px 0;display:flex}.twofa-code-box{text-align:center!important;letter-spacing:12px!important;color:#173f49!important;background:#f4f8f7!important;border:2px solid #2d7181!important;border-radius:8px!important;width:100%!important;padding:12px 14px!important;font-family:monospace!important;font-size:28px!important;font-weight:800!important}.twofa-code-box:focus{background:#fff!important;outline:none!important;box-shadow:0 0 0 3px #2d718140!important}.twofa-meta{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.twofa-timer{color:#50606f}.twofa-timer strong{color:#173f49}.twofa-expired{color:#c93b3b;font-weight:700}.btn-link-resend{color:#2d7181;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:700;text-decoration:underline}.btn-link-resend:disabled{color:#a0aec0;cursor:not-allowed;text-decoration:none}.btn-back-auth{color:#687583;cursor:pointer;background:0 0;border:none;margin-top:4px;padding:6px 0;font-size:12px}.btn-back-auth:hover{color:#173f49;text-decoration:underline}
