:root{color-scheme:light;--canvas:#f7f7f8;--white:#fff;--ink:#19191d;--muted:#62626d;--stroke:#e7e7eb;--accent:#b51f2c;--accent-hover:#971725;--rail:#17171a;--rail-text:#b9b9c2;--radius:14px;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #d64c59;outline-offset:3px}
[hidden]{display:none!important}
svg{display:block;flex:none}
h1,h2,h3,p{margin:0}
p{line-height:1.55}
.boot{padding:3rem;text-align:center;color:var(--muted)}
.shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}
.rail{position:sticky;top:0;height:100dvh;background:var(--rail);color:white;padding:28px 16px 16px;display:flex;flex-direction:column}
.brand{display:grid;justify-items:start;gap:13px;padding:1px 14px 27px;border-bottom:1px solid #323236}
.brand img{width:151px;display:block;border-radius:4px}
.brand span{font-size:11px;letter-spacing:.19em;text-transform:uppercase;color:#d5d5dc;font-weight:650}
.nav{display:grid;gap:4px;margin-top:22px}
.nav button,.profile button{border:0;border-radius:8px;text-align:left;color:var(--rail-text);background:transparent;padding:11px 12px;display:flex;gap:11px;align-items:center;font-size:14px;font-weight:550}
.nav button:hover,.profile button:hover{color:#fff;background:#29292e}
.nav button[aria-current="page"]{background:#332529;color:#fff;box-shadow:inset 3px 0 #f45157}
.nav button[aria-current="page"] svg{color:#ff777b}
.nav-divider{height:1px;background:#323236;margin:12px 8px}
.profile{margin-top:auto;border-top:1px solid #323236;padding-top:13px}
.identity{display:flex;align-items:center;gap:10px;padding:4px 9px 9px;min-width:0}
.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#39393f;color:#fff;font-size:12px;font-weight:700;flex:none}
.identity b,.identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identity b{font-size:13px}.identity small{font-size:11px;color:var(--rail-text);margin-top:2px}
.profile button{width:100%;font-size:13px}.profile button svg{width:17px;height:17px}
.main{width:100%;min-width:0}
.topbar{height:63px;background:var(--white);border-bottom:1px solid var(--stroke);display:flex;gap:12px;align-items:center;padding:0 35px;font-size:13px;color:var(--muted);font-weight:600}
.topbar strong{color:var(--ink)}.topbar span:not(.mode){color:#888891}
.topbar .mode{margin-left:auto;text-transform:uppercase;letter-spacing:.09em;font-size:10px;color:#676771}
.topbar .mobile-toggle{display:none}
.content{max-width:1440px;margin:auto;padding:32px 35px 55px}
.hero{position:relative;overflow:hidden;isolation:isolate;min-height:178px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:linear-gradient(115deg,#19191e,#222227);color:white;border-radius:var(--radius);padding:32px 35px;margin-bottom:30px}
.hero h1{font-size:clamp(32px,4.4vw,49px);letter-spacing:-.055em;line-height:1.03;font-weight:750}
.hero p{color:#d0d0d6;margin-top:11px;font-size:14px;max-width:400px}
.motif{position:absolute;right:42px;top:50%;transform:translateY(-50%);display:flex;gap:13px;z-index:-1}
.motif i{display:block;width:44px;height:124px;border-radius:9px;transform:rotate(29deg);background:#505056}
.motif i:nth-child(2){background:#797982}
.motif i:nth-child(3){background:linear-gradient(170deg,#f0575b,#af1d2c)}
.section-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.section-header h2,.card h2{font-size:20px;letter-spacing:-.025em}
.section-header p{color:var(--muted);font-size:13px;margin-top:4px}
.panel,.card{background:var(--white);border:1px solid var(--stroke);border-radius:var(--radius)}
.card{padding:22px;margin-bottom:16px}
.toolbar{padding:13px 16px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;border-bottom:1px solid var(--stroke)}
.search{position:relative;flex:1 1 220px;min-width:160px}
.search svg{position:absolute;left:11px;top:10px;width:17px;height:17px;color:#74747f;pointer-events:none}
.search input{width:100%;padding-left:34px}
input:not([type="checkbox"]):not([type="file"]),select{min-height:38px;padding:8px 11px;border:1px solid #dcdcE2;border-radius:8px;background:#fff;color:var(--ink);font-size:13px}
.search input:not([type="checkbox"]):not([type="file"]){padding-left:34px}
input::placeholder{color:#6e6e79;opacity:1}
input[type="checkbox"]{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;margin:0;vertical-align:middle}
.btn{background:white;color:var(--ink);border:1px solid #dedee4;border-radius:8px;padding:9px 12px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:650;line-height:1.3;transition:background .14s,border-color .14s}
.btn svg{width:16px;height:16px}
.btn:hover{background:#f5f5f7;border-color:#bdbdc7}
.btn.primary{background:var(--accent);border-color:var(--accent);color:white}
.btn.primary:hover{background:var(--accent-hover)}
.btn:disabled{opacity:.48;cursor:default}
.btn.icon{padding:8px;min-width:38px}
.btn.link{background:transparent;border-color:transparent;color:var(--muted)}
.btn.link:hover{background:#f0f0f3;color:var(--ink)}
.btn.danger{color:var(--accent)}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}
thead{background:#fbfbfc;color:#656570}
th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:700;white-space:nowrap}
th,td{padding:12px 14px;border-bottom:1px solid #eeeef0}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fafafb}
tbody tr.selected{background:#fff3f4}
th.check,td.check{width:38px;padding-left:17px;padding-right:0}
td.action{text-align:right;width:1%;white-space:nowrap}
.file-cell{display:flex;align-items:center;gap:11px;min-width:220px}
.file-cell b{display:block;overflow-wrap:anywhere;font-size:13px}
.file-cell small{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.file-icon{width:37px;height:37px;border-radius:9px;background:#f1f1f4;color:#54545f;display:grid;place-items:center;flex:none}
.file-icon svg{width:18px;height:18px}
.file-icon.video{background:#fff0f1;color:#aa2b3a}.file-icon.graphics{background:#eff3ff;color:#4056a3}.file-icon.print{background:#f8f0e5;color:#815219}.file-icon.audio{background:#e9f6ef;color:#286546}
.badge{display:inline-block;padding:4px 7px;font-size:11px;border-radius:5px;background:#f0f0f3;color:#50505b;font-weight:600;white-space:nowrap}
.badge.success{background:#e7f5eb;color:#286541}.badge.attention{background:#fbefe3;color:#875422}
.dim{color:var(--muted);white-space:nowrap}
.footerline{padding:11px 16px;border-top:1px solid var(--stroke);color:var(--muted);font-size:12px}
.empty{text-align:center;display:grid;justify-items:center;gap:8px;padding:40px 20px;color:var(--muted);font-size:14px}
.empty b{color:var(--ink);font-size:16px}.empty .file-icon{margin-bottom:3px}
.fields{display:grid;gap:13px;margin-top:16px}
.field{display:grid;gap:5px;font-size:13px;font-weight:650;min-width:0}
.field input,.field select{width:100%}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:17px}
.card-header{display:flex;align-items:start;justify-content:space-between;gap:10px}
.muted{color:var(--muted);font-size:13px}
.error{color:#a51826;font-size:13px;margin-top:10px}
.drop{display:grid;justify-items:center;text-align:center;gap:9px;background:#fafafb;border:1.5px dashed #cacad3;border-radius:10px;margin:16px 0;padding:24px 15px}
.drop.dragging{background:#fff2f3;border-color:var(--accent)}
.batch-row,.contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--stroke)}
.batch-row:last-child,.contact-row:last-child{border-bottom:0}
.batch-row .file-cell{min-width:0}.batch-row select{max-width:120px}
progress{display:block;width:100%;height:7px;accent-color:var(--accent);margin-top:6px}
.list-title{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.login{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,42%) minmax(0,1fr)}
.login-brand{background:var(--rail);padding:60px;display:grid;place-items:center}
.login-brand img{max-width:320px;width:100%;border-radius:5px}
.login-body{display:grid;align-items:center;justify-items:center;padding:35px 20px}
.login-content{width:min(100%,420px)}
.login-content h1{font-size:43px;letter-spacing:-.055em;line-height:1.05}
.login-content p{color:var(--muted);margin-top:12px}
.login-content .primary{justify-self:start}
.login-content .eyebrow{color:var(--accent);font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:750;margin:0 0 13px}
dialog{border:1px solid var(--stroke);border-radius:15px;padding:22px;width:min(460px,calc(100% - 30px));box-shadow:0 20px 60px #18181c26;color:var(--ink)}
dialog::backdrop{background:#17171a70}
dialog h2{font-size:22px;letter-spacing:-.03em}
dialog p{margin-top:9px;color:var(--muted);font-size:13px}
.share-files{margin:12px 0 0;padding-left:20px;max-height:130px;overflow:auto;font-size:13px;overflow-wrap:anywhere}
.share-files li{margin:5px 0}
#toast{position:fixed;bottom:20px;right:20px;z-index:10;max-width:min(360px,calc(100% - 40px));padding:13px 17px;border-radius:10px;background:#212126;color:white;box-shadow:0 5px 25px #0003;font-size:14px}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.brand img{width:135px}.topbar{padding:0 23px}.content{padding:25px 23px 45px}.library-table .size-col{display:none}}
@media(max-width:760px){.shell{display:block}.rail{display:none;position:fixed;left:0;top:0;width:220px;z-index:5;box-shadow:0 0 0 100vmax #13131770}.rail.open{display:flex}.topbar .mobile-toggle{display:inline-flex}.topbar{padding:0 14px;height:55px}.content{padding:16px 13px 30px}.hero{padding:24px 21px;min-height:145px;margin-bottom:23px}.motif{right:23px;opacity:.45;gap:8px}.motif i{width:23px;height:75px}.hero p{max-width:250px}.library-table .date-col,.library-table .category-col{display:none}.toolbar{padding:10px}.section-header{gap:8px}.file-cell{min-width:0}.login{grid-template-columns:1fr;grid-template-rows:150px minmax(0,1fr)}.login-brand{padding:20px}.login-brand img{width:156px}.login-content h1{font-size:36px}.card{padding:15px}.batch-row{flex-wrap:wrap}}
@media(max-width:490px){.table-wrap td,.table-wrap th{padding:10px 8px}.table-wrap td.check,.table-wrap th.check{padding-left:9px}.download-label{display:none}.file-cell{gap:7px}.file-icon{width:30px;height:30px}.form-row{grid-template-columns:1fr}}
.row-controls{display:flex;gap:8px;align-items:center}
.retention-date{margin-top:12px}

