@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f7f9ff;--panel:#fff;--border:#e4eaf4;--text:#1e2531;--muted:#657080;--primary:#1a73e8;--primary-dark:#095ab9;--blue-light:#e8f0fe;--green:#07834b;--purple:#9334e8;--shadow:0 1px 4px rgba(17,36,68,.05),0 5px 13px rgba(17,36,68,.025);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.i{display:inline-block;vertical-align:middle;flex:none}h1,h2,h3,p{margin-top:0}h1{font-weight:750;letter-spacing:-.038em;font-size:32px;line-height:1.23;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.018em;font-weight:700}h3{font-size:16px}p{line-height:1.65}.muted{color:var(--muted)}.hint{font-size:12px;line-height:1.55;color:#7b8592;margin:3px 0 0}strong{font-weight:700}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-mark{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;color:white;background:#1a73e8;box-shadow:0 3px 7px rgba(26,115,232,.15);flex-shrink:0;font-size:28px}.brand strong{display:block;font-size:20px;line-height:1.2;letter-spacing:-.8px}.brand small{display:block;color:#707989;font-weight:500;font-size:12px;letter-spacing:.02em}.brand-center{justify-content:center}.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex:0 0 252px;height:100vh;position:sticky;top:0;background:white;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:26px 15px 18px;z-index:30}.sidebar .brand{margin:3px 11px 36px}.sidebar-label{font-size:10px;letter-spacing:.12em;color:#96a0ae;font-weight:800;padding:0 18px;margin-bottom:12px}.sidebar-label.second{margin-top:22px}.nav-links{display:flex;flex-direction:column;gap:4px}.nav-link{border:0;width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;color:#5e6778;border-radius:12px;font-weight:600;font-size:13px;text-align:left;background:transparent;transition:background .2s,color .2s}.nav-link .i{color:#748294}.nav-link:hover{background:#f4f7fc;color:var(--text)}.nav-link.active{background:var(--blue-light);color:#0c5fc8}.nav-link.active .i{color:#0c5fc8}.sidebar-bottom{margin-top:auto}.security-note{background:#f3f7ff;border:1px solid #e7edfa;border-radius:14px;display:flex;gap:10px;padding:13px 10px;margin-bottom:15px;color:#1b65be}.security-note strong{display:block;font-size:12px}.security-note small{display:block;font-size:10px;color:#718195;margin-top:2px}.logout-link{cursor:pointer}.workspace{flex:1;min-width:0}.topbar{height:81px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:24px;padding:0 38px;position:sticky;top:0;z-index:15;backdrop-filter:blur(14px)}.topbar-title{min-width:140px;display:flex;flex-direction:column}.topbar-title strong{font-size:16px;letter-spacing:-.02em}.topbar-eyebrow{font-size:9px;font-weight:750;color:#8590a0;letter-spacing:.11em}.search-form{height:44px;border-radius:40px;background:#f2f5fa;display:flex;align-items:center;gap:10px;padding:0 12px 0 17px;flex:1;max-width:610px;margin:0 auto;color:#858f9c}.search-form:focus-within{outline:2px solid #c4d9ff;background:white}.search-form input{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:13px;color:var(--text)}.search-form input::placeholder{color:#8893a2}.search-submit{border:0;background:#e5ecf8;border-radius:50%;width:28px;height:28px;color:var(--primary)}.top-profile{display:flex;gap:10px;align-items:center;min-width:0}.avatar{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#2669bf;background:linear-gradient(150deg,#dfeaff,#c4dcff);font-size:13px;font-weight:750;flex-shrink:0}.top-profile-name{min-width:0}.top-profile-name strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.top-profile-name small{font-size:10px;color:#818b9b}.main-content{max-width:1410px;margin:0 auto;padding:36px 38px 24px;min-height:calc(100vh - 81px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading p{margin:0;font-size:13px}.page-heading .btn{white-space:nowrap}.breadcrumb{font-size:12px;color:#738094;margin-bottom:12px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.breadcrumb a:hover{color:var(--primary)}.breadcrumb span{color:#b8c2d1}.wave{color:#f3b63f;font-size:24px}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;font-weight:700;font-size:13px;border-radius:999px;line-height:1.2;text-align:center;transition:background .18s,transform .18s,box-shadow .18s}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #a6c8ff;outline-offset:2px}.btn-primary,.btn-download{background:var(--primary);color:white;box-shadow:0 3px 7px rgba(26,115,232,.15)}.btn-primary:hover,.btn-download:hover{background:var(--primary-dark)}.btn-soft{background:#e9f0fd;color:#0d60c1}.btn-soft:hover{background:#d9e8ff}.btn-danger{background:#fff0f0;border-color:#fedada;color:#bd3333}.btn-danger:hover{background:#ffe2e2}.btn-wide{width:100%;min-height:46px}.status-banner{min-height:49px;background:#eef3fa;border:1px solid #e6ebf3;border-radius:15px;display:flex;align-items:center;gap:10px;padding:12px 18px;color:#465369;font-size:13px;margin-bottom:23px;flex-wrap:wrap}.status-banner.slim{background:#f2f8ff;margin-bottom:21px}.status-dot{width:9px;height:9px;background:#0f9d58;border-radius:50%;display:inline-block}.banner-sep{color:#a8b2c2}.status-end{margin-left:auto;color:#087444;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.storage-card{background:#fff;border:1px solid #e7edf5;box-shadow:var(--shadow);border-radius:21px;padding:26px 27px 21px;margin-bottom:22px}.storage-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.storage-title{display:flex;align-items:center;gap:9px;font-size:17px;letter-spacing:-.02em}.storage-cloud{color:var(--primary);display:inline-flex;align-items:center}.pill{border-radius:999px;background:#dce6ff;color:#0a5bc1;padding:5px 12px;font-size:11px;font-weight:750;white-space:nowrap}.storage-number{display:flex;align-items:baseline;gap:8px;margin:21px 0 13px;flex-wrap:wrap}.storage-number strong{font-size:28px;font-weight:750;letter-spacing:-.05em}.storage-number span{font-size:15px;color:var(--muted)}.storage-bar{height:10px;border-radius:99px;background:#e6ebf3;overflow:hidden;display:flex;max-width:650px}.storage-bar i{height:100%;display:block}.storage-bar i:first-child{background:#145fbf;width:59%}.storage-bar i:nth-child(2){background:#a23ae9;width:18%}.storage-bar i:nth-child(3){background:#048048;width:8%}.storage-legend{display:flex;flex-wrap:wrap;gap:15px;margin:16px 0 12px;color:#586579;font-size:12px;font-weight:600}.storage-legend>span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%}.blue-dot{background:#145fbf}.purple-dot{background:#a23ae9}.green-dot{background:#048048}.storage-card .hint{margin:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:30px}.metric{display:flex;flex-direction:column;gap:6px;padding:18px 18px;background:#fff;border:1px solid var(--border);border-radius:17px;box-shadow:var(--shadow)}.metric span:not(.metric-icon){font-size:12px;color:#758194}.metric strong{font-size:27px;line-height:1.15;letter-spacing:-.04em}.metric-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;margin-bottom:5px}.metric-icon.blue,.file-icon.blue{color:#0065d1;background:#dce8ff}.metric-icon.purple,.file-icon.purple{color:#8724d5;background:#f0deff}.metric-icon.green,.file-icon.green{color:#00874e;background:#d4fbe5}.metric-icon.amber{color:#a46b0a;background:#fff3d6}.file-icon.slate{color:#5f6c7e;background:#e8edf5}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.section-title h2{margin:0}.section-title>a{font-weight:650;color:var(--primary);display:flex;align-items:center;gap:4px}.section-space{margin-top:32px}.section-count{font-size:12px;color:#7b8696}.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.folder-card{background:#fff;border:1px solid #eaf0f8;border-radius:16px;display:flex;align-items:center;gap:13px;min-height:76px;padding:15px 17px;box-shadow:var(--shadow);transition:transform .17s,box-shadow .17s,border-color .17s}.folder-card:hover,.project-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(11,40,88,.1);border-color:#c4d9ff}.folder-icon{color:#0464c9;display:flex;flex-shrink:0}.folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;flex:1;min-width:0}.folder-card>.i{color:#aeb8c7}.mini-count{font-size:11px;color:#8a95a5;white-space:nowrap}.file-list{display:flex;flex-direction:column;gap:12px}.file-card{border-radius:17px;background:#fff;border:1px solid #e9eef7;box-shadow:var(--shadow);padding:19px 20px;position:relative;transition:box-shadow .2s}.file-card:hover{box-shadow:0 6px 20px rgba(20,48,94,.065)}.file-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.file-icon{width:45px;height:45px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.file-info{min-width:0;flex:1}.file-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;margin:1px 0 6px}.file-pills{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.file-muted{color:#768193;font-size:12px}.file-muted.desc{white-space:normal;margin-top:7px}.badge{border-radius:6px;padding:4px 8px;display:inline-block;font-size:10px;font-weight:700;line-height:1.3;white-space:nowrap}.badge-green{color:#027548;background:#d0fae3}.badge-blue{color:#1259a8;background:#e0ebff}.badge-purple{color:#7d2ac7;background:#eadcff}.badge-muted{color:#5f6b7a;background:#e9edf3}.status-planning{color:#915f10;background:#fff0cb}.status-in_progress{color:#0067bd;background:#dcecff}.status-review{color:#862ad7;background:#edddff}.status-delivered{color:#087747;background:#d7f9e7}.status-archived{color:#6c7788;background:#eaeef5}.file-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:13px;padding-left:57px}.file-meta{color:#87909f;display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px;min-width:0}.file-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.file-actions .btn-download{min-height:37px;padding:9px 15px}.icon-btn{color:#8692a1;border:0;background:transparent;border-radius:50%;height:35px;min-width:35px;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#edf3fd;color:var(--primary)}.icon-btn.starred{color:#9f37f1}.icon-btn.starred svg{fill:#f2e0ff}.inline-form{display:inline-flex}.file-menu{position:relative}.file-menu>summary{list-style:none;cursor:pointer}.file-menu>summary::-webkit-details-marker{display:none}.file-menu-panel{width:min(310px,calc(100vw - 45px));position:absolute;right:0;top:38px;z-index:10;background:#fff;box-shadow:0 14px 35px rgba(22,44,78,.19);border:1px solid var(--border);padding:13px;border-radius:14px;display:flex;flex-direction:column;gap:8px}.file-menu-panel .small-stack{gap:9px;padding-bottom:10px;border-bottom:1px solid var(--border)}.text-action{border:0;background:transparent;display:flex;align-items:center;gap:8px;width:100%;padding:10px;border-radius:8px;text-align:left;color:#506278;font-size:12px;font-weight:600}.text-action:hover{background:#f4f7fc}.text-action.danger{color:#c63434}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{display:flex;flex-direction:column;background:white;border:1px solid var(--border);border-radius:19px;padding:21px;min-height:212px;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s,border-color .18s}.project-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-folder{width:50px;height:50px;background:#e5eeff;color:#0065c9;border-radius:13px;display:grid;place-items:center}.project-card h3{font-size:17px;margin:17px 0 7px;letter-spacing:-.02em}.project-card>p{font-size:12px;color:#7b8698;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1}.project-card-footer{display:flex;gap:13px;align-items:center;font-size:11px;color:#8b95a2;border-top:1px solid #eff3f8;padding-top:15px;margin-top:15px}.project-card-footer>span{display:flex;align-items:center;gap:4px}.project-arrow{margin-left:auto;color:var(--primary)}.panel{background:white;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:20px}.form-panel>summary{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:750;font-size:14px;list-style:none}.form-panel>summary::-webkit-details-marker{display:none}.form-panel>summary .i{color:var(--primary)}.form-panel[open]>summary{padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #edf1f8}.form-panel{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.form-grid>.full{grid-column:1/-1}.form-grid>.btn{justify-self:start}.form-grid-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.form-grid-actions .hint{flex:1}.stack{display:flex;flex-direction:column;gap:12px}.stack label,.form-grid label,.login-form label{font-size:12px;font-weight:650;color:#4b5667;display:flex;flex-direction:column;gap:7px}input:not([type=checkbox],[type=file]),textarea,select{width:100%;border:1px solid #e0e6f0;border-radius:10px;background:#f6f8fc;outline:0;padding:12px 13px;color:#253247;min-height:43px}input:focus,textarea:focus,select:focus{border-color:#77abf9;box-shadow:0 0 0 3px #e6effe;background:#fff}textarea{resize:vertical}input:disabled{background:#e8edf5;color:#8b95a5}label.checkbox-line{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:500;font-size:12px;line-height:1.55;cursor:pointer}.checkbox-line input{accent-color:var(--primary);margin:3px 0 0;width:16px;height:16px;flex:none}.checkbox-line small{display:block;color:#8993a1}.admin-action-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:15px}.stacked-panels .form-panel{margin-bottom:12px}.drop-zone{border:2px dashed #d0ddf1;border-radius:15px;background:#f2f6fc;min-height:183px;display:flex!important;align-items:center;justify-content:center;gap:6px!important;color:var(--primary)!important;text-align:center;padding:18px;cursor:pointer}.drop-zone:hover,.drop-zone.dragover{background:#e7f0ff;border-color:#6da6f9}.drop-zone strong{color:#23344c;font-size:13px}.drop-zone span,.drop-zone small{font-size:11px;color:#7a89a0}.drop-zone input[type=file]{width:100%;max-width:280px;background:#fff;border:1px solid #e3ebf6;border-radius:7px;padding:6px;color:#586b82;font-size:11px}.client-checklist{max-height:190px;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:3px}.upload-progress{background:#f2f6fd;border-radius:11px;padding:10px 12px}.progress-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.progress-track{height:7px;border-radius:20px;background:#dbe4f2;overflow:hidden}.progress-track>span{display:block;height:100%;width:0;background:var(--primary);border-radius:20px}.small-empty{background:#f0f4fb;border-radius:12px;padding:15px;color:#93a0b1;font-size:12px}.minor-panel{margin-top:28px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:190px;background:#fff;border:1px dashed #dce5f1;border-radius:18px;text-align:center;padding:27px;margin-top:7px}.empty-state strong{font-size:15px}.empty-state p{font-size:12px;color:#8e99a8;margin:6px 0 0;max-width:380px}.empty-icon{width:54px;height:54px;border-radius:16px;background:#e9f1ff;color:var(--primary);display:grid;place-items:center;margin-bottom:14px}.client-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.client-card{border:1px solid var(--border);background:white;border-radius:17px;padding:19px;box-shadow:var(--shadow);min-width:0}.client-row{display:flex;align-items:center;gap:10px}.client-identity{min-width:0;flex:1}.client-identity strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis}.client-identity span{display:block;color:#8792a1;font-size:11px;overflow:hidden;text-overflow:ellipsis}.muted-avatar{background:#eaefff;color:#3567af}.client-meta{border-top:1px solid #f0f3f8;margin-top:13px;padding-top:11px;font-size:11px;color:#8894a3;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.client-controls{margin-top:12px}.client-controls>summary{cursor:pointer;color:var(--primary);font-size:12px;font-weight:700;list-style:none;display:flex;align-items:center;gap:5px}.client-controls[open]>summary{margin-bottom:16px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.filter-search{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:15px;padding:8px 10px 8px 15px;margin:0 0 18px;color:#8a93a4}.filter-search input{border:0;outline:0;background:transparent;flex:1;min-width:0;font-size:13px;box-shadow:none}.activity-list{padding:7px 22px}.activity-item{display:flex;align-items:center;gap:13px;padding:16px 4px;border-bottom:1px solid #eff2f7}.activity-item:last-child{border-bottom:0}.activity-icon{background:#e6effe;color:#0d63c8;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;flex:none}.activity-item>div{flex:1;min-width:0}.activity-item strong{font-size:13px}.activity-item p{margin:2px 0 0;font-size:11px;color:#8d98a6;overflow:hidden;text-overflow:ellipsis}.activity-time{font-size:10px;color:#94a0af;text-align:right}.settings-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:18px;align-items:start}.account-panel{text-align:center;padding:38px 15px}.big-avatar{width:75px;height:75px;font-size:25px;margin:0 auto 14px}.account-panel h2{margin:0 0 3px}.account-panel p{color:#8792a1;font-size:12px;margin:4px auto 13px;word-break:break-all}.account-panel .hint{margin-top:20px}.settings-grid .form-panel h2{margin-top:0}.settings-grid hr{height:1px;border:0;background:#e9eef5;width:100%;margin:8px 0}.version-panel{padding:8px 18px}.version-entry{padding:20px 2px;border-bottom:1px solid #e8edf4;display:flex;justify-content:space-between;align-items:center;gap:20px}.version-entry:last-child{border-bottom:0}.version-entry>div:first-child{display:flex;flex-direction:column;gap:7px;min-width:0}.version-entry strong{font-size:14px}.version-entry small{font-size:11px;color:#8e99a6;overflow-wrap:anywhere}.version-entry code{font-size:10px}.version-actions{display:flex;gap:8px;flex-wrap:wrap}.app-footer{color:#a3acba;font-size:10px;display:flex;justify-content:space-between;border-top:1px solid #e9edf4;margin:45px 0 5px;padding-top:20px}.alert{padding:13px 16px;border-radius:12px;margin-bottom:16px;font-size:12px;font-weight:600}.alert.success{background:#e2f9ed;border:1px solid #b7eacb;color:#066d42}.alert.error{background:#fff0f0;border:1px solid #fedbdb;color:#ae2828}.mobile-bottom-nav,.mobile-menu-btn,.mobile-overlay{display:none}
/* Sign in */
.login-body{background:#f7f9ff}.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.login-hero{position:relative;background:linear-gradient(145deg,#0a5cb9 0%,#1371da 60%,#318afa 100%);display:flex;flex-direction:column;color:#fff;padding:47px clamp(32px,5vw,100px);overflow:hidden}.login-hero:before{content:'';width:440px;height:440px;border:1px solid rgba(255,255,255,.17);border-radius:50%;position:absolute;top:45%;left:55%;box-shadow:0 0 0 80px rgba(255,255,255,.045),0 0 0 160px rgba(255,255,255,.03)}.login-hero .brand-mark{background:#fff;color:#0c65c6}.login-hero .brand strong{font-size:24px}.login-hero .brand small{color:#d9eaff}.login-hero-content{position:relative;margin:auto 0;max-width:520px}.login-hero-content .eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#d9ebff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.17);padding:8px 12px;border-radius:30px;margin-bottom:26px}.login-hero h1{font-size:clamp(36px,3.6vw,59px);line-height:1.16;letter-spacing:-.055em;margin-bottom:22px}.login-hero h1 em{color:#cde4ff;font-style:normal}.login-hero-content>p{font-size:16px;color:#d7e9ff;max-width:460px;line-height:1.85;margin-bottom:36px}.hero-feature{display:flex;align-items:center;gap:12px;margin-bottom:15px;font-size:13px;font-weight:600;color:#e7f2ff}.hero-feature .i{color:#c4e3ff}.login-hero-bottom{position:relative;font-size:11px;color:#c6e2ff}.login-main{padding:38px 30px;display:flex;align-items:center;justify-content:center;flex-direction:column}.login-card{background:#fff;width:min(100%,490px);border:1px solid #e9eef7;border-radius:27px;padding:42px clamp(24px,3vw,46px);box-shadow:0 8px 30px rgba(16,49,89,.045)}.login-top-icon{width:62px;height:62px;background:#e6f0ff;border-radius:19px;margin:0 auto 22px;color:#0c65d0;display:grid;place-items:center}.login-card h2{text-align:center;font-size:25px;letter-spacing:-.035em;margin:0 0 6px}.login-card>.muted{text-align:center;font-size:12px;margin-bottom:31px}.login-form{display:flex;flex-direction:column;gap:20px}.login-form label{font-size:13px}.login-form input{background:#f2f5fa;border:1px solid #e8edf5;border-radius:12px;min-height:53px}.login-form .btn-wide{min-height:51px;margin-top:3px}.password-input{position:relative}.password-input input{padding-right:48px}.password-input button{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#8995a5;padding:4px}.login-help{display:flex;align-items:flex-start;gap:8px;color:#8895a5;font-size:11px;line-height:1.7;border-top:1px solid #edf1f8;padding-top:20px;margin-top:25px}.login-help .i{flex:none}.login-caption{margin-top:25px;text-align:center;color:#a1abba;font-size:11px}.setup-body{min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding:35px 15px}.setup-card{width:min(100%,600px);background:#fff;padding:35px;border-radius:24px;box-shadow:var(--shadow);border:1px solid var(--border)}.setup-card h1{font-size:26px;margin-top:32px}.setup-card h3{margin:12px 0 0;font-size:14px;padding-top:8px;border-top:1px solid #eaf0f8}.setup-card>.muted{font-size:13px}.setup-card .brand strong{font-size:22px}
@media(max-width:1200px){.topbar{padding:0 24px}.main-content{padding:30px 24px}.folder-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar{width:220px;flex-basis:220px}.sidebar .brand strong{font-size:18px}.sidebar .brand small{font-size:10px}.admin-action-grid{grid-template-columns:1fr 1fr}}
@media(max-width:980px){.topbar-title{min-width:95px}.top-profile-name{display:none}.topbar{gap:14px}.sidebar{width:78px;flex-basis:78px;padding:24px 10px}.sidebar .brand{margin:0 5px 35px}.sidebar .brand>span:last-child,.sidebar-label,.nav-link:not(.active),.nav-link.active{font-size:0}.sidebar .brand-mark{width:43px;height:43px}.nav-link{justify-content:center;padding:12px 0}.nav-link .i{width:21px;height:21px}.sidebar-bottom .security-note{display:none}.logout-link{font-size:0!important}.metric{padding:15px}.file-bottom{padding-left:0}.client-list{grid-template-columns:1fr}}
@media(max-width:700px){h1{font-size:25px}.app-shell{display:block}.sidebar{width:264px;position:fixed;top:0;left:0;bottom:0;height:100dvh;transform:translateX(-102%);transition:transform .23s;box-shadow:12px 0 30px rgba(0,0,0,.04);padding:25px 15px;z-index:60}.sidebar.open{transform:translateX(0)}.sidebar .brand>span:last-child{display:block}.sidebar-label{display:block}.nav-link,.nav-link:not(.active),.nav-link.active,.logout-link{font-size:13px!important;justify-content:flex-start;padding:12px 15px}.sidebar-bottom .security-note{display:flex}.mobile-overlay.show{display:block;position:fixed;inset:0;background:rgba(9,21,42,.34);z-index:55}.mobile-menu-btn{display:inline-flex;color:var(--primary)}.topbar{height:68px;padding:0 16px;gap:11px}.topbar-title{flex:1}.topbar-title strong{font-size:16px}.topbar-eyebrow{font-size:8px}.topbar .search-form{display:none}.top-profile{margin-left:auto}.avatar{width:34px;height:34px;font-size:11px}.main-content{min-height:calc(100vh - 68px);padding:24px 16px 100px}.page-heading{gap:10px;align-items:flex-start;margin-bottom:20px}.page-heading .btn{padding:9px 12px;font-size:11px}.page-heading p{font-size:12px}.breadcrumb{font-size:10px;gap:7px;margin-bottom:9px}.status-banner{font-size:11px;gap:8px;padding:10px 12px;min-height:40px;margin-bottom:18px}.status-end{font-size:10px}.storage-card{padding:21px 19px;margin-bottom:15px}.storage-card-head{align-items:center}.storage-title{font-size:15px;gap:7px}.storage-title strong{font-size:14px}.storage-card .pill{font-size:10px;padding:5px 9px}.storage-number{margin:19px 0 11px}.storage-number strong{font-size:26px}.storage-number span{font-size:13px}.storage-legend{gap:10px;font-size:10px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:25px}.metric{padding:15px}.metric strong{font-size:23px}.metric span:not(.metric-icon){font-size:11px}.section-title h2{font-size:17px}.section-title>a{font-size:12px}.folder-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.folder-card{padding:12px;gap:8px;min-height:68px}.folder-icon svg{width:23px;height:23px}.folder-name{font-size:12px}.mini-count{display:none}.folder-card>.i{display:none}.file-card{padding:16px 14px}.file-main{gap:10px}.file-icon{width:43px;height:43px;border-radius:12px}.file-name{font-size:13px}.file-bottom{padding:0;margin-top:15px;align-items:center}.file-meta{font-size:11px}.file-actions{gap:1px}.file-actions .btn-download{padding:10px 11px;min-height:35px;font-size:12px}.file-actions .btn-download .i{width:16px;height:16px}.preview-btn{display:none}.file-actions .icon-btn{height:30px;min-width:30px}.desktop-only{display:none}.project-card{min-height:195px;padding:15px}.project-card h3{font-size:14px}.project-card p{font-size:11px}.project-card-footer{gap:8px;font-size:10px}.project-card-footer .project-arrow{display:none}.project-folder{height:43px;width:43px}.project-top .badge{font-size:9px}.admin-action-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.client-list{grid-template-columns:1fr}.mobile-bottom-nav{height:67px;position:fixed;display:flex;justify-content:space-around;align-items:center;bottom:0;left:0;right:0;z-index:25;border-top:1px solid #e6eaf2;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:10px;font-weight:600;color:#717d8f;min-width:56px}.mobile-bottom-nav a.active{color:#0068ce}.app-footer{margin:36px 0 5px}.login-layout{display:flex;flex-direction:column;min-height:100dvh}.login-hero{padding:20px 23px 22px;background:transparent;color:#263244;align-items:center;flex:0}.login-hero .brand strong{font-size:20px}.login-hero .brand small{color:#798494}.login-hero .brand-mark{background:#1a73e8;color:#fff}.login-hero-content,.login-hero-bottom,.login-hero:before{display:none}.login-main{padding:8px 17px 32px;justify-content:flex-start;flex:1}.login-card{border-radius:23px;padding:32px 22px;box-shadow:0 2px 15px rgba(15,52,89,.04)}.login-card h2{font-size:23px}.login-caption{margin-top:19px}.setup-card{padding:23px}}
@media(max-width:380px){.file-actions .btn-download span{display:none}.file-actions .btn-download{width:35px;height:35px;padding:0}.storage-card-head .pill{display:none}.page-heading .btn{font-size:0;width:40px;height:40px}.page-heading .btn svg{width:21px;height:21px}.folder-grid,.project-grid{grid-template-columns:1fr 1fr}.file-meta{font-size:10px}.status-end{margin-left:0}.file-card{padding:14px 11px}}
/* Widths for the storage breakdown are calculated from actual accessible files. */
.storage-bar i:first-child,.storage-bar i:nth-child(2),.storage-bar i:nth-child(3){flex:0 0 auto}
/* Remote Domain Manager */
.remote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;margin:20px 0 28px}
.remote-domain-card{display:flex;gap:14px;align-items:flex-start;padding:23px;flex-wrap:wrap}
.remote-domain-icon,.remote-progress-icon{background:#e9efff;color:#4b6ee9;border-radius:15px;padding:12px;display:inline-flex}
.remote-domain-card>div:nth-child(2){flex:1;min-width:170px}.remote-domain-card h3{margin:3px 0 8px;font-size:18px}.remote-url{font-size:12px;overflow-wrap:anywhere;color:#66718a}
.remote-domain-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:8px}.remote-domain-actions form{margin:0}
.remote-steps{background:#f6f8ff;border:1px solid #e3e9fb;border-radius:14px;padding:14px 18px;margin:14px 0 20px}.remote-steps p{margin:7px 0;font-size:14px;line-height:1.65}.remote-steps code{overflow-wrap:anywhere}
.remote-secret-row{display:flex;gap:8px;align-items:center}.remote-secret-row input{min-width:0;flex:1;font-family:monospace}.remote-secret-row .btn{white-space:nowrap}
.remote-jobs{padding:0;overflow:hidden}.remote-job-row{display:flex;gap:14px;align-items:center;padding:15px 20px;border-bottom:1px solid #edf0f6;color:inherit;text-decoration:none}.remote-job-row:last-child{border-bottom:0}.remote-job-row>div{flex:1;min-width:130px}.remote-job-row small{display:block;color:#7d879c;margin-top:4px}.remote-job-row:hover{background:#f8faff}
.remote-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:20px 0}.remote-current-path{flex:1;min-width:100px;padding:9px 12px;background:#edf2ff;border-radius:9px;color:#3553a2;overflow-wrap:anywhere;font-family:monospace;font-size:13px}
.remote-file-table{padding:0;overflow:visible}.remote-file-head,.remote-file-row{display:grid;grid-template-columns:minmax(200px,2fr) minmax(70px,.55fr) minmax(100px,.8fr) minmax(160px,1fr);align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid #edf0f7}.remote-file-head{background:#f8faff;color:#6f7b92;font-size:12px;text-transform:uppercase;font-weight:700;letter-spacing:.06em}.remote-file-row:last-child{border-bottom:0}.remote-file-name{display:flex;align-items:center;gap:10px;min-width:0}.remote-file-name a,.remote-file-name strong{font-size:14px;overflow-wrap:anywhere;color:#293956}.remote-entry-icon{display:inline-flex;color:#7185ad}.remote-is-dir{color:#5680ed}.remote-file-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.remote-action-menu{position:relative}.remote-action-menu summary{list-style:none;cursor:pointer}.remote-action-menu summary::-webkit-details-marker{display:none}.remote-action-pop{position:absolute;right:0;top:100%;z-index:20;width:255px;background:white;border:1px solid #e1e7f4;box-shadow:0 12px 35px #1e2b4b26;border-radius:12px;padding:14px}.remote-action-pop form+form{margin-top:12px;border-top:1px solid #eef0f5;padding-top:12px}.remote-empty{padding:30px;text-align:center;color:#77849a}.remote-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:14px 0 25px}.remote-pagination .hint{margin-right:auto}.remote-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.remote-disconnect{margin-top:20px}
.remote-progress{padding:28px}.remote-progress-top{display:flex;align-items:center;gap:15px}.remote-progress-top h2{margin:0 0 6px}.remote-progress-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}.remote-progress-metrics>div{border:1px solid #e6eaf4;background:#f8faff;border-radius:13px;padding:16px}.remote-progress-metrics strong{display:block;font-size:25px;color:#344a80}.remote-progress-metrics small{display:block;color:#74809b;margin-top:5px}
@media(max-width:900px){.remote-file-head{display:none}.remote-file-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.remote-file-row>.muted{display:none}.remote-file-actions{justify-content:flex-end}.remote-action-grid{grid-template-columns:1fr}.remote-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.remote-domain-actions{flex-direction:column}.remote-domain-actions form,.remote-domain-actions button,.remote-domain-actions>a{width:100%}.remote-file-row{padding:13px 10px}.remote-file-name{min-width:0}.remote-file-name strong,.remote-file-name a{font-size:12px}.remote-action-pop{right:0;width:min(260px,85vw)}.remote-progress{padding:18px}.remote-progress-metrics strong{font-size:19px}.remote-secret-row{flex-direction:column;align-items:stretch}.remote-job-row{flex-wrap:wrap}.remote-job-row>span{font-size:12px}}

/* Patel Server v3: authenticated remote bulk-delete confirmation + progress. */
.remote-danger-zone {margin-top:24px;border:1px solid #efcaca}
.remote-danger-zone>summary {cursor:pointer;font-weight:700;display:flex;align-items:center;gap:10px;color:#a82b32;list-style:none}
.remote-danger-zone>summary::-webkit-details-marker{display:none}
.remote-danger-zone>summary+*{margin-top:16px}
.remote-purge-form{max-width:660px;margin-top:14px}
.remote-purge-form label{display:block}
.remote-purge-form input:not([type=checkbox]){margin-top:7px}
.remote-purge-form .remote-purge-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}
.remote-purge-check input{width:auto;min-width:18px;height:18px;margin-top:1px}
.remote-purge-form .btn-danger{max-width:max-content}
.remote-purge-progress{padding:10px 0;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.remote-purge-stats{display:flex;gap:38px;flex-wrap:wrap}
.remote-purge-stats>div{display:flex;flex-direction:column;gap:2px}
.remote-purge-stats strong{font-size:28px}
.remote-purge-stats small{color:#637087}

/* v4 backup cancellation controls */
.remote-progress-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.remote-cancel-note{margin-top:14px}
.remote-progress-actions button[hidden]{display:none}
@media(max-width:550px){.remote-progress-actions{flex-direction:column;align-items:stretch}.remote-progress-actions .btn{width:100%}}

/* v5: admin-scoped file/folder/project selection and keyboard deletion. */
.bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f2f6ff;border:1px solid #dce7ff;border-radius:14px;padding:12px 16px;margin:16px 0}
.bulk-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bulk-caption{font-size:13px;font-weight:700;color:#58657c}
.bulk-toolbar form{display:flex;align-items:center;gap:8px}.bulk-toolbar [disabled]{opacity:.55;cursor:not-allowed}
.select-checkbox{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;min-width:24px;min-height:24px}
.select-checkbox input{appearance:auto;margin:0!important;width:18px!important;height:18px!important;min-width:18px;accent-color:#3573e8;cursor:pointer}
[data-select-row].is-selected{border-color:#6c96e9!important;background:#f0f6ff!important;box-shadow:0 0 0 1px #6c96e944}
.inline-danger{color:#a8333b}.inline-danger:hover{background:#fff0f0;color:#bd2626}
.folder-manage{padding:12px 14px;gap:8px}.folder-open{min-width:0;flex:1;display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.folder-open .folder-name{min-width:0}.folder-manage .inline-form{margin-left:auto}
.project-card{position:relative}.project-card-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:24px}
.project-card-main{display:flex;flex-direction:column;flex:1;min-height:0;text-decoration:none;color:inherit}
.project-card-main>p{font-size:12px;color:#7b8698;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1}
.project-card-main .project-card-footer{margin-top:auto}
.project-danger{margin-top:18px;padding:15px;border:1px solid #f2d4d4;border-radius:12px;background:#fff9f9}
.project-danger p{margin:8px 0 12px}
.remote-delete-progress{margin:10px 0 16px;padding:12px 14px;background:#f1f5ff;border:1px solid #dfe7ff;border-radius:12px;font-size:13px;color:#384c7b}
.remote-delete-progress[hidden]{display:none}
@media(max-width:630px){.bulk-toolbar,.bulk-tools{align-items:stretch;flex-direction:column}.bulk-toolbar form,.bulk-toolbar form button,.bulk-toolbar>button{width:100%}.bulk-tools .btn{width:100%}.folder-manage{gap:5px}.folder-manage .folder-icon{display:none}.project-card-actions{gap:4px}.file-actions{flex-wrap:wrap}}
.folder-empty-form{display:flex;justify-content:flex-end;margin:0 0 12px}
.folder-empty-form .btn{max-width:100%}
@media(max-width:630px){.folder-empty-form .btn{width:100%}}
