@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
/* reset.scss — 基本樣式清除與初始設定 */
/* 1. Reset 基本元素的 margin & padding */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* 2. 設定 HTML5 display block */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* 3. 基礎排版設定 */
body {
  line-height: 1.5;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111;
}

/* 4. 文字元素 */
a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

/* 5. 表單元素 reset */
input, textarea, select, button {
  font: inherit;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

button {
  cursor: pointer;
}

/* 6. 列表元素 */
ul, ol {
  list-style: none;
}

/* 7. table reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 8. box-sizing 一致化 */
*, *::before, *::after {
  box-sizing: inherit;
}

/* 9. scroll behavior 平滑 */
html {
  scroll-behavior: smooth;
}

/* 10. input reset  */
input,
select {
  vertical-align: middle;
  margin: 0px;
  border: none;
  outline: none;
}

input[type=text]::placeholder,
input[type=search]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder {
  font-weight: 400;
  font-size: 14px;
  color: var(--G500);
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

button,
button:hover,
button:active,
button:focus {
  outline: none;
  border: none;
  cursor: pointer;
}

/* 11. details */
details summary {
  cursor: pointer;
}

:root {
  --G00: #ffffff;
  --G30: #ffffff75;
  --G50: #fafafa;
  --G100: #f4f4f4;
  --G300: #e0e0e0;
  --G500: #c4c4c4;
  --G600: #969696;
  --G700: #696969;
  --G900: #292929;
  --PB01: #5a8bff;
  --PB02: #8dafff;
  --PB03: #1948b6;
  --PB04: #ebf4ff66;
  --CD: #17caaa;
  --CDL: #fffbe6;
  --H1: 200%; /*32px*/
  --H2: 175%; /*28px*/
  --H3: 125%; /*20px*/
  --H4: 115%; /*18.5*/
  --H5: 100%; /*16px*/
  --P1: 100%; /*16px*/
  --P2: 95%; /*15px*/
  --P3: 90%; /*14px*/
  --P4: 75%; /*12px*/
  --D1: 80%; /*13px*/
  --D2: 75%; /*12px*/
  --D3: 70%; /*11px*/
}

body * {
  color: var(--G700);
  font-size: 16px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.H1,
.H2,
.H3,
.H4,
.H5 {
  font-weight: 700;
}

.H1 {
  font-size: var(--H1);
}

.H2 {
  font-size: var(--H2);
}

.H3 {
  font-size: var(--H3);
}

.H4 {
  font-size: var(--H4);
}

.H5 {
  font-size: var(--H5);
}

.P1 {
  font-size: var(--P1);
}

.P2 {
  font-size: var(--P2);
}

.P3 {
  font-size: var(--P3);
}

.P4 {
  font-size: var(--P4);
}

.D1 {
  font-size: var(--D1);
}

.D2 {
  font-size: var(--D2);
}

.D3 {
  font-size: var(--D3);
}

/*text line limit setting*/
.text.line-limit {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  white-space: normal;
}

/*icon setting*/
.icon-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  transition: ease 0.35s;
}
.icon-wrap strong.num {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(18px, -4px);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: var(--P4);
  background-color: var(--SK02);
}
.icon-wrap i {
  display: block;
  width: 24px;
  height: 24px;
  mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--G700);
  transition: ease 0.35s;
}
.icon-wrap.menu i {
  -webkit-mask-image: url(../assets/icon/icon_menu.png);
  mask-image: url(../assets/icon/icon_menu.png);
}
.icon-wrap.close i, .icon-wrap.clear i {
  -webkit-mask-image: url(../assets/icon/icon_close.png);
  mask-image: url(../assets/icon/icon_close.png);
}
.icon-wrap.raback-arrow i {
  -webkit-mask-image: url(../assets/icon/icon_reback.png);
  mask-image: url(../assets/icon/icon_reback.png);
}
.icon-wrap.create i {
  -webkit-mask-image: url(../assets/icon/icon_creation.png);
  mask-image: url(../assets/icon/icon_creation.png);
}
.icon-wrap.history i {
  -webkit-mask-image: url(../assets/icons/icon_history_n.png);
  mask-image: url(../assets/icons/icon_history_n.png);
}
.icon-wrap.toggle-arrow-lr i {
  -webkit-mask-image: url(../assets/icon/icon_arrow_lr);
  mask-image: url(../assets/icon/icon_arrow_lr.png);
}
.icon-wrap.toggle-arrow-tb i {
  -webkit-mask-image: url(../assets/icon/icon_arrow_tb.png);
  mask-image: url(../assets/icon/icon_arrow_tb.png);
}
.icon-wrap.like i {
  -webkit-mask-image: url(../assets/icon/icon_like.png);
  mask-image: url(../assets/icon/icon_like.png);
}
.icon-wrap.unlike i {
  transform: rotate(180deg);
  -webkit-mask-image: url(../assets/icon/icon_like.png);
  mask-image: url(../assets/icon/icon_like.png);
}
.icon-wrap.copy i {
  -webkit-mask-image: url(../assets/icon/icon_copy.png);
  mask-image: url(../assets/icon/icon_copy.png);
}

button:has(> .icon-wrap),
label:has(> .icon-wrap) {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease 0.35s;
}
button:has(> .icon-wrap.btn-type),
label:has(> .icon-wrap.btn-type) {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease 0.35s;
}
button:has(> .icon-wrap.btn-type):hover .icon-wrap,
label:has(> .icon-wrap.btn-type):hover .icon-wrap {
  background-color: var(--PB01);
}
button:has(> .icon-wrap.btn-type):hover .icon-wrap i,
label:has(> .icon-wrap.btn-type):hover .icon-wrap i {
  background-color: var(--G00);
}

/*icon type button*/
.icon-wrap.btn-type {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.icon-wrap.btn-type:hover {
  border: 1px solid var(--PB01);
  background-color: var(--PB01);
}
.icon-wrap.btn-type:hover > i {
  background-color: var(--G00);
}

/*button setting*/
.btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 160px;
  height: 44px;
  padding: 0 24px;
  border-radius: 32px;
  cursor: pointer;
  transition: ease 0.35s;
}
.btn-wrap > input {
  display: none;
}
.btn-wrap a,
.btn-wrap span,
.btn-wrap p,
.btn-wrap strong {
  display: block;
  width: max-content;
  text-align: center;
}
.btn-wrap.type1 {
  background-color: var(--G900);
  border: 1px solid var(--G900);
}
.btn-wrap.type1 a,
.btn-wrap.type1 span,
.btn-wrap.type1 p,
.btn-wrap.type1 strong {
  color: var(--G00);
}
.btn-wrap.type1:hover, .btn-wrap.type1.hover {
  color: var(--G00);
  background-color: var(--PB01);
  border-color: var(--PB01);
}
.btn-wrap.type1.active, .btn-wrap.type1:active {
  color: var(--G00);
  background-color: var(--PB01);
  border-color: var(--PB01);
}
.btn-wrap.type1.disabled, .btn-wrap.type1:disabled, .btn-wrap.type1.disabled:hover, .btn-wrap.type1:disabled:hover {
  color: var(--G500);
  background-color: var(--G300);
  border-color: var(--G300);
  cursor: default;
}
.btn-wrap.type2 {
  background-color: var(--G00);
  border: 1px solid var(--G500);
}
.btn-wrap.type2 a,
.btn-wrap.type2 span,
.btn-wrap.type2 p,
.btn-wrap.type2 strong {
  color: var(--G700);
}
.btn-wrap.type2:hover, .btn-wrap.type2.hover, .btn-wrap.type2.active, .btn-wrap.type2:active {
  background-color: var(--PB01);
  border-color: var(--PB01);
}
.btn-wrap.type2:hover a,
.btn-wrap.type2:hover span,
.btn-wrap.type2:hover p,
.btn-wrap.type2:hover strong, .btn-wrap.type2.hover a,
.btn-wrap.type2.hover span,
.btn-wrap.type2.hover p,
.btn-wrap.type2.hover strong, .btn-wrap.type2.active a,
.btn-wrap.type2.active span,
.btn-wrap.type2.active p,
.btn-wrap.type2.active strong, .btn-wrap.type2:active a,
.btn-wrap.type2:active span,
.btn-wrap.type2:active p,
.btn-wrap.type2:active strong {
  color: var(--G00);
}
.btn-wrap.type2.disabled, .btn-wrap.type2:disabled, .btn-wrap.type2.disabled:hover, .btn-wrap.type2:disabled:hover {
  color: var(--G500);
  background-color: var(--G300);
  border-color: var(--G300);
  cursor: default;
}
.btn-wrap.type3-a, .btn-wrap.type3-b {
  gap: 4px;
  width: max-content;
  height: auto;
  padding: 0 8px 0 4px;
  border-radius: 8px;
  background-color: var(--G00);
  border: 1px solid var(--PB01);
  cursor: pointer;
}
.btn-wrap.type3-a .icon-wrap i, .btn-wrap.type3-b .icon-wrap i {
  background-color: var(--PB01);
}
.btn-wrap.type3-a a,
.btn-wrap.type3-a p,
.btn-wrap.type3-a strong, .btn-wrap.type3-b a,
.btn-wrap.type3-b p,
.btn-wrap.type3-b strong {
  list-style: 32px;
  color: var(--PB01);
  transition: ease 0.35s;
}
.btn-wrap.type3-a:hover, .btn-wrap.type3-b:hover {
  background-color: var(--PB02);
}
.btn-wrap.type3-a:hover .icon-wrap i, .btn-wrap.type3-b:hover .icon-wrap i {
  background-color: var(--G00);
}
.btn-wrap.type3-a:hover strong, .btn-wrap.type3-b:hover strong {
  color: var(--G00);
}
.btn-wrap.type3-b {
  border-color: var(--SK01);
}
.btn-wrap.type3-b .icon-wrap i {
  background-color: var(--SK01);
}
.btn-wrap.type3-b a,
.btn-wrap.type3-b p,
.btn-wrap.type3-b strong {
  color: var(--SK01);
}
.btn-wrap.type3-b:hover {
  background-color: var(--SK02);
}
.btn-wrap.type3-b:hover .icon-wrap i {
  background-color: var(--SK01);
}
.btn-wrap.type3-b:hover strong {
  color: var(--SK01);
}

/*input setting*/
.input-wrap {
  position: relative;
}
.input-wrap > label {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: max-content;
}
.input-wrap > label input[type=text],
.input-wrap > label input[type=password],
.input-wrap > label input[type=email] {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  line-height: 40px;
  background-color: var(--G00);
  border: 1px solid var(--G100);
  border-radius: 24px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15) inset;
  transition: ease 0.35s;
}
.input-wrap > label:has(input[type=text]:focus) input[type=text],
.input-wrap > label:has(input[type=text]:focus) input[type=password],
.input-wrap > label:has(input[type=text]:focus) input[type=email], .input-wrap > label:has(input[type=password]:focus) input[type=text],
.input-wrap > label:has(input[type=password]:focus) input[type=password],
.input-wrap > label:has(input[type=password]:focus) input[type=email], .input-wrap > label:has(input[type=email]:focus) input[type=text],
.input-wrap > label:has(input[type=email]:focus) input[type=password],
.input-wrap > label:has(input[type=email]:focus) input[type=email] {
  border-color: var(--PB01);
  outline: 1px solid var(--PB01);
}

