/* ===== Room Planner guide (shared by EN / ZH / DE) ===== */
.guide-toc{
  margin:0 0 28px;
  padding:14px 18px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow:0 1px 2px rgba(17,24,39,.04);
  font-size:14px;
  line-height:2;
}
.guide-toc a{
  color:var(--primary);
  text-decoration:none;
  white-space:nowrap;
}
.guide-toc a:hover{text-decoration:underline}
.guide-toc .sep{color:#c7ced9;margin:0 5px}

.container h2,
.container h3{scroll-margin-top:72px}

.guide-figure{
  margin:20px 0 28px;
}
.guide-figure img{
  display:block;
  width:100%;
  height:auto;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow:0 2px 10px rgba(17,24,39,.06);
}
.guide-figure figcaption{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.guide-figure.narrow{
  max-width:300px;
  margin-left:auto;
  margin-right:auto;
}
.guide-figure.narrow img{
  width:auto;
  max-width:100%;
  margin:0 auto;
}

.guide-note{
  margin:18px 0 26px;
  padding:12px 16px;
  background:var(--code-bg);
  border:1px solid var(--border);
  border-left:4px solid var(--primary);
  border-radius:0 8px 8px 0;
  font-size:14px;
  line-height:1.6;
}
.guide-note p{margin:0}
.guide-note p + p{margin-top:8px}
.guide-note strong{color:var(--heading)}

kbd{
  display:inline-block;
  padding:1px 5px;
  background:#fff;
  border:1px solid var(--border);
  border-bottom-width:2px;
  border-radius:4px;
  color:var(--heading);
  font-family:'Consolas','Monaco','Courier New',monospace;
  font-size:12px;
  line-height:1.5;
  white-space:nowrap;
}

.table-wrap{
  margin:12px 0 20px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
table.result.shortcuts{
  margin-bottom:0;
  min-width:520px;
  font-size:13px;
}
table.result.shortcuts th,
table.result.shortcuts td{
  padding:6px 10px;
  vertical-align:top;
}
table.result.shortcuts th{white-space:nowrap}
table.result.shortcuts td:first-child{width:34%}
table.result.shortcuts td:last-child{color:var(--muted);white-space:nowrap}
table.result.shortcuts kbd{
  padding:0 4px;
  font-size:11px;
}

@media (max-width:768px){
  .guide-toc{
    margin-bottom:22px;
    padding:12px 14px;
    font-size:13px;
    line-height:1.85;
  }
  .guide-figure{
    margin:16px 0 22px;
  }
  .guide-figure figcaption{font-size:12px}
  .guide-figure.narrow{max-width:240px}
  .guide-note{
    padding:10px 12px;
    font-size:13px;
  }
  table.result.shortcuts{
    min-width:480px;
    font-size:12px;
  }
  table.result.shortcuts th,
  table.result.shortcuts td{padding:5px 8px}
}
