:root {
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #22222a;
  --muted: #62616c;
  --line: #deddd9;
  --violet: #6345ef;
  --deep: #5135ce;
  --pale: #eeebff;
  --display: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
a {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #957ffe;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
[hidden] {
  display: none !important;
}
svg.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.top-inner,
main,
footer {
  max-width: 1280px;
  margin: auto;
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(24px, 5vw, 72px);
}
.top-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.wordmark,
.mini-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  font: 750 29px/1 var(--display);
  letter-spacing: -0.055em;
  text-align: left;
}
.brand-name {
  white-space: nowrap;
}
.brand-name > span {
  color: #d4021a;
  font-style: italic;
  font-weight: 650;
}
.brand-symbol {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 8px;
}
.top-inner nav {
  display: flex;
  align-self: stretch;
  gap: 26px;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  position: relative;
}
.navitem .ico {
  width: 17px;
  height: 17px;
}
.navitem.active {
  color: var(--violet);
}
.navitem.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--violet);
  border-radius: 3px;
}
.navitem span:last-child:not(:first-child)#nav-count {
  background: var(--pale);
  color: var(--deep);
  font: 700 12px/18px var(--display);
  padding: 0 5px;
  border-radius: 5px;
}
.circle-help {
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.circle-help .ico {
  width: 18px;
  height: 18px;
}
main {
  min-height: calc(100svh - 174px);
  outline: 0;
}

/* On entry, the entire drop area opens the native file picker. */
.entry .topbar {
  border-bottom-color: transparent;
}
.wordmark:disabled {
  opacity: 1;
}
.entry #root {
  min-height: calc(100svh - 76px);
  display: grid;
  align-content: center;
  justify-items: center;
  padding-block: 24px clamp(24px, 12svh, 110px);
}
.resume-entry {
  width: min(100%, 560px);
  text-align: center;
}
.uploadbox {
  width: 100%;
  min-height: clamp(250px, 40svh, 340px);
  padding: 32px 20px;
  border: 1.5px dashed #c5aead;
  border-radius: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 150ms, border-color 150ms;
}
.uploadbox:is(:hover, :focus-visible, .dragover) {
  background: #fff8f7;
  border-color: #be1c30;
}
.uploadbox:focus-visible {
  outline-color: #be1c30;
}
.upload-icon {
  color: #be1c30;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}
.upload-icon .ico {
  width: 32px;
  height: 32px;
}
.upload-title {
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.055em;
  font-weight: 750;
}
.upload-formats {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 5px;
}
.file-select {
  margin-top: 22px;
  border-radius: 10px;
  padding: 10px 23px;
  background: #be1c30;
  color: white;
  font-weight: 700;
}
@media (max-width: 900px) {
  .entry #root { min-height: calc(100svh - 66px); }
}
@media (max-width: 660px) {
  .entry #root { min-height: calc(100svh - 59px); }
}

.primary {
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.91rem;
  white-space: nowrap;
}
.primary:hover {
  background: var(--deep);
}
.error {
  color: #a53744;
  margin: 8px 0 0;
  font-size: 0.87rem;
}
.deck-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.art-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  background: #fffffff0;
  color: #383144;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.3;
}
.art-label .ico {
  width: 13px;
  height: 13px;
}

