@import url("https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css");
@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --main: #2f3036;
  --main-dark: #0c0c0c;
  --red: #ef5353;
  --ink: #2b2d33;
  --muted: #c5c6cc;
  --line: #e8e9f1;
  --soft: #f8f9fe;
  --panel: #ffffff;
  --green: #14845f;
  --shadow: 0 16px 45px rgba(42, 28, 75, 0.12);
  --a4-width: 210mm;
  --a4-height: 297mm;
  --a4-pad-top: 13mm;
  --a4-pad-right: 10mm;
  --a4-pad-bottom: 9mm;
  --a4-pad-left: 10mm;
  --resume-title-size: 45pt;
  --resume-subtitle-size: 13pt;
  --section-title-size: 17pt;
  --section-body-size: 9.5pt;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--soft);
  color: var(--ink);
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.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;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f8f9fe;
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 0;
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--main);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.auth-panel h1 {
  margin-bottom: 18px;
  max-width: 640px;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.auth-copy {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.auth-brand {
  position: absolute;
  left: -34px;
  bottom: 0;
  margin: 0;
  color: #0c0c0c;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.auth-form {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 26px 24px 24px;
  border: 1px solid #d8dee8;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(21, 28, 38, 0.08);
}

.auth-form h1 {
  margin: 0;
  color: #0c0c0c;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: 0;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #5f6978;
  font-size: 14px;
  font-weight: 700;
}

.segmented,
.view-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eaf2ff;
  border-radius: 8px;
}

.segment,
.view-tab {
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #626979;
  font-weight: 800;
  line-height: 1;
}

.segment {
  flex: 1;
}

.auth-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin-bottom: -1px;
  background: transparent;
  border-radius: 0;
}

.auth-mode-toggle .segment {
  min-height: 44px;
  align-items: flex-start;
  padding: 14px 16px 6px;
  border: 0;
  border-radius: 0;
  background: #f8f9fe;
  color: #6c7482;
  font-weight: 800;
}

.auth-mode-toggle .segment + .segment {
  margin-left: 0;
}

.auth-mode-toggle .segment.active {
  position: relative;
  z-index: 1;
  border: 1px solid #d8dee8;
  border-bottom: 0;
  background: #fff;
  color: #0c0c0c;
  box-shadow: none;
}

.auth-form input {
  border-color: #d8dee8;
  border-radius: 0;
  padding: 12px 14px;
}

.auth-form input:focus {
  border-color: #0c0c0c;
  box-shadow: none;
}

.auth-form .primary-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border-color: #0c0c0c;
  border-radius: 0;
  background: #0c0c0c;
  color: #fff;
}

.auth-form .primary-btn:hover {
  border-color: #494a50;
  background: #494a50;
}

.auth-form .ghost-btn {
  width: 100%;
  border-radius: 0;
  border-color: #d8dee8;
  background: #fff;
  color: #5f6978;
}

.view-tab {
  display: inline-flex;
}

.view-tab i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.segment.active,
.view-tab.active {
  background: #fff;
  color: var(--main);
  box-shadow: 0 1px 8px rgba(61, 44, 89, 0.1);
}

label {
  display: grid;
  gap: 7px;
  color: #4b5060;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8d2e2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
  outline: 0;
  padding: 10px 11px;
}

