/* MIRAI · stylesheet halaman masuk (sebelum login): formulir masuk/daftar dan animasi pembuka.
   Hasil peleburan bagian yang dipakai halaman masuk dari modern.css, refine.css, tampilan-login.css,
   ukuran-tampilan.css dan operation-ui.css (24 Nov 2026); tampilan tidak berubah (uji/tampilan.cjs).
   Urutan aturan PENTING (yang lebih bawah menang bila bobot selektor sama). Halaman aplikasi memakai mirai.css. */

/* ======================================================================
   Dasar awal: variabel, huruf, tata letak umum (dulu modern.css)
   ====================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');
:root {
  font: 17px 'Segoe UI',sans-serif;
  color: var(--text);
  background: var(--bg);
  /* Pool Puri visual language shared by all MIRAI panels. */
  --teal: #006c75;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --teal: #69d6cd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: var(--blue);
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  background: #0879cb;
  color: white;
  padding: 12px 19px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.secondary {
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid #eab54e;
  outline-offset: 3px;
}
label {
  display: block;
  font-weight: 600;
  margin: 14px 0;
}
input,
select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
}
form {
  margin: 0;
}
p {
  line-height: 1.65;
  margin: 8px 0 16px;
}
h1,
h2 {
  font-family: Manrope,'Segoe UI',sans-serif;
  letter-spacing: -.04em;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 12px 0;
}
h2 {
  font-size: 24px;
  margin: 10px 0 16px;
}
.workspace {
  margin-left: 255px;
}
.guest .workspace {
  margin: 0;
  /* ---------- Kerangka halaman tamu: penuh layar, tanpa header ---------- */
  min-height: 100dvh;
  padding: 0;
}
header {
  height: 90px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 35px;
  gap: 14px;
}
.header-path,
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-path {
  font-size: 14px;
}
.header-path span,
.header-path i {
  color: var(--muted);
}
.icon-button {
  font-size: 23px;
  background: var(--soft);
  color: var(--text);
  padding: 7px 14px;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 28px 35px 40px;
  animation: page-in .28s ease-out;
}
article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
  box-shadow: 0 5px 30px #21456806;
  margin-bottom: 18px;
  transition: box-shadow .22s,border-color .22s,transform .22s;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 9px 0;
  min-height: 40px;
}
.error {
  background: #fee6e5;
  color: #9c302c;
  padding: 15px;
  border-radius: 9px;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 14px;
}
dialog {
  max-width: 600px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  padding: 30px;
}
dialog::backdrop {
  background: #0d233780;
}
.toast {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 430px;
  background: #0c617c;
  color: white;
  padding: 18px 22px;
  border-radius: 12px;
  z-index: 80;
  box-shadow: 0 8px 30px #0003;
}
.toast.visible {
  display: block;
}
footer {
  padding: 22px 35px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
  max-width: 1170px;
  margin: 45px auto;
}
.login {
  padding: 40px;
  max-width: 500px;
}
.login h2 {
  font-size: 29px;
  margin-top: 16px;
}
.login>p {
  font-size: 15px;
  color: var(--muted);
}
.login form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .workspace {
    margin-left: 215px;
  }
  main {
    padding: 24px;
  }
  .login-layout {
    gap: 25px;
  }
}
@media (max-width: 750px) {
  :root {
    font-size: 16px;
  }
  .workspace {
    margin: 0;
    padding-bottom: 76px;
  }
  header {
    height: 75px;
    padding: 13px 16px;
  }
  .header-path {
    font-size: 12px;
    gap: 8px;
  }
  .header-path>span {
    color: var(--blue);
    font-size: 16px;
    font-weight: 800;
  }
  .header-actions button {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .header-actions .icon-button {
    font-size: 22px;
  }
  main {
    padding: 20px 16px;
  }
  h1 {
    font-size: 29px;
  }
  article {
    padding: 19px;
  }
  footer {
    display: block;
    font-size: 10px;
    padding: 20px 16px;
  }
  footer span {
    display: block;
    margin-top: 6px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    margin: 0;
    gap: 20px;
  }
  .login {
    padding: 25px;
    max-width: none;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 90px;
    font-size: 14px;
  }
}

/* ======================================================================
   Penyempurnaan ruang kerja (dulu refine.css)
   ====================================================================== */
button[disabled] {
  opacity: .55;
  cursor: wait;
}
.nav-icon {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  flex-shrink: 0;
}
article:hover {
  border-color: #a9c7dc;
  box-shadow: 0 9px 30px #2145680a;
}
button {
  transition: transform .16s,box-shadow .16s,background .16s;
}
button:active {
  transform: translateY(1px) scale(.99);
}
button:hover {
  box-shadow: 0 5px 14px #0879cb20;
}
@keyframes page-in{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media (max-width: 750px) {
  .header-path b {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
:root:not([data-theme="dark"]) {
  --bg: #f8f9fc;
  --surface: #fff;
  --text: #182338;
  --muted: #53647b;
  --line: #e5eaf2;
  --soft: #f4f7fc;
  --blue: #194fbc;
}
#phone-preview {
  padding: 0;
  width: min(420px,calc(100% - 16px));
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
}
#phone-preview::backdrop {
  background: #081729a8;
  backdrop-filter: blur(5px);
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
#phone-preview iframe {
  display: block;
  border: 0;
  width: 100%;
  height: min(760px,calc(100dvh - 100px));
  background: var(--surface);
}
#pc-mode {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
}
.guest .workspace>header {
  color: #fff;
  background: var(--surface);
  border-color: var(--line);
}
.guest .header-path i {
  display: none;
}
.guest .login-layout {
  gap: 24px;
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr);
  min-height: 100dvh;
  margin: 0;
  width: 100%;
  max-width: none;
}
.guest .login {
  border-radius: 24px;
}
.guest .login h2 {
  font-weight: 750;
  letter-spacing: -.025em;
}
@media (max-width: 750px) {
  .guest .login-layout {
    gap: 14px;
  }
}
.guest .header-path>span,
.guest .header-path>b {
  color: var(--blue);
}
.guest .login h1 {
  font-weight: 850;
  color: var(--text);
  font-size: clamp(24px,3vw,34px);
  margin: 4px 0 7px;
}
.workspace :is(h1,h2,h3) {
  letter-spacing: -.025em;
}
.workspace :is(article,.stats>div,.puri-launcher) {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px #142b5210;
  background: var(--surface);
}
.workspace :is(input,select,textarea) {
  border-color: var(--line);
  border-radius: 12px;
}
.workspace :is(button,.button) {
  border-radius: 12px;
  font-weight: 750;
}
.workspace main button:not(.secondary) {
  background: #0033ad;
  color: #fff;
}
.workspace main .secondary {
  background: var(--soft);
  color: var(--text);
}
.guest .login {
  border-top: 4px solid #0033ad;
}
.guest main {
  animation: none;
}
/* Fonts and core surface values from Pool Puri's local build. */
@font-face{font-family:Geist;src:url("/geist.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/geist-mono.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root {
  --puri-font: Geist,Arial,sans-serif;
  --puri-mono: "Geist Mono",monospace;
  font-family: var(--puri-font);
  /* Compact operational layout based on the Pool Puri dashboard. */
  font-size: 15px;
  /* Shared MIRAI layout: Bluebird palette and a calmer work surface. */
  --surface: #fff;
  /* Shared workbench surfaces and grouped account settings. */
  --bg: #f6f8fc;
  --soft: #eef3fb;
  --line: #e1e7f0;
  --text: #142339;
  --muted: #52647b;
  --blue: #174cc4;
  --workshop-accent: #234fc7;
  --workshop-accent-soft: #e9efff;
  --workshop-bar: #7299ef;
  /* ==========================================================
   MIRAI · Halaman masuk dan intro
   Warna utama: navy malam bengkel + biru Bluebird + aksen sian.
   ========================================================== */
  --mirai-navy-1: #040f2b;
  --mirai-navy-2: #0a2559;
  --mirai-blue: #1463e0;
  --mirai-cyan: #52c8ff;
  --mirai-ice: #d7ecff;
}
body,
.workspace :is(h1,h2,h3) {
  font-family: var(--puri-font);
}
input,
select,
button {
  font-family: inherit;
}
.workspace :is(article,.stats>div,.puri-launcher,.puri-service-card) {
  border-color: var(--line);
  box-shadow: 0 8px 30px #14366b07;
  padding: clamp(13px,1.65vw,20px);
  border-radius: 17px;
}
:root[data-theme=dark] .workspace :is(article,.stats>div,.puri-launcher,.puri-service-card) {
  box-shadow: 0 10px 30px #0002;
}
.workspace :is(h2,h3) {
  line-height: 1.25;
}
.workspace h2 {
  font-size: clamp(17px,2vw,22px);
}
.workspace :is(input:not([type=checkbox]),select,textarea) {
  padding: 9px 11px;
}
.workspace main :is(button,.button) {
  padding: 9px 14px;
}
#theme-toggle {
  position: fixed;
  right: 18px;
  bottom: max(18px,env(safe-area-inset-bottom));
  z-index: 21;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px #12366c30;
  background: var(--surface);
  color: var(--text);
}
:root[data-theme=dark] {
  --bg: #0c1526;
  --surface: #142238;
  --text: #edf4ff;
  --muted: #b1c3dd;
  --line: #30445f;
  --soft: #1b2e49;
  --blue: #9ccaff;
  --workshop-accent: #a0bdff;
  --workshop-accent-soft: #20365b;
  --workshop-bar: #6f98f2;
}
.workspace main {
  background: none;
  padding: clamp(14px,2vw,24px);
  max-width: 1440px;
}
.workspace :is(article,.puri-launcher,.stats>div) {
  border-radius: 15px;
  box-shadow: 0 3px 13px #15375b0c;
}
@media (max-width: 750px) {
  .header-actions {
    gap: 5px;
  }
}

