/* [project]/packages/quote-renderer/dist/styles.css [app-client] (css) */
.qr-doc {
  --qr-gap: 4mm;
  background: var(--qr-bg);
  box-sizing: border-box;
  line-height: 1.45;
}

.qr-doc *, .qr-doc :before, .qr-doc :after {
  box-sizing: border-box;
}

.qr-doc.qr-letter.qr-portrait {
  width: 215.9mm;
  min-height: 279.4mm;
}

.qr-doc.qr-letter.qr-landscape {
  width: 279.4mm;
  min-height: 215.9mm;
}

.qr-doc.qr-a4.qr-portrait {
  width: 210mm;
  min-height: 297mm;
}

.qr-doc.qr-a4.qr-landscape {
  width: 297mm;
  min-height: 210mm;
}

.qr-section {
  margin-bottom: 4mm;
}

.qr-row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  display: grid;
}

.qr-column {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.qr-block {
  position: relative;
}

.qr-mode-edit .qr-block:hover {
  outline: 1.5px dashed var(--qr-accent);
}

.qr-mode-edit .qr-block.is-selected {
  outline: 2px solid var(--qr-accent);
}

.qr-mode-web, .qr-mode-preview {
  width: 100% !important;
  min-height: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.qr-heading {
  color: var(--qr-primary);
  margin: 0 0 2mm;
  font-family: inherit;
  line-height: 1.2;
}

.qr-h1 {
  font-size: 2.2em;
}

.qr-h2 {
  font-size: 1.55em;
}

.qr-h3 {
  font-size: 1.2em;
}

.qr-h4 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--qr-muted);
  font-size: 1em;
}

.qr-rich {
  overflow-wrap: anywhere;
}

.qr-rich p {
  margin: 0 0 2mm;
}

.qr-logo {
  align-items: center;
  display: flex;
}

.qr-logo img {
  object-fit: contain;
  max-width: 100%;
}

.qr-logo-text {
  color: var(--qr-primary);
  font-size: 1.2em;
  font-weight: 700;
}

.qr-image img {
  border-radius: var(--qr-radius);
  max-width: 100%;
  max-height: 80mm;
}

.qr-image-empty {
  border: 1px dashed var(--qr-border);
  border-radius: var(--qr-radius);
  height: 30mm;
}

.qr-image figcaption {
  color: var(--qr-muted);
  margin-top: 1mm;
  font-size: .85em;
}

.qr-divider {
  border: 0;
  border-top: 1px solid var(--qr-border);
  margin: 3mm 0;
}

.qr-pagebreak {
  break-after: page;
  page-break-after: always;
  height: 0;
}

.qr-cover {
  border-radius: var(--qr-radius);
  color: #fff;
  background-position: center;
  background-size: cover;
  align-items: flex-end;
  min-height: 140mm;
  padding: 14mm;
  display: flex;
  position: relative;
  overflow: hidden;
}