input::placeholder,
textarea::placeholder {
  font-weight: 400;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232b2d33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 17px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding-right: 46px;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

.two-line-textarea {
  min-height: 64px;
  resize: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(109, 69, 177, 0.14);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.icon-text-btn,
.icon-btn,
.quiet-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  border: 1px solid transparent;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-btn {
  background: var(--main);
  color: #fff;
}

.primary-btn:hover {
  background: var(--main-dark);
}

.secondary-btn,
.ghost-btn,
.icon-text-btn,
.link-btn {
  background: #fff;
  border-color: #d7d0e2;
  color: #4e5361;
}

.ghost-btn {
  width: 100%;
}

.icon-btn {
  width: 38px;
  padding: 0;
  background: #fff;
  border-color: #d7d0e2;
  color: var(--main);
}

.quiet-status {
  border-color: rgba(20, 132, 95, 0.2);
  background: rgba(20, 132, 95, 0.08);
  color: var(--green);
}

.primary-btn svg,
.secondary-btn svg,
.ghost-btn svg,
.icon-text-btn svg,
.icon-btn svg,
.quiet-status svg,
.view-tab svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.form-message {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.form-message.success,
.form-message.pending {
  color: var(--green);
}

.form-message:empty {
  display: none;
}

.app-shell {
  min-height: 100vh;
}

.topbar,
.public-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar h1,
.public-toolbar h1 {
  margin: 0;
  font-size: 24px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-chip {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #e3ddeb;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fbfaff;
  color: #555b68;
  font-size: 13px;
  font-weight: 800;
}

.workspace {
  display: grid;
  grid-template-columns: 280px var(--a4-width) minmax(420px, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.resume-list-panel,
.main-panel,
.share-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(42, 28, 75, 0.06);
}

.resume-list-panel {
  align-self: start;
  position: sticky;
  top: 98px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2,
.share-panel h2 {
  margin: 0;
  font-size: 17px;
}

.resume-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.resume-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 12px;
}

.resume-item:hover,
.resume-item.active {
  background: #eaf2ff;
  border-color: #c5c6cc;
}

.resume-item strong {
  display: block;
  margin-bottom: 4px;
}

.resume-item span {
  display: block;
  color: #8f9098;
  font-size: 12px;
}

.main-panel {
  min-width: 0;
  padding: 14px;
}

.view-tabs {
  justify-content: flex-start;
  margin-bottom: 14px;
  overflow-x: auto;
}

.view-tab {
  padding: 0 16px;
}

.view-body {
  min-width: 0;
  overflow: visible;
}

.two-pane {
  display: grid;
  grid-template-columns: var(--a4-width) minmax(420px, 1fr);
  gap: 18px;
  align-items: start;
  overflow: visible;
}

.editor {
  display: grid;
  gap: 14px;
}

.editor-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.section-title h2 {
  margin: 0;
  color: var(--main);
  font-size: 16px;
  text-transform: uppercase;
}

.section-title-check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: auto;
  color: var(--main);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--main);
}

.section-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.attachment-include-toggle {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  min-height: auto;
  color: #4b5060;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.attachment-include-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--main);
}

.section-content {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.section-subcontent {
  display: grid;
  gap: 12px;
}

.check-field {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
  color: #4b5060;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--main);
}

.field-with-toggle {
  display: grid;
  gap: 7px;
  color: #4b5060;
  font-size: 13px;
  font-weight: 800;
}

.field-label-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  line-height: 1.2;
}

.field-label-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--main);
}

.field-label-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 20px;
  line-height: 1.2;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4b5060;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.inline-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--main);
}

.photo-input-row {
  display: grid;
  gap: 7px;
}

.basic-info-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.photo-input-label {
  color: #4b5060;
  font-size: 13px;
  font-weight: 800;
}

.photo-input-control {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.photo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-upload-box {
  position: relative;
  width: 90px;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  border: 1px solid #d4d6dd;
  border-radius: 6px;
  background: #f8f9fe;
  color: #747b8c;
  cursor: pointer;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
}

.photo-upload-box:hover {
  border-color: var(--main);
}

.photo-upload-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-side-actions {
  display: grid;
  gap: 8px;
  width: 90px;
}

.photo-side-actions .secondary-btn,
.photo-side-actions .danger-btn {
  min-height: 40px;
}

.photo-crop-modal,
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 18, 28, 0.56);
}

.photo-crop-dialog,
.app-modal-dialog {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e1d9eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 12, 24, 0.28);
}

.app-modal-dialog {
  width: min(720px, 100%);
}

.resume-create-dialog {
  gap: 12px;
  padding: 18px 18px 24px;
}

.photo-crop-head,
.photo-crop-actions,
.app-modal-head,
.app-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.photo-crop-head h2,
.app-modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.resume-create-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resume-create-option {
  min-height: 116px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
  border: 1px solid #ded5ec;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-align: left;
}

.resume-create-option:hover {
  border-color: var(--main);
  background: #fbfaff;
}

.resume-create-option i {
  width: 24px;
  height: 24px;
  color: var(--main);
}

.resume-create-option strong {
  font-size: 16px;
}

.resume-create-option span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.local-import-panel {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 14px;
}

.local-import-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.local-import-file-row span {
  color: #8f9098;
  font-size: 12px;
  font-weight: 700;
}

.local-import-editor textarea {
  min-height: 210px;
}

.local-import-actions {
  display: flex;
  justify-content: flex-end;
}

.ai-import-status {
  min-height: 20px;
  color: #4b5060;
  font-size: 13px;
  font-weight: 800;
}

.ai-import-status.error {
  color: #c73c3c;
}

