.record-graphic {
  container-type: inline-size;
  margin: 36px 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  background: #fafafa;
  box-shadow:
    0 2px 4px #00000002,
    0 14px 36px #00000004;
  color: #252525;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.record-graphic * {
  box-sizing: border-box;
}
.record-graphic .material-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.record-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}
.record-workspace-bar > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.record-workspace-bar strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.record-workspace-bar .material-icon {
  color: #ad654a;
}
.record-sample {
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}
.record-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 64px minmax(0, 1.15fr);
  align-items: center;
  padding: 24px;
  background-image: radial-gradient(#dedede 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}
.record-source-pane,
.record-output-pane {
  min-width: 0;
}
.record-pane-caption {
  min-height: 31px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 500;
  color: #5a5a5a;
  overflow-wrap: anywhere;
}
.record-pane-caption > span {
  color: #777;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.record-paper,
.record-notepad,
.record-business-card,
.record-product-source {
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow:
    0 0 0 1px #0000000b,
    0 3px 4px #00000003,
    0 9px 18px #00000005;
}
.record-paper-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #6a6a6a;
}
.record-mini-brand {
  display: grid;
  gap: 3px;
  width: 20px;
}
.record-mini-brand i {
  background: #343434;
  height: 3px;
  border-radius: 1px;
}
.record-mini-brand i:nth-child(2) {
  width: 75%;
}
.record-mini-brand i:nth-child(3) {
  width: 50%;
}
.record-document-heading {
  display: block;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: -0.35px;
}
.record-source-ledger {
  margin-top: 16px;
  border-top: 1px solid #e7e7e7;
}
.record-source-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
}
.record-source-line > span {
  color: #777;
}
.record-source-line strong {
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.record-source-line:first-child strong {
  background: #edf4ec;
  box-shadow: 0 0 0 4px #edf4ec;
  border-radius: 1px;
}
.record-paper-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-size: 10px;
  color: #888;
}
.record-barcode {
  width: 60px;
  height: 14px;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    #555 0 1px,
    transparent 1px 3px,
    #555 3px 5px,
    transparent 5px 8px,
    #555 8px 9px,
    transparent 9px 11px
  );
}
.record-flow-connector {
  display: flex;
  align-items: center;
}
.record-flow-connector > span {
  height: 1px;
  background: #d7d7d7;
  flex: 1;
}
.record-flow-connector > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dedede;
  border-radius: 9px;
  color: #666;
  background: #fff;
}
.record-sheet,
.record-contact-output,
.record-task-output,
.record-event-output,
.record-bill-output {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 0 1px #00000012,
    0 3px 5px #00000003,
    0 12px 24px #00000004;
}
.record-sheet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 14px;
}
.record-sheet-title > .material-icon {
  color: #32834f;
}
.record-sheet-title > strong {
  font-size: 13px;
  font-weight: 500;
}
.record-sheet-badge {
  margin-left: auto;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}
