/* ../node_modules/antd/dist/reset.css */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex="-1"]:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type=text],
input[type=password],
input[type=number],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    Courier,
    monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role=button],
input:not([type=range]),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}
input[type=date],
input[type=time],
input[type=datetime-local],
input[type=month] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}

/* src/styles.css */
body {
  margin: 0;
  background: #f5f7fa;
}
.shell {
  min-height: 100vh;
}
.sider {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  height: 100vh;
  overflow-y: auto;
  padding: 20px 12px;
}
.content {
  padding: 24px;
}
.page-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.menu-badge-label {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}
.public-page {
  background: #ffffff;
  margin: 40px auto;
  max-width: 720px;
  min-height: calc(100vh - 80px);
  padding: 32px;
}
.public-page.wide {
  max-width: 960px;
}
.onboarding-public-page {
  padding: 36px 40px;
}
.onboarding-form-header {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 22px;
}
.onboarding-form-header h1.ant-typography {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.onboarding-form-logo {
  height: auto;
  width: 190px;
}
.onboarding-form-summary {
  margin-bottom: 14px;
}
.onboarding-form {
  margin-top: 14px;
}
.onboarding-form .ant-tabs-nav {
  margin-bottom: 12px;
}
.onboarding-form-section {
  border-top: 1px solid #e7ecf3;
  padding: 22px 0 8px;
}
.onboarding-form-section:first-child {
  border-top: 0;
  padding-top: 8px;
}
.onboarding-form-section h4.ant-typography {
  color: #1f2937;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 16px;
}
.onboarding-form-grid {
  display: grid;
  gap: 0 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.onboarding-form-span {
  grid-column: 1 / -1;
}
.onboarding-attachment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}
.summary {
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
  padding: 16px;
}
.full {
  width: 100%;
}
.data-table .ant-table {
  table-layout: auto !important;
}
.data-table .ant-table-thead > tr > th {
  line-height: 1.35;
  min-width: 96px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.data-table .ant-table-tbody > tr > td {
  line-height: 1.45;
  min-width: 96px;
  vertical-align: middle;
  white-space: normal;
  writing-mode: horizontal-tb;
}
.table-cell-wrap {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}
.template-editor {
  align-items: flex-start;
  display: grid;
  gap: 20px;
  grid-template-columns: 260px minmax(0, 1fr);
}
.template-list {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.template-list-button {
  justify-content: flex-start;
  width: 100%;
}
.template-detail {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 16px;
  width: 100%;
}
.page-template-editor {
  align-items: flex-start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}
.page-template-form,
.page-template-preview {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 16px;
}
.offer-public-page {
  margin: 0 auto;
  max-width: 960px;
  min-height: 100vh;
  padding: 48px 24px;
}
.offer-auth-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin: 0 auto;
  max-width: 440px;
  padding: 36px 40px;
}
.offer-auth-card .email-logo {
  margin-bottom: 24px;
  width: 220px;
}
.logo-field {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  padding: 14px 18px;
}
.logo-field img {
  height: auto;
  width: 220px;
}
.email-preview-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  max-width: 760px;
  padding: 36px 42px;
}
.page-template-preview .email-preview-card {
  padding: 32px;
}
.email-preview-header {
  align-items: center;
  border-bottom: 1px solid #eef0f3;
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
}
.email-logo {
  height: auto;
  width: 260px;
}
.email-preview-body {
  color: #202632;
  font-size: 16px;
  line-height: 1.8;
  padding-top: 28px;
}
.email-subject {
  border-bottom: 1px solid #eef0f3;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 14px;
}
.email-content {
  white-space: pre-wrap;
}
.email-content p {
  margin: 0 0 12px;
}
.email-content a {
  color: #1677ff;
  text-decoration: underline;
}
.email-actions {
  border-top: 1px solid #eef0f3;
  margin-top: 24px;
  padding-top: 20px;
  width: 100%;
}
.letter-preview {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-top: 24px;
  max-width: 760px;
  padding: 28px 42px;
}
.letter-preview pre {
  font-family: inherit;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.letter-variable-editor {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  max-height: 520px;
  overflow: auto;
  padding: 18px 20px;
}
.letter-template-flow {
  color: #1f2937;
  font-size: 14px;
  line-height: 2.1;
  white-space: pre-wrap;
}
.letter-fixed-text {
  white-space: pre-wrap;
}
.letter-variable-field {
  background: #eef6ff;
  border: 1px solid #91caff;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 4px 6px;
  min-width: 140px;
  padding: 6px 8px;
  vertical-align: middle;
}
.letter-variable-label {
  color: #0958d9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.letter-variable-field textarea.ant-input {
  background: #ffffff;
  border-color: #69b1ff;
  color: #0958d9;
  font-weight: 600;
  line-height: 1.45;
  min-width: 120px;
  resize: none;
}
.letter-variable-field textarea.ant-input[readonly] {
  background: #f8fbff;
  color: #334155;
}
.letter-send-preview {
  background: #fbfcfe;
  border: 1px solid #e5e7eb;
  padding: 16px;
}
.letter-send-preview pre {
  font-family: inherit;
  line-height: 1.8;
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.attachment-upload-row {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 86px;
  padding: 14px 16px;
}
.attachment-upload-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.attachment-upload-action {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.attachment-upload-status {
  max-width: 180px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-row {
  border-bottom: 1px solid #eef0f3;
  display: grid;
  gap: 16px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 10px 0;
  word-break: break-word;
}
.onboarding-section {
  border: 1px solid #e5e7eb;
  padding: 16px;
}
.onboarding-entry-grid {
  align-items: flex-start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 260px;
}
.onboarding-entry-link,
.onboarding-entry-qr {
  border: 1px solid #e5e7eb;
  padding: 16px;
}
.onboarding-entry-qr {
  text-align: center;
}
.onboarding-entry-link .ant-typography {
  overflow-wrap: anywhere;
}
.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-heading h4 {
  margin: 0;
}
.candidate-action-button {
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  height: 40px;
  padding: 0 18px;
}
.candidate-action-button.primary {
  background: #1677ff;
  border: 1px solid #1677ff;
  color: #ffffff;
}
.candidate-action-button.danger {
  background: #ffffff;
  border: 1px solid #ff4d4f;
  color: #cf1322;
}
@media (max-width: 900px) {
  .onboarding-public-page {
    margin: 0;
    max-width: none;
    min-height: 100vh;
    padding: 24px 18px;
  }
  .onboarding-form-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .onboarding-form-logo {
    width: 160px;
  }
  .onboarding-form-grid,
  .onboarding-attachment-grid {
    grid-template-columns: 1fr;
  }
  .attachment-upload-row {
    grid-template-columns: 1fr;
  }
  .attachment-upload-action {
    align-items: flex-start;
  }
  .attachment-upload-status {
    max-width: 100%;
    text-align: left;
  }
  .page-template-editor {
    grid-template-columns: 1fr;
  }
  .email-preview-card {
    padding: 28px 22px;
  }
  .onboarding-entry-grid {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=app.css.map */
