*{box-sizing:border-box}
body{margin:0;background:#0b0d10;color:#f3f5f7;font:15px/1.55 Inter,system-ui,sans-serif}
header{padding:20px 5%;border-bottom:1px solid #252a31;background:#0e1115}
.brand{color:#fff;text-decoration:none;font-weight:800}
main{max-width:1100px;margin:0 auto;padding:42px 22px}
.hero{margin-bottom:35px}.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8d98a6}
.hero h1,.page-heading h1,.result-card h1{font-size:clamp(34px,5vw,58px);line-height:1;margin:10px 0 16px}
.hero p,.muted{color:#aeb7c2}.hero p{max-width:700px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.card{border:1px solid #272d35;background:#11151a;border-radius:18px;padding:24px;margin:18px 0}
.card h2{margin:6px 0 12px}.page-heading,.section-heading,.account-card,.video-detail-head,.history-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.page-heading{margin-bottom:10px}.section-heading{align-items:flex-start}.account-card{align-items:flex-start}.scope-list{max-width:58%;text-align:right}.scope-list>div{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:8px}
.scope-pill,.status-pill{display:inline-flex;align-items:center;border:1px solid #303740;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;letter-spacing:.02em;background:#171c22;color:#dbe1e7}
.status-pill{border-color:#39434d}.status-publish-complete{color:#8ef0b1;border-color:#27613d;background:#102419}.status-failed{color:#ffaaa9;border-color:#663134;background:#291517}.status-send-to-user-inbox{color:#f1d38b}.status-processing,.status-processing-upload,.status-processing-download{color:#9ec9ff}
.btn{display:inline-block;background:#fff;color:#0b0d10;border:0;border-radius:10px;padding:11px 15px;text-decoration:none;font-weight:800;cursor:pointer}.btn.ghost{background:#20262e;color:#fff}.btn:disabled{opacity:.45;cursor:not-allowed}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.ok{color:#64e291}
.note,.success,.error{padding:15px;border-radius:12px;margin-top:18px}.note{background:#151a20;color:#aeb7c2}.success{background:#12321f;color:#8ef0b1}.error{background:#3a1719;color:#ffaaa9}
label{display:block;margin:14px 0;color:#adb7c3}input,textarea,select{display:block;width:100%;margin-top:6px;padding:11px;border-radius:9px;border:1px solid #303740;background:#0b0f13;color:#fff}textarea{min-height:100px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-help{font-size:13px;color:#8f9aa7}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.check-grid label,.consent,.checkbox-inline{display:flex;align-items:center;gap:9px}.check-grid input,.consent input,.checkbox-inline input{width:auto;margin:0}.sub-options{border:1px solid #292f37;background:#0e1216;border-radius:12px;padding:10px 14px}.media-preview{width:100%;max-height:420px;margin:14px 0;border-radius:12px;background:#080a0c}.photo-preview{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.photo-preview img{width:120px;height:120px;object-fit:cover;border-radius:10px;border:1px solid #303740}
.data-list,.status-summary,.detail-grid,.progress-grid,.metric-grid{display:grid;gap:12px}.data-list{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.data-list div,.status-summary div,.detail-grid div,.progress-grid div{border:1px solid #292f37;background:#0e1216;border-radius:12px;padding:12px}.data-list span,.status-summary span,.detail-grid span,.progress-grid span{display:block;color:#8f9aa7;font-size:12px}.data-list strong,.status-summary strong,.detail-grid strong,.progress-grid strong{display:block;margin-top:3px;word-break:break-word}
.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid div{background:#0e1216;border:1px solid #292f37;border-radius:12px;padding:14px}.metric-grid strong{display:block;font-size:24px}.metric-grid span{color:#8f9aa7;font-size:12px}
.video-row{display:flex;gap:16px;border:1px solid #292f37;background:#0e1216;padding:14px;border-radius:15px;margin:12px 0}.video-cover{width:92px;height:120px;object-fit:cover;border-radius:10px;background:#090c0f}.video-row-body{min-width:0;flex:1}.video-row-body>strong{display:block}.video-meta{display:flex;gap:12px;flex-wrap:wrap;color:#8f9aa7;font-size:13px;margin:8px 0}.pagination{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.video-player-wrap{display:flex;justify-content:center;background:#080a0c;border:1px solid #292f37;border-radius:16px;padding:16px;margin:20px 0}.tiktok-player{width:min(100%,430px);height:760px;border:0;border-radius:12px;background:#000}.video-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.video-metrics div{border:1px solid #292f37;background:#0e1216;border-radius:12px;padding:12px;text-align:center}.video-metrics strong{display:block;font-size:21px}.video-metrics span{display:block;color:#8f9aa7;font-size:11px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.detail-grid strong{overflow-wrap:anywhere}
.history-row{border-bottom:1px solid #292f37;padding:15px 0}.history-row:last-child{border-bottom:0}.history-title{font-weight:800}.history-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.empty-state{display:flex;flex-direction:column;gap:4px;padding:28px;border:1px dashed #303740;border-radius:14px;color:#aeb7c2}.empty-state strong{color:#f3f5f7}
pre{overflow:auto;background:#090c0f;padding:15px;border-radius:10px;font-size:12px}.back{color:#aeb7c2;text-decoration:none}code{background:#20262e;padding:2px 5px;border-radius:5px}
@media(max-width:720px){main{padding:28px 16px}.page-heading,.account-card,.video-detail-head,.history-row{align-items:flex-start;flex-direction:column}.scope-list{max-width:none;text-align:left}.scope-list>div{justify-content:flex-start}.form-grid,.check-grid,.data-list,.detail-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.video-row{align-items:flex-start}.video-cover{width:72px;height:96px}.tiktok-player{height:640px}}
/* YouTube dashboard */
.yt-hero{align-items:flex-end}
.yt-actions{align-items:center}
.status-connected{color:#8ef0b1;border-color:#27613d;background:#102419}

.yt-channel-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:24px;
  border:1px solid #2a333d;
  background:linear-gradient(135deg,#121820,#0d1116);
  border-radius:20px;
  margin:18px 0;
  overflow:hidden;
}
.yt-channel-main{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  flex:1;
}
.yt-channel-main>div{min-width:0}
.yt-channel-main h2{
  margin:4px 0 6px;
  font-size:26px;
  line-height:1.2;
}
.yt-channel-main p{
  max-width:680px;
  margin:0 0 10px;
}
.yt-channel-main code{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  vertical-align:bottom;
}
.yt-avatar{
  width:72px;
  height:72px;
  flex:0 0 72px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid #303740;
}
.yt-channel-card>.btn{flex:0 0 auto}

.yt-metrics{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:18px 0;
}
.yt-metrics>div{min-width:0}
.yt-metrics strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.scope-grid{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.scope-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-width:0;
  padding:14px;
  border:1px solid #292f37;
  background:#0e1216;
  border-radius:12px;
}
.scope-row>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.scope-row span{font-weight:800}
.scope-row span+span{
  font-size:13px;
  font-weight:400;
  color:#8f9aa7;
}
.scope-row code{
  width:max-content;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8f9aa7;
  font-size:11px;
}
.scope-ok,.scope-missing{white-space:nowrap;flex:0 0 auto}
.scope-ok{color:#8ef0b1}
.scope-missing{color:#ffaaa9}

.youtube-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(280px,.75fr) minmax(420px,1.25fr);
  gap:18px;
}
.feature-card{margin:0}
.feature-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #303740;
  background:#171c22;
  border-radius:12px;
  font-weight:900;
  font-size:18px;
  margin-bottom:18px;
}
.comment-card{margin:12px 0}
.comment-head{display:flex;justify-content:space-between;gap:12px}
.reply-row{display:flex;gap:10px;align-items:flex-end}
.reply-row input{margin-top:0}
.reply-row .btn{flex:0 0 auto}
.result-card{max-width:900px}

@media(max-width:820px){
  .youtube-dashboard-grid{grid-template-columns:1fr}
  .yt-channel-card{
    align-items:flex-start;
    flex-direction:column;
  }
  .yt-channel-card>.btn{width:100%;text-align:center}
  .yt-actions{align-items:flex-start}
  .yt-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .reply-row{
    align-items:stretch;
    flex-direction:column;
  }
  .reply-row .btn{width:100%}
}

@media(max-width:560px){
  .yt-metrics{grid-template-columns:1fr}
  .yt-channel-main{align-items:flex-start}
  .yt-avatar{width:60px;height:60px;flex-basis:60px}
  .scope-row{align-items:flex-start}
  .scope-ok,.scope-missing{padding-top:2px}
}


/* =========================
   SANOVA PRODUCT SHELL
   Presentation layer only.
   ========================= */

:root{
  --sanova-bg:#07090c;
  --sanova-surface:#0d1116;
  --sanova-surface-2:#111720;
  --sanova-line:rgba(255,255,255,.09);
  --sanova-line-strong:rgba(255,255,255,.15);
  --sanova-text:#f6f7f9;
  --sanova-muted:#98a3b2;
  --sanova-accent:#8fb7ff;
  --sanova-accent-2:#c7d9ff;
  --scroll:0;
  --mx:0;
  --my:0;
}

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 72% 12%,rgba(103,145,255,.12),transparent 26rem),
    radial-gradient(circle at 15% 72%,rgba(86,105,145,.08),transparent 30rem),
    var(--sanova-bg);
  color:var(--sanova-text);
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 85%);
  z-index:-2;
}
.app-noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.025;
  z-index:20;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.scroll-progress{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:2px;
  transform-origin:left center;
  background:linear-gradient(90deg,var(--sanova-accent),#fff);
  z-index:100;
  box-shadow:0 0 18px rgba(143,183,255,.5);
}

.app-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:0;
  border-bottom:1px solid var(--sanova-line);
  background:rgba(7,9,12,.72);
  backdrop-filter:blur(20px) saturate(140%);
}
.header-inner{
  width:min(1280px,calc(100% - 48px));
  min-height:72px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:32px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--sanova-text);
  font-weight:850;
  letter-spacing:-.02em;
}
.brand-mark{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid rgba(143,183,255,.55);
  border-radius:9px;
  color:var(--sanova-accent-2);
  background:linear-gradient(145deg,rgba(143,183,255,.2),rgba(143,183,255,.02));
  box-shadow:0 0 28px rgba(143,183,255,.12);
}
.app-nav{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:auto;
}
.nav-link{
  color:#aeb7c4;
  text-decoration:none;
  padding:9px 12px;
  border-radius:10px;
  transition:color .2s ease,background .2s ease,transform .2s ease;
}
.nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
  transform:translateY(-1px);
}
.header-context{
  display:flex;
  align-items:center;
  gap:8px;
  color:#aeb7c4;
  font-size:12px;
  border:1px solid var(--sanova-line);
  border-radius:999px;
  padding:7px 11px;
}
.context-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#8ef0b1;
  box-shadow:0 0 12px rgba(142,240,177,.7);
}

main{
  width:min(1280px,calc(100% - 48px));
  max-width:none;
  padding:0;
  margin:0 auto;
}
.eyebrow{
  color:#8fa9cc;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
}
.muted{color:var(--sanova-muted)}

.sanova-hero{
  min-height:calc(100vh - 72px);
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
  align-items:center;
  gap:40px;
  padding:80px 0 110px;
  position:relative;
}
.hero-copy{
  position:relative;
  z-index:3;
  max-width:700px;
}
.hero-copy h1{
  margin:16px 0 24px;
  font-size:clamp(48px,7vw,92px);
  line-height:.94;
  letter-spacing:-.055em;
  font-weight:850;
}
.hero-copy h1 span{
  color:transparent;
  background:linear-gradient(110deg,#fff 5%,#a8bbd8 45%,#7fa8ef 90%);
  background-clip:text;
  -webkit-background-clip:text;
}
.hero-lead{
  max-width:620px;
  color:#aab5c4;
  font-size:17px;
  line-height:1.7;
}
.hero-actions{margin-top:28px}

.hero-visual{
  position:relative;
  height:min(620px,58vw);
  min-height:460px;
  display:grid;
  place-items:center;
  isolation:isolate;
  transform:translate3d(calc(var(--mx) * 7px),calc(var(--my) * 7px),0);
  transition:transform .18s ease-out;
}
.visual-grid{
  position:absolute;
  inset:12%;
  opacity:.22;
  background:
    linear-gradient(rgba(143,183,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(143,183,255,.12) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(circle at center,black,transparent 70%);
}
.orbit{
  position:absolute;
  border:1px solid rgba(143,183,255,.2);
  border-radius:50%;
  transform:rotateX(65deg) rotateZ(calc(var(--scroll) * 20deg));
  box-shadow:0 0 40px rgba(143,183,255,.035);
}
.orbit-a{width:76%;height:42%;animation:orbitA 16s linear infinite}
.orbit-b{width:60%;height:60%;transform:rotateY(66deg) rotateZ(calc(var(--scroll) * -28deg));animation:orbitB 20s linear infinite reverse}
.orbit-c{width:44%;height:78%;transform:rotateX(72deg) rotateY(18deg);animation:orbitC 24s linear infinite}
.core-orb{
  width:190px;
  height:190px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  position:relative;
  z-index:4;
  background:
    radial-gradient(circle at 35% 25%,rgba(255,255,255,.22),transparent 22%),
    radial-gradient(circle at center,rgba(107,145,210,.25),rgba(9,12,17,.92) 65%);
  border:1px solid rgba(174,204,255,.4);
  box-shadow:
    0 0 70px rgba(111,153,225,.18),
    inset 0 0 55px rgba(124,166,238,.08);
  transform:translate3d(calc(var(--mx) * -9px),calc(var(--my) * -9px),0);
}
.core-orb:after{
  content:"";
  position:absolute;
  inset:-14px;
  border:1px solid rgba(143,183,255,.12);
  border-radius:50%;
  animation:pulseRing 3.4s ease-in-out infinite;
}
.core-orb-mark{
  font-size:58px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.08em;
}
.core-orb-label{
  font-size:10px;
  letter-spacing:.28em;
  color:#a8bad7;
}
.float-node{
  position:absolute;
  z-index:5;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(10,14,20,.76);
  backdrop-filter:blur(12px);
  color:#d5deeb;
  font-size:10px;
  letter-spacing:.13em;
  box-shadow:0 15px 35px rgba(0,0,0,.25);
}
.node-core{top:17%;left:13%;animation:floatOne 6s ease-in-out infinite}
.node-connect{right:7%;top:37%;animation:floatTwo 7s ease-in-out infinite}
.node-cap{left:24%;bottom:13%;animation:floatThree 8s ease-in-out infinite}

.dashboard-section{
  padding:88px 0;
  scroll-margin-top:100px;
}
.dashboard-heading{margin-bottom:28px}
.dashboard-heading h2,
.section-heading h2{
  margin:8px 0 8px;
  font-size:clamp(28px,4vw,42px);
  letter-spacing:-.04em;
}
.status-live{
  color:#b8f4ca;
  border-color:rgba(112,220,145,.28);
  background:rgba(50,125,75,.12);
}
.status-live i{
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:6px;
  border-radius:50%;
  background:#8ef0b1;
  box-shadow:0 0 12px rgba(142,240,177,.7);
}

.overview-grid{
  display:grid;
  grid-template-columns:1.45fr .78fr .78fr;
  gap:14px;
}
.overview-card{
  min-height:210px;
  padding:24px;
  border:1px solid var(--sanova-line);
  border-radius:22px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    var(--sanova-surface);
  box-shadow:0 20px 70px rgba(0,0,0,.18);
  transition:transform .35s ease,border-color .35s ease,background .35s ease;
}
.overview-card:hover{
  transform:translateY(-6px);
  border-color:var(--sanova-line-strong);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.02)),var(--sanova-surface);
}
.card-kicker{
  color:#7f8ea2;
  font-size:10px;
  letter-spacing:.16em;
  font-weight:800;
}
.overview-value{
  margin:36px 0 8px;
  font-size:clamp(30px,4vw,48px);
  font-weight:850;
  letter-spacing:-.045em;
}
.overview-main .overview-value{
  font-size:clamp(42px,6vw,70px);
}
.signal-line{
  display:flex;
  align-items:flex-end;
  gap:5px;
  height:30px;
  margin-top:22px;
}
.signal-line span{
  width:6px;
  border-radius:99px;
  background:linear-gradient(to top,#6685b5,#dbe8ff);
  animation:signal 1.6s ease-in-out infinite;
}
.signal-line span:nth-child(1){height:38%;animation-delay:-.1s}
.signal-line span:nth-child(2){height:72%;animation-delay:-.35s}
.signal-line span:nth-child(3){height:52%;animation-delay:-.6s}
.signal-line span:nth-child(4){height:90%;animation-delay:-.85s}
.signal-line span:nth-child(5){height:64%;animation-delay:-1.1s}

.integration-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:30px;
}
.integration-card{
  min-height:330px;
  padding:26px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--sanova-line);
  border-radius:24px;
  background:
    radial-gradient(circle at 100% 0,rgba(143,183,255,.09),transparent 40%),
    var(--sanova-surface);
  position:relative;
  overflow:hidden;
  transition:transform .35s ease,border-color .35s ease;
}
.integration-card:before{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  right:-100px;
  bottom:-130px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
  transition:transform .5s ease;
}
.integration-card:hover{
  transform:translateY(-7px);
  border-color:rgba(143,183,255,.28);
}
.integration-card:hover:before{transform:scale(1.35)}
.integration-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.integration-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  font-size:25px;
  font-weight:900;
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
}
.integration-copy{margin-top:46px}
.integration-copy h3{
  margin:7px 0 10px;
  font-size:32px;
  letter-spacing:-.04em;
}
.integration-footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:28px;
}
.integration-footer form{margin:0}
.integration-card .btn{
  position:relative;
  z-index:2;
}
.btn{
  border:1px solid rgba(255,255,255,.14);
  background:#f4f7fb;
  color:#090b0f;
  border-radius:11px;
  padding:11px 15px;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.btn.ghost{
  background:rgba(255,255,255,.055);
  color:#eef3fa;
}
.btn.ghost:hover{background:rgba(255,255,255,.09)}
.tiktok-mark{box-shadow:0 0 40px rgba(255,255,255,.06)}
.youtube-mark{box-shadow:0 0 40px rgba(255,255,255,.06)}

.statement-section{
  min-height:72vh;
  padding:130px 0 180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
}
.statement-line{
  width:100%;
  height:1px;
  margin-bottom:70px;
  background:linear-gradient(90deg,transparent,rgba(143,183,255,.45),transparent);
}
.statement-section h2{
  margin:16px 0;
  font-size:clamp(42px,7vw,84px);
  line-height:.98;
  letter-spacing:-.055em;
}
.statement-section h2 span{color:#91afe0}

[data-reveal]{
  opacity:0;
  transform:translateY(45px) scale(.985);
  transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible{
  opacity:1;
  transform:none;
}
.integration-card:nth-child(2){transition-delay:.12s}

@keyframes orbitA{to{transform:rotateX(65deg) rotateZ(360deg)}}
@keyframes orbitB{to{transform:rotateY(66deg) rotateZ(360deg)}}
@keyframes orbitC{to{transform:rotateX(72deg) rotateY(18deg) rotateZ(360deg)}}
@keyframes pulseRing{0%,100%{transform:scale(.96);opacity:.35}50%{transform:scale(1.05);opacity:.8}}
@keyframes floatOne{50%{transform:translate3d(8px,-12px,0)}}
@keyframes floatTwo{50%{transform:translate3d(-10px,8px,0)}}
@keyframes floatThree{50%{transform:translate3d(7px,10px,0)}}
@keyframes signal{0%,100%{transform:scaleY(.72);opacity:.6}50%{transform:scaleY(1.12);opacity:1}}

@media(max-width:900px){
  .header-inner{width:min(100% - 32px,1280px);gap:12px}
  .app-nav{display:none}
  .header-context{margin-left:auto}
  main{width:min(100% - 32px,1280px)}
  .sanova-hero{grid-template-columns:1fr;padding:70px 0 60px;min-height:auto}
  .hero-visual{height:520px;min-height:420px;order:-1}
  .hero-copy h1{font-size:clamp(48px,12vw,76px)}
  .overview-grid{grid-template-columns:1fr 1fr}
  .overview-main{grid-column:1/-1}
}
@media(max-width:620px){
  .header-inner{min-height:64px}
  .header-context{font-size:11px}
  .brand-mark{width:28px;height:28px}
  .sanova-hero{padding:55px 0 35px}
  .hero-visual{height:400px;min-height:340px}
  .core-orb{width:145px;height:145px}
  .core-orb-mark{font-size:46px}
  .node-core{left:2%;top:12%}
  .node-connect{right:0;top:35%}
  .node-cap{left:8%;bottom:9%}
  .overview-grid,.integration-grid{grid-template-columns:1fr}
  .overview-main{grid-column:auto}
  .dashboard-section{padding:65px 0}
  .statement-section{min-height:60vh;padding:90px 0 120px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}

/* Identity / authentication */
.inline-form{display:inline-flex;margin:0}
.nav-button{border:0;background:none;color:var(--sanova-muted);font:inherit;cursor:pointer;padding:0}
.nav-button:hover{color:var(--sanova-text)}
.account-line{margin:.35rem 0 0;color:var(--sanova-muted);font-size:.82rem;letter-spacing:.04em}
.auth-page{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:72px 24px}
.auth-card{width:min(460px,100%);padding:38px;border:1px solid var(--sanova-line);border-radius:24px;background:rgba(13,16,22,.86);box-shadow:0 30px 100px rgba(0,0,0,.3);backdrop-filter:blur(22px)}
.auth-brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.12em;margin-bottom:34px}
.auth-card h1{margin:.45rem 0 .55rem;font-size:clamp(2rem,5vw,3rem);line-height:1.02}
.provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}
.provider-stack{display:grid;gap:10px;margin-top:28px}
.provider-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border:1px solid var(--sanova-line);border-radius:12px;color:var(--sanova-text);background:rgba(255,255,255,.035);text-decoration:none;font-weight:600;transition:.2s ease}
.provider-button:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.07)}
.auth-divider{display:flex;align-items:center;gap:12px;color:var(--sanova-muted);font-size:.78rem;margin:28px 0 20px;text-transform:uppercase;letter-spacing:.08em}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--sanova-line)}
.auth-form{display:grid;gap:16px}
.auth-form label{display:grid;gap:8px;color:var(--sanova-text);font-size:.9rem}
.auth-form input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid var(--sanova-line);border-radius:12px;background:rgba(255,255,255,.035);color:var(--sanova-text);font:inherit;outline:none}
.auth-form input:focus{border-color:var(--sanova-accent);box-shadow:0 0 0 3px rgba(143,183,255,.1)}
.auth-submit{width:100%;justify-content:center;margin-top:4px}
.auth-footer{text-align:center;color:var(--sanova-muted);font-size:.9rem;margin:24px 0 0}
.auth-footer a{color:var(--sanova-text);font-weight:600}
.auth-error{margin:18px 0 0;padding:12px 14px;border:1px solid rgba(255,120,120,.3);border-radius:12px;background:rgba(255,80,80,.06);color:#ffb8b8;font-size:.88rem}
@media(max-width:560px){.auth-card{padding:28px 20px}.auth-page{padding:40px 16px}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* =========================
   SANOVA PRODUCT UI
   Presentation layer only.
   ========================= */

:root{
  --s-bg:#07090c;
  --s-panel:#0d1117;
  --s-panel-2:#111720;
  --s-line:rgba(255,255,255,.085);
  --s-line-strong:rgba(255,255,255,.15);
  --s-text:#f4f6fa;
  --s-muted:#98a3b2;
  --s-accent:#9dbdf5;
  --s-green:#8ef0b1;
  --scroll:0;
  --mx:0;
  --my:0;
}

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 78% 12%,rgba(105,145,225,.11),transparent 28rem),
    radial-gradient(circle at 12% 72%,rgba(70,90,120,.07),transparent 30rem),
    var(--s-bg);
  color:var(--s-text);
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,#000,transparent 90%);
  z-index:-2;
}
.app-noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.018;
  z-index:20;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.scroll-progress{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:2px;
  transform-origin:left center;
  background:var(--s-accent);
  z-index:100;
}

.app-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:0;
  border-bottom:1px solid var(--s-line);
  background:rgba(7,9,12,.78);
  backdrop-filter:blur(18px) saturate(130%);
}
.header-inner{
  width:min(1280px,calc(100% - 48px));
  min-height:70px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--s-text);
  text-decoration:none;
  font-weight:850;
  letter-spacing:-.025em;
}
.brand-mark{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(157,189,245,.48);
  border-radius:9px;
  background:#0d1420;
  color:#dce9ff;
}
.app-nav{
  display:flex;
  align-items:center;
  gap:2px;
  margin-left:12px;
}
.nav-link{
  color:#aab4c1;
  text-decoration:none;
  padding:9px 11px;
  border-radius:9px;
  transition:color .2s ease,background .2s ease;
}
.nav-link:hover{color:#fff;background:rgba(255,255,255,.05)}
.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}
.nav-cta{
  color:#080a0d;
  background:#f4f6fa;
  text-decoration:none;
  border-radius:10px;
  padding:9px 14px;
  font-weight:800;
}
.header-context{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  color:#aab4c1;
  font-size:12px;
}
.context-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--s-green);
  box-shadow:0 0 12px rgba(142,240,177,.6);
}
.nav-button{
  border:1px solid var(--s-line);
  background:rgba(255,255,255,.04);
  color:#dfe5ed;
  border-radius:9px;
  padding:7px 10px;
  cursor:pointer;
}
.inline-form{display:inline;margin:0}

