/* Exact, unscaled typography and schematic proportions of the source comparison popup. */
dialog.tc-frame-guide,
.tc-frame-guide-inline {
  box-sizing: border-box;
  width: 930px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #202035;
  font: 400 14px/21px TildaSans,Arial,sans-serif;
  overflow: auto;
  box-shadow: 0 18px 80px #20203526;
}
dialog.tc-frame-guide::backdrop { background: rgba(32,32,53,.5); backdrop-filter: none; }
.tc-frame-guide .tc-frame-guide-panel { padding: 31px; position: relative; }
.tc-frame-guide .tc-guide-close {
  position: absolute; top: 31px; right: 31px; float: none;
  margin: 0; padding: 0; width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: 0;
  background: transparent; color: #6f7280;
  font: 400 27px/1 TildaSans,Arial,sans-serif; cursor: pointer;
}
.tc-frame-guide .tc-guide-close:focus-visible { outline: 2px solid #b88a54; border-radius: 6px; }
.tc-frame-guide .tc-frame-guide-header { padding-right: 48px; margin-bottom: 24px; }
.tc-frame-guide h2 { font: 500 34px/41px TildaSans,Arial,sans-serif; letter-spacing: 0; color: #202035; margin: 0; }
.tc-frame-guide .tc-frame-guide-intro { font: 400 15px/23px TildaSans,Arial,sans-serif; color: #6f7280; margin-top: 7px; }
.tc-frame-guide .tc-frame-guide-intro p { font: inherit; margin: 0; }
.tc-frame-guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.tc-frame-guide .tc-frame-guide-card {
  display: flex; flex-direction: column; gap: 14px; box-sizing: border-box;
  border: 1px solid #e4dfd9; border-radius: 18px; padding: 15px;
  background: #fff; min-width: 0; min-height: 370px;
}
.tc-frame-guide .tc-frame-illustration {
  display: grid; place-items: center; flex-shrink: 0;
  width: 100%; height: 162px; padding: 0; margin: 0;
  border-radius: 12px;
  background: linear-gradient(145deg,#faf7f2,#f4efe7);
}
.tc-frame-outline {
  position: relative; display: block; box-sizing: border-box;
  width: calc(var(--tc-frame-width) * var(--tc-frame-scale,1) * 1px);
  height: calc(var(--tc-frame-height) * var(--tc-frame-scale,1) * 1px);
  border: 5px solid #b88a54; border-radius: 3px;
  background: linear-gradient(140deg,#f5d181,#e6a83f 55%,#f4cf7b);
  box-shadow: 0 7px 14px #6f4f2e26;
}
.tc-frame-outline:after { content: ''; position: absolute; inset: 0; border: 2px solid #ffedc3; pointer-events: none; }
.tc-frame-guide .tc-frame-illustration img { width: 100%; height: 162px; object-fit: contain; border-radius: 12px; }
.tc-frame-guide-copy { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.tc-frame-guide .tc-frame-guide-meta h3 { font: 700 19px/29px TildaSans,Arial,sans-serif; margin: 0 0 5px; letter-spacing: 0; color: #202035; }
.tc-frame-guide .tc-frame-dimensions { font: 400 13px/20px TildaSans,Arial,sans-serif; color: #6f7280; margin: 0; }
.tc-frame-guide .tc-frame-guide-description h4 { font: 700 16px/24px TildaSans,Arial,sans-serif; color: #594233; margin: 0 0 6px; }
.tc-frame-guide .tc-frame-guide-description p { font: 400 14px/21px TildaSans,Arial,sans-serif; color: #5c5b61; margin: 0; }
.tc-frame-guide .tc-frame-guide-note { font: 400 14px/21px TildaSans,Arial,sans-serif; color: #6f7280; margin: 24px 0 0; }
.tc-frame-guide .tc-frame-guide-note p { font: inherit; margin: 0; }
@media(max-width:1199px) {
  dialog.tc-frame-guide,.tc-frame-guide-inline { width: 608px; }
  .tc-frame-guide .tc-frame-guide-panel { padding: 24px; }
  .tc-frame-guide .tc-guide-close { top: 24px; right: 24px; }
  .tc-frame-guide h2 { font-size: 29px; line-height: 35px; }
  .tc-frame-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tc-frame-guide .tc-frame-guide-card { min-height: 0; }
}
@media(max-width:639px) {
  dialog.tc-frame-guide,.tc-frame-guide-inline { width: calc(100vw - 32px); }
  .tc-frame-guide .tc-frame-guide-panel { padding: 16px; }
  .tc-frame-guide .tc-guide-close { top: 16px; right: 16px; }
  .tc-frame-guide h2 { font-size: 25px; line-height: 30px; }
  .tc-frame-guide-grid { grid-template-columns: 1fr; }
  .tc-frame-guide .tc-frame-guide-card { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 13px; padding: 12px; }
  .tc-frame-guide .tc-frame-illustration,.tc-frame-guide .tc-frame-illustration img { height: 145px; }
  .tc-frame-outline { --tc-frame-scale: .8832116788; }
}
@media(max-width:359px) {
  .tc-frame-guide .tc-frame-guide-card { grid-template-columns: 100px minmax(0,1fr); gap: 10px; }
  .tc-frame-guide .tc-frame-dimensions { font-size: 12px; }
}
