.sensi-scope{
  color:#1f2937;
}

.sensi-scope .wrap{
  max-width:100%;
  margin:0 auto;
  padding:0;
}

.sensi-scope .kn-sensi-layout{
  display:grid;
  gap:22px;
  align-items:start;
  min-width:0;
}

@media (min-width:1024px){
  .sensi-scope .kn-sensi-layout{
    grid-template-columns:minmax(0, 1.05fr) minmax(380px, .82fr);
  }
}

.sensi-scope .kn-sensi-side{
  display:grid;
  gap:20px;
  align-content:start;
  min-width:0;
}

.sensi-scope header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.sensi-scope .title{
  display:flex;
  align-items:center;
  gap:12px;
}

.sensi-scope .title .kn-logo{
  margin-top:2px;
}

.sensi-scope .title h1{
  margin:0;
  font-size:clamp(22px,4vw,30px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:0;
  color:#0f172a;
}

.sensi-scope .subtitle{
  margin:4px 0 0;
  color:#64748b;
  font-size:14px;
  line-height:1.55;
}

.sensi-scope .card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.90));
  border:1px solid rgba(14,165,233,.22);
  border-radius:22px;
  padding:20px;
  box-shadow:0 16px 36px rgba(15,23,42,.09), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter:saturate(1.08) blur(10px);
}

.sensi-scope .kn-sensi-controls-card{
  position:relative;
  overflow:hidden;
  border-color:rgba(14,165,233,.26);
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,249,255,.86)),
    linear-gradient(135deg, rgba(249,115,22,.07), rgba(14,165,233,.07));
  box-shadow:0 24px 58px rgba(15,23,42,.12), 0 8px 18px rgba(14,165,233,.08);
}

.sensi-scope .kn-sensi-controls-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:6px;
  background:linear-gradient(90deg, #f97316, #0ea5e9, #14b8a6);
}

.sensi-scope .kn-sensi-controls-card > *{
  position:relative;
  z-index:1;
}

.sensi-scope .controls{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  min-width:0;
  border-radius:22px;
  background:rgba(255,255,255,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}

@media (min-width:760px){
  .sensi-scope .controls{
    grid-template-columns:1fr 1fr;
  }
}

@media (min-width:1060px){
  .sensi-scope .controls{
    grid-template-columns:1fr 1fr;
    align-items:end;
  }
}

.sensi-scope .kn-field-full{
  grid-column:1 / -1;
}

.sensi-scope .controls > div:last-child,
.sensi-scope .kn-sensi-actions{
  align-self:end;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sensi-scope .kn-sensi-export-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  min-width:0;
}

.sensi-scope .kn-sensi-export-actions .btn{
  flex:1 1 140px;
}

@media (max-width:759px){
  .sensi-scope .controls > div:last-child .btn,
  .sensi-scope .kn-sensi-actions .btn,
  .sensi-scope .kn-sensi-export-actions .btn{
    flex:1 1 calc(50% - 4px);
  }
}

.sensi-scope label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#475569;
  margin-bottom:7px;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.sensi-scope select,
.sensi-scope input[type="text"]{
  width:100%;
  min-width:0;
  min-height:50px;
  padding:13px 15px;
  border-radius:16px;
  border:1px solid rgba(14,165,233,.25);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  color:#0f172a;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 8px 18px rgba(15,23,42,.04);
}

.sensi-scope select:focus,
.sensi-scope input[type="text"]:focus{
  border-color:#0ea5e9;
  box-shadow:0 0 0 4px rgba(14,165,233,.18);
}

.sensi-scope .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:50px;
  min-width:0;
  padding:12px 18px;
  border-radius:16px;
  border:1px solid rgba(14,165,233,.22);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.95));
  color:#0f172a;
  font-weight:700;
  line-height:1.15;
  text-align:center;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(15,23,42,.08);
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.sensi-scope .btn:hover:not([disabled]){
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(15,23,42,.08);
}

.sensi-scope .btn[disabled]{
  opacity:.68;
  cursor:not-allowed;
  transform:none;
  border-color:rgba(148,163,184,.22);
  background:linear-gradient(180deg, rgba(248,250,252,.92), rgba(241,245,249,.88));
  color:#94a3b8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.sensi-scope .btn-primary{
  background:linear-gradient(135deg, #0f172a, #075985 58%, #0f766e);
  border-color:transparent;
  color:#fff;
  box-shadow:0 16px 30px rgba(14,165,233,.22);
}

.sensi-scope .stack{
  display:grid;
  gap:14px;
}

.sensi-scope .kn-sensi-result-card{
  position:relative;
  min-height:300px;
  overflow:hidden;
  border-radius:28px;
  border-color:rgba(249,115,22,.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,247,237,.74)),
    linear-gradient(135deg, rgba(14,165,233,.07), rgba(20,184,166,.08));
  box-shadow:0 24px 58px rgba(15,23,42,.12), 0 8px 18px rgba(249,115,22,.08);
}

