@charset "utf-8";

:root {
  color-scheme: dark;


  --bg:        #1b1e24;
  --bg-sunk:   #16191f;
  --bg-lift:   #20242b;
  --bg-hover:  rgba(255, 255, 255, .05);

  --fg:        #f5f7fa;
  --fg-mid:    #bac2ce;
  --fg-dim:    #98a1af;
  --fg-faint:  #848e9c;

  --line:      rgba(255, 255, 255, .13);
  --line-soft: rgba(255, 255, 255, .085);
  --track:     rgba(255, 255, 255, .10);

  --blue:      #5c96ff;
  --blue-dim:  rgba(92, 150, 255, .14);


  --score-low:  #ef7369;
  --score-mid:  #e0ab48;
  --score-high: #4fb790;

  --danger:    #ffb3a8;
  --danger-bg: rgba(255, 92, 80, .09);
  --danger-ln: rgba(255, 92, 80, .30);

  --radius: 2px;

  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
               "Malgun Gothic", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.field { margin-bottom: 28px; }

.field__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--fg-dim);
}

.field__wrap { position: relative; }

.field__input {
  width: 100%;
  height: 42px;
  padding: 0 0 10px;
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  caret-color: var(--blue);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.field__input:hover { border-bottom-color: rgba(255, 255, 255, .2); }

.field__input:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 0 var(--blue);
}

.field__input--pw { padding-right: 34px; }

.field__input:-webkit-autofill,
.field__input:-webkit-autofill:hover,
.field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--blue);
  transition: background-color 9999s ease-in-out 0s;
}

.pw-toggle {
  position: absolute;
  right: 0;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--fg-dim);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .18s ease;
}

.pw-toggle:hover { color: var(--fg-mid); }
.pw-toggle:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }

.pw-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pw-toggle__off { display: none; }
.pw-toggle.is-on .pw-toggle__on  { display: none; }
.pw-toggle.is-on .pw-toggle__off { display: block; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-mid);
  cursor: pointer;
  user-select: none;
}

.check input {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}

.check input:hover { border-color: rgba(255, 255, 255, .38); }

.check input:checked { background: var(--blue); border-color: var(--blue); }

.check input:checked::after {
  content: "";
  position: absolute;
  left: 5.3px;
  top: 2px;
  width: 4px;
  height: 8.4px;
  border: solid var(--bg);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(43deg);
}

.check input:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }

.btn {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 50px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-indent: .16em;
  color: var(--bg);
  background: var(--fg);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .25s ease, transform .07s ease;
}

.btn:hover { background: #fff; box-shadow: 0 10px 30px -14px rgba(77, 141, 255, .55); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }

.btn--ghost {
  width: auto;
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-indent: 0;
  color: var(--fg-mid);
  background: transparent;
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  color: var(--fg);
  background: var(--bg-hover);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: none;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid var(--danger-ln);
  border-radius: var(--radius);
}

.alert__icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.w0{width:0%}.w1{width:1%}.w2{width:2%}.w3{width:3%}.w4{width:4%}.w5{width:5%}.w6{width:6%}.w7{width:7%}.w8{width:8%}.w9{width:9%}
.w10{width:10%}.w11{width:11%}.w12{width:12%}.w13{width:13%}.w14{width:14%}.w15{width:15%}.w16{width:16%}.w17{width:17%}.w18{width:18%}.w19{width:19%}
.w20{width:20%}.w21{width:21%}.w22{width:22%}.w23{width:23%}.w24{width:24%}.w25{width:25%}.w26{width:26%}.w27{width:27%}.w28{width:28%}.w29{width:29%}
.w30{width:30%}.w31{width:31%}.w32{width:32%}.w33{width:33%}.w34{width:34%}.w35{width:35%}.w36{width:36%}.w37{width:37%}.w38{width:38%}.w39{width:39%}
.w40{width:40%}.w41{width:41%}.w42{width:42%}.w43{width:43%}.w44{width:44%}.w45{width:45%}.w46{width:46%}.w47{width:47%}.w48{width:48%}.w49{width:49%}
.w50{width:50%}.w51{width:51%}.w52{width:52%}.w53{width:53%}.w54{width:54%}.w55{width:55%}.w56{width:56%}.w57{width:57%}.w58{width:58%}.w59{width:59%}
.w60{width:60%}.w61{width:61%}.w62{width:62%}.w63{width:63%}.w64{width:64%}.w65{width:65%}.w66{width:66%}.w67{width:67%}.w68{width:68%}.w69{width:69%}
.w70{width:70%}.w71{width:71%}.w72{width:72%}.w73{width:73%}.w74{width:74%}.w75{width:75%}.w76{width:76%}.w77{width:77%}.w78{width:78%}.w79{width:79%}
.w80{width:80%}.w81{width:81%}.w82{width:82%}.w83{width:83%}.w84{width:84%}.w85{width:85%}.w86{width:86%}.w87{width:87%}.w88{width:88%}.w89{width:89%}
.w90{width:90%}.w91{width:91%}.w92{width:92%}.w93{width:93%}.w94{width:94%}.w95{width:95%}.w96{width:96%}.w97{width:97%}.w98{width:98%}.w99{width:99%}
.w100{width:100%}

@media print {
  :root {
    color-scheme: light;

    --bg:        #fff;
    --bg-sunk:   #fff;
    --bg-lift:   #fff;
    --bg-hover:  transparent;

    --fg:        #000;
    --fg-mid:    #1a1a1a;
    --fg-dim:    #3a3a3a;
    --fg-faint:  #555;

    --line:      #999;
    --line-soft: #bbb;
    --track:     #ddd;

    --blue:      #0a3d91;

    --score-low:  #a12a1e;
    --score-mid:  #7a5300;
    --score-high: #14603f;
  }

  body { background: #fff; color: #000; }
  a { color: #000; }
}
