/* Private and authentication pages */
body{
margin:0;
background:#f4f7fa;
color:#1c252e;
font-family:Arial,sans-serif;
line-height:1.4;
}

.auth-page,
.private-page{
max-width:760px;
margin:0 auto;
padding:48px 18px 60px;
}

.auth-panel{
max-width:390px;
margin:0 auto;
padding:28px;
border:1px solid #dde4eb;
border-radius:4px;
background:#ffffff;
}

.auth-panel h1{
margin:20px 0 24px;
font-size:26px;
}

.auth-panel form{
margin:0 auto 18px;
text-align:left;
}

.auth-panel input{
display:block;
width:100%;
padding:11px;
border:1px solid #cfd7df;
box-sizing:border-box;
font:inherit;
}

.auth-panel label{
display:block;
margin:12px 0 6px;
padding:0;
border:0;
}

.auth-panel button{
display:block;
width:50%;
margin-left:auto;
margin-right:auto;
margin-top:12px;
padding:11px;
border:1px solid #1f3c88;
background:#1f3c88;
color:#ffffff;
font:inherit;
cursor:pointer;
}

.auth-back,
.auth-panel a{
color:#1f3c88;
}

.auth-error{
color:#a32626;
}

.auth-success{
color:#176b3a;
}

.error-page{
max-width:620px;
margin:0 auto;
padding:80px 18px;
}

.error-panel{
padding:28px;
border:1px solid #dde4eb;
background:#ffffff;
text-align:center;
}

.error-panel h1{
margin:0;
font-size:24px;
}

.error-title{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
margin-bottom:22px;
}

.error-icon{
width:36px;
height:36px;
}