/*checkbox setting*/
.checkbox-wrap {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.checkbox-wrap input[type=checkbox] {
  display: none;
}
.checkbox-wrap span {
  position: absolute;
  left: 0;
  top: 1px;
  display: block;
  width: 20px;
  height: 20px;
  mask-image: url(../assets/icons/icon_ckbox_arrow.png);
  mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--G00);
  transition: ease 0.35s;
}
.checkbox-wrap p {
  display: flex;
  height: 20px;
  line-height: 20px;
  color: var(--G700);
}
.checkbox-wrap p::before {
  content: "";
  flex: 0 0 auto;
  display: inline-block;
  line-height: 20px;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background-color: var(--G00);
  border: 2px solid var(--PB01);
  border-radius: 4px;
  box-sizing: border-box;
}
.checkbox-wrap input[type=checkbox]:checked ~ span {
  opacity: 1;
}
.checkbox-wrap input[type=checkbox]:checked ~ p::before {
  background-color: var(--PB01);
}

/*radio setting*/
.radio-wrap {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radio-wrap input[type=radio] {
  display: none;
}
.radio-wrap span {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 20px;
  height: 20px;
  mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--G00);
  transition: ease 0.35s;
}
.radio-wrap p::before {
  line-height: 24px;
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background-color: var(--G00);
  border: 2px solid var(--PB01);
  border-radius: 50%;
  box-sizing: border-box;
}
.radio-wrap input[type=radio]:checked ~ span {
  opacity: 1;
}
.radio-wrap input[type=radio]:checked ~ p::before {
  background-color: var(--PB01);
}

/*switch setting*/
.switch-wrap {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 16px;
  padding: 2px;
  border-radius: 8px;
  background-color: var(--G100);
  box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
  transition: ease 0.35s;
  cursor: pointer;
}
.switch-wrap input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.switch-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1px;
  transform: translateY(-50%);
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--G00);
  transition: ease 0.35s;
}
.switch-wrap:has(input[type=checkbox]:checked) {
  background-color: var(--PB01);
}
.switch-wrap:has(input[type=checkbox]:checked)::before {
  left: 18px;
  background-color: var(--G00);
}

/*select setting*/
.select-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.select-wrap p.tab-value {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 200px;
  height: 28px;
  padding: 0 28px 0 16px;
  line-height: 28px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--G900);
  background-color: var(--G00);
  border: 1px solid var(--G300);
  border-radius: 8px;
}
.select-wrap p.tab-value input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}
.select-wrap p.tab-value::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: block;
  width: 24px;
  height: 24px;
  mask-image: url(../assets/icons/icon_select_arrow.png);
  mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--G900);
  transition: ease 0.35s;
}
.select-wrap ul {
  position: relative;
  transform: translateY(-1px);
  display: flex;
  flex-direction: column;
  max-width: 200px;
  height: max-content;
  padding: 0;
  overflow: hidden;
  background-color: var(--G00);
  border: 0 solid transparent;
}
.select-wrap ul li {
  position: relative;
  display: flex;
  align-items: center;
  height: 0;
  background-color: var(--G00);
  border-radius: 4px;
  overflow: hidden;
}
.select-wrap ul li label {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 16px;
}
.select-wrap ul li label input[type=checkbox],
.select-wrap ul li label input[type=radio] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.select-wrap ul li label span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-wrap ul li:hover {
  background-color: var(--PB01);
}
.select-wrap ul li:hover label p,
.select-wrap ul li:hover label span {
  color: var(--G00);
}
.select-wrap ul li:has(input[type=checkbox]:checked) label p,
.select-wrap ul li:has(input[type=checkbox]:checked) label span, .select-wrap ul li:has(input[type=radio]:checked) label p,
.select-wrap ul li:has(input[type=radio]:checked) label span {
  color: var(--G300);
}
.select-wrap ul li:has(input[type=checkbox]:checked):hover, .select-wrap ul li:has(input[type=radio]:checked):hover {
  background-color: transparent;
}
.select-wrap p.tab-value:has(input[type=checkbox]:checked),
.select-wrap p.tab-value:has(input[type=radio]:checked),
.select-wrap p.tab-value:has(input[type=text]:focus),
.select-wrap p.tab-value:has(input[type=text].focus) {
  border: 2px solid var(--PB01);
  border-bottom: 0 solid var(--G300);
  border-radius: 8px 8px 0px 0px;
}
.select-wrap p.tab-value:has(input[type=checkbox]:checked)::after,
.select-wrap p.tab-value:has(input[type=radio]:checked)::after,
.select-wrap p.tab-value:has(input[type=text]:focus)::after,
.select-wrap p.tab-value:has(input[type=text].focus)::after {
  transform: translateY(-50%) rotate(180deg);
}
.select-wrap p.tab-value:has(input[type=checkbox]:checked) ~ ul,
.select-wrap p.tab-value:has(input[type=radio]:checked) ~ ul,
.select-wrap p.tab-value:has(input[type=text]:focus) ~ ul,
.select-wrap p.tab-value:has(input[type=text].focus) ~ ul {
  padding: 8px 8px 8px;
  border: 2px solid var(--PB01);
  border-radius: 0 0 8px 8px;
  border-top: 0;
}
.select-wrap p.tab-value:has(input[type=checkbox]:checked) ~ ul::before,
.select-wrap p.tab-value:has(input[type=radio]:checked) ~ ul::before,
.select-wrap p.tab-value:has(input[type=text]:focus) ~ ul::before,
.select-wrap p.tab-value:has(input[type=text].focus) ~ ul::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background-color: var(--G300);
}
.select-wrap p.tab-value:has(input[type=checkbox]:checked) ~ ul li,
.select-wrap p.tab-value:has(input[type=radio]:checked) ~ ul li,
.select-wrap p.tab-value:has(input[type=text]:focus) ~ ul li,
.select-wrap p.tab-value:has(input[type=text].focus) ~ ul li {
  width: 100%;
  height: 32px;
}
.select-wrap.type-large p.tab-value {
  width: 100%;
  max-width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 24px;
}
.select-wrap.disabled {
  pointer-events: none;
}
.select-wrap.disabled p.tab-value::after {
  background-color: var(--G300);
}

