/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .fixed {
    position: fixed;
  }
  .hidden {
    display: none;
  }
}
:root {
  --background: #101719;
  --foreground: #edf4f1;
  --card: #182225;
  --card-foreground: #edf4f1;
  --primary: #c8f45c;
  --primary-foreground: #152014;
  --border: #344346;
  --input: #344346;
  --ring: #c8f45c;
  --radius: .75rem;
}
* {
  box-sizing: border-box;
}
html {
  font-family: Arial,Helvetica,sans-serif;
}
body {
  margin: 0;
  background: #101719;
  color: #edf4f1;
  font-size: 16px;
}
button,input,select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
.shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 28px 50px;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #344346;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
}
.brandmark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #c8f45c;
  color: #14201b;
  font-size: 29px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -5px;
  padding-right: 5px;
}
.brandmark span {
  font-size: 16px;
  align-self: flex-start;
  margin-top: 6px;
  letter-spacing: 0;
}
.brand strong {
  font-size: 19px;
  letter-spacing: .03em;
}
.brand em {
  font-style: normal;
  color: #c8f45c;
}
.brand small {
  display: block;
  color: #9aadb0;
  font-size: 13px;
  margin-top: 3px;
}
.private {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a8c9a0;
  font-size: 13px;
  border: 1px solid #38523f;
  background: #1b3025;
  padding: 9px 12px;
  border-radius: 100px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0,1.28fr) minmax(330px,.72fr);
  gap: 22px;
  margin-top: 26px;
}
.calculator,.catalog,.settings {
  background: #182225;
  border: 1px solid #344346;
  border-radius: 20px;
  box-shadow: 0 16px 48px #07101130;
}
.calculator {
  padding: 30px;
}
.section-head,.catalog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 800;
  color: #c8f45c;
}
h1,h2 {
  margin: 8px 0 0;
  letter-spacing: -.04em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(27px,3vw,37px);
}
h2 {
  font-size: 25px;
}
.quiet {
  border: 1px solid #425257;
  background: transparent;
  color: #d0dedb;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.quiet:hover,.secondary:hover {
  background: #29383b;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.calculator label,.settings label {
  display: block;
  font-size: 14px;
  color: #c6d4d2;
  font-weight: 700;
  margin-bottom: 18px;
}
.calculator label span {
  float: right;
  font-size: 12px;
  color: #8ca0a1;
  font-weight: 400;
}
.calculator input,.calculator select,.settings input,.settings select {
  display: block;
  width: 100%;
  height: 51px;
  margin-top: 9px;
  padding: 0 15px;
  border: 1px solid #425356;
  background: #10191c;
  color: #f4f8f6;
  border-radius: 11px;
  outline: none;
  font-size: 16px;
  min-width: 0;
}
.calculator input:focus,.calculator select:focus,.settings input:focus,.settings select:focus,.search:focus-within {
  border-color: #c8f45c;
  box-shadow: 0 0 0 3px #c8f45c20;
}
.calculator input::placeholder,.search input::placeholder {
  color: #72888a;
}
.divider {
  border-top: 1px solid #344346;
  margin: 6px 0 24px;
}
.override {
  background: #202e30;
  border: 1px solid #394a4d;
  border-radius: 14px;
  padding: 15px 17px 13px;
  margin: 3px 0 22px;
}
.override label {
  margin: 0;
}
.override p {
  font-size: 13px;
  color: #9aaeb0;
  line-height: 1.5;
  margin: 9px 0 0;
}
.result {
  border-radius: 17px;
  background: #c8f45c;
  color: #17231a;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.result>div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result>div>span:first-child {
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
}
.result strong {
  font-size: clamp(36px,5vw,55px);
  letter-spacing: -.06em;
  line-height: 1.1;
  margin: 10px 0 6px;
}
.result small {
  font-size: 13px;
  color: #3e5433;
}
.result-detail {
  border-left: 1px solid #92bb53;
  padding-left: 24px;
  display: grid;
  gap: 9px;
  align-content: center;
}
.result-detail span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}
.result-detail b {
  white-space: nowrap;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}
