/*
  THE REFUSE-SERVICE SIGN MAKER: the bits of the form and the preview that
  the log sheet's stylesheet (loaded first, for the shared form styles) does
  not cover (task P138-#292). Loaded only on /free-resources/refuse-service-sign/.
*/

.sg-presets {
  display: grid;
  gap: 10px;
}

.sg-presets .lsg-choice {
  align-items: flex-start;
  font-weight: 600;
  line-height: 1.35;
}

.sg-presets .lsg-choice input {
  margin-top: 1px;
}

.sg-custom {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: var(--cream);
  border: var(--line);
  border-radius: 16px;
}

.sg-custom[hidden] {
  display: none;
}

.sg-custom .lsg-hint {
  margin: 0;
}

.sg-form textarea {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  border-radius: 12px;
  resize: vertical;
}

.sg-form textarea:focus-visible {
  outline: 3px solid var(--green-800);
  outline-offset: 2px;
}

.sg-note {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: var(--mint);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.45;
}

.sg-note[hidden] {
  display: none;
}

.sg-preview-frame {
  border: var(--line);
  border-radius: 12px;
  background: #e9e6df;
  padding: 18px;
}

.sg-preview {
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 6px 6px 0 rgba(26, 26, 26, 0.85);
  background: #fff;
}

.sg-preview[data-orientation='landscape'] {
  max-width: 620px;
}

.sg-preview svg,
.sg-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.sg-law dt {
  font-size: 20px;
}
