/* ExamPass H5 - doodle notebook review workspace */

:root {
  --color-bg: #f7f0df;
  --color-bg-ink: rgba(118, 104, 78, 0.16);
  --color-card: #fffaf0;
  --color-card-soft: #fffdf7;
  --color-primary: #f2cf45;
  --color-primary-dark: #171717;
  --color-primary-soft: #ffedab;
  --color-accent: #dd6974;
  --color-success: #79b66a;
  --color-info: #6f9fda;
  --color-danger: #dd6974;
  --color-text: #171717;
  --color-text-weak: #665d50;
  --color-border: #1c1c1c;
  --color-border-strong: #1c1c1c;
  --sticky-yellow: #ffe39a;
  --sticky-pink: #ffd4d8;
  --sticky-blue: #cfe6ff;
  --sticky-green: #dff2c7;
  --sticky-orange: #ffe6b9;
  --marker: rgba(242, 207, 69, 0.72);
  --radius: 14px;
  --shadow: 6px 7px 0 rgba(21, 27, 45, 0.16);
  --shadow-soft: 3px 4px 0 rgba(21, 27, 45, 0.13);
  --gap: 16px;
  --font-display: "Segoe Print", "Kaiti SC", "KaiTi", "STKaiti",
    "Comic Sans MS", cursive;
  --font-body: "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background:
    linear-gradient(90deg, var(--color-bg-ink) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-bg-ink) 1px, transparent 1px),
    var(--color-bg);
  background-size: 28px 28px, 28px 28px, auto;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}

a {
  color: #346fb3;
}

.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 44px;
}

.app-header {
  margin-bottom: 18px;
  padding: 8px 0 13px;
  border-bottom: 2px dotted rgba(20, 20, 20, 0.42);
}

.app-header h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.app-header .subtitle {
  max-width: 520px;
  margin: 0;
  color: var(--color-text-weak);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.card,
.hero-panel {
  position: relative;
  margin-bottom: var(--gap);
  padding: 18px 16px;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.card {
  box-shadow:
    4px 5px 0 rgba(20, 20, 20, 0.12),
    0 12px 18px rgba(20, 20, 20, 0.05);
}

.card::after,
.hero-panel::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 28px;
  width: 54px;
  height: 18px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 4px;
  background: rgba(242, 207, 69, 0.48);
  transform: rotate(1.5deg);
  pointer-events: none;
}

.card h2,
.hero-panel h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}

.hero-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: none;
  background:
    linear-gradient(135deg, rgba(207, 230, 255, 0.34), transparent 42%),
    var(--color-card);
}

.hero-panel::before {
  display: none;
}

.hero-copy .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 2px 0 12px;
  padding: 5px 12px;
  border: 2px solid rgba(28, 28, 28, 0.72);
  border-radius: 8px;
  background: var(--sticky-orange);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 2px 3px 0 rgba(28, 28, 28, 0.14);
  transform: rotate(-1deg);
}

.hero-copy .eyebrow::before,
.hero-copy .eyebrow::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 32px;
  height: 12px;
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: 3px;
  background: rgba(242, 207, 69, 0.44);
}

.hero-copy .eyebrow::before {
  left: 12px;
  transform: rotate(-3deg);
}

.hero-copy .eyebrow::after {
  right: 12px;
  transform: rotate(3deg);
}

.hero-copy h2 {
  display: inline;
  font-size: 25px;
  background: linear-gradient(transparent 62%, var(--marker) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-copy .eyebrow + h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.hero-copy p {
  margin: 0;
  color: var(--color-text-weak);
  font-size: 14px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.feature-tile {
  position: relative;
  min-height: 104px;
  padding: 12px 11px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--sticky-yellow);
  box-shadow: 3px 4px 0 rgba(20, 20, 20, 0.13);
  transform: rotate(-0.35deg);
}

.feature-tile:nth-child(2) {
  background: var(--sticky-blue);
  transform: rotate(0.35deg);
}

.feature-tile:nth-child(3) {
  background: var(--sticky-pink);
  transform: rotate(0.2deg);
}

.feature-tile:nth-child(4) {
  background: var(--color-card-soft);
  transform: rotate(-0.2deg);
}

.feature-tile::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--color-primary);
}

