/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #f3f5f4;
  --surface: #fff;
  --ink: #14201c;
  --muted: #55655e;
  --line: #d6dfda;
  --brand: #0e6b57;
  --brand-ink: #fff;
  --brand-soft: #e1f1ec;
  --warn: #7a4e00;
  --warn-bg: #fff3d1;
  --danger: #a6231b;
  --danger-bg: #fde8e6;
  --ok: #15693a;
  --ok-bg: #dcf2e3;
  --info: #1b4b8a;
  --info-bg: #e3edfa;
  --radius: 10px;
  --tap: 48px;
  --shadow: 0 1px 2px #14201c14, 0 1px 8px #14201c0d;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  font: 16px / 1.45 system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

h1, h2, h3 {
  margin: 0 0 .5rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.15rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 .75rem;
}

a {
  color: var(--brand);
}

code, .mono {
  font-family: var(--mono);
}

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

.small {
  font-size: .875rem;
}

.right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.stack > * + * {
  margin-top: 1rem;
}

.stack-sm > * + * {
  margin-top: .5rem;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.row-between {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.grow {
  flex: auto;
}

.grid {
  gap: 1rem;
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem 1rem;
  display: grid;
}

.span-all {
  grid-column: 1 / -1;
}

.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.shell-head {
  z-index: 20;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
}

.shell-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: .5rem 1rem;
  display: flex;
}

.brand {
  letter-spacing: .01em;
  color: inherit;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.brand-logo {
  flex: none;
  width: auto;
  height: 36px;
  display: block;
}

.brand-title {
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: 1.25rem;
  display: inline-flex;
}

.brand-logo-on-light {
  background: var(--brand);
  box-sizing: border-box;
  border-radius: 10px;
  height: 48px;
  padding: 6px;
}

.shell-user {
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  display: flex;
}

.nav {
  scrollbar-width: none;
  gap: .25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem .5rem;
  display: flex;
  overflow-x: auto;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  min-height: 44px;
  color: inherit;
  white-space: nowrap;
  opacity: .9;
  border-radius: 8px;
  align-items: center;
  padding: 0 1rem;
  text-decoration: none;
  display: inline-flex;
}

.nav a:hover {
  background: #ffffff1f;
}

.nav a[aria-current="page"] {
  opacity: 1;
  background: #ffffff38;
  font-weight: 600;
}

.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

.lang {
  border: 1px solid #ffffff73;
  border-radius: 8px;
  display: inline-flex;
  overflow: hidden;
}

.lang button {
  min-width: 44px;
  min-height: 36px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  font-size: .85rem;
}

.lang button[aria-pressed="true"] {
  color: var(--brand);
  background: #fff;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.card > h2:first-child, .card > .card-head:first-child {
  margin-top: 0;
}

.card-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  display: flex;
}

.banner {
  border-radius: var(--radius);
  border: 1px solid #0000;
  padding: .75rem 1rem;
}

.banner-info {
  background: var(--info-bg);
  color: var(--info);
  border-color: #c4d7f2;
}

.banner-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: #f0d994;
}

.banner-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #f3c3bf;
}

.banner-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: #b5e0c2;
}

.badge {
  color: #33423b;
  white-space: nowrap;
  background: #e8ecea;
  border-radius: 999px;
  align-items: center;
  padding: .15rem .6rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
}

.badge-issued {
  background: var(--info-bg);
  color: var(--info);
}

.badge-label_printed {
  background: var(--warn-bg);
  color: var(--warn);
}

.badge-label_fixed {
  background: var(--brand-soft);
  color: var(--brand);
}

.badge-shipped {
  background: var(--ok-bg);
  color: var(--ok);
}

