@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Instrument+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}
@media (max-width: 767px) {
  html {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  min-height: 100vh;
}
@media (max-width: 767px) {
  body {
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0));
  }
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  color: #1c2024;
}

a {
  color: #e9ebee;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: rgb(193.1461538462, 198.7692307692, 207.2038461538);
  text-decoration: underline;
}

.btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.btn-secondary {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-secondary:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}
.btn-success {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-success:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.btn-danger {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-danger:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c2024;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=file],
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=password]:focus,
.form-group input[type=file]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e9ebee;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card {
  margin-bottom: 20px;
}

.alert {
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.alert-success {
  background-color: rgb(242.9, 244, 245.65);
  color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.alert-danger {
  background-color: rgb(117.01875, 132.35, 147.68125);
  color: rgb(25.2, 28.8, 32.4);
}
.alert-warning {
  background-color: rgb(209.075, 210.505, 212.32);
  color: rgb(153.4161080074, 156.5791992551, 160.5938919926);
}
.alert-info {
  background-color: rgb(242.9, 244, 245.65);
  color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

img::selection {
  background: transparent;
}
img::-moz-selection {
  background: transparent;
}

svg {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.convert-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: white;
  padding-bottom: 3rem;
}
@media (max-width: 767px) {
  .convert-page {
    padding-bottom: 0;
  }
}
.convert-page .background-image {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../images/backgrounds/convert_bg.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}
@media (max-width: 767px) {
  .convert-page .background-image {
    display: none;
  }
}
.convert-page .container {
  position: relative;
  z-index: 10;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.convert-page .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 1rem;
}
@media (min-width: 992px) {
  .convert-page .content-wrapper {
    flex-direction: row;
  }
}
.convert-page .ad-column {
  display: none;
}
@media (min-width: 992px) {
  .convert-page .ad-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 15rem;
  }
}
.convert-page .ad-space {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  width: 100%;
}
.convert-page .ad-space .ad-placeholder {
  color: #1c2024;
  font-size: 0.875rem;
  text-align: center;
}
.convert-page .ad-space-left,
.convert-page .ad-space-right {
  height: 32rem;
  flex-grow: 1;
}
@media (max-width: 992px) {
  .convert-page .ad-space-left,
  .convert-page .ad-space-right {
    width: calc(50% - 1rem);
  }
}
.convert-page .ad-info-block {
  border-radius: 0 0 6px 6px;
  padding: 1rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #8AAFF5 0%, #7BA3F2 25%, #6C97EF 50%, #5D8BEC 75%, #4E7FE9 100%);
}
.convert-page .ad-info-block p {
  margin: 0;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.convert-page .ad-column .ad-info-block {
  background: #6e83ac;
}
.convert-page .upload-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.convert-page .upload-form > * {
  position: relative;
  z-index: 1;
}
.convert-page .upload-form {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.95);
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 235, 238, 0.2);
  border-radius: 6px;
  overflow: visible;
  padding: 20px 70px;
}
@media (max-width: 767px) {
  .convert-page .upload-form {
    padding: 20px;
  }
}
.convert-page .upload-form::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.02) 0%, transparent 25%, rgba(28, 32, 36, 0.01) 50%, transparent 75%, rgba(233, 235, 238, 0.02) 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 6px;
}
.convert-page .upload-form .form-header {
  margin-bottom: 30px;
  color: #1c2024;
  text-align: center;
}
.convert-page .upload-form .form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}
.convert-page .upload-form .form-header p {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .convert-page .upload-form .form-header p {
    font-size: 1.25rem;
  }
}
.convert-page .upload-form .file-upload {
  border: 0.125rem dashed #e9ebee;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  position: relative;
}
.convert-page .upload-form .file-upload:hover {
  background-color: rgba(233, 235, 238, 0.5);
  border-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.convert-page .upload-form .file-upload .upload-icon {
  color: #e9ebee;
  margin-bottom: 1rem;
  animation: iconBounce 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.convert-page .upload-form .file-upload .upload-text h3 {
  color: #1c2024;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.convert-page .upload-form .file-upload .upload-text p {
  color: #1c2024;
  margin: 0;
}
.convert-page .upload-form .file-upload:hover {
  border-color: #e9ebee;
}
.convert-page .upload-form .file-upload input[type=file] {
  display: none;
}
.convert-page .upload-form .file-upload .upload-icon {
  font-size: 2em;
  color: #1c2024;
  margin-bottom: 10px;
}
.convert-page .upload-form .file-upload .file-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  z-index: 3;
  margin-top: 6rem;
}
.convert-page .upload-form .file-upload .file-preview .file-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(233, 235, 238, 0.1);
  border-radius: 6px;
  max-width: 100%;
  width: auto;
  text-align: center;
}
.convert-page .upload-form .file-upload .file-preview .file-info .file-name {
  color: #1c2024;
  font-weight: 500;
  font-size: 0.9rem;
  word-break: break-word;
  max-width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  flex: 1;
}
@media (max-width: 767px) {
  .convert-page .upload-form .file-upload .file-preview .file-info .file-name {
    font-size: 0.8rem;
    max-width: 150px;
  }
}
.convert-page .upload-form .file-upload .file-preview .file-info .remove-file {
  background: #1c2024;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.convert-page .upload-form .file-upload .file-preview .file-info .remove-file:hover {
  background: rgb(25.2, 28.8, 32.4);
  transform: scale(1.1);
}
.convert-page .upload-form .file-upload .file-preview .file-info .remove-file:active {
  transform: scale(0.95);
}
.convert-page .upload-form .upload-alternatives {
  margin-top: 1.5rem;
}
.convert-page .upload-form .upload-alternatives .divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.convert-page .upload-form .upload-alternatives .divider::before, .convert-page .upload-form .upload-alternatives .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(28, 32, 36, 0.2);
}
.convert-page .upload-form .upload-alternatives .divider span {
  padding: 0 1rem;
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.7;
}
.convert-page .upload-form .upload-alternatives .google-drive-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: rgba(233, 235, 238, 0.3);
  border: 2px solid rgba(233, 235, 238, 0.3);
  border-radius: 4px;
  color: #1c2024;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.convert-page .upload-form .upload-alternatives .google-drive-btn:hover {
  background-color: rgba(233, 235, 238, 0.5);
  border-color: #e9ebee;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 235, 238, 0.15);
}
.convert-page .upload-form .upload-alternatives .google-drive-btn .google-drive-icon {
  width: 20px;
  height: 20px;
  fill: #e9ebee;
  transition: all 0.3s ease;
}
.convert-page .upload-form .upload-alternatives .google-drive-btn:hover .google-drive-icon {
  transform: scale(1.1);
}
.convert-page .upload-form .format-controls {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  overflow: visible;
}
.convert-page .upload-form .format-controls .form-group {
  flex: 1;
  max-width: 15rem;
  position: relative;
  overflow: visible;
}
.convert-page .upload-form .format-controls .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0.125rem solid #e9ebee;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1c2024;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}
.convert-page .upload-form .format-controls .form-group select:focus {
  border-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
  box-shadow: 0 0 0 0.25rem rgba(233, 235, 238, 0.25);
}
.convert-page .upload-form .format-controls .custom-dropdown {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 1;
}
.convert-page .upload-form .format-controls .dropdown-value {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  background-color: rgba(233, 235, 238, 0.3);
  border: 2px solid rgba(217, 228, 252, 0.3);
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 767px) {
  .convert-page .upload-form .format-controls .dropdown-value[data-value=""] .dropdown-text {
    font-size: 0;
  }
  .convert-page .upload-form .format-controls .dropdown-value[data-value=""] .dropdown-text::after {
    content: "Choose";
    font-size: 1rem;
  }
}
.convert-page .upload-form .format-controls .dropdown-value:hover {
  background-color: rgba(233, 235, 238, 0.4);
}
.convert-page .upload-form .format-controls .dropdown-value.active {
  background-color: rgba(233, 235, 238, 0.5);
  border-radius: 6px 6px 0 0;
}
.convert-page .upload-form .format-controls .dropdown-text {
  display: inline;
}
.convert-page .upload-form .format-controls .dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: #1c2024;
  pointer-events: none;
}
.dropdown-value.active .convert-page .upload-form .format-controls .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.convert-page .upload-form .format-controls .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #E1E7F8;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  display: none !important;
  overflow: visible;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
}
.convert-page .upload-form .format-controls .dropdown-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 767px) {
  .convert-page .upload-form .format-controls .dropdown-content {
    max-height: 100px !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #1c2024 rgba(233, 235, 238, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(233, 235, 238, 0.5);
  }
  .convert-page .upload-form .format-controls .dropdown-content::-webkit-scrollbar {
    width: 8px !important;
    background-color: rgba(233, 235, 238, 0.3);
  }
  .convert-page .upload-form .format-controls .dropdown-content::-webkit-scrollbar-track {
    background: rgba(233, 235, 238, 0.3);
    border-radius: 6px;
  }
  .convert-page .upload-form .format-controls .dropdown-content::-webkit-scrollbar-thumb {
    background-color: #1c2024;
    border-radius: 6px;
    border: 1px solid rgba(233, 235, 238, 0.5);
    min-height: 20px;
  }
  .convert-page .upload-form .format-controls .dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: rgb(25.2, 28.8, 32.4);
  }
}
.convert-page .upload-form .format-controls .dropdown-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1c2024;
  font-weight: 500;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(28, 32, 36, 0.1);
}
.convert-page .upload-form .format-controls .dropdown-item:last-child {
  border-bottom: none;
}
.convert-page .upload-form .format-controls .dropdown-item:hover {
  background: rgba(28, 32, 36, 0.05);
  color: #1c2024;
  padding-left: 2rem;
}
@media (max-width: 767px) {
  .convert-page .upload-form .format-controls .dropdown-item {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .convert-page .upload-form .format-controls .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
.convert-page .upload-form .format-controls .convert-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: rgba(233, 235, 238, 0.3);
  border: 2px solid rgba(217, 228, 252, 0.3);
}
.convert-page .upload-form .format-controls .convert-arrow svg {
  color: #1c2024;
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
}
.convert-page .upload-form .format-controls .convert-arrow:hover {
  background-color: rgba(233, 235, 238, 0.5);
  transform: scale(1.1);
}
.convert-page .upload-form .format-controls .convert-arrow:hover svg {
  color: #1c2024;
}
.convert-page .upload-form .format-controls .convert-arrow.flipped svg {
  transform: rotate(180deg);
}
.convert-page .upload-form .submit-btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.convert-page .upload-form .submit-btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.convert-page .upload-form .submit-btn .btn-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.convert-page .upload-form .submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.convert-page .upload-form .submit-btn.loading .btn-text {
  display: none;
}
.convert-page .upload-form .submit-btn.loading .btn-loader {
  display: inline-flex;
}
.convert-page .upload-form .submit-btn {
  padding: 0.75rem 4rem;
  background: #0f1216;
  border: 1px solid #0f1216;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2rem auto 1rem;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: block;
  width: fit-content;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}
.convert-page .upload-form .submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.convert-page .upload-form .submit-btn:hover {
  background: #2f353b;
  border-color: #2f353b;
  transform: none;
  box-shadow: 0 8px 24px rgba(233, 235, 238, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.convert-page .upload-form .submit-btn:hover::before {
  left: 100%;
}
@media (max-width: 767px) {
  .convert-page .upload-form .submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(233, 235, 238, 0.35), 0 3px 6px rgba(0, 0, 0, 0.12);
  }
}
.convert-page .upload-form .submit-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(28, 32, 36, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
}
@media (max-width: 767px) {
  .convert-page .upload-form .submit-btn:active {
    transform: scale(0.96);
  }
}
.convert-page .upload-form .submit-btn:focus {
  outline: none;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 0 0 3px rgba(233, 235, 238, 0.2);
}
.convert-page .upload-form .form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem auto 1rem;
  flex-wrap: wrap;
}
.convert-page .upload-form .form-actions .submit-btn {
  margin: 0;
}
.convert-page .conversion-history {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.convert-page .conversion-history > * {
  position: relative;
  z-index: 1;
}
.convert-page .conversion-history {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.25rem 70px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 235, 238, 0.2);
  border-radius: 6px;
  overflow: visible;
}
.convert-page .conversion-history .history-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(233, 235, 238, 0.15);
  gap: 0.5rem;
  flex-wrap: wrap;
}
.convert-page .conversion-history .history-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0;
  letter-spacing: 0.01em;
}
.convert-page .conversion-history .history-header .history-note {
  font-size: 0.72rem;
  color: #999;
}
.convert-page .conversion-history .history-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.convert-page .conversion-history .history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  gap: 0.75rem;
  transition: background 0.15s;
}
.convert-page .conversion-history .history-item:nth-child(odd) {
  background: rgba(233, 235, 238, 0.15);
}
.convert-page .conversion-history .history-item:hover {
  background: rgba(233, 235, 238, 0.25);
}
.convert-page .conversion-history .history-file-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}
.convert-page .conversion-history .history-file-icon {
  flex-shrink: 0;
  stroke: #1c2024;
  opacity: 0.35;
}
.convert-page .conversion-history .history-filename {
  font-size: 0.84rem;
  font-weight: 500;
  color: #1c2024;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.convert-page .conversion-history .history-time {
  font-size: 0.7rem;
  color: #aab;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.convert-page .conversion-history .history-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.convert-page .conversion-history .history-send-btn,
.convert-page .conversion-history .history-download-btn,
.convert-page .conversion-history .history-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(233, 235, 238, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1c2024;
}
.convert-page .conversion-history .history-send-btn svg,
.convert-page .conversion-history .history-download-btn svg,
.convert-page .conversion-history .history-delete-btn svg {
  stroke: #1c2024;
  opacity: 0.45;
  transition: all 0.2s ease;
}
.convert-page .conversion-history .history-send-btn:hover,
.convert-page .conversion-history .history-download-btn:hover,
.convert-page .conversion-history .history-delete-btn:hover {
  background: #0f1216;
  border: 1px solid #0f1216;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(233, 235, 238, 0.3);
}
.convert-page .conversion-history .history-send-btn:hover svg,
.convert-page .conversion-history .history-download-btn:hover svg,
.convert-page .conversion-history .history-delete-btn:hover svg {
  opacity: 1;
  stroke: #ffffff;
}
.convert-page .conversion-history .history-send-btn:active,
.convert-page .conversion-history .history-download-btn:active,
.convert-page .conversion-history .history-delete-btn:active {
  transform: translateY(0);
}
.convert-page .conversion-history .history-delete-btn:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}
@media (max-width: 767px) {
  .convert-page .conversion-history {
    padding: 1.25rem 20px;
  }
  .convert-page .conversion-history .history-header {
    flex-direction: column;
    gap: 0.15rem;
  }
  .convert-page .conversion-history .history-filename {
    max-width: 140px;
  }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  10% {
    transform: translateY(-5px) rotate(3deg);
  }
  30% {
    transform: translateY(-3px) rotate(-2deg);
  }
  40% {
    transform: translateY(-2px) rotate(1deg);
  }
  60% {
    transform: translateY(-1px) rotate(-1deg);
  }
}
.send-to-device-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #0f1216;
  border: 1px solid #0f1216;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.send-to-device-btn svg {
  flex: none;
}
.send-to-device-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.send-to-device-btn:hover {
  background: #2f353b;
  border-color: #2f353b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 235, 238, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.send-to-device-btn:hover::before {
  left: 100%;
}
.send-to-device-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(28, 32, 36, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.email-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.email-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.email-modal-overlay.active .email-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.email-modal {
  position: relative;
  width: 90%;
  max-width: 420px;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(233, 235, 238, 0.1);
  text-align: center;
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.email-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1;
}
.email-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.email-modal-icon {
  margin-bottom: 0.75rem;
}
.email-modal-icon svg {
  stroke: #1c2024;
  opacity: 0.7;
  animation: iconBounce 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.email-modal-title {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0 0 0.4rem;
}

.email-modal-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0.75rem;
  padding: 0.45rem 0.85rem;
  background: rgba(233, 235, 238, 0.15);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #1c2024;
}
.email-modal-file svg {
  flex-shrink: 0;
  stroke: #1c2024;
  opacity: 0.6;
}
.email-modal-file .email-modal-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.email-modal-hint {
  font-size: 0.82rem;
  color: #777;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.email-modal-form {
  display: flex;
  gap: 0.5rem;
}

.email-modal-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.email-modal-input:focus {
  border-color: #1c2024;
}
.email-modal-input::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.email-modal-send {
  padding: 0.65rem 1.3rem;
  background: #0f1216;
  border: 1px solid #0f1216;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, transform 0.15s;
}
.email-modal-send:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.email-modal-send:active {
  transform: translateY(0);
}
.email-modal-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.email-modal-send .btn-loader {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.email-modal-note {
  font-size: 0.72rem;
  color: #aaa;
  margin: 1rem 0 0;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .email-modal {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .email-modal-form {
    flex-direction: column;
  }
  .email-modal-send {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .convert-page .site-footer {
    background-color: white;
    border-top: 2px solid #e0e0e0;
  }
  .convert-page .site-footer .footer-content p {
    color: #333;
  }
  .convert-page .site-footer .footer-content p a {
    color: #1c2024;
  }
}

.dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #adb5bd;
}
.dot--damage {
  background: #c8372a;
}
.dot--typography {
  background: #0f83b4;
}
.dot--proofing {
  background: #b26a00;
}
.dot--custom {
  background: #495057;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.linkish {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #0a6b95;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.linkish:hover {
  color: #0a5876;
}
.linkish:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.pbtn:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.pbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pbtn--primary {
  background: #0a6b95;
  color: #ffffff;
}
.pbtn--primary:hover:not(:disabled) {
  background: #0a5876;
}
.pbtn--ghost {
  background: #ffffff;
  border-color: #ced4da;
  color: #495057;
}
.pbtn--ghost:hover:not(:disabled) {
  border-color: #2f9fcd;
  color: #0a5876;
}
.pbtn--block {
  width: 100%;
}
.pbtn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.pbtn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: pbtn-spin 620ms linear infinite;
}
.pbtn--primary.is-loading::after {
  border-color: #ffffff;
  border-top-color: transparent;
}
.pbtn--ghost.is-loading::after {
  border-color: #0a6b95;
  border-top-color: transparent;
}

@keyframes pbtn-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pbtn.is-loading::after {
    animation-duration: 2s;
  }
}
.proof-status {
  max-width: 46rem;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.875rem;
  color: #495057;
  text-align: center;
}
.proof-status--error {
  border-color: rgba(200, 55, 42, 0.3);
  background: #fdeeec;
  color: #9c2a20;
}
.proof-status--busy {
  border-color: #a6d9ed;
  background: #edf7fb;
  color: #0a5876;
}

.panel {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
}
.panel__head {
  margin-bottom: 2rem;
  text-align: center;
}
.panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.panel__sub {
  margin: 0;
  font-size: 1.125rem;
  color: #1c2024;
}
.panel__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #e9ecef;
}
.panel__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (max-width: 576px) {
  .panel__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.file-drop {
  position: relative;
  display: block;
  padding: 2.5rem 1.5rem;
  border: 2px dashed #ced4da;
  border-radius: 6px;
  background: #f8f9fa;
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.file-drop:hover, .file-drop.is-over {
  border-color: #2f9fcd;
  background: #edf7fb;
}
.file-drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  color: #0f1216;
  animation: iconBounce 4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .file-drop__icon {
    animation: none;
  }
}
.file-drop__text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1c2024;
}
.file-drop__text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(28, 32, 36, 0.7);
}
.file-drop .google-drive-compact {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(233, 235, 238, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  padding: 0;
}
.file-drop .google-drive-compact .drive-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}
.file-drop .google-drive-compact .drive-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  white-space: nowrap;
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(233, 235, 238, 0.1);
  z-index: 9999;
}
.file-drop .google-drive-compact:hover {
  transform: scale(1.05);
  background: white;
  border-color: #e9ebee;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.2);
}
.file-drop .google-drive-compact:hover .drive-icon {
  transform: scale(1.2);
}
.file-drop .google-drive-compact:hover .drive-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.file-drop .google-drive-compact:active {
  transform: scale(0.95);
}
.file-drop__busy-text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f1216;
}
.file-drop__name {
  margin: 0.25rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  color: #6b737c;
  word-break: break-all;
}