.feature-tile:nth-child(2)::before {
  background: var(--color-primary);
}

.feature-tile:nth-child(3)::before {
  background: var(--color-danger);
}

.feature-tile:nth-child(4)::before {
  background: var(--color-success);
}

.feature-tile::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 40px;
  height: 12px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 4px;
  background: rgba(255, 216, 0, 0.58);
  transform: translateX(-50%) rotate(-1deg);
}

.feature-tile strong,
.feature-tile span {
  display: block;
}

.feature-tile strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.feature-tile span {
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #36322e;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 1px 8px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.upload-card {
  border-top: 2px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(207, 230, 255, 0.44), transparent 120px),
    var(--color-card);
}

.field .hint,
.hint {
  display: block;
  margin-top: 6px;
  color: var(--color-text-weak);
  font-size: 13px;
  line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-card-soft);
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
}

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

.file-upload-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 12px;
  border: 2px dashed var(--color-border-strong);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 216, 0, 0.3), transparent 38%),
    var(--color-card-soft);
  cursor: pointer;
}

.file-input-native:focus + .file-upload-control,
.file-upload-control:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(36, 87, 197, 0.12);
}

.file-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.file-upload-text {
  min-width: 0;
  color: var(--color-text-weak);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--color-text-weak) 50%),
    linear-gradient(135deg, var(--color-text-weak) 50%, transparent 50%),
    #fffdf2;
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(36, 87, 197, 0.15);
}

.two-col-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.two-col-fields label {
  min-height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:active {
  transform: translate(3px, 3px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.95);
}

.btn-primary:hover {
  background: #ffe43d;
  box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.95);
}

.btn-primary:active {
  background: #e7be00;
}

.btn-primary:disabled {
  background: #b8c2d9;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  border-color: var(--color-border);
  background: var(--color-card-soft);
  color: var(--color-text);
}

.btn-danger {
  border-color: var(--color-border);
  background: var(--color-card-soft);
  color: var(--color-danger);
}

.btn-link {
  min-height: 44px;
  background: transparent;
  color: var(--color-primary);
}

.btn + .btn {
  margin-top: 12px;
}

.consent-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.consent-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px dotted rgba(20, 20, 20, 0.28);
  color: var(--color-text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.consent-list li:last-child {
  border-bottom: none;
}

.consent-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.08);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--sticky-orange);
  cursor: pointer;
}

.consent-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
}

.consent-check span {
  font-size: 14px;
  line-height: 1.5;
}

.progress-wrap {
  margin: 18px 0 10px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 2px solid rgba(21, 27, 45, 0.8);
  border-radius: 999px 780px 980px 830px;
  background: #fffdf2;
}

.progress-bar > .fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: repeating-linear-gradient(
    -12deg,
    var(--color-primary) 0 9px,
    var(--color-accent) 9px 14px
  );
  transition: width 0.4s ease;
}

.stage-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 800;
}

.progress-pct {
  margin: 8px 0 0;
  color: var(--color-text-weak);
  font-size: 13px;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(36, 87, 197, 0.22);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.review-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 16px;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 12px 56px 12px 12px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-card-soft);
  color: var(--color-text);
  text-decoration: none;
}

.flow-step::after {
  content: "进入";
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--color-text-weak);
  font-size: 12px;
  font-weight: 700;
}

.flow-step.primary {
  border-color: var(--color-border);
  background: var(--color-primary);
}

.flow-step:active {
  border-color: var(--color-primary);
  background: #eef3ff;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
}

.flow-step strong,
.flow-step em {
  display: block;
}

.flow-step strong {
  font-size: 15px;
  line-height: 1.35;
  padding-right: 4px;
}

