@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#172239;--muted:#8190a5;--border:#e6eaf1;--blue:#5065ff;--light:#f6f8fc}*{box-sizing:border-box}body{margin:0;background:#f8f9fc;color:var(--ink);font-family:'DM Sans',sans-serif}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:258px;background:#fff;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;padding:30px 18px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:14px;letter-spacing:.06em;font-weight:800;white-space:nowrap;padding-left:9px}.brand b{color:#6773ef}.brand small{display:block;color:#a4aec0;font:700 9px 'DM Sans',sans-serif;letter-spacing:.17em;margin-top:4px}.logo{background:#5d67f0;color:white;width:37px;height:37px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:23px;letter-spacing:-.09em;position:relative}.logo span{font-size:10px;align-self:flex-start;margin:4px 0 0 1px}.nav-label{font-size:10px;font-weight:800;color:#a8b3c3;letter-spacing:.16em;margin:70px 16px 18px}.nav a{display:flex;align-items:center;gap:15px;border-radius:12px;padding:14px 17px;color:#75829a;font-size:14px;font-weight:700;margin-bottom:7px}.nav a.active,.nav a:hover{background:#edf0ff;color:#5065f5}.sidebar-bottom{display:flex;align-items:center;gap:11px;border-top:1px solid var(--border);padding:20px 3px 0;margin-top:auto}.avatar{width:35px;height:35px;border-radius:10px;background:#e4e8ff;color:#5a67e8;display:grid;place-items:center;font-weight:800}.user-info{flex:1;min-width:0}.user-info strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.user-info small{font-size:11px;color:#9aa7bc}.logout{background:transparent;border:0;font-size:23px;color:#8b96a8}.main{margin-left:258px;flex:1;min-width:0}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 5.5%;background:#fff}.breadcrumb{font-size:12px;color:#8b96a7;font-weight:700}.breadcrumb span{padding:0 11px;color:#c2cad6}.topright{font-size:11px;color:#8b96a7;display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:100%;background:#22bd8a}.content{max-width:1390px;margin:auto;padding:44px 5.5% 100px}.hero{background:linear-gradient(116deg,#242e60,#1b254e 58%,#394a91);color:white;border-radius:24px;padding:51px 56px;min-height:292px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.eyebrow{color:#7581ec;font-size:10px;letter-spacing:.2em;font-weight:800}.hero .eyebrow{color:#aab6ff}.hero h1,.form-container h1,.project-header h1{font:800 clamp(28px,3vw,39px)/1.23 Manrope,sans-serif;letter-spacing:-.04em;margin:18px 0}.hero h1 em,.form-container h1 em{font-style:normal;color:#a9b9ff}.hero p{max-width:430px;color:#c4ccec;font-size:13px;line-height:1.7;margin:0 0 27px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:10px;padding:13px 20px;font-weight:800;font-size:12px;white-space:nowrap}.btn.light{background:#fff;color:#334080}.btn.primary{background:#5665eb;color:#fff}.btn.primary:hover{background:#4354df}.hero-orb{position:relative;flex:0 0 280px;display:grid;place-items:center}.hero-orb>span{font-size:85px;color:#b9c5ff;filter:drop-shadow(0 0 45px #94a4ff)}.ring{border:1px solid #7286c0;border-radius:50%;position:absolute;transform:rotate(-25deg)}.ring-one{width:240px;height:240px}.ring-two{width:320px;height:140px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:27px 0 55px}.stat{background:#fff;border:1px solid var(--border);padding:25px 29px;border-radius:16px;display:flex;flex-direction:column}.stat>span{color:#9aa5b7;font-size:10px;font-weight:800;letter-spacing:.12em}.stat strong{font:800 31px Manrope,sans-serif;margin:11px 0 4px}.stat small{color:#a0aabd;font-size:11px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}.section-heading h2{font:800 21px Manrope,sans-serif;letter-spacing:-.035em;margin:7px 0 0}.muted{color:#bac2ce}.search{display:flex;background:#fff;border:1px solid var(--border);border-radius:10px;max-width:275px;width:100%;overflow:hidden}.search input{border:0;outline:0;padding:12px 14px;width:100%;min-width:0;font-size:12px}.search button{background:none;border:0;color:#8b94a8;font-size:24px;padding-right:12px}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card,.new-project{min-height:204px;border-radius:16px;padding:24px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);transition:transform .15s,box-shadow .15s}.project-card:hover,.new-project:hover{transform:translateY(-3px);box-shadow:0 8px 30px #1c2c5a12}.new-project{border:1px dashed #a5aee9;align-items:center;justify-content:center;background:#f4f5ff;gap:10px;text-align:center}.plus{font-size:27px;width:49px;height:49px;border-radius:14px;background:#e4e8ff;color:#6670e9;display:grid;place-items:center}.new-project strong{font-size:13px}.new-project small,.project-card p{font-size:12px;color:#9aa5b6}.folder-symbol{color:#717df0;font-size:39px;line-height:1}.project-card h3{font:800 15px Manrope,sans-serif;margin:15px 0 5px;overflow-wrap:anywhere}.project-card p{margin:0;line-height:1.5;flex:1;overflow-wrap:anywhere}.project-meta{border-top:1px solid var(--border);display:flex;justify-content:space-between;margin-top:18px;padding-top:12px;color:#8c98a9;font-size:11px;font-weight:700}.project-meta span:last-child{font-size:17px;color:#6775ef}.back{font-size:12px;color:#6d7beb;font-weight:800}.form-container{max-width:680px;margin:40px auto}.form-container h1 em{color:#6573e9}.sub{color:#93a0b2;font-size:13px;line-height:1.6}.form-card{background:white;border:1px solid var(--border);border-radius:16px;padding:32px;margin-top:30px;display:flex;flex-direction:column;gap:12px}.form-card label,.login-card label{font-size:12px;font-weight:800;margin-top:14px}.form-card input,.form-card textarea,.login-card input{width:100%;padding:14px 16px;border-radius:10px;border:1px solid #e0e5ee;background:#fff;outline-color:#6675ff;font-size:13px}.form-card .btn{align-self:flex-start;margin-top:12px}.errorlist{color:#c94e5c;font-size:12px}.project-header{display:flex;justify-content:space-between;align-items:center;margin:35px 0}.project-header h1{margin:10px 0}.danger-outline{background:#fff;color:#cf5967;border:1px solid #f0d6da}.upload-panel{display:flex;align-items:center;gap:22px;padding:25px;border:1px dashed #a5ace4;border-radius:16px;background:#f1f3ff;margin:35px 0 50px}.upload-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:#e1e5ff;color:#5865e8;font-size:30px}.upload-panel h3{margin:0 0 7px;font-size:15px}.upload-panel p{margin:0;color:#939eb3;font-size:11px;max-width:400px;line-height:1.5}.upload-form{margin-left:auto;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.upload-form input{max-width:220px;font-size:11px}.file-list{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}.file-row{display:grid;grid-template-columns:minmax(0,3fr) 1fr 1fr 1fr;align-items:center;gap:12px;padding:17px 23px;border-bottom:1px solid #eff1f5;font-size:12px}.file-row:last-child{border-bottom:0}.file-list-header{font-weight:800;font-size:10px;letter-spacing:.1em;color:#a0aabb;background:#fafbfe}.filename{display:flex;gap:11px;align-items:center;min-width:0;font-weight:700}.filename>span:last-child{overflow-wrap:anywhere}.file-icon{background:#eff1ff;color:#6874e4;border-radius:9px;padding:8px;font-size:19px}.small-muted{color:#98a4b7}.file-actions{display:flex;align-items:center;gap:15px}.action-link{color:#586bec;font-weight:800}.delete-link{border:0;background:none;color:#d56a74}.empty-files,.empty-search{padding:40px;text-align:center;font-size:13px;color:#a1aaba}.message{padding:12px 16px;background:#e9f9f1;border:1px solid #b9e9d1;border-radius:10px;font-size:13px;color:#167b4f;margin-bottom:18px}.message.error{background:#fff0f2;color:#ac3d4d;border-color:#ffd3d9}.login-body{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-art{background:linear-gradient(145deg,#202a58 0%,#172046 70%,#344887 100%);color:#fff;position:relative;overflow:hidden;display:flex;align-items:center}.login-art::after{content:'';width:520px;height:520px;border:1px solid #5366a9;border-radius:50%;position:absolute;right:-250px;top:18%}.login-shine{width:440px;height:440px;background:#6174e5;opacity:.2;filter:blur(100px);position:absolute;right:-80px;bottom:-100px}.login-art-inner{padding:12%;position:relative;z-index:1}.brand.white{padding:0;color:#fff}.brand.white b{color:#afbdff}.giant{font:800 clamp(38px,4.5vw,68px)/1.15 Manrope,sans-serif;letter-spacing:-.05em;margin-top:130px}.giant em{font-style:normal;color:#afbdff}.login-art p{font-size:14px;line-height:1.8;color:#bbc5e8;max-width:370px;margin:28px 0}.pill{display:inline-block;border:1px solid #516196;border-radius:40px;padding:10px 16px;font-size:10px;letter-spacing:.13em;color:#b4c4ff;margin-top:50px}.login-panel{display:grid;place-items:center;padding:45px}.login-card{width:100%;max-width:400px}.login-card h1{font:800 32px/1.2 Manrope,sans-serif;letter-spacing:-.045em;margin:14px 0}.dot{color:#5d6cf1}.login-card .sub{margin-bottom:37px}.login-card form{display:flex;flex-direction:column;gap:12px}.login-card form label{margin:9px 0 -3px}.wide{width:100%;margin-top:15px;justify-content:space-between;padding:16px 20px}.login-foot{display:block;text-align:center;margin-top:35px;color:#9ca8b8;font-size:11px}@media(max-width:1080px){.projects{grid-template-columns:repeat(2,1fr)}.hero-orb{flex-basis:170px}.ring-one{width:165px;height:165px}.ring-two{width:215px;height:100px}.upload-panel{flex-wrap:wrap}.upload-form{margin-left:0;width:100%}}@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto;padding:15px;flex-direction:row;gap:15px;align-items:center}.brand{font-size:11px}.nav-label,.sidebar-bottom,.nav a span{display:none}.nav{display:flex;margin-left:auto}.nav a{margin:0;padding:10px;font-size:20px}.shell{display:block}.main{margin:0}.topbar{height:52px;padding:0 20px}.content{padding:24px 18px 70px}.hero{padding:29px;min-height:260px}.hero-orb{display:none}.stats{gap:9px;margin:14px 0 35px}.stat{padding:15px}.stat strong{font-size:19px}.stat span{font-size:9px}.stat small{font-size:10px}.projects{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.search{max-width:none}.project-header{align-items:flex-start;gap:15px;flex-wrap:wrap}.file-row{grid-template-columns:minmax(0,2fr) 1fr;gap:7px;padding:14px}.file-list-header{display:none}.file-row>.small-muted:nth-child(3){display:none}.file-actions{justify-content:flex-end}.upload-form input{max-width:100%;width:100%}.login-body{display:block}.login-art{min-height:230px}.login-art-inner{padding:32px}.giant{font-size:31px;margin-top:27px}.login-art p,.pill{display:none}.login-panel{padding:45px 25px}.login-card h1{font-size:27px}}