.ai-import-result {
  display: grid;
  gap: 12px;
}

.ai-import-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-import-summary span {
  border: 1px solid #e3ddeb;
  border-radius: 999px;
  background: #fbfaff;
  color: #4b5060;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.ai-result-editor textarea {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.app-modal-actions {
  justify-content: flex-end;
}

.photo-crop-canvas {
  display: block;
  width: min(300px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: center;
  border: 1px solid #d4d6dd;
  background: #f7f8fb;
  cursor: grab;
  touch-action: none;
}

.photo-crop-canvas:active {
  cursor: grabbing;
}

.photo-crop-zoom {
  display: grid;
  gap: 8px;
}

.photo-crop-zoom input {
  padding: 0;
}

.photo-crop-actions {
  justify-content: flex-end;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-grid-with-color {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
}

.settings-title-field,
.settings-actions-row {
  grid-column: 1 / -1;
}

.settings-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 2px;
  padding-top: 12px;
}

.settings-actions-left,
.settings-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.file-trigger-btn {
  cursor: pointer;
}

.import-message {
  min-height: 0;
  padding-left: 2px;
}

.settings-actions-right {
  margin-left: auto;
  justify-content: flex-end;
}

.settings-actions-row .danger-btn {
  min-height: 40px;
}

.template-color-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: end;
}

.template-color-row-single {
  grid-template-columns: minmax(0, 1fr);
}

.color-field {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #4b5060;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.color-field input {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.color-field input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-field input::-webkit-color-swatch {
  border: 0;
}

.color-field input::-moz-color-swatch {
  border: 0;
}

.full-span-field {
  grid-column: 1 / -1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.education-fields-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.education-main-fields-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.education-fields-row .entry-actions {
  align-self: end;
}

.education-fields-row .danger-btn {
  min-height: 41px;
}

.work-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.work-title-row .entry-actions {
  align-self: end;
}

.work-title-row .danger-btn {
  min-height: 41px;
}

.language-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 12px;
  align-items: end;
}

.language-fields-row .entry-actions {
  align-self: end;
}

.language-fields-row .danger-btn {
  min-height: 41px;
}

.dated-detail-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.dated-detail-fields-row .entry-actions {
  align-self: end;
}

.dated-detail-fields-row .danger-btn {
  min-height: 41px;
}

.custom-section-editor {
  display: grid;
  gap: 12px;
}

.custom-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.custom-section-show {
  align-self: center;
  min-height: 41px;
}

.custom-section-items {
  display: grid;
  gap: 0;
}

.custom-item-editor {
  display: grid;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.custom-item-editor + .custom-item-editor {
  padding-top: 14px;
}

.custom-item-editor:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.custom-item-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.custom-item-editor textarea {
  min-height: 41px;
}

.empty-editor-note {
  margin: 0;
  color: #8f9098;
  font-weight: 700;
}

.certificate-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.certificate-fields-row .entry-actions {
  align-self: end;
}

.certificate-fields-row .danger-btn {
  min-height: 41px;
}

.military-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.military-fields-row .entry-actions {
  align-self: end;
}

.military-fields-row .danger-btn {
  min-height: 41px;
}

.entry-box {
  display: grid;
  gap: 12px;
  border: 1px solid #e7e0ee;
  border-radius: 8px;
  padding: 14px;
  background: #f8f9fe;
}

.entry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.document-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.document-upload-btn {
  min-height: 41px;
  padding-inline: 10px;
}

.skill-entry-box {
  padding: 12px;
}

.skill-entry-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(100px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
}

.skill-entry-fields-simple {
  grid-template-columns: minmax(0, 1fr) auto;
}

.skill-entry-fields .entry-actions {
  align-self: end;
}

.skill-entry-fields .danger-btn {
  min-height: 41px;
}

.other-skill-entry-box {
  grid-template-columns: 1fr;
}

.danger-btn {
  border: 1px solid rgba(239, 83, 83, 0.28);
  border-radius: 6px;
  background: #fff;
  color: #c73c3c;
  min-height: 34px;
  padding: 0 10px;
  font-weight: 800;
}

.setting-danger-action {
  display: flex;
  align-items: end;
}

.preview-column {
  width: min(var(--a4-width), calc(100vw - 36px));
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 116px);
  overflow: visible;
  padding: 0 0 12px;
}

.preview-scale-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.preview-scale-toolbar span {
  color: #747b8c;
  font-size: 13px;
  font-weight: 800;
}

.preview-scale-toolbar .secondary-btn {
  min-height: 32px;
}

