/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #edf5f1;
  --ink: #10201f;
  --text: #1d2b2a;
  --muted: #667774;
  --line: #dce7e2;
  --primary: #143d39;
  --primary-strong: #0b2c29;
  --primary-text: #ffffff;
  --accent: #df5c3d;
  --accent-soft: #fff1eb;
  --success: #0f766e;
  --success-soft: #dff7ef;
  --warning: #b7791f;
  --warning-soft: #fff7db;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --shadow: 0 18px 55px rgba(16, 32, 31, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(20, 61, 57, 0.06), transparent 420px),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  line-height: 1.6;
}

h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h2 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  color: var(--ink);
  font-size: 18px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px;
}

.home-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(20, 61, 57, 0.96), rgba(11, 44, 41, 0.98) 54%, rgba(223, 92, 61, 0.9)),
    var(--primary);
}

.home-panel {
  width: min(1040px, 100%);
  min-height: min(660px, calc(100svh - 56px));
  display: grid;
  align-content: end;
  grid-gap: 30px;
  gap: 30px;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.22) 100%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.home-copy {
  max-width: 760px;
}

.home-copy h1 {
  color: #ffffff;
}

.home-copy p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.home-actions,
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.row {
  justify-content: space-between;
}

.home-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.home-signal-grid span {
  min-height: 58px;
  display: grid;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.auth-shell {
  max-width: 470px;
  margin: 58px auto;
  padding: 0 20px;
}

.card,
.panel,
.metric-tile {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
}

.stack {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.muted {
  color: var(--muted);
}

.small-text {
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(20, 61, 57, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 61, 57, 0.1);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

button,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  background: var(--primary);
  color: var(--primary-text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20, 61, 57, 0.18);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-secondary {
  background: #e8f0ec;
  color: var(--primary-strong);
}

.button-danger {
  background: var(--danger);
}

.notice {
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f9fbfa;
  color: var(--text);
}

.notice-error {
  color: var(--danger);
  border-color: #ffd0cb;
  background: var(--danger-soft);
}

.notice-ok {
  color: var(--success);
  border-color: #b7e7d9;
  background: var(--success-soft);
}

.status,
.live-pill,
.task-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-transform: capitalize;
}

.status {
  color: var(--primary);
  background: #e8f0ec;
}

.status-ready {
  color: var(--success);
  background: var(--success-soft);
}

.status-provisioning,
.status-pending {
  color: var(--warning);
  background: var(--warning-soft);
}

.status-failed {
  color: var(--danger);
  background: var(--danger-soft);
}

.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 231, 226, 0.9);
  background: rgba(244, 247, 245, 0.88);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--primary-strong);
  color: #f7fffb;
  padding: 16px;
  border-radius: var(--radius);
  overflow: auto;
}

.dashboard-shell {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.dashboard-hero {
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(11, 44, 41, 0.98), rgba(20, 61, 57, 0.94) 62%, rgba(223, 92, 61, 0.9)),
    var(--primary);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  color: white;
  margin-bottom: 12px;
}

.hero-copy p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.live-pill {
  color: var(--primary);
  background: white;
}

.live-pill-connected {
  color: var(--success);
  background: var(--success-soft);
}

.live-pill-connecting {
  color: var(--warning);
  background: var(--warning-soft);
}

.live-pill-offline {
  color: var(--danger);
  background: var(--danger-soft);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(130px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.metric-tile {
  min-width: 0;
  min-height: 110px;
  display: grid;
  align-content: space-between;
  grid-gap: 16px;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
}

.metric-tile span,
.detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-tile strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  word-break: break-word;
}

.metric-tile:first-child strong {
  font-size: clamp(22px, 2.3vw, 30px);
}

.metric-tile-alert strong {
  color: var(--danger);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  grid-gap: 18px;
  gap: 18px;
}

.panel {
  min-width: 0;
  padding: 22px;
}

.panel-large {
  min-height: 520px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.progress-block {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 20px;
}

.progress-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.progress-topline span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.progress-topline strong {
  color: var(--ink);
  font-size: 18px;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eee9;
}

.progress-track div {
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--success), var(--accent));
  transition: width 0.35s ease;
}

.stage-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.stage-step {
  min-height: 174px;
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #c7d6d0;
}

.stage-step strong,
.task-row strong,
.timeline-item strong,
.empty-state strong {
  color: var(--ink);
}

.stage-step p,
.task-row p,
.timeline-item p,
.empty-state p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.task-row .task-alert {
  color: var(--danger);
  font-weight: 800;
}

.stage-step small,
.timeline-item small {
  display: inline-flex;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stage-active {
  border-color: rgba(15, 118, 110, 0.35);
  background: var(--success-soft);
}

.stage-active .stage-dot {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}

.stage-done .stage-dot {
  background: var(--success);
}

.stage-blocked {
  border-color: rgba(180, 35, 24, 0.28);
  background: var(--danger-soft);
}

.stage-blocked .stage-dot {
  background: var(--danger);
}

.detail-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.task-list,
.timeline {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.task-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.task-row div {
  min-width: 0;
}

.task-status {
  flex: 0 0 auto;
  color: var(--primary);
  background: #e8f0ec;
}

.task-status-in-progress {
  color: var(--success);
  background: var(--success-soft);
}

.task-status-in-review {
  color: var(--warning);
  background: var(--warning-soft);
}

.task-status-blocked {
  color: var(--danger);
  background: var(--danger-soft);
}

.timeline-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  grid-gap: 12px;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--success);
}

.timeline-success > span {
  background: var(--success);
}

.timeline-warning > span {
  background: var(--warning);
}

.timeline-danger > span {
  background: var(--danger);
}

.empty-state {
  padding: 20px;
  border: 1px dashed #cbdad4;
  border-radius: var(--radius);
  background: #fbfdfc;
}

.admin-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .home-signal-grid,
  .summary-grid,
  .content-grid,
  .stage-rail {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 22px 14px;
  }

  .home-shell {
    padding: 14px;
  }

  .home-panel {
    min-height: calc(100svh - 28px);
  }

  .home-signal-grid,
  .summary-grid,
  .content-grid,
  .stage-rail {
    grid-template-columns: 1fr;
  }

  .panel-header,
  .task-row,
  .admin-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  button,
  .button {
    width: 100%;
  }
}