/* ======================================================================
   Halaman masuk dan animasi pembuka (dulu tampilan-login.css)
   ====================================================================== */
.guest .workspace>header {
  display: none;
}
.guest main {
  max-width: none;
  margin: 0;
  padding: 0;
}
.guest footer {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font-size: 0;
}
.guest footer :is(button,#theme-toggle) {
  font-size: 1rem;
}
.guest #theme-toggle {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ---------- Wordmark MIRAI (dipakai di hero dan intro) ---------- */
.mirai-word {
  display: inline-block;
  margin: 0;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .09em;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 34%, var(--mirai-cyan) 46%, #ffffff 58%, #ffffff 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px #52c8ff59);
  animation: mirai-shimmer 5.5s 1.2s ease-in-out infinite;
}
.mirai-acronym {
  margin: 0;
  color: #9fb9da;
  font-weight: 560;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: clamp(10px, .95vw, 13px);
  line-height: 1.7;
}
.mirai-acronym span {
  white-space: nowrap;
}
.mirai-acronym b {
  color: var(--mirai-cyan);
  font-weight: 820;
  text-shadow: 0 0 12px #52c8ff8c;
}

/* ---------- Mobil: kilau berjalan di bodi + bayangan ---------- */
.mirai-car {
  position: relative;
  display: block;
}
.mirai-car img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 18px 14px #010a22c4);
}
.mirai-car .car-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url(/bluebird-fleet.png) center / 100% 100% no-repeat;
  mask: url(/bluebird-fleet.png) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, #ffffff9e 48%, #c9f0ff70 52%, transparent 62%);
  background-size: 300% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
  animation: car-shine 5.5s 1.4s ease-in-out infinite;
}
.road-lines {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 34%;
  bottom: 6%;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 46px, #52c8ff3d 46px 120px) 0 30% / 100% 2px no-repeat, repeating-linear-gradient(90deg, transparent 0 90px, #ffffff2e 90px 150px) 0 62% / 100% 2px no-repeat, repeating-linear-gradient(90deg, transparent 0 60px, #52c8ff26 60px 100px) 0 88% / 100% 1px no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent);
  mask: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent);
  animation: road-run 1.1s linear infinite;
}

