:root{font-family:Arial,Helvetica,sans-serif;color:#18374a;background:#f5f8fa;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.65;cursor:wait}.hidden{display:none!important}.topbar{height:82px;background:white;border-bottom:1px solid #dfe8ed;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100% - 1160px)/2));gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;background:#176776;color:#fff;border-radius:12px;width:44px;height:44px;font-size:25px}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{font-size:13px;color:#738691;margin-top:3px}.topbar nav{display:flex;gap:17px}.nav-link,.text-button{border:0;background:transparent;color:#317180;font-weight:600;font-size:14px}.nav-link:hover,.text-button:hover{color:#124e5a}.container{width:min(1160px,calc(100% - 48px));margin:0 auto;flex:1;padding:55px 0 80px}.intro{max-width:650px;margin-bottom:36px}.eyebrow{display:block;color:#16808d;font-size:12px;font-weight:800;letter-spacing:.13em;margin-bottom:12px}.intro h1,.admin-intro h1,.login h1{font-size:clamp(30px,4vw,42px);letter-spacing:-.045em;line-height:1.1;margin:0 0 15px}.intro p,.admin-intro p,.login p{color:#657e8a;line-height:1.65;margin:0}.public-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:start}.card{background:#fff;border:1px solid #e0e8ec;border-radius:17px;box-shadow:0 9px 32px #23394a0a;padding:28px}.card-title{display:flex;align-items:center;gap:14px;margin-bottom:26px}.icon{display:grid;place-items:center;width:46px;height:46px;background:#e1f2f3;color:#176776;border-radius:12px;font-size:26px}.icon.pale{background:#edf3f6;color:#477787}.card-title h2{font-size:19px;margin:0 0 5px}.card-title p{color:#788c97;font-size:14px;margin:0}.card-title p strong{color:#176776}label{display:block;font-weight:700;font-size:14px;margin:0 0 23px}input:not([type=file]){display:block;width:100%;border:1px solid #cbdbe1;border-radius:9px;padding:13px 14px;margin-top:9px;font-size:15px;background:#fff;color:#18374a}input:focus{outline:2px solid #71afb9;outline-offset:1px}.file-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:155px;padding:20px;margin-top:10px;border:1.5px dashed #bad2d9;background:#f8fafb;border-radius:12px;color:#176776;text-align:center}.file-drop:hover{background:#eff8f9}.drop-symbol{font-size:29px}.file-drop strong{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.file-drop small{color:#81939d;font-size:13px}.file-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.primary,.outline{border-radius:9px;padding:11px 15px;font-size:14px;font-weight:700;min-height:42px}.primary{border:1px solid #176776;background:#176776;color:#fff}.primary:hover{background:#115362}.outline{border:1px solid #cadbe0;color:#276d7c;background:white}.outline:hover{background:#edf6f7}.full{width:100%;height:48px;font-size:15px}.notice{color:#758a95;font-size:13px;line-height:1.5;margin:18px 0 0}.empty{min-height:190px;display:grid;place-items:center;color:#8c9fa9;text-align:center;font-size:14px;padding:25px}.file-row{display:flex;align-items:center;gap:12px;padding:15px 5px;border-bottom:1px solid #edf2f4}.file-row:last-child{border-bottom:0}.file-symbol{width:40px;height:40px;flex:0 0 auto;border-radius:10px;display:grid;place-items:center;background:#ebf4f6;color:#397a87;font-size:20px}.file-info{flex:1;min-width:0}.file-info strong,.file-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info strong{font-size:14px}.file-info small{font-size:12px;color:#8597a1;margin-top:5px}.file-actions{display:flex;gap:3px}.file-actions button,.file-actions a,.icon-button{display:inline-grid;place-items:center;text-decoration:none;background:none;border:0;color:#748b97;min-width:29px;min-height:30px;font-size:22px}.file-actions button:hover,.icon-button:hover{color:#b04141}.file-actions a:hover{color:#176776}footer{border-top:1px solid #e1e9ed;background:white;color:#8b9fa9;font-size:13px;padding:23px;text-align:center}.login-container{flex:1;display:grid;place-items:center;padding:55px 20px}.login{width:min(440px,100%);padding:36px}.login-icon{margin-bottom:26px;width:55px;height:55px}.login h1{font-size:29px}.login p{font-size:14px;margin-bottom:26px}.login .text-button{display:block;margin:24px auto 0}.admin-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.admin-intro h1{font-size:35px;margin-bottom:9px}.toolbar{display:flex;gap:10px}.admin-grid{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}.admin-grid .card{padding:0;min-height:430px}.folder-card h3{display:flex;justify-content:space-between;margin:0;padding:25px 22px 18px;border-bottom:1px solid #edf2f4;color:#7b909b;letter-spacing:.13em;font-size:12px}.folder-row{display:flex;align-items:center;margin:8px;border-radius:10px}.folder-row.selected{background:#e9f4f5}.folder-open{flex:1;min-width:0;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:13px;color:#3a7a87}.folder-symbol{font-size:21px}.folder-open span:last-child{min-width:0}.folder-open strong,.folder-open small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-open strong{font-size:14px;color:#2d5362}.folder-open small{font-size:12px;color:#8296a0;margin-top:4px}.file-head{padding:24px 26px;border-bottom:1px solid #edf2f4;display:flex;align-items:center;justify-content:space-between;gap:15px}.file-head h2{font-size:20px;margin:0 0 6px}.file-head small{color:#81949f;font-size:13px}.upload-control{position:relative;white-space:nowrap;margin:0;font-size:13px;cursor:pointer}.upload-control input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-card>.file-row,.file-card>#folder-files:not(.empty){padding:0 20px}.admin-upload{padding:15px 24px;background:#f0f8f9;display:flex;gap:12px;align-items:center}.admin-upload>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-upload .text-button{font-size:13px}dialog{border:1px solid #dfe8ec;border-radius:14px;box-shadow:0 20px 70px #102f4366;width:min(430px,calc(100% - 30px));padding:0}dialog::backdrop{background:#1c354888}.dialog-body{padding:26px}.dialog-body h2{font-size:21px;margin:0 0 23px}.dialog-body p{color:#78909c;font-size:13px;line-height:1.4}.dialog-actions{display:flex;justify-content:end;gap:9px;margin-top:24px}.move-options{display:grid;gap:8px;max-height:300px;overflow:auto}.move-options button{text-align:left;background:white;border:1px solid #dbe7eb;border-radius:8px;padding:12px;color:#276877}.move-options button:hover{background:#eff8f9}#toast{position:fixed;z-index:20;top:22px;right:22px;max-width:min(400px,calc(100% - 44px));background:#183d4d;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 10px 30px #16394d44;display:none;font-size:14px;line-height:1.4}#toast.show{display:block}@media(max-width:820px){.public-grid,.admin-grid{grid-template-columns:1fr}.admin-intro{align-items:start;flex-direction:column}.admin-grid .card{min-height:auto}.folder-card{padding-bottom:10px!important}.topbar{padding:0 20px}}@media(max-width:520px){.topbar{height:73px}.brand strong{font-size:14px}.brand small{font-size:11px}.brand-icon{width:38px;height:38px}.topbar nav{gap:8px}.nav-link{font-size:12px}.container{width:calc(100% - 32px);padding-top:42px}.card{padding:21px}.toolbar{width:100%}.toolbar button{flex:1}.file-head{padding:19px 15px}.file-head h2{font-size:17px}#folder-files:not(.empty){padding:0 12px}.file-info small{white-space:normal;line-height:1.3}.file-actions{gap:0}}
.users-panel{margin-top:22px}.users-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.users-title h2{margin:0 0 5px;font-size:20px}.users-title p{margin:0;color:#758995;font-size:14px}.users-list{border-top:1px solid #edf2f4}.user-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 2px;border-bottom:1px solid #edf2f4}.user-details{min-width:0}.user-details strong,.user-details small{display:block}.user-details strong{font-size:15px}.user-details small{color:#8095a0;font-size:13px;margin-top:5px}.user-actions{display:flex;gap:8px}.user-actions button{min-height:36px;padding:7px 11px;font-size:13px}.danger{color:#b04141!important}.dialog-body select{display:block;width:100%;border:1px solid #cbdbe1;border-radius:9px;padding:13px 14px;margin-top:9px;font-size:15px;background:white;color:#18374a}
@media(max-width:600px){.users-title,.user-row{align-items:start;flex-direction:column}.users-title button{width:100%}.user-actions{width:100%}.user-actions button{flex:1}}
.toolbar{flex-wrap:wrap}.admin-upload>span{line-height:1.4}#toast{max-height:45vh;overflow:auto}
@media(max-width:520px){.toolbar{display:grid;grid-template-columns:1fr 1fr}.toolbar #change-own-password{grid-column:1/-1}}
.search-bar{margin:0 0 22px;padding:18px 22px;border:1px solid #e0e8ec;border-radius:13px;background:#fff}.search-bar label{margin:0 0 8px;color:#446779;font-size:14px}.search-input{display:flex;gap:10px;align-items:center}.search-input input{margin:0;flex:1;min-width:0}.search-input .outline{flex:none}.folder-row .icon-button{font-size:19px;min-width:27px}.file-actions button{font-size:19px}@media(max-width:520px){.search-bar{padding:15px}}
/* Tela adaptada para uso instalado em celular e tablet. */
html{overflow-x:hidden}body{min-width:0;overflow-x:hidden}button,a,input,select{touch-action:manipulation}dialog{max-height:calc(100dvh - 32px);overflow:auto}.topbar nav{align-items:center}.topbar .nav-link{min-height:42px;white-space:nowrap}.file-info{min-width:0}.folder-open{min-height:54px}.file-head{flex-wrap:wrap}
@media(max-width:700px){.topbar{height:auto;min-height:82px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.topbar nav{width:100%;justify-content:flex-end;gap:12px}.brand{width:100%}.topbar .nav-link{font-size:14px}.container{padding-top:30px}.admin-intro{margin-bottom:20px}.admin-intro h1{font-size:clamp(27px,7vw,36px)}.public-grid,.admin-grid{gap:14px}.file-card>.file-head{align-items:start}.upload-control{min-height:44px;display:inline-flex;align-items:center}}
@media(max-width:520px){.container{width:calc(100% - 24px)}.topbar{padding-left:14px;padding-right:14px}.topbar nav{justify-content:space-between;gap:4px}.topbar .nav-link{font-size:13px;padding:7px 3px}.card{border-radius:13px}.file-row{flex-wrap:wrap;gap:9px}.file-row .file-info{flex:1 1 calc(100% - 60px)}.file-actions{width:100%;justify-content:flex-end}.file-actions button,.file-actions a{min-width:44px;min-height:44px}.folder-row .icon-button{min-width:44px;min-height:44px}.search-input input,.login input,.dialog-body input{font-size:16px}.dialog-body{padding:20px}.toolbar button{min-height:44px}#toast{left:12px;right:12px;top:auto;bottom:12px;max-width:none}.user-actions button{min-height:44px}}

/* Identidade visual SVP 3.1 */
:root{--navy:#123649;--navy-deep:#0d2938;--teal:#146f7d;--teal-dark:#0e5965;--gold:#d6b878;--ink:#173749;--soft:#667f8d;--line:#dce6eb;--surface:#fff;--canvas:#f2f6f8}
body{background:var(--canvas);color:var(--ink);font-family:"Segoe UI",Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:16px;letter-spacing:0}
.topbar{background:var(--navy-deep);border-bottom:3px solid var(--gold);color:#fff;box-shadow:0 6px 20px #0e2b3b16}
.brand-icon{width:46px;height:46px;border-radius:12px;background:#2b6f79;color:#fff;box-shadow:inset 0 0 0 1px #ffffff25}
.brand-icon svg{width:27px;height:27px}
.brand strong{font-size:17px;font-weight:720;letter-spacing:-.02em;color:#fff}
.brand small{color:#bad2d9;font-size:13px}
.topbar .nav-link{color:#e6f0f2;border-radius:8px;padding:8px 11px;transition:background .18s ease,color .18s ease}
.topbar .nav-link:hover,.topbar .nav-link:focus-visible{color:#fff;background:#ffffff1c}
.container{width:min(1200px,calc(100% - 56px));padding-top:51px}
.intro{margin-bottom:31px}
.eyebrow{color:#177b89;font-weight:800;letter-spacing:.12em;font-size:12px}
.intro .eyebrow,.admin-intro .eyebrow{display:inline-block;border-left:3px solid var(--gold);padding-left:10px;line-height:1.2}
.intro h1,.admin-intro h1,.login h1{color:var(--navy);font-weight:750;letter-spacing:-.04em}
.intro h1{font-size:clamp(32px,4vw,46px)}
.intro p,.admin-intro p,.login p{color:var(--soft);font-size:16px;line-height:1.62}
.public-grid{grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:24px}
.card{border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 2px 4px #102f4307,0 18px 44px #102f4308}
.public-grid>.card:first-child{border-top:3px solid var(--teal)}
.public-grid>.card:last-child{border-top:3px solid var(--gold)}
.card-title{padding-bottom:22px;border-bottom:1px solid #e8eef1;margin-bottom:26px}
.card-title h2,.file-head h2,.users-title h2{color:var(--navy);font-weight:750;letter-spacing:-.025em}
.card-title p{color:var(--soft)}
.icon{background:#e9f4f5;color:var(--teal);border-radius:11px;box-shadow:inset 0 0 0 1px #d5e8eb}
.icon.pale{background:#f5f4ef;color:#826b3f;box-shadow:inset 0 0 0 1px #ebe4d6}
.icon svg{width:25px;height:25px}
label{color:#345669;font-weight:700}
input:not([type=file]),.dialog-body select{border-color:#cbdbe2;background:#fff;min-height:48px;box-shadow:0 1px 2px #12364908;transition:border-color .18s ease,box-shadow .18s ease}
input:not([type=file]):focus,.dialog-body select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #146f7d26}
input::placeholder{color:#92a4ad}
.file-drop{border:1.5px dashed #94bdc5;background:#f7fbfb;min-height:164px;border-radius:12px;transition:border-color .18s ease,background .18s ease}
.file-drop:hover,.file-drop:focus-within{border-color:var(--teal);background:#eaf5f6}
.drop-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e4f1f3;color:var(--teal);margin-bottom:5px}
.drop-symbol svg{width:26px;height:26px}
.file-drop strong{color:var(--navy);font-weight:750}
.file-drop small{color:#6f8793}
.primary,.outline{border-radius:9px;font-weight:700;letter-spacing:.005em;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.primary{background:var(--teal);border-color:var(--teal);box-shadow:0 3px 8px #0f65731b}
.primary:hover:not(:disabled){background:var(--teal-dark);border-color:var(--teal-dark);box-shadow:0 5px 14px #0f657326}
.outline{border-color:#c9dce2;color:#246273}
.outline:hover:not(:disabled){background:#edf7f8;border-color:#8ab8c2}
.primary:focus-visible,.outline:focus-visible,.nav-link:focus-visible,.icon-button:focus-visible,.file-actions button:focus-visible,.file-actions a:focus-visible{outline:3px solid #69aeba;outline-offset:2px}
.notice{padding:12px 14px;margin-top:19px;border-radius:9px;background:#f4f7f8;color:#68808c;font-size:13px}
.file-symbol{background:#edf5f6;color:var(--teal);border-radius:10px}
.file-symbol svg,.folder-symbol svg{width:21px;height:21px}
.file-row{border-bottom:1px solid #ebf0f2;transition:background .15s ease}
.file-row:hover{background:#f8fbfc}
.file-info strong{color:#254657;font-size:15px;font-weight:680}
.file-info small{color:#738a96;line-height:1.4}
.file-actions button,.file-actions a{border-radius:8px;color:#63818f}
.file-actions button:hover,.file-actions a:hover{background:#e9f3f5;color:var(--teal)}
.file-actions .danger:hover{color:#af4a4a}
.file-actions svg,.icon-button svg{width:19px;height:19px}
.folder-card h3{background:#f9fbfc;color:#627c8a;border-radius:16px 16px 0 0}
.folder-row{margin:5px 8px}
.folder-row.selected{background:#e7f2f4;box-shadow:inset 3px 0 0 var(--teal)}
.folder-row:hover:not(.selected){background:#f4f8f9}
.folder-open strong{color:#254e5d}
.folder-symbol{color:#3d7886;display:grid;place-items:center}
.file-head{background:#fbfcfd;border-radius:16px 16px 0 0}
.file-head h2{font-size:21px}
.search-bar{border-color:var(--line);box-shadow:0 6px 18px #102f4309}
.search-bar label{color:#345669}
.users-panel{border-top:3px solid var(--gold)}
.user-row:hover{background:#f9fbfc}
.user-details strong{color:var(--navy)}
.login-container{background:var(--canvas)}
.login{border-top:3px solid var(--teal);box-shadow:0 20px 65px #14384b15}
.login-icon{background:#e9f4f5;color:var(--teal)}
footer{background:#f9fbfc;color:#7f939d;border-color:#e0e9ed}
dialog{border:1px solid var(--line);border-radius:16px;box-shadow:0 26px 75px #0e29385e}
dialog::backdrop{background:#102c3e99}
.dialog-body h2{color:var(--navy);font-size:22px;letter-spacing:-.02em}
#toast{background:var(--navy);border-left:4px solid var(--gold);box-shadow:0 14px 40px #0e29384b}
@media(max-width:820px){.public-grid,.admin-grid{grid-template-columns:1fr}.container{width:calc(100% - 42px)}}
@media(max-width:520px){.container{width:calc(100% - 24px);padding-top:28px}.topbar{padding:12px 14px}.brand-icon{width:42px;height:42px}.brand strong{font-size:15px}.brand small{font-size:12px}.intro h1{font-size:33px}.intro p,.admin-intro p{font-size:15px}.card{padding:20px}.card-title{padding-bottom:17px;margin-bottom:20px}.public-grid{gap:15px}.file-drop{min-height:145px}.file-head{border-radius:13px 13px 0 0}.search-bar{margin-bottom:16px}.folder-card h3{border-radius:13px 13px 0 0}.topbar .nav-link{font-size:13px;padding:7px 5px}}
/* Navegação em pastas e subpastas. */
.folder-row{padding-left:calc(var(--depth,0) * 12px);position:relative}.folder-row[style*="--depth: 1"]::before,.folder-row[style*="--depth: 2"]::before,.folder-row[style*="--depth: 3"]::before,.folder-row[style*="--depth: 4"]::before,.folder-row[style*="--depth: 5"]::before,.folder-row[style*="--depth: 6"]::before,.folder-row[style*="--depth: 7"]::before,.folder-row[style*="--depth: 8"]::before{content:"";position:absolute;left:calc(var(--depth) * 12px - 5px);top:12px;bottom:12px;width:1px;background:#d1e0e5}.folder-row .folder-open{min-width:0}.folder-row .folder-symbol{flex:0 0 auto}.folder-path{font-size:12px;color:#718b96;line-height:1.45;overflow-wrap:anywhere;margin-bottom:5px}.folder-path:empty{display:none}.file-head>div{min-width:0}.file-head h2{overflow-wrap:anywhere}.dialog-body select{display:block;width:100%;min-height:48px;margin-top:9px}.folder-card .folder-row.selected{border-radius:8px}
@media(max-width:520px){.folder-row{padding-left:calc(var(--depth,0) * 8px)}.folder-row[style*="--depth"]::before{left:calc(var(--depth) * 8px - 4px)}.folder-row .icon-button{min-width:36px}.folder-open{gap:8px;padding:11px 6px}.folder-open strong{font-size:13px}}

.backup-panel{margin-top:22px;border-top:3px solid var(--gold)}.backup-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 2px;border-bottom:1px solid #edf2f4}.backup-details{min-width:0}.backup-details strong,.backup-details small{display:block}.backup-details small{color:#8095a0;margin-top:5px}.backup-actions{display:flex;flex-wrap:wrap;gap:8px}.backup-actions a,.backup-actions button{display:inline-flex;align-items:center;text-decoration:none;min-height:38px;padding:7px 12px;font-size:13px}@media(max-width:650px){.backup-row{align-items:flex-start;flex-direction:column}.backup-actions{width:100%}.backup-actions a,.backup-actions button{flex:1;justify-content:center}.backup-panel .users-title{align-items:flex-start;flex-direction:column}}
