/*
 * UI-only layout layer.
 * Keep this file independent from document formatting and server-side rules.
 */

.fixed-template {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(135deg, #f7faf8, #edf5f0);
}

.fixed-template > span,
.fixed-template small {
  color: var(--muted);
  font-size: 10px;
}

.fixed-template strong {
  color: var(--green);
  font-size: 14px;
}

.upload-options {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 11px;
  border: 1px solid #dbe5df;
  border-radius: 12px;
  background: #fbfcfb;
}

.upload-options legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.upload-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  cursor: pointer;
}

.upload-option input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.upload-option strong,
.upload-option small {
  display: block;
}

.upload-option strong {
  font-size: 12px;
}

.upload-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.option-detail {
  display: grid;
  gap: 5px;
  padding-left: 27px;
  font-size: 10px;
  font-weight: 700;
}

.option-detail input {
  padding: 9px 10px;
  font-size: 11px;
}

.empty-workspace {
  min-height: 310px;
  gap: 14px;
  padding: 26px;
}

.paper-illustration {
  width: 75px;
  height: 95px;
  padding: 18px 11px;
  box-shadow: 9px 9px 0 var(--green-soft);
}

.paper-illustration span {
  height: 4px;
  margin-bottom: 7px;
}

.paper-illustration span:first-child {
  height: 5px;
}

.empty-workspace h2 {
  margin: 7px 0;
  font-size: 29px;
}

.empty-workspace p {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .empty-workspace {
    min-height: 280px;
    padding: 22px 16px;
  }

  .empty-workspace h2 {
    font-size: 25px;
  }
}
