/*
  previewInApp.css
  version: 2026.06.26.1
*/

#preview {
  --Pv-Text-Light-Real-White: #ffffff;
  --Pv-Text-Light-Gray-100: #e1e3ea;
  --Pv-Text-Light-Gray-200: #c5c8d3;
  --Pv-Text-Light-Gray-300: #b1b5c3;
  --Pv-Text-Light-Gray-400: #979baa;
  --Pv-Text-Light-Gray-500: #737684;
  --Pv-Text-Light-Gray-600: #5a5e6c;
  --Pv-Text-Light-Gray-700: #454855;
  --Pv-Text-Light-Gray-800: #30323b;
  --Pv-Text-Light-Gray-900: #101116;
  --Pv-Text-Light-Text-Blue-100: #e4f2ff;
  --Pv-Text-Light-Text-Blue-200: #d2e8ff;
  --Pv-Text-Light-Text-Blue-700: #235fd2;
  --Pv-Text-Light-Text-Point-Blue: #2873e3;
  --Pv-Text-Light-Text-Point-Yellow: #fff500;
  --Pv-Text-Light-Text-Point-Yellow-100: #fff832;
  --Pv-Text-Light-Text-Point-Negative: #e32502;
  --Pv-Text-Light-Text-Point-Positive: #235fd2;
  --Pv-Text-Light-Text-Point-Warning: #f94321;
  --Pv-Text-Light-Text-Negative: #ee473d;
  --Pv-Text-Light-text-Positive: #1654d1;
  --Pv-Text-Light-text-Negative: #e22502;
  --Pv-Text-Light-text-Success: #bbff00;
  --Pv-Border-Light-Border-Negative: #e22502;
  --Pv-Border-Light-Gray-150: #d3d6de;
  --Pv-Border-Light-Gray-200: #c5c8d3;
  --Pv-Border-Light-Gray-400: #979baa;
  --Pv-Border-Light-Gray-500: #737684;
  --Pv-Border-Light-Gray-700: #454855;
  --Pv-Border-Light-Gray-800: #30323b;
  --Pv-Border-Light-Gray-900: #101116;
  --Pv-Border-Light-Point-Blue: #2873e3;
  --Pv-Border-Light-Blue: #2873e3;
  --Pv-Border-Light-Border-on-secondary: #c5c8d3;
  --Pv-Border-Light-Border-on-inactive: #e1e3ea;
  --Pv-Border-Light-Border-on-tertiary: #d3d6de;
  --Pv-Border-Light-Badge-Coral: #fd5e4f;
  --Pv-Background-Light-Real-White: #ffffff;
  --Pv-Background-Light-gray-10: #f7f7f7;
  --Pv-Background-Light-gray-50: #f3f4f7;
  --Pv-Background-Light-gray-60: #eaeaea;
  --Pv-Background-Light-gray-100: #e1e3ea;
  --Pv-Background-Light-gray-150: #d3d6de;
  --Pv-Background-Light-gray-800: #30323b;
  --Pv-Background-Light-gray-900: #101116;
  --Pv-Background-Light-Negative: #fd5e4f;
  --Pv-Badge-Light-Black-Opacity-Badge: rgba(0, 0, 0, 0.88);
  --Pv-Primary-Scale-Blue-50: #f3f9ff;
  --Pv-Primary-Scale-Blue-default: #4393f0;
  --Pv-Primary-Scale-Blue-700: #235fd2;
  --Pv-Gray-Scale-Gray-50: #f3f4f7;
  --Pv-Gray-Scale-Gray-100: #e1e3ea;
  --Pv-Gray-Scale-Gray-200: #c5c8d3;
  --Pv-Gray-Scale-Gray-400: #979baa;
  --Pv-Gray-Scale-Gray-500: #737684;
  --Pv-Gray-Scale-Real-Black: #000000;
  --Pv-Gray-Scale-Real-Black-07: #000000b3;
  --Pv-Gray-Scale-Real-White: #ffffff;
  --Pv-Btn-Background-Default: #e4f2ff;
  --Pv-Btn-Text-Default: #1654d1;
  --Pv-Btn-Background-Positive: #4393f0;
  --Pv-Btn-Text-Positive: #ffffff;
  --Pv-Ui-Color-Background-App: #f2f5fc;
  --Pv-Ui-Color-Gray-100: #e1e3ea;
  --Pv-Ui-Color-Gray-200: #c5c8d3;
  --Pv-Ui-Color-Gray-300: #b1b5c3;
  --Pv-Ui-Color-Gray-400: #979baa;
  --Pv-Ui-Color-Gray-500: #737684;
  --Pv-Ui-Color-Gray-600: #5a5e6c;
  --Pv-Ui-Color-Gray-700: #454855;
  --Pv-Ui-Color-Gray-800: #30323b;
  --Pv-Ui-Color-Gray-900: #101116;
  --Pv-primary: var(--Point-Light-Point-Blue);
  --Pv-bg: var(--Pv-Ui-Color-Background-App);
  --Pv-panel: var(--Pv-Background-Light-Real-White);
  --Pv-soft: var(--Pv-Background-Light-gray-50);
  --Pv-text: var(--Pv-Text-Light-Gray-900);
  --Pv-sub: var(--Pv-Text-Light-Gray-600);
  --Pv-muted: var(--Pv-Text-Light-Gray-500);
  --Pv-line: var(--Pv-Border-Light-Border-on-tertiary);
  --Pv-danger: var(--Pv-Text-Light-text-Negative);
  --Pv-success: var(--Pv-Text-Light-text-Positive);
  --Pv-theme-primary: var(--Point-Light-Point-Blue);
  --Pv-theme-primary-darken-1: var(--Point-Light-Highlight-Point-Blue);
  --Pv-theme-secondary: var(--Pv-Btn-Background-Default);
  --Pv-theme-secondary-darken-1: var(--Pv-Btn-Text-Default);
  --Pv-theme-error: var(--Pv-Background-Light-Negative);
  --Pv-theme-info: var(--Pv-Primary-Scale-Blue-default);
  --Pv-theme-success: var(--Pv-Text-Light-text-Positive);
  --Pv-theme-warning: var(--Point-Light-Point-orange);
  --Pv-theme-surface-light: var(--Pv-Background-Light-gray-50);
  --Pv-theme-surface-variant: var(--Pv-Text-Light-Gray-700);
  --Pv-theme-kbd: var(--Pv-Background-Light-gray-900);
  --Pv-theme-code: var(--Pv-Background-Light-gray-10);
  --Pv-page-max: 520px;
}