.preview-scale-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-scale-actions .secondary-btn {
  padding: 0 12px;
  border-color: transparent;
}

.preview-scale-actions .secondary-btn.active {
  background: #eaf2ff;
  border-color: #b4dbff;
  color: var(--main-dark);
}

.preview-scale-wrap {
  position: relative;
  margin: 0 auto;
  overflow: visible;
}

.preview-scale-stage {
  width: var(--a4-width);
  transform-origin: top left;
}

.preview-scale-stage .resume-paper {
  margin: 0;
}

.share-print-source {
  position: fixed;
  left: -10000px;
  top: 0;
  width: var(--a4-width);
  pointer-events: none;
}

.settings-share-box {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.settings-share-head {
  display: grid;
  gap: 4px;
}

.settings-share-head strong {
  color: var(--main);
  font-size: 14px;
  font-weight: 800;
}

.settings-share-head span {
  color: #6c7280;
  font-size: 13px;
}

.sticky-actions,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 0;
  position: static;
  z-index: 5;
  min-width: var(--a4-width);
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-bottom: 1px solid #eeeaf4;
}

.toolbar-label {
  margin-right: auto;
  color: #747b8c;
  font-size: 13px;
  font-weight: 800;
}

.page-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-page-footer {
  display: flex;
  justify-content: center;
  width: var(--a4-width);
  max-width: none;
  margin: 12px auto 0;
  padding-bottom: 8px;
}

.page-controls .icon-btn {
  width: 34px;
  height: 34px;
  min-height: 34px;
}

.page-indicator {
  min-width: 52px;
  color: #4e5361;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.resume-paper {
  width: var(--a4-width);
  max-width: none;
  margin: 0 auto;
  background: #fff;
  color: #58585a;
  border: 1px solid #e4deeb;
  box-shadow: 0 12px 34px rgba(42, 28, 75, 0.1);
}

.paged-resume {
  display: grid;
}

.resume-a4.resume-page {
  width: var(--a4-width);
  height: var(--a4-height);
  min-height: var(--a4-height);
  overflow: hidden;
}

.paged-resume .resume-page:not(.active) {
  display: none;
}

.pagination-measure {
  position: absolute;
  left: -10000px;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  border: 0;
  box-shadow: none;
  margin: 0;
  z-index: -1;
}

.pagination-measure .resume-page {
  display: block !important;
}

.wide-paper {
  max-width: none;
}

.resume-grid {
  display: grid;
  grid-template-columns: 32% 68%;
  min-height: 1120px;
}

.resume-side {
  background: #fbfaff;
  border-right: 1px solid #eaf2ff;
}

.resume-hero {
  min-height: 196px;
  display: grid;
  align-content: end;
  padding: 28px 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(109, 69, 177, 0.92), rgba(239, 83, 83, 0.7)),
    url("assets/ic_person.svg") center 38px / 72px no-repeat;
}

.resume-hero h2 {
  margin: 0;
  font-size: 27px;
}

.resume-hero span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.9;
}

.resume-side-content,
.resume-main {
  padding: 24px;
}

.contact-list,
.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #58585a;
}

.contact-list img,
.resume-section-title img {
  width: 18px;
  height: 18px;
}

.contact-list span,
.compact-list span,
.resume-meta {
  overflow-wrap: anywhere;
}

.resume-section {
  margin-bottom: 24px;
}

.resume-section:last-child {
  margin-bottom: 0;
}

.resume-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--main);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.skill-row {
  margin-bottom: 13px;
}

.skill-row p {
  margin: 0 0 6px;
  color: #4d4f57;
  font-weight: 700;
}

.skill-bar {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee9f4;
}

.skill-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  background: var(--main);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.compact-list li {
  border-bottom: 1px dotted #d8d2e2;
  padding-bottom: 8px;
}

.compact-list strong {
  display: block;
  color: #474952;
}

.resume-main h3 {
  margin: 0 0 4px;
  color: #30323a;
  font-size: 18px;
}

.resume-main h3 span {
  color: #858b99;
  font-size: 13px;
  font-weight: 700;
}

.resume-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--main);
  font-size: 13px;
  font-weight: 800;
}

.resume-meta img {
  width: 15px;
  height: 15px;
}

.resume-description {
  margin: 0;
  color: #666d7a;
  white-space: pre-line;
}

.resume-entry {
  padding: 4px 0 20px;
  border-bottom: 1px solid #eeeaf4;
  margin-bottom: 18px;
}

