/* V28 — Senaryo Matrisi: modern, tablo odaklı dashboard görünümü */
.rk-scenario-card{
  overflow:hidden!important;
  padding:0!important;
  background:var(--rk-paper,#fffdf8)!important;
  border:1px solid var(--rk-line,#e4ddd0)!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(39,48,71,.045)!important;
}
.rk-scenario-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px 17px;
  border-bottom:1px solid var(--rk-line,#e4ddd0);
  background:#fffdf8;
}
.rk-scenario-kicker{
  margin-bottom:5px;
  color:var(--rk-teal,#2f897b);
  font:700 9px "Space Mono",monospace;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.rk-scenario-head h3{
  margin:0!important;
  color:var(--rk-ink,#273047)!important;
  font:700 18px "Syne","DM Sans",sans-serif!important;
  letter-spacing:-.035em;
  text-transform:none!important;
}
.rk-scenario-head p{
  margin:5px 0 0;
  color:var(--rk-muted,#707887);
  font-size:11px;
}
.rk-scenario-badge{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid #d9e8e3;
  border-radius:8px;
  background:#edf6f3;
  color:var(--rk-teal,#2f897b);
  font:700 9px "Space Mono",monospace;
  letter-spacing:.08em;
}
.rk-scenario-table-wrap{
  width:100%;
  overflow-x:auto!important;
}
.rk-scenario-table{
  width:100%!important;
  min-width:760px!important;
  border:0!important;
  border-radius:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.rk-scenario-table thead th{
  padding:11px 15px!important;
  background:#f4f0e8!important;
  color:#70747f!important;
  border-bottom:1px solid var(--rk-line,#e4ddd0)!important;
  font:700 9px "Space Mono",monospace!important;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.rk-scenario-table thead th:first-child{padding-left:22px!important}
.rk-scenario-table tbody tr{
  background:#fffdf8!important;
  transition:background .15s ease;
}
.rk-scenario-table tbody tr:nth-child(even){background:#faf7f0!important}
.rk-scenario-table tbody tr:hover{background:#f1f7f4!important}
.rk-scenario-table tbody td{
  padding:12px 15px!important;
  color:#555b68!important;
  border-bottom:1px solid #eee9df!important;
  font-size:11px!important;
  vertical-align:middle!important;
  white-space:nowrap;
}
.rk-scenario-table tbody tr:last-child td{border-bottom:0!important}
.rk-scenario-table tbody td:first-child{
  padding-left:22px!important;
  color:var(--rk-ink,#273047)!important;
  font-weight:700!important;
  white-space:normal!important;
  min-width:255px;
}
.rk-scenario-table tbody td:nth-child(2),
.rk-scenario-table tbody td:nth-child(3){
  color:#69707d!important;
  font-weight:600!important;
}
.rk-scenario-table .rk-score-col,
.rk-scenario-table .rk-rank-col{text-align:right!important}
.rk-scenario-table tbody td:nth-child(4){
  text-align:right!important;
  color:var(--rk-teal,#2f897b)!important;
  font:700 12px "Space Mono",monospace!important;
}
.rk-scenario-table tbody td:nth-child(5){
  padding-right:22px!important;
  text-align:right!important;
  color:#a77916!important;
  font:800 12px "Space Mono",monospace!important;
}
.rk-scenario-table tbody td:first-child span{
  display:inline-flex!important;
  align-items:center;
  padding:5px 8px!important;
  border-radius:7px!important;
  border:1px solid #e0ddd4!important;
  background:#f5f1e8!important;
  color:#4b5362!important;
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.rk-scenario-table tbody td:first-child span[class*="emerald"]{
  background:#eaf4f0!important;border-color:#cfe4dc!important;color:#2f786b!important;
}
.rk-scenario-table tbody td:first-child span[class*="rose"]{
  background:#faece8!important;border-color:#efd2ca!important;color:#bd6654!important;
}
.rk-scenario-table tbody td:first-child span[class*="amber"]{
  background:#fbf3df!important;border-color:#eadbb7!important;color:#9b751f!important;
}
.rk-scenario-table tbody td:first-child span[class*="purple"]{
  background:#f1edf8!important;border-color:#ddd4ee!important;color:#75609a!important;
}
.rk-scenario-empty{
  padding:28px!important;
  text-align:center!important;
  color:#8b8f99!important;
  background:#fffdf8!important;
}
.rk-scenario-note{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 22px 13px;
  border-top:1px solid #eee9df;
  color:#858994;
  font-size:10px;
  line-height:1.5;
  background:#fbf9f4;
}
.rk-scenario-note span:first-child{
  color:var(--rk-teal,#2f897b);
  font-size:12px;
}
@media(max-width:680px){
  .rk-scenario-head{
    align-items:flex-start;
    padding:17px 17px 14px;
  }
  .rk-scenario-head h3{font-size:16px!important}
  .rk-scenario-head p{max-width:240px;line-height:1.45}
  .rk-scenario-badge{font-size:8px;padding:6px 8px}
  .rk-scenario-table{min-width:720px!important}
  .rk-scenario-table thead th,
  .rk-scenario-table tbody td{padding-left:11px!important;padding-right:11px!important}
  .rk-scenario-table thead th:first-child,
  .rk-scenario-table tbody td:first-child{padding-left:15px!important}
  .rk-scenario-table tbody td:nth-child(5){padding-right:15px!important}
  .rk-scenario-note{padding:10px 15px 12px}
}

.rk-footer{
  margin-top:28px;
  border-top:1px solid #e5dfd4;
  background:#fbf8f2;
}

.rk-legal-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.rk-legal-modal.is-open{display:flex}
.rk-legal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(25,31,45,.48);
  backdrop-filter:blur(4px);
}
.rk-legal-dialog{
  position:relative;
  width:min(720px,100%);
  max-height:min(78vh,760px);
  overflow:auto;
  padding:28px 30px 30px;
  border:1px solid #e1dbd0;
  border-radius:18px;
  background:#fffdf8;
  box-shadow:0 24px 70px rgba(24,31,45,.22);
}
.rk-legal-close{
  position:absolute;
  top:14px;
  right:16px;
  width:32px;height:32px;
  border:1px solid #e1dbd0;
  border-radius:9px;
  background:#f5f1e9;
  color:#69707d;
  font-size:21px;
  line-height:1;
  cursor:pointer;
}
.rk-legal-kicker{
  margin-bottom:6px;
  color:#2f897b;
  font:700 9px "Space Mono",monospace;
  letter-spacing:.12em;
}
.rk-legal-dialog h2{
  margin:0 42px 16px 0;
  color:#273047;
  font:800 22px "Syne","DM Sans",sans-serif;
  letter-spacing:-.035em;
}
.rk-legal-dialog .rk-legal-text{
  color:#626875;
  font-size:12px;
  line-height:1.75;
}
.rk-legal-dialog .rk-legal-text h3{
  margin:18px 0 6px;
  color:#273047;
  font-size:13px;
  font-weight:800;
}
.rk-legal-dialog .rk-legal-text p{margin:0 0 10px}
.rk-legal-dialog .rk-legal-text ul{margin:5px 0 12px;padding-left:18px}
@media(max-width:700px){

  .rk-legal-dialog{padding:24px 20px 24px;border-radius:15px}
}