#preview button {
  font: inherit;
}
#preview input {
  font: inherit;
}

#preview button {
  cursor: pointer;
}

#preview .preview-page {
  min-height: 100vh;
  background: var(--Pv-bg);
}

#preview .preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--Pv-line);
  backdrop-filter: blur(12px);
}

#preview .preview-toolbar input[type="text"],
#preview .preview-file-label,
#preview .preview-toolbar button {
  min-height: 38px;
  border-radius: 10px;
  font-size: 13px;
}

#preview .preview-toolbar input[type="text"] {
  min-width: 0;
  border: 1px solid var(--Pv-line);
  padding: 0 11px;
  color: var(--Pv-text);
  background: var(--Pv-panel);
  outline: 0;
}

#preview .preview-toolbar button,
#preview .preview-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 12px;
  background: var(--Pv-Btn-Background-Default);
  color: var(--Pv-Btn-Text-Default);
  font-weight: 800;
  white-space: nowrap;
}

#preview .preview-file-label input {
  display: none;
}

#preview .preview-status {
  grid-column: 1 / -1;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--Pv-Background-Light-gray-50);
  color: var(--Pv-sub);
  font-size: 12px;
}

#preview .preview-status.success {
  background: var(--Pv-Btn-Background-Default);
  color: var(--Pv-Btn-Text-Default);
}

#preview .preview-status.error {
  background: #fff4f2;
  color: var(--Pv-danger);
}

#preview .preview-surface {
  width: 100%;
}