.badge-void {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-sample {
  color: #55318f;
  background: #efe4ff;
  border: 1px dashed #b79be3;
}

.badge-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.badge-no {
  background: var(--danger-bg);
  color: var(--danger);
}

.btn {
  min-height: var(--tap);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: 0 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  background: #f1f5f3;
}

.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible {
  outline-offset: 1px;
  outline: 3px solid #86c8b6;
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: #0b5948;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.btn-danger:hover {
  background: #8b1d16;
}

.btn-ghost {
  color: var(--brand);
  background: none;
  border-color: #0000;
}

.btn-sm {
  min-height: 40px;
  padding: 0 .8rem;
  font-size: .9rem;
}

.btn-xl {
  min-height: 64px;
  padding: 0 1.6rem;
  font-size: 1.2rem;
}

.btn-block {
  width: 100%;
}

.summary-btn {
  min-height: var(--tap);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1.1rem;
  font-weight: 600;
  list-style: none;
  display: flex;
}

.summary-btn::-webkit-details-marker {
  display: none;
}

.summary-btn:after {
  content: "▾";
  color: var(--muted);
  margin-left: auto;
}

.summary-btn:hover {
  background: #f1f5f3;
}

details[open] > .summary-btn {
  border-color: var(--brand);
}

details[open] > .summary-btn:after {
  content: "▴";
}

.field {
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  display: flex;
}

.field > label, .field > .label {
  font-size: .9rem;
  font-weight: 600;
}

.hint {
  color: var(--muted);
  font-size: .85rem;
}

.field-error {
  color: var(--danger);
  font-size: .85rem;
}

input[type="text"], input[type="number"], input[type="password"], input[type="date"], input[type="search"], input[type="url"], select, textarea {
  width: 100%;
  min-height: var(--tap);
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #b9c6c0;
  border-radius: 8px;
  padding: .5rem .75rem;
}

textarea {
  resize: vertical;
  min-height: 5rem;
}

input:disabled, select:disabled, textarea:disabled {
  color: var(--muted);
  cursor: not-allowed;
  background: #eef2f0;
  border-style: dashed;
}

input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
  accent-color: var(--brand);
}

.check {
  min-height: var(--tap);
  align-items: center;
  gap: .6rem;
  display: flex;
}

.input-unit {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.input-unit > span {
  color: var(--muted);
  min-width: 3rem;
  font-size: .9rem;
}

.search-big {
  min-height: 64px;
  font-size: 1.35rem;
  font-family: var(--mono);
  letter-spacing: .04em;
}

.queue-item {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  min-height: 56px;
  padding: .5rem .9rem;
}

.queue-item.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px #bfe3d8;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  padding: .65rem .8rem;
}