.flow-step em {
  margin-top: 4px;
  color: var(--color-text-weak);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.flow-advice {
  margin: 6px 0 0;
  color: var(--color-text-weak);
  font-size: 13px;
  line-height: 1.5;
}

.state-box {
  padding: 6px 0;
  text-align: left;
}

.state-box h2 {
  margin-bottom: 4px;
}

.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border: 2px solid currentColor;
  border-radius: 999px 790px 930px 820px;
  font-size: 0;
}

.state-icon::before {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.state-icon-warning {
  color: var(--color-danger);
}

.state-icon-warning::before {
  content: "!";
}

.state-icon-deleted {
  color: var(--color-success);
}

.state-icon-deleted::before {
  content: "✓";
}

.error-msg {
  margin: 12px 0;
  padding: 12px;
  border: 2px solid rgba(236, 75, 95, 0.6);
  border-radius: 12px 16px 11px 14px;
  background: var(--sticky-pink);
  color: var(--color-danger);
  font-size: 14px;
  word-break: break-word;
}

.hidden {
  display: none !important;
}

.ai-notice {
  margin-top: 18px;
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 999;
  max-width: 90%;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(32, 33, 38, 0.92);
  color: #fff;
  font-size: 14px;
  transform: translateX(-50%);
}

.file-list {
  margin: 10px 0 0;
  padding: 0;
  color: var(--color-text-weak);
  font-size: 13px;
  list-style: none;
}

.file-list li {
  padding: 4px 0;
  word-break: break-all;
}

.acct-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 12px;
  border-bottom: 2px dashed rgba(21, 27, 45, 0.24);
  background: rgba(255, 253, 242, 0.94);
  color: var(--color-text-weak);
  font-size: 13px;
  flex-wrap: wrap;
  line-height: 1.25;
}

.acct-bar a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(transparent 60%, var(--color-primary) 60%);
}

.acct-bar .danger-link {
  color: var(--color-danger);
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-item {
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  background: var(--sticky-orange);
  box-shadow: var(--shadow-soft);
}

.job-item:nth-child(2n) {
  background: var(--color-card);
}

.job-item:nth-child(3n) {
  background: var(--sticky-blue);
}

.job-title {
  font-weight: 800;
}

.job-meta {
  margin: 5px 0 10px;
  color: var(--color-text-weak);
  font-size: 12px;
}

.job-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.job-links a,
.job-links button {
  min-height: 34px;
  padding: 6px 10px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.job-links .del,
.danger-text-link {
  color: var(--color-danger);
}

.danger-text-link {
  text-decoration: none;
}

.workspace-page {
  max-width: 1240px;
  padding-top: 18px;
}

.workspace-body {
  background:
    linear-gradient(90deg, var(--color-bg-ink) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-bg-ink) 1px, transparent 1px),
    var(--color-bg);
  background-size: 28px 28px, 28px 28px, auto;
}

.workspace-header {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 0 14px;
  border-bottom-color: rgba(20, 20, 20, 0.42);
}

.workspace-title-block {
  min-width: 0;
}

.workspace-header .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 8px;
  padding: 2px 10px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
}

.workspace-header h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(26px, 5.8vw, 42px);
  line-height: 1.1;
  text-wrap: balance;
}

.workspace-header .subtitle {
  max-width: 760px;
  color: var(--color-text-weak);
}

.workspace-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.summary-cell {
  min-width: 0;
  min-height: 64px;
  padding: 8px;
  border: 2px dotted rgba(20, 20, 20, 0.28);
  border-radius: 14px;
  background: var(--color-card-soft);
}

.summary-cell:nth-child(2) {
  background: var(--color-card-soft);
}

.summary-cell:nth-child(3) {
  background: var(--color-card-soft);
}

.summary-cell span,
.summary-cell strong {
  display: block;
}

.summary-cell span {
  color: #16233d;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.summary-cell strong {
  margin-top: 6px;
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.25;
}

.workspace-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px;
  overflow-x: auto;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-card);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(28, 43, 70, 0.08);
}