#preview .preview-empty {
  max-width: var(--Pv-page-max);
  margin: 40px auto;
  padding: 24px;
  border: 1px solid var(--Pv-line);
  border-radius: 18px;
  background: var(--Pv-panel);
  color: var(--Pv-sub);
  font-size: 14px;
}

#preview .index-message {
  width: calc(100% - 32px);
  max-width: var(--Pv-page-max);
  margin: 44px auto;
  padding: 24px 18px;
  border: 1px solid var(--Pv-line);
  border-radius: 22px;
  background: var(--Pv-panel);
  box-shadow: 0 12px 28px rgba(16, 17, 22, 0.08);
}

#preview .index-message h1 {
  margin: 0;
  color: var(--Pv-text);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

#preview .index-message p {
  margin: 10px 0 0;
  color: var(--Pv-sub);
  font-size: 14px;
  line-height: 1.65;
}

#preview .index-message-detail {
  overflow-wrap: anywhere;
}

#preview .index-message .landing-btn {
  margin-top: 18px;
}

#preview .landing {
  width: 100%;
  max-width: var(--Pv-page-max);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}

#preview .landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(211, 214, 222, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

#preview .landing-brand {
  color: var(--Pv-primary);
  font-weight: 850;
  letter-spacing: -0.03em;
}

#preview .landing-menu {
  width: 22px;
  height: 16px;
  border-top: 2px solid var(--Pv-Text-Light-Gray-800);
  border-bottom: 2px solid var(--Pv-Text-Light-Gray-800);
  position: relative;
}

#preview .landing-menu::before {
  position: absolute;
  left: 0;
  top: 5px;
  width: 22px;
  height: 2px;
  background: var(--Pv-Text-Light-Gray-800);
  content: "";
}

#preview .hero {
  width: 100%;
  min-height: 180px;
  background: var(--Pv-soft);
  overflow: hidden;
}

#preview .hero img {
  display: block;
  width: 100%;
  min-height: 180px;
  object-fit: cover;
}

#preview .landing-body {
  padding: 24px 18px 96px;
}

#preview .eyebrow {
  margin: 0 0 7px;
  color: var(--Pv-primary);
  font-size: 12px;
  font-weight: 850;
}

#preview .landing h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

#preview .subtitle {
  margin: 11px 0 0;
  color: var(--Pv-sub);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.04em;
}

#preview .landing-section {
  margin-top: 32px;
}

#preview .landing-section h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

#preview .p {
  margin: 0;
  color: var(--Pv-sub);
  font-size: 15px;
  line-height: 1.75;
  word-break: normal;
}

#preview .text-box {
  padding: 18px;
  border: 1px solid var(--Pv-line);
  border-radius: 18px;
  background: var(--Pv-Gray-Scale-Gray-50);
  word-break: normal;
}

#preview .card {
  padding: 20px;
  border: 1px solid var(--Pv-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 27, 55, 0.07);
}

#preview .card-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 850;
  word-break: normal;
}

#preview .card-sub {
  margin: 0;
  color: var(--Pv-sub);
  font-size: 14px;
  line-height: 1.62;
  word-break: normal;
}

#preview .image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--Pv-line);
  border-radius: 22px;
  background: var(--Pv-soft);
}

#preview .image-card img {
  display: block;
  width: 100%;
  height: auto;
}

#preview .image-card figcaption {
  padding: 12px;
  color: var(--Pv-sub);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

#preview .list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#preview .list-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--Pv-line);
  border-radius: 18px;
  background: #fff;
  word-break: normal;
}

#preview .list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--Pv-Btn-Background-Default);
  color: var(--Pv-Btn-Text-Default);
  font-weight: 900;
}

#preview .list-title {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
  word-break: normal;
}

#preview .list-desc {
  margin: 4px 0 0;
  color: var(--Pv-sub);
  font-size: 13px;
  line-height: 1.48;
  word-break: normal;
}

#preview .grid {
  display: grid;
  grid-template-columns: repeat(var(--col, 2), minmax(0, 1fr));
  gap: 10px;
}

#preview .grid-item {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--Pv-soft);
  text-align: center;
  padding: 12px 8px;
  word-break: normal;
}

#preview .grid-icon {
  margin-bottom: 6px;
  font-size: 24px;
}