.resume-entry:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.current-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.summary-text {
  margin: 0 0 20px;
  color: #58585a;
  white-space: pre-line;
}

.share-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.share-panel {
  padding: 18px;
  position: sticky;
  top: 94px;
}

.share-panel p {
  color: var(--muted);
  font-size: 13px;
}

.privacy-controls {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.privacy-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e3ddeb;
  border-radius: 8px;
  padding: 14px 16px;
}

.privacy-option span {
  min-width: 0;
  color: #4b5060;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.privacy-option input {
  appearance: auto;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--main);
  box-shadow: none;
}

.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-link-field {
  margin-top: 14px;
}

.share-link-field textarea {
  min-height: 84px;
}

.public-share {
  padding-bottom: 42px;
}

.public-share .resume-paper {
  margin-top: 22px;
}

.resume-paper {
  width: var(--a4-width);
  max-width: none;
  background: #fff;
}

.resume-a4 {
  min-height: var(--a4-height);
  padding: var(--a4-pad-top) var(--a4-pad-right) var(--a4-pad-bottom) var(--a4-pad-left);
  color: #565656;
  background: #fff;
  font-family: AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", Dotum, sans-serif;
  line-height: 1.6;
  overflow: hidden;
}

.document-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8mm;
  width: var(--a4-width);
  height: var(--a4-height);
  min-height: var(--a4-height);
  page-break-before: always;
  break-before: page;
}

.document-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8mm;
  border-bottom: 2px solid #111;
  padding-bottom: 3mm;
  color: #111;
}

.document-page-head strong {
  font-size: 14pt;
}

.document-page-head span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #555;
  font-size: 10pt;
}

.document-page-body {
  min-height: 0;
  display: grid;
  place-items: center;
}

.document-image,
.document-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.document-image {
  object-fit: contain;
}

.resume-a4-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26mm;
  gap: 5mm;
  align-items: start;
  margin-bottom: 7mm;
}

.resume-no-photo .resume-a4-header {
  grid-template-columns: minmax(0, 1fr);
}

.resume-title-block h2 {
  margin: 0;
  color: #4f4f4f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--resume-title-size);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.resume-title-block p {
  margin: 3mm 0 0;
  color: #858585;
  font-size: var(--resume-subtitle-size);
  font-weight: 300;
}

.certificate-box {
  position: relative;
  margin-top: 2px;
  border: 1px solid #0c0c0c;
  padding: 5mm 4mm 3mm;
}

.certificate-head {
  position: absolute;
  top: -17px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  background: #fff;
}

.circle-mark {
  width: 16px;
  height: 16px;
  border: 5px solid #0c0c0c;
  border-radius: 50%;
  background: #fff;
}

.certificate-head strong,
.a4-heading h3 {
  margin: 0;
  color: var(--graphic-accent, #14b1ff);
  font-size: 16pt;
  font-weight: 400;
  line-height: 24px;
}

.certificate-list {
  display: grid;
  gap: 3px;
}

.certificate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26mm;
  gap: 2mm;
  color: #656565;
  font-size: 8pt;
  line-height: 1.25;
}

.certificate-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-row time {
  color: #858585;
  text-align: right;
  white-space: nowrap;
}

.a4-section {
  margin-top: 5mm;
}

.experience-section {
  margin-top: 10mm;
}

.a4-heading {
  display: flex;
  align-items: center;
  gap: 2.5mm;
  margin-bottom: 2mm;
}

.a4-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--graphic-accent, #14b1ff);
  flex: 0 0 20px;
}

.a4-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.personal-table,
.line-table {
  border-top: 2px solid #0c0c0c;
}

.personal-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26mm;
  gap: 5mm;
  align-items: start;
}

.personal-table .info-row {
  min-height: 8.4mm;
  padding-block: 2mm;
}

.portfolio-photo-box {
  aspect-ratio: 3 / 4;
  border: 1px solid #e8e9f1;
  background: #f8f9fe;
  overflow: hidden;
}

.info-row,
.line-row {
  display: grid;
  grid-template-columns: 28mm minmax(0, 1fr);
  align-items: center;
  min-height: 6.5mm;
  border-bottom: 1px solid #0c0c0c;
  color: #626262;
}

.info-row span {
  padding-left: 4mm;
  color: #8a8a8a;
  font-size: var(--section-body-size);
}

.info-row strong {
  color: #505050;
  font-size: 10pt;
  font-weight: 700;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4mm 0 2mm;
  color: #4f4f4f;
  font-size: 12pt;
  font-weight: 800;
}