.qr-cover-overlay {
  background: linear-gradient(#0f172a59, #0f172ad1);
  position: absolute;
  inset: 0;
}

.qr-cover-content {
  z-index: 1;
  position: relative;
}

.qr-cover h1 {
  color: #fff;
  margin: 0 0 2mm;
  font-size: 2.4em;
}

.qr-cover p {
  margin: 1mm 0;
}

.qr-cover-logo {
  filter: brightness(0) invert();
  max-height: 18mm;
  margin-bottom: 8mm;
}

.qr-cover-client {
  font-size: 1.3em;
  font-weight: 600;
}

.qr-cover-date, .qr-cover-rep {
  opacity: .85;
  font-size: .9em;
}

.qr-contact-card {
  align-items: center;
  gap: 3mm;
  display: flex;
}

.qr-contact-card img, .qr-avatar {
  object-fit: cover;
  background: var(--qr-accent);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 14mm;
  height: 14mm;
  font-weight: 700;
  display: flex;
}

.qr-contact-card div {
  font-size: .9em;
}

.qr-property h3 {
  color: var(--qr-primary);
  margin: 0 0 1mm;
}

.qr-stats {
  flex-wrap: wrap;
  gap: 2mm 5mm;
  margin-top: 2mm;
  font-size: .9em;
  display: flex;
}

.qr-stats b {
  color: var(--qr-primary);
}

.qr-sitemap img {
  border-radius: var(--qr-radius);
  border: 1px solid var(--qr-border);
  width: 100%;
}

.qr-sitemap .qr-legend {
  border: 0;
  width: auto;
  max-height: 14mm;
  margin-top: 2mm;
}

.qr-zone-crop {
  width: 48%;
  margin: 1%;
}

.qr-table {
  border-collapse: collapse;
  width: 100%;
  margin: 2mm 0 4mm;
  font-size: .9em;
}

.qr-table th {
  background: var(--qr-table-head-bg);
  color: var(--qr-table-head-text);
  text-align: left;
  padding: 2mm;
}

.qr-table td {
  border-bottom: 1px solid var(--qr-border);
  vertical-align: top;
  padding: 1.8mm 2mm;
}

.qr-table tbody tr:nth-child(2n) td {
  background: var(--qr-table-stripe);
}

.qr-table .qr-num {
  text-align: right;
  white-space: nowrap;
}

.qr-muted {
  color: var(--qr-muted);
  font-size: .88em;
}

.qr-badge {
  background: var(--qr-accent);
  color: #fff;
  border-radius: 99px;
  margin-left: 2mm;
  padding: .2mm 1.5mm;
  font-size: .75em;
  display: inline-block;
}

.qr-optional td {
  opacity: .85;
}

.qr-options {
  flex-wrap: wrap;
  gap: 4mm;
  display: flex;
}

.qr-option-card {
  text-align: left;
  border: 1.5px solid var(--qr-border);
  border-radius: var(--qr-radius);
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: none;
  flex: 40mm;
  padding: 4mm;
}

.qr-option-card.is-active {
  border-color: var(--qr-accent);
  box-shadow: 0 0 0 1.5px var(--qr-accent);
}

.qr-option-card p {
  color: var(--qr-muted);
  font-size: .88em;
}

.qr-option-price {
  color: var(--qr-primary);
  margin-top: 2mm;
  font-size: 1.2em;
  font-weight: 700;
}

.qr-pricing {
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius);
  padding: 4mm;
}

.qr-pricing h3 {
  color: var(--qr-primary);
  margin: 0 0 2mm;
}

.qr-pricing dl {
  margin: 0;
}

.qr-pricing dl > div {
  border-bottom: 1px dotted var(--qr-border);
  justify-content: space-between;
  padding: 1mm 0;
  display: flex;
}

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

.qr-pricing dd {
  margin: 0;
  font-weight: 600;
}

.qr-pricing .qr-total {
  border-bottom: 0;
  border-top: 2px solid var(--qr-primary);
  margin-top: 2mm;
  padding-top: 2mm;
  font-size: 1.1em;
}

.qr-selectors {
  flex-wrap: wrap;
  gap: 2mm;
  margin-top: 3mm;
  display: flex;
}

.qr-pills {
  gap: 1.5mm;
  display: flex;
}

.qr-pills button {
  border: 1px solid var(--qr-border);
  color: inherit;
  cursor: pointer;
  font: inherit;
  background: none;
  border-radius: 99px;
  padding: 1mm 3mm;
  font-size: .85em;
}

.qr-pills button.is-active {
  background: var(--qr-accent);
  border-color: var(--qr-accent);
  color: #fff;
}

.qr-recurring {
  padding-left: 4mm;
}

.qr-addon {
  border-bottom: 1px solid var(--qr-border);
  align-items: center;
  gap: 2mm;
  padding: 1.5mm 0;
  display: flex;
}

.qr-addon-price {
  margin-left: auto;
  font-weight: 600;
}

.qr-terms {
  color: var(--qr-muted);
  font-size: .84em;
}

.qr-acceptance, .qr-accepted {
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius);
  padding: 4mm;
}

.qr-accept, .qr-decline {
  border-radius: var(--qr-radius);
  font: inherit;
  cursor: pointer;
  border: 0;
  margin-right: 2mm;
  padding: 2.5mm 5mm;
}

.qr-accept {
  background: var(--qr-accent);
  color: #fff;
  font-weight: 700;
}

.qr-decline {
  border: 1px solid var(--qr-border);
  color: inherit;
  background: none;
}

.qr-signature {
  max-height: 20mm;
  margin: 2mm 0;
  display: block;
}

.qr-sign-lines {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8mm;
  margin-top: 10mm;
  display: grid;
}

.qr-sign-lines div span {
  border-bottom: 1px solid var(--qr-text);
  height: 10mm;
  margin-bottom: 1mm;
  display: block;
}

.qr-question {
  flex-direction: column;
  gap: 2mm;
  display: flex;
}

.qr-question textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius);
  color: inherit;
  background: none;
  padding: 2mm;
}

