:root{color-scheme:dark;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#e7eef6;background:#0c1118;--muted:#8ea1b7;--border:#283647;--blue:#38bdf8}*{box-sizing:border-box}body{margin:0;font-size:15px}[hidden]{display:none!important}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}.primary,.secondary{border:1px solid #2097d2;background:#169bd9;color:white;border-radius:7px;padding:12px 17px;font-weight:600}.primary:hover{background:#20adef}.secondary{background:#192637;border-color:#3b526b;color:#c8d7e7}input{border:1px solid #3c5168;background:#101b28;color:#e7eef6;border-radius:7px;padding:12px 14px;min-width:0}.eyebrow{font-size:12px;font-weight:650;letter-spacing:1.7px;color:#7fa0bb}.brand{display:flex;gap:11px;align-items:center;font-size:27px;letter-spacing:-1px;font-weight:750;white-space:nowrap}.brand b,.login-brand b{font-weight:400}.brand img{width:40px;height:40px}aside{width:250px;position:fixed;inset:0 auto 0 0;padding:28px 20px;background:#111923;border-right:1px solid #243244;display:flex;flex-direction:column}.user-box{display:flex;align-items:center;gap:12px;padding:16px 12px;border:1px solid var(--border);border-radius:9px;margin:32px 0}.user-box>span{display:grid;place-items:center;width:36px;height:36px;background:#20394c;color:#7dcfff;border-radius:10px;font-size:20px}.user-box b{font-size:16px}.user-box small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.nav-caption{padding:0 12px;margin-bottom:15px}nav{display:grid;gap:7px}nav button{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:none;padding:14px;color:#a8bacd;border-radius:7px;font-size:19px}nav button span{font-size:15px;font-weight:550}nav button.active{background:#12354c;color:#6aceff;box-shadow:inset 3px 0 #38bdf8}nav button:hover{background:#1a2b3d}.desktop-card{display:flex;gap:10px;align-items:center;padding:15px 10px;border:1px solid #284c68;background:#132a3e;border-radius:8px;margin-top:auto;margin-bottom:22px}.desktop-card img{width:33px;height:33px}.desktop-card b{font-size:13px}.desktop-card small{display:block;color:#94b4cc;font-size:11px;line-height:1.5;margin-top:5px}.desktop-card>span{margin-left:auto;color:#66cbff;font-size:23px}.quota-card{border-top:1px solid var(--border);padding:20px 4px}.quota-card>div:first-child{display:flex;justify-content:space-between;font-size:13px}.quota-card>div>span{color:var(--muted)}.bar{height:7px;border-radius:6px;background:#263548;overflow:hidden;margin:15px 0}.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#188edd,#4fd1bd);border-radius:6px}.quota-card strong{display:block;font-size:13px}.quota-card small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.logout{border:0;background:none;color:#91a6bb;text-align:left;padding:12px 4px;font-size:13px}.workspace{margin-left:250px;min-height:100vh;display:flex;flex-direction:column}header{height:75px;border-bottom:1px solid #243244;background:#101720;padding:0 35px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}header i{margin:0 18px;color:#41556e}header b{color:#d2e0ed;font-weight:500}header>div{display:flex;gap:8px;align-items:center;font-size:12px}header button{font-size:24px;color:#92a8be;background:none;border:0;margin-left:15px}.status-dot{height:6px;width:6px;border-radius:50%;background:#54d6b4}main{padding:36px;max-width:1750px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading h1{font-size:31px;margin:9px 0;font-weight:650;letter-spacing:-.8px}.page-heading p{margin:0;color:var(--muted);font-size:14px}.actions{display:flex;gap:10px}.file-panel{border:1px solid var(--border);border-radius:10px;background:#141e2a;overflow:hidden;position:relative;min-height:330px}.file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid var(--border)}.file-toolbar input{width:260px;font-size:13px;padding:10px 12px}#breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px}#breadcrumbs button{background:none;border:0;color:#bbd7ed;font-size:14px;padding:4px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;letter-spacing:1px;font-weight:550;color:#859db4;padding:16px 20px;border-bottom:1px solid var(--border);text-transform:uppercase}td{padding:16px 20px;font-size:14px;border-bottom:1px solid #223142}td:nth-child(2),td:nth-child(3){color:#8fa6bc;white-space:nowrap}tbody tr:hover{background:#1a2939}.file-name{display:flex;align-items:center;gap:14px;color:#dce9f5;border:0;background:none;text-align:left;font-size:15px;min-width:180px;overflow-wrap:anywhere}.file-icon{width:35px;height:39px;display:grid;place-items:center;font-size:27px;color:#42bdf7;flex:none}.file-actions{display:flex;gap:8px}.file-actions button{background:#1b2b3d;border:1px solid #34485d;color:#a9c3da;padding:7px 10px;border-radius:5px;font-size:12px;white-space:nowrap}.file-actions button.danger{color:#f2a3ad;border-color:#67404e}.file-footer{padding:16px 20px;display:flex;justify-content:space-between;color:#7f96ad;font-size:12px;gap:20px}.empty{padding:75px 20px;text-align:center;color:#8ca4ba}.empty b{display:block;color:#c4d7e9;font-size:18px;margin-bottom:12px}.bottom-note{margin:22px 0;font-size:12px;color:#7e96ad;line-height:1.7}.bottom-note span{color:#3dcba7;font-size:10px;margin-right:7px}footer{border-top:1px solid #223244;padding:17px 35px;color:#6e879f;font-size:12px;display:flex;justify-content:space-between}.upload-panel{border:1px solid #285371;background:#122a3c;border-radius:9px;padding:18px 22px;margin-bottom:24px}.upload-panel>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:14px}.upload-panel small{color:#88acc6}#drop-hint{position:absolute;inset:0;background:#123a56ed;z-index:4;display:grid;place-items:center;font-size:26px;font-weight:600;border:2px dashed #38bdf8;border-radius:10px}#toast{position:fixed;bottom:25px;right:25px;max-width:460px;background:#1c3548;border:1px solid #3b6b89;padding:15px 22px;border-radius:9px;box-shadow:0 10px 50px #0008;color:#e4f4ff;z-index:10}.login-screen{min-height:100vh;display:grid;place-items:center;padding:35px;background:#1b2733}.login-card{width:min(580px,100%);border:1px solid #3c5062;border-radius:12px;overflow:hidden;box-shadow:0 20px 70px #0004}.login-brand{display:flex;align-items:center;justify-content:center;gap:20px;padding:55px 25px;background:radial-gradient(ellipse at bottom,#15516c55,transparent 70%),#0a1d30;font-size:49px;font-weight:750;letter-spacing:-1.8px}.login-brand img{width:71px;height:71px}.login-card form{display:grid;padding:35px 45px;background:#293a49;gap:10px}.login-card h1{font-size:29px;margin:8px 0}.login-card p{margin:0 0 10px;color:#a3b7c9;line-height:1.6}.login-card label{font-size:14px;margin-top:9px}.login-card input{font-size:17px}.login-card small{font-size:12px;color:#99adbe;text-align:center;line-height:1.6;margin-top:10px}#login-error{color:#ffb1b7}.login-card .primary{margin:10px 0}@media(max-width:1050px){aside{width:215px;padding:25px 15px}.brand{font-size:24px;gap:8px}.brand img{width:34px;height:34px}.workspace{margin-left:215px}main{padding:25px}.page-heading{flex-wrap:wrap}td,th{padding:14px}.file-footer{flex-wrap:wrap}}@media(max-width:700px){aside{position:relative;width:100%;padding:16px;display:block;border-right:0;border-bottom:1px solid var(--border)}.brand{font-size:26px}.user-box{position:absolute;right:16px;top:10px;border:0;margin:0;padding:7px}.user-box small,.nav-caption,.desktop-card,.logout{display:none}.user-box>span{display:none}nav{display:flex;margin-top:17px}nav button{padding:10px;font-size:16px}nav button span{font-size:13px}.quota-card{padding:12px 0 0;margin-top:12px}.quota-card .bar{margin:10px 0}.quota-card strong,.quota-card small{display:inline;font-size:12px;margin-right:10px}.workspace{margin:0}header{height:55px;padding:0 20px}header>div>span:last-of-type{display:none}main{padding:22px 14px}.page-heading h1{font-size:27px}.file-toolbar{flex-wrap:wrap;padding:15px}.file-toolbar input{width:100%}.actions{width:100%}.actions button{flex:1;font-size:13px;padding:11px}td:nth-child(3),th:nth-child(3){display:none}.file-name{font-size:13px;min-width:140px}.file-actions{flex-wrap:wrap}.file-actions button{font-size:11px;padding:6px}.login-brand{font-size:35px;gap:12px}.login-brand img{width:53px;height:53px}.login-card form{padding:30px 24px}footer{padding:15px}footer span{display:none}}

/* Keep long account emails inside the sidebar card. */
.user-box{min-width:0}
.user-box>span{flex:0 0 36px}
.user-box>div{flex:1;min-width:0}
.user-box b{display:block;max-width:100%;overflow-wrap:anywhere;word-break:normal;line-height:1.45}
.user-box small{line-height:1.4}
@media(max-width:700px){.user-box{position:static;max-width:100%;margin:14px 0 0;padding:0}.user-box b{font-size:14px}}

/* Media library and inline previews. */
aside{overflow-y:auto}nav{gap:3px}.nav-group{font-size:10px;letter-spacing:1.5px;color:#6d8ba3;padding:12px 12px 4px}nav button{padding:10px 12px}.nav-caption{display:none}.user-box{margin:22px 0 15px}.desktop-card{margin-top:22px;margin-bottom:8px;flex-shrink:0}.android-card{margin-top:0;margin-bottom:15px}.media-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.media-toolbar>div{margin-right:auto}.media-toolbar small{display:block;color:#87a3bb;margin-top:8px;font-size:12px}.media-toolbar input{width:235px}.media-toolbar button{font-size:12px;padding:9px 12px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.media-tile{padding:0;position:relative;overflow:hidden;border:1px solid #304256;background:#162433;color:#edf4fb;border-radius:10px;text-align:left;min-height:210px}.media-tile>img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}.media-tile-caption{display:block;padding:12px}.media-tile-caption b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.media-tile-caption small{display:block;color:#92abc1;margin-top:7px;font-size:11px}.media-kind{position:absolute;top:9px;right:9px;background:#0d1a2bcf;padding:5px 8px;border-radius:5px;font-size:10px}.person-card{position:relative;border:1px solid #2a4055;border-radius:12px;padding:18px;background:#152230;text-align:center}.person-card>input{position:absolute;left:12px;top:12px;width:19px;height:19px}.person-card>button:first-of-type{border:0;background:none;color:#e1eef8;width:100%}.person-card img{display:block;width:min(160px,100%);height:auto;aspect-ratio:1/1;border-radius:50%;object-fit:cover;margin:0 auto 15px}.person-card b,.person-card small{display:block;margin-top:7px}.person-card small{color:#89a4bd}.person-rename{border:1px solid #36556c;color:#afcce0;background:#193248;border-radius:6px;padding:7px 12px;font-size:12px;margin-top:14px}#media-pages{display:flex;justify-content:center;gap:15px;margin:20px}#media-pages button{background:#17384d;border:1px solid #34607d;color:#c4e5fa;padding:11px 18px;border-radius:6px}.media-empty{padding:45px 20px;color:#8faac0;grid-column:1/-1;text-align:center;line-height:1.7}#media-map{height:560px;border:1px solid #314d63;border-radius:10px;background:#0c2434;z-index:0}.map-photo-cluster{background:#1da8d9;border:3px solid #96dcf2;border-radius:50%;color:white;display:grid;place-items:center;box-shadow:0 3px 14px #0008;font:bold 16px Arial}.leaflet-control-attribution{background:#172f40!important;color:#b6c9d9!important}.leaflet-control-zoom a{background:#18364a!important;color:#d6e9f4!important;border-color:#3d5970!important}#preview-dialog{width:calc(100vw - 36px);height:calc(100vh - 36px);max-width:1600px;max-height:none;padding:0;border:1px solid #3c5268;border-radius:12px;background:#0c1520;color:#e6f0fa;overflow:hidden}#preview-dialog[open]{display:flex;flex-direction:column}#preview-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.preview-header{display:flex;align-items:center;gap:16px;padding:13px 18px;border-bottom:1px solid #2b4053;min-height:60px}.preview-header>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.preview-header>button{height:36px;min-width:38px;font-size:23px;background:#1d3348;border:1px solid #36546c;color:#d1e9fa;border-radius:7px}#preview-content{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:auto;background:#07101a}#preview-content>img,#preview-content>video{max-width:100%;max-height:100%;object-fit:contain}#preview-content>iframe{width:100%;height:100%;border:0;background:white}#preview-content>p{color:#adc4d8;padding:25px}.preview-footer{display:flex;align-items:center;gap:15px;padding:12px 18px;flex-wrap:wrap;font-size:12px;color:#86a6bf;border-top:1px solid #263e54}.preview-footer button{font-size:12px;padding:9px 13px}.native-shell aside,.native-shell header,.native-shell footer,.native-shell .bottom-note{display:none}.native-shell .workspace{margin-left:0}.native-shell main{padding:18px 12px}.native-shell .page-heading{margin-bottom:18px}.native-shell .page-heading .eyebrow{display:none}
@media(max-width:700px){.user-box{position:static}.desktop-card{display:flex;margin-top:10px}.android-card{margin-top:8px}nav{flex-wrap:wrap;gap:5px}.nav-group{display:none}nav button{padding:8px 9px}aside{overflow:visible}.desktop-card{display:none}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.media-tile>img{height:auto;aspect-ratio:1/1}.media-tile{min-height:190px}.media-toolbar input{width:100%}#media-map{height:65vh}.person-card{padding:15px 8px}.person-card img{width:min(120px,100%);height:auto;aspect-ratio:1/1}#preview-dialog{width:100vw;height:100dvh;max-width:100%;margin:0;border-radius:0}.preview-footer span{display:none}}
.pdf-pages{height:100%;width:100%;overflow:auto;padding:20px;background:#26313b;display:block}.pdf-pages figure{max-width:960px;margin:0 auto 22px}.pdf-pages img{display:block;width:100%;max-height:none!important;height:auto!important;object-fit:contain;background:white;box-shadow:0 4px 15px #0005}.pdf-pages figcaption{text-align:center;padding:10px;color:#c6dbe9;font-size:14px}

.password-control{position:relative;width:100%;min-width:0}.password-control>input{width:100%;padding-right:52px!important}.password-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:7px!important;margin:0!important;border:0!important;background:transparent!important;color:#81aeca!important;cursor:pointer}.password-eye:hover{color:#c6ecff!important}.user-box{flex-direction:column;align-items:center;text-align:center;gap:10px}.user-box>div{width:100%;min-width:0}.user-box b{font-size:13px!important;font-weight:600;letter-spacing:0;line-height:1.5}.user-box small{font-size:12px;margin-top:4px}#avatar{width:42px;height:42px;flex-basis:auto}.folder-back{font-size:26px!important;min-width:44px;min-height:44px;padding:4px 10px!important;border:1px solid #375871!important;background:#17384d!important;border-radius:7px}.folder-back:disabled{opacity:.35;cursor:default}@media(max-width:700px){.desktop-card.android-card{display:flex}.user-box{display:flex;align-items:center;flex-direction:column}.password-eye{min-width:40px}}

@media(max-width:700px){.user-box>#avatar{display:grid}}

#preview-zoom{display:flex;align-items:center;gap:6px;flex-shrink:0}#preview-zoom button{display:grid;place-items:center;height:36px;min-width:36px;padding:5px;border:1px solid #36546c;border-radius:7px;background:#1d3348;color:#d1e9fa}#preview-zoom #preview-zoom-fit{font-size:12px;padding:5px 10px}#preview-zoom-value{font-size:12px;min-width:43px;text-align:center;font-variant-numeric:tabular-nums}.image-zoom-viewport{width:100%;height:100%;overflow:auto;display:flex;padding:12px;cursor:grab;user-select:none}.image-zoom-canvas{flex:none;position:relative;margin:auto}.image-zoom-canvas>img{display:block;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none;object-fit:contain}.image-zoom-viewport.dragging,.pdf-pages.dragging{cursor:grabbing}.pdf-pages{cursor:grab;user-select:none}.pdf-pages img{pointer-events:none}@media(max-width:700px){.preview-header{gap:8px;padding:10px;flex-wrap:wrap}.preview-header>b{min-width:100px}#preview-zoom{order:3;width:100%;justify-content:center}.preview-header>button{margin-left:auto}}

#rows tr.uploaded-now{background:#123c48;box-shadow:inset 3px 0 #4fd1bd;transition:background .5s}

.workspace{padding-bottom:30px}#server-resources{position:fixed;left:250px;right:0;bottom:0;min-height:29px;padding:6px 15px;background:#111c27;border-top:1px solid #293f53;display:flex;align-items:center;gap:18px;color:#b6cadb;font-size:11px;z-index:6;flex-wrap:wrap}#server-resources>b{color:#e0eef8}#server-resources>span{display:flex;align-items:center;gap:7px}#server-resources strong{font-weight:650;font-variant-numeric:tabular-nums}.metric-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#64798b}#server-resources.has-metrics .metric-dot{background:#48d6ab}#server-resources.has-metrics .metric-dot.over-limit{background:#fa6d78}.native-shell #server-resources{left:0}#preview-dialog{height:calc(100dvh - 64px)}@media(max-width:1050px){#server-resources{left:215px}}@media(max-width:700px){#server-resources{left:0;gap:9px;padding:6px 10px;font-size:10px}.workspace{padding-bottom:44px}#preview-dialog{height:100dvh}}

/* Giampy preview controls: soft relief, cyan highlights, original vector icons. */
.preview-nav,.preview-header>button,#preview-zoom button{position:relative;overflow:hidden;display:grid;place-items:center;height:44px;min-width:44px;padding:7px;border:1px solid #4085a6;border-radius:11px;color:#ebf8ff;background:linear-gradient(165deg,#267b9f,#174e70 60%,#123c5c);box-shadow:0 3px 0 #06131f,0 4px 9px #0003,inset 0 1px 0 #b7edff59,inset 0 -1px 0 #062d4780;transition:filter .12s,transform .12s,box-shadow .12s}.preview-header>button::before,#preview-zoom button::before{content:"";position:absolute;inset:2px 2px 45%;border-radius:9px 9px 50% 0;background:linear-gradient(145deg,#c4f5ff3b,#c4f5ff08);pointer-events:none}.preview-header>button:hover,#preview-zoom button:hover{filter:brightness(1.16)}.preview-header>button:active,#preview-zoom button:active{transform:translateY(2px);box-shadow:0 1px 0 #06131f,inset 0 1px 0 #b7edff40}.preview-header>button:disabled,#preview-zoom button:disabled{opacity:.4;cursor:default}#preview-zoom #preview-zoom-fit{font-size:13px;font-weight:600;min-width:66px;padding:7px 12px}#preview-zoom-value{color:#d8effc;font-weight:600}.preview-header svg{filter:drop-shadow(0 1px 0 #071e32);stroke-linecap:round;stroke-linejoin:round}#preview-zoom svg{stroke-width:2.2}

.native-shell #server-resources{display:none!important}.native-shell .workspace{padding-bottom:0}

.native-shell #preview-dialog{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}.native-shell .preview-header{gap:6px;padding:7px;flex-wrap:wrap}.native-shell .preview-header>b{font-size:12px}.native-shell .preview-footer{padding:7px;gap:6px}.native-shell #preview-zoom{gap:4px}.native-shell #preview-zoom button{min-width:38px}.print-frame{position:fixed;left:-10000px;top:0;width:900px;height:1000px;border:0}

aside{width:290px}.workspace{margin-left:290px}#server-resources{left:290px}#user-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;max-width:100%}@media(max-width:1050px) and (min-width:701px){aside{width:260px}.workspace{margin-left:260px}#server-resources{left:260px}#user-label{font-size:12px}}@media(max-width:700px){aside{width:100%}.workspace{margin-left:0}#server-resources{left:0}}.native-shell .workspace{margin-left:0}

.ai-card{margin-top:20px;padding:16px 0 0;border-top:1px solid #263e51;flex-shrink:0}.ai-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;font-size:12px}.ai-card strong{color:#63cffa;font-size:12px}.ai-card small{display:block;font-size:11px;color:#b4c9da;line-height:1.5;margin-top:8px}.ai-card .ai-scope{font-size:10px;color:#789ab3;margin-top:3px}.ai-card .bar{height:6px}.ai-card .bar i{transition:width .4s ease;background:linear-gradient(90deg,#1399d6,#53d5bd)}

.nav-group{font-size:13px;font-weight:750;letter-spacing:1px;color:#c1e8fa;padding-top:20px;padding-bottom:8px;text-transform:uppercase}

.media-sort-label{display:flex;flex-direction:column;gap:5px;color:#a9c5d9;font-size:11px}.media-sort-label select{background:#142c3e;border:1px solid #395e79;border-radius:9px;color:#e5f4fc;padding:10px 13px;font:inherit;font-size:13px;min-height:40px}.media-date{grid-column:1/-1;margin:15px 0 0;padding:7px 0 10px;color:#d7edf9;font-size:18px;border-bottom:1px solid #254158;font-weight:700;text-transform:capitalize}.media-date:first-child{margin-top:0}@media(max-width:700px){.media-sort-label{flex:1}.media-sort-label select{width:100%}.media-date{font-size:16px}}

/* All previews occupy the whole GiampyWeb page, on desktop and in the app. */
#preview-dialog{position:fixed;inset:0;margin:0;padding:0;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}
body:has(>#preview-dialog[open]){overflow:hidden}
#preview-dialog>.preview-header,#preview-dialog>.preview-footer{flex-shrink:0}
#preview-content{min-width:0}

.preview-stage{position:relative;flex:1;min-height:0;min-width:0;display:flex;overflow:hidden}
.preview-stage>#preview-content{width:100%;height:100%}
.preview-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:58px;display:grid;place-items:center;border:1px solid #4085a6;border-radius:12px;color:#ebf8ff;background:linear-gradient(165deg,#267b9fe6,#174e70e6 60%,#123c5ce6);box-shadow:0 3px 10px #0006;cursor:pointer}
.preview-nav-previous{left:12px}.preview-nav-next{right:12px}.preview-nav:disabled{opacity:.3;cursor:default}.preview-nav:hover:not(:disabled){filter:brightness(1.2)}
@media(max-width:700px){.preview-nav{width:38px;height:48px}.preview-nav-previous{left:5px}.preview-nav-next{right:5px}}

/* Reference supplied by Giampaolo: glossy rounded cyan key, bold white symbols. */
.preview-header>button,#preview-zoom button,.preview-nav{overflow:hidden;isolation:isolate;color:#fff;border:1px solid #55b9df;border-radius:14px;background:linear-gradient(160deg,#2489ae 0%,#11668d 48%,#0b436d 100%);box-shadow:0 3px 0 #031725,0 5px 12px #0005,inset 0 1px 1px #c0f3ff9c,inset 0 -2px 2px #032c4c;}
.preview-header>button::before,#preview-zoom button::before,.preview-nav::before{content:"";position:absolute;inset:2px;z-index:-1;pointer-events:none;border-radius:12px;background:linear-gradient(150deg,#c4f5ff78,#72d6ef33);clip-path:polygon(0 0,100% 0,100% 22%,0 75%)}
.preview-nav{width:54px;height:62px}.preview-nav svg{width:30px;height:30px;filter:drop-shadow(1px 2px 0 #032942)}
.preview-header svg{filter:drop-shadow(1px 1px 0 #032942)}
@media(max-width:700px){.preview-nav{width:42px;height:50px}.preview-nav svg{width:25px;height:25px}}

/* Folder back uses the same glossy Giampy key as the preview arrows. */
#breadcrumbs .folder-back{position:relative;overflow:hidden;isolation:isolate;display:inline-grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:7px!important;color:#fff;border:1px solid #55b9df!important;border-radius:14px;background:linear-gradient(160deg,#2489ae 0%,#11668d 48%,#0b436d 100%)!important;box-shadow:0 3px 0 #031725,0 5px 12px #0005,inset 0 1px 1px #c0f3ff9c,inset 0 -2px 2px #032c4c}
#breadcrumbs .folder-back::before{content:"";position:absolute;inset:2px;z-index:-1;pointer-events:none;border-radius:12px;background:linear-gradient(150deg,#c4f5ff78,#72d6ef33);clip-path:polygon(0 0,100% 0,100% 22%,0 75%)}
#breadcrumbs .folder-back svg{filter:drop-shadow(1px 2px 0 #032942)}
#breadcrumbs .folder-back:hover:not(:disabled){filter:brightness(1.2)}
#breadcrumbs .folder-back:disabled{opacity:.35;cursor:default}

#media-map{background:#0b2b41}
#media-map .map-photo-cluster{display:flex!important;align-items:center;justify-content:center;text-align:center;line-height:1;font-weight:750;font-size:16px;color:#fff;border:3px solid #9ce8ff;box-shadow:0 3px 12px #0008;z-index:500!important}
#media-map .map-photo-cluster>span{display:block;margin:0;padding:0}
.map-place-label{color:#eff7fc;font:600 12px "Segoe UI",Arial,sans-serif;text-align:center;white-space:nowrap;text-shadow:0 1px 3px #00121f,0 -1px 3px #00121f}
.map-country-label{font-size:13px;letter-spacing:.5px;color:#c7e2ef}
.map-detail-note{display:block;color:#9bb4c8;margin-top:9px;font-size:12px}
.map-detail-note:not(:has(+*)){margin-bottom:10px}
#media-map[hidden]+.map-detail-note{display:none}
.map-photo-popup{color:#e7f2fa}.map-popup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px;max-height:260px;overflow:auto}.map-popup-grid button{padding:0;border:1px solid #4389a9;border-radius:8px;overflow:hidden;background:#183649}.map-popup-grid img{width:75px;height:75px;display:block;object-fit:cover}
#media-map .leaflet-popup-content-wrapper,#media-map .leaflet-popup-tip{background:#142c3d;color:#e7f2fa}

#media-map .leaflet-control-layers{background:#173447;color:#e6f4fc;border:1px solid #44667f;border-radius:9px}
#media-map .leaflet-control-layers-toggle{background-image:none;display:grid;place-items:center}
#media-map .leaflet-control-layers-toggle::before{content:"▱";font-size:30px;line-height:1;color:#a6e8ff}
#media-map .leaflet-control-layers-expanded{padding:10px 13px}
#media-map .leaflet-control-layers label{font-size:13px;line-height:1.9}

/* GiampyDroid 1.8: albums as the Media landing page, isolated from the desktop UI. */
.native-shell.native-albums .workspace{padding-bottom:0}
.native-shell.native-albums main{padding:8px 9px}
.native-albums #media-index-status,.native-albums #index-progress{display:none!important}
.native-albums.album-home .page-heading,.native-albums.album-home .media-toolbar,.native-albums.album-home #media-pages{display:none!important}
.native-albums.album-home .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.native-albums.album-home .album-tile{position:relative;aspect-ratio:1;min-height:0;border:0;border-radius:9px;isolation:isolate;background:#172b3b}
.native-albums.album-home .album-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.native-albums.album-home .album-tile .media-kind{display:none}
.native-albums.album-home .album-tile .media-tile-caption{position:absolute;inset:auto 0 0;padding:32px 12px 12px;background:linear-gradient(transparent,rgba(2,10,17,.84));color:#fff;text-shadow:0 1px 3px #000}
.native-albums.album-home .album-tile b{white-space:normal;overflow-wrap:anywhere;font-size:clamp(16px,5vw,23px);line-height:1.15;font-weight:750}
.native-albums.album-home .album-tile small{display:block;color:#fff;font-size:clamp(17px,5.2vw,24px);line-height:1.15;font-weight:750;margin-top:5px}
.native-albums:not(.album-home) .page-heading{margin-bottom:8px}
.native-albums:not(.album-home) .page-heading h1{font-size:23px;margin:0}
.native-albums:not(.album-home) .page-heading p{display:none}
.native-albums .media-toolbar{gap:8px;margin-bottom:10px}
.native-albums .media-toolbar input{min-width:0;flex:1;width:auto}
.native-albums .media-sort-label{font-size:11px}

/* Email verification opens a dedicated centered result, before any session lookup. */
#email-confirmation{background:#0b121a;padding:24px;min-height:100dvh}.email-confirmation-card{text-align:center;max-width:620px}.email-confirmation-content{padding:38px 28px 42px;background:#111e2a;display:grid;justify-items:center;gap:16px}.email-confirmation-content h1{font-size:30px;margin:0}.email-confirmation-content p{margin:0;max-width:470px}#email-confirmation-message{font-size:20px;font-weight:650;color:#e0f2fc}#email-confirmation-detail{font-size:15px}#email-confirmation-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;color:#5cddca;background:#153a47;border:1px solid #2c7183;font-size:38px;font-weight:700}.email-confirmation-content button{margin:6px 0 0}@media(max-width:600px){#email-confirmation .login-brand{font-size:36px;padding:30px 18px;gap:12px}#email-confirmation .login-brand img{width:52px;height:52px}.email-confirmation-content{padding:30px 20px}.email-confirmation-content h1{font-size:27px}#email-confirmation-message{font-size:18px}}

.office-intro{border:1px solid var(--border);border-radius:12px;padding:22px;background:#12212d}.office-intro>b{font-size:20px}.office-intro p{color:var(--muted);line-height:1.6;margin:10px 0 0}.office-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 35px}.office-new{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:13px;padding:25px;border-radius:16px;border:1px solid #34617a;color:#ecf8ff;background:linear-gradient(145deg,#1b3d53,#112231);box-shadow:inset 0 1px #a1e6ff24,0 5px 16px #0003}.office-new:hover{border-color:#45c7f4;filter:brightness(1.12)}.office-new strong{font-size:19px}.office-new small{color:#a7bdcd}.office-letter{display:grid;place-items:center;width:52px;height:55px;border-radius:10px;background:#197da3;font-size:29px;font-weight:800;box-shadow:inset 0 1px #ffffff38,0 4px 0 #071c2c}.office-cell .office-letter{background:#16806e}.office-slide .office-letter{background:#a76037}.office-doc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.office-document-list{display:grid;gap:10px}.office-document{display:flex;align-items:center;text-align:left;gap:17px;width:100%;padding:19px;border:1px solid var(--border);border-radius:11px;background:#15232f;color:#e3eff7}.office-document>strong{flex:1;overflow-wrap:anywhere}.office-document>small{color:var(--muted)}#office-create-dialog{width:min(520px,calc(100vw - 30px));border:1px solid #365b73;border-radius:16px;background:#111e2a;color:#edf7ff;padding:0}#office-create-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}#office-create-form{display:grid;gap:17px;padding:28px}#office-create-form h2{margin:0}#office-create-form>div{display:flex;justify-content:flex-end;gap:12px}#office-create-form small{color:#9bb5c9;line-height:1.5}#office-create-error{color:#ffb1b7;margin:0}@media(max-width:1000px){.office-create-grid{grid-template-columns:1fr}.office-new{display:grid;grid-template-columns:52px 1fr;align-items:center}.office-new .office-letter{grid-row:span 2}.office-document{flex-wrap:wrap}.office-document>small{width:100%}.office-doc-heading{flex-wrap:wrap}}

/* Freccia coerente con i file, sempre disponibile nella sezione Volti. */
:is(.media-toolbar,.profile-heading) .media-back{position:relative;overflow:hidden;isolation:isolate;display:inline-grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:7px!important;color:#fff;border:1px solid #55b9df!important;border-radius:14px;background:linear-gradient(160deg,#2489ae 0%,#11668d 48%,#0b436d 100%)!important;box-shadow:0 3px 0 #031725,0 5px 12px #0005,inset 0 1px 1px #c0f3ff9c,inset 0 -2px 2px #032c4c}
:is(.media-toolbar,.profile-heading) .media-back::before{content:"";position:absolute;inset:2px;z-index:-1;pointer-events:none;border-radius:12px;background:linear-gradient(150deg,#c4f5ff78,#72d6ef33);clip-path:polygon(0 0,100% 0,100% 22%,0 75%)}
:is(.media-toolbar,.profile-heading) .media-back svg{filter:drop-shadow(1px 2px 0 #032942)}
:is(.media-toolbar,.profile-heading) .media-back:hover:not(:disabled){filter:brightness(1.2)}
:is(.media-toolbar,.profile-heading) .media-back:disabled{opacity:.35;cursor:default}

/* Testata Posizioni compatta, mappa alta senza superare inutilmente la finestra. */
.positions-view main{padding-top:22px}
.positions-view .page-heading{margin-bottom:12px}
.positions-view .page-heading h1{margin:5px 0 7px}
.positions-view .media-toolbar{gap:10px;margin-bottom:7px}
.positions-view .media-toolbar small{margin-top:4px}
.positions-view #index-progress{margin:9px 0 12px}
#media-map{height:clamp(480px,68dvh,850px)}
@media(max-width:700px){.positions-view main{padding-top:14px}#media-map{height:65dvh;min-height:400px}}

/* Compact sidebar, keeping text sizes and a larger profile photo. */
.user-box{margin:14px 0 6px;padding:10px 12px;gap:6px}.nav-group{padding-top:12px;padding-bottom:5px}
#avatar{display:grid;place-items:center;width:66px;height:66px;padding:0;flex-shrink:0;border:1px solid #35566e;border-radius:13px;background:#20394c;color:#7dcfff;font-size:25px;overflow:hidden}
#avatar img,#profile-picture img{width:100%;height:100%;object-fit:cover;display:block}
.desktop-card{padding:8px 10px;margin-top:14px;margin-bottom:6px;gap:10px}.android-card{margin-top:0;margin-bottom:10px}.desktop-card small{margin-top:3px}.download-symbol{display:grid;place-items:center;flex-shrink:0}
.profile-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:#b9d4e7}
.profile-card{max-width:540px;border:1px solid #2b4357;border-radius:13px;background:#152230;padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
#profile-picture{display:grid;place-items:center;width:112px;height:112px;border-radius:20px;overflow:hidden;background:#20394c;color:#7dcfff;font-size:45px;border:1px solid #35566e}
.profile-photo-label{cursor:pointer}.profile-card>small,.profile-card form>small{color:#91adc3;line-height:1.5;font-size:12px}.profile-card form{display:grid;gap:12px;width:100%;margin-top:8px}.profile-card form>label{font-weight:650}.profile-card form input{width:100%}#profile-message{margin:0;min-height:20px;font-size:13px;color:#80d9cd}.profile-card .primary{justify-self:start}
@media(max-width:700px){.profile-card{padding:20px}.user-box{margin:8px 0}.desktop-card.android-card{padding:8px 10px}}

.desktop-card{gap:7px;padding:8px}.desktop-card>div{min-width:0;flex:1}.desktop-card img{width:30px;height:30px}.download-symbol svg{width:21px;height:21px}

#profile-crop-dialog{padding:0;width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #3b617b;border-radius:16px;background:#111f2d;color:#e7eef6}
#profile-crop-dialog::backdrop{background:#030a12c9;backdrop-filter:blur(5px)}.profile-crop-content{padding:22px}.profile-crop-content h2{margin:0 0 8px;font-size:23px}.profile-crop-content>p{font-size:13px;color:#a9c3d7;line-height:1.5;margin:8px 0 16px}
.profile-crop-frame{width:min(320px,100%);aspect-ratio:1;margin:0 auto 18px;position:relative;border:2px solid #47c9f2;border-radius:14px;overflow:hidden;background:#07121c;box-shadow:0 0 0 1px #133d56}
#profile-crop-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-4px}#profile-crop-canvas:active{cursor:grabbing}.profile-crop-frame::after{content:'';position:absolute;inset:12%;border:1px dashed #ffffff80;border-radius:50%;pointer-events:none;box-shadow:0 0 0 150px #0001}
.profile-crop-zoom{display:flex;justify-content:space-between;font-size:13px;font-weight:600}.profile-crop-zoom output{color:#63d1f6}#profile-crop-zoom{display:block;width:100%;padding:8px 0;accent-color:#25b9e9;margin:4px 0}
#profile-crop-message{min-height:20px;margin-bottom:10px}.profile-crop-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.profile-crop-actions button{padding:10px 12px;font-size:13px}.profile-crop-actions button:first-child{margin-right:auto}
@media(max-width:420px){.profile-crop-content{padding:16px}.profile-crop-actions button{font-size:12px;padding:10px}}

.copy-card{margin-top:20px;padding:16px 0 0;border-top:1px solid #263e51;flex-shrink:0}.copy-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;font-size:12px}.copy-card strong{color:#63cffa;font-size:12px}.copy-card small{display:block;font-size:11px;color:#b4c9da;line-height:1.5;margin-top:8px}.copy-card .ai-scope{font-size:10px;color:#789ab3;margin-top:3px}.copy-card .bar{height:6px}.copy-card .bar i{transition:width .4s ease;background:linear-gradient(90deg,#1399d6,#53d5bd)}
.copy-card{margin-top:16px}.ai-card{margin-top:12px;padding-top:12px}

/* Larger photo/video previews; album covers and face groups retain their own layout. */
#media-grid.large-media-tiles{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
#media-grid.large-media-tiles .media-tile{min-height:0}
#media-grid.large-media-tiles .media-tile>img{height:auto;aspect-ratio:1/1;object-fit:cover}
@media(max-width:700px){#media-grid.large-media-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}

.embedded-view #login{display:none!important}.native-session-status{max-width:440px;margin:18vh auto 0;padding:24px;text-align:center;color:#b9d3e4;font-size:16px}.native-session-status p{line-height:1.5}.native-session-status button{margin-top:12px}

/* Personal device page: real account registrations; remote commands await native support. */
.devices-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.devices-intro p,.devices-info p{color:var(--muted,#92aabd);margin:8px 0}.devices-stage,.device-badge{font-size:12px;color:#75d8ee;background:#153448;border:1px solid #285064;padding:6px 10px;border-radius:20px}.devices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:22px;margin:20px 0}.device-card{display:flex;gap:20px;background:#142330;border:1px solid #294355;border-radius:18px;padding:24px}.device-art{width:155px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse,#17415a,transparent 75%);text-align:center}.device-art span{font-size:11px;color:#91a8b8;margin-top:10px}.device-details{flex:1;min-width:0}.device-details h2{font-size:23px;margin:16px 0 6px}.device-details>p{overflow-wrap:anywhere;color:#92aabd;font-size:13px}.device-details dl{margin:20px 0}.device-details dl div{margin:12px 0}.device-details dt{font-size:12px;color:#92aabd}.device-details dd{margin:4px 0;font-size:14px}.device-controls{display:grid;gap:9px}.device-controls>b{margin-bottom:3px}.device-controls button:disabled{opacity:.55;cursor:not-allowed}.device-controls small{color:#92aabd;font-size:12px}.devices-info{border:1px solid #294355;border-radius:12px;padding:20px;background:#101e29}.devices-info p{line-height:1.6;max-width:850px}@media(max-width:600px){.device-card{flex-direction:column;padding:20px}.device-art{width:100%}.device-art svg{height:175px}.devices-intro{align-items:flex-start;flex-direction:column}.devices-stage{font-size:11px}}

#device-position-dialog{width:min(1000px,94vw);max-width:94vw;background:#142330;color:#e2effa;border:1px solid #294355;border-radius:14px;padding:16px}.device-position-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}#device-position-map{height:65vh;min-height:300px;border-radius:10px}.device-art svg{max-width:100%}

#native-pull-refresh{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:1000;padding:10px 17px;border:1px solid #3487a5;border-radius:22px;background:#123549;color:#e2effa;box-shadow:0 4px 15px #0006;font-size:14px;pointer-events:none;white-space:nowrap}#native-pull-refresh[hidden]{display:none}

/* Personal overview: folders, memories and trusted devices. */
#overview-panel{display:grid;gap:18px}.overview-welcome{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;padding:30px;border:1px solid #294354;border-radius:14px;background:radial-gradient(ellipse at right,#16415b88,transparent 70%),#131e29}.overview-welcome h2{font-size:30px;margin:12px 0}.overview-welcome p{color:#91aabd;line-height:1.6}.overview-welcome>div>span:first-child{font-size:11px;letter-spacing:2px;color:#63c7e7;font-weight:700}.overview-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.overview-storage{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-left:1px solid #304454;padding-left:32px;gap:9px}.overview-storage>b{font-size:38px;color:#e2f6ff}.overview-storage small{color:#a6bed0}.overview-storage-note{font-size:11px;color:#7894ab}.overview-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:18px}.overview-card{background:#141f2a;border:1px solid #253645;border-radius:12px;padding:22px;min-width:0}.overview-card-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.overview-card-heading h2{font-size:18px;margin:0}.overview-card-heading small{display:block;color:#819bae;margin-top:6px}.overview-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.overview-folders button{display:flex;align-items:flex-start;flex-direction:column;gap:9px;padding:17px 12px;background:#102534;border:1px solid #284255;border-radius:9px;color:#daeaf5;text-align:left;min-width:0}.overview-folders button>span{font-size:32px;color:#35b9e9;line-height:1}.overview-folders b{overflow-wrap:anywhere;font-size:13px}.overview-folders small{color:#829db1;font-size:11px}.overview-empty{color:#91a9bb;line-height:1.6;padding:12px 0}.overview-devices{display:grid;gap:12px;max-height:330px;overflow:auto}.overview-devices article{display:flex;align-items:center;gap:15px;padding-bottom:16px;border-bottom:1px solid #293d4d}.overview-phone{font-size:46px;color:#76d1ef;line-height:1}.overview-devices article>div{flex:1;min-width:0}.overview-devices b{display:block;font-size:14px;overflow-wrap:anywhere}.overview-devices small,.overview-devices article>div>span{display:block;font-size:11px;color:#8ba7ba;margin-top:6px}.overview-devices article>div>span{color:#6dd5b5}.overview-pair{display:flex;width:100%;align-items:center;gap:13px;text-align:left;background:#102d3d;border:1px dashed #3a728f;color:#d6effc;border-radius:10px;padding:17px;margin-top:20px}.overview-pair>span{font-size:37px;color:#69d4ef}.overview-pair>div{flex:1}.overview-pair b{display:block;font-size:14px}.overview-pair small{display:block;color:#93afc0;margin-top:6px;line-height:1.5}.overview-pair strong{font-size:24px}.overview-memories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.overview-memories button{padding:0;overflow:hidden;border:1px solid #294051;border-radius:8px;background:#102331;color:#a5bfce;text-align:left}.overview-memories img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.overview-memories span{font-size:10px;display:block;padding:9px 7px}.overview-root-files{margin-top:18px;font-size:13px}.overview-root-files button{display:flex;justify-content:space-between;gap:10px;width:100%;text-align:left;border:0;border-top:1px solid #293b49;background:transparent;color:#c1d8e6;padding:12px 0}.overview-root-files small{color:#8099aa}.overview-root-files>b{display:block;margin-bottom:10px}
#pairing-dialog{width:min(520px,94vw);padding:26px;border:1px solid #3c6179;border-radius:14px;background:#121e2a;color:#dcedf8}#pairing-dialog::backdrop{background:#000a}.pairing-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.pairing-head h2{font-size:22px}#pairing-dialog p{color:#9eb7ca;line-height:1.6}#pairing-qr{display:block;margin:20px auto;border-radius:8px;border:10px solid white;max-width:100%;height:auto}#pairing-code{display:block;text-align:center;font-size:25px;letter-spacing:3px;margin:15px}#pairing-message{min-height:48px}#pairing-dialog>button{margin:6px 4px 0 0}
@media(max-width:1000px){.overview-columns{grid-template-columns:1fr}.overview-memories{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.overview-welcome{grid-template-columns:1fr;padding:21px;gap:20px}.overview-storage{padding:18px 0 0;border-left:0;border-top:1px solid #304454}.overview-welcome h2{font-size:25px}.overview-card{padding:17px}.overview-folders{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-card-heading{flex-wrap:wrap}.overview-memories{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-devices article{flex-wrap:wrap}}

/* GiampyDroid File tab: compact controls and readable file cards. */
.native-files main{padding:12px 12px 18px}
.native-files .page-heading{gap:12px;margin-bottom:14px}
.native-files .page-heading h1{font-size:22px;line-height:1.2;letter-spacing:-.3px;margin:3px 0 6px}
.native-files .page-heading p{font-size:12px;line-height:1.45}
.native-files #file-actions{display:flex;gap:9px;width:100%}
.native-files #file-actions button{flex:1;min-width:0;min-height:43px;font-size:13px;padding:10px 8px;border-radius:13px;border:1px solid #3e8fb1;background:linear-gradient(180deg,#247797,#16425e);color:#e2effa;box-shadow:0 2px 5px #0004,inset 0 1px 0 #bcecff25;font-weight:700}
.native-files .file-toolbar{padding:12px;gap:11px}
.native-files #breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0;font-size:12px}
.native-files #breadcrumbs button{font-size:12px;max-width:100%;white-space:normal;overflow-wrap:break-word}
.native-files #breadcrumbs .folder-back:disabled{display:none}
.native-files #breadcrumbs .folder-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:88px;height:33px;border-radius:9px;padding:5px 10px!important;box-shadow:0 2px 4px #0004}
.native-files #breadcrumbs .folder-back::before{border-radius:7px}
.native-files #breadcrumbs .folder-back::after{content:'Indietro';font-size:12px;font-weight:600}
.native-files #breadcrumbs .folder-back svg{width:17px;height:17px;stroke-width:3}
.native-files #search{font-size:13px;padding:10px 11px;width:100%}
.native-files table,.native-files tbody{display:block;width:100%;min-width:0}
.native-files thead{display:none}
.native-files #rows{padding:0 12px}
.native-files #rows tr{display:grid;grid-template-columns:minmax(0,1fr);padding:13px 0;border-bottom:1px solid #293b4a;gap:7px}
.native-files #rows tr:last-child{border-bottom:0}
.native-files #rows td{display:block;padding:0;border:0;min-width:0;font-size:12px;width:auto}
.native-files #rows td:nth-child(3){display:none}
.native-files #rows td:nth-child(2){padding-left:34px;color:#8ea9bc}
.native-files #rows td:nth-child(2)::before{content:'Dimensione: ';font-size:11px}
.native-files .file-name{display:flex;align-items:center;gap:10px;width:100%;min-width:0;max-width:100%;font-size:14px;line-height:1.5;text-align:left;white-space:normal;word-break:normal;overflow-wrap:break-word;padding:0}
.native-files .file-icon{font-size:25px;flex-shrink:0;width:24px}
.native-files .file-actions{display:flex;flex-wrap:wrap;gap:7px;padding-left:34px;margin-top:3px}
.native-files .file-actions button{font-size:12px;padding:7px 10px;min-height:33px;border-radius:8px;white-space:nowrap}
.native-files .file-footer{padding:11px 12px;font-size:11px}
.native-files .file-footer>span:last-child{font-size:10px;line-height:1.4}

/* Requested single-line file rows: name, size, actions. */
.native-files #rows tr{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:13px 0}
.native-files #rows td:nth-child(2){padding-left:0;white-space:nowrap;font-size:11px}
.native-files #rows td:nth-child(2)::before{content:none}
.native-files .file-name{font-size:13px;gap:6px}
.native-files .file-icon{font-size:22px;width:20px}
.native-files .file-actions{padding-left:0;margin-top:0;flex-wrap:nowrap;gap:5px}
.native-files .file-actions button{font-size:11px;padding:6px 7px;min-height:31px}

/* Large personal-quota meter in the overview. */
.overview-quota{width:100%;margin-top:17px}
.overview-quota>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;color:#abc6d8;font-size:13px}
.overview-quota strong{font-size:21px;color:#e0f5ff}
.overview-quota-track{height:17px;width:100%;overflow:hidden;border-radius:9px;background:#263b4e;border:1px solid #344d60}
.overview-quota-track>span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#189ddc,#4ed5c6)}

/* Match GiampyNas: a single overview title and the date in the top bar. */
.web-overview header #section-name{font-size:21px;font-weight:750}
.web-overview .page-heading{display:none}
.web-overview main{padding-top:26px}
header .web-top-date{font-size:16px;color:#b7c9d9;white-space:nowrap;margin-right:30px}
@media(max-width:900px){header .web-top-date{font-size:13px;margin-right:12px}.web-overview header #section-name{font-size:19px}}
@media(max-width:700px){header{height:auto;min-height:60px;flex-wrap:wrap;gap:10px;padding-block:12px}header .web-top-date{margin-right:0;font-size:12px}.web-overview main{padding-top:23px}}

.overview-phone{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:45px}.overview-phone svg{display:block;width:40px;height:73px;filter:drop-shadow(0 3px 4px #0005)}

/* Traditional two-dimensional folders with a soft shadow. */
.overview-folders button{position:relative;overflow:hidden;background:#112734;border-color:#294a5c;transition:border-color .18s,background .18s}
.overview-folders button:hover{border-color:#53a9c2;background:#153140}
.overview-folders button>.overview-folder-classic{display:block;width:65px;height:51px;line-height:1;filter:drop-shadow(0 4px 3px #0005)}
.overview-folder-classic svg{display:block;width:100%;height:100%}
@media(prefers-reduced-motion:reduce){.overview-folders button{transition:none}}

/* Compact framed names in the app: no decorative folder glyph. */
.native-files #rows td:first-child{min-width:0;padding-right:0}
.native-files .file-name{gap:0;min-width:0;max-width:100%;line-height:1.35;overflow-wrap:anywhere}
.native-files .file-icon{display:none}
.native-files .file-name[data-folder]{border:1px solid #385163;border-radius:6px;padding:7px 8px;background:transparent;box-shadow:none}
.native-files #rows tr{column-gap:10px}

/* Logo accanto alla quota: ritaglio CSS del solo bordo esterno. */
.overview-welcome{grid-template-columns:minmax(0,1.4fr) 180px minmax(0,1fr);gap:20px}.overview-quota-logo{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}.overview-quota-logo img{width:256px;height:256px;max-width:none;flex:none;clip-path:inset(9.375% 15.625% 9.375% 15.625% round 10.5%)}
@media(max-width:1050px){.overview-welcome{grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr);gap:14px}.overview-quota-logo img{width:180px;height:180px}.overview-storage{padding-left:18px}}
@media(max-width:650px){.overview-welcome{grid-template-columns:90px minmax(0,1fr)}.overview-welcome>div:first-child{grid-column:1/-1}.overview-quota-logo img{width:130px;height:130px}.overview-storage{border-top:0;border-left:1px solid #304454;padding:8px 0 8px 16px}}

/* Riquadro panoramica leggermente piu basso, disposizione invariata. */
@media(min-width:651px){.overview-welcome{padding-top:18px;padding-bottom:18px}}

.file-icon img{display:block;width:35px;height:30px;filter:drop-shadow(0 3px 2px #0004)}
.drive-computers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,350px));gap:20px}.drive-pc-card,.drive-empty{background:radial-gradient(ellipse at top,#17435c66,transparent),#13212d;border:1px solid #315267;border-radius:14px;padding:25px;color:#d9edf9;text-align:center}.drive-pc-card svg{width:230px;max-width:100%;display:block;margin:0 auto 12px;filter:drop-shadow(0 9px 9px #0005)}.drive-pc-card h2{font-size:19px;overflow-wrap:anywhere}.drive-pc-card span,.drive-pc-card small{display:block;color:#86aec3;margin-top:9px}.drive-empty svg{width:200px}.drive-empty p{color:#96b3c7;margin-bottom:28px}.drive-toolbar,.drive-switch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.drive-toolbar span{color:#90aabd;overflow-wrap:anywhere}.drive-switch input{margin-left:auto}.drive-file-list{border:1px solid #2a4051;border-radius:12px;background:#13202c;overflow:hidden}.drive-entry{display:flex;align-items:center;gap:16px;padding:10px 18px;border-bottom:1px solid #294051;min-width:0}.drive-entry:last-child{border:0}.drive-entry-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;background:none;border:0;color:#dbeaf5;text-align:left;padding:0}.drive-entry-name{overflow-wrap:anywhere;min-width:0}.drive-thumb{width:54px;height:65px;flex:none;display:grid;place-items:center}.drive-thumb img{width:100%;height:100%;object-fit:contain;border-radius:4px;filter:drop-shadow(0 2px 3px #0004)}.drive-format{font-size:12px;font-weight:700;background:#23475e;border:1px solid #3a6983;border-radius:6px;padding:14px 6px;color:#b2e6fa}.drive-entry>small{color:#86a4b9;white-space:nowrap}.drive-entry>a{padding:8px 12px;font-size:12px}.drive-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.drive-image-grid .drive-entry{padding:0;display:block;border:1px solid #294051;border-radius:10px;overflow:hidden;background:#13202c}.drive-image-grid .drive-entry-open{display:block;width:100%}.drive-image-grid .drive-thumb{width:100%;height:auto;aspect-ratio:1}.drive-image-grid .drive-thumb img{object-fit:cover;border-radius:0}.drive-image-grid .drive-entry-name{display:block;padding:12px;font-size:13px}.drive-image-grid .drive-entry>small,.drive-image-grid .drive-entry>a{display:none}.drive-copy-note{font-size:12px;color:#83a2b9;margin-top:20px}@media(max-width:650px){.drive-entry{gap:8px;padding:9px}.drive-thumb{width:40px;height:50px}.drive-entry-open{gap:9px}.drive-entry-name{font-size:13px}.drive-entry>small{font-size:11px}.drive-entry>a{font-size:11px;padding:7px}.drive-switch input{width:100%}.drive-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.drive-space{margin-top:26px;padding:24px;border:1px solid #2b4558;border-radius:12px;background:#13212d}.drive-space h2{font-size:19px;margin:0 0 8px}.drive-space>p{font-size:12px;color:#86a7bd;margin-bottom:24px}.drive-space>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 32px}.drive-space article>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px}.drive-space strong{font-weight:500;color:#a5c3d6;white-space:nowrap}.drive-space-track{height:11px;background:#263d50;border-radius:7px;overflow:hidden}.drive-space-track span{display:block;height:100%;background:var(--drive-bar);border-radius:7px}@media(max-width:650px){.drive-space{padding:18px}.drive-space>div{grid-template-columns:1fr}}

.overview-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.overview-pcs{display:grid;gap:14px;max-height:330px;overflow:auto}.overview-pc{display:flex;align-items:center;gap:16px;padding:16px 0;border:0;border-bottom:1px solid #2a4051;background:none;color:#dceaf5;text-align:left;width:100%}.overview-pc>span{width:100px;flex:none}.overview-pc svg{width:100%;display:block;filter:drop-shadow(0 5px 4px #0005)}.overview-pc>div{flex:1;min-width:0}.overview-pc b{font-size:15px;overflow-wrap:anywhere}.overview-pc small{display:block;font-size:11px;line-height:1.6;color:#86a8bd;margin-top:5px}.overview-pc>strong{font-size:26px;color:#77cce8}.overview-pc-empty{display:flex;align-items:center;gap:22px;min-height:200px;color:#8fadc0;line-height:1.7;font-size:13px}.overview-pc-empty>span{width:145px;flex:none}.overview-pc-empty svg{width:100%}#overview-personal-folders .overview-folders{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.overview-columns{grid-template-columns:1fr}#overview-personal-folders .overview-folders{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Panoramica compatta: anche il logo contribuisce all'altezza del riquadro. */
@media(min-width:651px){.overview-welcome{padding:14px 30px;grid-template-columns:minmax(0,1.4fr) 140px minmax(0,1fr);gap:18px}.overview-quota-logo img{width:190px;height:190px}.overview-welcome h2{font-size:26px;margin:8px 0}.overview-welcome p{font-size:13px;margin:8px 0}.overview-actions{margin-top:14px}.overview-actions button{padding:10px 15px;font-size:13px}.overview-storage{gap:6px}.overview-storage>b{font-size:32px}.overview-quota{margin-top:12px}.overview-quota-track{height:13px}.overview-quota strong{font-size:18px}.overview-quota>div:first-child{margin-bottom:7px}}

.notification-center{position:relative;display:inline-flex;align-items:center}.notification-bell{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:7px;border:1px solid #315066;border-radius:11px;background:#142b3a;color:#c2edff;cursor:pointer}.notification-bell svg{width:23px;height:23px}.notification-bell i{position:absolute;top:4px;right:4px;width:9px;height:9px;border-radius:50%;background:#ff4d65;box-shadow:0 0 0 2px #142b3a}.notification-bell i[hidden],.notification-popup[hidden]{display:none!important}.notification-popup{position:absolute;z-index:110;right:0;top:46px;width:min(410px,calc(100vw - 28px));padding:16px;background:#14232f;border:1px solid #345266;border-radius:16px;box-shadow:0 15px 50px #0009;color:#e0f1ff;display:block}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.notification-heading b{font-size:17px}.notification-close{border:0;background:transparent;color:#d6e8f4;font-size:25px;cursor:pointer}.notification-subtitle{font-size:12px;line-height:1.5;color:#99b5c8;margin:8px 0 12px}.notification-items{display:flex;flex-direction:column;max-height:min(480px,60vh);overflow:auto;gap:8px}.notification-item{display:flex;flex-direction:column;text-align:left;gap:6px;padding:13px;background:#10202c;border:1px solid #2b4354;border-radius:10px;color:#dcecf7;cursor:pointer;white-space:normal;min-height:0;width:100%;font:inherit}.notification-item.unread{border-left:3px solid #28bce8;background:#143245}.notification-item b{font-size:14px}.notification-item small{font-size:11px;color:#9bb3c4}.notification-item span{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.notification-read{margin-top:12px;padding:8px 12px;background:#1c3b50;border:1px solid #3d6178;border-radius:8px;color:#dceefa;cursor:pointer;font:inherit;font-size:12px}.notification-read:disabled{opacity:.5;cursor:default}.notification-feedback{font-size:12px;white-space:normal;line-height:1.4;color:#ffbfaa}.notification-center button:focus-visible{outline:2px solid #48d2ff;outline-offset:2px}.notification-composer textarea{width:100%;min-height:110px;resize:vertical;padding:12px;border:1px solid #355268;border-radius:9px;background:#10202b;color:#e2f3ff;font:inherit}.notification-composer{margin-bottom:20px}.notification-composer .notification-targets{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.notification-composer select{max-width:100%}.notification-composer label{display:block}.notification-composer .all-targets{display:flex;align-items:center;gap:8px}.notification-composer input[type=checkbox]{width:auto}.notification-composer button{margin-top:12px}
.desktop-copy-card small{display:block;overflow-wrap:anywhere}.desktop-copy-pc{color:#a6cedf!important;font-weight:600;margin-bottom:5px}.desktop-copy-card .bar{overflow:hidden}.desktop-copy-preparing .bar i{width:35%!important;animation:desktop-copy-working 1.5s ease-in-out infinite}@keyframes desktop-copy-working{from{transform:translateX(-100%)}to{transform:translateX(380%)}}@media(prefers-reduced-motion:reduce){.desktop-copy-preparing .bar i{animation:none;opacity:.65}}
.notification-items{overflow-x:hidden;min-width:0}.notification-item{min-width:0;max-width:100%;flex-shrink:0;box-sizing:border-box}.notification-item>*{min-width:0;max-width:100%;overflow-wrap:anywhere}.notification-bell i{margin:0}.notification-items span{display:block}
.overview-trash{display:flex;align-items:center;gap:22px;padding:20px 26px!important}.overview-trash-icon{width:46px;flex:none;color:#70c9e5}.overview-trash-icon svg{width:42px;height:42px}.overview-trash-body{flex:1;min-width:0}.overview-trash-body>div:first-child{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.overview-trash-body h2{margin:0!important;font-size:19px!important}.trash-percent,.trash-status{color:#94afc0;font-size:12px}.trash-track{height:8px;background:#263c4d;border-radius:6px;overflow:hidden;margin:10px 0 7px}.trash-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#2da8d6,#6ac5c3)}@media(max-width:600px){.overview-trash{flex-wrap:wrap;gap:12px}.overview-trash-body{flex-basis:70%}.overview-trash>button{margin-left:auto}}

/* Photo thumbnails with count, retained through zoom and background refresh. */
#media-map .map-photo-cluster{background:#173447;border:2px solid #f1f8ff;border-radius:5px;overflow:visible;box-shadow:0 2px 9px #0007;z-index:500!important}
#media-map .map-photo-cluster>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
#media-map .map-photo-cluster>span{position:absolute;top:-9px;right:-11px;min-width:22px;height:22px;box-sizing:border-box;padding:3px 5px;background:#252e35ee;border:1px solid #ffffff70;border-radius:12px;color:#fff;font:12px/14px Arial,sans-serif}

.bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 15px;margin-bottom:14px;background:#132735;border:1px solid #34556b;border-radius:11px}.bulk-toolbar[hidden]{display:none}.bulk-toolbar label{display:flex;gap:8px;align-items:center;font-size:13px}.bulk-toolbar strong{margin-right:auto;font-size:13px}.bulk-toolbar button{font-size:12px;padding:8px 11px}.bulk-toolbar small{flex-basis:100%;color:#a8c3d6}.bulk-toolbar small:empty{display:none}.bulk-toolbar input,.bulk-file-check,.bulk-media-check{accent-color:#21abd8;cursor:pointer;width:19px;height:19px;flex-shrink:0}.bulk-file-check{vertical-align:middle;margin-right:13px}.bulk-media-card{position:relative;min-width:0}.bulk-media-card>.media-tile{width:100%;height:100%}.bulk-media-check{position:absolute;top:10px;left:10px;z-index:3;margin:0;width:24px;height:24px;filter:drop-shadow(0 1px 3px #000b)}.bulk-media-card.bulk-selected>.media-tile{outline:3px solid #4ed3ed;outline-offset:-3px}.bulk-selected>td{background:#14344799}.bulk-toolbar .danger{border:1px solid #8d4b5c;border-radius:8px;background:#3c2633;color:#ffd0da}@media(max-width:700px){.bulk-toolbar{gap:8px;padding:10px}.bulk-toolbar label{flex-basis:100%}.bulk-toolbar button{font-size:11px}.bulk-file-check{margin-right:7px}}

.bulk-file-line{display:flex;gap:12px;align-items:center}.bulk-file-content{flex:1;min-width:0;overflow-wrap:anywhere}.bulk-file-line>.bulk-file-check{margin:0}.bulk-file-content .file-name{width:100%}

/* A shaded glass veil keeps the photograph visible beneath the selection box. */
.bulk-media-check{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:grid;place-content:center;border:1px solid #ffffffa6;border-radius:5px;background:linear-gradient(145deg,#ffffff18,#07101b30);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);filter:none;box-shadow:0 2px 6px #0006,inset 0 1px 0 #ffffff26}
.bulk-media-check::before{content:"";width:13px;height:10px;background:#fff;clip-path:polygon(0 45%,15% 27%,39% 57%,86% 0,100% 15%,39% 100%);transform:scale(0)}
.bulk-media-check:checked{background:linear-gradient(145deg,#ffffff26,#0c829836);border-color:#ffffffe6}
.bulk-media-check:checked::before{transform:scale(1)}
.bulk-media-check:focus-visible{outline:2px solid #c9f4ff;outline-offset:3px}
.bulk-media-check:disabled{opacity:.55;cursor:wait}

.file-context-menu{position:fixed;z-index:250;min-width:220px;max-width:min(330px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:7px;background:#15242ff5;border:1px solid #557080;border-radius:11px;box-shadow:0 9px 28px #0008;backdrop-filter:blur(9px);box-sizing:border-box}
.file-context-menu[hidden]{display:none}
.file-context-menu>strong{display:block;padding:8px 10px 10px;border-bottom:1px solid #ffffff20;margin-bottom:4px;color:#a8c2d3;font-size:12px;overflow-wrap:anywhere}
.file-context-menu>button{display:block;width:100%;text-align:left;border:0;border-radius:6px;padding:10px 12px;background:transparent;color:#e1eef8;font:inherit;font-size:14px;line-height:1.3;cursor:pointer}
.file-context-menu>button:hover,.file-context-menu>button:focus-visible{background:#2a495b;outline:1px solid #78c9e0;outline-offset:-1px}
.file-context-menu>button.danger{color:#ffadb9}

/* Same glass selection control in each PC folder, including its root folders. */
.bulk-drive-check{position:static;margin:0 10px 0 0;width:22px;height:22px;flex:0 0 22px}.drive-entry.bulk-selected{background:#17405588;box-shadow:inset 3px 0 #4ed3ed}.drive-entry[hidden]{display:none!important}

/* Personal account tier uses assigned decimal GB, independently of usage. */
.overview-account{--tier:#63c8e8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;min-width:0;color:var(--tier);padding:14px 12px;align-self:center;border:1px solid color-mix(in srgb,var(--tier) 22%,transparent);border-radius:16px;background:radial-gradient(ellipse at top,color-mix(in srgb,var(--tier) 9%,transparent),transparent 75%);box-shadow:inset 0 1px 0 #ffffff07}
.overview-account-pro{--tier:#b3a1e6}.overview-account-senior,.overview-account-unlimited{--tier:#d9bc7d}
.overview-account-emblem{width:52px;height:59px;filter:drop-shadow(0 3px 9px #0003)}.overview-account-emblem svg{width:100%;height:100%}
.overview-account-label{display:flex;flex-direction:column;gap:3px}.overview-account-label>span{font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#9db5c5}.overview-account-label>strong{font-size:25px;font-weight:700;letter-spacing:.5px;line-height:1.2}.overview-account-label>small{font-size:10px;letter-spacing:5px;line-height:1.4;margin-left:5px;opacity:.7}
@media(min-width:1400px){.overview-welcome{grid-template-columns:minmax(0,1.4fr) minmax(150px,.65fr) 140px minmax(0,1fr)}}
@media(max-width:1399px){.overview-account{grid-column:1/-1;grid-row:2;flex-direction:row;gap:14px;padding:10px 18px;justify-self:center;min-width:175px}.overview-account-emblem{width:39px;height:44px}.overview-account-label{text-align:left}.overview-account-label>strong{font-size:22px}.overview-account-label>small{display:none}}

/* Reversible trial: logo first, welcome copy next, account in the old logo slot. */
.overview-welcome{grid-template-columns:140px minmax(0,1.4fr) 180px minmax(0,1fr);grid-template-areas:"logo intro account storage";align-items:center}
.overview-welcome>.overview-quota-logo{grid-area:logo}.overview-welcome>.overview-intro{grid-area:intro;min-width:0}.overview-welcome>.overview-account{grid-area:account;flex-direction:column;justify-self:center;box-sizing:border-box;width:100%;max-width:180px;min-width:0;padding:14px 12px;gap:8px}.overview-welcome>.overview-storage{grid-area:storage}
.overview-account .overview-account-label{text-align:center}.overview-account .overview-account-emblem{width:52px;height:59px}.overview-account .overview-account-label>strong{font-size:25px}.overview-account .overview-account-label>small{display:block}
@media(max-width:1050px){.overview-welcome{grid-template-columns:110px minmax(0,1fr) 140px;grid-template-areas:"logo intro account" "storage storage storage"}.overview-welcome>.overview-storage{border-left:0;border-top:1px solid #304454;padding:16px 0 0}.overview-welcome>.overview-quota-logo img{width:160px;height:160px}}
@media(max-width:650px){.overview-welcome{grid-template-columns:75px minmax(0,1fr);grid-template-areas:"logo intro" "account account" "storage storage";gap:16px}.overview-welcome>.overview-quota-logo img{width:108px;height:108px}.overview-welcome>.overview-account{flex-direction:row;max-width:210px}.overview-account .overview-account-emblem{width:39px;height:44px}.overview-account .overview-account-label>small{display:none}}

.billing-panel{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 22px;border:1px solid #315169;border-radius:13px;background:#142b3b;margin-bottom:20px}.billing-panel[hidden]{display:none}.billing-panel b{display:block;color:#dceef7;font-size:16px}.billing-panel span{display:block;color:#9cb8cb;font-size:13px;margin-top:5px}.billing-expired{border-color:#b38b4f;background:#30291f}#billing-dialog{max-width:680px;width:calc(100% - 32px);padding:28px;border:1px solid #46647a;border-radius:16px;background:#14212d;color:#e2eef7;box-sizing:border-box}#billing-dialog::backdrop{background:#000a}#billing-dialog p{color:#a6bfce;line-height:1.65}.billing-close{float:right}.billing-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.billing-periods b,.billing-periods strong{display:block;margin:8px 0}.billing-checkout{border:1px solid #416078;padding:18px;border-radius:10px}.billing-checkout>a{display:inline-block;margin:15px 0;text-decoration:none}.billing-checkout>b{display:block}.registration-pro{padding:15px;border:1px solid #3c5f75;border-radius:12px;background:#142c3c;margin:18px 0;font-size:14px}.registration-pro p{font-size:13px!important;line-height:1.6}.registration-consent{display:flex!important;gap:10px;align-items:flex-start;font-size:13px!important;line-height:1.5}.registration-consent input{width:18px!important;flex:none;margin:2px 0!important;accent-color:#27b7df}@media(max-width:650px){.billing-periods{grid-template-columns:repeat(2,1fr)}.billing-panel{padding:15px}}

/* Account exit stays visible at the far right of the web header. */
header .header-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:9px 13px;margin-left:8px;border:1px solid #45647b;border-radius:8px;background:linear-gradient(135deg,#203c50,#152b3c);color:#e5f2fa;font-size:14px;font-weight:600;line-height:1.2;transition:background .18s,border-color .18s,box-shadow .18s}
header .header-logout:hover{background:#28556e;border-color:#62ccef;box-shadow:0 0 0 3px #38bdf81c}
header .header-logout svg{flex:none}
@media(max-width:700px){header>div{margin-left:auto}header .header-logout{font-size:13px;padding:9px 11px;margin-left:3px}}
