/* Entry and fallback brand colors; workspace.css owns the signed-in shell. */
:root {
  --ink: #172620;
  --ink-2: #35453b;
  --page: #f7f8f5;
  --blue: #176b58;
  --blue-dark: #0e5745;
  --blue-soft: #e8f3ed;
  --navy: #223229;
  --navy-2: #2e4437;
}

.entry-loading { margin: 0; padding: 48px; color: #176b58; text-align: center; }
#auth-root > .entry-loading-scene[role="status"] {
  padding: 28px 20px;
  background: radial-gradient(circle at 50% 43%, #eef8f0 0, #f8fbf8 340px, #fbfcfa 610px);
}
.entry-loading-scene .entry-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 100%);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.entry-loading-scene .entry-loading-art {
  position: relative;
  isolation: isolate;
  width: min(330px, 100%);
  aspect-ratio: 33 / 27;
  margin-bottom: 10px;
}
.entry-loading-scene .entry-loading-shape,
.entry-loading-scene .entry-loading-card-back,
.entry-loading-scene .entry-loading-mark,
.entry-loading-scene .entry-loading-spark { position: absolute; display: block; }
.entry-loading-scene .entry-loading-shape-blue {
  z-index: 0;
  left: 3%;
  top: 29%;
  width: 39%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dceaf5;
}
.entry-loading-scene .entry-loading-shape-sun {
  z-index: 0;
  right: 4%;
  top: 3%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f7eac4;
}
.entry-loading-scene .entry-loading-shape-leaf {
  z-index: 1;
  left: 15%;
  top: 8%;
  width: 69%;
  height: 77%;
  border-radius: 44% 56% 48% 52% / 51% 43% 57% 49%;
  background: #d9efde;
  transform: rotate(-14deg);
}
.entry-loading-scene .entry-loading-card-back {
  z-index: 2;
  left: 38%;
  top: 24%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: #a9d8b9;
  transform: rotate(15deg);
  animation: entry-loading-card-tilt 3s ease-in-out infinite;
}
.entry-loading-scene .entry-loading-mark {
  z-index: 3;
  left: 22%;
  top: 15%;
  display: grid;
  place-items: center;
  width: 55%;
  aspect-ratio: 1;
  border: 1px solid #e4efe5;
  border-radius: 31%;
  background: #fff;
  box-shadow: 0 27px 55px #1d574020, 0 7px 17px #1d574012;
  transform: rotate(-8deg);
  animation: entry-loading-card-float 3s ease-in-out infinite;
}
.entry-loading-scene .entry-loading-mark svg { width: 68%; height: 68%; }
.entry-loading-scene .entry-loading-spark-one {
  z-index: 4;
  left: 11%;
  top: 18%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e7bc5a;
  animation: entry-loading-sparkle 2.2s ease-in-out infinite;
}
.entry-loading-scene .entry-loading-spark-two {
  z-index: 4;
  right: 9%;
  bottom: 10%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #78bda5;
  animation: entry-loading-sparkle 2.2s ease-in-out 1s infinite;
}
.entry-loading-scene h1 {
  margin: 0;
  color: #20352a;
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.3;
}
.entry-loading-scene p {
  margin: 12px 0 0;
  color: #637568;
  font-size: 16px;
  line-height: 1.5;
}
.entry-loading-scene .entry-loading-track {
  position: relative;
  width: min(292px, 100%);
  height: 8px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 99px;
  background: #dceadf;
}
.entry-loading-scene .entry-loading-track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, #85cba1 32%, #176b58 53%, #85cba1 74%, transparent 100%);
  transform: translateX(-100%);
  animation: entry-loading-sweep 1.7s ease-in-out infinite;
}
@keyframes entry-loading-sweep {
  to { transform: translateX(100%); }
}
@keyframes entry-loading-card-float {
  50% { transform: translateY(-10px) rotate(-5deg); }
}
@keyframes entry-loading-card-tilt {
  50% { transform: translate(5px, 5px) rotate(19deg); }
}
@keyframes entry-loading-sparkle {
  50% { opacity: .55; transform: scale(.7); }
}
@media (max-width: 480px) {
  .entry-loading-scene .entry-loading-content { width: min(360px, 100%); }
  .entry-loading-scene .entry-loading-art { width: min(300px, 100%); margin-bottom: 14px; }
  .entry-loading-scene h1 { font-size: clamp(26px, 7vw, 30px); }
  .entry-loading-scene p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-loading-scene .entry-loading-card-back,
  .entry-loading-scene .entry-loading-mark,
  .entry-loading-scene .entry-loading-spark,
  .entry-loading-scene .entry-loading-track::after { animation: none; }
  .entry-loading-scene .entry-loading-track::after { transform: none; }
}
.entry-error { box-sizing: border-box; max-width: 480px; margin: 15vh auto; padding: 32px; color: #172620; }
.entry-error h1 { margin: 0 0 12px; font-size: 22px; }
.entry-error p { margin: 0 0 24px; color: #6b7770; font-size: 14px; line-height: 1.7; }
.entry-error-actions { display: flex; flex-wrap: wrap; gap: 12px; }