.conversion-history {
  margin: 0 0 4rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
}

.history-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
.history-header h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.history-note {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: #868e96;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #e9ecef;
}
.history-item:first-child {
  border-top: 0;
}

.history-file-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.history-file-icon {
  flex: none;
  color: #868e96;
}

.history-filename {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-note-inline,
.history-time {
  flex: none;
  font-size: 0.75rem;
  color: #868e96;
}

.history-note-inline {
  color: #0a6b95;
}

.history-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: none;
}

.history-download-btn,
.history-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  color: #6b737c;
  cursor: pointer;
}
.history-download-btn:hover,
.history-delete-btn:hover {
  border-color: #e1e5ea;
  background: #f8f9fa;
  color: #0a5876;
}
.history-download-btn:focus-visible,
.history-delete-btn:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 1px;
}

.history-delete-btn:hover {
  color: #c8372a;
}

.results__bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
}

.results__name {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  word-break: break-all;
}

.results__booktitle {
  margin: 0.25rem 0 0;
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #495057;
}

.results__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #6b737c;
}
.results__stats span + span {
  position: relative;
  padding-left: 0.75rem;
}
.results__stats span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: #adb5bd;
}

.results__why {
  flex: 1 1 14rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #6b737c;
  text-align: right;
}
@media (max-width: 767px) {
  .results__why {
    text-align: left;
  }
}

.results__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-left: auto;
}

.results__grid {
  display: grid;
  grid-template-columns: 20rem 1fr;
  align-items: start;
  gap: 1.5rem;
}
@media (max-width: 991px) {
  .results__grid {
    grid-template-columns: 1fr;
  }
}

.docket {
  position: sticky;
  top: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 991px) {
  .docket {
    position: static;
  }
}
.docket__title {
  margin: 0 0 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.docket__notes {
  margin: 1rem 0 0;
  padding: 0.75rem;
  list-style: none;
  border-left: 2px solid #b26a00;
  background: #fdf4e6;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #8a5100;
}
.docket__notes li + li {
  margin-top: 0.5rem;
}

.finder,
.docket__checks {
  padding: 1.25rem;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  background: #ffffff;
}

.field {
  display: block;
  margin-bottom: 0.75rem;
}
.field__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #495057;
}
.field input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #ffffff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  color: #0f1216;
}
.field input::placeholder {
  color: #adb5bd;
}
.field input:focus {
  outline: none;
  border-color: #0f83b4;
  box-shadow: 0 0 0 3px rgba(15, 131, 180, 0.28);
}

.finder__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.checkline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #495057;
  cursor: pointer;
}
.checkline input {
  accent-color: #0f83b4;
}

.groups {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group {
  padding: 1rem 0;
  border-top: 1px solid #e9ecef;
}
.group:first-child {
  border-top: 0;
  padding-top: 0;
}
.group__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.group__row input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.group__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.group__count {
  flex: none;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  color: #868e96;
  font-variant-numeric: tabular-nums;
}
.group__blurb, .group__flag, .group__more {
  display: block;
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}
.group__blurb {
  font-size: 0.75rem;
  line-height: 1.55;
  color: #6b737c;
}
.group__flag, .group__more {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: #8a5100;
}
.group__more {
  color: #868e96;
}
.group:not(.is-on) .group__label, .group:not(.is-on) .group__count, .group:not(.is-on) .group__blurb, .group:not(.is-on) .group__flag, .group:not(.is-on) .group__more {
  opacity: 0.5;
}

label.group__row {
  cursor: pointer;
}

.switch {
  display: block;
  width: 2rem;
  height: 1.125rem;
  border-radius: 999px;
  background: #ced4da;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.switch::after {
  content: "";
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  margin: 0.125rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.04);
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1);
}

input:checked + .switch {
  background: #0f83b4;
}
input:checked + .switch::after {
  transform: translateX(0.875rem);
}

input:focus-visible + .switch {
  box-shadow: 0 0 0 3px rgba(15, 131, 180, 0.28);
}

.done {
  max-width: 34rem;
  margin: 0 auto;
}

.done__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 18, 22, 0.05), 0 4px 12px rgba(15, 18, 22, 0.06);
  text-align: center;
}

.done__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #e8f6ef;
  color: #12805c;
}
.done__mark svg {
  width: 1.5rem;
  height: 1.5rem;
}

.done__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.done__count {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
  color: #495057;
}

.done__note {
  margin: 0;
  font-size: 0.75rem;
  color: #6b737c;
}

.brief {
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-left: 3px solid #0f83b4;
  border-radius: 6px;
}
@media (max-width: 576px) {
  .brief {
    padding: 1.5rem;
  }
}

.brief__kicker {
  margin: 0 0 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a6b95;
}

.brief__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f1216;
}
@media (max-width: 576px) {
  .brief__title {
    font-size: 1.375rem;
  }
}

.brief__body {
  max-width: 68ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
}

.brief__paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .brief__paths {
    grid-template-columns: 1fr;
  }
}

.path {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}

.path--here {
  background: #edf7fb;
  border-color: #a6d9ed;
}

.path--away {
  transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.path--away:hover {
  background: #ffffff;
  border-color: #ced4da;
}
.path--away:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.path__mark {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.path--here .path__mark {
  color: #0a6b95;
}

.path__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.path__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b737c;
}

.path__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a6b95;
}
.path__cta svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.path--away:hover .path__cta svg {
  transform: translateX(2px);
}

.verdict {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e1e5ea;
  border-left: 3px solid #adb5bd;
  border-radius: 6px;
  background: #ffffff;
}
@media (max-width: 576px) {
  .verdict {
    padding: 1rem 1.25rem;
  }
}

.verdict__headline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.verdict__detail {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #495057;
}

.nocover {
  max-width: 34rem;
  margin: 0 auto;
}

.nocover__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
  text-align: center;
}

.nocover__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nocover__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #495057;
}

.nocover__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nocover__note {
  margin: 0;
  font-size: 0.75rem;
  color: #6b737c;
}

.inspect-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e9ecef;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #6b737c;
}
.inspect-hint a {
  color: #0a6b95;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inspect-hint a:hover {
  color: #0a5876;
}

.inspect-hint__icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: #868e96;
}

body {
  background-color: #e9ebee;
}

.home-page {
  min-height: 100vh;
  position: relative;
  background-color: #e9ebee !important;
}

.hero-section {
  position: relative;
  padding-top: 2rem;
  text-align: center;
}

.hero-content h1 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f1216;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  max-width: 20ch;
  text-wrap: balance;
}
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
}
.hero-content .title-icon {
  height: 4.5rem;
  width: auto;
  vertical-align: middle;
  margin-left: -0.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
@media (max-width: 1024px) {
  .hero-content .title-icon {
    height: 2.8rem;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .hero-content .title-icon {
    height: 2.2rem;
  }
}
@media (max-width: 480px) {
  .hero-content .title-icon {
    height: 2.2rem;
    margin-bottom: 0.5rem;
  }
}
.hero-content .hero-lead {
  font-size: 1.125rem;
  color: #495057;
  max-width: 46ch;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 768px) {
  .hero-content .hero-lead {
    font-size: 1.1rem;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #1c2024;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(48, 67, 105, 0.3);
}
.hero-cta:hover {
  background: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(48, 67, 105, 0.4);
  color: white;
  text-decoration: none;
}

.features-section {
  position: relative;
  z-index: 2;
  padding: 1rem 0 4rem 0;
}
@media (max-width: 768px) {
  .features-section {
    padding: 1rem 0 2rem 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0, 0.2, 1), transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-card:hover {
  border-color: #ced4da;
  box-shadow: 0 2px 4px rgba(15, 18, 22, 0.05), 0 4px 12px rgba(15, 18, 22, 0.06);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .feature-card:hover {
    transform: none;
  }
}
.feature-card .feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #f1f3f5;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card .feature-icon svg,
.feature-card .feature-icon img {
  width: 1.125rem;
  height: 1.125rem;
  fill: #495057;
}
.feature-card h3 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: #0f1216;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.feature-card p {
  color: #495057;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.feature-list, .coming-soon-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.feature-list li, .coming-soon-list li {
  padding: 0.3rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}
.feature-list li::before, .coming-soon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1c2024;
  font-weight: bold;
}

.coming-soon-list {
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.coming-soon-list li {
  color: #888 !important;
}
.coming-soon-list li::before {
  content: "⏳";
  color: #888;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f1216;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.feature-link:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  color: #0f1216;
  text-decoration: none;
}
.feature-link:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.submit-btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit-btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.submit-btn {
  padding: 0.75rem 2rem;
  background: #0f1216;
  color: #ffffff;
  border: 1px solid #0f1216;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: auto auto 0;
  position: relative;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 80ms cubic-bezier(0.2, 0, 0.2, 1);
}
.submit-btn:hover {
  background: #2f353b;
  border-color: #2f353b;
}
.submit-btn:active {
  transform: translateY(1px);
}
.submit-btn:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.submit-btn:disabled {
  background: #ced4da;
  border-color: #ced4da;
  color: #868e96;
  cursor: not-allowed;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .submit-btn {
    transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .submit-btn:active {
    transform: none;
  }
}
.submit-btn .btn-text {
  font-weight: 600;
  letter-spacing: 0.025em;
}
.submit-btn .external-link-icon {
  margin-left: 0.5rem;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.submit-btn:hover .external-link-icon {
  opacity: 1;
}

.page-header {
  background-color: #e9ebee !important;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logo-wrapper img {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0f1216;
}

.flying-letters {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flying-letter {
  position: absolute;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 4rem;
  user-select: none;
  pointer-events: none;
  animation: fall linear infinite;
  opacity: 1;
  font-weight: bold;
}
.flying-letter.small {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
}
.flying-letter.medium {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.8);
}
.flying-letter.large {
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 1024px) {
  .flying-letter.large {
    font-size: 2.5rem;
  }
}

@keyframes fall {
  0% {
    transform: translateY(-50px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(var(--drift)) rotate(var(--rotation));
    opacity: 0.3;
  }
}
.animated-title {
  position: relative;
  display: inline-block;
}

.animated-underline {
  position: absolute;
  bottom: -15px;
  right: 50%;
  width: 100%;
  height: 25px;
  pointer-events: none;
}

.underline-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: visible !important;
}
.underline-svg path {
  stroke: #7faed4;
  stroke-width: 8;
  stroke-linecap: round;
  fill: none;
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 0 0 0;
  }
  .features-section {
    padding: 1rem 0 2rem 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
}
.section-heading {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1c2024;
  text-align: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

.how-it-works {
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .steps-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .step {
    min-width: unset;
    width: 100%;
    padding: 1rem 1.25rem;
  }
  .step:hover {
    transform: none;
    box-shadow: none;
  }
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1c2024;
  color: #fff;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0 0 0.15rem;
}
.step-body p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.step-arrow {
  color: #1c2024;
  opacity: 0.35;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .step-arrow {
    transform: rotate(90deg);
  }
  .step-arrow svg {
    width: 24px;
    height: 24px;
  }
}

.formats-banner {
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}

.formats-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1c2024;
  opacity: 0.5;
  text-transform: uppercase;
}
.formats-marquee .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1c2024;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .formats-marquee {
    font-size: 0.8rem;
    gap: 0.4rem 0.8rem;
  }
}

.ereader-highlight {
  padding: 1rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.ereader-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(28, 32, 36, 0.08);
}
@media (max-width: 768px) {
  .ereader-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
}

.ereader-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: #e9ebee;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2024;
}

.ereader-text {
  flex: 1;
}
.ereader-text h3 {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0 0 0.3rem;
}
.ereader-text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.ereader-cta {
  white-space: nowrap;
  padding: 0.65rem 1.6rem;
  background: #1c2024;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}
.ereader-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  .ereader-cta {
    width: 100%;
    text-align: center;
    display: block;
  }
}

.trust-stats {
  padding: 1rem 0 3rem;
  position: relative;
  z-index: 2;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .stats-row {
    gap: 1.5rem 2rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.stat-value {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c2024;
  display: flex;
  align-items: center;
}
.stat-value svg {
  fill: #1c2024;
}

.stat-label {
  font-size: 0.82rem;
  color: #888;
  max-width: 120px;
  line-height: 1.3;
}

.demo-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.9) 100%);
  padding: 4rem 0;
  margin: 3rem 0;
  border-radius: 24px;
}
@media (max-width: 768px) {
  .demo-section {
    padding: 2rem 0;
    margin: 2rem 0;
  }
}

.section-title {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  color: #1c2024;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

.flipbook-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}
@media (max-width: 768px) {
  .flipbook-container {
    padding: 1rem;
  }
}

.flipbook {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
@media (max-width: 1024px) {
  .flipbook {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .flipbook {
    height: 400px;
  }
}
@media (max-width: 480px) {
  .flipbook {
    height: 300px;
  }
}

.flipbook-page {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .flipbook-page {
    padding: 1rem;
  }
}
.flipbook-page h3 {
  font-size: 1.8rem;
  color: #1c2024;
  margin-bottom: 1rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .flipbook-page h3 {
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page h3 {
    font-size: 1.1rem;
  }
}
.flipbook-page p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: center;
  max-width: 80%;
}
@media (max-width: 768px) {
  .flipbook-page p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page p {
    font-size: 0.85rem;
    max-width: 90%;
  }
}
.flipbook-page .page-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
@media (max-width: 768px) {
  .flipbook-page .page-emoji {
    font-size: 3rem;
  }
}
@media (max-width: 480px) {
  .flipbook-page .page-emoji {
    font-size: 2.5rem;
  }
}
.flipbook-page.cover-page {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
}
.flipbook-page.cover-page h3, .flipbook-page.cover-page p {
  color: white;
}
.flipbook-page .format-badge {
  display: inline-block;
  background: #e9ebee;
  color: #1c2024;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .flipbook-controls {
    gap: 1rem;
  }
}

.control-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(110, 131, 172, 0.3);
}
@media (max-width: 480px) {
  .control-btn {
    width: 40px;
    height: 40px;
  }
  .control-btn svg {
    width: 20px;
    height: 20px;
  }
}
.control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.4);
}
.control-btn:active {
  transform: scale(0.95);
}
.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.control-btn svg {
  stroke: white;
}

.page-info {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c2024;
  min-width: 60px;
  text-align: center;
}
@media (max-width: 480px) {
  .page-info {
    font-size: 0.95rem;
  }
}

.demo-hint {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  font-style: italic;
}
@media (max-width: 480px) {
  .demo-hint {
    font-size: 0.85rem;
  }
}

.flipbook .stf__item {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipbook .stf__pageFlip {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.flipbook-demo-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .flipbook-demo-section {
    padding: 2rem 0;
  }
}

.flipbook-header {
  text-align: center;
  margin-bottom: 2rem;
}
.flipbook-header h3 {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.4;
}
.flipbook-header h3 strong {
  color: #1c2024;
  font-weight: 600;
}
@media (max-width: 768px) {
  .flipbook-header h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .flipbook-header h3 {
    font-size: 1.3rem;
  }
}

.flipbook-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.magazine-viewport {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 20px;
  padding: 4rem;
  margin-bottom: 2rem;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(10px);
}
.magazine-viewport:fullscreen, .magazine-viewport:-webkit-full-screen, .magazine-viewport:-moz-full-screen, .magazine-viewport:-ms-fullscreen {
  background: white;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}
.magazine-viewport:fullscreen .flipbook-spread, .magazine-viewport:-webkit-full-screen .flipbook-spread, .magazine-viewport:-moz-full-screen .flipbook-spread, .magazine-viewport:-ms-fullscreen .flipbook-spread {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  width: 96vw;
  height: 95vh;
  max-width: none;
  max-height: none;
}
.magazine-viewport:fullscreen .flipbook-page, .magazine-viewport:-webkit-full-screen .flipbook-page, .magazine-viewport:-moz-full-screen .flipbook-page, .magazine-viewport:-ms-fullscreen .flipbook-page {
  width: 48vw !important;
  height: 95vh !important;
  max-width: none;
  max-height: none;
}
.magazine-viewport:fullscreen .flipbook-page canvas, .magazine-viewport:-webkit-full-screen .flipbook-page canvas, .magazine-viewport:-moz-full-screen .flipbook-page canvas, .magazine-viewport:-ms-fullscreen .flipbook-page canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
@media (max-width: 768px) {
  .magazine-viewport {
    padding: 2rem 1.5rem;
    min-height: 500px;
  }
}
@media (max-width: 480px) {
  .magazine-viewport {
    padding: 1.5rem 0.5rem;
    min-height: auto;
    border-radius: 12px;
  }
}

.flipbook-spread {
  position: relative;
  display: flex;
  gap: 0;
  perspective: 3000px;
  transform-style: preserve-3d;
  box-shadow: 0 12px 35px rgba(48, 67, 105, 0.15), 0 6px 18px rgba(48, 67, 105, 0.1);
  background: transparent;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread:hover {
  box-shadow: 0 15px 45px rgba(48, 67, 105, 0.2), 0 8px 22px rgba(48, 67, 105, 0.12);
}

.flipbook-page {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  position: relative;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
  transform-style: preserve-3d;
  flex-shrink: 0;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
  width: 420px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  will-change: transform;
}
.flipbook-page.left {
  transform-origin: right center;
  border-right: 1px solid rgba(48, 67, 105, 0.06);
  box-shadow: 2px 0 6px rgba(48, 67, 105, 0.06);
}
.flipbook-page.left:hover {
  box-shadow: 3px 0 10px rgba(48, 67, 105, 0.08);
}
.flipbook-page.right {
  transform-origin: left center;
  border-left: 1px solid rgba(48, 67, 105, 0.06);
  box-shadow: -2px 0 6px rgba(48, 67, 105, 0.06);
}
.flipbook-page.right:hover {
  box-shadow: -3px 0 10px rgba(48, 67, 105, 0.08);
}
.flipbook-page.empty {
  background: linear-gradient(135deg, #f8f8f8 0%, #fafafa 50%, #fcfcfc 100%);
  box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.03);
}
.flipbook-page.flipping {
  animation: pageFlipForward 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 10;
}
.flipbook-page.flipping-back {
  animation: pageFlipBackward 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 10;
}
.flipbook-page canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
@media (max-width: 768px) {
  .flipbook-page {
    width: 300px;
    height: 430px;
  }
}
@media (max-width: 480px) {
  .flipbook-page {
    width: calc(50vw - 20px);
    height: calc((50vw - 20px) * 1.42);
  }
}

.page-curl {
  position: absolute;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.page-curl.page-curl-next {
  bottom: 0;
  right: 0;
}
.page-curl.page-curl-next::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 55px 55px;
  border-color: transparent transparent rgba(220, 220, 220, 0.95) transparent;
  box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.25), -1px 1px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
  filter: drop-shadow(-2px 2px 4px rgba(0, 0, 0, 0.1));
}
.page-curl.page-curl-next::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 53px 53px;
  border-color: transparent transparent #ffffff transparent;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgb(250, 250, 250) 100%);
}
.page-curl.page-curl-next:hover {
  width: 110px;
  height: 110px;
}
.page-curl.page-curl-next:hover::before {
  border-width: 0 0 95px 95px;
  box-shadow: -5px 5px 18px rgba(0, 0, 0, 0.35), -2px 2px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(-3px 3px 6px rgba(0, 0, 0, 0.15));
}
.page-curl.page-curl-next:hover::after {
  border-width: 0 0 93px 93px;
}
.page-curl.page-curl-next:active {
  transform: scale(0.98);
}
.page-curl.page-curl-prev {
  bottom: 0;
  left: 0;
}
.page-curl.page-curl-prev::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 55px 55px 0;
  border-color: transparent rgba(220, 220, 220, 0.95) transparent transparent;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25), 1px 1px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom left;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}