main{
  width:min(1280px,calc(100% - 48px));
  max-width:none;
  margin:0 auto;
  padding:0;
}
.eyebrow{
  color:#8fa9cc;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.muted{color:var(--s-muted)}
.account-line{color:#788698;font-size:12px;margin-top:8px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid rgba(255,255,255,.14);
  background:#f4f6fa;
  color:#080a0d;
  text-decoration:none;
  border-radius:10px;
  padding:11px 15px;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn.ghost{
  background:rgba(255,255,255,.045);
  color:#edf2f8;
  border-color:var(--s-line);
}
.btn.ghost:hover{background:rgba(255,255,255,.08)}

.actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-actions{margin-top:26px}

.landing-hero{
  min-height:calc(100vh - 70px);
  display:grid;
  grid-template-columns:minmax(300px,.82fr) minmax(560px,1.18fr);
  align-items:center;
  gap:50px;
  padding:70px 0 100px;
}
.landing-copy{max-width:620px}
.landing-copy h1{
  margin:15px 0 20px;
  font-size:clamp(50px,6.6vw,88px);
  line-height:.94;
  letter-spacing:-.06em;
}
.landing-copy h1 span{
  color:transparent;
  background:linear-gradient(105deg,#fff,#a7bddf 55%,#83a9e8);
  background-clip:text;
  -webkit-background-clip:text;
}
.hero-lead{
  max-width:590px;
  margin:0;
  color:#aab5c4;
  font-size:16px;
  line-height:1.65;
}

.product-preview{
  position:relative;
  min-width:0;
  transform:translate3d(calc(var(--mx) * 5px),calc(var(--my) * 5px),0);
  transition:transform .18s ease-out;
}
.product-preview:before{
  content:"";
  position:absolute;
  inset:10% -6%;
  background:radial-gradient(circle,rgba(125,163,224,.13),transparent 62%);
  filter:blur(20px);
  pointer-events:none;
}
.preview-window{
  position:relative;
  display:grid;
  grid-template-columns:154px minmax(0,1fr);
  min-height:510px;
  overflow:hidden;
  border:1px solid var(--s-line-strong);
  border-radius:20px;
  background:#0a0e13;
  box-shadow:0 35px 90px rgba(0,0,0,.42);
  transform:perspective(1300px) rotateY(-4deg) rotateX(1deg);
}
.preview-sidebar{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:20px 12px;
  border-right:1px solid var(--s-line);
  background:#0c1015;
}
.preview-brand{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 7px 30px;
  font-size:12px;
  font-weight:800;
}
.preview-brand span{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1px solid rgba(157,189,245,.45);
  border-radius:7px;
  color:#d9e6fb;
}
.preview-nav{
  width:100%;
  border:0;
  background:transparent;
  color:#7f8b9a;
  text-align:left;
  border-radius:8px;
  padding:10px 9px;
  cursor:pointer;
  font:inherit;
  font-size:12px;
}
.preview-nav:hover,.preview-nav.active{
  color:#eef3fa;
  background:rgba(255,255,255,.065);
}
.preview-main{min-width:0;padding:24px}
.preview-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:20px;
  border-bottom:1px solid var(--s-line);
}
.preview-topbar strong{display:block;margin-top:4px;font-size:20px;letter-spacing:-.03em}
.preview-kicker{font-size:9px;letter-spacing:.16em;color:#718095}
.preview-live{
  color:#a9efbd;
  font-size:10px;
  border:1px solid rgba(142,240,177,.2);
  padding:6px 9px;
  border-radius:999px;
}
.preview-live i,.status-live i{
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:5px;
  border-radius:50%;
  background:var(--s-green);
  box-shadow:0 0 10px rgba(142,240,177,.65);
}
.preview-panel{display:none;padding-top:22px}
.preview-panel.is-active{display:block}
.preview-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.preview-metrics div{
  padding:13px;
  border:1px solid var(--s-line);
  border-radius:11px;
  background:rgba(255,255,255,.025);
}
.preview-metrics span{display:block;color:#68768a;font-size:9px;text-transform:uppercase;letter-spacing:.1em}
.preview-metrics strong{display:block;margin-top:8px;font-size:23px}
.preview-canvas{
  height:330px;
  margin-top:14px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--s-line);
  border-radius:15px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    radial-gradient(circle at center,rgba(118,153,211,.12),transparent 45%);
  background-size:30px 30px,30px 30px,auto;
}
.canvas-orbit{
  position:absolute;
  width:48%;
  height:30%;
  left:26%;
  top:34%;
  border:1px solid rgba(157,189,245,.3);
  border-radius:50%;
  transform:rotateX(64deg) rotateZ(-18deg);
  animation:previewOrbit 12s linear infinite;
}
.canvas-core{
  position:absolute;
  width:92px;
  height:92px;
  left:calc(50% - 46px);
  top:calc(50% - 46px);
  display:grid;
  place-items:center;
  border:1px solid rgba(157,189,245,.42);
  border-radius:50%;
  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.18),#0b1018 62%);
  font-size:34px;
  font-weight:900;
}
.canvas-line{
  position:absolute;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(157,189,245,.3),transparent);
}
.line-one{width:72%;left:14%;top:25%;transform:rotate(18deg)}
.line-two{width:60%;left:20%;bottom:22%;transform:rotate(-14deg)}

.asset-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.asset-toolbar button{
  border:1px solid var(--s-line);
  background:rgba(255,255,255,.045);
  color:#dbe3ed;
  border-radius:8px;
  padding:7px 10px;
}
.asset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.asset-tile{
  height:270px;
  border:1px solid var(--s-line);
  border-radius:13px;
  position:relative;
  overflow:hidden;
}
.asset-tile span{
  position:absolute;
  left:10px;
  bottom:9px;
  font-size:9px;
  color:#d9e1ec;
  padding:4px 6px;
  border-radius:5px;
  background:rgba(0,0,0,.42);
}
.asset-a{background:radial-gradient(circle at 35% 25%,#dce6f4,transparent 16%),linear-gradient(145deg,#172536,#6b8bad 55%,#11161e)}
.asset-b{background:radial-gradient(circle at 70% 30%,#f0e1c5,transparent 18%),linear-gradient(145deg,#251c1a,#725f4d 52%,#0f141a)}
.asset-c{background:radial-gradient(circle at 40% 60%,#bfd7ef,transparent 14%),linear-gradient(145deg,#131c28,#283b59 48%,#090d13)}

.activity-list{display:grid;gap:8px}
.activity-list>div{
  display:grid;
  grid-template-columns:10px 1fr auto;
  gap:10px;
  align-items:center;
  padding:14px;
  border:1px solid var(--s-line);
  border-radius:10px;
  background:rgba(255,255,255,.025);
  font-size:11px;
}
.activity-list i{width:7px;height:7px;border-radius:50%;background:var(--s-green)}
.activity-list time{color:#657286}
.connection-preview{display:grid;gap:10px}
.connection-preview-row{
  display:grid;
  grid-template-columns:40px 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--s-line);
  border-radius:11px;
  background:rgba(255,255,255,.025);
}
.connection-symbol{
  width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--s-line);border-radius:10px;font-size:18px
}
.connection-preview-row strong,.connection-preview-row small{display:block}
.connection-preview-row small{margin-top:3px;color:#69778a;font-size:10px}
.muted-row{opacity:.7}

.product-section,.connections-section{
  padding:110px 0;
  border-top:1px solid var(--s-line);
}
.section-intro{max-width:760px}
.section-intro h2,.connection-heading h2{
  margin:10px 0 0;
  font-size:clamp(38px,5vw,64px);
  line-height:1;
  letter-spacing:-.055em;
}
.section-intro h2 span{color:#91afe0}
.feature-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:55px;
  border-top:1px solid var(--s-line);
}
.feature-strip article{
  padding:28px 24px 20px 0;
  border-right:1px solid var(--s-line);
}
.feature-strip article+article{padding-left:24px}
.feature-strip article:last-child{border-right:0}
.feature-index{color:#708095;font-size:10px;letter-spacing:.12em}
.feature-strip h3{margin:34px 0 8px;font-size:24px;letter-spacing:-.03em}
.feature-strip p{max-width:300px;color:var(--s-muted);margin:0;line-height:1.6}

.connection-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.connection-empty{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:45px;
  padding:28px;
  border:1px dashed var(--s-line-strong);
  border-radius:16px;
}
.connection-plus{
  width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--s-line-strong);border-radius:12px;font-size:25px;color:#b7c7dd;
}
.connection-empty strong{font-size:16px}
.connection-empty p{margin:3px 0 0}

.connection-modal[hidden]{display:none}
.connection-modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  padding:20px;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(8px);
}
.modal-card{
  position:relative;
  width:min(480px,100%);
  padding:28px;
  border:1px solid var(--s-line-strong);
  border-radius:18px;
  background:#0d1117;
  box-shadow:0 35px 90px rgba(0,0,0,.5);
}
.modal-card h2{margin:8px 0 5px;font-size:30px;letter-spacing:-.04em}
.modal-card p{margin:0 0 20px}
.modal-close{
  position:absolute;
  top:15px;
  right:15px;
  width:34px;height:34px;
  border:1px solid var(--s-line);
  border-radius:9px;
  background:rgba(255,255,255,.04);
  color:#dfe6ef;
  cursor:pointer;
  font-size:20px;
}
.modal-options{display:grid;gap:9px}
.modal-option{
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px;
  color:#eef3f9;
  text-decoration:none;
  border:1px solid var(--s-line);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.modal-option:hover{background:rgba(255,255,255,.06);border-color:var(--s-line-strong);transform:translateX(2px)}
.modal-option>span{
  width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--s-line);border-radius:10px;font-weight:900
}
.modal-option small{display:block;color:#6f7c8e;margin-top:2px}
.modal-option b{color:#8fa9cc}

.workspace-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  padding:82px 0 54px;
}
.workspace-hero h1{
  margin:12px 0 12px;
  font-size:clamp(48px,6vw,78px);
  line-height:.95;
  letter-spacing:-.06em;
}
.workspace-board{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  min-height:620px;
  margin-bottom:100px;
  overflow:hidden;
  border:1px solid var(--s-line);
  border-radius:20px;
  background:#0a0e13;
}
.board-sidebar{
  padding:16px 10px;
  border-right:1px solid var(--s-line);
  background:#0c1015;
}
.board-tab{
  display:block;
  width:100%;
  padding:11px 10px;
  margin-bottom:3px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#7e8a9a;
  text-align:left;
  cursor:pointer;
  font:inherit;
  font-size:12px;
}
.board-tab:hover,.board-tab.active{color:#f0f4f9;background:rgba(255,255,255,.055)}
.board-content{min-width:0;padding:28px}
.board-panel{display:none}
.board-panel.is-active{display:block}
.board-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  padding-bottom:22px;
  border-bottom:1px solid var(--s-line);
}
.board-head h2{margin:6px 0 0;font-size:28px;letter-spacing:-.04em}
.asset-empty{
  min-height:430px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:35px;
}
.asset-empty-visual{
  width:min(430px,90%);
  height:170px;
  position:relative;
  margin-bottom:30px;
}
.asset-sheet{
  position:absolute;
  width:220px;
  height:135px;
  border:1px solid var(--s-line-strong);
  border-radius:12px;
  background:#101721;
  box-shadow:0 20px 40px rgba(0,0,0,.28);
}
.sheet-one{left:8%;top:20%;transform:rotate(-8deg);background:linear-gradient(145deg,#17283b,#10151c)}
.sheet-two{left:25%;top:7%;transform:rotate(3deg);background:linear-gradient(145deg,#252018,#12161d)}
.sheet-three{left:42%;top:17%;transform:rotate(10deg);background:linear-gradient(145deg,#16263a,#0d131b)}
.asset-empty strong{font-size:18px}
.asset-empty p{max-width:520px;margin:5px 0 0}
.connected-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.service-card{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:18px;
  border:1px solid var(--s-line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.service-icon{
  width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--s-line);border-radius:12px;font-size:20px;font-weight:900
}
.service-name{font-size:16px;font-weight:800;margin-bottom:5px}
.service-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.service-actions form{margin:0}
.status-pill.status-live{color:var(--s-green);border-color:rgba(142,240,177,.2);background:rgba(50,125,75,.12)}
.add-more-card{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:12px;
  padding:18px;
  border:1px dashed var(--s-line-strong);
  border-radius:14px;
}
.add-more-card>span{
  width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--s-line);border-radius:10px
}
.add-more-card p{margin:2px 0 0}
.activity-empty{padding:80px 20px;text-align:center}
.workspace-anchor{scroll-margin-top:90px}

[data-reveal]{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .65s ease,transform .75s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible{opacity:1;transform:none}

@keyframes previewOrbit{to{transform:rotateX(64deg) rotateZ(342deg)}}

@media(max-width:980px){
  .landing-hero{grid-template-columns:1fr;padding:60px 0 80px}
  .product-preview{order:-1}
  .preview-window{transform:none}
  .feature-strip{grid-template-columns:1fr}
  .feature-strip article,.feature-strip article+article{padding:22px 0;border-right:0;border-bottom:1px solid var(--s-line)}
  .feature-strip article:last-child{border-bottom:0}
  .workspace-board{grid-template-columns:1fr}
  .board-sidebar{display:flex;gap:4px;border-right:0;border-bottom:1px solid var(--s-line)}
  .board-tab{width:auto;flex:1}
}
@media(max-width:700px){
  .header-inner{width:min(100% - 28px,1280px);min-height:64px;gap:10px}
  .app-nav{display:none}
  .header-actions{gap:3px}
  .header-context{font-size:11px}
  .header-context>span:not(.context-dot){display:none}
  main{width:min(100% - 28px,1280px)}
  .landing-hero{padding:45px 0 65px}
  .landing-copy h1{font-size:clamp(46px,13vw,70px)}
  .preview-window{grid-template-columns:1fr;min-height:540px}
  .preview-sidebar{flex-direction:row;align-items:center;overflow:auto;border-right:0;border-bottom:1px solid var(--s-line)}
  .preview-brand{margin:0 10px 0 2px}
  .preview-nav{width:auto;white-space:nowrap}
  .preview-main{padding:18px}
  .preview-canvas{height:270px}
  .asset-grid{grid-template-columns:1fr 1fr}
  .asset-tile{height:190px}
  .connection-heading,.workspace-hero{align-items:flex-start;flex-direction:column}
  .connection-empty{align-items:flex-start}
  .connected-grid{grid-template-columns:1fr}
  .workspace-board{margin-bottom:55px}
  .board-content{padding:18px}
}
@media(max-width:480px){
  .nav-cta{padding:8px 10px}
  .landing-hero{gap:32px}
  .preview-metrics{grid-template-columns:1fr}
  .asset-grid{grid-template-columns:1fr}
  .asset-tile{height:210px}
  .product-section,.connections-section{padding:75px 0}
  .modal-card{padding:24px 18px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* SANOVA auth product preview — additive UI layer */
.auth-shell{width:min(1180px,calc(100% - 48px));min-height:calc(100vh - 74px);margin:0 auto;padding:56px 0 72px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr);align-items:center;gap:56px}
.auth-showcase{min-width:0}
.showcase-copy{max-width:650px;margin:0 0 28px}
.showcase-copy h1{font-size:clamp(3rem,6vw,5.4rem);line-height:.96;letter-spacing:-.055em;margin:12px 0 16px}
.showcase-copy p{max-width:560px;font-size:16px}
.product-demo{border:1px solid rgba(255,255,255,.13);border-radius:20px;background:#0b0f14;box-shadow:0 28px 90px rgba(0,0,0,.38);overflow:hidden;position:relative;isolation:isolate}
.product-demo:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 20%,rgba(143,183,255,.09),transparent 38%);z-index:-1}
.demo-bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.018);font-size:11px}
.demo-brand{display:flex;align-items:center;gap:8px;font-weight:800;letter-spacing:.02em}.demo-brand .brand-mark{width:23px;height:23px;border-radius:7px;font-size:11px}
.demo-state{display:flex;align-items:center;gap:7px;color:#9ca8b7}.demo-state i{width:6px;height:6px;border-radius:50%;background:#8ef0b1;box-shadow:0 0 10px rgba(142,240,177,.55)}
.demo-body{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:300px}
.demo-sidebar{padding:14px 10px;border-right:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.012)}
.demo-tab{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#7f8b9a;text-align:left;font:600 11px/1.2 inherit;cursor:pointer}.demo-tab:hover{color:#dce4ed;background:rgba(255,255,255,.04)}.demo-tab.is-active{color:#fff;background:rgba(143,183,255,.11);box-shadow:inset 2px 0 #8fb7ff}
.demo-main{position:relative;padding:20px;min-width:0}
.demo-panel{display:none}.demo-panel.is-active{display:block;animation:demoIn .22s ease both}@keyframes demoIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.demo-heading>div{display:grid;gap:4px}.demo-heading span,.demo-stat-row small,.demo-preview span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#718093}.demo-heading strong{font-size:19px;letter-spacing:-.02em}.demo-heading>b{font-size:10px;color:#8ef0b1}.demo-mini-action{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);color:#e8edf3;border-radius:8px;padding:6px 9px;font:700 10px inherit;cursor:pointer}
.demo-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.demo-stat-row>div{padding:11px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025)}.demo-stat-row strong{display:block;margin-top:4px;font-size:13px}
.demo-assets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.demo-asset{min-height:94px;border:1px solid rgba(255,255,255,.08);border-radius:11px;position:relative;overflow:hidden;cursor:pointer;padding:0;text-align:left;background:#111720;color:#fff}.demo-asset:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.09),transparent 55%)}.demo-asset span{position:absolute;z-index:1;left:9px;bottom:8px;font-size:10px;font-weight:700;text-shadow:0 1px 8px #000}.asset-a{background:linear-gradient(135deg,#1c2940,#506d9b 48%,#11161e)}.asset-b{background:linear-gradient(135deg,#26341e,#74864d 44%,#131813)}.asset-c{background:linear-gradient(135deg,#3a2330,#85566c 46%,#151116)}
.demo-asset-list{display:grid;gap:8px}.demo-asset-row{display:flex;align-items:flex-end;justify-content:space-between;min-height:54px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#fff;text-align:left;cursor:pointer}.demo-asset-row span{font-weight:700;font-size:11px}.demo-asset-row small{color:#8290a1;font-size:9px}
.demo-activity{display:grid;gap:0}.demo-activity>div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.07)}.demo-activity>div:last-child{border-bottom:0}.demo-activity i{width:6px;height:6px;border-radius:50%;background:#8fb7ff}.demo-activity span{font-size:11px}.demo-activity small{color:#7e8b9a;font-size:9px}
.demo-connection{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;margin-bottom:8px}.connection-mark{width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#aeb9c8}.demo-connection strong{display:block;font-size:11px}.demo-connection small{display:block;color:#7f8b9a;font-size:9px;margin-top:2px}.muted-connection{opacity:.68}
.demo-preview{margin-top:14px;padding-top:11px;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;gap:10px;align-items:center}.demo-preview strong{font-size:10px;color:#dfe6ee}
.auth-shell .auth-card{width:100%;max-width:420px;justify-self:end}.auth-card h2{margin:.45rem 0 .55rem;font-size:clamp(2rem,4vw,3rem);line-height:1.02;letter-spacing:-.04em}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr;gap:34px;padding-top:40px}.auth-shell .auth-card{justify-self:stretch;max-width:none}.auth-showcase{order:1}.auth-card{order:2}.product-demo{max-width:none}}
@media(max-width:620px){.auth-shell{width:min(100% - 28px,1180px)}.demo-body{grid-template-columns:92px minmax(0,1fr)}.demo-sidebar{padding:10px 7px}.demo-tab{font-size:10px;padding:8px 7px}.demo-main{padding:14px}.demo-stat-row{grid-template-columns:1fr 1fr}.demo-stat-row>div:last-child{display:none}.demo-assets{grid-template-columns:1fr 1fr}.demo-asset:last-child{display:none}.showcase-copy h1{font-size:3.2rem}}
/* OAuth provider icons — presentation only. */
.provider-button{gap:10px}
.provider-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px}
.provider-icon svg{width:20px;height:20px;display:block}
.provider-button .provider-label{line-height:1}

/* Provider row overflow fix: keep all OAuth buttons inside the auth card. */
.provider-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.provider-grid > .provider-button{
  min-width:0;
  width:100%;
  padding:0 6px;
  gap:6px;
  font-size:12px;
}
.provider-grid .provider-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.provider-grid .provider-button{
  min-height:50px;
  padding-inline:10px;
  gap:8px;
}
.provider-grid .provider-icon{
  flex:0 0 20px;
}
@media (max-width:980px) and (min-width:561px){
  .auth-shell{
    gap:32px;
    grid-template-columns:minmax(0,1.35fr) minmax(340px,.8fr);
  }
  .auth-card{
    padding:30px;
  }
}


/* Authenticated workspace shell — scoped to the logged-in dashboard. */
.app-header-auth{display:none}
.authenticated-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:calc(100vh - 2px);width:100%;margin:0;transition:grid-template-columns .22s ease}
.authenticated-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}
.sanova-sidebar{position:sticky;top:0;height:100vh;min-height:680px;display:flex;flex-direction:column;gap:18px;padding:18px 14px;border-right:1px solid var(--s-line);background:rgba(8,11,15,.86);backdrop-filter:blur(18px);z-index:40;overflow:hidden}
.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}
.sidebar-brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--s-text);text-decoration:none;font-weight:850;letter-spacing:-.025em}
.sidebar-brand-logo{width:34px;height:34px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.sidebar-brand-name{white-space:nowrap;transition:opacity .16s ease}
.sidebar-toggle{width:34px;height:34px;flex:0 0 auto;border:1px solid var(--s-line);border-radius:9px;background:rgba(255,255,255,.035);color:#cbd5e2;cursor:pointer;font-size:21px;line-height:1}
.sidebar-nav{display:flex;flex-direction:column;gap:4px}
.sidebar-link{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#aab5c4;text-decoration:none;font:inherit;text-align:left;cursor:pointer;white-space:nowrap}
.sidebar-link:hover{background:rgba(255,255,255,.055);color:#f4f6fa}
.sidebar-link.is-active{background:rgba(157,189,245,.10);color:#edf4ff}
.sidebar-icon{width:20px;flex:0 0 20px;display:grid;place-items:center;color:#a9bad3;font-size:16px}
.sidebar-account{margin-top:auto;padding-top:14px;border-top:1px solid var(--s-line)}
.sidebar-account-head{display:flex;align-items:center;gap:10px;padding:8px 8px 12px;min-width:0}
.account-avatar,.account-summary-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#17243a,#0e1420);border:1px solid rgba(157,189,245,.25);color:#e8f0ff;font-weight:800;flex:0 0 auto}
.sidebar-account-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.sidebar-account-copy strong{font-size:12px;color:#edf2f8;overflow:hidden;text-overflow:ellipsis}
.sidebar-account-copy span{font-size:10px;color:#7e8a9b;overflow:hidden;text-overflow:ellipsis}
.sidebar-account-actions{display:flex;flex-direction:column;gap:2px}
.sidebar-logout{margin:0}
.authenticated-main{min-width:0;width:100%;padding:0 clamp(20px,3vw,56px) 70px}
.authenticated-shell .workspace-hero{width:min(1680px,100%);margin:0 auto;padding-top:82px}
.authenticated-shell .workspace-board{width:min(1680px,100%);margin:42px auto 0}
.account-summary{width:min(1680px,100%);margin:34px auto 0;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--s-line);border-radius:14px;background:rgba(255,255,255,.025)}
.account-summary>div:last-child{display:flex;flex-direction:column;gap:3px}
.account-summary strong{font-size:13px}.account-summary span:last-child{font-size:11px;color:#7e8a9b}
.authenticated-shell.sidebar-collapsed .sidebar-brand-name,.authenticated-shell.sidebar-collapsed .sidebar-link span:not(.sidebar-icon),.authenticated-shell.sidebar-collapsed .sidebar-account-copy{display:none}
.authenticated-shell.sidebar-collapsed .sidebar-top{justify-content:center}.authenticated-shell.sidebar-collapsed .sidebar-toggle{display:grid;place-items:center}.authenticated-shell.sidebar-collapsed .sidebar-link{justify-content:center}.authenticated-shell.sidebar-collapsed .sidebar-account-head{justify-content:center}.authenticated-shell.sidebar-collapsed .sidebar-account{padding-top:12px}
.authenticated-shell.sidebar-collapsed .account-menu-panel .sidebar-link{justify-content:flex-start}.authenticated-shell.sidebar-collapsed .account-menu-panel .sidebar-link span:not(.sidebar-icon){display:initial}
@media (max-width:900px){.authenticated-shell{grid-template-columns:76px minmax(0,1fr)}.authenticated-shell:not(.sidebar-collapsed){grid-template-columns:220px minmax(0,1fr)}.authenticated-main{padding:0 20px 56px}}
@media (max-width:640px){
  .authenticated-shell,.authenticated-shell:not(.sidebar-collapsed){grid-template-columns:1fr}
  .authenticated-main{padding:0 16px 48px;min-width:0;overflow-x:clip}
  .authenticated-shell .workspace-hero{padding-top:24px}
  .sanova-sidebar{position:fixed;left:0;top:0;width:min(84vw,300px);height:100dvh;min-height:0;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));transform:translate3d(-105%,0,0);transition:transform .22s ease;box-shadow:none;overflow-y:auto;overflow-x:hidden;z-index:1001}
  .authenticated-shell.mobile-sidebar-open .sanova-sidebar{transform:translate3d(0,0,0);box-shadow:18px 0 40px rgba(0,0,0,.36)}
  .authenticated-shell.sidebar-collapsed .sanova-sidebar{width:min(84vw,300px);transform:translate3d(-105%,0,0)}
  .authenticated-shell.sidebar-collapsed.mobile-sidebar-open .sanova-sidebar{transform:translate3d(0,0,0);width:min(84vw,300px)}
  .authenticated-shell.sidebar-collapsed .sidebar-brand-name,.authenticated-shell.sidebar-collapsed .sidebar-link span:not(.sidebar-icon),.authenticated-shell.sidebar-collapsed .sidebar-account-copy{display:initial}
  .authenticated-shell.sidebar-collapsed .sidebar-top{justify-content:space-between}
  .authenticated-shell.sidebar-collapsed .sidebar-link{justify-content:flex-start}
  .authenticated-shell.sidebar-collapsed .sidebar-account-head{justify-content:flex-start}
  .authenticated-shell.sidebar-collapsed .sidebar-account{padding-top:14px}
  .authenticated-shell.sidebar-collapsed .sidebar-brand{width:auto;height:auto;gap:10px;justify-content:flex-start}
  .authenticated-shell.sidebar-collapsed .sidebar-toggle{position:relative;right:auto;top:auto;width:34px;height:34px}
  .mobile-sidebar-toggle{display:flex;align-items:center;gap:10px;width:max-content;min-height:42px;margin:14px 0 0;padding:8px 12px;border:1px solid var(--s-line);border-radius:11px;background:rgba(8,11,15,.78);color:#edf4ff;font:inherit;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer;position:relative;z-index:10}
  .mobile-sidebar-toggle span:first-child{font-size:19px;line-height:1}
  .mobile-sidebar-brand{font-size:13px;letter-spacing:-.01em}
  .mobile-sidebar-overlay{display:none;position:fixed;inset:0;border:0;background:rgba(0,0,0,.52);backdrop-filter:blur(2px);z-index:1000;cursor:pointer}
  .authenticated-shell.mobile-sidebar-open .mobile-sidebar-overlay{display:block}
  body.mobile-sidebar-lock{overflow:hidden}
}
@media (min-width:641px){.mobile-sidebar-toggle,.mobile-sidebar-overlay{display:none}}


/* SANOVA brand mark image: preserve existing layout, replace text placeholder only. */
.brand-mark{
  display:block;
  width:30px;
  height:30px;
  object-fit:contain;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:transparent;
}
.preview-brand-logo{
  display:block;
  width:25px;
  height:25px;
  object-fit:contain;
  flex:0 0 auto;
}
.auth-brand .brand-mark{
  width:34px;
  height:34px;
}
.demo-brand .brand-mark{
  width:25px;
  height:25px;
}

/* SANOVA sidebar brand mark alignment fix */
.sidebar-brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
  object-position:center;
  border-radius:10px;
  flex:0 0 34px;
  display:block;
  background:transparent;
}

.authenticated-shell.sidebar-collapsed .sanova-sidebar{
  padding-left:8px;
  padding-right:8px;
}

.authenticated-shell.sidebar-collapsed .sidebar-top{
  position:relative;
  width:100%;
  min-height:44px;
  justify-content:center;
  gap:0;
}

.authenticated-shell.sidebar-collapsed .sidebar-brand{
  width:34px;
  height:34px;
  gap:0;
  flex:0 0 34px;
  justify-content:center;
}

.authenticated-shell.sidebar-collapsed .sidebar-toggle{
  position:absolute;
  right:0;
  top:5px;
  width:28px;
  height:34px;
  padding:0;
}

.authenticated-shell.sidebar-collapsed .sidebar-brand-logo{
  width:34px;
  height:34px;
}

/* Platform identity icons: one renderer, no per-platform asset folders. */
.platform-icon{
  width:28px;
  height:28px;
  display:block;
  flex:none;
}
.service-icon .platform-icon{
  width:30px;
  height:30px;
}
.modal-option > .platform-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:9px;
  box-sizing:border-box;
  border:1px solid var(--s-line);
  border-radius:10px;
}
.platform-icon svg{
  width:100%;
  height:100%;
  display:block;
}


/* Connection state is registry-driven; sidebar controls never overlap the SANOVA mark. */
.authenticated-shell .sidebar-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  gap:10px;
}
.authenticated-shell .sidebar-brand{
  min-width:0;
  overflow:hidden;
}
.authenticated-shell .sidebar-toggle{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  padding:0;
}
.authenticated-shell.sidebar-collapsed .sanova-sidebar{
  padding-left:6px;
  padding-right:6px;
}
.authenticated-shell.sidebar-collapsed .sidebar-top{
  grid-template-columns:34px 28px;
  gap:2px;
  justify-content:space-between;
}
.authenticated-shell.sidebar-collapsed .sidebar-brand{
  width:34px;
  height:34px;
  justify-content:center;
  overflow:visible;
}
.authenticated-shell.sidebar-collapsed .sidebar-brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
}
.authenticated-shell.sidebar-collapsed .sidebar-toggle{
  position:relative;
  right:auto;
  top:auto;
  width:28px;
  height:34px;
}
@media(max-width:640px){
  .authenticated-shell.sidebar-collapsed .sidebar-top{
    grid-template-columns:34px 28px;
  }
}


.legal-page { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-header { margin-bottom: 42px; }
.legal-eyebrow { margin: 0 0 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-header h1 { margin: 0; }
.legal-updated { margin-top: 10px; opacity: .65; }
.legal-section { margin: 0 0 32px; }
.legal-section h2 { margin-bottom: 10px; }
.legal-section p { line-height: 1.75; }
/* Authenticated dashboard: release the public-page main width constraint. */
body:has(.authenticated-shell) > main{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}



/* Compact account menu + profile surfaces. */
.sanova-sidebar{overflow:visible}
.account-menu{position:relative;margin-top:auto;padding-top:14px;border-top:1px solid var(--s-line)}
.account-menu-summary{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:11px;color:var(--s-text);cursor:pointer;list-style:none}
.account-menu-summary::-webkit-details-marker{display:none}
.account-menu-summary:hover{background:rgba(255,255,255,.045)}
.account-menu-summary .sanova-avatar{flex:0 0 auto}
.account-menu-summary .sidebar-account-copy{padding:0;min-width:0}
.account-menu-summary .sidebar-account-copy strong{font-size:12px}
.account-menu-summary .sidebar-account-copy span{font-size:10px}
.account-menu-chevron{margin-left:auto;color:#7e8a9b;font-size:19px;line-height:1;transition:transform .16s ease}
.account-menu[open] .account-menu-chevron{transform:rotate(90deg)}
.account-menu-panel{position:absolute;left:0;bottom:calc(100% + 10px);width:224px;padding:8px;border:1px solid var(--s-line-strong);border-radius:15px;background:rgba(12,16,22,.98);box-shadow:0 22px 50px rgba(0,0,0,.34);backdrop-filter:blur(18px);z-index:90}
.account-menu-identity{padding:7px 10px 9px}
.account-menu-id{display:block;color:#7e8a9b;font-size:10px;letter-spacing:.08em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-panel .sidebar-link{min-height:38px;padding:8px 10px}
.account-menu-divider{height:1px;margin:7px 4px;background:var(--s-line)}
.account-menu-disabled{cursor:default!important;color:#687383!important}
.account-menu-disabled:hover{background:transparent!important;color:#687383!important}
.sanova-avatar{display:grid;place-items:center;position:relative;overflow:hidden;border-radius:13px;border:1px solid rgba(157,189,245,.24);color:#f6f8fb;font-weight:850;text-decoration:none;flex:0 0 auto}
.sanova-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.sanova-avatar-sm{width:38px;height:38px;border-radius:11px}
.sanova-avatar-md{width:52px;height:52px;border-radius:14px}
.sanova-avatar-lg{width:92px;height:92px;border-radius:24px}
.sanova-avatar-generated{background:linear-gradient(var(--avatar-angle),var(--avatar-a),var(--avatar-b));isolation:isolate}
.sanova-avatar-generated:before,.sanova-avatar-generated:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.16);transform:rotate(24deg);opacity:.8}
.sanova-avatar-generated:before{width:68%;height:68%;border-radius:18px;top:-23%;right:-18%}
.sanova-avatar-generated:after{width:48%;height:48%;border-radius:50%;bottom:-19%;left:-12%}
.sanova-avatar-mark{position:relative;z-index:3;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.sanova-avatar-shape{position:absolute;z-index:1;display:block;border-radius:30%;background:rgba(255,255,255,.09);transform:rotate(-28deg)}
.sanova-avatar-shape-one{width:46%;height:22%;right:-5%;bottom:18%}
.sanova-avatar-shape-two{width:25%;height:50%;left:12%;top:-10%;border:1px solid rgba(255,255,255,.1);background:transparent}
.sanova-avatar-generated[style*="--avatar-pattern:1"] .sanova-avatar-shape-one{border-radius:50%;transform:rotate(16deg)}
.sanova-avatar-generated[style*="--avatar-pattern:2"] .sanova-avatar-shape-two{border-radius:8px;transform:rotate(42deg)}
.sanova-avatar-generated[style*="--avatar-pattern:3"] .sanova-avatar-shape-one{width:30%;height:52%;transform:rotate(42deg);right:9%;bottom:-8%}
.sanova-avatar-generated[style*="--avatar-pattern:3"] .sanova-avatar-shape-two{width:58%;height:18%;left:-10%;top:20%;transform:rotate(-22deg)}

.profile-page{width:min(820px,100%);margin:0 auto;padding:64px 0 72px}
.profile-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.profile-head h1{margin:7px 0 0;font-size:clamp(30px,4vw,42px);line-height:1.05;letter-spacing:-.035em}
.profile-id{min-width:150px;text-align:right}
.profile-id span{display:block;color:#7e8a9b;font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.profile-id strong{display:block;margin-top:5px;color:#dfe7f2;font-size:12px;letter-spacing:.04em}
.profile-card{border:1px solid var(--s-line);border-radius:18px;background:rgba(13,17,23,.82);padding:24px;box-shadow:0 18px 60px rgba(0,0,0,.2)}
.profile-avatar-block{display:grid;justify-items:center;gap:9px;padding:4px 0 22px}
.profile-avatar-picker{position:relative;display:block;width:max-content;margin:0;cursor:pointer}
.profile-avatar-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;margin:0}
.profile-avatar-camera{position:absolute;right:-5px;bottom:-4px;width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--s-line-strong);border-radius:9px;background:#151b24;color:#eaf1fb;font-size:15px;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.profile-avatar-hint{color:#718095;font-size:11px}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.profile-fields label{display:grid;gap:7px;margin:0;color:#dce4ee;font-size:.88rem}
.profile-fields input{margin:0;min-height:44px;border-radius:11px;padding:11px 13px;background:rgba(255,255,255,.025)}
.profile-fields input[readonly]{color:#7f8b9b;cursor:not-allowed}
.profile-help{color:#778598;font-size:11px;line-height:1.45}
.profile-help-warning{color:#d7b77d}
.profile-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:17px;border-top:1px solid var(--s-line);color:#778598;font-size:11px}
.profile-actions{display:flex;gap:8px}
.profile-message{margin:0 0 14px;padding:11px 13px;border-radius:11px;font-size:12px}
.profile-message-error{border:1px solid rgba(255,120,120,.25);background:rgba(255,80,80,.06);color:#ffb8b8}
.profile-message-success{border:1px solid rgba(142,240,177,.2);background:rgba(72,180,111,.06);color:#9ff1ba}
.profile-head-avatar{display:flex;justify-content:flex-end}
.connected-accounts-page .profile-head{align-items:center}
.connected-account-list{display:grid;gap:8px}
.connected-account-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--s-line);border-radius:13px;background:rgba(255,255,255,.018)}
.connected-account-mark{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--s-line-strong);border-radius:10px;color:#dce7f6;font-weight:800;font-size:12px;flex:0 0 auto}
.connected-account-copy{min-width:0;display:grid;gap:2px;flex:1}
.connected-account-copy strong{font-size:13px;color:#edf2f8}
.connected-account-copy span{font-size:11px;color:#7e8a9b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.connected-account-status{display:inline-flex;align-items:center;gap:6px;color:#8ef0b1;font-size:11px;white-space:nowrap}
.connected-account-status i{width:6px;height:6px;border-radius:50%;background:#8ef0b1}
@media(max-width:720px){
  .account-menu-panel{left:0;width:min(224px,calc(100vw - 28px))}
  .profile-page{padding:34px 0 52px}
  .profile-head{align-items:flex-start;flex-direction:column}
  .profile-id{text-align:left}
  .profile-fields{grid-template-columns:1fr}
  .profile-foot{align-items:flex-start;flex-direction:column}
  .profile-actions{width:100%}.profile-actions .btn{flex:1;text-align:center}
  .connected-accounts-page .profile-head{align-items:flex-start}
}
