* { box-sizing: border-box; }
:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #17241f;
  background: #eff3ef;
}
body { margin: 0; padding: clamp(12px, 5vw, 56px); }
.page-layout {
  display: grid;
  grid-template-columns: 172px minmax(0, 680px);
  align-items: start;
  gap: 18px;
  max-width: 870px;
  margin: 0 auto;
}
.sidebar { position: sticky; top: 20px; }
.sidebar-menu, .activation-card, .guide-panel {
  background: #fff;
  border: 1px solid #d5ded7;
}
.sidebar-menu { border-radius: 16px; padding: 8px; }
.sidebar-menu summary { padding: 8px 10px; font-weight: 650; }
.sidebar-menu nav { display: grid; gap: 3px; margin-top: 3px; }
.menu-item {
  width: 100%;
  padding: 8px 10px;
  border-color: transparent;
  background: transparent;
  color: #135940;
  text-align: left;
}
.menu-item:hover, .menu-item:focus-visible { background: #eef4ee; }
.activation-card, .guide-panel {
  border-radius: 24px;
}
.activation-card { padding: clamp(22px, 5vw, 48px); }
#activation-heading, .guide-panel > summary { scroll-margin-top: 20px; }
.brand { color: #126144; font-weight: 700; }
h1 { margin: 12px 0 24px; font-size: clamp(1.65rem, 5vw, 2.35rem); line-height: 1.14; }
h2 { font-size: 1.35rem; line-height: 1.25; }
label { display: block; font-weight: 600; }
input:not([type=checkbox]), #uid {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 6px 0 12px;
  border: 1px solid #85968c;
  border-radius: 8px;
  color: inherit;
  font: inherit;
}
#uid { resize: vertical; }
button {
  padding: 11px 17px;
  border: 1px solid #135940;
  border-radius: 8px;
  background: #135940;
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
button.secondary { color: #135940; background: white; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #247751; outline-offset: 3px; }
.hint { color: #43564c; }
.uid-error { color: #82371b; margin: 0 0 8px; }
.uid-error:empty { display: none; }
.guide-panel { margin-top: 16px; }
.guide-panel > summary { padding: 15px clamp(22px, 5vw, 48px); font-weight: 700; }
summary { color: #135940; cursor: pointer; }
.guide-panel-content { padding: 0 clamp(22px, 5vw, 48px) 22px; min-width: 0; }
.guide-panel-content h2 { margin: 0 0 14px; }
.guide-entry {
  margin: 8px 0;
  border: 1px solid #d5ded7;
  border-radius: 8px;
}
.guide-entry > summary { padding: 11px 13px; font-weight: 650; }
.guide-content { padding: 0 13px 12px; }
.guide-content :where(ol, ul) { margin: 10px 0; padding-inline-start: 22px; }
.guide-content li + li { margin-top: 10px; }
.guide-content :where(h2, h3) { font-size: 1.1rem; margin: 0 0 8px; }
.guide-content p { margin: 8px 0; }
.guide-content a { color: #126144; overflow-wrap: anywhere; }
.guide-content figure { margin: 12px 0; }
.guide-content img { display: block; width: 100%; height: auto; border: 1px solid #d5ded7; border-radius: 10px; }
.guide-content figcaption { margin-top: 5px; color: #43564c; font-size: .9rem; }
.guide-content .phone-frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-content .phone-frames figure { margin: 0; }
.guide-content dt { font-weight: 650; }
.guide-content dd { margin: 0 0 8px; }
.guide-content .example, .guide-warning {
  padding: 12px;
  border-radius: 8px;
  background: #eef4ee;
}
.guide-content pre {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.guide-content mark { background: #c9ed9d; color: #17241f; }
.guide-warning { background: #fff6df; }
.identifier { overflow-wrap: anywhere; padding: 12px; background: #eef4ee; border-radius: 8px; }
.checkbox { display: flex; align-items: start; gap: 8px; }
.checkbox input { margin: 6px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
#message:not(:empty) { margin: 0 0 16px; color: #82371b; }
[hidden] { display: none !important; }
@media (max-width: 690px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sidebar { position: static; }
  .sidebar-menu nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .guide-content .phone-frames { grid-template-columns: minmax(0, 1fr); }
}