.page-curl.page-curl-prev::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 53px 53px 0;
  border-color: transparent #ffffff transparent transparent;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(225deg, rgba(255, 255, 255, 0.95) 0%, rgb(250, 250, 250) 100%);
}
.page-curl.page-curl-prev:hover {
  width: 110px;
  height: 110px;
}
.page-curl.page-curl-prev:hover::before {
  border-width: 0 95px 95px 0;
  box-shadow: 5px 5px 18px rgba(0, 0, 0, 0.35), 2px 2px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}
.page-curl.page-curl-prev:hover::after {
  border-width: 0 93px 93px 0;
}
.page-curl.page-curl-prev:active {
  transform: scale(0.98);
}

.flipbook-page.left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.flipbook-page.right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.flipbook-spread.cover-mode {
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread.cover-mode .flipbook-page {
  flex: 0 0 auto;
  max-width: 420px;
  box-shadow: 0 15px 50px rgba(48, 67, 105, 0.2), 0 8px 25px rgba(48, 67, 105, 0.15), 0 0 1px rgba(48, 67, 105, 0.1);
  transform: translateY(0) rotateX(0deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.flipbook-spread.cover-mode .flipbook-page:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(48, 67, 105, 0.25), 0 10px 30px rgba(48, 67, 105, 0.18), 0 0 1px rgba(48, 67, 105, 0.12);
}
.flipbook-spread.cover-mode .flipbook-page.center::before {
  display: none;
}
@media (max-width: 768px) {
  .flipbook-spread.cover-mode .flipbook-page {
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  .flipbook-spread.cover-mode .flipbook-page {
    width: 70vw;
    height: 99.4vw;
    max-width: none;
  }
}

.flipbook-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #666;
  z-index: 100;
}
.flipbook-loading .spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #1c2024;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.flipbook-loading p {
  font-size: 1rem;
  color: #888;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pageFlipForward {
  0% {
    transform: perspective(3000px) rotateY(0deg);
    box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.95);
  }
  50% {
    transform: perspective(3000px) rotateY(-90deg);
    box-shadow: -12px 8px 30px rgba(48, 67, 105, 0.25);
    filter: brightness(0.9);
  }
  75% {
    filter: brightness(0.95);
  }
  100% {
    transform: perspective(3000px) rotateY(-180deg);
    box-shadow: -4px 4px 18px rgba(48, 67, 105, 0.18);
    filter: brightness(1);
  }
}
@keyframes pageFlipBackward {
  0% {
    transform: perspective(3000px) rotateY(0deg);
    box-shadow: 0 4px 12px rgba(48, 67, 105, 0.08);
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.95);
  }
  50% {
    transform: perspective(3000px) rotateY(90deg);
    box-shadow: 12px 8px 30px rgba(48, 67, 105, 0.25);
    filter: brightness(0.9);
  }
  75% {
    filter: brightness(0.95);
  }
  100% {
    transform: perspective(3000px) rotateY(180deg);
    box-shadow: 4px 4px 18px rgba(48, 67, 105, 0.18);
    filter: brightness(1);
  }
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.flipbook-controls .flipbook-more-wrapper {
  display: none;
}
@media (max-width: 480px) {
  .flipbook-controls {
    gap: 0;
    padding: 0.6rem 0.8rem;
    border-radius: 40px;
    margin-top: 1rem;
    justify-content: space-between;
  }
  .flipbook-controls .flipbook-extra-btn {
    display: none !important;
  }
  .flipbook-controls .flipbook-more-wrapper {
    display: block;
  }
}

.flipbook-more-wrapper {
  position: relative;
}

.flipbook-more-btn {
  background: linear-gradient(135deg, #1c2024 0%, rgb(50.3125, 57.5, 64.6875) 100%) !important;
}

.flipbook-more-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: -8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-radius: 14px;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1100;
}
.flipbook-more-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.flipbook-more-menu::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.flipbook-more-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  background: none;
  color: #1c2024;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.flipbook-more-item:hover {
  background: rgba(28, 32, 36, 0.06);
  padding-left: 1.2rem;
}
.flipbook-more-item:not(:last-child) {
  border-bottom: 1px solid rgba(28, 32, 36, 0.06);
}
.flipbook-more-item svg {
  flex-shrink: 0;
  stroke: #1c2024;
}

.flip-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.35), 0 2px 8px rgba(110, 131, 172, 0.25);
  position: relative;
  overflow: hidden;
}
.flip-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.flip-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(110, 131, 172, 0.45), 0 4px 12px rgba(110, 131, 172, 0.35);
}
.flip-btn:hover:not(:disabled)::before {
  width: 100%;
  height: 100%;
}
.flip-btn:active:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}
.flip-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(0.5);
}
.flip-btn.sound-btn {
  background: linear-gradient(135deg, #8a9aac 0%, #7a8ba0 100%);
}
.flip-btn.sound-btn:hover {
  background: linear-gradient(135deg, #96a6b8 0%, #8697ac 100%);
}
.flip-btn svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
@media (max-width: 480px) {
  .flip-btn {
    width: 38px;
    height: 38px;
    justify-self: center;
  }
  .flip-btn svg {
    width: 18px;
    height: 18px;
  }
}

.download-btn {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(110, 131, 172, 0.3);
  text-decoration: none;
}
.download-btn:hover {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(110, 131, 172, 0.4);
}
.download-btn:active {
  transform: translateY(0);
}
.download-btn svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 480px) {
  .download-btn {
    width: 38px;
    height: 38px;
    justify-self: center;
  }
  .download-btn svg {
    width: 18px;
    height: 18px;
  }
}

.page-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c2024;
  min-width: 100px;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.page-number:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
@media (max-width: 480px) {
  .page-number {
    font-size: 0.75rem;
    min-width: 50%;
    flex: 0 1 auto;
    border-radius: 16px;
  }
}

.flipbook-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  margin: 3rem auto 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.flipbook-cta p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
@media (max-width: 480px) {
  .flipbook-cta p {
    font-size: 1rem;
  }
}
.flipbook-cta .cta-button {
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(110, 131, 172, 0.3);
}
.flipbook-cta .cta-button:hover {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 131, 172, 0.4);
}
.flipbook-cta .cta-button:active {
  transform: translateY(0);
}
@media (max-width: 480px) {
  .flipbook-cta .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .flipbook-cta {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .flipbook-spread {
    width: 90vw !important;
    max-width: 600px;
  }
}
@media (max-width: 480px) {
  .flipbook-spread {
    width: 95vw !important;
    max-width: 400px;
    transform: scale(1.25);
  }
}
.site-footer {
  background-color: #1c2024;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}
.site-footer .footer-content p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.site-footer .footer-content p a {
  color: #e9ebee;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}
.site-footer .footer-content p a:hover {
  color: rgb(235.2, 237, 239.7);
  border-bottom: 2px solid #e9ebee;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 0;
    margin-top: 3rem;
    margin-bottom: 0;
  }
  .site-footer .footer-content p {
    font-size: 0.9rem;
  }
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #495057;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.colophon-note {
  max-width: 46ch;
  margin: 2.5rem auto 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid #ced4da;
  text-align: left;
}
.colophon-note p {
  margin: 0;
  max-width: none;
}
.colophon-note__term {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f1216;
  letter-spacing: 0.02em;
}
.colophon-note__pos {
  margin-left: 0.5rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: #868e96;
}
.colophon-note__gloss {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b737c;
}
.colophon-note__tie {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #495057;
  font-weight: 500;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: rise-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-content h1 {
    animation-delay: 60ms;
  }
  .hero-content .hero-lead {
    animation-delay: 110ms;
  }
  .hero-content .hero-actions {
    animation-delay: 160ms;
  }
  .hero-content .hero-assurance {
    animation-delay: 210ms;
  }
  .hero-figure {
    animation: rise-in 320ms cubic-bezier(0.16, 1, 0.3, 1) 140ms both;
  }
}
.hero-section {
  text-align: left;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 767px) {
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.hero-content {
  max-width: 34rem;
}
.hero-content h1 {
  max-width: 16ch;
}
.hero-content .hero-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 46ch;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-assurance {
  margin: 1.5rem 0 0;
  max-width: 44ch;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #868e96;
  padding-left: 1rem;
  border-left: 1px solid #e1e5ea;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 80ms cubic-bezier(0.2, 0, 0.2, 1);
}
.btn-primary:active,
.btn-ghost:active {
  transform: translateY(1px);
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-ghost {
    transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .btn-primary:active,
  .btn-ghost:active {
    transform: none;
  }
}

.btn-primary {
  background: #0f1216;
  border-color: #0f1216;
  color: #ffffff;
}
.btn-primary:hover {
  background: #2f353b;
  border-color: #2f353b;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: #ced4da;
  color: #0f1216;
}
.btn-ghost:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  color: #0f1216;
  text-decoration: none;
}

.fixes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem 2.5rem;
}

.fix {
  padding-left: 1.25rem;
  border-left: 4px solid #e1e5ea;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.fix:hover {
  border-left-color: #0f83b4;
}
.fix__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f1216;
}
.fix__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #495057;
}
.fix__body code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: #f1f3f5;
  border-radius: 2px;
  padding: 0.1em 0.35em;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.tool {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0, 0.2, 1), transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.tool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #868e96;
  margin-bottom: 0.75rem;
}
.tool__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.tool__status {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
  padding: 0.15rem 0.5rem;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
}
.tool__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f1216;
}
.tool__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #495057;
}
.tool__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a6b95;
}
.tool__cta svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.tool--live:hover {
  border-color: #ced4da;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
  transform: translateY(-1px);
  text-decoration: none;
}
.tool--live:hover .tool__cta svg {
  transform: translateX(3px);
}
.tool--live:hover .tool__icon {
  color: #0f1216;
}
.tool--live:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.tool--live .tool__status {
  color: #12805c;
  border-color: #12805c;
}
@media (prefers-reduced-motion: reduce) {
  .tool {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .tool--live:hover {
    transform: none;
  }
}

.mark {
  background: linear-gradient(to bottom, transparent 12%, rgba(15, 131, 180, 0.18) 12%, rgba(15, 131, 180, 0.22) 84%, transparent 84%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: inherit;
  padding: 0 0.12em;
  border-radius: 1px;
}

.wordmark {
  position: relative;
}

.glossary {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: -0.75rem;
  width: 25rem;
  max-width: 78vw;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(15, 18, 22, 0.05), 0 12px 28px rgba(15, 18, 22, 0.09);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 140ms cubic-bezier(0.2, 0, 0.2, 1), visibility 140ms;
}
.wordmark:hover .glossary, .wordmark:focus-within .glossary {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (max-width: 767px) {
  .glossary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glossary {
    transition: none;
  }
}
.glossary::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 2.25rem;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-left: 1px solid #e1e5ea;
  border-top: 1px solid #e1e5ea;
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}
.glossary__headword {
  margin: 0 0 0.5rem;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.375rem;
  line-height: 1.1;
  color: #0f1216;
}
.glossary__pron {
  margin-left: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  color: #868e96;
}
.glossary__pos {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  font-style: italic;
  color: #6b737c;
}
.glossary__etym {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.8125rem;
  color: #6b737c;
}
.glossary__etym em {
  font-style: italic;
  color: #495057;
}
.glossary__senses {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.glossary__senses li {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #495057;
}
.glossary__senses li::marker {
  color: #868e96;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}
.glossary__senses strong {
  color: #0f1216;
  font-weight: 600;
}

.home-page .faq-section {
  background: #ffffff;
  border-top-color: #ced4da;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}
.faq__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.faq__item {
  background: #f8f9fa;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  padding: 0 1.25rem;
  transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__item:hover {
  border-color: #ced4da;
}
.faq__item[open] {
  border-color: #6dbfe0;
}

.faq__q {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #0f1216;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::after {
  content: "";
  flex: none;
  margin-left: auto;
  align-self: center;
  width: 0.7rem;
  height: 0.7rem;
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: #868e96;
  transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.faq__q:hover {
  color: #0a5876;
}
.faq__q:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 3px;
}

.faq__item[open] > .faq__q {
  color: #0a5876;
}
.faq__item[open] > .faq__q::after {
  color: #0f83b4;
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
}

.faq__a {
  padding: 0 0 1.25rem;
}
.faq__a p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #495057;
}
.faq__a p:last-child {
  margin-bottom: 0;
}
.faq__a strong {
  color: #0f1216;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .faq__q::after {
    transition: none;
  }
}
.hero-assurance {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  max-width: 46ch;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #868e96;
}
.hero-assurance svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.15em;
  color: red;
}

.fix__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.fix__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.fix {
  border-left-color: #12805c;
}

.tool--live {
  background: #edf7fb;
  border-color: #a6d9ed;
}
.tool--live .tool__title {
  color: #0f1216;
}
.tool--live .tool__body {
  color: #495057;
  max-width: 46ch;
}
.tool--live .tool__icon {
  color: #0a6b95;
}
.tool--live .tool__status {
  color: #0a5876;
  border-color: #6dbfe0;
}
.tool--live:hover {
  background: #d3ecf6;
  border-color: #6dbfe0;
}

.toolkit-section {
  background: #ffffff;
}

.sheet {
  border-top: 1px solid #e1e5ea;
  padding: 4rem 0;
}
.sheet__grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 2.5rem;
}
@media (max-width: 991px) {
  .sheet__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}
.sheet__rail {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 991px) {
  .sheet__rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
}
.sheet__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #0a5876;
  width: 2.5rem;
  height: 1.75rem;
}
.sheet__ring {
  position: absolute;
  inset: -0.35rem -0.15rem;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--tilt, 0deg));
  width: auto;
  height: auto;
  overflow: visible;
}
.sheet__ring path {
  fill: none;
  stroke: #0f83b4;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.sheet__label {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.sheet__title {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f1216;
  max-width: 22ch;
  text-wrap: balance;
}
.sheet__lead {
  margin: 0.75rem 0 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #495057;
}
.sheet__body > .fixes-list, .sheet__body > .tool-grid, .sheet__body > .faq {
  margin-top: 2.5rem;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}
.logo-mark__card {
  fill: none;
  stroke: #ced4da;
  stroke-width: 1.4;
}
.logo-mark__line {
  stroke: #adb5bd;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.logo-mark__strike {
  fill: none;
  stroke: #0f83b4;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.logo-wrapper .book-shelf {
  flex: none;
  margin: 0;
}
.logo-wrapper .logo {
  margin-left: -0.75rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}
@media (max-width: 767px) {
  .hero-section {
    padding-top: 2.5rem;
  }
}

.hero-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.hero-head h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}
.hero-head .hero-lead {
  margin: 0 auto;
  max-width: 54ch;
  font-size: 1.125rem;
  color: #495057;
}