/*layout setting*/
.area-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 8px 0 16px;
  border-bottom: 1px solid var(--G500);
}
.area-title .icon-wrap {
  cursor: auto;
}
.area-title .icon-wrap i {
  background-color: var(--G900);
}
.area-title .icon-wrap:hover i {
  background-color: var(--G900);
}
.area-title h2,
.area-title h3,
.area-title h4,
.area-title h5 {
  flex: 1;
  line-height: 24px;
  border-right: 1px solid var(--G500);
}

/*hide*/
.hide {
  display: none !important;
}

h1 {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--G900);
}

.console-switch {
  display: none;
}

.popup-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.35);
}
.popup-wrap .popup-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 768px;
  height: max-content;
  padding: 16px 16px 24px;
  border-radius: 8px;
  background-color: var(--G50);
}
.popup-wrap .popup-content .popup-header {
  width: 100%;
  margin-bottom: 16px;
}
.popup-wrap .popup-content .popup-header h3 {
  text-align: center;
}
.popup-wrap .popup-content .popup-header .icon-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.popup-wrap .popup-content .popup-header .icon-wrap:hover i {
  background-color: var(--PB01);
}
.popup-wrap .popup-content .popup-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 32px;
}
.popup-wrap .popup-content .popup-footer button {
  flex: 1;
  padding: 8px 16px;
  border-radius: 8px;
}
.popup-wrap .popup-content .popup-footer button.cancel:hover {
  color: var(--PB01);
  background-color: transparent;
  border-color: var(--PB02);
}
.popup-wrap .popup-content .popup-footer button.confirm {
  color: var(--G50);
  background-color: var(--PB01);
  border-color: transparent;
}
.popup-wrap .popup-content .popup-footer button.confirm:hover {
  background-color: var(--PB02);
}

.feedback-wrap {
  position: fixed;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  height: max-content;
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.1);
  background-color: var(--G50);
  overflow: hidden;
}
.feedback-wrap .feedback-content {
  padding: 0 20px 0 16px;
}
.feedback-wrap .feedback-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 6px;
  height: 100%;
  background-color: var(--CD);
}
.feedback-wrap .feedback-content .feedback-msg {
  font-size: 0.925rem;
  font-weight: 500;
}

@media screen and (min-width: 1024px) {
  .feedback-wrap {
    left: 32px;
    bottom: 32px;
    transform: unset;
  }
}
header label[for=asideMenu] {
  position: absolute;
  top: 16px;
  right: 16px;
  display: none;
  cursor: pointer;
}
header label[for=asideMenu] .icon-wrap i {
  background-color: var(--G900);
}

body:has(main.index) header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 55dvh;
  overflow: hidden;
}
body:has(main.index) header .title-text {
  position: absolute;
  transform: translateY(16px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  margin: 0 auto;
}
body:has(main.index) header .title-text h1 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
body:has(main.index) header .title-text p {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  color: var(--G00);
  text-align: center;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background-color: rgba(52, 97, 149, 0.8156862745);
}
body:has(main.index) header .title-text p br {
  display: none;
}
body:has(main.index) header .main-img {
  position: absolute;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100dvw;
  aspect-ratio: 1/1.25;
}
body:has(main.index) header .main-img a {
  position: absolute;
  transform: translateY(-50%);
  z-index: 2;
  width: max-content;
  max-width: 220px;
  padding: 16px 24px;
  scale: 1.45;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.2));
}
body:has(main.index) header .main-img img {
  object-position: center;
  object-fit: cover;
}
body:has(main.index) header .main-img img.logo {
  width: 100%;
  max-width: 220px;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.2));
}
body:has(main.index) header .main-img img.logo-2 {
  display: none;
}
body:has(main.index) header .main-img img.hero-img-1 {
  position: absolute;
  transform: translate(320px, 140px);
  z-index: 1;
  width: 920px;
}
body:has(main.index) header .main-img img.hero-bg {
  position: absolute;
  height: 100dvh;
}
body:has(main.index) header .btn-start {
  transition: ease 0.35s;
}
body:has(main.index) header .btn-start a {
  position: relative;
  transform: translateY(120px);
  z-index: 1;
  display: flex;
  align-items: center;
  width: max-content;
  height: 56px;
  padding: 0 24px;
  color: var(--G00);
  letter-spacing: 1px;
  font-size: 1.25rem;
  font-weight: 550;
  border: 1px solid #649fe2;
  border-radius: 32px;
  background-color: rgba(52, 97, 149, 0.8156862745);
  box-shadow: 0 0 6px 5px rgba(50, 87, 141, 0.25);
  transition: ease 0.35s;
}
body:has(main.index) header .btn-start:hover {
  filter: brightness(1.15);
}
body:has(main.index) header .btn-start:hover a {
  color: var(--G00);
}
@media screen and (min-width: 768px) {
  body:has(main.index) header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
  }
  body:has(main.index) header .title-text {
    max-width: 400px;
  }
  body:has(main.index) header .title-text p {
    transform: translate(128px, -40px);
    width: 100%;
    padding: 0;
    color: #346195;
    background-color: transparent;
    text-align: left;
    font-size: 2rem;
  }
  body:has(main.index) header .title-text p br {
    display: inline-block;
  }
  body:has(main.index) header .main-img {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    outline: 1px solid var(--G00);
    border-radius: 24px;
    box-shadow: 0 0 10px 1px rgba(165, 165, 165, 0.15);
    overflow: hidden;
  }
  body:has(main.index) header .main-img img.logo {
    top: 50%;
    left: unset;
    transform: translate(-128px, -50%);
    scale: 1.75;
  }
  body:has(main.index) header .main-img img.hero-img-1 {
    top: unset;
    right: unset;
    transform: translate(40%, 21%);
    width: 135%;
  }
  body:has(main.index) header .btn-start {
    position: absolute;
  }
}

body:not(:has(main.index)) header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  height: 80px;
  padding: 0 16px;
  background-color: var(--G00);
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.15);
}
body:not(:has(main.index)) header .main-img {
  display: flex;
  align-items: center;
  height: 48px;
}
body:not(:has(main.index)) header .main-img img.logo {
  display: none;
}
body:not(:has(main.index)) header .main-img img.logo-2 {
  transform: translateX(14px);
  max-width: 240px;
  object-fit: contain;
}
body:not(:has(main.index)) header .main-img img.hero-img-1, body:not(:has(main.index)) header .main-img img.hero-bg {
  display: none;
}
body:not(:has(main.index)) header .title-text {
  position: relative;
}
body:not(:has(main.index)) header .title-text p {
  font-size: 0.875rem;
  letter-spacing: 1.5px;
}
body:not(:has(main.index)) header .title-text p br {
  display: none;
}
body:not(:has(main.index)) header .btn-start {
  display: none;
}
body:not(:has(main.index)) header label[for=asideMenu] {
  display: flex;
}
@media screen and (min-width: 768px) {
  body:not(:has(main.index)) header {
    flex-direction: row;
    gap: 32px;
    height: 64px;
    padding: 0 32px;
  }
  body:not(:has(main.index)) header .title-text p::before {
    content: "";
    position: absolute;
    left: 0;
    transform: translateX(-16px);
    width: 1px;
    height: 24px;
    background-color: var(--G300);
  }
}
@media screen and (min-width: 1024px) and (orientation: landscape) {
  body:not(:has(main.index)) header label[for=asideMenu] {
    display: none;
  }
}
@media screen and (min-width: 1200px) {
  body:not(:has(main.index)) header {
    padding: 0 96px;
  }
}

footer {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 8px 16px;
  text-align: center;
}