/* 3AE CLOUD — Collaborazione */
.notes-panel{margin-top:38px}.note-form,.chat-compose{background:#fff;border:1px solid #e8e9f1;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;margin:16px 0}.note-form textarea,.chat-compose textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #d8dcea;border-radius:12px;padding:14px;font:inherit;color:#1e2840;background:#fbfcff}.note-form .btn,.chat-compose .btn{align-self:flex-end}.note-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}.note-card{background:#fff;border:1px solid #e8e9f1;border-radius:15px;padding:20px;overflow-wrap:anywhere}.note-card p{line-height:1.7;white-space:normal}.note-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:15px;font-size:12px;color:#778198}.note-meta form{margin:0}.chat-stream{background:#f8f9fe;border:1px solid #e8e9f1;padding:20px;border-radius:18px;display:flex;flex-direction:column;gap:15px;min-height:280px;max-height:60vh;overflow:auto}.chat-bubble{align-self:flex-start;background:#fff;border:1px solid #e4e7f0;padding:14px 18px;border-radius:16px;max-width:min(82%,650px);overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:#eeeaff;border-color:#ddd6fe}.chat-author{font-size:12px;font-weight:700;color:#5042a4}.chat-author span{font-weight:400;color:#8991a5;margin-left:8px}.chat-bubble p{margin:8px 0 0;line-height:1.55}.file-actions{flex-wrap:wrap;gap:8px}

/* 3AE CLOUD · Rosso corporate */
:root{--blue:#c51f2c;--red:#c51f2c;--light:#fff6f6;--border:#f0dfe1}
.brand b,.back,.action-link,.eyebrow,.project-meta span:last-child,.folder-symbol,.dot{color:#c51f2c}
.logo,.btn.primary{background:#c51f2c}.btn.primary:hover{background:#9e1622}
.nav a.active,.nav a:hover{background:#fff0f1;color:#aa1523}
.hero{background:linear-gradient(116deg,#3f1019,#710e20 60%,#c51f2c)}.hero h1 em,.hero .eyebrow{color:#ffd5db}
.login-art{background:linear-gradient(145deg,#420c19,#751024 70%,#bf2234)}
.brand.white b,.giant em{color:#ffbfca}.login-shine{background:#ef4359}
.new-project,.upload-panel{background:#fff5f6;border-color:#efb9c0}.plus,.upload-icon,.file-icon,.avatar{background:#ffe5e8;color:#b31e2b}
.chat-bubble.mine{background:#ffe7ea;border-color:#f9bec8}.chat-author{color:#9f1623}
.collab-panel{background:#fff;border:1px solid var(--border);border-radius:17px;padding:24px;margin:26px 0}
.collab-panel h2{margin:0 0 12px;font-size:21px}.create-chats{display:grid;grid-template-columns:1fr 1fr;gap:20px}.create-chats form{display:flex;flex-direction:column;gap:11px;min-width:0}.create-chats input:not([type=checkbox]),.create-chats select,.share-form select,.reply-form textarea{border:1px solid #e9cbd0;border-radius:10px;padding:11px;background:white;font:inherit;max-width:100%;width:100%}.member-picks{display:flex;flex-wrap:wrap;gap:10px}.member-picks label{background:#fff5f6;border:1px solid #efd7da;border-radius:10px;padding:9px;font-size:12px}.member-picks span,.participants small{font-size:11px;color:#8c919d}.participants small.online,.member-picks .online{color:#15803d}.participants{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.participants>span{background:#fff1f2;padding:9px 12px;border-radius:30px;font-size:12px}.conversation-links{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 24px}.conv-link{background:#fff1f2;color:#9f1623;padding:11px 15px;border:1px solid #f3d2d7;border-radius:10px;font-size:13px;font-weight:700}.share-form{display:flex;gap:10px;max-width:550px}.note-grid{grid-template-columns:1fr 1fr}.reply{border-left:3px solid #e9b2ba;background:#fff8f9;padding:9px 12px;margin-top:10px;font-size:12px}.reply p{margin:6px 0}.reply-form{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin-top:15px}.reply-form .btn{font-size:11px}@media(max-width:760px){.create-chats,.note-grid{grid-template-columns:1fr}.share-form{flex-direction:column}}
