/* СвояСеть × INCY | contrast, legacy palette and auth corrections | 2026-11-02 */
:root{--accent:#c5fa64;--accent2:#e4ff9d;--line:#314637}
html,body{background-color:#09120d}
.portal-body,.guest-body,.portal-home-body{
  background:radial-gradient(circle at 50% -15%,rgba(173,234,89,.11),transparent 48%),linear-gradient(180deg,#09120d,#0a1610)!important;
  color:#ecf7e9
}
.portal-body .wrap,.portal-body>.wrap,.guest-body .wrap{background:transparent}
.portal-body .portal-page-head h1,.portal-body .portal-page-head h2,
.portal-body .devices-toolbar h2,.portal-body .devices-toolbar p,
.portal-body .devices-capacity,.portal-body .device-tile-main h2,
.portal-body .device-tile-main p,.portal-body .portal-page-head{
  color:#eaf8e5
}
.portal-body .portal-page-head h1 span,
.portal-body .portal-page-head h2 span,
.guest-body .auth-brandline span,
.portal-home-body .accelerator-title span{
  background:linear-gradient(100deg,#d3f984,#efd774)!important;
  background-clip:text!important;-webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important
}
.portal-body .portal-back,.portal-body a.portal-back,
.portal-body .portal-home,.portal-body a.portal-home{
  border:1px solid rgba(205,253,135,.3)!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#233c28,#12221a)!important;
  color:#e2f8cf!important;
  box-shadow:0 7px 23px rgba(0,0,0,.18)!important;
  filter:none!important
}
.portal-body .portal-back svg,.portal-body .portal-home svg{
  stroke:#d4f79d!important;filter:none!important
}
.portal-body .connect-info,.portal-body section.connect-info{
  color:#ddeed8!important;
  border:1px solid rgba(198,250,100,.27)!important;
  background:linear-gradient(135deg,#1a2c20,#101f17)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.13)!important
}
.portal-body .connect-info p{color:#bcd0b8!important}
.portal-body .info-orb{
  background:linear-gradient(135deg,#d8ff8b,#b1e965)!important;
  border:1px solid rgba(245,255,202,.35)!important;
  color:#17280c!important;box-shadow:0 4px 18px rgba(195,248,103,.13)!important
}
.portal-body .devices-toolbar .eyebrow{color:#f0dc8f!important}
.portal-body .devices-capacity{background:#15291c!important;border-color:#3b5740!important}
.portal-body .devices-capacity small,.portal-body .device-tile-main p,
.portal-body .device-tile-number,.portal-body .devices-toolbar p{color:#b1c7b3!important}
.portal-body .devices-capacity-track i{background:#304735!important}
.portal-body .devices-capacity-track i.is-filled{background:#c2f56a!important}
.portal-body .device-tile-icon{color:#d4ff98!important;background:rgba(199,250,99,.1)!important;border-color:rgba(197,250,100,.27)!important}
.portal-body .device-tile-actions{
  display:grid;grid-template-columns:minmax(0,1fr) 66px 66px;gap:9px
}
.portal-body .device-tile-actions .device-connect,
.portal-body .device-tile-actions a.device-connect,
.portal-body .device-tile-actions a.device-connect:visited{
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-width:0;min-height:52px;
  color:#10200c!important;-webkit-text-fill-color:#10200c!important;
  background:linear-gradient(135deg,#dafa91,#bbef64)!important;
  border:1px solid rgba(226,255,177,.5)!important;
  border-radius:13px!important;
  box-shadow:0 7px 22px rgba(164,223,84,.12)!important;
  font-weight:800!important;text-shadow:none!important;
  text-decoration:none
}
.portal-body .device-tile-actions .device-connect .ui-icon,
.portal-body .device-tile-actions a.device-connect .ui-icon{
  stroke:#15220f!important;color:#15220f!important;filter:none!important
}
.portal-body .device-tile-actions .device-tool{
  color:#e9f9e0!important;
  -webkit-text-fill-color:#e9f9e0!important;
  background:linear-gradient(150deg,#233b29,#15251b)!important;
  border:1px solid #466144!important;
  box-shadow:none!important;
  border-radius:13px!important
}
.portal-body .device-tile-actions .device-tool .ui-icon{stroke:#d9f9b2!important;color:#d9f9b2!important}
.portal-body .device-tile-actions .device-tool span{color:#e7f4e4!important}
.portal-body .device-tile-actions .device-tool.is-danger{
  background:#342021!important;border-color:#714041!important;color:#ffc7bb!important;
  -webkit-text-fill-color:#ffc7bb!important
}
.portal-body .device-tile-actions .device-tool.is-danger .ui-icon{stroke:#ffa9a4!important;color:#ffa9a4!important}
.portal-body .device-tile-actions .device-tool.is-danger span{color:#ffc7bb!important}
.portal-body .device-create-button{color:#10200c!important;-webkit-text-fill-color:#10200c!important}
.portal-body .device-create-button .ui-icon{stroke:#10200c!important;color:#10200c!important}
.portal-body .device-edit-panel{border-color:#35503c!important}
.portal-body .device-edit-panel label{color:#c7dec6!important}
.portal-body .connect-app,.portal-body .apps-panel,.portal-body .connect-choices,
.portal-body .connect-dialog{color:#e9f7e7}
.portal-body .connect-dialog{background:linear-gradient(155deg,#1b2d22,#0e1b14)!important;border-color:#385640!important}
.portal-body .app-row-actions button:not(.ghost){color:#10200c!important}
.portal-body .portal-page-head,.portal-body .devices-toolbar{gap:14px}
.portal-body .portal-page-head h1,.portal-body .devices-toolbar h2{letter-spacing:-.035em}
.incy-tour-entry{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 13px;margin:3px 0 12px;
  border:1px solid rgba(190,244,115,.28);border-radius:12px;
  background:rgba(197,250,100,.075);
  color:#d8f9a3!important;text-decoration:none;font-size:12px;font-weight:750
}
.incy-tour-entry:hover{border-color:rgba(197,250,100,.6);background:#253827}
.svoya-tour-replay,.svoya-tour-replay-wrap a{
  color:#d8f9a3!important;background:rgba(197,250,100,.075)!important;
  border-color:rgba(197,250,100,.25)!important
}
.svoya-tour-card{
  color:#edf9e9!important;
  border:1px solid rgba(197,250,100,.39)!important;
  background:linear-gradient(150deg,#213827,#102218)!important;
  box-shadow:0 20px 65px rgba(0,0,0,.5)!important
}
.svoya-tour-title{color:#ecffe0!important}
.svoya-tour-copy{color:#c2d8c0!important}
.svoya-tour-progress{color:#e7d78f!important}
.svoya-tour-overlay{background:rgba(3,10,6,.72)!important}
.svoya-tour-card .svoya-tour-next,.svoya-tour-card .svoya-tour-skip{
  color:#15200e!important;background:#c7f779!important;border-color:#ddffa0!important
}
.svoya-tour-card .svoya-tour-prev{color:#e6f5e0!important;background:#223729!important;border-color:#406044!important}
.svoya-tour-target{outline:3px solid #c9f879!important;outline-offset:5px}
.guest-body .auth-stage.auth-neon{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,440px);
  align-items:center;gap:30px;
  max-width:1080px;margin:30px auto 45px
}
.guest-body .auth-stage.auth-neon>.auth,.guest-body .auth-stage>.auth{
  width:100%;max-width:460px!important;margin:0 auto!important;
  padding:30px!important;
  border-radius:24px!important;
  border:1px solid rgba(197,250,100,.33)!important;
  background:radial-gradient(ellipse at 95% 0,rgba(197,250,100,.10),transparent 44%),linear-gradient(145deg,#1c3022,#0d1c14)!important;
  box-shadow:0 26px 65px rgba(0,0,0,.25)!important
}
.guest-body .auth-brandline{font-size:clamp(29px,3.2vw,43px);line-height:1.13;color:#eaffdf}
.guest-body .auth-visual{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:22px;min-height:440px;padding:30px 15px;
  border:1px solid rgba(197,250,100,.12);border-radius:26px;
  background:radial-gradient(circle at 50% 44%,rgba(180,246,76,.16),transparent 58%),linear-gradient(150deg,#14271a,#0a1810)!important
}
.incy-auth-mark{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;width:215px;height:215px;flex:0 0 215px;
  border-radius:50%;border:3px solid rgba(203,250,117,.74);
  background:radial-gradient(circle at 44% 28%,#26492b,#112419 66%,#0a1b10);
  color:#cafa82;
  box-shadow:0 0 0 14px rgba(192,242,103,.06),0 0 65px rgba(185,237,85,.12);
  font-size:17px;letter-spacing:.2em
}
.incy-auth-mark>span{font-size:85px;font-weight:300;line-height:1;letter-spacing:0}
.incy-auth-mark>strong{color:#d9ff9d;letter-spacing:.16em;font-size:15px}
.guest-body .auth-pitch{text-align:center;max-width:300px}
.guest-body .auth-pitch strong{color:#e7f6dd}
.guest-body .auth-pitch span{color:#aec4ae}
.guest-body .auth-stage.auth-neon>.auth h1{color:#effbe7;letter-spacing:-.035em}
.guest-body .auth-stage.auth-neon>.auth .auth-subtitle{color:#bdcfb8!important}
.guest-body .auth-stage.auth-neon>.auth label{color:#c2d9be}
.guest-body .auth-stage.auth-neon>.auth input{
  border:1px solid #3d5841!important;background:#0d1b13!important;color:#e9f6e6!important;
  box-shadow:none!important
}
.guest-body .auth-stage.auth-neon>.auth input:focus{border-color:#c5f775!important;box-shadow:0 0 0 3px rgba(195,250,100,.14)!important}
.guest-body .auth-neon>.auth form>button{
  background:linear-gradient(125deg,#e0ff93,#bbf068)!important;
  border-color:rgba(230,255,188,.5)!important;color:#15220d!important;
  -webkit-text-fill-color:#15220d!important;box-shadow:0 7px 24px rgba(173,241,87,.15)!important
}
.guest-body .auth-links a{color:#d3f89b!important}
.guest-body .legal-check span{color:#b9cfb6}
.guest-body .legal-check a{color:#e4e09c}
.guest-body .auth .eyebrow{color:#f2d87e}
@media(max-width:850px){
  .guest-body .auth-stage.auth-neon{grid-template-columns:1fr;gap:14px;max-width:540px;margin:10px auto}
  .guest-body .auth-visual{min-height:170px;flex-direction:row;gap:17px;padding:18px}
  .guest-body .auth-visual .incy-auth-mark{
    width:110px;height:110px;flex:0 0 110px;gap:3px;border-width:2px
  }
  .guest-body .auth-visual .incy-auth-mark>span{font-size:44px}
  .guest-body .auth-visual .incy-auth-mark>strong{font-size:9px}
  .guest-body .auth-brandline{font-size:26px}
  .guest-body .auth-pitch{display:none}
}
@media(max-width:560px){
  .guest-body .wrap{padding:13px 13px 55px}
  .guest-body .auth-stage.auth-neon{margin:5px auto 28px}
  .guest-body .auth-visual{min-height:128px;padding:12px;gap:16px}
  .guest-body .auth-brandline{font-size:clamp(23px,6vw,28px)}
  .guest-body .auth-visual .incy-auth-mark{width:90px;height:90px;flex-basis:90px}
  .guest-body .auth-visual .incy-auth-mark>span{font-size:38px}
  .guest-body .auth-stage.auth-neon>.auth{padding:21px!important;border-radius:20px!important}
  .guest-body .auth-stage.auth-neon>.auth h1{font-size:27px}
  .portal-body .device-tile-actions{grid-template-columns:minmax(0,1fr) 60px 60px!important;gap:8px}
}
@media(max-width:390px){
  .portal-body .device-tile-actions{grid-template-columns:minmax(0,1fr) 52px 52px!important;gap:6px}
  .portal-body .device-tile-actions .device-connect{font-size:12px;padding:10px 7px}
  .portal-body .device-tile-actions .device-tool{padding:6px 2px;font-size:11px}
  .guest-body .auth-brandline{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
  .svoya-tour-card,.incy-auth-mark{animation:none!important}
}
