:root{font-family:Inter,'Malgun Gothic','Apple SD Gothic Neo',sans-serif;color:#17243a;background:#f5f7fb;font-synthesis:none;--nav:#121d30;--blue:#315df5;--muted:#64728a;--line:#dfe5ef;--canvas:#fff;--radius:12px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}input,select,button{font:inherit}button{cursor:pointer}a{color:#234adb}h1,h2,p{margin:0}h1{font-size:clamp(1.65rem,3vw,2rem);letter-spacing:-.055em}h2{font-size:1.3rem;letter-spacing:-.035em}small,.muted{color:var(--muted)}:focus-visible{outline:3px solid #7296ff;outline-offset:3px}button:disabled{cursor:default;opacity:.48}.icon{width:19px;height:19px;display:block;flex:none}span[data-icon]{display:inline-flex;align-items:center;flex:none}.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid transparent;border-radius:9px;font-weight:650;white-space:nowrap;text-decoration:none}.button{padding:0 14px;font-size:.885rem}.icon-button{width:40px;padding:0;background:transparent;color:inherit}.icon-button:hover,.secondary:hover{background:#edf1f8}.primary{background:var(--blue);color:white}.primary:hover{background:#214ad9}.secondary{background:white;border-color:var(--line);color:#304057}.danger{background:#b62436;color:white}.danger:hover{background:#921f2d}.full{width:100%}.push{margin-left:auto}.bare{border:0;padding:0;color:#234adb;background:transparent;font-weight:650}.error{color:#9e2033;font-size:.88rem;line-height:1.45}.brand{align-items:center;display:flex;gap:11px;font-weight:750;letter-spacing:-.035em;font-size:1.07rem}.brand-mark{display:grid!important;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;background:#3d67fa}.brand-mark .icon{width:21px;height:21px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-aside{display:flex;flex-direction:column;min-height:100%;padding:46px 9%;color:#fff;background:radial-gradient(ellipse at 56% 48%,#1e3672 0%,#162844 38%,#131d30 75%);overflow:hidden}.auth-graphic{position:relative;height:min(40dvh,365px);min-height:245px;width:min(100%,460px);margin:auto;isolation:isolate}.graphic-grid{position:absolute;inset:-16px;background-image:linear-gradient(#91a7ef24 1px,transparent 1px),linear-gradient(90deg,#91a7ef24 1px,transparent 1px);background-size:29px 29px;mask-image:radial-gradient(ellipse,#000 10%,transparent 75%)}.graphic-card{display:grid;align-content:center;gap:12px;position:absolute;width:46%;aspect-ratio:1.24;min-width:148px;padding:24px;border:1px solid #92b2ff63;border-radius:18px;box-shadow:0 18px 48px #020a263d}.graphic-front{left:22%;top:34%;background:linear-gradient(135deg,#4878ff,#2c52c3);transform:rotate(-8deg)}.graphic-back{left:44%;top:21%;background:#283b67;transform:rotate(13deg)}.graphic-card .icon{width:40px;height:40px}.graphic-card i{width:58%;height:6px;border-radius:10px;background:#b4c7ff66}.graphic-card i:last-child{width:36%}.auth-caption{margin:8px 0 18px}.auth-caption h1{font-size:clamp(2.45rem,5vw,4.3rem);line-height:1.1;letter-spacing:-.075em}.auth-caption p{color:#becbea;margin-top:15px;font-size:.94rem;line-height:1.6}.auth-body{display:grid;place-items:center;padding:44px}.auth-form{width:min(100%,380px)}.auth-form h2{font-size:1.9rem}.auth-form .muted{margin-top:10px;line-height:1.6;margin-bottom:25px}.auth-form .bare{margin-top:19px}.mobile-brand{display:none}.auth-form form,.form-stack{display:grid;gap:15px}form label,.field{display:grid;gap:7px;font-size:.875rem;font-weight:650}form input,.field input,.field select{width:100%;min-height:44px;border:1px solid #cfd8e8;padding:0 12px;color:#17243a;background:#fff;border-radius:8px;font-size:.93rem}#login-submit{height:45px;margin-top:4px}
.workspace{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100dvh}.sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;padding:22px 16px 14px;background:var(--nav);color:#eaf0ff}.sidebar .brand{padding:2px 8px 27px}.new-button{margin-bottom:24px;height:42px}.sidebar nav{display:grid;gap:5px}.nav-button{display:flex;align-items:center;gap:11px;color:#b9c5db;width:100%;text-align:left;background:transparent;border:0;border-radius:8px;min-height:43px;padding:0 12px;font-size:.9rem;font-weight:600}.nav-button:hover,.profile:hover{background:#222e45;color:white}.nav-button.selected{color:#fff;background:#273d69}.nav-button.selected .icon{color:#a0b8ff}.quota{margin-top:auto;padding:20px 8px 17px;display:grid;gap:9px}.quota-label{display:flex;align-items:center;gap:6px;color:#ebf1ff;font-weight:650;font-size:.84rem}.quota .icon{width:16px;height:16px}.quota small,.profile small{color:#aebbd3;font-size:.745rem}.quota meter{width:100%;height:11px;appearance:none}.quota meter::-webkit-meter-bar{background:#32405a;border:0;border-radius:8px}.quota meter::-webkit-meter-optimum-value{background:#7997ff;border-radius:8px}.profile{border:1px solid #2a3852;border-radius:10px;display:flex;align-items:center;gap:8px;padding:8px;color:#e9efff;background:transparent;text-align:left}.avatar{display:grid;place-items:center;flex:none;color:#132048;background:#b6c8ff;border-radius:50%;font-weight:750;width:34px;height:34px}.profile-text{display:grid;gap:3px;min-width:0;flex:1}.profile-text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-text strong{font-size:.79rem}
.drive{min-width:0}.topbar{height:71px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 clamp(18px,4vw,52px)}.search{display:flex;align-items:center;gap:9px;width:min(540px,100%);color:#61718a;border:1px solid #e3e8f1;background:#f2f5fa;border-radius:9px;padding:0 12px;height:42px}.search input{width:100%;border:0;outline:none;background:transparent;color:#17243a;font-size:.9rem}.search:focus-within{outline:2px solid #7c9bff}.search input::-webkit-search-cancel-button{appearance:none}.search .icon-button{height:30px;width:29px;min-height:30px;margin-right:-7px}.content{position:relative;max-width:1600px;margin:0 auto;padding:28px clamp(18px,4vw,52px) 100px;min-height:calc(100dvh - 71px)}#breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#65758f;font-size:.82rem;min-height:24px;margin-bottom:14px}#breadcrumbs button{border:0;background:transparent;color:inherit;padding:4px 0}#breadcrumbs button:hover{color:#315df5;text-decoration:underline}#breadcrumbs .icon{width:14px;height:14px}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.heading p{font-size:.83rem;margin-top:7px}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.filters,.layout-switch{display:flex;gap:8px}.select,.layout-switch{border:1px solid var(--line);border-radius:9px;background:white;display:flex;align-items:center}.select{padding:0 9px;gap:5px}.select .icon{width:15px;height:15px;color:var(--muted)}.select select{border:0;color:#34425a;background:transparent;height:37px;font-size:.82rem}.layout-switch{gap:1px;padding:2px}.layout-switch .icon-button{width:34px;min-height:32px}.layout-switch .active{background:#e9efff;color:#234adb}
.file-list{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.file-row{display:grid;grid-template-columns:minmax(160px,3fr) minmax(100px,1.15fr) minmax(90px,1fr) minmax(70px,.65fr) 40px;align-items:center;gap:10px;padding:0 16px;min-height:62px;border-top:1px solid #edf0f6;font-size:.84rem}.file-row:hover{background:#f8faff}.file-row.header{border:0;min-height:42px;background:#f7f9fc;color:#61718a;font-weight:650;font-size:.78rem}.file-name{display:flex;align-items:center;gap:11px;min-width:0;border:0;color:inherit;background:transparent;text-align:left;padding:4px 0;font-weight:650}.file-name span:last-child,.row-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-icon{display:grid!important;place-items:center;width:36px;height:36px;border-radius:9px;background:#edf1f7;color:#4c6385}.file-icon.folder{color:#315df5;background:#e9efff}.file-icon.pdf{color:#ab2d49;background:#fcecf0}.file-icon.image{color:#167967;background:#e1f5ef}.file-icon.text{color:#6b4aab;background:#f1ebff}.file-meta-mobile{display:none}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.file-card{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:white;display:grid;padding:12px;gap:8px}.file-card-top{display:flex;justify-content:space-between;align-items:center}.file-card .file-icon{width:45px;height:45px}.file-card .file-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card small{font-size:.75rem}.empty{background:white;border:1px solid var(--line);border-radius:var(--radius);min-height:255px;display:grid;place-content:center;justify-items:center;gap:11px;padding:28px;text-align:center}.empty .file-icon{width:53px;height:53px}.empty .file-icon .icon{width:27px;height:27px}.empty p{font-size:.88rem;line-height:1.5}.pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:13px;color:var(--muted);font-size:.85rem}.drop-overlay{position:absolute;inset:8px;display:grid;align-content:center;justify-items:center;gap:14px;background:#e8effff2;border:2px dashed #3d67fa;border-radius:14px;color:#2044b9;pointer-events:none;z-index:4}.drop-overlay .icon{width:43px;height:43px}
.menu{position:fixed;z-index:15;min-width:178px;background:white;border:1px solid #dce4f0;border-radius:10px;padding:5px;box-shadow:0 12px 36px #16243a26}.menu button{border:0;background:white;display:flex;gap:8px;align-items:center;width:100%;padding:8px;text-align:left;border-radius:6px;color:#263752;font-size:.85rem}.menu button:hover,.menu button:focus-visible{background:#edf2ff}.menu button.danger-menu{color:#a1293d}.menu .icon{width:16px;height:16px}dialog{position:fixed;border:1px solid var(--line);padding:0;border-radius:15px;width:min(92vw,540px);max-height:90dvh;color:#17243a;box-shadow:0 24px 80px #101d4455}dialog.wide{width:min(94vw,980px)}dialog::backdrop{background:#0d193d80}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 19px;border-bottom:1px solid var(--line)}.dialog-heading h2{min-width:0;overflow-wrap:anywhere}#dialog-body{padding:18px 19px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.dialog-copy{font-size:.9rem;line-height:1.6}.preview{background:#f2f5fb;border-radius:9px;min-height:150px;display:grid;place-items:center}.preview img{max-width:100%;max-height:60dvh}.preview iframe{width:100%;height:59dvh;border:0}.preview pre{min-width:0;width:100%;max-height:58dvh;overflow:auto;margin:0;padding:15px;font-size:.82rem;white-space:pre-wrap;overflow-wrap:anywhere}.record{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line);font-size:.86rem}.record:first-child{border-top:0}.record>div:first-child{overflow-wrap:anywhere;min-width:0}.record small{display:block;margin-top:4px}.record-actions{display:flex;gap:5px}.record .button{min-height:34px}.folder-chooser{display:grid;gap:4px;max-height:35vh;overflow:auto}.folder-chooser button{justify-content:flex-start}.transfer-reopen,.transfers{position:fixed;z-index:8;bottom:18px;right:18px}.transfers{width:min(calc(100vw - 28px),405px);background:white;border:1px solid var(--line);box-shadow:0 10px 40px #18243c29;border-radius:12px;overflow:hidden}.transfers header{display:flex;align-items:center;justify-content:space-between;padding:4px 10px 4px 14px;background:#eef3ff}.transfers #transfer-items{max-height:40dvh;overflow:auto}.transfer-row{display:grid;gap:6px;padding:10px 12px;border-top:1px solid var(--line);font-size:.82rem}.transfer-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transfer-row .record{padding:0;border:0;min-height:22px}.transfer-row progress{width:100%;height:7px;accent-color:var(--blue)}.transfer-row .bare{margin-left:8px}.notice{position:fixed;bottom:19px;left:50%;transform:translateX(-50%);z-index:18;width:max-content;max-width:calc(100% - 30px);padding:12px 17px;border-radius:9px;background:#172744;color:#fff;box-shadow:0 8px 24px #18243d45;font-size:.86rem;pointer-events:none}.mobile-menu{display:none}
@media(max-width:820px){.workspace{grid-template-columns:192px minmax(0,1fr)}.sidebar{padding-right:12px;padding-left:12px}.file-row{grid-template-columns:minmax(130px,2fr) minmax(92px,1fr) minmax(60px,.6fr) 40px;padding:0 10px}.editor-col{display:none}}@media(max-width:630px){.auth-page{display:block}.auth-aside{display:none}.auth-body{min-height:100dvh;padding:28px 23px}.mobile-brand{display:flex;margin-bottom:32px}.workspace{display:block}.sidebar{display:none;position:fixed;left:0;top:63px;bottom:0;height:auto;width:235px;z-index:12;box-shadow:4px 12px 38px #12203c40}.sidebar.open{display:flex}.mobile-menu{display:inline-flex;flex:none}.topbar{height:63px;padding:0 12px;gap:7px}.content{padding:17px 12px 90px}.heading .button{padding:0 9px}.file-row{grid-template-columns:minmax(0,1fr) 37px;gap:3px}.file-row.header,.row-value{display:none}.file-row:first-child+.file-row{border-top:0}.file-name{padding:4px 0}.file-row .file-name span:last-child{display:grid;gap:4px}.file-meta-mobile{display:block;color:#65758f;font-weight:400;font-size:.71rem}.file-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px}.toolbar{gap:5px}.filters{gap:4px}.select{padding:0 5px}.select select{font-size:.74rem}.select .icon{display:none}.layout-switch .icon-button{width:30px}.file-row .icon-button{width:36px}.heading{margin-bottom:17px}.record-actions .button{padding:0 6px}.transfers{bottom:8px;right:8px}}
