/* Lawha presentation for the existing AIWS host-only token screen.
   Authentication behavior remains in app.js and is deliberately untouched. */
.aiws-entry {
  --entry-paper: #f3f2ec;
  --entry-surface: #faf9f4;
  --entry-ink: #263d34;
  --entry-muted: #5d6d62;
  --entry-line: #b9c2b3;
  --entry-sage: #d8dfcb;
  --entry-accent: #325c44;
  color-scheme: light;
  padding: clamp(18px, 4vw, 60px);
  color: var(--entry-ink);
  background: var(--entry-paper);
  font-family: "Segoe UI", Arial, sans-serif;
}
.aiws-entry::before {
  content: "lawha.";
  position: absolute;
  top: 24px;
  left: clamp(22px, 5vw, 72px);
  font: 650 clamp(27px, 3vw, 38px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -2px;
}
.aiws-entry-shell {
  width: min(1120px, 100%);
  min-height: min(690px, calc(100vh - 120px));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--entry-line);
  border-radius: 5px;
  background: var(--entry-surface);
  box-shadow: 0 28px 80px rgba(38, 61, 52, .11);
}
.aiws-entry-poster {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 29px;
  background: var(--entry-sage);
}
.aiws-entry-kicker,
.aiws-entry-steps,
.aiws-entry-boundary {
  color: var(--entry-muted);
  font: 9px/1.6 Consolas, "Courier New", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.aiws-entry-kicker { display: flex; justify-content: space-between; gap: 18px; }
.aiws-entry-art { width: 100%; margin: auto 0; color: var(--entry-ink); }
.aiws-entry-grid { stroke: currentColor; stroke-width: .7; opacity: .12; }
.aiws-entry-halo { fill: var(--entry-surface); opacity: .65; }
.aiws-entry-lines { stroke: currentColor; stroke-width: 1.3; }
.aiws-entry-lines > path:not(:last-child) { opacity: .3; stroke-dasharray: 3 4; }
.aiws-entry-table { fill: var(--entry-sage); stroke-width: 2; }
.aiws-entry-people circle { fill: var(--entry-paper); stroke-width: 1.5; }
.aiws-entry-title h1 {
  margin: 0 0 10px;
  font: 56px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -3px;
}
.aiws-entry-title p { max-width: 360px; margin: 0; color: var(--entry-muted); font-size: 12px; line-height: 1.7; }
.auth-card.aiws-entry-card {
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 42px;
  border: 0;
  border-radius: 0;
  background: var(--entry-surface);
  box-shadow: none;
  color: var(--entry-ink);
  text-align: left;
}
.aiws-entry-steps { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 0 0 21px; border-bottom: 1px solid var(--entry-line); list-style: none; }
.aiws-entry-steps [aria-current] { color: var(--entry-ink); font-weight: 800; }
.aiws-entry-copy { margin: auto 0; padding: 34px 0; }
.aiws-entry-copy .eyebrow { color: var(--entry-accent); font-size: 9px; }
.aiws-entry-card h2 { margin: 18px 0 20px; font: 44px/1.08 Georgia, "Times New Roman", serif; letter-spacing: -1.7px; }
.aiws-entry-card h2 em { color: var(--entry-muted); font-weight: 400; }
.aiws-entry-note { margin: 0 0 24px; color: var(--entry-muted); font-size: 12px; line-height: 1.75; }
.auth-card.aiws-entry-card > .aiws-entry-copy > label { display: block; margin: 0; color: var(--entry-muted); font-size: 11px; text-align: left; }
.aiws-entry-card input {
  width: 100%;
  display: block;
  margin: 8px 0 12px;
  padding: 14px;
  border: 1px solid var(--entry-line);
  border-radius: 7px;
  color: var(--entry-ink);
  background: var(--entry-paper);
  font-size: 16px;
}
.aiws-entry-card input:focus-visible,
.aiws-entry-card button:focus-visible { outline: 3px solid #276456; outline-offset: 4px; }
.aiws-entry-action { width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--entry-ink); border-radius: 7px; color: var(--entry-surface); background: var(--entry-ink); font-size: 13px; }
.aiws-entry-action:hover { background: var(--entry-accent); }
.aiws-entry-card .error-text { min-height: 19px; margin: 9px 0 0; color: #973f43; font-size: 11px; }
.aiws-entry-boundary { margin: 0; padding-top: 17px; border-top: 1px solid var(--entry-line); }
@media (max-width: 700px) {
  .aiws-entry { padding: 82px 22px 24px; }
  .aiws-entry::before { top: 25px; left: 22px; }
  .aiws-entry-shell { min-height: 0; grid-template-columns: 1fr; }
  .aiws-entry-poster { height: 182px; position: relative; overflow: hidden; padding: 20px; }
  .aiws-entry-art { position: absolute; width: 235px; right: -38px; top: -18px; opacity: .68; }
  .aiws-entry-title { position: relative; z-index: 1; max-width: 58%; margin-top: auto; }
  .aiws-entry-title h1 { font-size: 38px; letter-spacing: -2px; }
  .aiws-entry-title p { font-size: 10px; }
  .aiws-entry-kicker { position: relative; z-index: 1; font-size: 7px; }
  .auth-card.aiws-entry-card { padding: 24px 22px; }
  .aiws-entry-card h2 { font-size: 36px; }
  .aiws-entry-steps { font-size: 7px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aiws-entry *, .aiws-entry *::before, .aiws-entry *::after { animation: none !important; transition: none !important; }
}