.record-sheet-grid > div {
  display: grid;
  grid-template-columns: 24px repeat(3, minmax(0, 1fr));
}
.record-sheet-grid > div > * {
  margin: 0;
  padding: 11px 9px;
  border-top: 1px solid #e9e9e9;
  border-right: 1px solid #ededed;
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.record-sheet-grid > div > :last-child {
  border-right: 0;
}
.record-sheet-grid > div > :first-child {
  display: grid;
  place-items: center;
  padding: 8px 2px;
  font-size: 10px;
  color: #888;
  background: #fafafa;
}
.record-sheet-grid .record-sheet-letters > * {
  padding: 5px;
  text-align: center;
  background: #fafafa;
  color: #888;
  font-size: 10px;
}
.record-sheet-grid .record-sheet-headers > * {
  font-size: 12px;
  font-weight: 500;
  background: #fdfdfd;
  color: #626262;
}
.record-sheet-grid .record-sheet-values > strong {
  font-weight: 500;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.record-sheet-grid .record-selected-cell {
  background: #f4f8f3;
  box-shadow: inset 0 0 0 1px #6d9d75;
}
.record-sheet-empty {
  min-height: 33px;
}
.record-sheet-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-top: 1px solid #e8e8e8;
  font-size: 11px;
  color: #426f4a;
  background: #fafcfa;
}
.record-sheet-tab .material-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}
.record-review-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #777;
  font-size: 11px;
}
.record-review-note .material-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  color: #9b7a42;
}
.record-business-card {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  border-radius: 6px;
}
.record-business-monogram {
  align-self: flex-end;
  color: #61775f;
  font-size: 14px;
  letter-spacing: -1px;
  font-weight: 600;
}
.record-document-kicker {
  margin-top: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
}
.record-person-name {
  font-size: 21px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 5px 0 17px;
}
.record-contact-email {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.record-contact-email .material-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
  color: #888;
}
.record-contact-output,
.record-task-output,
.record-event-output,
.record-bill-output {
  padding: 18px;
}
.record-contact-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.record-avatar {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #527150;
  background: #eaf0e8;
  font-size: 12px;
}
.record-contact-heading > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.record-contact-heading strong {
  font-size: 14px;
  font-weight: 600;
}
.record-contact-heading > div > span {
  font-size: 11px;
  color: #777;
}
.record-draft {
  padding: 3px 7px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  font-size: 10px;
  color: #777;
  white-space: nowrap;
}
.record-contact-heading > .record-draft {
  margin-left: auto;
}
.record-mapped-fields {
  margin: 0;
}
.record-mapped-fields > div {
  padding: 10px 0;
  border-top: 1px solid #eeeeee;
}
.record-mapped-fields dt {
  margin-bottom: 3px;
  font-size: 11px;
  color: #777;
}
.record-mapped-fields dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.record-field-link {
  flex-shrink: 0;
  display: flex;
  color: #7c997d;
}
.record-field-link .material-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}
.record-notepad {
  padding: 18px 20px;
}
.record-notepad > .record-document-heading {
  margin-bottom: 10px;
}
.record-note-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #efefef;
}
.record-note-line:last-child {
  border-bottom: 0;
}
.record-note-mark {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
}
.record-note-line > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.record-note-line small {
  font-size: 10px;
  color: #888;
}
.record-note-line strong {
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.record-note-line:nth-child(3) strong {
  text-decoration: underline;
  text-decoration-color: #b7caaa;
  text-decoration-thickness: 4px;
  text-underline-offset: 3px;
}
.record-task-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #777;
  margin-bottom: 13px;
}
.record-task-output h4,
.record-event-output h4 {
  margin: 0 0 15px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.record-calendar-date {
  display: flex;
  flex-direction: column;
  width: 45px;
  height: 51px;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}
.record-calendar-date small {
  background: #f7eded;
  color: #ab6262;
  font-size: 9px;
  padding: 2px;
}
.record-calendar-date strong {
  font-size: 22px;
  font-weight: 500;
}
.record-event-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.record-event-output h4 {
  margin: 6px 0 0;
  font-size: 15px;
}
.record-product-source {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 205px;
  padding: 18px;
}
.record-garment {
  display: grid;
  place-items: center;
  height: 122px;
  background: #f7f8f6;
  border-radius: 5px;
}
.record-garment svg {
  width: 100%;
  height: auto;
}
.record-product-source .record-source-line {
  flex-direction: column;
  gap: 1px;
  padding: 6px 0;
}
.record-product-source .record-source-line strong {
  text-align: left;
}
.record-product-source .record-source-line > span {
  font-size: 10px;
}
@container (max-width: 700px) {
  .record-workspace {
    grid-template-columns: minmax(0, 0.9fr) 35px minmax(0, 1.1fr);
    padding: 18px;
  }
  .record-paper,
  .record-notepad {
    padding: 15px;
  }
  .record-sheet-grid > div > * {
    padding: 10px 6px;
  }
  .record-sheet-grid .record-sheet-values > strong {
    font-size: 12px;
  }
  .record-sheet-grid .record-sheet-headers > * {
    font-size: 10px;
  }
  .record-source-line {
    font-size: 11px;
    gap: 7px;
  }
  .record-source-line strong {
    font-size: 12px;
  }
  .record-product-source {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }
  .record-business-card {
    padding: 17px;
  }
  .record-person-name {
    font-size: 19px;
  }
  .record-contact-email {
    font-size: 11px;
  }
}
@container (max-width: 530px) {
  .record-workspace-bar {
    padding: 15px;
    gap: 10px;
  }
  .record-workspace-bar strong {
    font-size: 11px;
  }
  .record-sample {
    font-size: 10px;
  }
  .record-workspace {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .record-source-pane {
    max-width: 100%;
  }
  .record-pane-caption {
    margin-bottom: 6px;
    min-height: 24px;
  }
  .record-flow-connector {
    width: 100%;
    height: 47px;
    justify-content: center;
  }
  .record-flow-connector > span {
    display: none;
  }
  .record-flow-connector > i {
    transform: rotate(90deg);
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .record-paper {
    padding: 18px;
  }
  .record-paper-heading {
    margin-bottom: 8px;
  }
  .record-source-ledger {
    margin-top: 10px;
  }
  .record-source-line {
    font-size: 12px;
  }
  .record-source-line strong {
    font-size: 14px;
  }
  .record-paper-bottom {
    margin-top: 12px;
  }
  .record-sheet-grid .record-sheet-values > strong {
    font-size: 13px;
  }
  .record-sheet-grid .record-sheet-headers > * {
    font-size: 11px;
  }
  .record-business-card {
    min-height: 180px;
    padding: 23px;
  }
  .record-contact-email {
    font-size: 13px;
  }
  .record-product-source {
    grid-template-columns: 105px minmax(0, 1fr);
    min-height: 190px;
    gap: 23px;
    padding: 18px;
  }
  .record-review-note {
    margin-top: 12px;
    font-size: 11px;
  }
}
@container (min-width: 531px) {
  .record-workspace-bar {
    padding: 13px 22px;
  }
  .record-workspace {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .record-pane-caption {
    min-height: 24px;
    margin-bottom: 6px;
  }
  .record-paper {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .record-source-line {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .record-mapped-fields > div {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .record-contact-output,
  .record-task-output,
  .record-event-output,
  .record-bill-output {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
