@import url("/static/fonts/fonts.css");
@import url("/static/tokens.css");
.dashboard-grid > * {
  min-width: 0;
}
.dashboard-grid .request-row {
  grid-template-columns: minmax(0, 1fr) 120px;
}
.dashboard-grid .request-row .model-cell,
.dashboard-grid .request-row .date-cell {
  display: none;
}
.request-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
:root {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}
button {
  border: 0;
  border-radius: 999px;
  padding: 11px 17px;
  background: var(--surface-muted);
  color: var(--text);
  font-weight: 600;
}
button.primary {
  background: var(--brand-accent);
  color: var(--brand-navy);
  font-weight: 800;
  box-shadow: 0 5px 18px #f2d14620;
}
button.primary:hover {
  background: #e9c735;
}
button.ghost:hover {
  background: var(--surface-muted);
}
button.lime {
  background: var(--brand-accent);
  color: var(--brand-navy);
}
button.ghost {
  background: transparent;
  border: 1px solid var(--line);
}
a {
  color: var(--brand-blue);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
}
h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.1px;
  margin-bottom: 9px;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
}
.brand span {
  color: var(--brand-accent);
}
.badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  background: var(--surface-muted);
  color: var(--brand-blue);
}
.badge.soon {
  background: #fff4c7;
  color: #765600;
}
.badge.due {
  background: #ffe6df;
  color: #a74532;
}
.badge.not_configured {
  background: var(--surface-muted);
  color: var(--muted);
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 16px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
}
.small {
  font-size: 13px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--brand-blue);
  font-size: 19px;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 17px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--brand-accent);
  border-color: transparent;
}
.form-error {
  color: #a3332c;
  font-size: 13px;
  min-height: 18px;
}
.full {
  width: 100%;
}
.tabs {
  display: flex;
  gap: 5px;
  background: var(--surface-muted);
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 25px;
}
.tabs button {
  flex: 1;
  background: transparent;
}
.tabs button.active {
  background: white;
  box-shadow: 0 2px 5px #0000000b;
}
.progress {
  height: 5px;
  background: var(--line);
  border-radius: 6px;
  margin: 18px 0;
}
.progress div {
  height: 100%;
  width: 66%;
  background: var(--brand-accent);
  border-radius: 6px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(600px, 94vw);
  padding: 28px;
  max-height: 90vh;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #0a213d88;
  backdrop-filter: blur(3px);
}
.modal-title {
  margin-bottom: 25px;
}
.modal-title h2 {
  margin: 0;
}
.message {
  border-radius: 10px;
  padding: 13px;
  background: var(--surface-muted);
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.message p {
  white-space: pre-wrap;
  margin: 5px 0 0;
}
.description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
#notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: var(--brand-navy);
  color: white;
  padding: 17px 24px;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 4px 25px #0002;
}
.request-row {
  display: grid;
  grid-template-columns: 1fr 145px 145px 90px;
  gap: 15px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.request-row h3 {
  margin: 0 0 6px;
}
.request-row button {
  text-align: left;
}
.number {
  font-variant-numeric: tabular-nums;
}
.help-banner {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 13px;
}
.notice {
  font-size: 13px;
  color: var(--brand-blue);
  background: #fff8db;
  border-radius: 8px;
  padding: 13px;
  line-height: 1.6;
}
.machine-art {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #eaf0f7, transparent 70%);
  margin: 18px 0;
}
.machine-art svg {
  width: 180px;
  height: 95px;
}
.machine-art img {
  width: 100%;
  height: 140px;
  object-fit: contain;
}
.machine-art {
  height: 145px;
}
.ticket:hover {
  border-color: var(--brand-blue);
}
.column:first-child {
  border-top: 3px solid var(--brand-accent);
}
.column:not(:first-child) {
  border-top: 3px solid #bccbde;
}
.machine-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.machine-stats strong {
  font-size: 20px;
  font-weight: 600;
}
.machine-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.machine-actions button {
  font-size: 12px;
  padding: 10px 12px;
}
.kanban {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 15px;
}
.column {
  min-width: 250px;
  width: 250px;
  background: #edf1f6;
  padding: 12px;
  border-radius: 12px;
}
.column h3 {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  padding: 8px;
}
.ticket {
  width: 100%;
  display: block;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  padding: 16px;
  font-weight: 400;
}
.ticket strong {
  display: block;
  margin: 12px 0;
  line-height: 1.5;
}
.ticket small {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}
.closed {
  margin-top: 25px;
}
.section-head {
  margin: 28px 0 17px;
}
.section-head h2 {
  margin: 0;
}
.login-points {
  display: grid;
  gap: 20px;
  max-width: 430px;
  margin-top: 42px;
}
.login-points div {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #d9e2ee;
}
.login-footer {
  color: #b7c5d8;
  font-size: 12px;
  line-height: 1.8;
}
.error-page {
  padding: 30px;
}