.qr-question button {
  border: 1px solid var(--qr-border);
  color: inherit;
  border-radius: var(--qr-radius);
  font: inherit;
  cursor: pointer;
  background: none;
  align-self: flex-start;
  padding: 1.5mm 4mm;
}

.qr-columns {
  gap: 4mm;
  display: grid;
}

.qr-empty {
  color: var(--qr-muted);
  text-align: center;
  border: 1px dashed var(--qr-border);
  border-radius: var(--qr-radius);
  padding: 8mm;
}

.qr-page-header {
  border-bottom: 1px solid var(--qr-border);
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 4mm;
  display: flex;
}

.qr-page-footer {
  border-top: 1px solid var(--qr-border);
  color: var(--qr-muted);
  margin-top: 4mm;
  padding-top: 2mm;
  font-size: .8em;
}

.qr-page-number {
  text-align: center;
}

.qr-mode-web .qr-page-header, .qr-mode-web .qr-page-footer, .qr-mode-preview .qr-page-header, .qr-mode-preview .qr-page-footer {
  display: none;
}

@media print {
  .qr-doc {
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .qr-section.qr-break {
    break-before: page;
  }

  .qr-table {
    break-inside: auto;
  }

  .qr-table thead {
    display: table-header-group;
  }

  .qr-table tr {
    break-inside: avoid;
  }
}

@media (max-width: 700px) {
  .qr-row {
    grid-template-columns: 1fr !important;
  }

  .qr-column {
    grid-column: span 1 !important;
  }

  .qr-options {
    flex-direction: column;
  }
}

/* [project]/apps/web/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, 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 {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;
    -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 {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :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)) {
      ::placeholder {
        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 {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-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"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .break-all {
    word-break: break-all;
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}

:root {
  --bg: #f6f7f9;
  --surface: #fff;
  --surface-2: #f1f4f8;
  --fg: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-fg: #fff;
  --success: #047857;
  --warning: #b45309;
  --error: #b91c1c;
  --ring: #2563eb59;
  --radius: 10px;
  --nav: #0b1220;
  --nav-fg: #cbd5e1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d17;
    --surface: #0f1728;
    --surface-2: #151f33;
    --fg: #e5e9f2;
    --muted: #94a3b8;
    --border: #233049;
    --accent: #60a5fa;
    --accent-fg: #07101f;
    --ring: #60a5fa66;
    --nav: #050a13;
    --nav-fg: #94a3b8;
    --success: #34d399;
    --warning: #fbbf24;
    --error: #f87171;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

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

button, input, select, textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  letter-spacing: -.015em;
  margin: 0;
  font-weight: 650;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 15px;
}

.app-grid {
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100dvh;
  display: grid;
}

.sidebar {
  background: var(--nav);
  color: var(--nav-fg);
  --muted: #94a3b8;
  flex-direction: column;
  gap: 18px;
  height: 100dvh;
  padding: 18px 12px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  color: #fff;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  display: flex;
}

.sidebar-brand strong {
  letter-spacing: -.01em;
  font-size: 15px;
}

.sidebar nav {
  flex-direction: column;
  gap: 2px;
  display: flex;
  overflow-y: auto;
}

.nav-link {
  color: var(--nav-fg);
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
}

.nav-link:hover {
  color: #fff;
  background: #ffffff12;
}

.nav-link[data-active="true"] {
  color: #fff;
  background: #ffffff1f;
}

.nav-section {
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #94a3b8;
  padding: 14px 10px 4px;
  font-size: 10.5px;
}

.nav-badge {
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 999px;
  margin-left: auto;
  padding: 0 7px;
  font-size: 11px;
}

.main {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  height: 58px;
}

@supports (color: color-mix(in lab, red, red)) {
  .topbar {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }
}

.topbar {
  z-index: 30;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  display: flex;
  position: sticky;
  top: 0;
}

.topbar-search {
  flex: 1;
  max-width: 440px;
}

.content {
  width: 100%;
  max-width: 1500px;
  padding: 24px;
}

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

.card-head {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  display: flex;
}

.card-body {
  padding: 18px;
}

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

.small {
  font-size: 12.5px;
}

.mono {
  font-family: JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
}

.btn {
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 34px;
  color: var(--fg);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background .12s, border-color .12s, opacity .12s;
  display: inline-flex;
}

.btn:hover {
  background: var(--surface-2);
}

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

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  filter: brightness(1.06);
  background: var(--accent);
}

.btn-danger {
  color: var(--error);
  border-color: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-danger {
    border-color: color-mix(in srgb, var(--error) 40%, var(--border));
  }
}

.btn-ghost {
  background: none;
  border-color: #0000;
}

.btn-sm {
  min-height: 28px;
  padding: 3px 9px;
  font-size: 12px;
}

.btn-icon {
  width: 34px;
  padding: 0;
}

.field {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.field > label {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.input, .select, .textarea {
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--fg);
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 10px;
}

.textarea {
  resize: vertical;
  min-height: 88px;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px), calc(100% - 9px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 28px;
}

.check {
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.grid {
  gap: 14px;
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.spread {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.stack {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.stack-sm {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.badge {
  white-space: nowrap;
  border: 1px solid #0000;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
}

.badge-gray {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--border);
}

.badge-blue {
  color: #1d4ed8;
  background: #dbeafe;
}

.badge-green {
  color: #065f46;
  background: #d1fae5;
}

.badge-amber {
  color: #92400e;
  background: #fef3c7;
}

.badge-red {
  color: #991b1b;
  background: #fee2e2;
}

.table-wrap {
  overflow: auto;
}

table.data {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

table.data th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  z-index: 1;
  padding: 10px 14px;
  font-size: 11px;
  position: sticky;
  top: 0;
}

table.data td {
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  padding: 11px 14px;
}

table.data tr:hover td {
  background: var(--surface-2);
}

@supports (color: color-mix(in lab, red, red)) {
  table.data tr:hover td {
    background: color-mix(in srgb, var(--surface-2) 65%, transparent);
  }
}

table.data tr:last-child td {
  border-bottom: none;
}

.table-link {
  font-weight: 600;
}

.table-link:hover {
  color: var(--accent);
}

.metric {
  padding: 16px 18px;
}

.metric .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.metric .value {
  letter-spacing: -.02em;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 700;
}

.metric .sub {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}

.empty strong {
  color: var(--fg);
  margin-bottom: 4px;
  display: block;
}

.tabs {
  border-bottom: 1px solid var(--border);
  gap: 2px;
  display: flex;
}

.tab {
  color: var(--muted);
  border-bottom: 2px solid #0000;
  margin-bottom: -1px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
}

.tab[data-active="true"] {
  color: var(--fg);
  border-color: var(--accent);
}

.modal-backdrop {
  z-index: 100;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0206178c;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px #00000059;
}

.modal-head {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  display: flex;
}

.modal-body {
  padding: 20px;
}

.modal-foot {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  display: flex;
}

.toast {
  z-index: 200;
  background: var(--fg);
  color: var(--bg);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  box-shadow: 0 10px 40px #0000004d;
}

.alert {
  border: 1px solid;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.alert-error {
  color: var(--error);
  border-color: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .alert-error {
    border-color: color-mix(in srgb, var(--error) 35%, transparent);
  }
}

.alert-error {
  background: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .alert-error {
    background: color-mix(in srgb, var(--error) 8%, transparent);
  }
}

.login-wrap {
  grid-template-columns: 1.1fr .9fr;
  min-height: 100dvh;
  display: grid;
}

.login-art {
  background: radial-gradient(1200px 600px at 20% 10%, #1e3a8a55, transparent), var(--nav);
  color: #fff;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  display: flex;
}

.login-form-wrap {
  justify-content: center;
  align-items: center;
  padding: 32px;
  display: flex;
}

.login-card {
  width: 100%;
  max-width: 380px;
}

@media (max-width: 900px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }

  .login-art {
    display: none;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    z-index: 50;
    width: 224px;
    transition: transform .2s;
    position: fixed;
    transform: translateX(-100%);
  }

  .sidebar[data-open="true"] {
    transform: translateX(0);
  }

  .content {
    padding: 16px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.canvas-shell {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 0;
  height: calc(100dvh - 58px);
  display: grid;
}

.canvas-panel {
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: 14px;
  overflow-y: auto;
}

.canvas-panel:last-child {
  border-right: none;
  border-left: 1px solid var(--border);
}

.canvas-stage {
  background: #0b1220;
  position: relative;
  overflow: hidden;
}

.canvas-svg {
  touch-action: none;
  cursor: crosshair;
  width: 100%;
  height: 100%;
}

.tool-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  width: 36px;
  height: 36px;
  color: var(--fg);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.tool-btn[data-active="true"] {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.qr-document {
  color: #111827;
  background: #fff;
}

.quote-frame {
  max-width: 900px;
  margin: 0 auto;
}

@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .content {
    max-width: none;
    padding: 0;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

/*# sourceMappingURL=_0b3vlkgdbonir._.css.map*/