@import url('/blog/fonts/pretendardvariable-dynamic-subset.css');
:root {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    'Apple SD Gothic Neo',
    sans-serif;
  color: #191b20;
  background: #f7f8fa;
  font-synthesis: none;
  --red: #e83633;
  --muted: #7b818b;
  --line: #e9ebef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f5b1b0;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #ef9997;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -1.7px;
  margin-bottom: 18px;
  font-weight: 760;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  margin-bottom: 16px;
}
h3 {
  line-height: 1.5;
}
p {
  line-height: 1.65;
}
small {
  font-weight: 400;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 35px 23px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.3px;
}
.brand-mark {
  font-size: 31px;
  color: var(--red);
  letter-spacing: -4px;
  margin-right: 6px;
}
.studio-label {
  font-size: 11px;
  letter-spacing: -0.3px;
  font-weight: 600;
  color: #9297a0;
  margin-top: 7px;
}
.nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9a9ea7;
  margin: 55px 15px 13px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 17px;
  text-align: left;
  color: #777e89;
  border-radius: 12px;
  font-size: 19px;
  margin: 5px 0;
}
.nav span {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.nav.active {
  color: var(--red);
  background: #fff1f0;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 12px 0;
  font-size: 13px;
  color: var(--muted);
}
.sidebar-bottom p {
  font-size: 21px;
  color: #26282c;
  font-weight: 600;
  letter-spacing: -0.7px;
  margin: 22px 0;
}
.connection {
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.connection i {
  width: 6px;
  height: 6px;
  background: #4ca276;
  border-radius: 50%;
}
.workspace {
  margin-left: 230px;
}
.topbar {
  height: 82px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 45px;
  font-size: 12px;
  color: #80858e;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar .button {
  font-size: 12px;
  padding: 9px 12px;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 54px 48px 130px;
}
.eyebrow {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 750;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
  gap: 25px;
}
.page-heading .eyebrow {
  display: block;
  margin-bottom: 19px;
}
.page-heading p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 19px;
  border: 1px solid #e0e3e8;
  background: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover:not(:disabled) {
  background: #f1f2f5;
}
.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: #d92d2b;
}
.button.subtle {
  background: transparent;
  border-color: transparent;
}
.wide {
  width: 100%;
}
.text-button {
  padding: 0;
  font-size: 13px;
  color: #737984;
  line-height: 1.6;
}
.text-button:hover {
  text-decoration: underline;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin: 32px 0 42px;
  padding: 25px 0;
}
.stats > div {
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border-right: 0;
}
.stats span {
  display: block;
  font-size: 12px;
  color: #8a8f98;
  margin-bottom: 9px;
}
.stats strong {
  font-size: 31px;
  letter-spacing: -1px;
}
.stats small {
  font-size: 13px;
  color: #8a8f98;
  margin-left: 6px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-top h2 {
  margin: 0;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.article-card {
  text-align: left;
  padding: 0;
  background: white;
  border-radius: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 28px #2427310b;
}
.thumbnail {
  height: 235px;
  position: relative;
  background: #eceef1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail > .badge {
  position: absolute;
  top: 17px;
  left: 17px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  border-radius: 6px;
  padding: 5px 9px;
  background: #f0f1f4;
  color: #707783;
  white-space: nowrap;
}
.badge.live {
  background: #e9f5ee;
  color: #35734f;
}
.badge.scheduled {
  background: #fff1ea;
  color: #b96235;
}
.badge.failed {
  background: #ffe9e8;
  color: #ba3733;
}
.thumbnail > .badge {
  background: #fffffff0;
}
.placeholder-art {
  font-size: 112px;
  font-weight: 850;
  color: #181b20;
  letter-spacing: -10px;
  transform: rotate(-8deg);
}
.placeholder-art span {
  color: var(--red);
}
.card-body {
  padding: 26px;
}
.card-body .eyebrow {
  letter-spacing: 0.2px;
}
.card-body h3 {
  font-size: 21px;
  letter-spacing: -0.7px;
  margin: 11px 0;
}
.card-body p {
  font-size: 13px;
  color: #858b95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
  font-size: 11px;
  color: #999ea7;
}
.card-foot > span:last-child {
  color: #545b66;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.hint {
  font-size: 12px;
  color: #959ba5;
  line-height: 1.7;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.empty {
  padding: 55px 30px;
  text-align: center;
  background: white;
  border: 1px dashed #d9dde3;
  border-radius: 16px;
  grid-column: 1/-1;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.panel {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 20px;
}
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  padding: 20px 24px;
  line-height: 1.7;
  margin: 20px 0;
}
.notice p {
  margin: 7px 0 0;
  color: var(--muted);
}
.notice.success {
  background: #f0f8f3;
  color: #396c4f;
}
.notice.errors {
  background: #fff3f2;
  color: #a94d48;
}
.error,
.danger {
  color: #c73733;
}
.search-box {
  display: flex;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
}
.search-box input {
  border: 0;
  margin: 0;
  background: white;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
}
.topic-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
}
.topic-card h2 {
  font-size: 27px;
}
.topic-card ul {
  padding: 0;
  list-style: none;
  min-height: 150px;
}
.topic-card li {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
}
.topic-card li a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-card li a:hover {
  color: var(--red);
}
.topic-card li small {
  display: block;
  color: #a0a5af;
  font-size: 10px;
  margin-top: 3px;
}
.trend {
  font-size: 11px;
  color: #8a909a;
}
.provider-row {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
#collect-form + .hint {
  margin-bottom: 34px;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 35px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  padding: 18px;
  color: #89909a;
  font-weight: 500;
  font-size: 11px;
  background: #fcfcfd;
}
td {
  padding: 23px 18px;
  border-top: 1px solid var(--line);
}
.title-link {
  color: #272b32;
  text-align: left;
}
.run-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.run-row:last-child {
  border-bottom: 0;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 15px;
}
.editor-heading h1 {
  font-size: 29px;
  margin: 16px 0 0;
}
.editor-heading .badge {
  vertical-align: middle;
  letter-spacing: 0;
  margin-left: 8px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
}
.editor-paper {
  padding: 30px;
}
.editor-side h2 {
  font-size: 18px;
  margin: 12px 0;
}
.editor-side .panel {
  padding: 22px;
}
.editor-side .button {
  font-size: 13px;
}
.editor-side .muted {
  line-height: 1.65;
}
.editor-paper .title-input {
  font-size: 26px;
  font-weight: 700 !important;
  letter-spacing: -0.9px;
  padding: 0 0 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  margin: 0 0 25px !important;
  background: transparent !important;
}
.body-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  padding: 13px 0;
  margin-top: 28px;
  font-size: 12px;
  color: #999;
}
.body-toolbar > div {
  display: flex;
  gap: 14px;
}
.body-input {
  border: 0 !important;
  background: white !important;
  min-height: 550px;
  padding: 18px 0 !important;
  line-height: 1.95 !important;
  font-size: 15px !important;
  resize: vertical;
}
.cover-preview {
  aspect-ratio: 1.55;
  background: #f5f6f8;
  border-radius: 9px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #a1a5ad;
  font-size: 12px;
}
.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #747c87;
  margin-bottom: 17px;
}
input:not([type='checkbox']),
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  background: #fcfcfd;
  padding: 11px 12px;
  margin-top: 8px;
  color: #2e333a;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #abb0b8;
}
.source-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.source-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.source-fields input {
  font-size: 12px;
  margin: 0;
}
.source-row .icon-button {
  padding: 3px;
}
.icon-button {
  font-size: 24px;
  color: #949ba6;
  padding: 0 5px;
}
iframe {
  width: 100%;
  height: 750px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
#review-section {
  margin-top: 36px;
  scroll-margin-top: 25px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  width: min(500px, calc(100vw - 30px));
  box-shadow: 0 25px 100px #0002;
  max-height: 90vh;
}
dialog::backdrop {
  background: #11182766;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 25px;
  letter-spacing: -1px;
  margin: 10px 0;
}
dialog form > p {
  margin-bottom: 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
dialog .wide {
  margin-top: 20px;
}
details {
  margin: 14px 0;
  font-size: 12px;
  color: #888;
}
details label {
  margin-top: 10px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
  margin-top: 24px;
}
.checkbox input {
  accent-color: var(--red);
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.job-panel {
  position: fixed;
  bottom: 22px;
  right: 28px;
  width: min(460px, calc(100vw - 40px));
  padding: 17px 21px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 14px;
  box-shadow: 0 8px 32px #1f243418;
  z-index: 5;
  font-size: 12px;
}
.job-panel strong {
  font-size: 12px;
}
.job-panel p {
  margin: 5px 0 0;
  color: #878e98;
}
.job-panel a {
  display: block;
  margin-top: 5px;
  color: var(--red);
}
.job-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #939aaa;
  flex-shrink: 0;
  margin-top: 4px;
}
.job-dot.running {
  background: var(--red);
  animation: pulse 1.2s infinite;
}
.job-dot.complete {
  background: #499775;
}
.job-dot.failed {
  background: var(--red);
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
#toast {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 22px;
  background: #222831;
  color: white;
  box-shadow: 0 6px 25px #0002;
  border-radius: 11px;
  z-index: 100;
  font-size: 13px;
  max-width: 90vw;
}
#toast.error-toast {
  background: #a83733;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 195px;
    padding-inline: 18px;
  }
  .brand {
    font-size: 21px;
  }
  .studio-label {
    display: none;
  }
  .workspace {
    margin-left: 195px;
  }
  main {
    padding: 35px 28px 130px;
  }
  .topbar {
    padding: 0 28px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .editor-paper {
    padding: 23px;
  }
  .topbar .muted {
    max-width: 250px;
    font-size: 11px;
  }
  .thumbnail {
    height: 200px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
  }
  .nav {
    padding: 10px;
    gap: 6px;
    margin: 0;
  }
  .nav span {
    font-size: 12px;
  }
  .sidebar-bottom,
  .nav-label {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 22px;
  }
  .topbar > span {
    display: none;
  }
  .topbar > div {
    justify-content: space-between;
    width: 100%;
  }
  main {
    padding: 32px 22px 140px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
  }
  .editor-side .panel:last-child {
    grid-column: 1/-1;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .editor-heading {
    flex-wrap: wrap;
  }
  .actions {
    margin-top: 5px;
  }
  .article-grid,
  .topic-grid {
    gap: 17px;
  }
  .card-body {
    padding: 20px;
  }
  .thumbnail {
    height: 180px;
  }
  .card-body h3 {
    font-size: 18px;
  }
}
@media (max-width: 550px) {
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .sidebar {
    padding: 14px;
  }
  .nav {
    font-size: 15px;
    padding: 9px 8px;
  }
  .nav span {
    font-size: 11px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .article-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .thumbnail {
    height: 220px;
  }
  .stats {
    padding: 20px 0;
    margin: 25px 0 32px;
  }
  .stats > div {
    padding: 0 18px;
  }
  .stats strong {
    font-size: 27px;
  }
  .editor-side {
    grid-template-columns: 1fr;
  }
  .editor-paper {
    padding: 20px;
  }
  .source-fields {
    grid-template-columns: 1fr;
  }
  .editor-paper .title-input {
    font-size: 22px;
  }
  .search-box {
    flex-direction: column;
  }
  .editor-heading h1 {
    font-size: 26px;
  }
  .actions .button {
    padding: 11px 13px;
  }
  .topbar .muted {
    max-width: 205px;
  }
  .section-top {
    flex-wrap: wrap;
  }
  .job-panel {
    bottom: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