.subsection-title span {
  width: 9px;
  height: 9px;
  border: 3px solid #0c0c0c;
  border-radius: 50%;
}

.line-row {
  grid-template-columns: minmax(0, 1fr) 46mm;
  min-height: 8.4mm;
  padding: 2mm 4mm;
  font-size: var(--section-body-size);
}

.line-row span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.line-row time {
  color: #777;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.line-row strong,
.strong-row {
  font-weight: 800;
}

.inline-organization {
  font-style: normal;
  font-weight: 400;
}

.work-row {
  align-items: start;
}

.work-company-line {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.work-detail-box {
  grid-column: 1 / -1;
  min-width: 0;
  margin-block: 1.5mm;
  padding: 2mm 3mm;
  background: #f8f9fe;
  color: #565656;
  white-space: pre-line;
  line-height: 1.6;
}

.work-detail-spacer {
  display: block;
  height: 0.5em;
}

.work-detail-line {
  display: block;
}

.work-detail-text {
  display: block;
  white-space: normal;
}

.note-row {
  color: #777;
  font-size: 8.8pt;
}

.skills-section-a4 {
  margin-top: 14mm;
}

.skill-pies {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5mm;
  align-items: start;
  margin-top: 4mm;
}

.skill-pie-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.skill-pie {
  position: relative;
  width: 17mm;
  height: 17mm;
  border-radius: 50%;
  background: transparent;
}

.skill-pie svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
}

.skill-pie span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
}

.skill-pie-item p {
  margin: 0;
  max-width: 96px;
  color: #777;
  font-size: 9pt;
  text-align: center;
  overflow-wrap: anywhere;
}

.other-skills-bar {
  margin-top: 4mm;
  padding: 1.5mm 3mm;
  background: #f8f9fe;
  color: #555;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.korean-form-a4 {
  padding: 18mm 16mm 9mm;
  color: #111;
  font-size: 9.4pt;
  line-height: 1.6;
  overflow: visible;
}

.korean-font-square {
  font-family: "NanumSquare", AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", Dotum, sans-serif;
}

.korean-font-myeongjo {
  font-family: "Nanum Myeongjo", Batang, "바탕", serif;
}