/* Account area */
.account-page{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px;max-width:1080px;margin:0 auto;padding:34px 18px 60px}
.account-menu{display:grid;align-content:start;overflow:hidden;border:1px solid #d7e0e7;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(28,55,75,.07)}
.account-menu a{padding:13px 15px;border-bottom:1px solid #e1e7ec;color:#29485f;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
.account-menu a:last-child{border-bottom:0}
.account-menu a:hover,.account-menu a:focus-visible{background:#edf5fb;color:#125e98}
.account-menu a.is-active{background:linear-gradient(90deg,#195c91,#2377b8);color:#fff}
.account-content{min-width:0;padding:26px;border:1px solid #d7e0e7;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(28,55,75,.07)}
.account-content h1{margin:0 0 20px;font-size:24px}
.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.account-grid a,
.account-grid .account-card{
padding:18px;
border:1px solid #d7e0e7;
border-radius:8px;
color:#1c252e;
text-decoration:none;
transition:transform .15s,border-color .15s,box-shadow .15s;
}
.account-grid a:hover,.account-grid a:focus-visible{transform:translateY(-2px);border-color:#82acd0;box-shadow:0 8px 18px rgba(35,77,105,.1)}
.account-grid strong,.account-grid span{display:block}
.account-grid span{margin-top:7px;color:#647481;font-size:13px}
.account-grid .is-disabled{background:#f1f3f5;color:#7d8992;cursor:not-allowed;opacity:.72}
.account-section-intro{margin:-8px 0 22px;color:#647481}
.account-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.account-form label{display:grid;gap:6px;font-weight:bold}
.account-form input,.account-form textarea{padding:11px 12px;border:1px solid #c5d1da;border-radius:7px;background:#fff;color:#1c252e;font:inherit;outline:none}
.account-form select{padding:11px 12px;border:1px solid #c5d1da;border-radius:7px;background:#fff;color:#1c252e;font:inherit;outline:none}
.account-form input:focus,.account-form textarea:focus{border-color:#287fbd;box-shadow:0 0 0 3px rgba(40,127,189,.14)}
.account-form input[readonly]{background:#edf1f4;color:#61707c}
.account-form textarea{min-height:80px;resize:vertical}
.account-form-wide{grid-column:1/-1}
.account-form button{width:max-content;padding:11px 20px;border:1px solid #176ca8;border-radius:7px;background:linear-gradient(180deg,#237fbd,#17689f);color:#fff;font:inherit;font-weight:bold;cursor:pointer}
.account-message{color:#176b3a;font-weight:bold}
.account-message.is-error{color:#a32626}
.account-help{margin:0;color:#647481;font-size:13px}
.account-status-box{display:grid;gap:6px;margin:0 0 20px;padding:15px;border:1px solid #c9d9e5;border-left:4px solid #2377b8;border-radius:8px;background:#f5f9fc}
.account-status-box span{color:#536979}
.account-list{display:grid;gap:10px}
.account-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid #d7e0e7;border-radius:8px;background:#f8fafc}
.account-list article>div{display:grid;gap:5px}
.account-list span,.account-list small{color:#647481}
.account-badge{display:inline-block;padding:4px 9px;border-radius:14px;background:#e3eef7;color:#195c91!important;font-size:12px;font-weight:bold}
.account-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
.account-summary-grid div{display:grid;gap:7px;padding:16px;border:1px solid #d7e0e7;border-radius:8px;background:#f8fafc}
.account-summary-grid span{color:#647481;font-size:13px}
.account-preferences{display:grid;gap:18px}
.account-preference-section{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr);align-items:center;gap:24px;padding:20px;border:1px solid #d7e0e7;border-radius:9px;background:#f8fafc}
.account-preference-section h2{margin:0 0 5px;font-size:18px}
.account-preference-section p{margin:0;color:#647481}
.account-preference-section select{width:100%;padding:11px 12px;border:1px solid #c5d1da;border-radius:7px;background:#fff;color:#1c252e;font:inherit}
.account-theme-section{align-items:start}
.account-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-theme-options button{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:12px;padding:12px;border:1px solid #c5d1da;border-radius:8px;background:#fff;color:#1c252e;text-align:left;cursor:pointer}
.account-theme-options button.is-selected{border-color:#277fbd;box-shadow:0 0 0 3px rgba(39,127,189,.16)}
.account-theme-options button>span:first-child{height:48px;border:1px solid #aebbc5;border-radius:5px}
.account-theme-options button>span:last-child{display:grid;height:auto;border:0;gap:3px}
.account-theme-options small{color:#647481}
.account-theme-light{background:linear-gradient(90deg,#24445b 24%,#f4f7fa 24%)}
.account-theme-dark{background:linear-gradient(90deg,#0b1218 24%,#1c2a35 24%)}
.account-preferences-save{width:max-content;padding:11px 20px;border:0;border-radius:7px;background:linear-gradient(180deg,#237fbd,#17689f);color:#fff;font:inherit;font-weight:bold;cursor:pointer}
body.private-dark,
html.private-dark-root body{background:#0a1118;color:#e7edf3}
.private-dark .account-menu,
.private-dark .account-content,
.private-dark .account-grid a,
.private-dark .account-grid .account-card,
.private-dark .account-theme-options button,
.private-dark .account-preference-section,
html.private-dark-root .account-menu,
html.private-dark-root .account-content,
html.private-dark-root .account-grid a,
html.private-dark-root .account-grid .account-card,
html.private-dark-root .account-theme-options button,
html.private-dark-root .account-preference-section{
border-color:#34434f;
background:#111c25;
color:#e7edf3;
}
.private-dark .account-menu a,
html.private-dark-root .account-menu a{border-color:#2d3b46;color:#c9d7e1}
.private-dark .account-menu a:hover,
.private-dark .account-menu a:focus-visible,
html.private-dark-root .account-menu a:hover,
html.private-dark-root .account-menu a:focus-visible{background:#1a2c39;color:#77c2ff}
.private-dark .account-menu a.is-active,
html.private-dark-root .account-menu a.is-active{background:linear-gradient(90deg,#174d73,#1f6d9e);color:#fff}
.private-dark .account-grid span,
.private-dark .account-section-intro,
.private-dark .account-preference-section p,
.private-dark .account-theme-options small,
html.private-dark-root .account-grid span,
html.private-dark-root .account-section-intro,
html.private-dark-root .account-preference-section p,
html.private-dark-root .account-theme-options small{color:#9fb0bd}
.private-dark .account-form input,
.private-dark .account-form textarea,
.private-dark .account-form select,
.private-dark .account-preference-section select,
html.private-dark-root .account-form input,
html.private-dark-root .account-form textarea,
html.private-dark-root .account-form select,
html.private-dark-root .account-preference-section select{border-color:#40515e;background:#0c151d;color:#eef5fa}
.private-dark .account-status-box,
.private-dark .account-list article,
.private-dark .account-summary-grid div,
html.private-dark-root .account-status-box,
html.private-dark-root .account-list article,
html.private-dark-root .account-summary-grid div{border-color:#34434f;background:#111c25;color:#e7edf3}
.private-dark .account-form input[readonly],
html.private-dark-root .account-form input[readonly]{background:#17232d;color:#aebdca}
.private-dark .navbar,
html.private-dark-root .navbar{border-color:#293742;background:#0d161e}
.private-dark .navbar-brand,
.private-dark .navbar-section,
.private-dark .navbar nav a,
html.private-dark-root .navbar-brand,
html.private-dark-root .navbar-section,
html.private-dark-root .navbar nav a{color:#dce8f0}
.private-dark .navbar-user img,
.private-dark .navbar-logout img,
html.private-dark-root .navbar-user img,
html.private-dark-root .navbar-logout img{filter:invert(90%)}
.private-dark .site-footer,
html.private-dark-root .site-footer{border-color:#293742;background:#0d161e;color:#aebdca}
.private-dark .site-footer a,
html.private-dark-root .site-footer a{color:#77c2ff}
.private-dark .account-content a,
html.private-dark-root .account-content a{color:#77c2ff}
.private-dark .auth-panel,
.private-dark .error-panel,
html.private-dark-root .auth-panel,
html.private-dark-root .error-panel{border-color:#34434f;background:#111c25;color:#e7edf3}
.private-dark .auth-panel input,
html.private-dark-root .auth-panel input{border-color:#40515e;background:#0c151d;color:#eef5fa}
.private-dark .private-cloud-storage,
.private-dark .private-cloud-browser,
.private-dark .private-cloud-disabled,
html.private-dark-root .private-cloud-storage,
html.private-dark-root .private-cloud-browser,
html.private-dark-root .private-cloud-disabled{border-color:#34434f;background:#111c25;color:#e7edf3}
.private-dark .private-cloud-tabs,
.private-dark .private-cloud-scope,
html.private-dark-root .private-cloud-tabs,
html.private-dark-root .private-cloud-scope{background:#16232d}
.private-dark .private-cloud-tabs a,
.private-dark .private-cloud-scope a,
.private-dark .private-cloud-share-picker summary,
html.private-dark-root .private-cloud-tabs a,
html.private-dark-root .private-cloud-scope a,
html.private-dark-root .private-cloud-share-picker summary{color:#aebdca}
.private-dark .private-cloud-tabs a.is-active,
.private-dark .private-cloud-scope a.is-active,
.private-dark .private-cloud-share-picker summary.is-active,
html.private-dark-root .private-cloud-tabs a.is-active,
html.private-dark-root .private-cloud-scope a.is-active,
html.private-dark-root .private-cloud-share-picker summary.is-active{background:#1d3546;color:#82c8ff}
.private-dark .private-cloud-popover summary,
.private-dark .private-cloud-popover>div,
.private-dark .private-cloud-folders article,
html.private-dark-root .private-cloud-popover summary,
html.private-dark-root .private-cloud-popover>div,
html.private-dark-root .private-cloud-folders article{border-color:#34434f;background:#111c25;color:#e7edf3}
.private-dark .private-cloud-space-meter>div,
html.private-dark-root .private-cloud-space-meter>div{background:#263743}
.private-dark .private-cloud-share-picker>div,
html.private-dark-root .private-cloud-share-picker>div{border-color:#34434f;background:#111c25;color:#e7edf3}
.private-dark .private-cloud-search-button,
html.private-dark-root .private-cloud-search-button{border-color:#40515e;background:#111c25}
.private-dark .private-cloud-search-button:before,
html.private-dark-root .private-cloud-search-button:before{border-color:#aebdca}
.private-dark .private-cloud-search-button:after,
html.private-dark-root .private-cloud-search-button:after{background:#aebdca}
.private-dark .private-cloud-file,
html.private-dark-root .private-cloud-file{border-color:#34434f;background:#0d171f}
.private-dark .private-cloud-preview,
html.private-dark-root .private-cloud-preview{background:linear-gradient(145deg,#162b3b,#1b4059)}
.private-dark .private-cloud-hero p,
html.private-dark-root .private-cloud-hero p{color:#9fb0bd}

/* Cloud privato */
.private-cloud-page{
max-width:1180px;
min-height:70vh;
margin:0 auto;
padding:34px 18px 60px;
}
.private-cloud-hero{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:20px;
}
.private-cloud-identity{
display:grid;
grid-template-columns:auto 1fr;
align-items:center;
column-gap:12px;
}
.private-cloud-hero h1{
margin:0;
font-size:24px;
}
.private-cloud-hero p{
grid-column:2;
margin:0;
color:#647481;
white-space:nowrap;
}
.private-cloud-scope{display:flex;gap:4px;padding:4px;border-radius:22px;background:#e4ebf2}
.private-cloud-scope>a,.private-cloud-share-picker>summary{padding:8px 14px;border-radius:18px;color:#45596a;text-decoration:none}
.private-cloud-scope>a.is-active,.private-cloud-share-picker>summary.is-active{background:#ffffff;color:#116fc7;box-shadow:0 3px 12px rgba(40,70,95,.12)}
.private-cloud-share-picker{position:relative}
.private-cloud-share-picker>summary{list-style:none;cursor:pointer}
.private-cloud-share-picker>summary::-webkit-details-marker{display:none}
.private-cloud-share-picker>div{position:absolute;z-index:25;top:44px;right:0;display:grid;width:270px;gap:6px;padding:8px;border:1px solid #d5e0e8;border-radius:14px;background:#ffffff;box-shadow:0 14px 38px rgba(25,55,75,.2)}
.private-cloud-share-picker>div a{display:grid;gap:3px;padding:10px 11px;border-radius:9px;color:#29485f;text-decoration:none}
.private-cloud-share-picker>div a:hover,.private-cloud-share-picker>div a.is-current{background:#edf5fb;color:#125e98}
.private-cloud-share-picker>div small{color:#647481;font-size:12px}
.private-cloud-actions{display:flex;align-items:center;gap:7px}
.private-cloud-popover{position:relative}
.private-cloud-popover summary{display:grid;width:38px;height:38px;place-items:center;border:1px solid #d2dee7;border-radius:50%;background:#ffffff;color:#31566f;font-size:18px;list-style:none;cursor:pointer;box-shadow:0 3px 12px rgba(40,70,95,.08)}
.private-cloud-popover summary::-webkit-details-marker{display:none}
.private-cloud-popover[open] summary{border-color:#5b9dcc;color:#1675cf}
.private-cloud-popover>div{position:absolute;z-index:20;top:46px;right:0;display:grid;width:220px;gap:9px;padding:15px;border:1px solid #d5e0e8;border-radius:14px;background:#ffffff;box-shadow:0 14px 38px rgba(25,55,75,.2)}
.private-cloud-popover>div strong{font-size:15px}
.private-cloud-popover>div a{color:#1675cf;text-decoration:none}
.private-cloud-popover>div span,.private-cloud-popover>div small{color:#647481}
.private-cloud-popover>div small{padding-top:3px}
.private-cloud-popover>div .private-cloud-space-alert{padding:7px 9px;border-radius:8px;background:#fff3cd;color:#805b00;font-weight:bold}
.private-cloud-popover>div .private-cloud-space-alert.is-error{background:#fae3e3;color:#9d2929}
.private-cloud-space-meter{display:grid;gap:6px;margin-top:3px}
.private-cloud-space-meter>div{height:7px;overflow:hidden;border-radius:7px;background:#dfe7ed}
.private-cloud-space-meter>div span{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#2497ed,#1471c5)}
.private-cloud-space-meter>small{border:0!important;color:#647481;font-size:12px}
.private-cloud-info summary{font-weight:bold}
.private-cloud-mark{
grid-row:1/3;
display:grid;
width:52px;
height:52px;
place-items:center;
border-radius:14px;
background:linear-gradient(145deg,#48a9ff,#1675dd);
color:#ffffff;
font-size:28px;
box-shadow:0 8px 22px rgba(22,117,221,.25);
}
.private-cloud-tabs{
display:flex;
width:max-content;
max-width:100%;
padding:4px;
border-radius:22px;
background:#e4ebf2;
}
.private-cloud-tabs a{
padding:9px 18px;
border-radius:18px;
color:#45596a;
text-decoration:none;
white-space:nowrap;
}
.private-cloud-tabs a.is-active{
background:#ffffff;
color:#116fc7;
box-shadow:0 3px 12px rgba(40,70,95,.12);
}
.private-cloud-library-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.private-cloud-search-button{position:relative;width:38px;height:38px;padding:0;border:1px solid #cad7e0;border-radius:50%;background:#ffffff;cursor:pointer}
.private-cloud-search-button:before{content:"";position:absolute;top:10px;left:10px;width:10px;height:10px;border:2px solid #31566f;border-radius:50%}
.private-cloud-search-button:after{content:"";position:absolute;top:22px;left:22px;width:8px;height:2px;background:#31566f;transform:rotate(45deg);transform-origin:left center}
.private-cloud-folders{display:flex;flex-wrap:wrap;gap:10px;margin:-4px 0 18px}
.private-cloud-folders article{display:grid;min-width:210px;gap:4px;padding:12px 15px;border:1px solid #dbe5ed;border-radius:12px;background:rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(35,70,95,.06)}
.private-cloud-folders span{color:#647481;font-size:13px}
.private-cloud-storage,
.private-cloud-browser,
.private-cloud-disabled{
margin-bottom:18px;
padding:20px;
border:1px solid #dbe5ed;
border-radius:18px;
background:rgba(255,255,255,.9);
box-shadow:0 8px 28px rgba(35,70,95,.08);
}
.private-cloud-upload{margin-bottom:18px}
.private-cloud-storage h2,
.private-cloud-upload h2,
.private-cloud-browser h2{
margin:0 0 8px;
}
.private-cloud-progress{
height:7px;
margin:14px 0;
overflow:hidden;
border-radius:7px;
background:#e1e9ef;
}
.private-cloud-progress span{
display:block;
height:100%;
border-radius:7px;
background:linear-gradient(90deg,#1685e6,#55b5ff);
}
.private-cloud-upload form{display:flex;align-items:center;gap:10px}
.private-cloud-upload select{
padding:10px;
border:1px solid #cad7e0;
border-radius:9px;
background:#ffffff;
}
.private-cloud-upload-button{display:flex;min-width:170px;min-height:46px;align-items:center;justify-content:center;padding:0 20px;border-radius:23px;background:linear-gradient(145deg,#2497ed,#1471c5);color:#ffffff;font-weight:bold;cursor:pointer;box-shadow:0 8px 22px rgba(20,113,197,.24);transition:transform .15s,box-shadow .15s}
.private-cloud-upload-button:hover{transform:translateY(-1px);box-shadow:0 10px 25px rgba(20,113,197,.3)}
.private-cloud-upload-button input{
position:absolute;
width:1px;
height:1px;
opacity:0;
}
.private-cloud-upload form.is-uploading .private-cloud-upload-button{pointer-events:none;opacity:.72}
.private-cloud-browser-title{
display:flex;
align-items:center;
justify-content:space-between;
}
.private-cloud-browser-title span{color:#6d7d89}
.private-cloud-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:14px;
margin-top:16px;
}
.private-cloud-file{
position:relative;
overflow:hidden;
border:1px solid #dbe5ed;
border-radius:14px;
background:#ffffff;
box-shadow:0 5px 18px rgba(35,70,95,.08);
}
.private-cloud-preview{
position:relative;
display:flex;
height:170px;
align-items:center;
justify-content:center;
background:linear-gradient(145deg,#eaf6ff,#dceeff);
color:#1675cf;
text-decoration:none;
}
.private-cloud-preview img{
width:100%;
height:100%;
object-fit:cover;
}
.private-cloud-preview video{width:100%;height:100%;object-fit:cover;background:#101820}
.private-cloud-play{position:absolute!important;top:50%;left:50%;display:block!important;width:27px;height:30px;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 3px rgba(255,255,255,.34));transition:transform .16s}
.private-cloud-play:before{content:"";position:absolute;top:2px;left:3px;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:21px solid rgba(0,0,0,.72)}
.private-cloud-preview:hover .private-cloud-play{transform:translate(-50%,-50%) scale(1.12)}
.private-cloud-preview span{
font-size:20px;
font-weight:bold;
}
.private-cloud-file-info{position:absolute;right:0;bottom:0;left:0;padding:24px 9px 6px;background:linear-gradient(to bottom,transparent,rgba(5,14,21,.82));color:#ffffff;pointer-events:none}
.private-cloud-file-info>strong,
.private-cloud-file-info>small{
display:block;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
.private-cloud-file-info>small{
margin-top:1px;
color:rgba(255,255,255,.78);
}
.private-cloud-file-info>strong{font-size:12px;line-height:1.15}
.private-cloud-file-info>small{font-size:10px;line-height:1.1}
.private-cloud-file-info>div{
display:flex;
gap:9px;
margin-top:10px;
}
.private-cloud-file-info a{color:#1675cf}
.private-cloud-file-info form{display:inline;margin:0}
.private-cloud-file-info button{
padding:0;
border:0;
background:transparent;
color:#bb3d3d;
cursor:pointer;
}
.private-cloud-message{
padding:10px 14px;
border-radius:10px;
background:#dff4e6;
color:#176b3a;
}
.private-cloud-message.is-error{
background:#fae3e3;
color:#9d2929;
}
.private-cloud-message.is-warning{background:#fff3cd;color:#805b00}
.private-cloud-upload-warning{margin:10px 0 0;color:#9d2929;font-weight:bold}
.private-cloud-viewer{width:min(1280px,96vw);height:min(900px,92vh);padding:0;border:0;border-radius:16px;background:#0a0f14;color:#ffffff;box-shadow:0 25px 80px rgba(0,0,0,.55)}
.private-cloud-viewer::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(4px)}
.private-cloud-viewer header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 15px;background:#111b24}
.private-cloud-viewer-title{display:grid;min-width:0;flex:1;gap:2px}
.private-cloud-viewer-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.private-cloud-viewer-title small{overflow:hidden;color:#9fb0bd;text-overflow:ellipsis;white-space:nowrap}
.private-cloud-viewer-actions{display:flex;align-items:center;gap:10px}
.private-cloud-viewer-actions form{display:block;margin:0}
.private-cloud-viewer-actions form[hidden]{display:none}
.private-cloud-viewer-actions button[hidden]{display:none}
.private-cloud-viewer-actions a,.private-cloud-viewer-actions button{display:grid;width:36px;height:36px;padding:0;place-items:center;border:0;border-radius:50%;background:#263743;color:#ffffff;cursor:pointer}
.private-cloud-viewer-actions a{text-decoration:none}
.private-cloud-viewer-actions button[data-cloud-viewer-close]{position:relative;margin-left:8px;font-size:25px}
.private-cloud-viewer-actions button[data-cloud-viewer-close]:before{content:"";position:absolute;top:6px;left:-9px;width:1px;height:24px;background:#526574}
.private-cloud-viewer-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.private-cloud-viewer-content{display:grid;height:calc(100% - 60px);place-items:center;overflow:hidden}
.private-cloud-viewer-content img,.private-cloud-viewer-content video{display:block;max-width:100%;max-height:100%;object-fit:contain}
.private-cloud-viewer-content iframe{width:100%;height:100%;border:0;background:#ffffff}
.private-cloud-viewer-content video{opacity:0;transition:opacity .25s}
.private-cloud-viewer-content video.is-ready{opacity:1}
.private-cloud-viewer-loader{position:absolute;width:38px;height:38px;border:3px solid rgba(255,255,255,.22);border-top-color:#77c2ff;border-radius:50%;animation:cloudViewerSpin .8s linear infinite}
@keyframes cloudViewerSpin{to{transform:rotate(360deg)}}
.private-cloud-document-preview{display:grid;gap:12px;text-align:center}
.private-cloud-document-preview strong{font-size:46px;color:#77c2ff}
.private-cloud-document-preview span{color:#aebdca}

@media(max-width:950px){
.private-cloud-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:700px){
.account-page{grid-template-columns:1fr;padding:20px 12px 45px}
.account-menu{grid-template-columns:repeat(2,1fr)}
.account-menu a{border-right:1px solid #e1e7ec}
.account-grid,.account-form,.account-theme-options{grid-template-columns:1fr}
.account-summary-grid{grid-template-columns:1fr}
.account-list article{align-items:flex-start;flex-direction:column}
.account-preference-section{grid-template-columns:1fr;gap:14px}
.account-form-wide{grid-column:auto}
.private-cloud-page{padding:20px 12px 45px}
.private-cloud-hero{align-items:flex-start;flex-direction:column;gap:12px}
.private-cloud-identity{min-width:0}
.private-cloud-identity p{max-width:calc(100vw - 100px);overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}
.private-cloud-identity h1{font-size:20px}
.private-cloud-actions{width:100%;align-items:center;flex-wrap:nowrap;justify-content:flex-start}
.private-cloud-search-button{align-self:center;margin-left:auto}
.private-cloud-scope>a,.private-cloud-share-picker>summary{padding:8px 10px}
.private-cloud-share-picker>div{position:fixed;top:115px;right:12px;left:12px;width:auto}
.private-cloud-popover>div{position:fixed;top:115px;right:12px;left:12px;width:auto}
.private-cloud-library-tools{align-items:stretch;flex-direction:column}
.private-cloud-tabs{width:100%;box-sizing:border-box}
.private-cloud-tabs a{flex:1;padding:9px 8px;text-align:center}
.private-cloud-folders{display:grid}
.private-cloud-folders article{min-width:0}
.private-cloud-upload form{align-items:stretch;flex-direction:column}
.private-cloud-upload-button{box-sizing:border-box;width:100%;min-height:52px;border-radius:14px}
.private-cloud-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.private-cloud-preview{height:145px}
.private-cloud-browser-title h2{font-size:17px;line-height:1.25}
.private-cloud-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}
.private-cloud-viewer-content{height:calc(100dvh - 60px)}
.private-cloud-viewer header{gap:8px;padding:10px}
.private-cloud-viewer-actions{gap:5px}
.private-cloud-viewer-actions a,.private-cloud-viewer-actions button{width:34px;height:34px}
.private-cloud-viewer-actions button[data-cloud-viewer-close]{margin-left:3px}
}