#preview .grid-title {
  font-size: 14px;
  font-weight: 850;
  word-break: normal;
}

#preview .table {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--Pv-line);
  border-radius: 22px;
  word-break: normal;
}

#preview .table-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

#preview .table-left {
  color: var(--Pv-sub);
  font-weight: 650;
}

#preview .table-right {
  color: var(--Pv-text);
  font-weight: 850;
  text-align: right;
  word-break: normal;
}

#preview .landing-btns {
  display: grid;
  gap: 10px;
}

#preview .landing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  background: var(--Pv-Btn-Background-Positive);
  color: var(--Pv-Btn-Text-Positive);
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
}

#preview .landing-btn.btnDefault { background: var(--Pv-Btn-Background-Default); color: var(--Pv-Btn-Text-Default); }
#preview .landing-btn.btnPositive { background: var(--Pv-Btn-Background-Positive); color: var(--Pv-Btn-Text-Positive); }
#preview .landing-btn.pointBlue { background: var(--Point-Light-Point-Blue); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.highlightBlue { background: var(--Point-Light-Highlight-Point-Blue); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.orange { background: var(--Point-Light-Point-orange); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.negative { background: var(--Pv-Text-Light-text-Negative); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.coralBadge { background: var(--Pv-Border-Light-Badge-Coral); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.blackBadge { background: var(--Pv-Badge-Light-Black-Opacity-Badge); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.grayLight { background: var(--Pv-Gray-Scale-Gray-50); color: var(--Pv-Text-Light-Gray-900); }
#preview .landing-btn.grayMid { background: var(--Pv-Gray-Scale-Gray-500); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.grayDark { background: var(--Pv-Text-Light-Gray-800); color: var(--Pv-Text-Light-Real-White); }
#preview .landing-btn.yellow { background: var(--Pv-Text-Light-Text-Point-Yellow); color: var(--Pv-Text-Light-Gray-900); }
#preview .landing-btn.successNeon { background: var(--Pv-Text-Light-text-Success); color: var(--Pv-Text-Light-Gray-900); }
#preview .landing-btn.ghost {
  background: #fff;
  color: var(--Pv-primary);
  border: 1px solid var(--Pv-line);
}

#preview .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#preview .badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--Pv-Badge-Light-Black-Opacity-Badge);
  color: white;
  font-size: 12px;
  font-weight: 850;
  word-break: break-all;
}

#preview .badge.btnDefault { background: var(--Pv-Btn-Background-Default); color: var(--Pv-Btn-Text-Default); }
#preview .badge.btnPositive { background: var(--Pv-Btn-Background-Positive); color: var(--Pv-Btn-Text-Positive); }
#preview .badge.pointBlue { background: var(--Point-Light-Point-Blue); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.highlightBlue { background: var(--Point-Light-Highlight-Point-Blue); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.orange { background: var(--Point-Light-Point-orange); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.negative { background: var(--Pv-Text-Light-text-Negative); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.coralBadge { background: var(--Pv-Border-Light-Badge-Coral); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.blackBadge { background: var(--Pv-Badge-Light-Black-Opacity-Badge); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.grayLight { background: var(--Pv-Gray-Scale-Gray-50); color: var(--Pv-Text-Light-Gray-900); }
#preview .badge.grayMid { background: var(--Pv-Gray-Scale-Gray-500); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.grayDark { background: var(--Pv-Text-Light-Gray-800); color: var(--Pv-Text-Light-Real-White); }
#preview .badge.yellow { background: var(--Pv-Text-Light-Text-Point-Yellow); color: var(--Pv-Text-Light-Gray-900); }
#preview .badge.successNeon { background: var(--Pv-Text-Light-text-Success); color: var(--Pv-Text-Light-Gray-900); }
#preview .badge.outline {
  background: #fff;
  color: var(--Pv-primary);
  border: 1px solid var(--Pv-line);
}

#preview .block-preview {
  margin-top: 16px;
}

#preview .bottom-cta {
  position: sticky;
  bottom: 0;
  padding: 13px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #fff 38%);
  backdrop-filter: blur(12px);
}