body {
  background: linear-gradient(rgba(235, 235, 238, 0.85), rgba(238, 242, 253, 0.85)), url("../assets/images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body main.index {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 45dvh;
  padding: 32px 0;
}
body main.index::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 16px 1px rgba(165, 165, 165, 0.15);
}
body main.index .chapter-option {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding: 0 16px;
}
body main.index .chapter-option h2 {
  position: relative;
  flex: 0 1 min-content;
  display: block;
  width: max-content;
  min-width: 296px;
  max-width: calc(100dvw - 32px);
  margin: 48px auto 16px;
  padding: 0 12px;
  color: #346195;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
}
body main.index .chapter-option h2::before, body main.index .chapter-option h2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  width: 1px;
  height: 75%;
  background-color: #346195;
}
body main.index .chapter-option h2::after {
  right: 0;
  left: unset;
}
body main.index .chapter-option div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 80%;
  margin: 0 auto;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 0 10px 1px rgba(165, 165, 165, 0.15);
  background-color: #fffcf7;
}
body main.index .chapter-option div h3 {
  color: #346195;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
}
body main.index .chapter-option div p {
  max-width: 320px;
  color: #525b66;
  text-align: center;
  letter-spacing: 2px;
}
body main.index .chapter-option.chapter__1 div {
  align-items: center;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background-color: var(--G100);
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap i {
  width: 40px;
  height: 40px;
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: var(--G700);
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.structure {
  background-color: #b8ddf3;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.structure i {
  mask-size: 40px;
  mask-image: url(../assets/icon/icon_structure.png);
  background-color: #446a96;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.dimension {
  background-color: #faebd7;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.dimension i {
  mask-size: 48px;
  mask-image: url(../assets/icon/icon_dimension.png);
  background-color: #e06b4e;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.filter {
  background-color: #b8f3d3;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.filter i {
  mask-size: 40px;
  mask-image: url(../assets/icon/icon_filter.png);
  background-color: #2fa162;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.draft {
  background-color: #f0d9fa;
}
body main.index .chapter-option.chapter__1 div strong.icon-wrap.draft i {
  mask-size: 40px;
  mask-image: url(../assets/icon/icon_draft.png);
  background-color: #8656c4;
}
body main.index .chapter-option.chapter__2 div {
  padding-left: 112px;
  overflow: hidden;
}
body main.index .chapter-option.chapter__2 div strong {
  position: absolute;
  top: 0px;
  left: 12px;
  z-index: 1;
  color: #7891b3;
  letter-spacing: -4px;
  font-style: italic;
  font-weight: 700;
  font-size: 5rem;
  opacity: 0.4;
}
body main.index .chapter-option.chapter__2 div h3,
body main.index .chapter-option.chapter__2 div p {
  position: relative;
  z-index: 1;
  text-align: left;
}
body main.index .chapter-option.chapter__2 div::before {
  content: "";
  position: absolute;
  left: 0;
  transform: translateX(-50%) rotate(-75deg);
  z-index: 0;
  width: 80%;
  height: 85%;
  background-color: #f5f9ff;
}
@media screen and (min-width: 769px) {
  body main.index {
    padding: 32px 0 96px;
  }
  body main.index .chapter-option {
    position: relative;
    display: grid;
    padding: 128px 64px 64px;
  }
  body main.index .chapter-option h2 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    margin: 24px 0;
    padding: 0 24px;
  }
  body main.index .chapter-option div {
    flex: unset;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
  }
  body main.index .chapter-option.chapter__1 {
    grid-template-columns: repeat(2, minmax(128px, 1fr));
  }
  body main.index .chapter-option.chapter__1 h2 {
    top: 24px;
  }
  body main.index .chapter-option.chapter__1 div p {
    min-height: 72px;
  }
  body main.index .chapter-option.chapter__2 {
    display: flex;
    padding: 112px 64px 64px;
  }
  body main.index .chapter-option.chapter__2 div {
    max-width: 640px;
    margin: 0 auto;
    padding-left: 128px;
  }
}
@media screen and (min-width: 1280px) {
  body main.index .chapter-option {
    max-width: 1440px;
  }
  body main.index .chapter-option div p {
    min-height: 72px;
  }
  body main.index .chapter-option.chapter__1 {
    grid-template-columns: repeat(4, minmax(128px, 1fr));
  }
  body main.index .chapter-option.chapter__2 {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  body main.index .chapter-option.chapter__2 div {
    flex: 1 1 33.333%;
    width: 33.333%;
    margin: 0;
  }
}

body main.main {
  position: relative;
  display: flex;
  width: 100dvw;
  min-height: calc(100dvh - 88px - 32px);
}
body main.main aside {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(100%);
  z-index: 6;
  width: 100dvw;
  height: 100dvh;
  transition: transform ease-in-out 0.2s;
}
body main.main aside .aside-view {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100dvw;
  height: 100dvh;
  max-height: 85dvh;
  margin-top: 15dvh;
  border-radius: 16px 16px 0 0;
  padding: 24px 16px;
  box-shadow: 2px 0 28px 2px rgba(0, 0, 0, 0.15);
}
body main.main aside .aside-view > div {
  position: relative;
  z-index: 2;
}
body main.main aside .aside-view > div h3 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: max-content;
  width: 104%;
  height: 32px;
  padding: 0 8px 0 0;
  color: var(--G900);
  background-color: var(--G00);
  letter-spacing: 2px;
  font-size: 0.925rem;
  font-weight: 700;
}
body main.main aside .aside-view > div.user-wrap {
  position: relative;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 6px;
}
body main.main aside .aside-view > div.user-wrap label[for=userViewSwitch] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: pointer;
}
body main.main aside .aside-view > div.user-wrap h3 {
  display: none;
}
body main.main aside .aside-view > div.user-wrap .user {
  display: flex;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 0;
  border-radius: 8px;
  border: 1px solid transparent;
}
body main.main aside .aside-view > div.user-wrap .user picture {
  display: block;
  width: 80px;
  height: 80px;
  margin-top: -48px;
  margin-left: 12px;
  border: 1px solid var(--G300);
  outline: 10px solid var(--G00);
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--G100);
  transition: all ease 0.35s;
  cursor: pointer;
}
body main.main aside .aside-view > div.user-wrap .user picture img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body main.main aside .aside-view > div.user-wrap .user .info {
  display: flex;
  flex-direction: column;
}
body main.main aside .aside-view > div.user-wrap .user .info h4.name {
  color: var(--G900);
  transition: color ease 0.35s;
}
body main.main aside .aside-view > div.user-wrap .user .info .point {
  color: var(--G500);
  font-size: 0.825rem;
}
body main.main aside .aside-view > div.user-wrap .user .info .point::after {
  content: "點";
  margin: 0 0 0 4px;
}
body main.main aside .aside-view > div.user-wrap:hover .user .info h4.name {
  color: var(--PB01);
}
body main.main aside .aside-view > div.history-wrap {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  padding: 0 24px 32px 0;
  background-color: var(--G00);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
body main.main aside .aside-view > div.history-wrap h3 {
  position: sticky;
  top: 0;
  transform: translateY(-8px);
  flex: 0 1 48px;
  min-height: 48px;
  background-color: var(--G00);
}
body main.main aside .aside-view > div.history-wrap .list-option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: max-content;
  padding: 0 0 0 4px;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.15);
  background: var(--G30);
  overflow: hidden;
  transition: all ease 0.35s;
  cursor: pointer;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item:first-of-type {
  margin-top: 8px;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item h4 {
  position: relative;
  z-index: 1;
  width: calc(100% - 24px);
  height: 24px;
  color: var(--G900);
  font-size: 0.925rem;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .time-wrap {
  position: relative;
  z-index: 1;
  width: calc(100% - 24px);
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .time-wrap span {
  display: inline-block;
  color: var(--G500);
  font-size: 0.825rem;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .time-wrap span.msg::after {
  content: ",";
  display: inline-block;
  margin: 0 0 0 3px;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .time-wrap span.hours::after {
  content: ":";
  display: inline-block;
  margin: 0 -2px 0 2px;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .icon-wrap {
  position: absolute;
  right: 8px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 16px;
  background-color: var(--G100);
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .icon-wrap i {
  mask-size: 18px;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .icon-wrap:hover {
  background-color: var(--CD);
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item .icon-wrap:hover i {
  background-color: var(--G00);
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(245, 245, 247, 0.85), rgba(241, 243, 247, 0.75));
  box-shadow: inset 1px 1px 3px 1px rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: all ease 0.5s;
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item:hover {
  border: 1px solid var(--PB02);
}
body main.main aside .aside-view > div.history-wrap .list-option .history-item:hover::after {
  opacity: 1;
}
body main.main aside .aside-view::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
  background-color: rgb(255, 255, 255);
  backdrop-filter: blur(6px);
}
body main.main aside label[for=asideMenu] {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 100dvw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
body main.main .content-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 24px auto 0;
  padding: 24px 0;
  border-radius: 16px;
  background-color: var(--G00);
  container: main-content/inline-size;
}
body main.main .content-wrap .step-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: calc(100% - 72px);
  margin: 0 auto 24px;
  padding: 16px;
}
body main.main .content-wrap .step-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  transform: translateY(8px);
  width: 100%;
  height: 1px;
  background-color: var(--G100);
}
body main.main .content-wrap .step-wrap div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 6px;
  width: max-content;
}
body main.main .content-wrap .step-wrap div span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 20px;
  width: 20px;
  height: 20px;
  color: var(--G00);
  border-radius: 24px;
  background-color: var(--G300);
  font-size: 0.825rem;
}
body main.main .content-wrap .step-wrap div strong {
  position: relative;
  width: max-content;
  flex: 1 1 100%;
  letter-spacing: 2px;
}
@keyframes activeShow {
  0% {
    width: 0px;
    background-color: transparent;
  }
  15% {
    width: 8px;
    background-color: var(--PB01);
  }
  50% {
    width: 64px;
    background-color: var(--PB01);
  }
  70% {
    width: 64px;
    background-color: var(--PB01);
  }
  100% {
    width: 48px;
    background-color: var(--PB01);
  }
}
body main.main .content-wrap .step-wrap div strong::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 8px);
  width: 0;
  height: 2px;
  border-radius: 3px;
  background-color: transparent;
}
body main.main .content-wrap .step-wrap div::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(12px, -4px);
  width: 1px;
  height: 16px;
  background-color: var(--G300);
}
body main.main .content-wrap .step-wrap div:last-child::after {
  display: none;
}
body main.main .content-wrap .fuction-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 16px auto 0;
  padding: 12px 16px;
  background-color: var(--G00);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
}
body main.main .content-wrap .fuction-wrap a,
body main.main .content-wrap .fuction-wrap button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 8px 0 16px;
  border: 1px solid var(--G100);
  border-radius: 8px;
}
body main.main .content-wrap .fuction-wrap a strong,
body main.main .content-wrap .fuction-wrap button strong {
  width: max-content;
  height: max-content;
  color: var(--G900);
  letter-spacing: 1px;
  font-size: 0.825rem;
}
body main.main .content-wrap .fuction-wrap a .icon-wrap i,
body main.main .content-wrap .fuction-wrap button .icon-wrap i {
  mask-size: 20px;
  background-color: var(--G900);
}
body main.main .content-wrap .fuction-wrap a.prve,
body main.main .content-wrap .fuction-wrap button.prve {
  margin: 0 auto 0 0;
  padding: 0 24px 0 8px;
}
body main.main .content-wrap .fuction-wrap a.prve .icon-wrap i,
body main.main .content-wrap .fuction-wrap button.prve .icon-wrap i {
  transform: rotate(0deg);
}
body main.main .content-wrap .fuction-wrap a.next, body main.main .content-wrap .fuction-wrap a.pay, body main.main .content-wrap .fuction-wrap a.create-new,
body main.main .content-wrap .fuction-wrap button.next,
body main.main .content-wrap .fuction-wrap button.pay,
body main.main .content-wrap .fuction-wrap button.create-new {
  margin: 0 0 0 auto;
  border-color: var(--PB01);
  background-color: var(--PB01);
}
body main.main .content-wrap .fuction-wrap a.next strong, body main.main .content-wrap .fuction-wrap a.pay strong, body main.main .content-wrap .fuction-wrap a.create-new strong,
body main.main .content-wrap .fuction-wrap button.next strong,
body main.main .content-wrap .fuction-wrap button.pay strong,
body main.main .content-wrap .fuction-wrap button.create-new strong {
  color: var(--G00);
}
body main.main .content-wrap .fuction-wrap a.next .icon-wrap i, body main.main .content-wrap .fuction-wrap a.pay .icon-wrap i, body main.main .content-wrap .fuction-wrap a.create-new .icon-wrap i,
body main.main .content-wrap .fuction-wrap button.next .icon-wrap i,
body main.main .content-wrap .fuction-wrap button.pay .icon-wrap i,
body main.main .content-wrap .fuction-wrap button.create-new .icon-wrap i {
  transform: rotate(180deg);
  background-color: var(--G00);
}
body main.main .content-wrap .fuction-wrap a.next:hover, body main.main .content-wrap .fuction-wrap a.pay:hover, body main.main .content-wrap .fuction-wrap a.create-new:hover,
body main.main .content-wrap .fuction-wrap button.next:hover,
body main.main .content-wrap .fuction-wrap button.pay:hover,
body main.main .content-wrap .fuction-wrap button.create-new:hover {
  border-color: var(--PB02);
  background-color: var(--PB02);
}
body main.main .content-wrap .fuction-wrap a.pay,
body main.main .content-wrap .fuction-wrap button.pay {
  display: none;
}
body main.main .content-wrap .fuction-wrap a.pay strong b,
body main.main .content-wrap .fuction-wrap button.pay strong b {
  color: var(--G00);
  letter-spacing: 1px;
  font-size: 0.825rem;
}
body main.main .content-wrap .fuction-wrap a.redo-generate,
body main.main .content-wrap .fuction-wrap button.redo-generate {
  display: none;
}
body main.main .content-wrap .fuction-wrap a.redo-generate strong,
body main.main .content-wrap .fuction-wrap button.redo-generate strong {
  position: relative;
  padding: 0 40px 0 0;
}
body main.main .content-wrap .fuction-wrap a.redo-generate strong::after,
body main.main .content-wrap .fuction-wrap button.redo-generate strong::after {
  content: "9折";
  position: absolute;
  transform: translateY(-2px) rotate(6deg);
  width: max-content;
  margin: 0 0 0 4px;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--G00);
  background-color: var(--CD);
}
body main.main .content-wrap .fuction-wrap a.create-new,
body main.main .content-wrap .fuction-wrap button.create-new {
  display: none;
}
body main.main .content-wrap .fuction-wrap a:hover,
body main.main .content-wrap .fuction-wrap button:hover {
  background-color: var(--PB01);
  border-color: var(--PB01);
}
body main.main .content-wrap .fuction-wrap a:hover strong,
body main.main .content-wrap .fuction-wrap button:hover strong {
  color: var(--G00);
}
body main.main .content-wrap .fuction-wrap a:hover .icon-wrap i,
body main.main .content-wrap .fuction-wrap button:hover .icon-wrap i {
  background-color: var(--G00);
}
body main.main .content-wrap .fuction-wrap a:hover.redo-generate,
body main.main .content-wrap .fuction-wrap button:hover.redo-generate {
  background-color: var(--PB02);
  border-color: var(--PB02);
}
body main.main .content-wrap .fuction-wrap a:hover.redo-generate strong::after,
body main.main .content-wrap .fuction-wrap button:hover.redo-generate strong::after {
  color: var(--PB01);
  background-color: var(--G00);
}
body main.main .content-wrap .fuction-wrap a:focus-visible,
body main.main .content-wrap .fuction-wrap button:focus-visible {
  box-shadow: 0 0 0 3px var(--PB02);
}
body main.main[data-step=upload] {
  max-height: calc(100dvh - 80px - 24px);
}
body main.main[data-step=upload] .content-wrap .step-wrap div:nth-of-type(1) span {
  background-color: var(--PB01);
}
body main.main[data-step=upload] .content-wrap .step-wrap div:nth-of-type(1) strong {
  color: var(--PB01);
}
body main.main[data-step=upload] .content-wrap .step-wrap div:nth-of-type(1) strong::after {
  animation: activeShow 1.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
body main.main[data-step=upload] .content-wrap .upload-wrap {
  position: relative;
  z-index: 2;
  width: calc(100% - 64px);
  margin: 0 auto;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu {
  position: relative;
  display: flex;
  gap: 8px;
  width: 100%;
  margin: 0 0 16px;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu summary {
  height: max-content;
  list-style: none;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu summary h2 {
  height: 24px;
  color: var(--G900);
  letter-spacing: 1.5px;
  font-size: 0.925rem;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu select,
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu ul {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 40px);
  z-index: 4;
  width: calc(100% - 64px);
  height: max-content;
  max-height: 50dvh;
  padding: 8px;
  background-color: var(--G00);
  border-radius: 8px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  cursor: pointer;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu select li,
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu ul li {
  width: 100%;
  height: 40px;
  margin: 0 0 8px;
  padding: 0 12px;
  line-height: 40px;
  border-radius: 6px;
  background-color: transparent;
  transition: background-color ease 0.35s;
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu select li:hover,
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu ul li:hover {
  background-color: var(--G100);
}
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu select li:last-of-type,
body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu ul li:last-of-type {
  margin: 0;
}
body main.main[data-step=upload] .content-wrap div#uppy {
  position: relative;
  z-index: 1;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-inner {
  width: 100%;
  max-width: unset;
  height: 50dvh;
  min-height: 50dvh;
  max-height: 480px;
  margin: 0 auto;
  background-color: var(--G50);
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-inner:hover {
  outline: 2px dashed var(--PB02);
  background-color: #f0f8ff;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-AddFiles-title {
  font-size: 1rem;
  margin: auto;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-AddFiles-title button {
  color: var(--PB01);
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-AddFiles-list {
  flex: 0 1 24px;
  margin: 0;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-AddFiles-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 16px));
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: max-content;
  text-align: center;
  color: var(--G500);
  font-size: 0.875rem;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-Dashboard-AddFiles-info {
  visibility: hidden;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  color: var(--G900);
  border-radius: 24px;
  border: 1px solid transparent;
  transition: all ease 0.35s;
}
body main.main[data-step=upload] .content-wrap div#uppy .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover {
  color: var(--G00);
  background-color: var(--PB01);
  border: 1px solid var(--PB01);
}
body main.main[data-step=upload] .content-wrap div#uppy:has(.uppy-StatusBar[aria-hidden=false]) .uppy-Dashboard-AddFiles-msg {
  display: none;
}
body main.main[data-step=upload] .content-wrap .fuction-wrap a.prve,
body main.main[data-step=upload] .content-wrap .fuction-wrap button.prve {
  display: none;
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(1) span, body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(2) span {
  background-color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(1) strong, body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(2) strong {
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(1) span {
  background-color: #b973e9;
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(1) strong {
  color: #b973e9;
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(1)::after {
  background-color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .step-wrap div:nth-of-type(2) strong::after {
  animation: activeShow 1.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
body main.main[data-step=setting] .content-wrap .setting-view {
  flex: 1 1 100%;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option {
  position: relative;
  width: calc(100% - 32px);
  margin: 0 auto 16px;
  padding: 16px 16px 40px;
  border: 1px solid var(--G50);
  border-radius: 12px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option h3 {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: max-content;
  margin: 0 0 12px;
  padding: 0 8px 0 0;
  color: var(--G900);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: var(--G00);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option > span {
  display: inline-block;
  margin: 0 4px;
  vertical-align: text-top;
  font-size: 0.825rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 56px;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid var(--G300);
  background-color: var(--G00);
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button strong {
  font-size: 0.925rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button span {
  width: max-content;
  color: var(--G600);
  font-size: 0.775rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button:hover {
  border: 1px solid var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button.active {
  border: 1px solid var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button:has(input:focus-visible) {
  outline: 2px solid var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] p.msg-text {
  position: relative;
  color: var(--G600);
  letter-spacing: 1px;
  font-size: 0.825rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] p.msg-text span {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] p.msg-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed var(--G300);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-top: 96px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .tool-bar {
  position: absolute;
  top: 48px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .tool-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-24px);
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed var(--G500);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .tool-bar p .count {
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .tool-bar button {
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--G300);
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: start;
  width: 100%;
  margin: 0;
  padding: 24px 0 0 16px;
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 88%;
  border-radius: 3px;
  background-color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title .main-title {
  position: absolute;
  top: 0;
  z-index: 1;
  width: max-content;
  color: var(--G900);
  font-weight: 700;
  font-size: 1rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title .main-title span.count {
  width: max-content;
  padding: 1px 4px;
  border-radius: 12px;
  color: var(--PB01);
  font-size: 0.775rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title .main-title span.count::before {
  content: "(";
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title .main-title span.count::after {
  content: ")";
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title .sub-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  color: var(--G600);
  font-size: 0.775rem;
  line-height: 24px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title label {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(20px);
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title label input[name=theory_toggle] {
  position: absolute;
  width: 32px;
  height: 32px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-title:has(label:hover) .icon-wrap i {
  background-color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  height: 100%;
  max-height: 0px;
  padding: 0;
  overflow: hidden;
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed var(--G500);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option {
  position: relative;
  width: 100%;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--G500);
  background-color: var(--G00);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option h5.mainname {
  letter-spacing: 1.5px;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option p.subname {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--PB01);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option p.text {
  letter-spacing: 1.2px;
  font-size: 0.825rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item:hover {
  border-color: var(--G500);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] h3, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] h3 {
  margin: 0;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap {
  display: flex;
  gap: 16px;
  padding: 16px 0 12px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button {
  width: 100%;
  max-width: 224px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--G500);
  background-color: var(--G00);
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button span, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button span {
  font-size: 0.875rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button span::after, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button span::after {
  content: "個";
  margin: 0 0 0 6px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button:hover, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button:hover {
  border-color: var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button:focus, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button:focus-visible, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .quantity-wrap button.active, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button:focus, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button:focus-visible, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button.active {
  border-color: transparent;
  outline: 2px solid var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .notes-msg, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .notes-msg {
  display: block;
  width: 100%;
  color: var(--PB01);
  border-radius: 4px;
  background-color: var(--PB04);
  letter-spacing: 1.25px;
  font-size: 0.75rem;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=idea] .notes-msg br, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .notes-msg br {
  margin: 0 0 8px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=iteration] .quantity-wrap button span::after {
  content: "次";
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=personalized] {
  margin-bottom: 64px;
  padding-bottom: 24px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=personalized] .personalized-inner {
  width: 100%;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=personalized] .personalized-inner textarea {
  width: 100%;
  height: 160px;
  padding: 8px 16px;
  resize: none;
  border: 1px solid var(--G300);
  border-radius: 8px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=personalized] .personalized-inner textarea::placeholder {
  color: var(--G600);
  letter-spacing: 1px;
  font-size: 0.925rem;
}
body main.main[data-step=setting] .subtotal-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100dvw;
  margin: 0;
  padding: 0 16px 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
  background-color: var(--CDL);
}
body main.main[data-step=setting] .subtotal-wrap::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -24px);
  width: 100%;
  height: 1px;
  background-color: var(--G300);
}
body main.main[data-step=setting] .subtotal-wrap label.toggle-switch {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: end;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  cursor: pointer;
}
body main.main[data-step=setting] .subtotal-wrap label.toggle-switch .icon-wrap {
  transform: translateY(4px);
}
body main.main[data-step=setting] .subtotal-wrap label.toggle-switch:hover .icon-wrap i {
  background-color: var(--PB01);
}
body main.main[data-step=setting] .subtotal-wrap h3 {
  width: 100%;
  height: 48px;
  color: var(--G900);
  line-height: 48px;
  text-align: left;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info {
  transform: translateY(-36px);
  width: 100%;
  min-width: 50%;
  max-height: 0px;
  text-align: center;
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text {
  width: 100%;
  padding: 0 0 0 80px;
  font-size: 0.875rem;
  text-align: left;
  line-height: 24px;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text strong {
  margin: 0 4px 0 0;
  font-size: 0.875rem;
  color: brown;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text strong::after {
  color: var(--G900);
  margin: 0 0 0 1px;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text strong.theory-count::after {
  content: "理論";
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text strong.idea-count::after {
  content: "想法";
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .conditions-text strong.iteration-count::after {
  content: "迭代";
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .estimated-time {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 24px auto 0;
  padding: 16px;
  border: 2px dashed #f3ab3f;
  border-radius: 8px;
  background-color: var(--G30);
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .estimated-time .time-text {
  color: brown;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .estimated-time .time-text::before {
  content: "約";
}
body main.main[data-step=setting] .subtotal-wrap .conditions-info .estimated-time .time-text::after {
  content: "分鐘";
}
body main.main[data-step=setting] .subtotal-wrap i.hr-line {
  display: none;
  width: 1px;
  height: 100%;
  background-color: var(--G500);
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost {
  position: relative;
  width: 100%;
  max-height: 0px;
  padding: 0 0 64px;
  text-align: center;
  transition: all ease 0.35s;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid #f3ab3f;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: baseline;
  width: 20px;
  height: 20px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.825rem;
  border-radius: 24px;
  color: var(--G00);
  background-color: #f3ab3f;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost .cost-msg {
  display: inline-flex;
  width: max-content;
  color: brown;
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost .cost-msg::before {
  content: "需花費";
  color: var(--G700);
}
body main.main[data-step=setting] .subtotal-wrap .conditions-cost .cost-msg::after {
  content: "點";
  color: var(--G700);
}
body main.main[data-step=setting] .fuction-wrap button.next,
body main.main[data-step=setting] .fuction-wrap a.next {
  display: none;
}
body main.main[data-step=setting] .fuction-wrap button.pay,
body main.main[data-step=setting] .fuction-wrap a.pay {
  display: flex;
}
@container main-content (min-width: 560px) {
  body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode {
    flex-direction: row;
    gap: 16px;
  }
  body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=fast] .generate-mode button {
    max-width: 240px;
  }
  body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container main-content (min-width: 920px) {
  body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
body main.main[data-step=generating] {
  overflow: hidden;
}
body main.main[data-step=generating] aside {
  display: none;
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1) span, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(2) span, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(3) span {
  background-color: var(--PB01);
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1) strong, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(2) strong, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(3) strong {
  color: var(--PB01);
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1) span, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(2) span {
  background-color: #b973e9;
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1) strong, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(2) strong {
  color: #b973e9;
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1)::after, body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(2)::after {
  background-color: var(--PB01);
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(1)::after {
  background-color: #b973e9;
}
body main.main[data-step=generating] .content-wrap .step-wrap div:nth-of-type(3) strong::after {
  animation: activeShow 1.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
body main.main[data-step=generating] .content-wrap .generate-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: 100dvh;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  height: auto;
  padding: 16px 16px 32px;
  border-radius: 16px;
  background-color: var(--G00);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view h2 {
  width: max-content;
  margin: 16px auto 0;
  font-size: 1.125rem;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view > p {
  width: max-content;
  margin: 0 auto;
  color: var(--G600);
  font-size: 0.875rem;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .loading-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 96px;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .loading-wrap .loader {
  display: block;
  width: 48px;
  height: 48px;
  background: var(--PB03);
  animation: rotateEvent 1.5s linear infinite;
}
@keyframes rotateEvent {
  0% {
    transform: rotate(0deg) scale(0.2);
    border-radius: 10%;
    background: var(--PB03);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
    border-radius: 50%;
    background: var(--PB04);
  }
  100% {
    transform: rotate(360deg) scale(0.2);
    border-radius: 10%;
    background: var(--PB03);
  }
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p {
  position: relative;
  min-width: 200px;
  position: relative;
  padding: 0 0 0 24px;
  letter-spacing: 1.2px;
  font-size: 0.925rem;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 8px;
  background-color: var(--G700);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.loaded {
  color: var(--G900);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.loaded::before {
  display: none;
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.loaded::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-7px, -50%);
  display: block;
  width: 24px;
  height: 24px;
  mask-size: 18px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image: url(../assets/icon/icon_check.png);
  background-color: var(--G900);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.loading {
  color: var(--PB01);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.loading::before {
  background-color: var(--PB01);
}
body main.main[data-step=generating] .content-wrap .generate-wrap .generate-view .criteria-msg .text-wrap p.to-do {
  opacity: 0.35;
}
body main.main[data-step=generating] .content-wrap .fuction-wrap {
  display: none;
}
body main.main[data-step=result] .content-wrap {
  display: flex;
  flex-direction: column;
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(1) span, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(2) span, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(3) span {
  background-color: #b973e9;
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(1) strong, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(2) strong, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(3) strong {
  color: #b973e9;
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(1)::after, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(2)::after, body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(3)::after {
  background-color: #b973e9;
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(4)::after {
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(4) span {
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(4) strong {
  color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .step-wrap div:nth-of-type(4) strong::after {
  animation: activeShow 1.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap {
  flex: 1 1 100%;
  padding: 0 16px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  width: calc(100% - 32px);
  margin: 0 auto 24px;
  padding: 8px 16px 16px;
  border: 1px solid #f9e8d1;
  border-radius: 8px;
  background-color: var(--CDL);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info h3 {
  display: block;
  width: 100%;
  color: var(--G900);
  line-height: 40px;
  text-align: center;
  font-weight: 700;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p {
  width: 100%;
  height: 32px;
  margin: 0 0 4px;
  color: var(--G700);
  letter-spacing: 1.2px;
  line-height: 32px;
  font-size: 0.875rem;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p span,
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p strong {
  line-height: 32px;
  color: var(--G900);
  vertical-align: middle;
  font-size: 0.875rem;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.theory {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  height: max-content;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.theory span {
  flex: 1 0 100%;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.theory span::before {
  content: "所選理論：";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.theory span::after {
  content: "個";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.theory strong.theory-title {
  flex: 0 0 fit-content;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  max-width: 160px;
  height: max-content;
  border-radius: 4px;
  padding: 0 4px;
  line-height: 20px;
  color: var(--G00);
  background-color: var(--CD);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.idea {
  width: max-content;
  margin: 0 8px 0 0;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.idea span::before {
  content: "種子數：";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.idea span::after {
  content: "個";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.idea::after {
  content: "｜";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.iteration {
  width: max-content;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.iteration span::before {
  content: "迭代：";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info p.iteration span::after {
  content: "次";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .title-wrap {
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto 24px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .title-wrap h2 {
  width: max-content;
  max-width: calc(100% - 32px);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .title-wrap input {
  color: var(--G900);
  font-size: 1.125rem;
  font-weight: 700;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0 16px;
  border-radius: 12px;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
  transition: padding ease 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title .nb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 4px;
  color: var(--G00);
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title .result-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  width: calc(100% - 48px);
  line-height: 24px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title label {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: end;
  width: 100%;
  height: 56px;
  padding: 0;
  transition: unset;
  cursor: pointer;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title label .icon-wrap {
  margin: 0 16px 0 0;
  transition: transform ease 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-title label:hover .icon-wrap i {
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content {
  position: relative;
  max-height: 0px;
  overflow: hidden;
  transition: all ease 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 auto 8px;
  padding: 16px 0;
  border-radius: 8px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap div {
  flex: 1 1 100%;
  width: max-content;
  min-width: 80px;
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  background-color: var(--G100);
  overflow: hidden;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap div b,
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap div strong {
  display: block;
  width: 100%;
  color: var(--G900);
  font-size: 0.875rem;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap div strong {
  color: var(--PB03);
  font-weight: 700;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid var(--G300);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap {
  padding: 8px 16px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap .sub-title {
  font-weight: 500;
  font-size: 1rem;
  color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap .proposal-text {
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  line-height: 1.75;
  color: var(--G900);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references {
  position: relative;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary {
  position: absolute;
  top: 0;
  transform: translate(72px, 8px);
  width: max-content;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--G100);
  border: 1px solid var(--G300);
  list-style: none;
  font-size: 0.825rem;
  cursor: pointer;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary:before {
  content: "顯示";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary strong.count {
  color: var(--PB01);
  font-size: 0.825rem;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary strong.count::before {
  content: "(";
  color: var(--G700);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary strong.count::after {
  content: ")";
  color: var(--G700);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details summary::-webkit-details-marker {
  display: none;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details[open] summary:before {
  content: "隱藏";
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details a {
  display: block;
  width: max-content;
  margin: 4px 0 0;
  padding: 2px 8px;
  border-radius: 2px;
  background-color: transparent;
  font-size: 0.925rem;
  transition: all ease 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-wrap.references details a:hover {
  background-color: var(--G100);
  text-decoration: underline;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer {
  position: relative;
  display: flex;
  justify-content: end;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  transition: all ease 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid var(--G300);
}
@keyframes alternateShow {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(-25%) translateX(0%);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) translateY(-50%) translateX(-5%);
  }
  100% {
    opacity: 0;
    transform: scale(1) translateY(-80%) translateX(-10%);
  }
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button {
  width: 32px;
  height: 32px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.like-proposal strong, body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.unlike-proposal strong {
  position: absolute;
  display: flex;
  width: 24px;
  height: 24px;
  opacity: 1;
  overflow: visible;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.like-proposal strong::before, body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.like-proposal strong::after, body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.unlike-proposal strong::before, body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.unlike-proposal strong::after {
  position: absolute;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  mask-image: url(../assets/icon/icon_like.png);
  mask-size: 24px;
  background-color: var(--PB01);
  opacity: 0;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.like-proposal strong {
  transform: rotate(-10deg);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.unlike-proposal strong {
  transform: rotate(170deg);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button .icon-wrap:hover i {
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button[aria-pressed=true] {
  position: relative;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button[aria-pressed=true] .icon-wrap i {
  mask-image: url(../assets/icon/icon_like_a.png);
  background-color: var(--PB01);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button[aria-pressed=true] strong::before {
  animation: alternateShow 0.5s forwards;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button[aria-pressed=true] strong::after {
  animation: alternateShow 0.5s forwards;
  animation-delay: 0.35s;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button.copy-proposal {
  margin: 0 0 0 auto;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button:focus-visible {
  position: relative;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-footer button:focus-visible::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 2px solid var(--PB01);
  opacity: 0.35;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item:has(*:focus-visible)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  outline: 2px solid var(--PB02);
}
body main.main[data-step=result] .content-wrap .fuction-wrap a.prve, body main.main[data-step=result] .content-wrap .fuction-wrap a.next,
body main.main[data-step=result] .content-wrap .fuction-wrap button.prve,
body main.main[data-step=result] .content-wrap .fuction-wrap button.next {
  display: none;
}
body main.main[data-step=result] .content-wrap .fuction-wrap a.redo-generate, body main.main[data-step=result] .content-wrap .fuction-wrap a.create-new,
body main.main[data-step=result] .content-wrap .fuction-wrap button.redo-generate,
body main.main[data-step=result] .content-wrap .fuction-wrap button.create-new {
  display: flex;
}

@media screen and (min-width: 769px) {
  body main.main aside .aside-view {
    padding: 32px 24px;
  }
  body main.main .content-wrap .step-wrap {
    gap: 48px;
  }
  body main.main .content-wrap .step-wrap div {
    flex-direction: row;
    align-items: center;
  }
  body main.main .content-wrap .step-wrap div span {
    min-width: 20px;
  }
  body main.main .content-wrap .step-wrap div::after {
    position: absolute;
    right: 0;
    bottom: unset;
    transform: translate(35px, 0);
    width: 24px;
    height: 1px;
  }
  body main.main[data-step=upload] .content-wrap .upload-wrap details.subject-menu ul {
    position: absolute;
    top: 0;
    left: 112px;
    transform: translate(0, -8px);
    max-width: 360px;
    max-height: 400px;
    overflow-y: auto;
  }
  body main.main[data-step=upload] .content-wrap div#uppy .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload {
    padding: 0 24px;
  }
  body main.main[data-step=setting] .content-wrap .setting-view .set-option {
    padding: 0 48px 32px;
  }
  body footer {
    z-index: 1;
  }
}
@media screen and (min-width: 1024px) and (orientation: landscape) {
  body main.main {
    display: flex;
    padding: 16px 0;
  }
  body main.main aside {
    position: sticky;
    top: 80px;
    left: 0;
    transform: translateX(0);
    z-index: 3;
    background-color: transparent;
    width: max-content;
    height: 100%;
    padding: 24px;
    border-radius: 16px;
    transition: unset;
  }
  body main.main aside label[for=asideMenu] {
    display: none;
  }
  body main.main aside .aside-view {
    width: 100%;
    min-width: 360px;
    max-width: 360px;
    height: 100%;
    max-height: unset;
    margin: 0;
    padding: 32px 16px 16px;
    box-shadow: unset;
    overflow: visible;
  }
  body main.main aside .aside-view > div.user-wrap .user {
    background-color: var(--G00);
  }
  body main.main aside .aside-view > div.history-wrap .list-option .history-item {
    background-color: var(--G00);
  }
  body main.main aside .aside-view::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    transform: translateX(40px);
    z-index: 0;
    width: 32px;
    height: calc(100% - 32px);
    border-left: 1px dashed var(--G300);
    background-image: linear-gradient(90deg, rgba(221, 221, 221, 0.3) 1px, rgba(223, 223, 223, 0.1) 8px, rgba(235, 235, 235, 0));
  }
  body main.main aside .aside-view::after {
    border-radius: 16px;
    box-shadow: 0 0 10px 1px rgba(122, 122, 122, 0.15);
  }
  body main.main .content-wrap {
    box-shadow: 0 0 10px 1px rgba(122, 122, 122, 0.15);
  }
  body main.main .content-wrap .step-wrap {
    width: calc(100% - 112px);
  }
  body main.main .content-wrap .fuction-wrap {
    position: relative;
    justify-content: end;
    gap: 16px;
    padding: 12px 80px;
    box-shadow: unset;
  }
  body main.main .content-wrap .fuction-wrap a,
  body main.main .content-wrap .fuction-wrap button {
    max-width: 200px;
    margin: 0 !important;
  }
  body main.main[data-step=setting] .content-wrap .setting-view .set-option {
    width: calc(100% - 64px);
    margin: 0 auto 16px;
    padding: 16px 20px 32px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.15);
  }
  body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=personalized] {
    margin-bottom: 16px;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap {
    position: relative;
    flex-direction: row;
    width: calc(100% - 64px);
    max-width: unset;
    margin: 0 auto;
    padding: 48px 16px 8px;
    box-shadow: unset;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap label.toggle-switch {
    display: none;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap h3 {
    position: absolute;
    top: 0;
    left: 16px;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-info,
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-cost {
    max-height: 999px;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-info {
    transform: translateY(0);
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-info .conditions-text {
    padding: 0;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-info .estimated-time {
    margin: 8px 0;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap i.hr-line {
    display: block;
    min-width: 1px;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-cost {
    padding: 0;
  }
  body main.main[data-step=setting] .content-wrap .subtotal-wrap .conditions-cost::before {
    display: none;
  }
  body main.main[data-step=generating] aside {
    display: block;
  }
  body main.main[data-step=result] .content-wrap .generate-result-wrap .condition-info {
    width: calc(100% - 96px - 32px);
  }
  body main.main[data-step=result] .content-wrap .generate-result-wrap .title-wrap {
    width: calc(100% - 128px);
  }
  body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item {
    width: calc(100% - 128px);
    margin: 0 auto;
    padding: 0 24px;
  }
  body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap {
    flex-direction: row;
    justify-content: start;
    gap: 8px;
    flex-wrap: nowrap;
  }
  body main.main[data-step=result] .content-wrap .generate-result-wrap ul .result-item .result-item-content .proposal-info-wrap div:not(:last-of-type) {
    flex: 1 1 0;
    min-width: 20%;
  }
}
@media screen and (min-width: 1200px) {
  body main.main {
    width: calc(100% - 128px);
    max-width: 1440px;
    margin: 0 auto;
  }
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option.active, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option:has(input:checked) {
  border: 1px solid var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option.active::before, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option:has(input:checked)::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: var(--PB02);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option.active::after, body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item .theory-list .theory-option:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  z-index: 1;
  width: 18px;
  height: 18px;
  mask-size: 7px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image: url(../assets/icon/icon_check.png);
  -webkit-mask-size: 16px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-image: url(../assets/icon/icon_check.png);
  background-color: var(--G00);
}

@media screen and (max-width: 1024px) {
  body:has(#asideMenu:checked) {
    overflow-y: hidden;
  }
  body:has(#asideMenu:checked) header label[for=asideMenu] .icon-wrap i {
    -webkit-mask-image: url(../assets/icon/icon_close.png);
    mask-image: url(../assets/icon/icon_close.png);
  }
  body:has(#asideMenu:checked) main.main aside {
    transform: translateX(0%);
  }
}

body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item:has(input[name=theory_toggle]:checked) {
  background-color: var(--PB04);
  border-color: var(--G500);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item:has(input[name=theory_toggle]:checked) .theory-title {
  margin: 0 0 16px;
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item:has(input[name=theory_toggle]:checked) .theory-title .icon-wrap i {
  transform: rotate(180deg);
}
body main.main[data-step=setting] .content-wrap .setting-view .set-option[data-mode=theory] .theory-wrap .theory-item:has(input[name=theory_toggle]:checked) .theory-list {
  max-height: 999px;
  padding: 24px 2px;
}
body main.main[data-step=setting] .subtotal-wrap:has(.toggle-switch input:checked) label.toggle-switch .icon-wrap i {
  transform: rotate(180deg);
}
body main.main[data-step=setting] .subtotal-wrap:has(.toggle-switch input:checked) .conditions-info {
  max-height: 999px;
}
body main.main[data-step=setting] .subtotal-wrap:has(.toggle-switch input:checked) .conditions-cost {
  max-height: 999px;
  padding: 16px 0 80px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) {
  padding: 0 16px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-title {
  position: relative;
  align-items: start;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-title .result-title {
  -webkit-line-clamp: 10;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-title label {
  width: 100%;
  height: 100%;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-title label .icon-wrap {
  margin: 0;
  transform: rotate(180deg);
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-content {
  max-height: 999px;
}
body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) .result-item-footer {
  max-height: 999px;
  margin: 16px 0 0;
  padding: 16px 0;
}
@media screen and (min-width: 1024px) and (orientation: landscape) {
  body main.main[data-step=result] .content-wrap .generate-result-wrap .result-item:has(.result-item-title input:checked) {
    padding: 0 24px;
  }
}/*# sourceMappingURL=main.css.map */