:root{color-scheme:dark;--bg:#090a10;--surface:#14161f;--surface2:#1b1d29;--line:#333743;--text:#f5f4f3;--mute:#afb1bc;--red:#d22c29;--red2:#ff6252;--green:#63dfb0;--radius:16px}*{box-sizing:border-box}html{font-family:"Avenir Next",Avenir,system-ui,-apple-system,sans-serif;scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 80% 0%,#33141e 0,transparent 34%),var(--bg);color:var(--text);min-height:100vh;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}.shell{max-width:1120px;margin:0 auto;padding:0 28px}.header{height:102px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.identity{display:flex;align-items:center;gap:13px}.identity img{width:49px;height:49px;border-radius:12px}.identity span{display:flex;flex-direction:column;line-height:1.35;letter-spacing:.13em}.identity strong{font-size:15px}.identity small{color:var(--mute);font-size:10px;letter-spacing:.25em}.head-label{font-size:12px;color:var(--mute);font-style:italic;letter-spacing:.02em}main{padding:42px 0 68px;min-height:65vh}footer{padding:25px 0;border-top:1px solid var(--line);color:#9da0aa;font-size:12px;text-align:center}.intro{max-width:800px;margin:8px 0 36px}.intro h1,.page-top h1{font-size:clamp(30px,5vw,53px);line-height:1.12;letter-spacing:-.045em;margin:10px 0 17px;font-weight:650}.intro p,.page-top p{color:var(--mute);max-width:690px}.eyebrow{font-size:10px;letter-spacing:.24em;font-weight:750;color:#ff776d!important;margin:0 0 12px}.panel{background:linear-gradient(135deg,#191b27,#101118);border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:20px;box-shadow:0 8px 26px #0002}.panel h2{margin:0 0 17px;font-size:22px;letter-spacing:-.025em}.panel p{line-height:1.6}.narrow{max-width:540px}.form{display:grid;gap:16px}.form label,.invitation label{font-weight:550;font-size:13px;display:grid;gap:8px}.form input,.form select,.invitation input{font-family:inherit;width:100%;border:1px solid #494c58;background:#0c0e15;border-radius:10px;padding:12px 14px;outline:none;color:var(--text);font-size:15px}.form input:focus,.form select:focus{border-color:#ff7267;box-shadow:0 0 0 3px #f2634b33}.form select option{background:#151723}.form .check{display:flex;align-items:center;gap:10px;font-size:13px}.check input{width:auto;accent-color:var(--red)}.button{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;min-height:40px;padding:10px 15px;border:1px solid #555764;border-radius:10px;background:#262934;color:var(--text);font:600 13px inherit;cursor:pointer;text-align:center;transition:background .2s}.button:hover{background:#373b4a}.button:focus-visible{outline:3px solid #ffa69e;outline-offset:3px}.button:disabled{opacity:.4;cursor:not-allowed}.primary{background:var(--red);border-color:#ef5048;color:#fff}.primary:hover{background:#bd211f}.subtle{background:transparent}.danger-button{background:transparent;border-color:#6d3034;color:#ff8d82}.danger-button:hover{background:#4b2127}.notice{padding:15px 19px;margin-bottom:22px;border:1px solid;border-radius:10px;font-weight:600}.success{color:#a8f5d0;background:#123027;border-color:#266a52}.danger{color:#ffc1b8;background:#3d1d22;border-color:#733841}.muted,.fine{color:var(--mute)}.fine{font-size:12px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}.page-top{display:flex;justify-content:space-between;align-items:start;gap:14px}.page-top p{margin-bottom:25px}.section-head{display:flex;align-items:baseline;justify-content:space-between}.invitation{border-color:#ac4641;background:linear-gradient(150deg,#361a25,#171821)}.invitation h2{margin-bottom:8px}.invitation>p{color:var(--mute)}.invitation label{margin:20px 0}.copy-row{display:flex;gap:10px}.copy-row input{flex:1;min-width:0;overflow:hidden}.delivery{display:flex;justify-content:space-between;gap:18px;padding:23px 0 12px;border-top:1px solid var(--line)}.delivery h3{margin:0 0 4px;font-size:17px}.delivery p{margin:4px 0}.actions{display:flex;flex-wrap:wrap;align-content:center;justify-content:flex-end;gap:8px}.status{font-size:10px;letter-spacing:.1em;font-weight:bold;white-space:nowrap;padding:9px 11px;border-radius:20px;align-self:center}.status.active{background:#154035;color:#87f0be}.status.expired{background:#3b2430;color:#e7a5ae}.files-area{margin:10px 0 30px;border:1px solid #373946;border-radius:12px;padding:18px 20px;background:#0c0d13}.file-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #292b37}.file-row:last-child{border-bottom:0}.file-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.file-row small{display:block;font-size:12px;color:var(--mute);margin-top:5px}.uploader{margin-top:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.upload-label{flex:1;min-width:210px;font-weight:600;font-size:13px;color:var(--mute)}.file-input{display:block;margin:8px 0;width:100%;font-size:12px;max-width:350px}.progress{width:100%;height:8px;border-radius:12px;background:#33333c;overflow:hidden}.progress-bar{width:0%;height:100%;background:linear-gradient(90deg,#cc2224,#ffa168);transition:width .2s}.upload-message{margin:0;width:100%}.countdown-panel{display:grid;gap:14px;background:linear-gradient(120deg,#431f28,#1a1924);border-color:#6a3035}.countdown{font-size:clamp(23px,4vw,40px);font-weight:740;letter-spacing:-.03em}.meter{background:#402c34;border-radius:15px;height:9px;overflow:hidden}.meter-fill{display:block;width:100%;height:100%;border-radius:15px;background:linear-gradient(90deg,#f6605b,#f6bd8c);transition:width 1s}.countdown-panel .fine{margin:4px 0}button,input,select{font:inherit}@media(max-width:760px){.shell{padding:0 17px}.header{height:83px}.head-label{display:none}main{padding:26px 0 50px}.panel{padding:20px}.two-cols{grid-template-columns:1fr}.page-top{align-items:center}.delivery{flex-direction:column}.actions{justify-content:flex-start}.file-row .button{font-size:12px;padding:8px 9px}.copy-row{flex-wrap:wrap}.copy-row .button{flex:1}.uploader{flex-direction:column;align-items:stretch}.upload-label{min-width:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* STUDIO TOSSANI — Client delivery / cyberpunk intro look.
   Visual layer only. The access control, upload and download endpoints stay unchanged. */
:root { --client-cyan:#4ae4ff; --client-pink:#fa4acb; --client-lilac:#a578f9; }

.client-stage {
  position:relative;
  isolation:isolate;
  max-width:100%;
  padding:18px 0 12px;
  margin:0 auto;
  color:#fcfaff;
}
.client-scene {position:absolute;inset:-40px calc((min(100vw,1120px) - 100vw)/2) -80px;overflow:hidden;pointer-events:none;z-index:-1;opacity:.9}
.client-scene::before {
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 88% 12%,rgba(158,42,155,.29),transparent 38%),
    radial-gradient(ellipse at 10% 73%,rgba(0,192,238,.18),transparent 39%),
    linear-gradient(135deg,rgba(17,10,36,.05),rgba(24,11,46,.24) 43%,rgba(6,18,44,.25));
}
.client-scene::after {content:"";position:absolute;left:-3%;bottom:0;width:106%;height:42%;opacity:.26;background-image:linear-gradient(rgba(71,222,248,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(71,222,248,.14) 1px,transparent 1px);background-size:74px 74px;transform:perspective(350px) rotateX(63deg);transform-origin:bottom}
.scene-arc{position:absolute;width:850px;height:660px;right:-270px;top:-480px;transform:rotate(-21deg);border-radius:50%;border:3px solid transparent;border-bottom-color:rgba(250,55,174,.67);box-shadow:0 16px 18px -16px rgba(250,70,220,.6),0 20px 50px -19px rgba(250,70,220,.42)}
.scene-grid{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent 115px,rgba(244,77,202,.025) 116px);mask-image:linear-gradient(to bottom,transparent,black 35%,transparent 90%)}

.client-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,350px);gap:24px;align-items:center;min-height:212px;margin:0 0 34px}
.client-hero__intro{margin:0;max-width:none;padding:10px 0 20px}
.client-hero__intro .eyebrow{color:#ef9fef!important;font-size:10px;letter-spacing:.28em;margin-bottom:14px}
.client-hero__intro .hero-dot{font-size:7px;color:var(--client-cyan);vertical-align:2px;padding:0 7px;text-shadow:0 0 10px #39d5ef}
.client-hero__intro h1{font-size:clamp(40px,6.2vw,66px);font-weight:720;letter-spacing:-.05em;line-height:1.05;margin:0 0 16px;text-shadow:0 0 28px rgba(239,91,204,.22);overflow-wrap:anywhere}
.client-hero__intro>p:last-child{margin:0;max-width:640px;border-left:2px solid #f659c4;padding-left:16px;font-size:clamp(14px,1.45vw,17px);line-height:1.7;color:#d9d7e9}
.client-hero__intro>p:last-child strong{color:#fff;font-weight:650}
.client-hero__aside{position:relative;display:flex;align-items:end;min-height:205px}
.client-stage .countdown-panel{position:relative;display:grid;grid-template-columns:30px 1fr;gap:15px;align-items:center;width:100%;margin:0;padding:17px 18px;background:linear-gradient(130deg,rgba(44,25,62,.94),rgba(12,24,47,.91) 72%,rgba(16,17,38,.95));border:1px solid rgba(222,132,242,.64);box-shadow:0 14px 34px #05061766,inset 0 1px 0 #ffffff18,0 0 22px #eb61d61b;border-radius:17px;z-index:2;backdrop-filter:blur(8px)}
.client-stage .countdown-panel .eyebrow{color:#ddbbe9!important;font-size:9px;letter-spacing:.16em;margin:0 0 5px}
.client-stage .countdown-panel .countdown{font-size:clamp(16px,1.8vw,20px);font-weight:680;letter-spacing:-.025em;line-height:1.2;white-space:nowrap}
.client-stage .countdown-panel .fine{font-size:10px;margin:8px 0 0;color:#b9b7cf}
.client-timer-icon{width:30px;height:30px;border:1px solid #fa74c2aa;border-radius:50%;display:grid;place-items:center;font-size:22px;color:#ff9ed3;box-shadow:0 0 12px #f474d64d}
.client-stage .meter{height:4px;margin-top:13px;background:#35304d;border-radius:20px}
.client-stage .meter-fill{background:linear-gradient(90deg,#ed54b7,#ffb68f,#6fe7fd);box-shadow:0 0 7px #f264e488}

.client-stage .client-panel{position:relative;overflow:visible;padding:27px 34px 31px;margin-bottom:26px;background:linear-gradient(128deg,rgba(25,19,46,.92),rgba(12,22,44,.94) 53%,rgba(19,14,41,.93));border:1px solid rgba(164,115,235,.75);border-radius:24px;box-shadow:0 16px 40px rgba(0,0,0,.43),0 0 22px rgba(213,55,212,.12),inset 0 1px rgba(240,181,255,.16);backdrop-filter:blur(7px)}
.client-stage .client-panel::before{content:"";position:absolute;top:-1px;left:27px;right:27px;height:2px;background:linear-gradient(90deg,transparent,#f04ac0 15%,#48d9ff 57%,transparent);border-radius:100%;box-shadow:0 0 17px rgba(233,77,224,.7)}
.client-stage .client-panel--files{min-height:190px}
.client-stage .client-panel--upload{margin-top:30px}
.client-panel__heading{display:flex;gap:19px;align-items:center;margin:0 0 18px;max-width:calc(100% - 125px)}
.client-panel__heading h2{font-size:clamp(19px,2.2vw,25px);margin:0;letter-spacing:-.02em;font-weight:660}
.client-panel__heading p{font-size:13px;margin:5px 0 0;color:#c1c4d9;line-height:1.5}
.client-panel__glyph{display:grid;place-items:center;color:#ff82dc;font-size:29px;flex:0 0 43px;width:43px;height:43px;border-right:1px solid rgba(255,117,204,.3);padding-right:15px;text-shadow:0 0 16px #f542d8}
.client-stage .client-file-row{background:linear-gradient(110deg,rgba(58,50,88,.49),rgba(25,39,65,.6));border:1px solid rgba(138,124,196,.3);border-radius:14px;padding:15px 18px;margin:11px 0 0;min-height:76px;box-shadow:inset 0 1px rgba(252,245,255,.06)}
.client-file-info{min-width:0;display:flex;align-items:center;gap:14px}
.client-file-info strong{font-size:15px;color:#fff;letter-spacing:.005em}
.client-file-info small{font-size:12px;line-height:1.5;color:#bec2d8}
.client-file-icon{flex:0 0 47px;width:47px;height:47px;display:grid;place-items:center;background:linear-gradient(130deg,rgba(149,52,166,.38),rgba(46,50,106,.65));border:1px solid #b15acc45;border-radius:11px;color:#f19df2;font-size:25px;text-shadow:0 0 11px #ea6cec}
.client-stage .button.primary{background:linear-gradient(110deg,#d74485,#a839a0 55%,#683bb4);border:1px solid rgba(255,147,214,.72);border-radius:999px;padding:11px 20px;font-weight:650;box-shadow:inset 0 1px #ffe0f15c,0 5px 18px #eb4dae4d;min-height:43px}
.client-stage .button.primary:hover{background:linear-gradient(110deg,#e95199,#b33eb2 55%,#7d4dcd);box-shadow:inset 0 1px #ffe0f15c,0 6px 25px #fa5dc68c}
.client-stage .button.primary span{font-weight:bold;font-size:18px;padding-right:7px}
.client-empty{margin:20px 0 8px}
.client-policy{margin:9px 6px 0;color:#c3bbd3;font-size:12px;line-height:1.65;text-align:center}
.client-policy span{color:#ff9dd9;padding-right:8px}

.client-stage .uploader{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.client-stage .client-dropzone{min-height:165px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;border:1.5px dashed rgba(204,113,237,.75);border-radius:17px;background:linear-gradient(110deg,#1d1c36a6,#25204461);cursor:pointer;padding:16px 16px 13px;transition:border-color .2s,background .2s,box-shadow .2s;min-width:0}
.client-stage .client-dropzone:hover,.client-stage .client-dropzone.is-dragover,.client-stage .client-dropzone:focus-within{border-color:#66deff;box-shadow:0 0 18px #5fcffc3b;background:linear-gradient(110deg,#272143ca,#252e52a8)}
.client-dropzone__symbol{color:#ee88ec;font-size:30px;line-height:1.2;text-shadow:0 0 18px #ec4bdf}
.client-dropzone__title{color:#fff;font-size:17px;font-weight:670}
.client-dropzone__hint{color:#bfc0d8;font-size:12px}
.client-stage .file-input{margin:8px auto 0;display:block;max-width:100%;font-size:12px;color:#c4bfdb;cursor:pointer}
.client-stage .file-input::file-selector-button{border:1px solid #bf78db;background:#241f41;border-radius:8px;color:#f7dcff;font:inherit;padding:6px 12px;margin-right:11px;cursor:pointer}
.client-stage .uploader>[data-upload]{align-self:center;min-width:130px}
.client-stage .uploader .progress{grid-column:1 / -1;background:#212a46;margin-top:1px}
.client-stage .uploader .progress-bar{background:linear-gradient(90deg,#f34bab,#dc66dc,#38deff)}
.client-stage .uploader .upload-message{grid-column:1 / -1;color:#d0c4de;min-height:1em}

/* The genuine original Intro robot is two unmodified PNGs (body + hinged cupola). */
.cyberbot{position:absolute;width:136px;aspect-ratio:620/507;z-index:3;pointer-events:none;filter:drop-shadow(0 8px 11px #040410bb)}
.cyberbot__float{position:relative;width:100%;height:100%;animation:client-bot-fly 5s ease-in-out infinite;transform-origin:50% 65%;will-change:transform}
.cyberbot__body{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;clip-path:inset(48.72% 0 0 0);z-index:2}
.cyberbot__lid{position:absolute;top:0;left:0;width:100%;height:48.72%;object-fit:fill;z-index:4;transform-origin:19% 95%;animation:client-bot-lid 10s ease-in-out infinite}
.cyberbot__cavity{position:absolute;left:24%;top:40%;width:52%;height:16%;border-radius:60% 60% 42% 42%;background:radial-gradient(ellipse,#ffedb3,#f39538 45%,#52251e 75%);box-shadow:0 0 20px #ffac4b80;z-index:1}
.cyberbot__spark{position:absolute;left:23%;bottom:8%;height:25%;width:54%;background:radial-gradient(ellipse,#00e7ff4b,transparent 68%);filter:blur(9px);animation:client-bot-spark 2.8s ease-in-out infinite;z-index:0}
.cyberbot__thruster{position:absolute;left:40%;right:40%;bottom:-18%;height:27%;background:radial-gradient(ellipse at 50% 0,#ffffb7e0,#ffb14395 27%,#ff52a043 60%,transparent 75%);filter:blur(6px);animation:client-bot-spark 2.5s ease-in-out infinite;z-index:0}
.cyberbot__holo{position:absolute;left:79%;top:55%;width:42px;height:50px;border-radius:7px;display:grid;place-items:center;color:#a6ffff;font-size:29px;background:#063846b3;border:1px solid #34e5ff;box-shadow:0 0 20px #20e2ff88;transform:rotate(14deg);z-index:5;animation:client-holo 4.5s ease-in-out infinite}
.cyberbot--welcome{top:-12px;left:-62px;width:130px;z-index:4;transform:rotate(-8deg)}
.cyberbot--welcome .cyberbot__float{animation-duration:4.4s}
.cyberbot--welcome .cyberbot__lid{animation-delay:-4.1s}
.cyberbot--files{top:-77px;right:22px;transform:rotate(8deg);width:141px}
.cyberbot--files .cyberbot__float{animation-delay:-1.5s;animation-duration:5.3s}
.cyberbot--files .cyberbot__lid{animation-delay:-7.8s}
.cyberbot--upload{bottom:-45px;left:-34px;transform:rotate(-7deg);width:156px}
.cyberbot--upload .cyberbot__float{animation-delay:-2.3s}
.cyberbot--upload .cyberbot__lid{animation-delay:-8.3s}
.client-stage:has(.file-input:focus-visible) .cyberbot--upload .cyberbot__lid,
.client-stage.has-file .cyberbot--upload .cyberbot__lid,
.client-stage.is-uploading .cyberbot--upload .cyberbot__lid{animation:client-bot-open 1s ease-in-out forwards}
.client-stage.is-uploading .cyberbot--upload{filter:drop-shadow(0 0 17px #f5a54a9c)}
.client-stage.is-uploading .cyberbot--upload .cyberbot__holo{animation-duration:1s}
.client-stage.is-uploading .cyberbot--upload .cyberbot__float{animation-duration:2.7s}
.client-stage.is-downloading .cyberbot--files{filter:drop-shadow(0 0 19px #9efbff)}
@keyframes client-bot-fly{0%,100%{transform:translate3d(0,5px,0) rotate(-2deg)}50%{transform:translate3d(3px,-11px,0) rotate(2deg)}}
@keyframes client-bot-spark{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:.45;transform:scale(.78)}}
@keyframes client-bot-lid{0%,56%,92%,100%{transform:rotate(0)}64%,78%{transform:rotate(-23deg)}}
@keyframes client-bot-open{0%{transform:rotate(0)}70%,100%{transform:rotate(-28deg)}}
@keyframes client-holo{0%,100%{opacity:.7;transform:translateY(0) rotate(12deg)}50%{opacity:1;transform:translateY(-5px) rotate(16deg)}}

@media(max-width:960px){
 .client-hero{grid-template-columns:minmax(0,1fr) minmax(245px,290px);gap:14px}
 .client-stage .client-panel{padding:26px 24px}
 .cyberbot--welcome{left:-50px;width:105px;top:-9px}
 .cyberbot--files{width:116px;top:-63px;right:16px}
 .cyberbot--upload{width:120px;left:-11px;bottom:-23px}
}
@media(max-width:680px){
 .client-stage{padding-top:1px}
 .client-hero{grid-template-columns:1fr;gap:4px;margin-bottom:30px;min-height:0}
 .client-hero__intro{padding:9px 0 4px}
 .client-hero__intro h1{font-size:clamp(34px,10vw,53px)}
 .client-hero__intro>p:last-child{font-size:14px;line-height:1.6}
 .client-hero__aside{min-height:105px;padding-left:64px}
 .cyberbot--welcome{left:-9px;top:-7px;width:90px}
 .client-stage .countdown-panel{padding:13px 12px;grid-template-columns:22px 1fr;gap:10px}
 .client-stage .countdown-panel .countdown{font-size:clamp(13px,3.65vw,17px)}
 .client-timer-icon{font-size:17px;width:22px;height:22px}
 .client-stage .countdown-panel .fine{font-size:9px}
 .client-stage .client-panel{padding:21px 16px;border-radius:19px;margin-bottom:21px}
 .client-panel__heading{gap:8px;max-width:calc(100% - 65px);align-items:flex-start}
 .client-panel__heading h2{font-size:19px}
 .client-panel__heading p{font-size:12px}
 .client-panel__glyph{width:30px;flex-basis:30px;padding-right:8px;font-size:23px}
 .cyberbot--files{width:91px;top:-51px;right:4px}
 .cyberbot--upload{width:82px;left:-4px;bottom:-9px}
 .cyberbot--upload .cyberbot__holo{width:22px;height:27px;font-size:19px;border-radius:3px}
 .client-stage .client-file-row{flex-direction:column;align-items:stretch;padding:13px;gap:10px}
 .client-stage .client-file-row .button{align-self:flex-end}
 .client-stage .uploader{grid-template-columns:1fr;gap:12px}
 .client-stage .uploader>[data-upload]{width:100%;min-height:43px}
 .client-stage .client-dropzone{min-height:146px}
 .client-policy{margin:8px 3px;font-size:11px}
}
@media(max-width:380px){
 .client-hero__aside{padding-left:47px}
 .cyberbot--welcome{width:66px;top:8px}
 .client-stage .countdown-panel .countdown{font-size:12px}
 .client-stage .countdown-panel .eyebrow{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
 .cyberbot__float,.cyberbot__spark,.cyberbot__thruster,.cyberbot__lid,.cyberbot__holo{animation:none!important}
 .cyberbot__holo{transform:rotate(12deg)}
}


/* ==============================================================
 * STUDIO TOSSANI | DASHBOARD CYBERPUNK
 * Scope: amministrazione autenticata; il portale cliente resta
 * invariato. Non modifica API, autenticazione o trasferimenti.
 * ============================================================== */
body:has(.admin-hero){
 background:
  radial-gradient(ellipse at 90% -5%,rgba(248,40,173,.21),transparent 34%),
  radial-gradient(ellipse at 3% 68%,rgba(18,208,243,.12),transparent 36%),
  radial-gradient(ellipse at 55% 26%,rgba(53,36,111,.15),transparent 52%),
  #090b16;
}
body:has(.admin-hero) .header{position:relative;border-bottom:1px solid rgba(169,126,212,.3)}
body:has(.admin-hero) .header::after{content:"";position:absolute;bottom:-1px;left:0;width:40%;height:1px;background:linear-gradient(90deg,#ed52be,rgba(70,218,253,.4),transparent);box-shadow:0 0 16px #f84aab66;pointer-events:none}
body:has(.admin-hero) main{position:relative;isolation:isolate}
body:has(.admin-hero) main::before{content:"";pointer-events:none;z-index:-1;position:absolute;right:-30vw;top:-370px;width:950px;height:660px;border-radius:50%;border-bottom:2px solid rgba(247,75,208,.57);transform:rotate(-21deg);box-shadow:0 20px 40px -33px rgba(241,76,205,.7)}
body:has(.admin-hero) .eyebrow{color:#fa8ad8!important;text-shadow:0 0 10px #fc53c94d}
body:has(.admin-hero) .admin-hero{position:relative;min-height:210px;padding:19px 200px 32px 0;align-items:flex-start;margin-bottom:10px;border-bottom:1px solid rgba(150,120,220,.12)}
body:has(.admin-hero) .admin-hero h1{margin:8px 0 14px;font-size:clamp(35px,5.3vw,58px);color:#fff;text-shadow:0 0 29px rgba(244,71,206,.25)}
body:has(.admin-hero) .admin-hero>div:first-child>p:last-child{max-width:660px;border-left:2px solid #eb55cf;padding-left:16px;color:#cfd5ec;line-height:1.7}
body:has(.admin-hero) .admin-hero>form{position:absolute;right:0;top:13px;z-index:5}
body:has(.admin-hero) .admin-hero>form>.button{border-radius:999px;padding:9px 19px;background:#1d2135a6;border-color:#ac78d566;color:#f6e9ff}
body:has(.admin-hero) .cyberbot--admin{top:1px;right:83px;width:120px;transform:rotate(-8deg);filter:drop-shadow(0 8px 15px #ff5ac03d)}
body:has(.admin-hero) .cyberbot--admin .cyberbot__float{animation-duration:5.2s}
body:has(.admin-hero) .cyberbot--admin .cyberbot__lid{animation-delay:-6s}
body:has(.admin-hero) .panel{position:relative;isolation:isolate;overflow:visible;background:linear-gradient(134deg,rgba(31,23,55,.9),rgba(15,27,51,.95) 66%,rgba(24,17,49,.93));border:1px solid rgba(174,109,221,.5);border-radius:21px;box-shadow:inset 0 1px 0 #ffffff18,0 15px 36px #0006,0 0 18px rgba(238,62,199,.08);backdrop-filter:blur(7px)}
body:has(.admin-hero) .panel::before{position:absolute;content:"";height:2px;left:21px;right:21px;top:-1px;border-radius:99px;background:linear-gradient(90deg,transparent,#ec5bc5 20%,#58d6fb 75%,transparent);box-shadow:0 0 12px #db50bf69;pointer-events:none}
body:has(.admin-hero) .panel h2{font-size:clamp(20px,2.3vw,25px);font-weight:690;color:#fff;margin-bottom:22px}
body:has(.admin-hero) .two-cols{gap:22px;margin-bottom:25px}
body:has(.admin-hero) .two-cols .panel{padding:29px 29px 31px}
body:has(.admin-hero) .two-cols .panel h2::before{content:"▱";display:inline-block;color:#fe7adb;text-shadow:0 0 12px #f85ac8;margin-right:15px;font-size:24px;font-weight:400}
body:has(.admin-hero) .two-cols .panel:nth-child(2) h2::before{content:"◇"}
body:has(.admin-hero) .form input,body:has(.admin-hero) .form select,body:has(.admin-hero) .invitation input{background:#101122d9;border:1px solid #605b81;border-radius:10px;color:#fff;min-height:47px;box-shadow:inset 0 1px #ffffff06}
body:has(.admin-hero) .form input:focus,body:has(.admin-hero) .form select:focus,body:has(.admin-hero) .invitation input:focus{border-color:#85e6ff;box-shadow:0 0 0 3px #74dfff2e,0 0 15px #6ae4fd30}
body:has(.admin-hero) .check input{accent-color:#fa65c0}
body:has(.admin-hero) .button.primary{background:linear-gradient(115deg,#d53a7c,#b53b9b 63%,#794fc4);border:1px solid #fa8bd3;border-radius:999px;box-shadow:0 6px 19px #ed4cad32,inset 0 1px #ffe6f777;color:white;font-weight:650}
body:has(.admin-hero) .button.primary:hover{background:linear-gradient(115deg,#e54b91,#c346ac 63%,#925bd2);box-shadow:0 8px 24px #ed4cad66}
body:has(.admin-hero) .button.subtle{background:#20203999;border-color:#75678e;color:#f4eafa;border-radius:11px}
body:has(.admin-hero) .button.subtle:hover{border-color:#b8a4e7;background:#333252aa}
body:has(.admin-hero) .button.danger-button{border-color:#a94476;color:#ffa7c9;border-radius:11px}
body:has(.admin-hero) .admin-deliveries{padding:30px 29px 22px}
body:has(.admin-hero) .section-head{padding-bottom:20px;border-bottom:1px solid #a08ec02c;align-items:center}
body:has(.admin-hero) .section-head h2{margin:0}
body:has(.admin-hero) .section-head .muted{font-size:13px;color:#a9afd1}
body:has(.admin-hero) .delivery{border-top:0;border-bottom:1px solid #a892bd35;gap:20px;padding:24px 0}
body:has(.admin-hero) .delivery h3{font-size:19px;font-weight:730;letter-spacing:-.02em}
body:has(.admin-hero) .delivery .muted{color:#c5c7dd}
body:has(.admin-hero) .delivery .fine{color:#abb0cf}
body:has(.admin-hero) .status{font-size:9px;letter-spacing:.12em}
body:has(.admin-hero) .status.active{color:#91fbe7;background:#1c4e4b9c;border:1px solid #439b8e55}
body:has(.admin-hero) .files-area{margin-top:18px;background:linear-gradient(112deg,#17182ec7,#141c35c9);border:1px solid rgba(152,134,203,.35);border-radius:15px;padding:20px 22px}
body:has(.admin-hero) .files-area>.eyebrow{margin-bottom:16px}
body:has(.admin-hero) .files-area .file-row{background:#17192b87;border:1px solid #8e7abb36;border-radius:11px;padding:13px 16px;margin:8px 0;min-width:0}
body:has(.admin-hero) .files-area .file-row strong{overflow-wrap:anywhere}
body:has(.admin-hero) .files-area .uploader{padding-top:17px;border-top:1px solid rgba(171,148,220,.26);margin-top:19px}
body:has(.admin-hero) .files-area .file-input::file-selector-button{background:#2a284b;border:1px solid #9873ba;color:#fff;padding:7px 12px;border-radius:8px;cursor:pointer}
body:has(.admin-hero) .progress-bar{background:linear-gradient(90deg,#f862c4,#9e74f6,#43dbf9)}
body:has(.admin-hero) .invitation{border-color:#ef67c8;background:linear-gradient(125deg,#351b50d9,#131a36ec)}
@media(max-width:820px){
 body:has(.admin-hero) .admin-hero{padding-right:140px;min-height:180px}
 body:has(.admin-hero) .cyberbot--admin{right:60px;top:28px;width:88px}
 body:has(.admin-hero) .two-cols{grid-template-columns:1fr}
}
@media(max-width:600px){
 body:has(.admin-hero) .admin-hero{display:block;padding:8px 0 50px;min-height:0}
 body:has(.admin-hero) .admin-hero>div:first-child{padding-right:55px}
 body:has(.admin-hero) .admin-hero h1{font-size:clamp(31px,9vw,44px)}
 body:has(.admin-hero) .admin-hero>form{right:0;top:4px}
 body:has(.admin-hero) .cyberbot--admin{width:64px;right:4px;top:91px;opacity:.85}
 body:has(.admin-hero) .admin-hero>div:first-child>p:last-child{padding-right:25px;font-size:13px}
 body:has(.admin-hero) .two-cols .panel,body:has(.admin-hero) .admin-deliveries{padding:22px 17px}
 body:has(.admin-hero) .delivery{flex-direction:column}
 body:has(.admin-hero) .actions{justify-content:flex-start}
 body:has(.admin-hero) .files-area{padding:16px 12px}
 body:has(.admin-hero) .file-row{flex-wrap:wrap}
 body:has(.admin-hero) .file-row .button{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){body:has(.admin-hero) .cyberbot--admin .cyberbot__float,body:has(.admin-hero) .cyberbot--admin .cyberbot__lid{animation:none!important}}

/* Accesso amministratore: titolo sobrio e layout compatto.
   Solo la schermata di login; portale cliente e dashboard invariati. */
body:has(.admin-login-intro){
  background:radial-gradient(ellipse at 83% 6%,rgba(192,46,145,.16),transparent 37%),
             radial-gradient(ellipse at 8% 85%,rgba(25,186,211,.09),transparent 48%),#090b14;
}
body:has(.admin-login-intro) .admin-login-intro{
  max-width:560px; margin:8px 0 24px;
}
body:has(.admin-login-intro) .admin-login-intro .eyebrow{
  font-size:10px; letter-spacing:.19em; color:#f093ca!important;
}
body:has(.admin-login-intro) .admin-login-intro h1{
  font-size:clamp(24px,2.7vw,32px);font-weight:650;line-height:1.2;
  letter-spacing:-.028em;margin:5px 0 8px;text-shadow:0 0 20px rgba(226,78,172,.12);
}
body:has(.admin-login-intro) .admin-login-intro>p:last-child{
  font-size:14px;line-height:1.55;margin:0;color:#c4c4d4;
}
body:has(.admin-login-intro) .form.narrow{
  max-width:470px;background:linear-gradient(125deg,rgba(30,24,48,.94),rgba(14,25,43,.96));
  border:1px solid rgba(168,111,204,.48);box-shadow:0 10px 34px rgba(0,0,0,.2),0 0 24px rgba(139,66,171,.08);
}
body:has(.admin-login-intro) .form.narrow input{background:#101423;color:#f9f7ff;border-color:#615778}
body:has(.admin-login-intro) .form.narrow input:-webkit-autofill,
body:has(.admin-login-intro) .form.narrow input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;box-shadow:0 0 0 1000px #161a2d inset;caret-color:#fff;
  transition:background-color 999999s ease-in-out 0s;
}
body:has(.admin-login-intro) .form.narrow .button.primary{
  background:linear-gradient(100deg,#c63378,#ab3e9e);border-color:#ee75bd;
}
@media(max-width:600px){
  body:has(.admin-login-intro) .admin-login-intro{margin:0 0 20px}
  body:has(.admin-login-intro) .admin-login-intro h1{font-size:26px}
}


.st-return-nav{position:sticky;top:0;z-index:1000;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0 12px;margin:0 0 12px;background:linear-gradient(90deg,rgba(8,10,23,.97),rgba(21,14,38,.96));border-bottom:1px solid rgba(145,132,205,.28);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.st-return-nav a,.st-return-nav summary{text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:42px;box-sizing:border-box;padding:10px 16px;border:1px solid rgba(229,151,244,.45);border-radius:999px;background:rgba(35,25,58,.8);color:#fff;font:600 13px/1.3 system-ui,-apple-system,sans-serif;letter-spacing:.025em;cursor:pointer;transition:background .2s,border-color .2s}
.st-return-nav a:hover,.st-return-nav summary:hover,.st-return-nav a:focus-visible,.st-return-nav summary:focus-visible{background:rgba(123,55,143,.42);border-color:#ff97e7;outline-offset:2px}
.st-return-nav .st-return-home{border-color:rgba(255,139,210,.74);background:linear-gradient(110deg,rgba(113,44,116,.60),rgba(31,37,75,.8))}
.st-return-menu{position:relative;flex-shrink:0}
.st-return-menu summary{list-style:none;user-select:none}
.st-return-menu summary::-webkit-details-marker{display:none}
.st-return-menu summary::after{content:'⌄';margin-left:5px;font-size:15px;line-height:1}
.st-return-menu[open] summary::after{content:'⌃'}
.st-return-menu__items{position:absolute;right:0;top:calc(100% + 8px);display:grid;grid-template-columns:1fr;gap:4px;min-width:222px;padding:10px;border:1px solid rgba(219,129,241,.5);border-radius:16px;background:#111025;box-shadow:0 14px 32px rgba(0,0,0,.55),0 0 25px rgba(219,65,218,.13)}
.st-return-menu__items a{display:block;border:0;border-radius:9px;min-height:0;padding:11px 12px;background:transparent;color:#fff;font-size:13px}
.st-return-menu__items a:hover,.st-return-menu__items a:focus-visible{background:rgba(177,93,210,.22)}
@media(max-width:600px){.st-return-nav{gap:8px;padding:8px 0 10px}.st-return-nav a,.st-return-nav summary{min-height:40px;font-size:12px;padding:9px 12px}.st-return-menu__items{min-width:min(225px,calc(100vw - 34px));max-height:70vh;overflow-y:auto}.st-return-home__label{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.st-return-nav a,.st-return-nav summary{transition:none}}

/* V16 official white logo */
.identity .st-client-white-logo{display:block;width:clamp(110px,16vw,180px);height:auto;border-radius:0;object-fit:contain;flex-shrink:0}.identity{flex-wrap:wrap;gap:8px 13px}