.drop {
  position: relative;
  display: block;
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #ffffff;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop.is-over {
  border-color: #0f83b4;
  border-style: solid;
  background: #edf7fb;
}
.drop.is-busy {
  border-style: solid;
  border-color: #e1e5ea;
}
.drop.is-busy .drop__input {
  pointer-events: none;
}
.drop:focus-within {
  border-color: #0f83b4;
}
.drop__icon {
  display: inline-flex;
  color: #868e96;
  margin-bottom: 1rem;
  animation: iconBounce 4s ease-in-out infinite;
}
.drop__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .drop__icon {
    animation: none;
  }
}
.drop__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f1216;
}
.drop__sub {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #495057;
}
.drop__browse {
  color: #0a6b95;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.drop__facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 576px) {
  .drop__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.drop__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drop__fact-k {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.drop__fact-v {
  font-size: 0.8125rem;
  color: #0f1216;
  font-weight: 500;
}
.drop__spinner {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  border: 2px solid #e1e5ea;
  border-top-color: #0f83b4;
  border-radius: 50%;
  animation: drop-spin 700ms linear infinite;
}
.drop__error {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  background: #fdeeec;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: #9c2a20;
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .drop {
    transition: border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .drop__spinner {
    animation-duration: 1400ms;
  }
}

@keyframes drop-spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-underline {
  margin: 1.5rem auto 0;
  font-size: 0.8125rem;
  color: #868e96;
}
.hero-underline a {
  color: #0a6b95;
  text-decoration: none;
}
.hero-underline a:hover {
  text-decoration: underline;
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.stage .drop {
  flex: 0 1 46rem;
  margin: 0;
}

.shelf-art {
  position: absolute;
  bottom: 0;
  height: auto;
  pointer-events: none;
}
.shelf-art--left {
  width: 12rem;
  right: calc(50% + 23rem + 0.5rem);
}
.shelf-art--right {
  width: 21rem;
  left: calc(50% + 23rem + 0.5rem);
  bottom: 0.25rem;
}
@media (max-width: 991px) {
  .shelf-art {
    display: none;
  }
}

.hero-head,
.hero-underline {
  position: relative;
  z-index: 1;
}

.corrections {
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}
.corrections__row {
  display: flex;
  align-items: center;
  gap: 10rem;
}
@media (max-width: 991px) {
  .corrections__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.corrections__heading {
  flex: none;
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.corrections__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem 2rem;
}
@media (max-width: 991px) {
  .corrections__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .corrections__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.correction-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}
.correction-item__field {
  flex: none;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}
.correction-item__was {
  position: relative;
  flex: none;
  font-size: 0.8125rem;
  color: #868e96;
  white-space: nowrap;
}
.correction-item__strike {
  position: absolute;
  left: -4%;
  top: 42%;
  width: 108%;
  height: 0.6em;
  overflow: visible;
}
.correction-item__strike path {
  fill: none;
  stroke: #c8372a;
  stroke-width: 1.8;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.correction-item__now {
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 600;
  color: #0a6b95;
  white-space: nowrap;
  min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .correction-item__strike path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: strike-draw 520ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }
  .correction-item__now {
    animation: write-nudge 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .correction-item:nth-child(1) .correction-item__strike path {
    animation-delay: 300ms;
  }
  .correction-item:nth-child(1) .correction-item__now {
    animation-delay: 780ms;
  }
  .correction-item:nth-child(2) .correction-item__strike path {
    animation-delay: 520ms;
  }
  .correction-item:nth-child(2) .correction-item__now {
    animation-delay: 1000ms;
  }
  .correction-item:nth-child(3) .correction-item__strike path {
    animation-delay: 740ms;
  }
  .correction-item:nth-child(3) .correction-item__now {
    animation-delay: 1220ms;
  }
}
@keyframes strike-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes write-nudge {
  from {
    transform: translateY(4px);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet__ring path {
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    animation: ring-draw 700ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
  }
}
@keyframes ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.faq__item[open] > .faq__a {
  animation: faq-open 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] > .faq__a {
    animation: none;
  }
  .sheet__ring path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
.bot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 991px) {
  .bot {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.bot__lead {
  max-width: 68ch;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #495057;
}

.bot__body {
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b737c;
}

.bot__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.bot__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #0f1216;
}

.bot__tick {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #edf7fb;
  color: #0a6b95;
}
.bot__tick svg {
  width: 0.75rem;
  height: 0.75rem;
}

.bot__note {
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b737c;
}

.bot__cta {
  align-self: flex-start;
  background: #0f1216;
  color: #ffffff;
}
.bot__cta:hover {
  background: #2f353b;
  color: #ffffff;
  text-decoration: none;
}
.bot__cta svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.bot__cta:hover svg {
  transform: translate(1px, -1px);
}

.bot__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}
@media (max-width: 991px) {
  .bot__art {
    order: -1;
  }
}

.bot__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26rem;
  height: 26rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(15, 131, 180, 0.16) 0%, rgba(15, 131, 180, 0.07) 38%, rgba(15, 131, 180, 0) 68%);
  pointer-events: none;
  animation: bot-glow 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 576px) {
  .bot__glow {
    width: 20rem;
    height: 20rem;
  }
}

@keyframes bot-step-head {
  0%, 0% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  2%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-out {
  0%, 5% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  9%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-in {
  0%, 13% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  17%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-done {
  0%, 21% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  25%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-seal {
  0%, 27% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  31%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-composer {
  0%, 34% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  38%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-send {
  0%, 34% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  38%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
  }
}
@keyframes bot-step-tick {
  0%, 33% {
    opacity: 0;
    stroke-dashoffset: 100;
  }
  34% {
    opacity: 1;
    stroke-dashoffset: 100;
  }
  41%, 88% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  95%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes bot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes bot-msg {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes bot-seal {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bot-tick {
  to {
    stroke-dashoffset: 0;
  }
}
.bot__sky {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30rem;
  height: 30rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}
.bot__sky .ping {
  fill: none;
  stroke: #2f9fcd;
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 210px 210px;
  animation: bot-ping 7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.bot__sky .ping--2 {
  animation-delay: 3.5s;
}
@media (max-width: 576px) {
  .bot__sky {
    width: 22rem;
    height: 22rem;
  }
}

@keyframes bot-ping {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  12% {
    opacity: 0.35;
  }
  60% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes bot-glow {
  0%, 100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 17rem;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(15, 18, 22, 0.16));
  animation: bot-float 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 576px) {
  .phone {
    max-width: 13.5rem;
  }
}
.phone .phone__body {
  fill: #ffffff;
  stroke: #ced4da;
  stroke-width: 2;
}
.phone .phone__screen {
  fill: #f8f9fa;
  stroke: #e9ecef;
  stroke-width: 1;
}
.phone .phone__speaker,
.phone .phone__home {
  stroke: #ced4da;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.phone .avatar {
  fill: #0f83b4;
}
.phone .avatar__plane {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.phone .chat__rule {
  stroke: #e9ecef;
  stroke-width: 1;
}
.phone .bar {
  fill: #ced4da;
}
.phone .bar--faint {
  fill: #e1e5ea;
}
.phone .bar--name {
  fill: #adb5bd;
}
.phone .bar--sub {
  fill: #e1e5ea;
}
.phone .msg--out .msg__ground {
  fill: #edf7fb;
  stroke: #a6d9ed;
  stroke-width: 1;
}
.phone .msg--in .msg__ground {
  fill: #ffffff;
  stroke: #e1e5ea;
  stroke-width: 1;
}
.phone .msg--done .msg__ground {
  fill: #e8f6ef;
  stroke: rgba(18, 128, 92, 0.28);
  stroke-width: 1;
}
.phone .cover__face {
  fill: #ffffff;
  stroke: #0f83b4;
  stroke-width: 1.4;
}
.phone .cover__spine {
  stroke: #0f83b4;
  stroke-width: 1.4;
}
.phone .cover__band {
  fill: #a6d9ed;
}
.phone .cover--done .cover__face {
  stroke: #12805c;
}
.phone .cover--done .cover__spine {
  stroke: #12805c;
}
.phone .cover--done .cover__band {
  fill: rgba(18, 128, 92, 0.35);
}
.phone .seal {
  fill: #12805c;
  stroke: #e8f6ef;
  stroke-width: 2;
}
.phone .seal__tick {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone .composer {
  fill: #ffffff;
  stroke: #e1e5ea;
  stroke-width: 1;
}
.phone .send__ground {
  fill: #0f83b4;
}
.phone .chat__head,
.phone .msg--out,
.phone .msg--in,
.phone .msg--done,
.phone .seal,
.phone .composer,
.phone .send {
  animation-duration: 12s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.phone .chat__head {
  animation-name: bot-step-head;
}
.phone .msg--out {
  animation-name: bot-step-out;
}
.phone .msg--in {
  animation-name: bot-step-in;
}
.phone .msg--done {
  animation-name: bot-step-done;
}
.phone .composer {
  animation-name: bot-step-composer;
}
.phone .send {
  animation-name: bot-step-send;
}
.phone .msg--out {
  transform-origin: 85% 100%;
}
.phone .msg--in,
.phone .msg--done {
  transform-origin: 15% 100%;
}
.phone .seal {
  transform-origin: 62px 211px;
  animation-name: bot-step-seal;
}
.phone .seal__tick {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: bot-step-tick 12s cubic-bezier(0.16, 1, 0.3, 1) infinite both;
}
.phone .send__plane,
.phone .send__fold {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
  .bot__sky .ping,
  .bot__glow,
  .phone,
  .phone .chat__head,
  .phone .msg--out,
  .phone .msg--in,
  .phone .msg--done,
  .phone .seal,
  .phone .composer,
  .phone .send {
    animation: none;
  }
  .phone .seal__tick {
    stroke-dashoffset: 0;
  }
}
.editor-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
  padding-bottom: 3rem;
}
@media (max-width: 767px) {
  .editor-page {
    padding-bottom: 0;
  }
}
.editor-page .background-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at center, #ced4da 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, #000 100%);
  opacity: 0.55;
}
@media (max-width: 767px) {
  .editor-page .background-image {
    display: none;
  }
}
.editor-page .container {
  position: relative;
  z-index: 1;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.editor-page .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 1rem;
}
@media (min-width: 992px) {
  .editor-page .content-wrapper {
    flex-direction: row;
  }
}
.editor-page .ad-column {
  max-height: 900px;
  display: none;
}
@media (min-width: 992px) {
  .editor-page .ad-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 15rem;
  }
}
.editor-page .ad-space {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  width: 100%;
}
.editor-page .ad-space .ad-placeholder {
  color: #1c2024;
  font-size: 0.875rem;
  text-align: center;
}
.editor-page .ad-space-left,
.editor-page .ad-space-right {
  height: 32rem;
  flex-grow: 1;
}
@media (max-width: 991px) {
  .editor-page .ad-space-left,
  .editor-page .ad-space-right {
    width: calc(50% - 1rem);
  }
}
.editor-page .ad-info-block {
  border-radius: 0 0 6px 6px;
  padding: 1rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #8AAFF5 0%, #7BA3F2 25%, #6C97EF 50%, #5D8BEC 75%, #4E7FE9 100%);
}
.editor-page .ad-info-block p {
  margin: 0;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.editor-page .ad-column .ad-info-block {
  background: #6e83ac;
}

.cover-page .cover-form, .editor-page .cover-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.cover-page .cover-form > *, .editor-page .cover-form > * {
  position: relative;
  z-index: 1;
}
.cover-page .cover-form, .editor-page .cover-form {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.95);
  flex: 1;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 235, 238, 0.2);
  overflow: visible;
  padding: 20px 70px;
}
@media (max-width: 991px) {
  .cover-page .cover-form, .editor-page .cover-form {
    margin: 0;
    padding: 20px;
  }
}
.cover-page .cover-form > *, .editor-page .cover-form > * {
  position: relative;
  z-index: 1;
}
.cover-page .cover-form::after, .editor-page .cover-form::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.02) 0%, transparent 25%, rgba(28, 32, 36, 0.01) 50%, transparent 75%, rgba(233, 235, 238, 0.02) 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 6px;
}
.cover-page .cover-form .form-header, .editor-page .cover-form .form-header {
  margin-bottom: 30px;
  color: #1c2024;
  text-align: center;
}
.cover-page .cover-form .form-header h2,
.cover-page .cover-form .form-header h3, .editor-page .cover-form .form-header h2,
.editor-page .cover-form .form-header h3 {
  font-size: 1.375rem;
  color: #1c2024;
  margin-bottom: 0;
}
.cover-page .cover-form .form-header p, .editor-page .cover-form .form-header p {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .cover-page .cover-form .form-header p, .editor-page .cover-form .form-header p {
    font-size: 1.125rem;
  }
}
.cover-page .cover-form .book-preview, .editor-page .cover-form .book-preview {
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.08) 0%, rgba(28, 32, 36, 0.04) 100%);
  border: 2px solid rgba(233, 235, 238, 0.4);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.cover-page .cover-form .book-preview .preview-header, .editor-page .cover-form .book-preview .preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(233, 235, 238, 0.2);
}
.cover-page .cover-form .book-preview .preview-header h2,
.cover-page .cover-form .book-preview .preview-header h3, .editor-page .cover-form .book-preview .preview-header h2,
.editor-page .cover-form .book-preview .preview-header h3 {
  color: #1c2024;
  margin: 0;
  font-size: 1.125rem;
}
.cover-page .cover-form .book-preview .preview-header .close-preview, .editor-page .cover-form .book-preview .preview-header .close-preview {
  background: none;
  border: none;
  font-size: 1.375rem;
  color: #1c2024;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.cover-page .cover-form .book-preview .preview-header .close-preview:hover, .editor-page .cover-form .book-preview .preview-header .close-preview:hover {
  background-color: rgba(28, 32, 36, 0.1);
}
.cover-page .cover-form .book-preview .preview-content, .editor-page .cover-form .book-preview .preview-content {
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .cover-page .cover-form .book-preview .preview-content, .editor-page .cover-form .book-preview .preview-content {
    flex-direction: column;
    align-items: center;
  }
}
.cover-page .cover-form .book-preview .preview-cover, .editor-page .cover-form .book-preview .preview-cover {
  flex: 0 0 120px;
  height: 160px;
  position: relative;
}
.cover-page .cover-form .book-preview .preview-cover img, .editor-page .cover-form .book-preview .preview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.cover-page .cover-form .book-preview .preview-cover .cover-placeholder, .editor-page .cover-form .book-preview .preview-cover .cover-placeholder {
  width: 100%;
  height: 100%;
  background: #e9ebee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.875rem;
  gap: 0.5rem;
}
.cover-page .cover-form .book-preview .preview-info, .editor-page .cover-form .book-preview .preview-info {
  flex: 1;
}
.cover-page .cover-form .book-preview .preview-info .form-group, .editor-page .cover-form .book-preview .preview-info .form-group {
  margin-bottom: 1rem;
}
.cover-page .cover-form .book-preview .preview-info .form-group label, .editor-page .cover-form .book-preview .preview-info .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1c2024;
  font-weight: 500;
}
.cover-page .cover-form .book-preview .preview-info .form-group input,
.cover-page .cover-form .book-preview .preview-info .form-group textarea, .editor-page .cover-form .book-preview .preview-info .form-group input,
.editor-page .cover-form .book-preview .preview-info .form-group textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.cover-page .cover-form .book-preview .preview-info .form-group input:focus,
.cover-page .cover-form .book-preview .preview-info .form-group textarea:focus, .editor-page .cover-form .book-preview .preview-info .form-group input:focus,
.editor-page .cover-form .book-preview .preview-info .form-group textarea:focus {
  outline: none;
  border-color: #e9ebee;
}
.cover-page .cover-form .book-preview .preview-info .form-group input,
.cover-page .cover-form .book-preview .preview-info .form-group textarea, .editor-page .cover-form .book-preview .preview-info .form-group input,
.editor-page .cover-form .book-preview .preview-info .form-group textarea {
  font-weight: 500;
}
.cover-page .cover-form .book-preview .preview-info .form-group textarea, .editor-page .cover-form .book-preview .preview-info .form-group textarea {
  resize: vertical;
  min-height: 4.5rem;
  font-family: inherit;
}
.cover-page .cover-form .book-preview .preview-info .label-note, .editor-page .cover-form .book-preview .preview-info .label-note {
  margin-left: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #868e96;
  text-transform: uppercase;
}
.cover-page .cover-form .book-preview .preview-info .field-row, .editor-page .cover-form .book-preview .preview-info .field-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cover-page .cover-form .book-preview .preview-info .field-row .form-group, .editor-page .cover-form .book-preview .preview-info .field-row .form-group {
  flex: 1 1 0;
  min-width: 0;
}
.cover-page .cover-form .book-preview .preview-info .field-row .form-group--narrow, .editor-page .cover-form .book-preview .preview-info .field-row .form-group--narrow {
  flex: 0 1 8rem;
}
@media (max-width: 576px) {
  .cover-page .cover-form .book-preview .preview-info .field-row, .editor-page .cover-form .book-preview .preview-info .field-row {
    flex-direction: column;
    gap: 0;
  }
  .cover-page .cover-form .book-preview .preview-info .field-row .form-group--narrow, .editor-page .cover-form .book-preview .preview-info .field-row .form-group--narrow {
    flex: 1 1 auto;
  }
}
.cover-page .cover-form .book-preview .preview-info .input-hint--standalone, .editor-page .cover-form .book-preview .preview-info .input-hint--standalone {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields, .editor-page .cover-form .book-preview .preview-info .advanced-fields {
  margin-bottom: 1rem;
  border-top: 1px solid #e1e5ea;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__summary, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: #495057;
  user-select: none;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__summary::-webkit-details-marker, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary::-webkit-details-marker {
  display: none;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__summary::before, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform-origin: 25% 50%;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__summary:hover, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary:hover {
  color: #0f1216;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__summary:focus-visible, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields[open] .cover-page .cover-form .book-preview .preview-info .advanced-fields__summary::before, .cover-page .cover-form .book-preview .preview-info .advanced-fields[open] .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary::before, .editor-page .cover-form .book-preview .preview-info .advanced-fields[open] .cover-page .cover-form .book-preview .preview-info .advanced-fields__summary::before, .editor-page .cover-form .book-preview .preview-info .advanced-fields[open] .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary::before {
  transform: rotate(90deg);
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__meta, .editor-page .cover-form .book-preview .preview-info .advanced-fields__meta {
  margin-left: auto;
  font-size: 0.75rem;
  color: #868e96;
  font-weight: 400;
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__meta--filled, .editor-page .cover-form .book-preview .preview-info .advanced-fields__meta--filled {
  color: #0a6b95;
  font-weight: 500;
}
@media (max-width: 576px) {
  .cover-page .cover-form .book-preview .preview-info .advanced-fields__meta, .editor-page .cover-form .book-preview .preview-info .advanced-fields__meta {
    display: none;
  }
}
.cover-page .cover-form .book-preview .preview-info .advanced-fields__body, .editor-page .cover-form .book-preview .preview-info .advanced-fields__body {
  padding-top: 0.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .cover-page .cover-form .book-preview .preview-info .advanced-fields__summary::before, .editor-page .cover-form .book-preview .preview-info .advanced-fields__summary::before {
    transition: none;
  }
}
.cover-page .cover-form .book-preview .preview-info .book-metadata, .editor-page .cover-form .book-preview .preview-info .book-metadata {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(233, 235, 238, 0.2);
}
.cover-page .cover-form .book-preview .preview-info .book-metadata .metadata-item, .editor-page .cover-form .book-preview .preview-info .book-metadata .metadata-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.cover-page .cover-form .book-preview .preview-info .book-metadata .metadata-item .label, .editor-page .cover-form .book-preview .preview-info .book-metadata .metadata-item .label {
  color: #1c2024;
  font-weight: 500;
}
.cover-page .cover-form .book-preview .preview-info .book-metadata .metadata-item .value, .editor-page .cover-form .book-preview .preview-info .book-metadata .metadata-item .value {
  color: #1c2024;
}
.cover-page .cover-form .file-upload-row, .editor-page .cover-form .file-upload-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-row, .editor-page .cover-form .file-upload-row {
    flex-direction: column;
    gap: 1rem;
  }
}
.cover-page .cover-form .file-upload-row .file-upload-group, .editor-page .cover-form .file-upload-row .file-upload-group {
  flex: 1;
  margin-bottom: 0;
}
.cover-page .cover-form .file-upload-row .file-upload-group label, .editor-page .cover-form .file-upload-row .file-upload-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c2024;
  font-weight: 500;
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload {
  border: 0.125rem dashed #e9ebee;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-row .file-upload-group .file-upload, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload {
    padding: 2rem;
  }
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload:hover, .cover-page .cover-form .file-upload-row .file-upload-group .file-upload.dragover, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload:hover, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload.dragover {
  background-color: #edf7fb;
  border-color: #2f9fcd;
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload .file-input, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-icon, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-icon {
  color: #1c2024;
  margin-bottom: 1rem;
  animation: iconBounce 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  font-size: 2em;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-icon, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text h3, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text h3 {
  color: #1c2024;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text h3, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text h3 {
    font-size: 1rem;
  }
}
.cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text p, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text p {
  color: rgba(28, 32, 36, 0.7);
  margin: 0;
  font-size: 0.875rem;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text p, .editor-page .cover-form .file-upload-row .file-upload-group .file-upload .upload-text p {
    font-size: 0.75rem;
  }
}
.cover-page .cover-form .file-upload-group, .editor-page .cover-form .file-upload-group {
  margin-bottom: 30px;
  overflow: visible;
}
.cover-page .cover-form .file-upload-group label, .editor-page .cover-form .file-upload-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c2024;
  font-weight: 500;
}
.cover-page .cover-form .file-upload-group .file-upload, .editor-page .cover-form .file-upload-group .file-upload {
  border: 2px dashed rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: visible;
}
.cover-page .cover-form .file-upload-group .file-upload:hover, .cover-page .cover-form .file-upload-group .file-upload.dragover, .editor-page .cover-form .file-upload-group .file-upload:hover, .editor-page .cover-form .file-upload-group .file-upload.dragover {
  border-color: #2f9fcd;
  background: #edf7fb;
}
.cover-page .cover-form .file-upload-group .file-upload .file-input, .editor-page .cover-form .file-upload-group .file-upload .file-input {
  position: absolute;
  opacity: 0;
  width: calc(100% - 60px);
  height: 100%;
  cursor: pointer;
  z-index: 1;
}
.cover-page .cover-form .file-upload-group .file-upload .upload-icon, .editor-page .cover-form .file-upload-group .file-upload .upload-icon {
  color: #1c2024;
  margin-bottom: 1rem;
}
.cover-page .cover-form .file-upload-group .file-upload .upload-text h3, .editor-page .cover-form .file-upload-group .file-upload .upload-text h3 {
  color: #1c2024;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}
.cover-page .cover-form .file-upload-group .file-upload .upload-text p, .editor-page .cover-form .file-upload-group .file-upload .upload-text p {
  color: rgba(28, 32, 36, 0.7);
  margin: 0;
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(233, 235, 238, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  padding: 0;
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact .drive-icon, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact .drive-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact .drive-tooltip, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact .drive-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  white-space: nowrap;
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(233, 235, 238, 0.1);
  z-index: 9999;
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover {
  transform: scale(1.05);
  background: white;
  border-color: #e9ebee;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.2);
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover .drive-icon, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover .drive-icon {
  transform: scale(1.2);
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover .drive-tooltip, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact:hover .drive-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.cover-page .cover-form .file-upload-group .file-upload .google-drive-compact:active, .editor-page .cover-form .file-upload-group .file-upload .google-drive-compact:active {
  transform: scale(0.95);
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview, .editor-page .cover-form .file-upload-group .file-upload .file-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  z-index: 3;
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(233, 235, 238, 0.1);
  border-radius: 6px;
  max-width: 80%;
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info .file-name, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info .file-name {
  color: #1c2024;
  font-weight: 500;
  font-size: 0.875rem;
  word-break: break-word;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info .file-name, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info .file-name {
    font-size: 0.8125rem;
    max-width: 150px;
  }
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file {
  background: #1c2024;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file:hover, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file:hover {
  background: rgb(5.6875, 6.5, 7.3125);
  transform: scale(1.1);
}
.cover-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file:active, .editor-page .cover-form .file-upload-group .file-upload .file-preview .file-info .remove-file:active {
  transform: scale(0.95);
}
.cover-page .cover-form h2, .editor-page .cover-form h2 {
  color: #e9ebee;
  margin-bottom: 20px;
  text-align: center;
}
.cover-page .cover-form form .form-row, .editor-page .cover-form form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .form-row, .editor-page .cover-form form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.cover-page .cover-form form .form-row .form-group, .editor-page .cover-form form .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .form-row .form-group, .editor-page .cover-form form .form-row .form-group {
    margin-bottom: 20px;
  }
}
.cover-page .cover-form form .form-group, .editor-page .cover-form form .form-group {
  margin-bottom: 20px;
}
.cover-page .cover-form form .form-group label, .editor-page .cover-form form .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c2024;
}
.cover-page .cover-form form .form-group input[type=file], .editor-page .cover-form form .form-group input[type=file] {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.cover-page .cover-form form .form-group input[type=file]:focus, .editor-page .cover-form form .form-group input[type=file]:focus {
  outline: none;
  border-color: #e9ebee;
}
.cover-page .cover-form form .form-group input[type=file], .editor-page .cover-form form .form-group input[type=file] {
  padding: 10px;
  border: 2px dashed rgb(192, 194.4, 197.6);
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.3s;
}
.cover-page .cover-form form .form-group input[type=file]:hover, .editor-page .cover-form form .form-group input[type=file]:hover {
  border-color: #e9ebee;
}
.cover-page .cover-form form .form-group select, .editor-page .cover-form form .form-group select {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.cover-page .cover-form form .form-group select:focus, .editor-page .cover-form form .form-group select:focus {
  outline: none;
  border-color: #e9ebee;
}
.cover-page .cover-form form .form-group .custom-dropdown, .editor-page .cover-form form .form-group .custom-dropdown {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 1;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .form-group .custom-dropdown, .editor-page .cover-form form .form-group .custom-dropdown {
    z-index: 999;
  }
}
.cover-page .cover-form form .form-group .custom-dropdown.active, .editor-page .cover-form form .form-group .custom-dropdown.active {
  z-index: 9999;
}
.cover-page .cover-form form .form-group .dropdown-value, .editor-page .cover-form form .form-group .dropdown-value {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  background-color: rgba(233, 235, 238, 0.3);
  border: 2px solid rgba(217, 228, 252, 0.3);
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.cover-page .cover-form form .form-group .dropdown-value:hover, .editor-page .cover-form form .form-group .dropdown-value:hover {
  background-color: rgba(233, 235, 238, 0.4);
}
.cover-page .cover-form form .form-group .dropdown-value.active, .editor-page .cover-form form .form-group .dropdown-value.active {
  background-color: rgba(233, 235, 238, 0.5);
  border-radius: 6px 6px 0 0;
}
.cover-page .cover-form form .form-group .dropdown-arrow, .editor-page .cover-form form .form-group .dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: #1c2024;
  pointer-events: none;
}
.dropdown-value.active .cover-page .cover-form form .form-group .dropdown-arrow, .dropdown-value.active .editor-page .cover-form form .form-group .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.cover-page .cover-form form .form-group .dropdown-content, .editor-page .cover-form form .form-group .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #E1E7F8;
  border-radius: 0 0 6px 6px;
  z-index: 99999;
  display: none !important;
  overflow: visible;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(233, 235, 238, 0.3);
}
.cover-page .cover-form form .form-group .dropdown-content.active, .editor-page .cover-form form .form-group .dropdown-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 767px) {
  .cover-page .cover-form form .form-group .dropdown-content, .editor-page .cover-form form .form-group .dropdown-content {
    max-height: 110px !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #1c2024 rgba(233, 235, 238, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(233, 235, 238, 0.6);
    z-index: 999999;
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: auto;
  }
  .cover-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar, .editor-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar {
    width: 8px !important;
    background-color: rgba(233, 235, 238, 0.3);
  }
  .cover-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-track, .editor-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-track {
    background: rgba(233, 235, 238, 0.3);
    border-radius: 6px;
  }
  .cover-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-thumb, .editor-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-thumb {
    background-color: #1c2024;
    border-radius: 6px;
    border: 1px solid rgba(233, 235, 238, 0.5);
    min-height: 20px;
  }
  .cover-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-thumb:hover, .editor-page .cover-form form .form-group .dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: rgb(25.2, 28.8, 32.4);
  }
}
.cover-page .cover-form form .form-group .dropdown-item, .editor-page .cover-form form .form-group .dropdown-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1c2024;
  font-weight: 500;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(28, 32, 36, 0.1);
}
.cover-page .cover-form form .form-group .dropdown-item:last-child, .editor-page .cover-form form .form-group .dropdown-item:last-child {
  border-bottom: none;
}
.cover-page .cover-form form .form-group .dropdown-item:hover, .editor-page .cover-form form .form-group .dropdown-item:hover {
  background: rgba(28, 32, 36, 0.05);
  color: #1c2024;
  padding-left: 2rem;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .form-group .dropdown-item, .editor-page .cover-form form .form-group .dropdown-item {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .cover-page .cover-form form .form-group .dropdown-item:last-child, .editor-page .cover-form form .form-group .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
.cover-page .cover-form form .form-group .color-picker .dropdown-value.color-preview, .editor-page .cover-form form .form-group .color-picker .dropdown-value.color-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-value.color-preview .color-display, .editor-page .cover-form form .form-group .color-picker .dropdown-value.color-preview .color-display {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid rgba(28, 32, 36, 0.2);
  flex-shrink: 0;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-value.color-preview .color-text, .editor-page .cover-form form .form-group .color-picker .dropdown-value.color-preview .color-text {
  flex: 1;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options {
  padding: 1rem;
  min-width: 280px;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid rgba(28, 32, 36, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option:hover, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option:hover {
  transform: scale(1.1);
  border-color: #e9ebee;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option.selected, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option.selected {
  border-color: #e9ebee;
  border-width: 3px;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option.selected::after, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .predefined-colors .color-option.selected::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input {
  border-top: 1px solid rgba(28, 32, 36, 0.2);
  padding-top: 1rem;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input label, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color], .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color] {
  width: 100%;
  height: 40px;
  border: 2px solid rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  background: none;
  cursor: pointer;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color]::-webkit-color-swatch-wrapper, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color]::-webkit-color-swatch-wrapper {
  padding: 2px;
}
.cover-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color]::-webkit-color-swatch, .editor-page .cover-form form .form-group .color-picker .dropdown-content.color-options .color-picker-section .custom-color-input input[type=color]::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.cover-page .cover-form form .form-group input[type=color], .editor-page .cover-form form .form-group input[type=color] {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(192, 194.4, 197.6);
  border-radius: 6px;
  margin-bottom: 10px;
}
.cover-page .cover-form form .form-group input[type=color]:focus, .editor-page .cover-form form .form-group input[type=color]:focus {
  outline: none;
  border-color: #e9ebee;
}
.cover-page .cover-form form .form-group input[type=color], .editor-page .cover-form form .form-group input[type=color] {
  height: 40px;
  padding: 2px;
}
.cover-page .cover-form form .submit-btn, .editor-page .cover-form form .submit-btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.cover-page .cover-form form .submit-btn:hover, .editor-page .cover-form form .submit-btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.cover-page .cover-form form .submit-btn, .editor-page .cover-form form .submit-btn {
  padding: 0.75rem 4rem;
  background: #0f1216;
  border: 1px solid #0f1216;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2rem auto 0;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: block;
  width: fit-content;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  clear: both;
}
.cover-page .cover-form form .submit-btn::before, .editor-page .cover-form form .submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.cover-page .cover-form form .submit-btn:hover, .editor-page .cover-form form .submit-btn:hover {
  background: #2f353b;
  border-color: #2f353b;
  transform: none;
  box-shadow: 0 8px 24px rgba(233, 235, 238, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.cover-page .cover-form form .submit-btn:hover::before, .editor-page .cover-form form .submit-btn:hover::before {
  left: 100%;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .submit-btn:hover, .editor-page .cover-form form .submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(233, 235, 238, 0.35), 0 3px 6px rgba(0, 0, 0, 0.12);
  }
}
.cover-page .cover-form form .submit-btn:active, .editor-page .cover-form form .submit-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(28, 32, 36, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
}
@media (max-width: 767px) {
  .cover-page .cover-form form .submit-btn:active, .editor-page .cover-form form .submit-btn:active {
    transform: scale(0.96);
  }
}
.cover-page .cover-form form .submit-btn:focus, .editor-page .cover-form form .submit-btn:focus {
  outline: none;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 0 0 3px rgba(233, 235, 238, 0.2);
}
.cover-page .cover-form form .submit-btn .btn-text, .editor-page .cover-form form .submit-btn .btn-text {
  display: inline-block;
}
.cover-page .cover-form form .submit-btn .btn-loader, .editor-page .cover-form form .submit-btn .btn-loader {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.cover-page .cover-form form .submit-btn .btn-loader .spinner, .editor-page .cover-form form .submit-btn .btn-loader .spinner {
  animation: spin 1s linear infinite;
}
.cover-page .cover-form form .submit-btn.loading .btn-text, .editor-page .cover-form form .submit-btn.loading .btn-text {
  display: none;
}
.cover-page .cover-form form .submit-btn.loading .btn-loader, .editor-page .cover-form form .submit-btn.loading .btn-loader {
  display: inline-flex;
}
.cover-page .cover-form form .form-actions, .editor-page .cover-form form .form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  clear: both;
}
.cover-page .cover-form form .form-actions .submit-btn, .editor-page .cover-form form .form-actions .submit-btn {
  margin: 0;
}
.cover-page .cover-form a, .editor-page .cover-form a {
  display: inline-block;
  margin-top: 20px;
  color: #0a6b95;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cover-page .cover-form a:hover, .editor-page .cover-form a:hover {
  color: #0a5876;
}
.cover-page .conversion-history, .editor-page .conversion-history {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.cover-page .conversion-history > *, .editor-page .conversion-history > * {
  position: relative;
  z-index: 1;
}
.cover-page .conversion-history, .editor-page .conversion-history {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.25rem 70px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 235, 238, 0.2);
  border-radius: 6px;
  overflow: visible;
}
.cover-page .conversion-history .history-header, .editor-page .conversion-history .history-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(233, 235, 238, 0.15);
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cover-page .conversion-history .history-header h3, .editor-page .conversion-history .history-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1c2024;
  margin: 0;
  letter-spacing: 0.01em;
}
.cover-page .conversion-history .history-header .history-note, .editor-page .conversion-history .history-header .history-note {
  font-size: 0.75rem;
  color: #999;
}
.cover-page .conversion-history .history-list, .editor-page .conversion-history .history-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cover-page .conversion-history .history-item, .editor-page .conversion-history .history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  gap: 0.75rem;
  transition: background 0.15s;
}
.cover-page .conversion-history .history-item:nth-child(odd), .editor-page .conversion-history .history-item:nth-child(odd) {
  background: rgba(233, 235, 238, 0.15);
}
.cover-page .conversion-history .history-item:hover, .editor-page .conversion-history .history-item:hover {
  background: rgba(233, 235, 238, 0.25);
}
.cover-page .conversion-history .history-file-info, .editor-page .conversion-history .history-file-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}
.cover-page .conversion-history .history-file-icon, .editor-page .conversion-history .history-file-icon {
  flex-shrink: 0;
  stroke: #1c2024;
  opacity: 0.35;
}
.cover-page .conversion-history .history-filename, .editor-page .conversion-history .history-filename {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1c2024;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.cover-page .conversion-history .history-time, .editor-page .conversion-history .history-time {
  font-size: 0.6875rem;
  color: #aab;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.cover-page .conversion-history .history-actions, .editor-page .conversion-history .history-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.cover-page .conversion-history .history-send-btn,
.cover-page .conversion-history .history-download-btn,
.cover-page .conversion-history .history-delete-btn, .editor-page .conversion-history .history-send-btn,
.editor-page .conversion-history .history-download-btn,
.editor-page .conversion-history .history-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(233, 235, 238, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1c2024;
}
.cover-page .conversion-history .history-send-btn svg,
.cover-page .conversion-history .history-download-btn svg,
.cover-page .conversion-history .history-delete-btn svg, .editor-page .conversion-history .history-send-btn svg,
.editor-page .conversion-history .history-download-btn svg,
.editor-page .conversion-history .history-delete-btn svg {
  stroke: #1c2024;
  opacity: 0.45;
  transition: all 0.2s ease;
}
.cover-page .conversion-history .history-send-btn:hover,
.cover-page .conversion-history .history-download-btn:hover,
.cover-page .conversion-history .history-delete-btn:hover, .editor-page .conversion-history .history-send-btn:hover,
.editor-page .conversion-history .history-download-btn:hover,
.editor-page .conversion-history .history-delete-btn:hover {
  background: #0f1216;
  border: 1px solid #0f1216;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(233, 235, 238, 0.3);
}
.cover-page .conversion-history .history-send-btn:hover svg,
.cover-page .conversion-history .history-download-btn:hover svg,
.cover-page .conversion-history .history-delete-btn:hover svg, .editor-page .conversion-history .history-send-btn:hover svg,
.editor-page .conversion-history .history-download-btn:hover svg,
.editor-page .conversion-history .history-delete-btn:hover svg {
  opacity: 1;
  stroke: #ffffff;
}
.cover-page .conversion-history .history-send-btn:active,
.cover-page .conversion-history .history-download-btn:active,
.cover-page .conversion-history .history-delete-btn:active, .editor-page .conversion-history .history-send-btn:active,
.editor-page .conversion-history .history-download-btn:active,
.editor-page .conversion-history .history-delete-btn:active {
  transform: translateY(0);
}
.cover-page .conversion-history .history-delete-btn:hover, .editor-page .conversion-history .history-delete-btn:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}
@media (max-width: 767px) {
  .cover-page .conversion-history, .editor-page .conversion-history {
    padding: 1.25rem 20px;
  }
  .cover-page .conversion-history .history-header, .editor-page .conversion-history .history-header {
    flex-direction: column;
    gap: 0.15rem;
  }
  .cover-page .conversion-history .history-filename, .editor-page .conversion-history .history-filename {
    max-width: 140px;
  }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  10% {
    transform: translateY(-5px) rotate(3deg);
  }
  30% {
    transform: translateY(-3px) rotate(-2deg);
  }
  40% {
    transform: translateY(-2px) rotate(1deg);
  }
  60% {
    transform: translateY(-1px) rotate(-1deg);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(28, 32, 36, 0.2);
}
.divider span {
  padding: 0 1rem;
  color: #1c2024;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.7;
}

.ai-cover-section {
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.08) 0%, rgba(28, 32, 36, 0.04) 100%);
  border: 2px solid rgba(233, 235, 238, 0.4);
  border-radius: 6px;
  padding: 0;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.ai-cover-section.collapsed .ai-content {
  max-height: 0;
  opacity: 0;
  padding: 0 2rem;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, padding 0.3s ease;
}
.ai-cover-section.collapsed .ai-cover-header .toggle-btn .expand-icon {
  transform: rotate(0deg);
}
.ai-cover-section.collapsed .ai-cover-header .toggle-btn .toggle-text::after {
  content: "Show AI Generator";
}
.ai-cover-section.collapsed::before {
  opacity: 0.3;
  transition: opacity 0.4s ease;
}
.ai-cover-section:not(.collapsed) .ai-content {
  max-height: 2000px;
  opacity: 1;
  padding: 0 2rem 2rem 2rem;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease 0.2s, padding 0.4s ease;
}
.ai-cover-section:not(.collapsed) .ai-cover-header .toggle-btn .expand-icon {
  transform: rotate(180deg);
}
.ai-cover-section:not(.collapsed) .ai-cover-header .toggle-btn .toggle-text::after {
  content: "Hide";
}
.ai-cover-section:not(.collapsed)::before {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.ai-cover-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233, 235, 238, 0.15) 0%, transparent 70%);
  animation: aiGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 1;
}
.ai-cover-section .ai-cover-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  cursor: pointer;
  padding: 2rem;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-cover-header:hover {
  background: rgba(255, 255, 255, 0.05);
}
.ai-cover-section .ai-cover-header:hover .toggle-btn {
  background: rgba(28, 32, 36, 0.1);
  transform: translateX(-2px);
}
.ai-cover-section .ai-cover-header .ai-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1c2024 0%, hsl(210, 12.5%, -2.4509803922%) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(28, 32, 36, 0.3);
  animation: iconFloat 3s ease-in-out infinite;
  flex-shrink: 0;
}
.ai-cover-section .ai-cover-header .ai-icon svg {
  animation: sparkleRotate 4s linear infinite;
}
.ai-cover-section .ai-cover-header .ai-text {
  flex: 1;
}
.ai-cover-section .ai-cover-header .ai-text h3 {
  color: #1c2024;
  font-size: 1.375rem;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}
.ai-cover-section .ai-cover-header .ai-text p {
  color: rgba(28, 32, 36, 0.7);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}
.ai-cover-section .ai-cover-header .toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid rgba(28, 32, 36, 0.2);
  flex-shrink: 0;
}
.ai-cover-section .ai-cover-header .toggle-btn .expand-icon {
  color: #1c2024;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-cover-section .ai-cover-header .toggle-btn .toggle-text {
  color: #1c2024;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-cover-header .toggle-btn .toggle-text::after {
  content: "Show AI Generator";
  transition: all 0.3s ease;
}
.ai-cover-section .ai-cover-header .toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #1c2024;
}
@media (max-width: 767px) {
  .ai-cover-section .ai-cover-header {
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }
  .ai-cover-section .ai-cover-header .ai-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }
  .ai-cover-section .ai-cover-header .ai-text h3 {
    font-size: 1.125rem;
  }
  .ai-cover-section .ai-cover-header .ai-text p {
    font-size: 0.8125rem;
    display: none;
  }
  .ai-cover-section .ai-cover-header .toggle-btn {
    padding: 0.5rem;
    border-radius: 4px;
    min-width: auto;
  }
  .ai-cover-section .ai-cover-header .toggle-btn .toggle-text {
    display: none;
  }
  .ai-cover-section .ai-cover-header .toggle-btn .expand-icon {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 575px) {
  .ai-cover-section .ai-cover-header {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .ai-cover-section .ai-cover-header .ai-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }
  .ai-cover-section .ai-cover-header .ai-text h3 {
    font-size: 1.125rem;
  }
  .ai-cover-section .ai-cover-header .toggle-btn {
    padding: 0.4rem;
    border-radius: 4px;
  }
  .ai-cover-section .ai-cover-header .toggle-btn .expand-icon {
    width: 16px;
    height: 16px;
  }
}
.ai-cover-section .ai-content {
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s, padding 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.ai-cover-section .ai-prompt-group {
  position: relative;
  z-index: 1;
}
.ai-cover-section .prompt-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}
.ai-cover-section .prompt-input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1c2024;
  font-weight: 600;
  font-size: 0.875rem;
}
.ai-cover-section .prompt-input-wrapper .textarea-container {
  position: relative;
}
.ai-cover-section .prompt-input-wrapper textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(233, 235, 238, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #1c2024;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  resize: vertical;
  min-height: 90px;
  transition: all 0.3s ease;
}
.ai-cover-section .prompt-input-wrapper textarea:focus {
  outline: none;
  border-color: #e9ebee;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 32, 36, 0.1), 0 4px 20px rgba(233, 235, 238, 0.2);
  transform: translateY(-1px);
}
.ai-cover-section .prompt-input-wrapper textarea::placeholder {
  color: #adb5bd;
  font-style: italic;
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #6C7EA6;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(108, 126, 166, 0.3);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small:hover {
  transform: scale(1.1);
  background: #5A6B94;
  box-shadow: 0 4px 16px rgba(108, 126, 166, 0.5);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small:hover .btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small:active {
  transform: scale(0.95);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small svg {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small .btn-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%) translateX(10px) scale(0.8);
  background: rgba(108, 126, 166, 0.95);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 20;
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-small .btn-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgba(108, 126, 166, 0.95);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile {
  display: none;
  width: 100%;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border: none;
  border-radius: 4px;
  background: #6C7EA6;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile:hover {
  background: #5A6B94;
  transform: translateY(-1px);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile:active {
  transform: translateY(0);
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile svg {
  transition: transform 0.3s ease;
}
.ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile:hover svg {
  transform: scale(1.1);
}
@media (min-width: 768px) {
  .ai-cover-section .prompt-input-wrapper .ai-generate-btn-mobile {
    display: none !important;
  }
}
.ai-cover-section .prompt-input-wrapper .char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 4rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
  pointer-events: none;
  z-index: 5;
}
.ai-cover-section .ai-style-selector {
  margin-bottom: 2rem;
}
.ai-cover-section .ai-style-selector label {
  display: block;
  margin-bottom: 1rem;
  color: #1c2024;
  font-weight: 600;
  font-size: 0.875rem;
}
.ai-cover-section .ai-style-selector .style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
@media (max-width: 575px) {
  .ai-cover-section .ai-style-selector .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ai-cover-section .ai-style-selector .style-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-cover-section .ai-style-selector .style-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s;
}
.ai-cover-section .ai-style-selector .style-card:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(233, 235, 238, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(233, 235, 238, 0.2);
}
.ai-cover-section .ai-style-selector .style-card:hover::before {
  left: 100%;
}
.ai-cover-section .ai-style-selector .style-card:hover .style-preview {
  transform: scale(1.05);
}
.ai-cover-section .ai-style-selector .style-card.active {
  background: rgba(233, 235, 238, 0.15);
  border-color: #1c2024;
  box-shadow: 0 4px 20px rgba(233, 235, 238, 0.3);
}
.ai-cover-section .ai-style-selector .style-card.active .style-info .style-name {
  color: #1c2024;
  font-weight: 700;
}
.ai-cover-section .ai-style-selector .style-card .style-preview {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: transparent;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.ai-cover-section .ai-style-selector .style-card .style-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ai-cover-section .ai-style-selector .style-card .style-info .style-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c2024;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-style-selector .style-card .style-info .style-desc {
  font-size: 0.6875rem;
  color: rgba(28, 32, 36, 0.6);
  line-height: 1.2;
}
.ai-cover-section .ai-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.ai-cover-section .ai-actions .ai-generate-btn {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(28, 32, 36, 0.3);
  border: none;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-actions .ai-generate-btn:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}
.ai-cover-section .ai-actions .ai-generate-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(28, 32, 36, 0.4);
}
.ai-cover-section .ai-actions .ai-generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-content svg {
  animation: sparkleRotate 3s linear infinite;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkleFloat 2s ease-in-out infinite;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-2 {
  top: 60%;
  right: 20%;
  animation-delay: 0.7s;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-3 {
  bottom: 25%;
  left: 70%;
  animation-delay: 1.4s;
}
.ai-cover-section .ai-actions .generation-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #1c2024;
  font-weight: 500;
}
.ai-cover-section .ai-actions .generation-status .status-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ai-cover-section .ai-actions .generation-status .loading-animation {
  display: flex;
  gap: 0.25rem;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot {
  width: 8px;
  height: 8px;
  background: #1c2024;
  border-radius: 50%;
  animation: dotPulse 1.4s ease-in-out infinite both;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-1 {
  animation-delay: -0.32s;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-2 {
  animation-delay: -0.16s;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-3 {
  animation-delay: 0s;
}
.ai-cover-section .ai-results {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 1.5rem;
  border: 2px solid rgba(233, 235, 238, 0.3);
  box-shadow: 0 4px 20px rgba(233, 235, 238, 0.1);
}
.ai-cover-section .ai-results .results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.ai-cover-section .ai-results .results-header h4 {
  color: #1c2024;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.ai-cover-section .ai-results .results-header .close-results {
  background: none;
  border: none;
  font-size: 1.375rem;
  color: rgba(28, 32, 36, 0.6);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-results .results-header .close-results:hover {
  background: rgba(28, 32, 36, 0.1);
  color: #1c2024;
}
.ai-cover-section .ai-results .generated-covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 575px) {
  .ai-cover-section .ai-results .generated-covers {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ai-cover-section .ai-results .generated-covers .generated-cover {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 2/3;
  background: rgba(233, 235, 238, 0.1);
}
.ai-cover-section .ai-results .generated-covers .generated-cover:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(28, 32, 36, 0.2);
}
.ai-cover-section .ai-results .generated-covers .generated-cover.selected {
  box-shadow: 0 0 0 3px #1c2024;
}
.ai-cover-section .ai-results .generated-covers .generated-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn {
  background-color: #ffffff;
  color: #1c2024;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8125rem;
  width: 100%;
  border: none;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn:hover {
  background-color: rgb(229.5, 229.5, 229.5);
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn:hover {
  background: #1c2024;
  color: #ffffff;
}
.ai-cover-section .ai-results .generated-covers .generated-cover:hover .cover-overlay {
  opacity: 1;
}
.ai-cover-section .ai-results .results-actions {
  text-align: center;
}
.ai-cover-section .ai-results .results-actions .regenerate-btn {
  background: transparent;
  color: #1c2024;
  border: 2px solid rgba(28, 32, 36, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ai-cover-section .ai-results .results-actions .regenerate-btn:hover {
  background: rgba(28, 32, 36, 0.1);
  border-color: #1c2024;
  transform: translateY(-2px);
}
.ai-cover-section .prompt-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}
.ai-cover-section .prompt-input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1c2024;
  font-weight: 600;
  font-size: 0.875rem;
}
.ai-cover-section .prompt-input-wrapper textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(233, 235, 238, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #1c2024;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  resize: vertical;
  min-height: 90px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(233, 235, 238, 0.1);
}
.ai-cover-section .prompt-input-wrapper textarea:focus {
  outline: none;
  border-color: #1c2024;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 32, 36, 0.1), 0 4px 20px rgba(233, 235, 238, 0.2);
  transform: translateY(-1px);
}
.ai-cover-section .prompt-input-wrapper textarea::placeholder {
  color: #adb5bd;
  font-style: italic;
}
.ai-cover-section .prompt-input-wrapper .char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 0.75rem;
  color: rgba(28, 32, 36, 0.6);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}
.ai-cover-section .ai-style-selector {
  margin-bottom: 2rem;
}
.ai-cover-section .ai-style-selector label {
  display: block;
  margin-bottom: 1rem;
  color: #1c2024;
  font-weight: 600;
  font-size: 0.875rem;
}
.ai-cover-section .ai-style-selector .style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
@media (max-width: 575px) {
  .ai-cover-section .ai-style-selector .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ai-cover-section .ai-style-selector .style-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(233, 235, 238, 0.3);
  border-radius: 6px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-cover-section .ai-style-selector .style-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s;
}
.ai-cover-section .ai-style-selector .style-card:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(233, 235, 238, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(233, 235, 238, 0.2);
}
.ai-cover-section .ai-style-selector .style-card:hover::before {
  left: 100%;
}
.ai-cover-section .ai-style-selector .style-card:hover .style-preview {
  transform: scale(1.05);
}
.ai-cover-section .ai-style-selector .style-card.active {
  background: rgba(28, 32, 36, 0.08);
  border-color: #1c2024;
  box-shadow: 0 4px 20px rgba(28, 32, 36, 0.2);
}
.ai-cover-section .ai-style-selector .style-card.active .style-info .style-name {
  color: #1c2024;
  font-weight: 700;
}
.ai-cover-section .ai-style-selector .style-card .style-preview {
  width: 60px;
  height: 65px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.realistic-pattern {
  background: linear-gradient(135deg, #8B7355 0%, #D2B48C 40%, #F5DEB3 100%);
  position: relative;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.realistic-pattern::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 15%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.artistic-pattern {
  background: linear-gradient(45deg, #FF6B6B 0%, #4ECDC4 30%, #45B7D1 60%, #96CEB4 100%);
  position: relative;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.artistic-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.1) 8px, rgba(255, 255, 255, 0.1) 12px);
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.minimal-pattern {
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 50%, #DEE2E6 100%);
  border: 1px solid rgba(28, 32, 36, 0.2);
  position: relative;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.minimal-pattern::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: rgba(28, 32, 36, 0.3);
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.minimal-pattern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  width: 50%;
  height: 1px;
  background: rgba(28, 32, 36, 0.2);
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.vintage-pattern {
  background: linear-gradient(135deg, #8B4513 0%, #D2691E 40%, #DEB887 80%, #F5DEB3 100%);
  position: relative;
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.vintage-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
}
.ai-cover-section .ai-style-selector .style-card .style-preview .style-pattern.vintage-pattern::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(139, 69, 19, 0.1) 50%, transparent 70%);
}
.ai-cover-section .ai-style-selector .style-card .style-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ai-cover-section .ai-style-selector .style-card .style-info .style-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c2024;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-style-selector .style-card .style-info .style-desc {
  font-size: 0.6875rem;
  color: rgba(28, 32, 36, 0.6);
  line-height: 1.2;
}
.ai-cover-section .ai-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.ai-cover-section .ai-actions .ai-generate-btn {
  background-color: #1c2024;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(28, 32, 36, 0.3);
  border: none;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-actions .ai-generate-btn:hover {
  background-color: rgb(25.2, 28.8, 32.4);
}
.ai-cover-section .ai-actions .ai-generate-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(28, 32, 36, 0.4);
}
.ai-cover-section .ai-actions .ai-generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-content svg {
  animation: sparkleRotate 3s linear infinite;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkleFloat 2s ease-in-out infinite;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-2 {
  top: 60%;
  right: 20%;
  animation-delay: 0.7s;
}
.ai-cover-section .ai-actions .ai-generate-btn .btn-sparkles .sparkle.sparkle-3 {
  bottom: 25%;
  left: 70%;
  animation-delay: 1.4s;
}
.ai-cover-section .ai-actions .generation-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #1c2024;
  font-weight: 500;
}
.ai-cover-section .ai-actions .generation-status .status-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ai-cover-section .ai-actions .generation-status .loading-animation {
  display: flex;
  gap: 0.25rem;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot {
  width: 8px;
  height: 8px;
  background: #1c2024;
  border-radius: 50%;
  animation: dotPulse 1.4s ease-in-out infinite both;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-1 {
  animation-delay: -0.32s;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-2 {
  animation-delay: -0.16s;
}
.ai-cover-section .ai-actions .generation-status .loading-animation .dot.dot-3 {
  animation-delay: 0s;
}
.ai-cover-section .ai-results {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 1.5rem;
  border: 2px solid rgba(233, 235, 238, 0.3);
  box-shadow: 0 4px 20px rgba(233, 235, 238, 0.1);
}
.ai-cover-section .ai-results .results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.ai-cover-section .ai-results .results-header h4 {
  color: #1c2024;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.ai-cover-section .ai-results .results-header .close-results {
  background: none;
  border: none;
  font-size: 1.375rem;
  color: rgba(28, 32, 36, 0.6);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.ai-cover-section .ai-results .results-header .close-results:hover {
  background: rgba(28, 32, 36, 0.1);
  color: #1c2024;
}
.ai-cover-section .ai-results .generated-covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 575px) {
  .ai-cover-section .ai-results .generated-covers {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ai-cover-section .ai-results .generated-covers .generated-cover {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 2/3;
  background: rgba(233, 235, 238, 0.1);
}
.ai-cover-section .ai-results .generated-covers .generated-cover:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(28, 32, 36, 0.2);
}
.ai-cover-section .ai-results .generated-covers .generated-cover.selected {
  box-shadow: 0 0 0 3px #1c2024;
}
.ai-cover-section .ai-results .generated-covers .generated-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn {
  background-color: #ffffff;
  color: #1c2024;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8125rem;
  width: 100%;
  border: none;
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn:hover {
  background-color: rgb(229.5, 229.5, 229.5);
}
.ai-cover-section .ai-results .generated-covers .generated-cover .cover-overlay .use-cover-btn:hover {
  background: #1c2024;
  color: #ffffff;
}
.ai-cover-section .ai-results .generated-covers .generated-cover:hover .cover-overlay {
  opacity: 1;
}
@media (max-width: 767px) {
  .ai-cover-section {
    margin: 0;
  }
  .ai-cover-section .ai-content {
    padding: 0 1rem 1.5rem 1rem;
  }
  .ai-cover-section:not(.collapsed) .ai-content {
    padding: 0 1rem 1.5rem 1rem;
  }
  .ai-cover-section .ai-prompt-group .prompt-input-wrapper textarea {
    font-size: 14px;
    padding: 0.75rem;
  }
  .ai-cover-section .ai-prompt-group .prompt-input-wrapper .ai-generate-btn-small {
    display: none;
  }
  .ai-cover-section .ai-prompt-group .prompt-input-wrapper .ai-generate-btn-mobile {
    display: flex;
    margin-top: 0.75rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .ai-cover-section .ai-prompt-group .prompt-input-wrapper .char-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: rgba(28, 32, 36, 0.8);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    z-index: 5;
    pointer-events: none;
  }
  .ai-cover-section .ai-style-selector .style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .ai-cover-section .ai-style-selector .style-card {
    padding: 0.75rem;
  }
  .ai-cover-section .ai-style-selector .style-card .style-preview {
    height: 75px;
  }
  .ai-cover-section .ai-style-selector .style-card .style-info .style-name {
    font-size: 0.8125rem;
  }
  .ai-cover-section .ai-style-selector .style-card .style-info .style-desc {
    font-size: 0.6875rem;
  }
  .ai-cover-section .ai-actions .ai-generate-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  .ai-cover-section .ai-actions .ai-generate-btn .btn-content svg {
    width: 18px;
    height: 18px;
  }
  .ai-cover-section .ai-results .generated-covers {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .ai-cover-section .ai-results .results-actions .regenerate-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  .ai-cover-section .ai-results .results-actions .regenerate-btn svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 575px) {
  .ai-cover-section {
    margin: 0;
  }
  .ai-cover-section .ai-content {
    padding: 0 0.75rem 1rem 0.75rem;
  }
  .ai-cover-section:not(.collapsed) .ai-content {
    padding: 0 0.75rem 1rem 0.75rem;
  }
  .ai-cover-section .ai-style-selector .style-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .ai-cover-section .ai-style-selector .style-card {
    padding: 0.5rem;
    flex-direction: row;
    align-items: center;
  }
  .ai-cover-section .ai-style-selector .style-card .style-preview {
    width: 60px;
    height: 60px;
    margin-right: 0.75rem;
    margin-bottom: 0;
  }
  .ai-cover-section .ai-style-selector .style-card .style-info {
    text-align: left;
  }
  .ai-cover-section .ai-style-selector .style-card .style-info .style-name {
    font-size: 0.875rem;
  }
  .ai-cover-section .ai-style-selector .style-card .style-info .style-desc {
    font-size: 0.75rem;
  }
  .ai-cover-section .ai-actions .ai-generate-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .ai-cover-section .ai-actions .ai-generate-btn .btn-content {
    flex-direction: column;
    gap: 0.25rem;
  }
  .ai-cover-section .ai-actions .ai-generate-btn .btn-content svg {
    width: 16px;
    height: 16px;
  }
  .ai-cover-section .ai-actions .ai-generate-btn .btn-content span {
    font-size: 0.8125rem;
  }
  .ai-cover-section .ai-results .generated-covers {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ai-cover-section .ai-results .results-header h4 {
    font-size: 1rem;
  }
}

@keyframes aiGlow {
  0% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.02) rotate(1deg);
  }
}
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes sparkleRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0.4;
    transform: translateY(0px);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes dotPulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.preview-cover-container {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.cover-auto {
  background-size: auto;
}

.cover-fill {
  background-size: contain;
}

.cover-stretch {
  background-size: cover;
}

.cover-tile {
  background-size: auto;
  background-repeat: repeat;
}

@media (max-width: 767px) {
  .editor-page .site-footer {
    background-color: white;
    border-top: 2px solid #e0e0e0;
  }
  .editor-page .site-footer .footer-content p {
    color: #333;
  }
  .editor-page .site-footer .footer-content p a {
    color: #1c2024;
  }
}

.predefined-colors {
  display: grid;
  grid-template-columns: repeat(6, 1.75rem);
  gap: 0.5rem;
  justify-content: center;
}

.color-option {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 4px;
  border: 1px solid rgba(15, 18, 22, 0.14);
  cursor: pointer;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.color-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.05), 0 1px 3px rgba(15, 18, 22, 0.04);
}
.color-option.selected {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0f83b4;
}
@media (prefers-reduced-motion: reduce) {
  .color-option {
    transition: none;
  }
  .color-option:hover {
    transform: none;
  }
}

.custom-color-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  font-size: 0.8125rem;
  color: #495057;
}
.custom-color-input input[type=color] {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}

.upload-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: #868e96;
  transition: color 220ms cubic-bezier(0.2, 0, 0.2, 1);
}

.file-upload:hover .upload-icon,
.file-upload.dragover .upload-icon,
.file-upload.has-file .upload-icon {
  color: #0f83b4;
}

.close-preview,
.remove-file,
.close-results,
.email-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #868e96;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1), background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.close-preview:hover,
.remove-file:hover,
.close-results:hover,
.email-modal-close:hover {
  color: #0f1216;
  background: #f1f3f5;
}
.close-preview:focus-visible,
.remove-file:focus-visible,
.close-results:focus-visible,
.email-modal-close:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.editor-page .editor-facts {
  margin: 0.5rem 0 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.air-datepicker {
  --adp-font-family: Instrument Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --adp-font-size: 0.875rem;
  --adp-width: 17rem;
  --adp-background-color: #ffffff;
  --adp-background-color-hover: #edf7fb;
  --adp-background-color-active: #d3ecf6;
  --adp-color: #0f1216;
  --adp-color-secondary: #868e96;
  --adp-accent-color: #0a6b95;
  --adp-color-other-month: #ced4da;
  --adp-color-other-month-hover: #adb5bd;
  --adp-color-disabled: #ced4da;
  --adp-border-color: #e1e5ea;
  --adp-border-color-inner: #e9ecef;
  --adp-border-color-inline: #e1e5ea;
  --adp-border-radius: 6px;
  --adp-cell-border-radius: 4px;
  --adp-day-name-color: #868e96;
  --adp-day-name-color-hover: #0a6b95;
  --adp-cell-background-color-selected: #0a6b95;
  --adp-cell-background-color-selected-hover: #0a5876;
  --adp-cell-background-color-hover: #edf7fb;
  --adp-btn-color: #0a6b95;
  --adp-btn-color-hover: #0a5876;
  --adp-nav-arrow-color: #495057;
  --adp-nav-color-secondary: #868e96;
  box-shadow: 0 4px 8px rgba(15, 18, 22, 0.05), 0 12px 28px rgba(15, 18, 22, 0.09);
}
.air-datepicker .air-datepicker-body--day-name {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}
.air-datepicker .air-datepicker-nav--title {
  font-weight: 600;
}
.air-datepicker .air-datepicker-button {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}
.air-datepicker .air-datepicker-cell.-current- {
  font-weight: 600;
}

.editor-page input[readonly].form-control {
  cursor: pointer;
  background: #ffffff;
}

.about-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.02) 0%, rgba(28, 32, 36, 0.01) 100%);
}
.about-page .about-content {
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-page .about-content {
    padding: 1rem;
  }
}
.about-page .about-section {
  margin-bottom: 3rem;
}
.about-page .about-section h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #1c2024;
  margin-bottom: 1.5rem;
  text-align: left;
}
@media (max-width: 768px) {
  .about-page .about-section h3 {
    font-size: 1.75rem;
  }
}
.about-page .about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(28, 32, 36, 0.8);
  text-align: left;
  margin: 0 0 2rem 0;
}
.about-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .about-page .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.about-page .feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid rgba(233, 235, 238, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.about-page .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(233, 235, 238, 0.2);
}
.about-page .feature-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1c2024;
  margin-bottom: 1rem;
  text-align: left;
}
.about-page .feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(28, 32, 36, 0.7);
  margin: 0;
  text-align: left;
}
.about-page .faq-section .faq-container {
  columns: 2;
  column-gap: 1.5rem;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-page .faq-section .faq-container {
    columns: 1;
    column-gap: 0;
  }
}
.about-page .faq-section .faq-container .faq-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .about-page .faq-section .faq-container .faq-item {
    margin-bottom: 1rem;
  }
}
.about-page .faq-section .faq-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  margin-bottom: 0;
  border: 2px solid rgba(233, 235, 238, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.about-page .faq-section .faq-item:hover {
  border-color: rgba(233, 235, 238, 0.3);
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.1);
  transform: translateY(-2px);
}
.about-page .faq-section .faq-item.active {
  border-color: #e9ebee;
  box-shadow: 0 6px 24px rgba(233, 235, 238, 0.15);
}
.about-page .faq-section .faq-item.active .faq-question {
  background: linear-gradient(135deg, rgba(233, 235, 238, 0.05), rgba(233, 235, 238, 0.1));
}
.about-page .faq-section .faq-item.active .faq-question h4 {
  color: #1c2024;
  font-weight: 600;
}
.about-page .faq-section .faq-item.active .toggle-btn {
  background: rgba(255, 255, 255, 0.2);
}
.about-page .faq-section .faq-item.active .toggle-btn .expand-icon {
  transform: rotate(180deg);
  color: #1c2024;
}
.about-page .faq-section .faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  opacity: 1;
}
.about-page .faq-section .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(233, 235, 238, 0.05);
}
.about-page .faq-section .faq-question:hover {
  background: rgba(233, 235, 238, 0.03);
}
.about-page .faq-section .faq-question h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1c2024;
  margin: 0;
  text-align: left;
  line-height: 1.4;
  flex: 1;
  padding-right: 1rem;
}
.about-page .faq-section .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  opacity: 0;
}
.about-page .faq-section .faq-answer p {
  margin: 0;
  color: rgba(28, 32, 36, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 0.5rem;
}
.about-page .faq-section .toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid rgba(28, 32, 36, 0.2);
  flex-shrink: 0;
}
.about-page .faq-section .toggle-btn .expand-icon {
  color: #1c2024;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-page .faq-section .toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #1c2024;
}
.about-page .feedback-section .feedback-container {
  margin: 0 auto;
}
.about-page .feedback-section .feedback-toggle-wrapper {
  margin-bottom: 2rem;
}
.about-page .feedback-section .feedback-toggle {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 4px;
  border: 2px solid rgba(233, 235, 238, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
}
.about-page .feedback-section .feedback-toggle input[type=radio] {
  display: none;
}
.about-page .feedback-section .feedback-toggle .toggle-label {
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  font-weight: 600;
  color: rgba(28, 32, 36, 0.7);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex: 1;
  text-align: center;
}
.about-page .feedback-section .feedback-toggle .toggle-label:hover {
  color: #1c2024;
}
.about-page .feedback-section .feedback-toggle .toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(110, 131, 172, 0.3);
  z-index: 1;
}
.about-page .feedback-section .feedback-toggle input[type=radio]:nth-child(2):checked ~ .toggle-slider {
  transform: translateX(100%);
}
.about-page .feedback-section .feedback-toggle input[type=radio]:nth-child(1):checked ~ .toggle-label:nth-child(3) {
  color: #ffffff;
}
.about-page .feedback-section .feedback-toggle input[type=radio]:nth-child(2):checked ~ .toggle-label:nth-child(4) {
  color: #ffffff;
}
@media (max-width: 480px) {
  .about-page .feedback-section .feedback-toggle {
    width: 100%;
    justify-content: center;
  }
  .about-page .feedback-section .feedback-toggle .toggle-label {
    padding: 10px 16px;
    min-width: 100px;
    font-size: 0.9rem;
  }
}
.about-page .feedback-section .rating-group {
  transition: all 0.3s ease;
}
.about-page .feedback-section .rating-group.hidden {
  display: none;
}
.about-page .feedback-section .feedback-content {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: center;
}
@media (max-width: 768px) {
  .about-page .feedback-section .feedback-content {
    flex-direction: column;
    align-items: center;
  }
}
.about-page .feedback-section .feedback-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
  pointer-events: none;
}
.about-page .feedback-section .feedback-illustration.feedback-illustration-left {
  flex: 0 0 280px;
}
.about-page .feedback-section .feedback-illustration.feedback-illustration-left .books-image {
  max-width: 20rem;
  transform: none;
}
.about-page .feedback-section .feedback-illustration.feedback-illustration-right {
  flex: 0 0 380px;
}
.about-page .feedback-section .feedback-illustration.feedback-illustration-right .books-image {
  max-width: 28rem;
}
@media (max-width: 992px) {
  .about-page .feedback-section .feedback-illustration.feedback-illustration-left {
    flex: 0 0 220px;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-left .books-image {
    max-width: 18rem;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right {
    flex: 0 0 300px;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right .books-image {
    max-width: 24rem;
  }
}
@media (max-width: 1024px) {
  .about-page .feedback-section .feedback-illustration.feedback-illustration-left {
    display: none;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right {
    flex: 0 0 250px;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right .books-image {
    max-width: 20rem;
  }
}
@media (max-width: 900px) {
  .about-page .feedback-section .feedback-illustration.feedback-illustration-left {
    display: none;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right {
    flex: 0 0 200px;
  }
  .about-page .feedback-section .feedback-illustration.feedback-illustration-right .books-image {
    max-width: 16rem;
  }
}
@media (max-width: 768px) {
  .about-page .feedback-section .feedback-illustration {
    display: none;
  }
}
.about-page .feedback-section .feedback-illustration .books-image {
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.about-page .feedback-section .feedback-form-wrapper {
  flex: 1;
  max-width: 600px;
}
@media (max-width: 768px) {
  .about-page .feedback-section .feedback-form-wrapper {
    max-width: 100%;
    width: 100%;
  }
}
.about-page .feedback-section .feedback-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 6px;
  padding: 2.5rem;
  border: 2px solid rgba(233, 235, 238, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(233, 235, 238, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (max-width: 768px) {
  .about-page .feedback-section .feedback-form {
    padding: 2rem;
    border-radius: 6px;
  }
}
@media (max-width: 576px) {
  .about-page .feedback-section .feedback-form {
    padding: 1.5rem;
  }
}
.about-page .feedback-section .feedback-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e9ebee 0%, rgb(236.3, 238, 240.55) 50%, #e9ebee 100%);
  border-radius: 6px 6px 0 0;
}
@media (max-width: 768px) {
  .about-page .feedback-section .feedback-form::before {
    border-radius: 6px 6px 0 0;
  }
}
.about-page .feedback-section .form-group {
  margin-bottom: 1.75rem;
}
.about-page .feedback-section .form-group label {
  display: block;
  font-weight: 600;
  color: #1c2024;
  margin-bottom: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.about-page .feedback-section .form-group input, .about-page .feedback-section .form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(233, 235, 238, 0.15);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.about-page .feedback-section .form-group input:focus, .about-page .feedback-section .form-group textarea:focus {
  outline: none;
  border-color: #e9ebee;
  box-shadow: 0 0 0 4px rgba(233, 235, 238, 0.1), 0 2px 12px rgba(233, 235, 238, 0.15);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}
.about-page .feedback-section .form-group input::placeholder, .about-page .feedback-section .form-group textarea::placeholder {
  color: #adb5bd;
  font-style: italic;
}
.about-page .feedback-section .form-group input:hover:not(:focus), .about-page .feedback-section .form-group textarea:hover:not(:focus) {
  border-color: rgba(233, 235, 238, 0.25);
  background: rgba(255, 255, 255, 0.9);
}
.about-page .feedback-section .form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.about-page .feedback-section .rating-stars {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
}
.about-page .feedback-section .rating-stars .star {
  font-size: 1.8rem;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.about-page .feedback-section .rating-stars .star:hover {
  color: #ffc107;
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
}
.about-page .feedback-section .rating-stars .star.active {
  color: #ffc107;
  animation: starGlow 0.6s ease-out;
}
.about-page .feedback-section .rating-stars .star:not(.active):hover ~ .star {
  transform: scale(0.9);
}
.about-page .feedback-section .submit-btn {
  background-color: #e9ebee;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.about-page .feedback-section .submit-btn:hover {
  background-color: rgb(206.4307692308, 210.8461538462, 217.4692307692);
}
.about-page .feedback-section .submit-btn {
  padding: 0.75rem 4rem;
  background: linear-gradient(135deg, #6e83ac 0%, #5a72a0 100%);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2rem auto 0;
  box-shadow: 0 4px 16px rgba(233, 235, 238, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: block;
  width: fit-content;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}
.about-page .feedback-section .submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.about-page .feedback-section .submit-btn:hover {
  background: linear-gradient(135deg, #7a8fb8 0%, #6980ac 50%, #5871a0 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(233, 235, 238, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.about-page .feedback-section .submit-btn:hover::before {
  left: 100%;
}
.about-page .feedback-section .submit-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 2px 8px rgba(233, 235, 238, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.about-page .feedback-section .submit-btn .btn-text {
  position: relative;
  z-index: 1;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@keyframes starGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }
  50% {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.5));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(255, 193, 7, 0.3));
  }
}
.ripple {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.about-sheet {
  border-top: 1px solid #e1e5ea;
  padding: 3rem 0;
}
.about-sheet:first-of-type {
  border-top: 0;
}

.about-block__title {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f1216;
}
.about-block__lead {
  margin: 0.75rem 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #495057;
}

.about-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.about-card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.about-card:hover {
  border-color: #ced4da;
  box-shadow: 0 2px 4px rgba(15, 18, 22, 0.05), 0 4px 12px rgba(15, 18, 22, 0.06);
}
.about-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f1216;
}
.about-card__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #495057;
}

.note {
  position: relative;
  margin: 2rem 0 0;
  max-width: 34rem;
  padding: 2rem 2rem 1.5rem;
  background-color: #ffffff;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1.65rem, rgba(15, 18, 22, 0.055) 1.65rem, rgba(15, 18, 22, 0.055) calc(1.65rem + 1px));
  border: 1px solid rgba(15, 18, 22, 0.1);
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(15, 18, 22, 0.05), 0 10px 24px rgba(15, 18, 22, 0.09);
  transform: rotate(-0.5deg);
}
@media (max-width: 767px) {
  .note {
    transform: none;
    padding: 1.5rem;
  }
}
.note__tape {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 6.5rem;
  height: 1.4rem;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(15, 131, 180, 0.14);
  border-left: 1px solid rgba(15, 131, 180, 0.2);
  border-right: 1px solid rgba(15, 131, 180, 0.2);
}
.note__word {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f1216;
}
.note__underline {
  position: absolute;
  left: -2%;
  bottom: -0.28em;
  width: 104%;
  height: 0.4em;
  overflow: visible;
}
.note__underline path {
  fill: none;
  stroke: #0f83b4;
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.note__say {
  margin: 0.75rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #868e96;
}
.note__hand {
  margin: 1.25rem 0 0;
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.375rem;
  line-height: 1.3;
  color: #495057;
}
.note__hand em {
  font-style: italic;
}
.note__senses {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.note__senses li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #495057;
}
.note__senses li::marker {
  color: #868e96;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}
.note__aside {
  margin: 1.5rem 0 0;
  text-align: right;
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.25rem;
  color: #0a5876;
  transform: rotate(-1.5deg);
}

@media (prefers-reduced-motion: no-preference) {
  .note__underline path {
    stroke-dasharray: 210;
    stroke-dashoffset: 210;
    animation: note-underline 620ms cubic-bezier(0.16, 1, 0.3, 1) 350ms forwards;
  }
}
@keyframes note-underline {
  to {
    stroke-dashoffset: 0;
  }
}
.with-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23rem;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (max-width: 991px) {
  .with-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}
.with-note__body {
  max-width: none;
}
.with-note__body p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
}
.with-note__body p:last-child {
  margin-bottom: 0;
}
.with-note__aside {
  position: sticky;
  top: 2rem;
  margin-top: -2.5rem;
}
@media (max-width: 991px) {
  .with-note__aside {
    position: static;
    margin-top: 0;
  }
}
.with-note__aside .note {
  margin: 0;
  max-width: none;
}

.about-block__eyebrow {
  margin: 0 0 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a6b95;
}

.with-note__body p.authored__lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #0f1216;
  max-width: 58ch;
}
.with-note__body p.authored__sign {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e9ecef;
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.875rem;
  line-height: 1.2;
  color: #0a5876;
  transform: rotate(-1deg);
  transform-origin: left center;
}

.about-page .feedback-section {
  padding-top: 3rem;
  border-top: 1px solid #e1e5ea;
}
.about-page .feedback-section > h2 {
  margin-top: 0;
}

.about-page .about-block__body > .faq {
  margin-top: 1.5rem;
}

.about-page .feedback-section > h2 {
  text-align: left;
}
.about-page .feedback-section .feedback-content {
  justify-content: center;
}

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background-color: #f8f9fa;
  color: #0f1216;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, #ced4da 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, #000 100%);
  opacity: 0.5;
  pointer-events: none;
}

.error-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: error-rise 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .error-shell {
    animation: none;
  }
}

@keyframes error-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.error-wordmark {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #0f1216;
  text-decoration: none;
  transition: opacity 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.error-wordmark:hover {
  opacity: 0.65;
}
.error-wordmark:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 4px;
  border-radius: 2px;
}

.error-code {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
  padding: 0.25rem 0.75rem;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
  background: #ffffff;
}

.error-title {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.error-text {
  margin: 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #495057;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.error-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  border: 1px solid #ced4da;
  background: #ffffff;
  color: #0f1216;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.error-action:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  text-decoration: none;
  color: #0f1216;
}
.error-action:active {
  transform: translateY(1px);
}
.error-action:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}
.error-action--primary {
  background: #0f1216;
  border-color: #0f1216;
  color: #ffffff;
}
.error-action--primary:hover {
  background: #2f353b;
  border-color: #2f353b;
  color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  .error-action {
    transition: none;
  }
  .error-action:active {
    transform: none;
  }
}

.error-note {
  margin: 0;
  font-size: 0.8125rem;
  color: #868e96;
}
.error-note a {
  color: #0a6b95;
  text-decoration: none;
}
.error-note a:hover {
  text-decoration: underline;
}

.error-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.error-wordmark .error-shelf {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.error-wordmark:hover .error-shelf {
  transform: translateY(-2px) rotate(-2deg);
}
@media (prefers-reduced-motion: reduce) {
  .error-wordmark:hover .error-shelf {
    transform: none;
  }
}

.error-wordmark__name {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f1216;
}

.error-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.error-action__icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
}

.error-action:hover .error-action__icon {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .error-action:hover .error-action__icon {
    transform: none;
  }
}
.error-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.error-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42rem;
  height: 42rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(15, 131, 180, 0.14) 0%, rgba(15, 131, 180, 0.06) 40%, rgba(15, 131, 180, 0) 70%);
  animation: error-glow 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 576px) {
  .error-glow {
    width: 26rem;
    height: 26rem;
  }
}

.error-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40rem;
  height: 40rem;
  transform: translate(-50%, -50%);
  overflow: visible;
}
@media (max-width: 576px) {
  .error-rings {
    width: 26rem;
    height: 26rem;
  }
}

.error-ping {
  fill: none;
  stroke: #2f9fcd;
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 210px 210px;
  animation: error-ping 9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.error-ping--2 {
  animation-delay: 4.5s;
}

@keyframes error-glow {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}
@keyframes error-ping {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  12% {
    opacity: 0.3;
  }
  60% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .error-glow,
  .error-ping {
    animation: none;
  }
}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .logo-wrapper {
    position: static;
    transform: none;
  }
}
@media (min-width: 768px) {
  .logo-wrapper {
    gap: 1rem;
  }
}
.logo-wrapper .book-shelf {
  width: 6rem;
  height: 6rem;
  cursor: pointer;
}
@media (max-width: 767px) {
  .logo-wrapper .book-shelf {
    width: 4rem;
    height: 4rem;
  }
}
@media (min-width: 768px) {
  .logo-wrapper .book-shelf {
    width: 7rem;
    height: 7rem;
  }
}
.logo-wrapper .book-shelf .book-shelf__book {
  transition: transform 0.3s ease;
}
.logo-wrapper .book-shelf .book-shelf__book--two {
  transition: transform 0.3s ease;
}
.logo-wrapper .book-shelf .book-shelf__book--three {
  transition: transform 0.3s ease;
}
.logo-wrapper .book-shelf .book-shelf__shelf {
  transition: transform 0.3s ease;
  transform-origin: 50% 50%;
}
.logo-wrapper .book-shelf:hover .book-shelf__book {
  animation: book-bounce 0.4s ease;
  animation-iteration-count: 1;
}
.logo-wrapper .book-shelf:hover .book-shelf__book--two {
  animation-name: book-bounce;
  animation-delay: 0.04s;
}
.logo-wrapper .book-shelf:hover .book-shelf__book--three {
  animation-name: book-bounce;
  animation-delay: 0.08s;
}
.logo-wrapper .book-shelf:hover .book-shelf__shelf {
  animation: shelf-lift 0.4s ease;
  animation-iteration-count: 1;
}
.logo-wrapper .logo {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0a6b95;
  margin-left: -2.9rem;
}
@media (max-width: 767px) {
  .logo-wrapper .logo {
    margin-left: 0;
  }
}
@media (min-width: 768px) {
  .logo-wrapper .logo {
    font-size: 1.625rem;
  }
}
.logo-wrapper .custom {
  display: none;
}
@media (min-width: 768px) {
  .logo-wrapper .custom {
    display: block;
  }
}

.page-header {
  background-color: #e9ebee;
  margin-bottom: 1.5rem;
  position: relative;
}
.page-header .header-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding: 0.5rem 0;
}
@media (max-width: 767px) {
  .page-header .header-content {
    padding: 0.5rem 0;
    min-height: auto;
  }
}
@media (min-width: 768px) {
  .page-header .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
}
.page-header .header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .page-header .header-left {
    position: static;
  }
}
@media (min-width: 768px) {
  .page-header .header-left {
    align-items: flex-start;
  }
}
.page-header .logo {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0a6b95;
  margin-left: -2.9rem;
  padding-left: 0.5rem;
}
@media (max-width: 767px) {
  .page-header .logo {
    margin-left: 0;
  }
}
@media (min-width: 768px) {
  .page-header .logo {
    font-size: 1.625rem;
  }
}

.page-title-section {
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .page-title-section {
    padding: 0;
    margin-bottom: 1.5rem;
  }
}
.page-title-section .container {
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .breadcrumbs {
    margin-bottom: 1rem;
  }
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}
.breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1c2024;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.breadcrumb-item.breadcrumb-current {
  color: #1c2024;
  font-weight: 500;
  padding: 1.5rem;
  position: relative;
}
.breadcrumb-item.breadcrumb-current::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpath d='M10,15 Q10,10 25,10 Q50,5 75,10 Q90,10 90,15 Q90,20 75,20 Q50,25 25,20 Q10,20 15,15' fill='none' stroke='%232E8BC0' stroke-width='1.5' opacity='0.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.breadcrumb-separator {
  color: rgba(28, 32, 36, 0.4);
  display: flex;
  align-items: center;
}

.breadcrumb-icon {
  color: #e9ebee;
}

.page-title {
  text-align: left;
  margin-top: -2rem;
}
.page-title h1,
.page-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1c2024;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .page-title h1,
  .page-title h2 {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .page-title h1,
  .page-title h2 {
    font-size: 1.75rem;
  }
}
.page-title .page-subtitle {
  font-size: 1.1rem;
  color: rgba(28, 32, 36, 0.7);
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .page-title .page-subtitle {
    font-size: 1rem;
  }
}

.social-floating-block {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 2px rgba(15, 18, 22, 0.04), 0 10px 28px rgba(15, 18, 22, 0.1);
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(233, 235, 238, 0.2);
}
@media (max-width: 767px) {
  .social-floating-block {
    display: none;
  }
}
.social-floating-block .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9ebee;
  color: #0b475f;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1), box-shadow 140ms cubic-bezier(0.2, 0, 0.2, 1), filter 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.social-floating-block .social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.social-floating-block .social-link:hover {
  background: #0b475f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(11, 71, 95, 0.3);
}
.social-floating-block .social-link:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .social-floating-block .social-link {
    transition: box-shadow 140ms cubic-bezier(0.2, 0, 0.2, 1);
  }
  .social-floating-block .social-link:hover {
    transform: none;
  }
}

@keyframes book-bounce {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes shelf-lift {
  0% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-4px) rotate(10deg);
  }
  40% {
    transform: translateY(-4px) rotate(0);
  }
  40% {
    transform: translateY(-4px) rotate(-10deg);
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes subtleRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 767px) {
  .header-nav {
    display: none;
  }
}
.header-nav .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .header-nav .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
@media (max-width: 767px) {
  .header-nav .nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    animation: slideInFromHeader 0.3s ease forwards;
  }
  .header-nav .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .header-nav .nav-links li:nth-child(2) {
    animation-delay: 0.15s;
  }
  .header-nav .nav-links li:nth-child(3) {
    animation-delay: 0.2s;
  }
  .header-nav .nav-links li:nth-child(4) {
    animation-delay: 0.25s;
  }
  .header-nav .nav-links li:nth-child(5) {
    animation-delay: 0.3s;
  }
}
.header-nav .nav-links li a {
  color: #1c2024;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: block;
}
@media (max-width: 767px) {
  .header-nav .nav-links li a {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    color: #1c2024;
    border-radius: 6px;
    margin: 0 1rem;
  }
}
.header-nav .nav-links li a:hover {
  background-color: rgba(28, 32, 36, 0.05);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .header-nav .nav-links li a:hover {
    background-color: rgba(28, 32, 36, 0.15);
    transform: scale(1.05);
  }
}
.header-nav .nav-links li a.active {
  background-color: rgba(28, 32, 36, 0.1);
  font-weight: 600;
}
@media (max-width: 767px) {
  .header-nav .nav-links li a.active {
    background-color: rgba(28, 32, 36, 0.25);
  }
}
.header-nav .help-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .header-nav .help-dropdown {
    display: none;
  }
}
.header-nav .help-dropdown .help-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2024;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
}
.header-nav .help-dropdown .help-trigger:hover {
  background-color: rgba(28, 32, 36, 0.05);
  transform: translateY(-2px);
}
.header-nav .help-dropdown .help-trigger.is-active {
  background-color: rgba(28, 32, 36, 0.1);
}
.header-nav .help-dropdown .help-trigger svg {
  width: 20px;
  height: 20px;
  fill: #1c2024;
  transition: transform 0.3s ease;
}
.header-nav .help-dropdown .help-trigger.is-active svg {
  transform: rotate(180deg);
}
.header-nav .help-dropdown .help-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-radius: 6px;
  padding: 0;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99999 !important;
  margin-top: 0.5rem;
}
.header-nav .help-dropdown .help-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 99999 !important;
}
.header-nav .help-dropdown .help-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(28, 32, 36, 0.1);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  backdrop-filter: blur(15px);
}
.header-nav .help-dropdown .help-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1c2024;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}
.header-nav .help-dropdown .help-menu a:hover {
  background: rgba(28, 32, 36, 0.05);
  color: #1c2024;
  padding-left: 2rem;
}
.header-nav .help-dropdown .help-menu a:not(:last-child) {
  border-bottom: 1px solid rgba(28, 32, 36, 0.05);
}

.mobile-social-header {
  display: none;
  position: relative;
}
@media (max-width: 767px) {
  .mobile-social-header {
    display: block;
  }
}
.mobile-social-header .social-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  right: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
  z-index: 1003;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.mobile-social-header .social-trigger:before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: transparent;
  border-radius: 50%;
}
.mobile-social-header .social-trigger.is-active {
  background: rgba(28, 32, 36, 0.3);
  border-color: rgba(28, 32, 36, 0.5);
}
.mobile-social-header .social-trigger svg {
  width: 24px;
  height: 24px;
  fill: #1c2024;
  opacity: 1;
}
.mobile-social-header .social-item {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 0;
  right: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(28, 32, 36, 0.1);
  z-index: -1000;
  opacity: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}
.mobile-social-header .social-item svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.mobile-social-header .social-item--telegram {
  background: linear-gradient(135deg, #2E8BC0, #87CEEB);
  border-color: rgba(46, 139, 192, 0.3);
}
.mobile-social-header .social-item--tiktok {
  background: #2f353b;
  border-color: rgba(48, 67, 105, 0.3);
}
.mobile-social-header .social-item--twitter {
  background: linear-gradient(135deg, #5F9EA0, #87CEEB);
  border-color: rgba(95, 158, 160, 0.3);
}
.mobile-social-header .social-item-0 {
  top: 55px;
  right: 0;
  opacity: 1;
  z-index: 1002;
  transform: translateY(0) scale(1);
}
.mobile-social-header .social-item-1 {
  top: 105px;
  right: 0;
  opacity: 1;
  z-index: 1002;
  transform: translateY(0) scale(1);
}
.mobile-social-header .social-item-2 {
  top: 155px;
  right: 0;
  opacity: 1;
  z-index: 1002;
  transform: translateY(0) scale(1);
}

@keyframes slideInFromHeader {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a {
  user-select: none;
  text-decoration: none;
  outline: none;
  color: inherit;
}
a:focus, a:active, a:hover {
  outline: none;
  text-decoration: none;
  color: inherit;
}

.fullscreen-help-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(93, 186, 255, 0.95) 0%, rgba(85, 107, 122, 0.95) 100%);
  backdrop-filter: blur(20px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.1);
}
.fullscreen-help-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.fullscreen-help-menu .help-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
}
.fullscreen-help-menu .help-menu-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}
.is-open .fullscreen-help-menu .help-menu-title {
  opacity: 1;
  transform: translateY(0);
}
.fullscreen-help-menu .help-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
}
.fullscreen-help-menu .help-menu-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.is-open .fullscreen-help-menu .help-menu-item {
  opacity: 1;
  transform: translateY(0);
}
.fullscreen-help-menu .help-menu-item:nth-child(1) {
  transition-delay: 0.3s;
}
.fullscreen-help-menu .help-menu-item:nth-child(2) {
  transition-delay: 0.4s;
}
.fullscreen-help-menu .help-menu-item:nth-child(3) {
  transition-delay: 0.5s;
}
.fullscreen-help-menu .help-menu-item:nth-child(4) {
  transition-delay: 0.6s;
}
.fullscreen-help-menu .help-menu-item:nth-child(5) {
  transition-delay: 0.7s;
}
.fullscreen-help-menu .help-menu-link {
  display: block;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.fullscreen-help-menu .help-menu-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.fullscreen-help-menu .help-menu-link:active {
  transform: translateY(-2px);
}
.fullscreen-help-menu .help-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: rotate(90deg);
  transition-delay: 0.1s;
}
.is-open .fullscreen-help-menu .help-menu-close {
  opacity: 1;
  transform: rotate(0deg);
}
.fullscreen-help-menu .help-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg) scale(1.1);
}

.header-nav .nav-links li a {
  position: relative;
  padding: 0.5rem 0;
  background: none;
  border-radius: 0;
  color: #495057;
  font-weight: 500;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.header-nav .nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0f83b4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0, 0.2, 1);
}
.header-nav .nav-links li a:hover {
  color: #0f1216;
  background: none;
}
.header-nav .nav-links li a:hover::after {
  transform: scaleX(1);
}
.header-nav .nav-links li a.active {
  color: #0f1216;
  background-color: transparent;
  font-weight: 600;
}
.header-nav .nav-links li a.active::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .header-nav .nav-links li a::after {
    transition: none;
  }
}