.workspace-tabs a {
  flex: 1 0 72px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--color-card-soft);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}

.workspace-tabs a:active {
  border-color: var(--color-border);
  background: var(--color-primary);
  color: var(--color-text);
}

.mobile-roadmap {
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(255, 228, 154, 0.52), rgba(255, 250, 240, 0.94) 96px),
    var(--color-card);
}

.roadmap-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.roadmap-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 72px;
  padding: 11px 42px 11px 11px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--sticky-yellow);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: 2px 3px 0 rgba(20, 20, 20, 0.12);
}

.roadmap-step:nth-child(2) {
  background: var(--sticky-blue);
  transform: rotate(0.15deg);
}

.roadmap-step:nth-child(3) {
  background: var(--sticky-pink);
  transform: rotate(-0.15deg);
}

.roadmap-step:nth-child(4) {
  background: var(--sticky-green);
  transform: rotate(0.1deg);
}

.roadmap-step::after {
  content: "开始";
  position: absolute;
  top: 11px;
  right: 11px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 900;
}

.roadmap-step.disabled {
  opacity: 0.58;
}

.roadmap-step.disabled::after {
  content: "待生成";
  color: var(--color-text-weak);
}

.roadmap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-border);
  border-radius: 999px 860px 940px 820px;
  background: var(--color-card-soft);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.roadmap-copy {
  display: block;
  min-width: 0;
}

.roadmap-copy strong,
.roadmap-copy span {
  display: block;
}

.roadmap-copy strong {
  padding-right: 2px;
  font-size: 14px;
  line-height: 1.32;
}

.roadmap-copy span {
  margin-top: 4px;
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.45;
  text-wrap: pretty;
}

.notebook-layout {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 12px;
}

.notebook-panel {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 76px;
}

.source-panel {
  background:
    linear-gradient(180deg, rgba(217, 245, 255, 0.76), rgba(255, 243, 232, 0.98) 90px),
    var(--color-card);
}

.ask-panel {
  background:
    linear-gradient(180deg, rgba(255, 240, 189, 0.72), rgba(255, 243, 232, 0.98) 96px),
    var(--color-card);
}

.studio-panel {
  background:
    linear-gradient(180deg, rgba(231, 255, 214, 0.72), rgba(255, 243, 232, 0.98) 90px),
    var(--color-card);
}

.ask-panel {
  order: 2;
}

.source-panel {
  order: 1;
}

.studio-panel {
  order: 3;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(21, 27, 45, 0.24);
}

.panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.panel-kicker {
  margin: 0 0 3px;
  color: var(--color-text-weak);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-btn {
  font: inherit;
  cursor: pointer;
}

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

.source-list,
.studio-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

.source-action {
  min-width: 0;
  min-height: 64px;
  padding: 10px;
  border: 2px dashed var(--color-border);
  border-radius: 14px;
  background: var(--color-card-soft);
  color: var(--color-text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 3px 0 rgba(20, 20, 20, 0.1);
}

.source-action:nth-child(1) {
  background: var(--sticky-yellow);
}

.source-action:nth-child(2) {
  background: var(--sticky-pink);
}

.source-action:nth-child(3) {
  background: var(--sticky-blue);
}

.source-action:nth-child(4) {
  background: var(--sticky-green);
}

.source-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.source-action.generating,
.studio-card.generating {
  background: var(--sticky-yellow);
}

.source-action strong,
.source-action span {
  display: block;
}

.source-action strong {
  font-size: 13px;
  line-height: 1.28;
}

.source-action span {
  margin-top: 4px;
  color: var(--color-text-weak);
  font-size: 11px;
  line-height: 1.3;
}

.source-item,
.studio-card {
  display: block;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-card-soft);
  color: var(--color-text);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.source-item[aria-selected="true"] {
  border-color: var(--color-border);
  background: var(--sticky-blue);
}

.source-item:hover,
.studio-card[href]:hover {
  transform: translateY(-1px);
  border-color: var(--color-border);
  background: #fff0c0;
}

.source-item:nth-child(2n),
.studio-card:nth-child(2n) {
  background: var(--sticky-orange);
  transform: rotate(0.2deg);
}

.source-item:nth-child(3n),
.studio-card:nth-child(3n) {
  background: var(--color-card-soft);
  transform: rotate(-0.2deg);
}

.source-item strong,
.source-item span,
.studio-card strong,
.studio-card span {
  display: block;
}

.source-item strong,
.studio-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.source-item span,
.studio-card span {
  margin-top: 4px;
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.45;
}

.studio-card {
  position: relative;
  padding-right: 46px;
}

.studio-card:is(button) {
  width: 100%;
  min-height: 70px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-card::after {
  content: "打开";
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.studio-card[href]:active {
  border-color: rgba(21, 27, 45, 0.9);
  background: var(--sticky-blue);
}

.studio-card.disabled {
  opacity: 0.55;
}

.studio-card.disabled::after {
  content: "待做";
  color: var(--color-text-weak);
}

.studio-card[data-studio-kind]::after {
  content: "生成";
}

.studio-card[data-studio-kind].disabled::after,
.studio-card[data-studio-kind]:disabled::after {
  content: "等待";
}

.studio-card[data-studio-kind].generating::after {
  content: "生成中";
}

.studio-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border: 2px dashed rgba(20, 20, 20, 0.38);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.76);
}

.studio-tools label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.studio-tools label > span {
  color: var(--color-text-weak);
  font-size: 12px;
  font-weight: 800;
}

.studio-tools select,
.studio-tools textarea {
  min-height: 42px;
  border-radius: 12px;
  font-size: 14px;
}

.studio-prompt-field {
  grid-column: 1 / -1;
}

.studio-prompt-field textarea {
  resize: vertical;
}

.studio-artifact {
  margin-top: 12px;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  background: var(--sticky-blue);
  box-shadow: var(--shadow-soft);
}

.artifact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(20, 20, 20, 0.26);
}

.artifact-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
}

.artifact-body {
  max-height: 46vh;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 2px dotted rgba(20, 20, 20, 0.36);
  border-radius: 14px;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(20, 20, 20, 0.05) 28px),
    var(--color-card-soft);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  white-space: normal;
  word-break: break-word;
}

.artifact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  align-items: stretch;
}

.artifact-actions .btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel-note,
.empty-text {
  margin: 12px 0 0;
  color: var(--color-text-weak);
  font-size: 12px;
  line-height: 1.5;
}

.focus-row {
  margin-bottom: 10px;
}

.focus-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text-weak);
  font-size: 12px;
  font-weight: 800;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.prompt-chips button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--sticky-orange);
  color: var(--color-text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.prompt-chips button:nth-child(2) {
  border-color: var(--color-border);
  background: var(--sticky-blue);
  color: var(--color-text);
}

.prompt-chips button:nth-child(4) {
  border-color: var(--color-border);
  background: var(--sticky-pink);
  color: var(--color-text);
}

.prompt-chips button:nth-child(3),
.prompt-chips button:nth-child(6) {
  background: var(--sticky-green);
}

.prompt-chips button:nth-child(5) {
  background: var(--sticky-yellow);
}

.workspace-chat {
  min-height: 280px;
  max-height: 48vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 2px dotted rgba(20, 20, 20, 0.36);
  border-radius: 18px;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(20, 20, 20, 0.05) 28px),
    var(--color-card-soft);
}

.workspace-msg {
  max-width: 90%;
  padding: 11px 12px;
  border-radius: 14px 11px 16px 12px;
  font-size: 14px;
  line-height: 1.68;
  white-space: pre-wrap;
  text-wrap: pretty;
}

.workspace-msg.assistant {
  align-self: flex-start;
  border: 2px solid var(--color-border);
  background: var(--color-card);
  color: #233044;
}

.workspace-msg.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.workspace-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.ask-panel {
  display: flex;
  flex-direction: column;
}