.primary,.secondary {
  border: 0;
  border-radius: 11px;
  padding: 14px 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.primary {
  background: #f4f8f6;
  color: #142124;
}
.primary:hover {
  background: #dce8e2;
}
.formula {
  color: #8da2a2;
  font-size: 13px;
}
.status {
  color: #dff5b3;
  font-size: 14px;
  margin: 15px 0 0;
}
.catalog {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-height: 660px;
}
.catalog-head {
  margin: 2px 5px 21px;
}
.count {
  background: #293b36;
  color: #c8f45c;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #10191c;
  border: 1px solid #425356;
  border-radius: 11px;
  height: 49px;
  padding: 0 14px;
  color: #8da4a4;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}
.filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 15px 0 18px;
  scrollbar-width: thin;
}
.filters button {
  white-space: nowrap;
  border: 1px solid #3e5052;
  background: #202e31;
  color: #afc2c1;
  padding: 8px 11px;
  border-radius: 100px;
  font-size: 13px;
}
.filters button.selected {
  border-color: #c8f45c;
  background: #c8f45c;
  color: #182518;
  font-weight: 800;
}
.items {
  overflow: auto;
  max-height: 610px;
}
.item {
  border-top: 1px solid #344346;
  display: flex;
  align-items: center;
}
.item-main {
  text-align: left;
  border: 0;
  background: transparent;
  color: #f0f6f3;
  padding: 16px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.item-main:hover strong {
  color: #c8f45c;
}
.item-device {
  font-size: 12px;
  color: #92a8a8;
}
.item-main strong {
  font-size: 16px;
}
.item-main small {
  color: #c8f45c;
  font-size: 14px;
  font-weight: 800;
}
.delete {
  background: transparent;
  color: #91a5a4;
  border: 0;
  padding: 10px;
}
.delete:hover {
  color: #ff938f;
}
.empty,.catalog-note {
  color: #91a5a4;
  font-size: 13px;
  line-height: 1.5;
}
.empty {
  padding: 25px 8px;
}
.catalog-note {
  border-top: 1px solid #344346;
  padding: 17px 5px 0;
  margin-top: auto;
}
.settings {
  margin-top: 22px;
  padding: 0 25px;
}
.settings summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 20px 0;
}
.settings summary::-webkit-details-marker {
  display: none;
}
.settings-inner {
  border-top: 1px solid #344346;
  padding: 18px 0 23px;
}
.settings-inner p {
  color: #a2b6b5;
  margin: 0 0 18px;
  font-size: 14px;
}
.settings-controls {
  display: grid;
  grid-template-columns: repeat(3,1fr) auto;
  align-items: end;
  gap: 12px;
}
.settings label {
  margin: 0;
}
.settings input,.settings select {
  height: 45px;
}
.secondary {
  background: #29383b;
  color: #eaf3ed;
  border: 1px solid #4a5b5d;
  height: 45px;
  padding: 0 15px;
  font-size: 14px;
}
@media (max-width:950px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .catalog {
    min-height: 0;
  }
  .items {
    max-height: 400px;
  }
  .settings-controls {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:600px) {
  .shell {
    padding: 0 13px 35px;
  }
  .topbar {
    height: 73px;
  }
  .brandmark {
    width: 40px;
    height: 40px;
  }
  .brand strong {
    font-size: 16px;
  }
  .private {
    font-size: 12px;
    padding: 7px;
  }
  .workspace {
    margin-top: 14px;
    gap: 14px;
  }
  .calculator,.catalog {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }
  .quiet {
    font-size: 13px;
    padding: 8px 10px;
  }
  .field-grid {
    gap: 10px;
  }
  .calculator label {
    font-size: 13px;
  }
  .calculator input,.calculator select {
    height: 48px;
    padding: 0 10px;
  }
  .result {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .result-detail {
    border-left: 0;
    border-top: 1px solid #92bb53;
    padding: 14px 0 0;
    grid-template-columns: 1fr 1fr;
  }
  .result-detail span {
    display: block;
  }
  .result-detail b {
    display: block;
    margin-top: 2px;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .formula {
    text-align: center;
  }
  .catalog {
    padding: 21px 16px;
  }
  .settings {
    padding: 0 16px;
  }
  .settings-controls {
    grid-template-columns: 1fr;
  }
  .settings-inner p {
    line-height: 1.5;
  }
}
.labor-hint {
  margin: -8px 0 20px;
  color: #c8dbaa;
  font-size: 13px;
  line-height: 1.5;
}
.override .price-warning {
  color: #ffb5a6;
  font-weight: 700;
}
.complexity {
  margin: 1px 0 19px;
}
.complexity>span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #c6d4d2;
  margin-bottom: 9px;
}
.levels {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.levels button {
  min-height: 69px;
  text-align: left;
  padding: 10px;
  border: 1px solid #425356;
  border-radius: 11px;
  background: #10191c;
  color: #b8c9c6;
  font-size: 14px;
  line-height: 1.2;
}
.levels button strong {
  display: block;
  color: #e8f4e9;
  font-size: 16px;
  margin-top: 8px;
}
.levels button.active {
  border-color: #c8f45c;
  background: #253a2b;
  color: #e5f9c9;
  box-shadow: inset 0 0 0 1px #c8f45c;
}
.levels button.active strong {
  color: #c8f45c;
}
@media (max-width:600px) {
  .levels button {
    font-size: 13px;
    padding: 9px 7px;
  }
  .levels button strong {
    font-size: 14px;
  }
}
.header-status {
  display: flex;
  align-items: center;
  gap: 15px;
}
.connection {
  font-size: 13px;
  color: #a8bbba;
}
.file-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid #344346;
  padding: 16px 4px;
}
.file-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 10px 8px;
  border: 1px solid #52645d;
  border-radius: 10px;
  background: #26362e;
  color: #e1f3dc;
  font-weight: 700;
  font-size: 13px;
}
.file-actions button:hover {
  background: #334b39;
}
@media (max-width:600px) {
  .header-status {
    gap: 5px;
  }
  .connection {
    font-size: 11px;
    max-width: 98px;
    line-height: 1.2;
    text-align: right;
  }
  .file-actions button {
    font-size: 12px;
  }
}
.module-nav {
  display: flex;
  gap: 6px;
  padding: 13px 0 0;
  border-bottom: 1px solid #344346;
}
.module-nav a {
  display: block;
  text-decoration: none;
  color: #adc2bd;
  font-weight: 700;
  padding: 12px 17px;
  border-radius: 10px 10px 0 0;
}
.module-nav a.selected {
  background: #c8f45c;
  color: #17231a;
}
.module-nav a:hover:not(.selected) {
  background: #273537;
  color: #fff;
}
.reception-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin: 27px 0 18px;
}
.reception-head h1 {
  margin-top: 7px;
}
.reception-connection {
  color: #a9c1bc;
  font-size: 14px;
}
.reception-switch {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}
.reception-switch button {
  border: 1px solid #435456;
  background: #1a282a;
  color: #c1d2ce;
  padding: 12px 19px;
  border-radius: 10px;
  font-weight: 700;
}
.reception-switch button.active {
  background: #c8f45c;
  color: #17231a;
  border-color: #c8f45c;
}
.reception-card {
  background: #182225;
  border: 1px solid #344346;
  border-radius: 18px;
  padding: 25px;
  min-width: 0;
}
.reception-card h2 {
  font-size: 24px;
  margin: 0 0 18px;
}
.reception-hint {
  color: #a9bcba;
  font-size: 14px;
  line-height: 1.5;
}
.reception-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 18px 0;
}
.reception-grid .wide {
  grid-column: 1/-1;
}
.reception-grid label {
  color: #c6d4d2;
  font-size: 14px;
  font-weight: 700;
}
.reception-grid input,.reception-grid textarea,.reception-grid select,.reception-search {
  width: 100%;
  background: #10191c;
  color: #f4f8f6;
  border: 1px solid #425356;
  border-radius: 10px;
  padding: 11px 13px;
  margin-top: 8px;
  outline: none;
  font-size: 16px;
}
.reception-grid input,.reception-grid select {
  height: 49px;
}
.reception-grid textarea {
  min-height: 79px;
  resize: vertical;
  font: inherit;
}
.reception-grid input:focus,.reception-grid select:focus,.reception-grid textarea:focus,.reception-search:focus {
  border-color: #c8f45c;
}
.reception-message {
  background: #263c2b;
  color: #dbf5cd;
  border: 1px solid #4e7049;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 14px;
}
.reception-act a,.reception-link {
  color: #c8f45c;
  font-weight: 700;
}
.reception-layout {
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
  gap: 18px;
}
.reception-list-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.reception-search {
  margin: 0 0 14px;
}
.reception-list {
  max-height: 650px;
  overflow: auto;
}
.reception-row {
  width: 100%;
  border: 0;
  border-top: 1px solid #344346;
  text-align: left;
  background: transparent;
  color: #eef4f1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 9px;
}
.reception-row.chosen {
  background: #273b2d;
}
.reception-row span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reception-row small {
  color: #a6b9b6;
  font-size: 13px;
}
.reception-row-end {
  text-align: right;
  white-space: nowrap;
}
.reception-row-end strong {
  color: #c8f45c;
}
.reception-badge {
  font-size: 13px;
  color: #c8f45c;
  white-space: nowrap;
}
.reception-details {
  margin: 0;
}
.reception-details div {
  border-top: 1px solid #344346;
  padding: 11px 0;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 10px;
}
.reception-details dt {
  color: #91a6a3;
  font-size: 14px;
}
.reception-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.reception-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}
.reception-divider {
  border-top: 1px solid #344346;
  margin: 23px 0;
}
.reception-card .primary {
  background: #c8f45c;
}
.reception-card .quiet {
  white-space: normal;
}
.reception-card .quiet:disabled {
  opacity: .4;
}
.reception-card a {
  overflow-wrap: anywhere;
}
@media (max-width:850px) {
  .reception-layout {
    grid-template-columns: 1fr;
  }
  .reception-list {
    max-height: 350px;
  }
}
@media (max-width:600px) {
  .module-nav {
    padding-top: 9px;
  }
  .reception-head {
    align-items: start;
    flex-direction: column;
    margin-top: 20px;
  }
  .reception-card {
    padding: 18px 15px;
    border-radius: 15px;
  }
  .reception-grid {
    gap: 11px;
  }
  .reception-grid label {
    font-size: 13px;
  }
  .reception-details div {
    grid-template-columns: 90px 1fr;
  }
  .reception-actions .primary {
    width: 100%;
  }
  .reception-connection {
    font-size: 13px;
  }
}
.stock-card {
  margin-bottom: 30px;
}
.stock-card .reception-list-head h2 {
  margin: 9px 0;
}
.stock-add {
  background: #223034;
  border: 1px solid #405457;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.stock-add h2 {
  font-size: 20px;
}
.stock-toolbar {
  display: grid;
  grid-template-columns: minmax(220px,1fr) minmax(160px,.4fr) auto;
  gap: 10px;
  margin: 18px 0;
}
.stock-toolbar .search {
  height: 49px;
}
.stock-toolbar select,.stock-low {
  height: 49px;
  background: #10191c;
  border: 1px solid #425356;
  border-radius: 11px;
  color: #edf4f1;
  padding: 0 13px;
  min-width: 0;
}
.stock-low.active {
  border-color: #c8f45c;
  color: #c8f45c;
  background: #263b2c;
}
.stock-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.stock-item {
  border: 1px solid #344346;
  border-radius: 13px;
  background: #131d20;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.stock-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.stock-info strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.stock-info small {
  color: #a9bfbc;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.stock-price {
  color: #91aaa5;
  font-size: 13px;
}
.stock-controls {
  text-align: right;
}
.stock-qty {
  display: block;
  font-weight: 800;
  font-size: 17px;
  color: #c8f45c;
}
.stock-qty.low {
  color: #ffb083;
}
.stock-qty.unknown {
  color: #c7ad83;
  font-size: 14px;
}
.stock-buttons {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}
.stock-buttons button {
  background: #253639;
  color: #e9f2ee;
  border: 1px solid #425356;
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 800;
}
.stock-buttons button:hover {
  border-color: #c8f45c;
}
.stock-buttons button:disabled {
  opacity: .4;
}
.stock-edit {
  flex-basis: 100%;
  display: flex;
  align-items: end;
  gap: 9px;
  border-top: 1px solid #344346;
  padding-top: 14px;
}
.stock-edit label {
  font-size: 13px;
  color: #bdcfca;
  flex: 1;
}
.stock-edit input {
  width: 100%;
  display: block;
  background: #10191c;
  color: #fff;
  border: 1px solid #425356;
  border-radius: 8px;
  padding: 10px;
  margin-top: 5px;
}
.stock-edit .primary {
  height: 42px;
  padding: 8px 15px;
}
.stock-add .primary {
  background: #c8f45c;
  color: #17231a;
}
@media (max-width:900px) {
  .stock-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width:620px) {
  .stock-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .stock-toolbar .search {
    grid-column: 1/-1;
  }
  .stock-toolbar select,.stock-low {
    width: 100%;
    font-size: 13px;
  }
  .stock-item {
    padding: 13px;
  }
  .stock-info strong {
    font-size: 15px;
  }
  .stock-buttons button {
    padding: 0 10px;
  }
  .stock-edit {
    flex-wrap: wrap;
  }
  .stock-edit .primary {
    flex-basis: 100%;
  }
  .stock-card .reception-list-head {
    align-items: start;
  }
  .stock-card .reception-list-head .reception-actions {
    margin: 0;
    gap: 6px;
  }
  .stock-card .reception-list-head .primary {
    width: auto;
  }
}
.part-lookup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -7px 0 20px;
}
.part-lookup span {
  font-size: 13px;
  color: #9fb5b0;
}
.lookup-error {
  color: #ffb083;
  font-size: 14px;
  margin: -8px 0 18px;
}
.lookup-results {
  background: #10191c;
  border: 1px solid #405458;
  border-radius: 12px;
  padding: 14px;
  margin: -5px 0 20px;
  display: grid;
  gap: 8px;
}
.lookup-results>strong {
  font-size: 14px;
}
.lookup-results>button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #1b2a2d;
  color: #eaf2ef;
  border: 1px solid #344b4f;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14px;
}
.lookup-results>button:hover {
  border-color: #c8f45c;
}
.lookup-results>button:disabled {
  opacity: .65;
  cursor: default;
}
.lookup-results>button span {
  flex: 1;
}
.lookup-results>button b {
  white-space: nowrap;
  color: #c8f45c;
}
.lookup-results>small,.lookup-results>p {
  font-size: 13px;
  color: #9fb5b0;
  margin: 2px 0;
}
@media (max-width:620px) {
  .lookup-results>button {
    display: block;
  }
  .lookup-results>button b {
    display: block;
    margin-top: 6px;
    white-space: normal;
  }
}
.reception-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}
.reception-filters button {
  background: #182225;
  border: 1px solid #425356;
  color: #c6d4d2;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
}
.reception-filters button.active {
  background: #c8f45c;
  color: #17231a;
  border-color: #c8f45c;
}
.reception-filters button span {
  font-weight: 700;
  margin-left: 4px;
}
.reception-filters button:focus-visible {
  outline: 2px solid #c8f45c;
  outline-offset: 3px;
}
.host-account {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  max-width: 1420px;
  margin: auto;
  padding: 12px 28px;
  font-size: 13px;
}
.host-account a {
  color: #c8f45c;
}
.host-account button {
  color: #c6d4d2;
  background: transparent;
  border: 1px solid #425356;
  padding: 5px 10px;
  border-radius: 7px;
}
.auth-box {
  max-width: 510px;
  margin: 7vh auto;
  padding: 30px;
  background: #182225;
  border: 1px solid #344346;
  border-radius: 18px;
}
.auth-box form {
  display: grid;
  gap: 18px;
}
.auth-box label {
  display: grid;
  gap: 8px;
}
.auth-box input {
  width: 100%;
  padding: 12px;
  background: #10191c;
  border: 1px solid #425356;
  border-radius: 8px;
  color: white;
}
.auth-box button {
  padding: 13px;
}
.auth-box [role=alert] {
  color: #ffc1af;
}
@media (max-width:550px) {
  .auth-box {
    margin: 20px 12px;
    padding: 20px;
  }
  .host-account {
    padding: 12px 16px;
  }
}