.meta {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.meta .ico {
  width: 14px;
  height: 14px;
}
.view-top,
.sheet-head,
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.view-top h1,
.sheet-head h2 {
  margin: 0;
  letter-spacing: -0.055em;
}
.count {
  color: var(--violet);
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.03rem;
}
.chips {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 14px 0 17px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.job-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
  transition:
    border 0.15s,
    transform 0.15s;
}
.job-tile:hover {
  border-color: #ada2d1;
  transform: translateY(-2px);
}
.tile-open {
  padding: 18px;
  width: 100%;
  height: 100%;
  text-align: left;
  display: block;
  min-width: 0;
}
.tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 25px;
}
.companyicon {
  height: 31px;
  width: 31px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font: 750 15px/1 var(--display);
  color: var(--brandink, #25232a);
  background: var(--brandbg, #ece7fa);
  letter-spacing: -0.05em;
}
.comname {
  font:
    650 0.88rem/1.2 var(--display),
    var(--font);
  letter-spacing: -0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile-open h3 {
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}
.tile-open .meta,
.tile-pay {
  font-size: 0.82rem;
}
.tile-pay {
  display: block;
  margin-top: 9px;
  color: #5c556b;
}
.tiny-save {
  position: absolute;
  top: 15px;
  right: 13px;
  color: #817b88;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.tiny-save:hover {
  background: var(--pale);
}
.tiny-save .ico {
  width: 17px;
  height: 17px;
}
.tiny-save.checked {
  color: var(--violet);
}
.tiny-save.checked .ico {
  fill: var(--pale);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #75717d;
  font-size: 0.81rem;
  min-height: 77px;
  border-top: 1px solid var(--line);
}
footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mini-brand {
  font-size: 17px;
  color: #4d4956;
}
.mini-brand .brand-symbol {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.view-top {
  padding: 32px 0 18px;
  align-items: flex-end;
}
.view-top h1 {
  font-size: clamp(29px, 3.5vw, 46px);
  line-height: 1.18;
}
.view-top p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 7px 0 0;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.small-ctl,
.plain-btn {
  border: 1px solid var(--line);
  background: white;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-weight: 650;
}
.small-ctl .ico,
.plain-btn .ico {
  width: 16px;
  height: 16px;
}
.small-ctl.on {
  color: var(--deep);
  border-color: #c8baff;
  background: #f4f0ff;
}
.deck-area {
  padding: 28px 16px 23px;
  background:
    radial-gradient(#8d77b826 0.8px, transparent 1px) 0 0/18px 18px,
    #eeebf7;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.deck-pile {
  width: min(100%, 440px);
  position: relative;
  isolation: isolate;
  z-index: 1;
}
.deck-pile:before,
.deck-pile:after {
  content: "";
  position: absolute;
  inset: 5px 5px 0;
  border-radius: 17px;
  z-index: -1;
  background: #f6f2ff;
  border: 1px solid #d4cede;
  transform: rotate(-2.6deg) translate(-4px, 1px);
}
.deck-pile:after {
  background: #e0d4fb;
  transform: rotate(2.8deg) translate(4px, 0);
  z-index: -2;
}
.swipe-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #27253529;
  box-shadow: 0 9px 24px #3630461e;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  transform-origin: 50% 82%;
  will-change: transform;
}
.swipe-card.drag {
  cursor: grabbing;
}
.deck-cover {
  position: relative;
  height: clamp(105px, 17vh, 180px);
  overflow: hidden;
  background: #aaa0ef;
}
.deck-cover img {
  object-position: center 45%;
}
.deck-cover .art-label {
  top: 13px;
  left: 16px;
}
.card-body {
  padding: 18px 22px 16px;
}
.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-brand .companyicon {
  width: 27px;
  height: 27px;
  font-size: 13px;
}
.card-brand .comname {
  font-size: 0.94rem;
}
.card-body h2 {
  line-height: 1.17;
  font-size: clamp(23px, 2.2vw, 31px);
  letter-spacing: -0.055em;
  margin: 11px 0 9px;
}
.card-summary {
  margin: 0;
  color: #575260;
  font-size: 0.94rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.job-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.tag {
  padding: 4px 7px;
  border: 1px solid #e3e0e5;
  color: #514d59;
  border-radius: 7px;
  font-size: 0.75rem;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.tag .ico {
  width: 13px;
  height: 13px;
}
.why {
  color: #514478;
  background: #f3efff;
  border-radius: 9px;
  padding: 9px 11px;
  line-height: 1.5;
  font-size: 0.82rem;
}
.why strong {
  color: #5539c8;
  margin-right: 5px;
}
.card-detail {
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
  margin-top: 10px;
}
.stamp {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  top: 20%;
  opacity: 0;
  font-size: 1.5rem;
  font-weight: 800;
  border: 3px solid currentColor;
  border-radius: 9px;
  line-height: 1;
  padding: 8px;
  letter-spacing: -0.06em;
  background: #ffffffeb;
  color: var(--violet);
}
.stamp.skip {
  right: 15px;
  transform: rotate(10deg);
  color: #80585a;
}
.stamp.save {
  left: 15px;
  transform: rotate(-10deg);
}
.action-row {
  margin-top: 20px;
  justify-content: center;
  gap: 11px;
  z-index: 2;
}
.deck-btn {
  border-radius: 999px;
  padding: 11px 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid #d3ccd9;
}
.deck-btn.accent {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.deck-btn.undo {
  padding: 10px;
  color: #686270;
}
.deck-btn .ico {
  width: 19px;
  height: 19px;
}
.deck-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 12px 1px 24px;
  align-items: center;
}
.deck-info button {
  text-decoration: underline;
}
.deck-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.saved-wrap {
  padding: 8px 0 48px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  padding: 48px 16px;
  min-height: 270px;
}
.empty .ico {
  width: 38px;
  height: 38px;
  color: var(--violet);
}
.empty h2 {
  margin: 0;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
}
.empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.empty .actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.first-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f3efff;
  border: 1px solid #dbd1ff;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 12px;
  font-size: 0.87rem;
}
.first-save button {
  color: var(--deep);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog {
  width: min(500px, calc(100% - 32px));
  max-height: 83svh;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 21px;
  padding: 0;
  box-shadow: 0 24px 70px #17112533;
  color: var(--ink);
}
dialog::backdrop {
  background: #19172766;
}
#sheet-inner {
  padding: 24px;
}
.sheet-head {
  margin-bottom: 16px;
  align-items: flex-start;
}
.sheet-head h2 {
  font-size: 1.45rem;
  line-height: 1.4;
}
.sheet-head button {
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
}
.sheet-head .ico {
  width: 16px;
  height: 16px;
}
.sheet-body {
  color: #514d58;
  font-size: 0.95rem;
}
.sheet-body p {
  margin: 8px 0 14px;
}
.sheet-body .why {
  margin: 12px 0;
}
.sheet-body h3 {
  font-size: 1rem;
  margin: 18px 0 5px;
  color: var(--ink);
}
.sheet-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}
.filter-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 14px 0;
  font-weight: 650;
}
.filter-row select {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 10px;
  color: var(--ink);
  width: 100%;
}
.opt-role {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
}
.opt-role input {
  width: 17px;
  height: 17px;
  accent-color: var(--violet);
}
.skills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.skills span {
  background: #eeecf0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.79rem;
}
.sheet-body dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  row-gap: 7px;
  font-size: 0.9rem;
}
.sheet-body dt {
  color: var(--muted);
}
.sheet-body dd {
  margin: 0;
}
.about-intro {
  background: #f1ebff;
  padding: 14px;
  border-radius: 11px;
}
.here-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 8px 0;
}
.screen-leave {
  transition:
    transform 0.17s ease-in,
    opacity 0.17s !important;
}
.arrive {
  animation: arrive 0.21s ease-out;
}
@keyframes arrive {
  from {
    opacity: 0.88;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#notice {
  pointer-events: none;
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translate(-50%, 12px);
  padding: 10px 17px;
  border-radius: 12px;
  z-index: 8;
  background: #282532;
  color: #fff;
  font-size: 0.89rem;
  box-shadow: 0 6px 22px #0002;
  opacity: 0;
  transition:
    opacity 0.16s,
    transform 0.16s;
  max-width: 90%;
  width: max-content;
}
#notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.ghost-note {
  font-size: 0.84rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .top-inner {
    height: 66px;
  }
  .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 660px) {
  :root {
    --mobile-gutter: 20px;
  }
  .top-inner,
  main,
  footer {
    padding-inline: var(--mobile-gutter);
  }
  .top-inner {
    height: 59px;
    gap: 12px;
  }
  .wordmark {
    font-size: 20px;
    line-height: 0.93;
  }
  .wordmark .brand-name > span {
    display: block;
  }
  .wordmark .brand-symbol {
    width: 33px;
    height: 33px;
    margin-right: 5px;
  }
  .top-inner nav {
    margin-left: auto;
    gap: 14px;
  }
  .navitem {
    gap: 4px;
    font-size: 0.82rem;
  }
  .navitem .ico {
    width: 15px;
    height: 15px;
  }
  .circle-help {
    width: 29px;
    height: 29px;
    margin-left: 2px;
  }
  .circle-help .ico {
    width: 15px;
  }
  .list-grid {
    grid-template-columns: 1fr;
  }
  .tile-open {
    padding: 15px;
  }
  .tile-open h3 {
    font-size: 1.1rem;
    margin: 8px 0 5px;
  }
  .tile-pay {
    margin-top: 6px;
  }
  .view-top {
    padding: 20px 0 14px;
    align-items: center;
    gap: 5px;
  }
  .view-top h1 {
    font-size: 1.7rem;
  }
  .view-top p {
    font-size: 0.8rem;
    margin-top: 4px;
  }
  .small-ctl {
    font-size: 0.8rem;
    padding: 7px 9px;
  }
  .deck-area {
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 16px;
    padding: 18px 14px 15px;
    min-height: 320px;
  }
  .deck-pile {
    max-width: 380px;
  }
  .card-body {
    padding: 13px 14px;
  }
  .card-body h2 {
    font-size: 1.32rem;
    margin-top: 9px;
  }
  .card-summary {
    font-size: 0.86rem;
  }
  .job-chips {
    margin: 8px 0;
  }
  .deck-cover {
    height: clamp(98px, 17svh, 150px);
  }
  .card-detail {
    margin-top: 7px;
  }
  .deck-info {
    font-size: 0.75rem;
  }
  .action-row {
    margin-top: 15px;
  }
  .deck-btn {
    padding: 10px 16px;
  }
  .deck-btn.undo {
    padding: 10px;
  }
  .first-save {
    font-size: 0.8rem;
  }
  .deck-filters {
    margin-bottom: 9px;
  }
  #sheet-inner {
    padding: 21px 19px;
  }
  dialog {
    width: 100%;
    max-width: none;
    max-height: 86svh;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  footer {
    min-height: 65px;
  }
  .tile-open .meta {
    line-height: 1.4;
  }
}
@media (max-width: 480px) {
  footer > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  footer .mini-brand {
    font-size: 15px;
  }
  footer > div > span + span {
    font-size: 0.72rem;
    margin-left: 27px;
  }
}
@media (max-width: 365px) {
  :root {
    --mobile-gutter: 15px;
  }
  .top-inner {
    gap: 8px;
  }
  .wordmark {
    font-size: 18px;
  }
  .top-inner nav {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.next-card {
  position: absolute;
  inset: 4px 3px 0;
  z-index: -1;
  border-radius: 17px;
  border: 1px solid #d4cede;
  background: white;
  overflow: hidden;
  transform: scale(0.97) rotate(1.4deg);
  pointer-events: none;
}
.next-card .deck-cover {
  opacity: 0.9;
}
.figmark {
  background: #242329;
}
.first-save .ico {
  width: 15px;
  height: 15px;
}
.sheet-foot .primary {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.sheet-foot .primary .ico {
  width: 16px;
  height: 16px;
}
.view-top > div:first-child {
  min-width: 0;
}
.view-top p {
  overflow-wrap: anywhere;
}

.recommendation-layout {
  display: grid;
  align-items: start;
  gap: clamp(16px, 2.5vw, 32px);
}
@media (min-width: 900px) {
  .recommendation-layout:not(.exhausted) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}
@media (max-width: 899px) {
  .recommendation-layout .deck-area {
    margin-inline: 0;
    background: #f0eeed;
  }
  .recommendation-layout .deck-cover {
    height: clamp(52px, 8svh, 76px);
  }
}