.ask-panel .workspace-chat {
  flex: 1 1 auto;
}

.workspace-input-row textarea {
  resize: vertical;
}

@media (min-width: 760px) {
  .workspace-header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: end;
    padding-top: 16px;
  }

  .roadmap-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .roadmap-step {
    min-height: 122px;
    grid-template-columns: 1fr;
    padding-right: 12px;
  }

  .roadmap-step::after {
    top: auto;
    right: 12px;
    bottom: 10px;
  }

  .workspace-input-row {
    grid-template-columns: minmax(0, 1fr) 104px;
    align-items: end;
  }

  .workspace-input-row .btn {
    min-height: 54px;
  }
}

@media (min-width: 980px) {
  .workspace-tabs {
    display: none;
  }

  .notebook-layout {
    grid-template-columns: minmax(220px, 0.76fr) minmax(420px, 1.52fr) minmax(240px, 0.86fr);
    align-items: start;
    gap: 14px;
  }

  .notebook-panel {
    min-height: 640px;
    scroll-margin-top: 20px;
  }

  .source-panel {
    order: 1;
  }

  .ask-panel {
    order: 2;
    min-height: 640px;
  }

  .studio-panel {
    order: 3;
  }

  .source-panel,
  .studio-panel {
    position: sticky;
    top: 16px;
  }
}

@media (min-width: 520px) {
  .two-col-fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .workspace-summary {
    grid-template-columns: 1fr;
  }

  .summary-cell {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .summary-cell strong {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 18px 12px 36px;
  }

  .workspace-page {
    padding-top: 12px;
  }

  .app-header h1 {
    font-size: 27px;
  }

  .workspace-header h1 {
    font-size: 28px;
  }

  .acct-bar {
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .source-actions {
    grid-template-columns: 1fr;
  }
}

/* ── Studio 产物渲染元素 ──────
   容器(.studio-artifact / .artifact-head / .artifact-body / .artifact-actions)
   复用本文件上方既有的便利贴风定义;此处只新增结构化子元素样式。 */

/* 文本类:一/二/三级标题逐级递减 4px(20 / 16 / 12) */
.artifact-h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 14px 0 6px;
  color: var(--color-text);
}
.artifact-h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 4px;
  color: var(--color-text);
}
.artifact-h3 {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 2px;
  color: var(--color-text);
}
.artifact-p {
  font-size: 14px;
  line-height: 1.7;
  margin: 4px 0;
  color: var(--color-text);
}
.artifact-fallback {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-text);
}

/* 闪卡盒:点按翻转 */
.flashcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.flashcard {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 130px;
  perspective: 800px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 130px;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}
.flashcard.flipped .flashcard-inner {
  transform: rotateY(180deg);
}
.flashcard-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
  overflow: auto;
}
.flashcard-front {
  background: var(--color-primary-soft);
}
.flashcard-front strong {
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-text);
}
.flashcard-hint {
  font-size: 11px;
  color: var(--color-text-weak);
}
.flashcard-back {
  background: var(--color-card-soft);
  transform: rotateY(180deg);
}
.flashcard-back-main {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
}
.flashcard-tip,
.flashcard-action {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-weak);
}

/* 闪卡按需配图:卡片 + 配图按钮 + 该卡内容图 竖直一列 */
.flashcard-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flashcard-illust-btn {
  align-self: flex-start;
  font-size: 12px;
  padding: 4px 10px;
  min-height: 32px;
  background: var(--color-card-soft);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.flashcard-illust.hidden {
  display: none;
}
.flashcard-illust-img {
  display: block;
  width: 100%;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
}

/* 思维导图:纯 CSS 缩进树(手写字体 + 左侧连线,无外部依赖) */
.mindmap-tree {
  font-family: var(--font-display);
  padding: 6px 2px;
}
.mindmap-root {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  padding: 6px 14px;
  margin-bottom: 12px;
  background: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
}
.mindmap-branches {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 14px;
  margin-left: 10px;
  border-left: 2px solid var(--color-border);
}
.mindmap-branch-head {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 12px;
  background: var(--color-primary-soft);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
}
.mindmap-leaves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  margin: 6px 0 0 8px;
  border-left: 1px dashed var(--color-border);
}
.mindmap-leaf {
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  padding-left: 14px;
  color: var(--color-text);
}
.mindmap-leaf::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-text-weak);
}

