
/* LETSRENT_AGENCY_WORKSPACE_V1 */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #171717;
  font-family: system-ui, -apple-system, sans-serif;
}
header {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 24px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
nav a {
  color: #171717;
  text-decoration: none;
  font-weight: 650;
}
nav a.active {
  border-bottom: 3px solid #f1cd00;
  padding-bottom: 6px;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 34px 20px 80px;
}
h1 { font-size: clamp(28px, 4vw, 40px); }
p { line-height: 1.5; color: #555; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 22px;
}
.panel {
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 16px;
  min-width: 0;
}
button {
  padding: 12px 16px;
  background: #f1cd00;
  color: #171717;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}
button.secondary { background: #f0f0f0; }
button.danger { background: #fbe4e4; color: #9b1c1c; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible {
  outline: 3px solid #b99000;
  outline-offset: 3px;
}
input {
  width: 100%;
  padding: 12px;
  font: inherit;
  border: 1px solid #aaa;
  border-radius: 9px;
}
label {
  display: block;
  font-weight: 650;
  margin-bottom: 9px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.item {
  width: 100%;
  display: block;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  margin: 8px 0;
}
.item:hover { border-color: #c29f00; }
.item small {
  display: block;
  margin-top: 7px;
  font-weight: 400;
}
.answer {
  padding: 13px 0;
  border-bottom: 1px solid #eee;
}
.answer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
.answer span {
  display: block;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.status { min-height: 24px; }
.status.error { color: #a62121; }
.muted { font-size: 13px; }
#qr-image svg {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 20px auto;
}
@media(max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
}

@media print {
  header, .layout > section:first-child, .actions,
  #message, #attendance { display: none !important; }
  .layout { display: block; }
  .panel { border: 0; }
  main { padding: 0; }
  #qr-image svg { width: 400px; }
}