.korean-font-pretendard {
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.resume-a4.korean-font-square .resume-title-block h2 {
  font-family: "NanumSquare", AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", Dotum, sans-serif;
}

.resume-a4.korean-font-myeongjo .resume-title-block h2 {
  font-family: "Nanum Myeongjo", Batang, "바탕", serif;
}

.resume-a4.korean-font-pretendard .resume-title-block h2 {
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.korean-form-title {
  margin: 0 0 9mm;
  text-align: center;
  color: #000;
  font-size: 24pt;
  font-weight: 900;
  letter-spacing: 14mm;
  text-indent: 14mm;
  line-height: 1;
}

.korean-profile-grid {
  display: grid;
  grid-template-columns: 30mm minmax(0, 1fr);
  gap: 4mm;
  align-items: start;
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 6mm;
}

.korean-profile-no-photo {
  grid-template-columns: minmax(0, 1fr);
}

.photo-box {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 1px solid #d4d6dd;
  background: #f8f9fe;
  overflow: hidden;
}

.resume-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.korean-info-table {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, 9.2mm) 12.4mm;
  height: 40mm;
  border-top: 2px solid #111;
}

.k-cell {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 6px 10px;
  border-right: 1px solid #a7a7a7;
  border-bottom: 1px solid #a7a7a7;
  font-size: 9.2pt;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k-address-cell {
  align-items: center;
  white-space: pre-line;
  line-height: 1.35;
}

.korean-info-table .k-row-end {
  border-right: 0;
}

.k-label {
  font-weight: 800;
}

.k-hanja-cell {
  font-family: "Noto Serif CJK KR", "Noto Sans CJK KR", AppleMyungjo, "Apple SD Gothic Neo", "Malgun Gothic", Batang, serif;
}

.korean-font-square .k-hanja-cell,
.korean-font-pretendard .k-hanja-cell {
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", AppleSDGothicNeo-Regular, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.k-span {
  grid-column: span 5;
}

.k-span-2 {
  grid-column: span 2;
}

.k-span-3 {
  grid-column: span 3;
}

.korean-section {
  margin-top: 5mm;
}

.korean-section-title {
  display: flex;
  align-items: center;
  gap: 1.5mm;
  min-height: 6.5mm;
  padding: 2.2mm 10px 1.8mm;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  background: #f8f9fe;
  font-size: 10.4pt;
  break-after: avoid;
  page-break-after: avoid;
}

.korean-section-note {
  font-weight: 400;
}

.korean-table {
  border-bottom: 1px solid #a7a7a7;
}

.korean-row {
  display: grid;
  min-height: 6.4mm;
  border-bottom: 1px solid #a7a7a7;
  break-inside: avoid;
  page-break-inside: avoid;
}

.korean-row:last-child {
  border-bottom: 0;
}

.korean-row > span {
  min-width: 0;
  padding: 6px 10px;
  border-right: 1px solid #a7a7a7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.korean-row > span:last-child {
  border-right: 0;
}

.korean-head {
  min-height: 6.8mm;
  font-size: 10pt;
  font-weight: 800;
}

.four-cols {
  grid-template-columns: 37.5mm minmax(0, 1fr) 22mm 39.5mm;
}

.work-cols {
  grid-template-columns: 43mm minmax(0, 1fr) 22mm;
}

.education-cols {
  grid-template-columns: 43mm minmax(0, 1fr) 22mm 22mm;
}

.education-cols-no-grade {
  grid-template-columns: 43mm minmax(0, 1fr) 22mm;
}

.three-cols {
  grid-template-columns: 43mm minmax(0, 1fr) 49mm;
}

.custom-cols {
  grid-template-columns: 43mm minmax(0, 1fr) 38mm;
}

.custom-cols > span:nth-child(2) {
  white-space: normal;
  line-height: 1.6;
}

.single-col {
  grid-template-columns: minmax(0, 1fr);
}

.single-col > span {
  border-right: 0;
  white-space: normal;
  line-height: 1.6;
}

.education-cols > span:nth-child(2),
.education-cols-no-grade > span:nth-child(2),
.work-cols > span:nth-child(2) {
  white-space: pre-line;
  line-height: 1.6;
}

.education-cols > span:last-child,
.education-cols-no-grade > span:last-child,
.work-cols > span:last-child,
.education-cols > span:nth-child(3),
.four-cols > span:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.education-cols > span:first-child,
.education-cols-no-grade > span:first-child,
.work-cols > span:first-child,
.custom-cols > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.custom-cols > span:nth-child(2) {
  display: block;
  white-space: pre-line;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .workspace,
  .two-pane,
  .share-layout {
    grid-template-columns: 1fr;
  }

  .two-pane {
    height: auto;
    overflow: visible;
  }

  .editor {
    max-height: none;
    overflow: visible;
    padding-left: 0;
  }

  .resume-list-panel,
  .share-panel,
  .preview-column {
    position: static;
    max-height: none;
  }

  .resume-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .auth-screen {
    padding: 14px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .auth-mode-toggle {
    padding: 0;
  }

  .auth-form h1 {
    font-size: 29px;
  }

  .topbar,
  .public-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .workspace {
    padding: 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .basic-info-layout,
  .education-main-fields-row,
  .education-fields-row,
  .work-title-row,
  .language-fields-row,
  .dated-detail-fields-row,
  .certificate-fields-row,
  .custom-section-head,
  .custom-item-fields-row,
  .military-fields-row,
  .skill-entry-fields,
  .template-color-row,
  .settings-grid,
  .settings-grid-with-color,
  .resume-create-options {
    grid-template-columns: 1fr;
  }

  .resume-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .resume-side {
    border-right: 0;
    border-bottom: 1px solid #eaf2ff;
  }

  .sticky-actions,
  .preview-toolbar {
    position: static;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html,
  body {
    background: #fff;
    width: 210mm;
    min-height: 297mm;
  }

  body.printing > :not(.print-root) {
    display: none !important;
  }

  body.printing .print-root {
    display: block !important;
    width: var(--a4-width);
    min-height: var(--a4-height);
    margin: 0 auto;
    padding: 0;
  }

  body.printing .print-root .share-print-source {
    position: static;
    width: var(--a4-width);
  }

  body.printing .print-root,
  body.printing .print-root * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.printing .resume-paper {
    width: var(--a4-width) !important;
    max-width: none;
    border: 0;
    box-shadow: none;
    margin: 0;
    overflow: visible;
    font-size: var(--section-body-size);
  }

  body.printing .paged-resume {
    display: block;
  }

  body.printing .paged-resume .resume-page {
    display: block !important;
  }

  body.printing .resume-page {
    height: var(--a4-height);
    min-height: var(--a4-height);
    break-after: page;
    page-break-after: always;
  }

  body.printing .resume-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  body.printing .resume-a4 {
    min-height: var(--a4-height);
    padding: var(--a4-pad-top) var(--a4-pad-right) var(--a4-pad-bottom) var(--a4-pad-left);
    overflow: hidden;
  }

  body.printing .korean-form-a4 {
    min-height: auto;
    padding: 18mm 16mm 9mm;
    overflow: visible;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  body.printing .korean-profile-grid,
  body.printing .korean-row {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.printing .korean-section-title {
    break-after: avoid;
    page-break-after: avoid;
  }

  body.printing .resume-a4-header {
    grid-template-columns: minmax(0, 1fr) 26mm;
    gap: 5mm;
    margin-bottom: 7mm;
  }

  body.printing .resume-title-block h2 {
    font-size: var(--resume-title-size);
  }

  body.printing .resume-title-block p {
    font-size: var(--resume-subtitle-size);
    margin-top: 3mm;
  }

  body.printing .certificate-box {
    padding: 5mm 4mm 3mm;
  }

  body.printing .certificate-head strong,
  body.printing .a4-heading h3 {
    font-size: 16pt;
  }

  body.printing .certificate-row {
    grid-template-columns: minmax(0, 1fr) 26mm;
    font-size: 8pt;
    gap: 2mm;
  }

  body.printing .a4-section {
    margin-top: 5mm;
  }

  body.printing .experience-section {
    margin-top: 10mm;
  }

  body.printing .a4-heading {
    gap: 2.5mm;
    margin-bottom: 2mm;
  }

  body.printing .info-row,
  body.printing .line-row {
    min-height: 6.5mm;
  }

  body.printing .info-row {
    grid-template-columns: 28mm minmax(0, 1fr);
  }

  body.printing .info-row span {
    padding-left: 4mm;
    font-size: var(--section-body-size);
  }

  body.printing .info-row strong {
    font-size: 10pt;
  }

  body.printing .subsection-title {
    margin: 4mm 0 2mm;
    font-size: 12pt;
  }

  body.printing .line-row {
    grid-template-columns: minmax(0, 1fr) 46mm;
    min-height: 8.4mm;
    padding: 2mm 4mm;
    font-size: var(--section-body-size);
  }

  body.printing .note-row {
    font-size: 8.8pt;
  }

  body.printing .skills-section-a4 {
    margin-top: 14mm;
  }

  body.printing .skill-pies {
    grid-template-columns: repeat(5, 1fr);
    gap: 5mm;
    margin-top: 4mm;
  }

  body.printing .skill-pie {
    width: 17mm;
    height: 17mm;
  }

  body.printing .skill-pie-item p {
    font-size: 9pt;
  }

  body.printing .resume-grid {
    display: grid !important;
    grid-template-columns: 32% 68% !important;
    min-height: 0;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  body.printing .resume-side {
    border-right: 1px solid #eaf2ff !important;
    border-bottom: 0 !important;
  }

  body.printing .resume-hero {
    min-height: 34mm;
    padding: 6mm;
    background:
      linear-gradient(145deg, rgba(109, 69, 177, 0.92), rgba(239, 83, 83, 0.7)),
      url("assets/ic_person.svg") center 7mm / 15mm no-repeat !important;
  }

  body.printing .resume-hero h2 {
    font-size: 17pt;
  }

  body.printing .resume-side-content,
  body.printing .resume-main {
    padding: 5mm;
  }

  body.printing .resume-section {
    margin-bottom: 4mm;
    break-inside: avoid;
  }

  body.printing .resume-entry {
    margin-bottom: 3mm;
    padding-bottom: 3mm;
    break-inside: avoid;
  }

  body.printing .resume-section-title {
    font-size: 10pt;
    margin-bottom: 2mm;
  }

  body.printing .resume-main h3 {
    font-size: 10.5pt;
  }

  body.printing .skill-row {
    margin-bottom: 2.5mm;
  }

  body.printing .skill-row p {
    margin-bottom: 1mm;
  }

  body.printing .skill-bar {
    height: 4mm;
  }

  body.printing .contact-list,
  body.printing .compact-list {
    gap: 2mm;
  }

  body.printing .skill-bar {
    background: #eee9f4 !important;
  }

  body.printing .skill-fill,
  body.printing .current-tag {
    background: var(--main) !important;
    color: #fff !important;
  }
}