/* 信息图:纵向卡片 */
.infographic {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.infographic-headline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  background: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
}
.infographic-block {
  padding: 10px 12px;
  background: var(--color-card-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
}
.infographic-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.infographic-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  background: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
}
.infographic-block-head strong {
  font-size: 15px;
  color: var(--color-text);
}
.infographic-item {
  font-size: 13px;
  line-height: 1.6;
  padding-left: 30px;
  position: relative;
  color: var(--color-text);
}
.infographic-item::before {
  content: "·";
  position: absolute;
  left: 16px;
  color: var(--color-accent);
  font-weight: 700;
}

/* 小黑 AI 配图(gpt-image-2 生成,缓存为本地 PNG) */
.artifact-illust {
  margin-bottom: 10px;
}
.artifact-illust.hidden {
  display: none;
}
.artifact-illust-img {
  display: block;
  width: 100%;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
}

/* ===== 2026-06-08 PRD 优化:入口价值前置 / 单点 CTA / 闪卡盒抽卡感 ===== */

/* 入口页:示例闪卡(价值暗示,授权前先看到"可翻卡") */
.hero-demo {
  margin-top: 16px;
}

.hero-demo-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-weak);
}

.hero-demo-card {
  display: block;
  width: 100%;
  max-width: 320px;
  min-height: 132px;
}

.hero-demo-card .flashcard-inner {
  min-height: 132px;
}

/* 入口页:信任摘要 + 完整条款折叠 */
.consent-brief {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.consent-details {
  margin: 0 0 14px;
  border: 2px dashed rgba(20, 20, 20, 0.35);
  border-radius: 12px;
  background: var(--color-card-soft);
}

.consent-details summary {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-weak);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.consent-details[open] summary {
  border-bottom: 1px dotted rgba(20, 20, 20, 0.28);
}

.consent-details .consent-list {
  margin: 0;
  padding: 4px 12px 10px;
}

/* 上传页:"生成后你会得到"产物预告 */
.outcome-box {
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--sticky-yellow);
  box-shadow: var(--shadow-soft);
}

.outcome-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

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

.outcome-list li {
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-weak);
}

.outcome-list li strong {
  margin-right: 6px;
  color: var(--color-text);
}

.soft-note {
  opacity: 0.75;
  font-size: 12px;
}

/* 完成页:单点聚焦主 CTA */
.cta-hero {
  min-height: 58px;
  margin: 14px 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.cta-hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-weak);
  text-align: center;
}

.review-flow-label {
  margin: 0 0 -4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-weak);
}

/* 闪卡盒:抽卡工具栏 + 复习进度 */
.flashcard-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.fc-toolbar-btn {
  min-height: 36px;
  padding: 5px 12px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 3px 0 rgba(20, 20, 20, 0.18);
  -webkit-tap-highlight-color: transparent;
}

.fc-toolbar-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.fc-progress {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-weak);
}

/* 闪卡盒:抽中的卡高亮 */
.flashcard-cell {
  position: relative;
}

.flashcard-cell.drawn {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* 闪卡盒:掌握度角标与按钮 */
.fc-badge {
  position: absolute;
  top: -9px;
  right: -5px;
  z-index: 2;
  padding: 0 5px;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: var(--shadow-soft);
}

.fc-badge.hidden {
  display: none;
}

.fc-mastery {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.fc-mastery button {
  min-height: 28px;
  padding: 2px 8px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fc-mastery button:active {
  background: var(--color-primary-soft);
}

/* 配图点击放大 */
.flashcard-illust-img,
.artifact-illust-img {
  cursor: zoom-in;
}

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}

.img-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  background: #ffffff;
}