th {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
  background: #f8faf9;
  font-size: .8rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tr.click {
  cursor: pointer;
}

tr.click:hover td {
  background: #f4faf7;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}

.steps {
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.step {
  border-bottom: 1px dashed var(--line);
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  display: grid;
}

.step:last-child {
  border-bottom: 0;
}

.step-n {
  background: var(--brand-soft);
  width: 2.2rem;
  height: 2.2rem;
  color: var(--brand);
  border-radius: 50%;
  place-items: center;
  font-weight: 700;
  display: grid;
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: 2.4rem 1fr;
  }

  .step-action {
    grid-column: 2;
  }
}

.tabs {
  border-bottom: 2px solid var(--line);
  scrollbar-width: none;
  gap: .25rem;
  margin-bottom: 1rem;
  display: flex;
  overflow-x: auto;
}

.tab {
  min-height: 46px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  margin-bottom: -2px;
  padding: 0 1rem;
  font-weight: 600;
}

.tab[aria-selected="true"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

dialog {
  width: min(560px, 100vw - 2rem);
  color: var(--ink);
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 10px 40px #0000004d;
}

dialog::backdrop {
  background: #0f19158c;
}

.dialog-body {
  padding: 1.25rem;
}

.dialog-foot {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1rem;
  display: flex;
}

.toasts {
  z-index: 50;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 0 1rem;
  display: flex;
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
}

.toast {
  pointer-events: auto;
  border-radius: 10px;
  max-width: 640px;
  padding: .75rem 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 18px #00000040;
}

.toast-ok {
  color: #fff;
  background: #123d2f;
}

.toast-error {
  background: var(--danger);
  color: #fff;
}

.id-text {
  font-family: var(--mono);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.id-hero {
  font-size: clamp(1.25rem, 4.5vw, 2rem);
}

.stat {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: .15rem;
  min-height: 96px;
  padding: 1rem;
  text-decoration: none;
  display: flex;
}

.stat:hover {
  border-color: var(--brand);
}

.stat-n {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-warn .stat-n {
  color: var(--warn);
}

.label-preview {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
  padding: .5rem;
  display: inline-block;
}

.label-preview img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kv {
  grid-template-columns: max-content 1fr;
  gap: .3rem 1rem;
  margin: 0;
  display: grid;
}

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

.kv dd {
  min-width: 0;
  margin: 0;
}

.placement {
  border-left: 5px solid var(--warn);
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 6px;
  padding: .6rem .9rem;
}

.scheme {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.scheme-step {
  border: 2px solid var(--line);
  text-align: center;
  background: #fff;
  border-radius: 10px;
  min-width: 5.5rem;
  padding: .4rem .8rem;
}

.scheme-step b {
  font-size: 1.15rem;
  display: block;
}

.scheme-step.done {
  background: var(--brand-soft);
  border-color: #9fd2c3;
}

.scheme-step.current {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px #bfe3d8;
}

.scheme-step.start:after {
  content: "●";
  color: var(--brand);
  margin-left: .25rem;
  font-size: .6rem;
}

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

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

.timeline li {
  border-bottom: 1px dashed var(--line);
  grid-template-columns: 9.5rem 1fr;
  gap: .75rem;
  padding: .4rem 0;
  display: grid;
}

.timeline li:last-child {
  border-bottom: 0;
}

.spec-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec-group > summary {
  cursor: pointer;
  min-height: var(--tap);
  align-items: center;
  padding: .8rem 1rem;
  font-weight: 700;
  display: flex;
}

.spec-group .grid-form {
  padding: 0 1rem 1rem;
}

pre.json {
  color: #d7efe6;
  background: #0f1c17;
  border-radius: 8px;
  max-height: 16rem;
  margin: .25rem 0 0;
  padding: .75rem;
  font-size: .8rem;
  overflow: auto;
}

.chip {
  background: #eef2f0;
  border-radius: 6px;
  margin: 0 .25rem .25rem 0;
  padding: .1rem .5rem;
  font-size: .85rem;
  display: inline-block;
}

.pager {
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  display: flex;
}

.login-wrap {
  place-items: center;
  min-height: 100vh;
  padding: 1rem;
  display: grid;
}

.login-card {
  width: min(420px, 100%);
}

@media (max-width: 640px) {
  .main {
    padding: 1rem .75rem 4rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: .1rem;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kv dt {
    margin-top: .4rem;
  }
}

@media print {
  .shell-head, .toasts {
    display: none;
  }
}

.btn-plain {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.btn-plain:focus-visible {
  outline: 3px solid var(--focus, #1a7f6b);
  outline-offset: 2px;
  border-radius: 8px;
}

.pbar {
  background: #dfe8e4;
  border-radius: 6px;
  width: 100%;
  max-width: 520px;
  height: 12px;
  overflow: hidden;
}

.pbar-fill {
  background: var(--brand);
  border-radius: 6px;
  height: 100%;
  transition: width .8s;
}

.pbar-indeterminate .pbar-fill {
  width: 35%;
  animation: 1.4s ease-in-out infinite pbar-slide;
}

@keyframes pbar-slide {
  0% {
    margin-left: -35%;
  }

  100% {
    margin-left: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pbar-indeterminate .pbar-fill {
    opacity: .45;
    width: 100%;
    animation: none;
  }

  .pbar-fill {
    transition: none;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/