.os-layout { align-items: start; }
.os-layout > *, .os-letter, .os-gap { min-width: 0; }
.os-entry h3, .os-summary h3, .os-letter h3, .os-gap h3 { margin: 6px 0 12px; line-height: 1.18; }
.os-entry .ord-note, .os-letter .ord-note, .os-gap .ord-note { margin: 9px 0 18px; }
.os-form { margin: 18px 0; }
.os-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.os-table th, .os-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #38353e; }
.os-table th { font-size: .94rem; font-weight: 530; }
.os-table thead th { vertical-align: bottom; color: #c1bbc8; font-size: .815rem; font-weight: 450; }
.os-table th:first-child { padding-left: 0; }
.os-table td:last-child, .os-table th:last-child { width: 27%; max-width: 9rem; padding-right: 0; }
.os-input, .os-editor {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: #f6f2fa;
  background: #111015;
  border: 1px solid #524b5b;
  border-radius: 8px;
  font: inherit;
}
.os-input { padding: 9px 11px; font-variant-numeric: tabular-nums; }
.os-input[aria-invalid="true"] { border-color: #ef9c97; }
.os-input:focus-visible, .os-editor:focus-visible, .os-basis summary:focus-visible { outline: 2px solid #cab4ef; outline-offset: 3px; }
.os-form > .ord-btn { margin-top: 18px; }
.os-error { font-size: .87rem; }
.os-basis { padding: 14px 0 0; border-top: 1px solid #38353e; color: #c4bdce; font-size: .9rem; }
.os-basis summary { width: fit-content; color: #dfd1ef; cursor: pointer; }
.os-basis p { margin: 14px 0 8px; }
.os-basis ul { margin: 0; padding-left: 1.2em; }
.os-basis li + li { margin-top: 5px; }
.os-lines { margin: 14px 0 18px; }
.os-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #38353e; }
.os-lines dt { color: #c3bdcb; }
.os-lines dd { margin: 0; text-align: right; color: #9adfc0; font-weight: 550; }
.os-lines .os-short { color: #ffb0aa; }
.os-lines .os-extra { color: #efc78e; }
.os-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.os-actions .ord-btn { max-width: 100%; }
.os-summary .os-help { margin: 12px 0 18px; }
.os-msg-label { display: block; margin: 18px 0 6px; font-weight: 530; font-size: .94rem; }
.os-editor { padding: 13px 15px; min-height: 220px; max-height: 70dvh; line-height: 1.45; resize: vertical; }
.os-letter .os-actions { margin-top: 14px; }
.os-letter .os-status { margin: 10px 0 0; }
.os-status:empty { display: none; }
@media (max-width: 560px) {
  .os-table th, .os-table td { padding: 10px 5px; }
  .os-table td:last-child, .os-table th:last-child { width: 28%; }
  .os-input { padding: 9px; }
  .os-table .os-ordered { font-size: .93rem; }
  .os-lines { font-size: .9rem; }
  .os-editor { padding: 12px; }
}