.logo-wrapper {
  text-decoration: none;
}
.logo-wrapper:hover, .logo-wrapper:focus-visible {
  text-decoration: none;
}
.logo-wrapper .logo {
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.logo-wrapper:hover .logo, .logo-wrapper:focus-visible .logo {
  color: #0f1216;
}
.logo-wrapper:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 4px;
  border-radius: 3px;
}

.mobile-menu {
  display: none;
}
@media (max-width: 767px) {
  .mobile-menu {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    padding: 0;
    margin: 0;
    z-index: 100;
  }
}

.mobile-menu .menu {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0;
  border-top: 1px solid #e1e5ea;
  border-radius: 0;
  box-shadow: 0 -2px 16px rgba(15, 18, 22, 0.06);
}

.mobile-menu .menu__item {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  color: #868e96;
  text-decoration: none;
  cursor: pointer;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.mobile-menu .menu__item svg {
  width: 1.4rem;
  height: 1.4rem;
}
.mobile-menu .menu__item:active {
  color: #0f1216;
}
.mobile-menu .menu__item.is-current {
  color: #0a6b95;
}
.mobile-menu .menu__item:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 2px;
}

.mobile-menu .menu__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  margin-top: -1.5rem;
  border-radius: 50%;
  background: #0f1216;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 18, 22, 0.3);
  transition: background-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.mobile-menu .menu__action svg {
  width: 1.5rem;
  height: 1.5rem;
}
.mobile-menu .menu__action.is-current, .mobile-menu .menu__action:active {
  background: #0a6b95;
}
.mobile-menu .menu__action:focus-visible {
  outline: 2px solid #0f83b4;
  outline-offset: 3px;
}