.sensi-scope .kn-sensi-result-card > *{
  position:relative;
  z-index:1;
}

.sensi-scope .kn-sensi-result-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg, #f97316, #0ea5e9, #14b8a6);
}

.sensi-scope .kn-sensi-result-card::after{
  content:"";
  position:absolute;
  inset:16px 16px auto auto;
  width:96px;
  height:96px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(14,165,233,.10), transparent 68%);
  pointer-events:none;
}

.sensi-scope .kn-sensi-result-title{
  color:#0f172a;
  font-family:"Sora","Manrope","Segoe UI",sans-serif;
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
  line-height:1.12;
  overflow-wrap:anywhere;
}

.sensi-scope .result-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.sensi-scope .result-head > div:first-child{
  min-width:0;
}

.sensi-scope .tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
  max-width:100%;
  min-width:0;
}

.sensi-scope .tag{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  font-size:12px;
  line-height:1.2;
  padding:8px 11px;
  border:1px solid rgba(14,165,233,.22);
  border-radius:999px;
  color:#334155;
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 16px rgba(15,23,42,.05);
  overflow-wrap:anywhere;
}

.sensi-scope .muted{
  color:#64748b;
  font-size:13px;
  line-height:1.6;
}

.sensi-scope table{
  width:100%;
  border-collapse:collapse;
  margin-top:14px;
  border:1px solid rgba(14,165,233,.16);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.9);
  box-shadow:0 12px 24px rgba(15,23,42,.05);
}

.sensi-scope thead th{
  background:linear-gradient(180deg, rgba(224,242,254,.86), rgba(240,249,255,.78));
  color:#475569;
  text-align:left;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:13px 14px;
  border-bottom:1px solid rgba(14,165,233,.16);
}

.sensi-scope tbody td{
  padding:14px;
  border-bottom:1px solid rgba(14,165,233,.12);
  color:#0f172a;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.sensi-scope tbody td:first-child{
  color:#475569;
  font-weight:700;
}

.sensi-scope tbody td:last-child{
  width:34%;
  color:#075985;
  font-family:"Sora","Manrope","Segoe UI",sans-serif;
  font-size:18px;
  font-weight:900;
  text-align:right;
}

.sensi-scope tbody tr:nth-child(even) td{
  background:rgba(248,250,252,.58);
}

.sensi-scope tbody tr:last-child td{
  border-bottom:0;
}

.sensi-scope .kn-sensi-tips h3{
  margin:0 0 10px;
}

.sensi-scope .kn-sensi-tips{
  border-radius:24px;
  border-color:rgba(20,184,166,.22);
}

.sensi-scope .kn-sensi-tips ul{
  display:grid;
  gap:10px;
  margin:0;
  padding-left:18px;
}

.sensi-scope .kn-sensi-tips li::marker{
  color:#0ea5e9;
}

@media (max-width:560px){
  .sensi-scope .card,
  .sensi-scope .kn-sensi-controls-card{
    padding:16px;
    border-radius:22px;
  }

  .sensi-scope .controls{
    gap:16px;
  }

  .sensi-scope select,
  .sensi-scope input[type="text"]{
    min-height:52px;
  }

  .sensi-scope .btn{
    min-height:52px;
    padding:12px 14px;
  }

  .sensi-scope .kn-sensi-result-card{
    min-height:260px;
  }

  .sensi-scope table{
    table-layout:fixed;
  }

  .sensi-scope .result-head{
    display:grid;
    gap:12px;
  }

  .sensi-scope .tags{
    justify-content:flex-start;
  }

  .sensi-scope .tag{
    border-radius:14px;
  }

  .sensi-scope tbody td:first-child{
    width:58%;
  }

  .sensi-scope tbody td:last-child{
    width:42%;
    font-size:17px;
  }
}

@media (max-width:380px){
  .sensi-scope .controls > div:last-child,
  .sensi-scope .kn-sensi-actions,
  .sensi-scope .kn-sensi-export-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .sensi-scope .controls > div:last-child .btn,
  .sensi-scope .kn-sensi-actions .btn,
  .sensi-scope .kn-sensi-export-actions .btn{
    width:100%;
    flex-basis:auto;
    min-height:52px;
  }

  .sensi-scope thead th,
  .sensi-scope tbody td{
    padding:11px 10px;
  }
}