/* ---------- Hero kiri ---------- */
.guest .login-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 56px) clamp(22px, 4.5vw, 64px) 0;
  background: radial-gradient(ellipse 70% 55% at 62% 78%, #1463e055, transparent 70%), radial-gradient(ellipse 40% 35% at 15% 10%, #52c8ff1f, transparent 70%), linear-gradient(160deg, var(--mirai-navy-1) 0%, var(--mirai-navy-2) 58%, #071b44 100%);
  color: white;
}
.guest .login-hero::before {
  /* grid lantai bengkel */
  content: "";
  position: absolute;
  inset: 52% -20% -10%;
  z-index: -1;
  background: repeating-linear-gradient(90deg, #8bd1ff1c 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, #8bd1ff1c 0 1px, transparent 1px 40px);
  transform: perspective(700px) rotateX(64deg);
  transform-origin: 50% 0;
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  mask: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  animation: rise-in .7s .1s ease-out both;
}
.hero-brand img {
  display: block;
  width: clamp(112px, 11vw, 150px);
  height: auto;
  margin: 0;
}
.hero-divider {
  width: 1px;
  align-self: stretch;
  min-height: 34px;
  background: linear-gradient(#ffffff00, #ffffff80, #ffffff00);
}
/* Logo MIRAI: taksi + MIRAI | ミライ (file /mirai-logo-ringkas-putih.svg) */
.hero-brand img.hero-mirai {
  width: clamp(210px, 22vw, 320px);
  filter: drop-shadow(0 8px 18px #00000040);
}
.intro-center:has(.intro-maskot) {
  top: 5%;
  gap: 12px;
}
.intro-maskot {
  display: block;
  width: clamp(96px, 11vw, 140px);
  height: auto;
  filter: drop-shadow(0 12px 26px #52c8ff59);
  animation: rise-in .8s .15s ease-out both;
}
.hero-copy {
  margin-top: clamp(28px, 7vh, 80px);
  max-width: 780px;
}
.hero-copy .mirai-acronym {
  animation: rise-in .7s .25s ease-out both;
}
.guest .hero-copy h1 {
  margin: 14px 0 0;
  color: white;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
  animation: rise-in .8s .38s ease-out both;
}
.hero-scene {
  position: relative;
  flex: 1;
  min-height: clamp(220px, 34vh, 420px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.scene-glow {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 4%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #3aa6ff55, transparent 70%);
  filter: blur(10px);
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero-car {
  width: min(96%, 680px);
  margin-bottom: clamp(10px, 3vh, 34px);
  animation: car-arrive 1.4s .2s cubic-bezier(.16,.8,.18,1) both, car-idle 5s 1.6s ease-in-out infinite;
}

/* ---------- Panel masuk kanan ---------- */
.guest .login-access {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 64px);
  background: var(--bg, var(--surface));
}
.guest .login-access>.login {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: rise-in .6s .3s ease-out both;
}
.guest .login-access>.login :is(h1,h2) {
  margin: 0 0 22px;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--text);
}
.guest .login-access .login form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.guest .login-access .login :is(label,input,select) {
  margin-bottom: 0;
}
.guest .login-access .login label {
  display: grid;
  gap: 6px;
  font-weight: 650;
  font-size: .9rem;
}
.guest .login-access .login form input:not([type="checkbox"]),
.guest .login-access .login form select {
  min-height: 48px;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.guest .login-access .login form input:focus-visible {
  outline: none;
  border-color: var(--mirai-blue);
  box-shadow: 0 0 0 4px #1463e026;
}
.guest .login-access .login button {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  font-weight: 750;
  font-size: 1rem;
  color: white;
  background: linear-gradient(100deg, #0b3ea8, var(--mirai-blue) 55%, #2a8cff);
  box-shadow: 0 10px 22px #1463e040;
  transition: transform .15s, box-shadow .15s;
}
.guest .login-access .login button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px #1463e055;
}
.guest .login-access>.login p:last-child {
  margin: 18px 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.guest .login-access>.login p:last-child a {
  font-weight: 700;
}
.guest .login-access .error {
  margin: 0 0 14px;
}
.guest .login-access .login-trial {
  max-width: 400px;
  width: 100%;
  margin: 6px auto 0;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: none;
}
.guest .login-trial summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 650;
  font-size: .88rem;
}
.guest .login-trial summary+form {
  margin-top: 12px;
}
.guest .login-trial small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Intro (sekali per sesi browser) ---------- */
.login-intro {
  --intro-duration: 5200ms;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse 60% 45% at 50% 70%, #1463e04d, transparent 70%), linear-gradient(170deg, var(--mirai-navy-1), var(--mirai-navy-2));
}
.login-intro[open] {
  animation: intro-curtain var(--intro-duration) linear both;
}
.login-intro::backdrop {
  background: var(--mirai-navy-1);
}
.intro-bluebird {
  position: absolute;
  top: max(26px, env(safe-area-inset-top));
  left: clamp(20px, 5vw, 72px);
  width: clamp(110px, 12vw, 148px);
  height: auto;
  animation: fade-in .6s .1s both;
}
.intro-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 17%;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 20px;
  text-align: center;
}
.login-intro h2.intro-word {
  font-size: clamp(60px, 11vw, 140px);
  letter-spacing: .12em;
  background: none;
  filter: drop-shadow(0 0 34px #52c8ff73);
  animation: word-glow 1.6s 1.1s ease-in-out both;
}
.intro-word span {
  display: inline-block;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(180deg, #ffffff 35%, #a9e2ff 100%);
  animation: letter-drop .7s cubic-bezier(.2,.9,.25,1.15) both;
}
.intro-word span:nth-child(1) {
  animation-delay: .25s;
}
.intro-word span:nth-child(2) {
  animation-delay: .37s;
}
.intro-word span:nth-child(3) {
  animation-delay: .49s;
}
.intro-word span:nth-child(4) {
  animation-delay: .61s;
}
.intro-word span:nth-child(5) {
  animation-delay: .73s;
}
.intro-acronym {
  font-size: clamp(11px, 1.35vw, 17px);
}
.intro-acronym span {
  display: inline-block;
  animation: rise-in .5s ease-out both;
}
.intro-acronym span:nth-child(1) {
  animation-delay: 1.15s;
}
.intro-acronym span:nth-child(2) {
  animation-delay: 1.3s;
}
.intro-acronym span:nth-child(3) {
  animation-delay: 1.45s;
}
.intro-acronym span:nth-child(4) {
  animation-delay: 1.6s;
}
.intro-acronym span:nth-child(5) {
  animation-delay: 1.75s;
}
.intro-tagline {
  margin: 6px 0 0;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 780;
  letter-spacing: -.02em;
  animation: rise-in .7s 2.15s ease-out both;
}
.intro-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.intro-road .road-lines {
  height: 40%;
  bottom: 8%;
}
.intro-car {
  width: min(60vw, 700px);
  margin-bottom: 0;
  animation: car-pass 3.4s .5s cubic-bezier(.2,.75,.25,1) both;
}
.intro-armada img {
  filter: drop-shadow(0 18px 24px #00000080);
  transform: perspective(900px) rotateY(-6deg);
}
.intro-armada-nama {
  margin: 0 0 clamp(14px, 3vh, 30px);
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bfe0ff;
  animation: rise-in .6s 2.6s ease-out both;
}
.intro-armada-nama b {
  color: #fff;
}
.login-intro .intro-skip {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: clamp(20px, 5vw, 72px);
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #ffffff14;
  color: white;
  font-weight: 650;
  backdrop-filter: blur(6px);
}
.login-intro .intro-skip:hover {
  background: #ffffff26;
}
.login-intro .intro-skip:focus-visible {
  outline: 2px solid var(--mirai-cyan);
  outline-offset: 3px;
}
.intro-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ffffff1a;
}
.intro-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: linear-gradient(90deg, var(--mirai-blue), var(--mirai-cyan));
  animation: progress-line var(--intro-duration) linear both;
}

/* ---------- Animasi ---------- */
@keyframes mirai-shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes car-shine { 0%, 100% { background-position: 130% 0; } 45% { background-position: -30% 0; } 46% { background-position: 130% 0; } }
@keyframes road-run { from { background-position: 0 30%, 0 62%, 0 88%; } to { background-position: 166px 30%, 150px 62%, 100px 88%; } }
@keyframes car-arrive { from { opacity: 0; transform: translateX(28%) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes car-idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes car-pass { 0% { opacity: 0; transform: translateX(-70vw) scale(.72); filter: blur(6px); } 35% { opacity: 1; filter: none; } 70% { transform: translateX(0) scale(1); } 100% { transform: translateX(3vw) scale(1.02); } }
@keyframes word-glow { 0%, 100% { filter: drop-shadow(0 0 34px #52c8ff73); } 50% { filter: drop-shadow(0 0 60px #52c8ffcc); } }
@keyframes glow-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes letter-drop { from { opacity: 0; transform: translateY(-40px) scale(1.25); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-curtain { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes progress-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Tablet & HP ---------- */
@media (max-width: 900px) {
  .guest .login-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }
  .guest .login-hero {
    padding: 22px 20px 0;
  }
  .hero-copy {
    margin-top: 22px;
  }
  .hero-scene {
    min-height: 180px;
  }
  .hero-car {
    width: min(88%, 460px);
    margin-bottom: 8px;
  }
  .guest .login-access {
    justify-content: flex-start;
    padding: 28px 20px 90px;
  }
}
@media (max-width: 480px) {
  .hero-brand img.hero-mirai {
    width: 190px;
  }
  .intro-maskot {
    width: 104px;
  }
  .guest .hero-copy h1 {
    font-size: 30px;
  }
  .mirai-acronym {
    letter-spacing: .08em;
  }
  .intro-center {
    top: 20%;
  }
  .intro-car {
    width: 78vw;
  }
  .intro-road {
    height: 26%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-intro[open],
  .login-intro *,
  .login-intro *::after,
  .guest .login-layout *,
  .guest .login-layout *::before {
    animation: none !important;
  }
}

/* T-045 badge BETA di logo MIRAI */
.hero-brand .m-beta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 7px;
  background: linear-gradient(120deg, #f5a623, #ff7a1a);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.3;
  box-shadow: 0 6px 14px -8px #ff7a1a;
}
@media (max-width: 750px) {
  .hero-brand .m-beta {
    font-size: 10px;
    padding: 2px 7px;
    margin-left: 6px;
  }
}

/* ======================================================================
   Ukuran tulisan dari folder Edit Tampilan (dulu ukuran-tampilan.css)
   ====================================================================== */
@media (max-width: 750px) {
  [data-ukuran-hp] {
    font-size: var(--ukuran-hp) !important;
  }
}
@media (min-width: 751px) {
  [data-ukuran-laptop] {
    font-size: var(--ukuran-laptop) !important;
  }
}
@media (min-width: 751px) and (max-width: 1100px) {
  [data-ukuran-tablet] {
    font-size: var(--ukuran-tablet) !important;
  }
}

/* ======================================================================
   Halaman operasional: NO/MO, pekerjaan, jadwal, rekap (dulu operation-ui.css)
   ====================================================================== */
.part-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) 5rem auto;
  align-items: end;
  gap: .5rem;
  padding: .6rem 0;
  border-top: 1px solid var(--line,#c7d3df);
}
.part-line input[type=number] {
  width: 100%;
  min-width: 0;
}
@media (max-width: 600px) {
  .part-line {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .part-line>div {
    grid-column: 1/-1;
  }
}

/* ---------- Plan servis: prioritas, tahap, dan Kembalikan Usulan dibedakan warna ---------- */

/* ---------- Pilih kendaraan: kotak centang jelas, baris yang sudah diproses dibedakan ---------- */
/* Rincian kendaraan: di Chrome/Brave baru isi <details> dibungkus ::details-content, jadi harus ikut "contents"
   supaya tetap menjadi sel grid selebar baris (kalau tidak, isinya terjepit di kolom centang). */

/* ---------- Sisa slot per tanggal, koreksi kapasitas, jadwal mekanik ---------- */

/* ---------- Jadwal Mekanik format Excel: satu sel = kode shift ---------- */

/* ---------- Rekap Jam Mekanik ---------- */

/* ---------- Perencanaan Servis: tab kategori berwarna, nomor NO jelas, tombol Detail rapi ---------- */

/* ---------- Notifikasi & Order: daftar siap proses, release sekaligus, tampilan HP daftar lalu rincian ---------- */
form[data-busy] button:not([type="button"]) {
  opacity: .6;
  pointer-events: none;
  cursor: progress;
}

/* ---------- Pekerjaan & Penugasan (GH): kartu MO bisa dibuka-tutup ---------- */

/* ---------- Rincian NO: form pemeriksaan saat unit tiba (GH) ---------- */

/* ===== T-042 · Panduan GH: release NO → Buat MO → Release MO → Penugasan ===== */

/* ===== T-044 · Pilih mekanik (yang masuk hari ini), bagi jam, cari operasi satu kolom ===== */
.op-hit {
  display: grid;
  justify-items: start;
  gap: 1px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface) !important;
  color: var(--text) !important;
  text-align: left;
  font-weight: 600;
  box-shadow: none !important;
  min-height: 0 !important;
}
.op-hit:hover,
.op-hit:focus-visible {
  border-color: var(--blue, #1a4fb8);
  background: color-mix(in srgb, var(--blue, #1a4fb8) 6%, var(--surface)) !important;
}
.op-hit small {
  color: var(--muted);
  font-weight: 500;
  font-size: .74rem;
}
.op-empty {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