.mobile-menu .mobile-help-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  min-width: 11rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 18, 22, 0.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 140ms cubic-bezier(0.2, 0, 0.2, 1), transform 140ms cubic-bezier(0.2, 0, 0.2, 1), visibility 140ms;
}
.mobile-menu .mobile-help-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu .mobile-help-menu a {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: #495057;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }
}
body:has(.slim-footer) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:has(.slim-footer) > .home-page,
body:has(.slim-footer) > .editor-page,
body:has(.slim-footer) > .about-page,
body:has(.slim-footer) > .policy-page,
body:has(.slim-footer) > .cover-page,
body:has(.slim-footer) > .proof-page {
  flex: 1 0 auto;
  min-height: 0;
}

.slim-footer {
  flex: none;
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.25rem;
  background: #1c2024;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}
.slim-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.slim-footer__id {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
}
.slim-footer__name {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.slim-footer__line {
  color: rgba(255, 255, 255, 0.6);
}
.slim-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.slim-footer__links a,
.slim-footer__links a:visited {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms cubic-bezier(0.2, 0, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0, 0.2, 1);
}
.slim-footer__links a:hover, .slim-footer__links a:focus-visible,
.slim-footer__links a:visited:hover,
.slim-footer__links a:visited:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 767px) {
  .slim-footer {
    padding-top: 2rem;
    padding-bottom: 5rem;
  }
  .slim-footer__row {
    justify-content: flex-start;
    gap: 1rem;
  }
}
