:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: #193b3d;
  background: #f5f8f6;
  font-size: 16px;
  line-height: 1.55;
  --accent: #14665c;
  --border: #dce6df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 17px;
  background: white;
  color: #193b3d;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  min-height: 46px;
}
button:hover,
.button:hover {
  background: #e9f2ee;
}
button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
button.danger {
  color: #922e35;
  border-color: #d4a1a5;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #b7c9c0;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #163c38;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
label {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  margin: 12px 0 5px;
}
h1,
h2,
h3 {
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  max-width: 840px;
  margin: 20px 0;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.2rem;
}
p {
  max-width: 78ch;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--border);
  background: white;
  gap: 15px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #193b3d;
  font-weight: 700;
  font-size: 1.2rem;
}
.mark {
  background: #d9eade;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
}
.header-actions,
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 35px 24px 100px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #537e72;
}
.muted,
small {
  color: #587069;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 35px;
}
.hero-panel {
  background: #e3eee8;
  border-radius: 24px;
  padding: 30px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 23px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.module {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.module:hover {
  transform: translateY(-3px);
  border-color: #659e8a;
}
.module span {
  font-size: 1.5rem;
  color: #43836f;
}
.module small {
  margin-top: auto;
}
.badge {
  display: inline-block;
  background: #e9f2ed;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.78rem;
}
.notice {
  border-left: 3px solid #c79948;
  padding: 10px 15px;
  background: #fbf6eb;
  margin: 16px 0;
}
.error {
  background: #fff0ef;
  border-left: 3px solid #b23640;
  padding: 12px;
}
.empty {
  text-align: center;
  padding: 40px 25px;
  border: 1px dashed #bbcdc1;
  border-radius: 16px;
  background: #fafffc;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.tabs button[aria-current="true"] {
  background: #193b3d;
  color: white;
}
.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar button {
  text-align: left;
}
.detail {
  max-width: 880px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}
.detail p,
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
}
.detail video {
  max-width: 100%;
}
.qr {
  width: 200px;
  height: 200px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 12px;
  font-size: 0.9rem;
}
th {
  background: #e9f2ed;
}
.scroll {
  overflow: auto;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 600px;
  width: calc(100% - 30px);
  padding: 30px;
  max-height: 90vh;
}
dialog::backdrop {
  background: #17383299;
}
.footer {
  border-top: 1px solid var(--border);
  padding: 25px;
  text-align: center;
  font-size: 0.85rem;
}
.status {
  font-size: 0.8rem;
}
.urgent {
  color: #a2323c;
  font-weight: 650;
}
.hidden {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #c88728;
  outline-offset: 3px;
}
.large {
  font-size: 20px;
}
.contrast {
  filter: contrast(1.4);
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 0;
  background: white;
  padding: 15px;
  z-index: 999;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.wide {
  grid-column: 1/-1;
}
.account {
  max-width: 460px;
  margin: 40px auto;
}
@media (max-width: 800px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar {
    flex-direction: row;
    overflow: auto;
  }
  .hero-panel {
    padding: 22px;
  }
  header {
    padding: 14px 20px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions button {
    padding: 8px 10px;
  }
  main {
    padding: 22px 17px 80px;
  }
  .detail {
    padding: 20px;
  }
  .hero {
    gap: 10px;
  }
  h1 {
    font-size: 2.3rem;
  }
}
@media print {
  header,
  .tabs,
  .actions,
  .footer,
  button {
    display: none !important;
  }
  main,
  .detail {
    padding: 0;
    border: 0;
  }
  .grid {
    display: block;
  }
}
input[type="checkbox"] {
  width: auto;
}
#results {
  margin-top: 22px;
}
#content .actions {
  margin: 22px 0;
}
.account h1 {
  font-size: 2.5rem;
}
.account button {
  margin-top: 20px;
}
.formgrid textarea {
  min-height: 85px;
}
pre {
  font: inherit;
}
dialog #message:empty {
  display: none;
}

.demo-banner{padding:10px 18px;background:#674411;color:white;text-align:center;font-size:14px;font-weight:650}

.detail img{display:block}.detail video{display:block;width:100%;max-width:800px;margin:18px 0}.detail>small{display:block}
