/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@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-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --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, -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;
    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: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 {
    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 {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .table {
    display: table;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .capitalize {
    text-transform: capitalize;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter\! {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,) !important;
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  --navy: #132b43;
  --ink: #23374b;
  --muted: #778493;
  --blue: #0878c5;
  --border: #e5eaef;
  --bg: #f5f7fa;
  --green: #188362;
  --red: #c44747;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 14px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #80bde9;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.9px;
  line-height: 1.3;
  color: var(--navy);
}
h2 {
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
strong,
b {
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.success-text {
  color: var(--green) !important;
}
.danger-text {
  color: var(--red) !important;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #8290a0;
  display: block;
  margin-bottom: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--border);
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 28px 23px 31px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--navy);
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 5px;
  color: #8c99a7;
}
.brand-mark {
  height: 42px;
  width: 40px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 11px;
  color: white;
  flex-shrink: 0;
}
.workspace-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #91a0ae;
  padding: 10px 27px 13px;
}
.sidebar nav {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  color: #657384;
  border-radius: 7px;
  font-weight: 500;
  position: relative;
}
.sidebar nav a.active {
  background: #edf6fd;
  color: #096db4;
  font-weight: 650;
}
.sidebar nav a:hover {
  background: #f3f7fa;
}
.sidebar nav a.active:before {
  content: "";
  position: absolute;
  left: -15px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--blue);
  border-radius: 0 3px 3px 0;
}
.sidebar nav b {
  margin-left: auto;
  background: #fdeceb;
  color: #bf4b49;
  min-width: 23px;
  border-radius: 5px;
  text-align: center;
  line-height: 21px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 17px;
}
.business-card {
  display: flex;
  gap: 10px;
  padding: 15px 10px;
  background: #f7f9fc;
  border: 1px solid #eaf0f5;
  border-radius: 9px;
  align-items: center;
}
.business-card strong,
.user-card strong {
  font-size: 12px;
  display: block;
}
.business-card small,
.user-card small {
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.business-icon {
  height: 32px;
  width: 30px;
  display: grid;
  place-items: center;
  background: #e5eff8;
  border-radius: 7px;
  color: var(--blue);
  flex-shrink: 0;
}
.user-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 22px 6px 0;
}
.user-card > div {
  flex: 1;
}
.main-shell {
  margin-left: 238px;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #91a0ac;
}
.breadcrumb strong {
  font-weight: 500;
  color: #34465a;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.today-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #718092;
  font-size: 12px;
}
.demo-pill {
  background: #eff7fc;
  color: #427ca5;
  letter-spacing: 0.6px;
  font-size: 9px;
  padding: 6px 9px;
  border: 1px solid #dfeef8;
  border-radius: 4px;
  font-weight: 650;
}
.avatar {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eaf1f7;
  border: 1px solid #e1eaf2;
  border-radius: 50%;
  font-size: 13px;
  color: #456e90;
  font-weight: 650;
}
.avatar.small {
  width: 33px;
  height: 33px;
  font-size: 11px;
}
.main-content {
  max-width: 1640px;
  margin: auto;
  padding: 22px 36px 0;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #66839a;
  margin-bottom: 22px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 9px 0 27px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
}
.greeting-dot {
  color: var(--blue);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 10px 15px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  background: #fff;
  color: #455568;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 2px #23374b06;
}
.btn:hover {
  background: #f7fafc;
  border-color: #b9cbd8;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 2px 3px #0878c520;
}
.btn.primary:hover {
  background: #0564aa;
}
.btn.danger {
  color: var(--red);
  border-color: #eccccc;
}
.btn.small {
  min-height: 30px;
  padding: 5px 11px;
  font-size: 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  min-width: 30px;
  min-height: 30px;
  color: #8492a0;
}
.icon-btn:hover {
  background: #edf3f7;
  color: var(--blue);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--blue);
  font-weight: 550;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.text-link:hover {
  text-decoration: underline;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px;
  box-shadow: 0 2px 3px #243c5303;
}
.kpi:hover {
  border-color: #8bbad9;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.kpi-top > svg {
  color: #afbbc5;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.blue {
  background: #eaf5fd;
  color: #137ebd;
}
.amber {
  background: #fff6e4;
  color: #b48223;
}
.red {
  background: #fff0ee;
  color: #cb6259;
}
.green {
  background: #eaf7ef;
  color: #2b9771;
}
.navy {
  background: #eef0f7;
  color: #546688;
}
.kpi-label {
  display: block;
  color: #6d7b8c;
  font-size: 11px;
  white-space: nowrap;
}
.kpi > strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.3;
  color: #20344b;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.kpi > small {
  display: block;
  font-size: 10px;
  margin-top: 8px;
  white-space: nowrap;
}
.attention-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  background: #eef6fc;
  margin-bottom: 25px;
}
.attention-strip-icon {
  color: #2187c6;
  display: flex;
}
.attention-strip p {
  font-size: 12px;
  color: #648198;
  flex: 1;
  line-height: 1.6;
}
.attention-strip strong {
  color: #2c5879;
  margin-right: 6px;
}
.attention-strip a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0875bd;
  font-weight: 600;
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr);
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 4px #1d345003;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 23px;
  border-bottom: 1px solid #eef1f5;
}
.panel-head p {
  font-size: 11px;
  color: #8995a3;
  margin-top: 7px;
}
.upcoming-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 23px;
  border-bottom: 1px solid #eef1f4;
}
.upcoming-row:hover {
  background: #f9fbfd;
}
.upcoming-row:last-child {
  border-bottom: 0;
}
.job-time {
  width: 43px;
  flex-shrink: 0;
}
.job-time strong {
  font-size: 13px;
  color: #344b60;
}
.job-time small {
  font-size: 9px;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 6px;
}
.job-line {
  width: 3px;
  height: 39px;
  background: #80bbe2;
  border-radius: 3px;
  flex-shrink: 0;
}
.upcoming-info {
  flex: 1;
  min-width: 0;
}
.upcoming-info > strong {
  font-size: 13px;
  display: block;
}
.upcoming-info > span {
  font-size: 11px;
  color: #7d8c9c;
  display: block;
  margin-top: 4px;
  line-height: 1.45;
}
.upcoming-info small {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  margin-top: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eef2f5;
  color: #6d7a86;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}
.badge-on-track,
.badge-paid,
.badge-completed,
.badge-delivered,
.badge-active,
.badge-ready {
  color: #2a8664;
  background: #eaf6ef;
}
.badge-due-soon,
.badge-partially-paid,
.badge-pending {
  color: #a7751e;
  background: #fff6e3;
}
.badge-overdue,
.badge-failed,
.badge-bounced,
.badge-error {
  color: #be5a51;
  background: #fff0ed;
}
.badge-due-today,
.badge-booked,
.badge-scheduled,
.badge-sent {
  color: #397fb2;
  background: #edf5fd;
}
.badge-void,
.badge-cancelled,
.badge-inactive,
.badge-suppressed,
.badge-draft,
.badge-duplicate {
  color: #79838f;
  background: #f0f2f5;
}
.panel-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #5e89a7;
  font-size: 11px;
  padding: 15px;
  border-top: 1px solid #eef1f4;
}
.attention-list {
  padding: 6px 23px;
}
.attention-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #eff2f5;
}
.attention-item:last-child {
  border: 0;
}
.status-circle {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.attention-item > div {
  flex: 1;
}
.attention-item strong {
  font-size: 12px;
  display: block;
}
.attention-item small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.attention-item b {
  font-size: 22px;
  color: #30455b;
  margin-right: 5px;
}
.attention-item > svg {
  color: #acb8c3;
}
.reminder-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 23px 23px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
  border-radius: 7px;
  padding: 13px;
  color: #7e96a9;
}
.reminder-note p strong {
  display: block;
  font-size: 11px;
  color: #5a7387;
}
.reminder-note p span {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.55;
}
.activity-list {
  padding: 3px 23px 7px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f3f6;
}
.activity-row:last-child {
  border: 0;
}
.activity-icon {
  height: 31px;
  width: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-row > div {
  flex: 1;
}
.activity-row strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.activity-row span:not(.activity-icon) {
  display: block;
  font-size: 11px;
  color: #8c98a5;
  margin-top: 5px;
}
.activity-row > small {
  font-size: 10px;
  text-align: right;
}
.receivables {
  padding: 24px;
}
.receivables > span {
  display: block;
  color: #7b8999;
  font-size: 12px;
}
.receivables > strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 10px 0 5px;
  color: var(--navy);
}
.receivables > span.muted {
  font-size: 11px;
}
.invoice-progress {
  height: 5px;
  border-radius: 9px;
  background: #e5eff8;
  overflow: hidden;
  margin: 22px 0;
}
.invoice-progress span {
  height: 100%;
  background: #e3a18d;
  display: block;
}
.receivables a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 12px 0;
}
.receivables a span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #7d8a99;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.red {
  background: #d6816c;
}
.legend-dot.green {
  background: #55a888;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  color: #a3adb8;
  font-size: 10px;
  padding: 27px 0 20px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid #edf1f5;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #dfe6ed;
  border-radius: 6px;
  padding-left: 11px;
  min-width: 180px;
  max-width: 450px;
  flex: 1;
  background: #fff;
  color: #9aa7b3;
}
.search-field input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
.search-submit {
  font-size: 11px;
  padding: 5px 8px;
  margin-right: 6px;
  border: 0;
  border-radius: 4px;
  color: #6d8193;
  background: #f2f6fa;
}
.toolbar select {
  width: auto;
  min-width: 150px;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 23px;
  padding: 0 23px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tabs a {
  padding: 18px 0 15px;
  font-size: 12px;
  white-space: nowrap;
  color: #81909f;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}
.tabs a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  color: #84909e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 550;
  background: #fcfdfe;
  padding: 13px 22px;
  border-bottom: 1px solid #eaf0f4;
}
td {
  padding: 18px 22px;
  border-bottom: 1px solid #edf1f5;
  font-size: 12px;
  color: #5c6e81;
}
td strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #344b60;
}
td small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  color: #9aa5b0;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcfe;
}
.person {
  display: flex;
  gap: 11px;
  align-items: center;
}
.person strong {
  color: #253f57;
}
.person small {
  margin-top: 4px;
}
.strong-link {
  color: #207cae;
  font-weight: 600;
}
.table-action {
  width: 30px;
  padding-left: 0;
  padding-right: 15px;
}
.table-footer {
  border-top: 1px solid #eaf0f4;
  padding: 14px 23px;
  font-size: 11px;
  color: #8d9aa7;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.mini-stats > a {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.mini-stats span {
  display: block;
  font-size: 12px;
  color: #7c8c9b;
}
.mini-stats strong {
  display: block;
  font-size: 27px;
  margin-top: 10px;
  color: #274058;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 52px 25px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 13px;
  background: #f0f6fa;
  color: #76a5c5;
  margin-bottom: 4px;
}
.empty h3 {
  font-size: 15px;
}
.empty p {
  font-size: 12px;
  color: #8d9aa7;
  max-width: 330px;
  line-height: 1.7;
}
.empty .btn {
  margin-top: 6px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7493aa;
  font-size: 12px;
  margin: 8px 0 20px;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 22px;
}
.profile-hero > .avatar {
  height: 62px;
  width: 62px;
  font-size: 19px;
  background: #e4eff8;
}
.profile-hero > div {
  flex: 1;
}
.profile-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-hero p {
  font-size: 12px;
  color: #92a0ad;
  margin-top: 7px;
}
.contact-bar {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
}
.contact-bar a,
.contact-bar > span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #637c90;
}
.contact-bar svg {
  color: #8babc1;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.profile-grid.two {
  grid-template-columns: 1.1fr 1fr;
}
.details {
  margin: 0;
  padding: 13px 23px 22px;
}
.details > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 12px;
}
.details dt {
  color: #8b99a6;
  flex-shrink: 0;
}
.details dd {
  margin: 0;
  text-align: right;
  color: #40596e;
  line-height: 1.65;
}
.details a {
  color: var(--blue);
}
.notes-text {
  padding: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: #718596;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.action-row {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  align-items: center;
}
.action-row.compact {
  margin: 0;
}
.history-list {
  padding: 0 23px;
}
.history-row {
  display: flex;
  gap: 16px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.history-row:last-child {
  border: 0;
}
.history-row > div {
  flex: 1;
  min-width: 0;
}
.history-row strong {
  font-size: 13px;
  display: block;
}
.history-row span:not(.activity-icon):not(.badge) {
  display: block;
  font-size: 12px;
  color: #8d9dab;
  margin-top: 7px;
}
.history-row p {
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0;
  color: #6d8497;
}
.history-row > b {
  font-size: 12px;
  font-weight: 500;
  color: #8296a6;
}
.history-row small {
  display: block;
}
.history-row details {
  margin-top: 12px;
}
.history-row summary {
  font-size: 12px;
  color: var(--blue);
  cursor: pointer;
}
.message-body {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  padding: 15px;
  background: #f7f9fb;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.completion-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 22px 22px;
  border-radius: 7px;
  background: #edf7f1;
  color: #428468;
  padding: 18px;
  font-size: 12px;
}
.completion-note p {
  margin-top: 7px;
}
.calendar-toolbar {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.calendar-date {
  display: flex;
  gap: 10px;
  align-items: center;
}
.calendar-date strong {
  font-size: 13px;
  margin: 0 12px;
  color: #4a6376;
}
.segmented {
  display: flex;
  padding: 3px;
  background: #f3f6f9;
  border: 1px solid #e5ebf1;
  border-radius: 7px;
}
.segmented a {
  padding: 7px 16px;
  border-radius: 5px;
  color: #8897a5;
  font-size: 12px;
}
.segmented a.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px #183c5a10;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  min-height: 510px;
}
.calendar-grid.day {
  grid-template-columns: 1fr;
  min-height: 300px;
}
.calendar-day {
  border-right: 1px solid var(--border);
  min-width: 0;
}
.calendar-day:last-child {
  border-right: 0;
}
.calendar-day-head {
  border-bottom: 1px solid var(--border);
  padding: 15px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.calendar-day-head > span {
  font-size: 10px;
  color: #8b9aa7;
}
.calendar-day-head strong {
  font-size: 18px;
}
.calendar-day-head .icon-btn {
  margin-left: auto;
  min-width: 22px;
}
.calendar-day.today {
  background: #fcfdff;
}
.calendar-day.today .calendar-day-head strong {
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.calendar-events {
  padding: 10px 7px;
}
.calendar-event {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 9px;
  background: #eef7ff;
  border: 1px solid #dcecf7;
  border-left: 3px solid #79b9e6;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.calendar-event > strong {
  font-size: 12px;
  line-height: 1.5;
  color: #376484;
}
.calendar-event > span {
  color: #7190a7;
  font-size: 10px;
}
.calendar-event > small {
  font-size: 10px;
  color: #84a0b6;
}
.calendar-event .badge {
  align-self: flex-start;
  font-size: 9px;
  padding: 4px 5px;
  margin-top: 4px;
}
.calendar-event.completed {
  background: #eff8f2;
  border-color: #cee6d7;
  border-left-color: #78b992;
}
.calendar-event.cancelled {
  background: #f5f6f8;
  border-color: #e5e8ed;
  opacity: 0.7;
}
.event-time {
  display: flex;
  gap: 5px;
  align-items: center;
}
.calendar-empty {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #bdc7cf;
  margin: 30px 0;
}
.calendar-grid.day .calendar-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
}
.calendar-grid.day .calendar-day-head {
  padding: 15px 25px;
}
.calendar-grid.day .calendar-event {
  padding: 20px;
  gap: 12px;
}
.calendar-grid.day .calendar-event strong {
  font-size: 16px;
}
.calendar-grid.day .calendar-event span,
.calendar-grid.day .calendar-event small {
  font-size: 12px;
}
.modal {
  padding: 0;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  width: min(580px, calc(100vw - 30px));
  max-height: 90vh;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 100px #0c263b30;
}
.modal.wide {
  width: min(760px, calc(100vw - 30px));
}
.modal::backdrop {
  background: #132a4380;
  backdrop-filter: blur(2px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-head h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}
.modal-head p {
  font-size: 12px;
  color: #8b9bab;
  margin-top: 6px;
}
.form-body {
  padding: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.span-2 {
  grid-column: span 2;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  color: #586d80;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce4eb;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  color: #3c566c;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #75b1d9;
  box-shadow: 0 0 0 3px #eaf5fd;
}
input::placeholder,
textarea::placeholder {
  color: #b1bcc6;
}
input:disabled {
  background: #f7f9fc;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
textarea {
  resize: vertical;
}
label small {
  font-size: 11px;
  font-weight: 400;
  color: #9aa8b4;
}
.form-divider {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #46627a;
}
.form-footer {
  border-top: 1px solid var(--border);
  background: #fcfdfe;
  padding: 18px 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.form-footer > .muted {
  margin-right: auto;
  font-size: 11px;
}
.check-label {
  flex-direction: row;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.alert {
  padding: 14px 17px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
  margin: 17px 0;
  overflow-wrap: anywhere;
}
.alert p {
  margin-top: 5px;
}
.alert.info {
  background: #eef6fc;
  color: #52809f;
  border: 1px solid #dcebf7;
}
.alert.warning {
  background: #fff8e9;
  color: #a47a30;
  border: 1px solid #f4e7c6;
}
.alert.error {
  background: #fff0ef;
  color: #b44f48;
  border: 1px solid #f2d8d5;
}
.form-grid .alert {
  margin: 0;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
}
.toast.success {
  background: #ecf7f0;
  border: 1px solid #d6ebdf;
  color: #3d8365;
}
.toast .icon-btn {
  margin-left: auto;
}
.payment-amount {
  padding: 20px;
  background: #f5f9fc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-amount span {
  font-size: 12px;
  color: #7790a4;
}
.payment-amount strong {
  font-size: 23px;
  color: #2f536e;
}
.email-preview p {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.email-preview p > span {
  min-width: 50px;
  color: #9aa9b6;
}
.email-preview pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.9;
  padding: 24px 0 8px;
  color: #597286;
  overflow-wrap: anywhere;
}
.attachment {
  background: #f5f8fb;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  color: #6b8aa0;
  font-size: 12px;
}
.settings-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.settings-nav button {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  padding: 11px 17px;
  color: #7d91a2;
  font-size: 13px;
}
.settings-nav button.active {
  border-color: #dce7ef;
  background: #fff;
  color: var(--blue);
}
.settings-form {
  max-width: 900px;
}
.settings-stack {
  display: grid;
  gap: 25px;
  max-width: 1000px;
}
.catalog-list {
  padding: 0 23px;
}
.catalog-list > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #edf1f4;
}
.catalog-list > div > div {
  flex: 1;
}
.catalog-list strong {
  display: block;
  font-size: 13px;
}
.catalog-list small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}
.panel-padding {
  padding: 20px 23px;
}
.template-help {
  font-size: 12px;
  line-height: 1.8;
  color: #8a9cac;
}
.logo-preview {
  display: flex;
  gap: 20px;
  align-items: center;
}
.logo-preview img {
  max-height: 50px;
  max-width: 140px;
}
.invoice-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.invoice-title p {
  width: 100%;
  margin-top: 0;
}
.invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 22px;
  align-items: start;
}
.invoice-paper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.invoice-business {
  display: flex;
  justify-content: space-between;
  padding: 34px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.invoice-business strong {
  font-size: 20px;
  letter-spacing: -0.4px;
  color: #245378;
}
.invoice-business p {
  font-size: 12px;
  color: #8699a9;
  margin: 10px 0 8px;
  white-space: pre-wrap;
  line-height: 1.6;
}
.invoice-business small {
  display: block;
  font-size: 11px;
  line-height: 1.8;
}
.document-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #adc0cf;
  padding-top: 7px;
  white-space: nowrap;
}
.invoice-parties {
  display: flex;
  justify-content: space-between;
  padding: 30px 34px;
  gap: 30px;
}
.invoice-parties h3 {
  font-size: 14px;
  margin-top: 9px;
}
.invoice-parties p {
  white-space: pre-line;
  line-height: 1.75;
  font-size: 12px;
  color: #8a9ba9;
  margin: 8px 0;
}
.invoice-parties small {
  font-size: 11px;
}
.invoice-parties dl {
  margin: 0;
  min-width: 205px;
}
.invoice-parties dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 7px 0;
  font-size: 11px;
}
.invoice-parties dt {
  color: #94a5b3;
}
.invoice-parties dd {
  margin: 0;
  color: #607e95;
}
.invoice-parties input {
  padding: 6px;
  font-size: 11px;
}
.invoice-lines {
  margin: 0 25px;
}
.invoice-line-labels,
.invoice-line {
  display: grid;
  grid-template-columns: minmax(100px, 1.8fr) 55px 85px 110px 75px 25px;
  gap: 10px;
  align-items: center;
}
.invoice-line-labels {
  background: #f7fafc;
  padding: 13px 10px;
  font-size: 10px;
  color: #8c9fac;
  border-bottom: 1px solid var(--border);
}
.invoice-line {
  padding: 16px 0;
  border-bottom: 1px solid #edf2f5;
  font-size: 12px;
}
.invoice-line input,
.invoice-line select {
  padding: 8px 7px;
  font-size: 11px;
}
.invoice-line strong {
  font-size: 12px;
  color: #516f87;
}
.add-line {
  margin: 17px 0;
}
.invoice-bottom {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 40px;
  padding: 26px 34px;
}
.invoice-bottom .notes-text {
  padding: 0;
}
.invoice-totals {
  margin: 0;
}
.invoice-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 12px;
}
.invoice-totals dt {
  color: #8a9dad;
}
.invoice-totals dd {
  margin: 0;
  color: #486c86;
}
.invoice-totals .grand-total {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 7px 0;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 650;
}
.grand-total dt,
.grand-total dd {
  color: #23597f;
}
.invoice-payment {
  margin: 0 34px 30px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 11px;
  line-height: 1.8;
}
.invoice-payment strong {
  font-size: 12px;
  color: #7592a7;
}
.invoice-payment p {
  white-space: pre-wrap;
  margin: 8px 0;
  color: #93a6b5;
}
.invoice-payment small {
  font-size: 10px;
  white-space: pre-wrap;
}
.invoice-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.invoice-side .panel-head {
  padding: 18px;
}
.invoice-side h2 {
  font-size: 14px;
}
.invoice-side .details {
  padding: 10px 18px;
}
.invoice-side .details > div {
  flex-direction: column;
  gap: 5px;
}
.invoice-side .details dd {
  text-align: left;
}
.payment-entry {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.payment-entry strong {
  color: #2a8a68;
}
.payment-entry span,
.payment-entry small {
  font-size: 11px;
  color: #8a9caa;
}
.import-steps {
  display: flex;
  margin: 10px 0 28px;
  gap: 28px;
}
.import-steps > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a9b7c3;
  font-size: 12px;
}
.import-steps > div > span {
  height: 25px;
  width: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf1f5;
  color: #a1afbb;
  font-size: 11px;
}
.import-steps > div.active {
  color: #497b9e;
}
.import-steps > div.active > span {
  background: #e7f3fc;
  color: var(--blue);
}
.upload-area {
  margin: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #b7cfdf;
  border-radius: 9px;
  padding: 40px;
  background: #fbfdff;
  cursor: pointer;
  gap: 12px;
}
.upload-area strong {
  font-size: 15px;
  color: #567c97;
}
.upload-area > span {
  font-size: 12px;
  color: #8ea7b9;
}
.upload-area input {
  max-width: 310px;
  font-size: 12px;
  margin-top: 10px;
}
.import-guidance {
  padding: 0 28px 28px;
  max-width: 680px;
}
.import-guidance strong {
  font-size: 13px;
}
.import-guidance p {
  font-size: 12px;
  line-height: 1.8;
  color: #8a9eae;
  margin: 10px 0 16px;
}
.mapping-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  padding: 25px;
}
.mapping-grid > strong {
  font-size: 11px;
  color: #9aabb8;
  text-transform: uppercase;
}
.mapping-row {
  display: contents;
}
.mapping-row > strong {
  font-size: 12px;
  align-self: center;
}
.mapping-row > span {
  font-size: 11px;
  align-self: center;
  color: #9aadb9;
  overflow-wrap: anywhere;
}
.import-counts {
  display: flex;
  gap: 35px;
  padding: 25px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: #809bac;
}
.import-counts b {
  font-size: 22px;
  color: #356783;
  margin-right: 7px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 25px;
  gap: 20px;
  text-align: center;
}
.summary-grid strong {
  display: block;
  font-size: 32px;
  color: #2c6a8f;
}
.summary-grid span {
  display: block;
  text-transform: capitalize;
  font-size: 12px;
  color: #86a0b1;
  margin-top: 10px;
}
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-brand {
  background: #153a58;
  color: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.login-brand .brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  margin-bottom: 45px;
  background: #2188cb;
}
.login-brand h1 {
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: white;
}
.login-brand p {
  font-size: 15px;
  line-height: 1.9;
  color: #a6bdce;
  margin-top: 25px;
}
.login-proof {
  margin-top: 70px;
  color: #8eb4cd;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.login-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 40px;
}
.login-box {
  width: 100%;
  max-width: 350px;
}
.login-box h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 20px 0 12px;
}
.login-box > .muted {
  font-size: 13px;
  margin-bottom: 35px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-stack .btn {
  margin-top: 4px;
  min-height: 45px;
  font-size: 13px;
}
.login-help {
  font-size: 11px;
  line-height: 1.8;
  color: #97a8b5;
  margin-top: 28px;
  text-align: center;
}
.loading-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  text-align: center;
  color: #839bab;
}
.loading-page h1 {
  font-size: 25px;
}
.spinner {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  border: 3px solid #ddeaf3;
  border-top-color: var(--blue);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.mobile-menu,
.mobile-close,
.mobile-overlay {
  display: none;
}
@media (max-width: 1300px) {
  .sidebar {
    width: 215px;
  }
  .brand {
    padding-left: 18px;
    font-size: 17px;
    gap: 9px;
  }
  .main-shell {
    margin-left: 215px;
  }
  .main-content {
    padding-left: 25px;
    padding-right: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kpi {
    padding: 16px 20px;
    position: relative;
  }
  .kpi-top {
    position: absolute;
    right: 18px;
    top: 18px;
  }
  .kpi-top > svg {
    display: none;
  }
  .kpi-label {
    padding-top: 5px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 18px;
  }
  .upcoming-row {
    gap: 11px;
    padding: 18px;
  }
  .upcoming-row > .avatar {
    display: none;
  }
  .upcoming-info > span {
    font-size: 10px;
  }
  .invoice-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .invoice-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .calendar-date strong {
    font-size: 12px;
    margin: 0 4px;
  }
  .calendar-day-head .icon-btn {
    display: none;
  }
  .profile-grid .details > div {
    flex-direction: column;
    gap: 5px;
  }
  .profile-grid .details dd {
    text-align: left;
  }
}
@media (max-width: 1020px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .upcoming-row > .avatar {
    display: inline-flex;
  }
  .attention-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .attention-item {
    border: 0;
    gap: 10px;
    flex-wrap: wrap;
  }
  .attention-item > svg {
    display: none;
  }
  .status-circle {
    height: 30px;
    width: 30px;
  }
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-grid .panel:last-child {
    grid-column: span 2;
  }
  .profile-grid.two .panel:last-child {
    grid-column: auto;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search-field {
    max-width: none;
    min-width: 220px;
  }
  .calendar-toolbar {
    flex-wrap: wrap;
  }
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    overflow-x: auto;
  }
  .calendar-grid.day {
    grid-template-columns: 1fr;
  }
  .calendar-grid.day .calendar-events {
    grid-template-columns: 1fr 1fr;
  }
  .login-brand {
    padding: 45px;
  }
  .login-brand h1 {
    font-size: 35px;
  }
}
@media (max-width: 760px) {
  html {
    font-size: 16px;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 250px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar nav a {
    font-size: 14px;
  }
  .brand {
    padding: 25px 20px;
    font-size: 19px;
  }
  .main-shell {
    margin-left: 0;
  }
  .main-content {
    padding: 18px 18px 0;
  }
  .topbar {
    padding: 0 16px;
    height: 62px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .mobile-close {
    display: inline-flex;
    position: absolute;
    right: 10px;
    top: 30px;
  }
  .sidebar .brand {
    margin-right: 20px;
  }
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #132b4370;
    border: 0;
    z-index: 30;
  }
  .breadcrumb {
    gap: 8px;
    font-size: 11px;
  }
  .breadcrumb > span {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .today-label {
    font-size: 10px;
    gap: 5px;
  }
  .demo-pill,
  .topbar-right > .avatar {
    display: none;
  }
  .demo-banner {
    font-size: 10px;
    line-height: 1.6;
    align-items: flex-start;
    margin: 0 0 20px;
  }
  .demo-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .page-heading {
    align-items: flex-start;
    margin: 0 0 22px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 260px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .page-heading > .btn {
    font-size: 11px;
    padding: 9px 11px;
    min-height: 35px;
    margin-top: 3px;
  }
  .page-heading > .btn svg {
    width: 15px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .kpi {
    padding: 15px 14px;
  }
  .kpi-label {
    font-size: 11px;
    white-space: normal;
    max-width: 120px;
    min-height: 27px;
    padding-top: 1px;
  }
  .kpi-top {
    display: none;
  }
  .kpi > strong {
    font-size: 28px;
    margin: 2px 0;
  }
  .kpi > small {
    font-size: 9px;
    white-space: normal;
    line-height: 1.5;
  }
  .attention-strip {
    padding: 13px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .attention-strip p {
    font-size: 11px;
    min-width: 220px;
  }
  .attention-strip strong {
    display: block;
    margin-bottom: 2px;
  }
  .attention-strip a {
    margin-left: 30px;
    font-size: 11px;
  }
  .dashboard-grid {
    gap: 17px;
  }
  .panel-head {
    padding: 19px 17px;
    gap: 10px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .panel-head p {
    font-size: 10px;
    line-height: 1.6;
  }
  .panel-head .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .upcoming-row {
    padding: 17px 15px;
    gap: 12px;
  }
  .upcoming-row .avatar {
    display: none;
  }
  .upcoming-info > strong {
    font-size: 12px;
  }
  .upcoming-info > span {
    font-size: 10px;
  }
  .upcoming-row > .badge {
    font-size: 8px;
    padding: 5px 6px;
  }
  .job-time {
    width: 37px;
  }
  .job-time strong {
    font-size: 12px;
  }
  .job-time small {
    font-size: 8px;
  }
  .upcoming-row > svg {
    display: none;
  }
  .attention-list {
    display: block;
    padding: 0 17px;
  }
  .attention-item {
    flex-wrap: nowrap;
    border-bottom: 1px solid #edf2f6;
    gap: 12px;
    padding: 17px 0;
  }
  .attention-item > svg {
    display: block;
  }
  .status-circle {
    width: 34px;
    height: 34px;
  }
  .attention-item b {
    font-size: 22px;
  }
  .reminder-note {
    margin: 12px 17px 20px;
  }
  .activity-list {
    padding: 0 17px;
  }
  .activity-row {
    gap: 10px;
    padding: 17px 0;
  }
  .activity-row strong {
    font-size: 11px;
    line-height: 1.6;
  }
  .activity-row > small {
    font-size: 9px;
    max-width: 55px;
  }
  .receivables {
    padding: 22px;
  }
  .app-footer {
    font-size: 8px;
    gap: 12px;
    line-height: 1.6;
  }
  .toolbar {
    padding: 15px;
    gap: 10px;
  }
  .toolbar select {
    flex: 1;
    font-size: 12px;
    min-width: 130px;
  }
  .toolbar .search-field {
    flex-basis: 100%;
  }
  .toolbar input {
    font-size: 14px;
  }
  .tabs {
    padding: 0 16px;
    gap: 22px;
  }
  .tabs a {
    font-size: 12px;
    padding: 16px 0 13px;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  thead {
    display: none;
  }
  tbody {
    display: block;
  }
  tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  tr:last-child {
    border: 0;
  }
  td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: auto;
    border: 0;
    padding: 8px 0;
    font-size: 12px;
    text-align: right;
  }
  td:before {
    content: attr(data-label);
    font-size: 11px;
    color: #98a8b6;
    text-align: left;
    font-weight: 400;
    flex-shrink: 0;
  }
  td strong {
    font-size: 12px;
  }
  td small {
    display: none;
  }
  td:first-child {
    padding: 3px 26px 13px 0;
    justify-content: flex-start;
    border-bottom: 1px solid #f0f3f5;
    margin-bottom: 5px;
    text-align: left;
    flex-wrap: wrap;
    gap: 5px;
  }
  td:first-child:before {
    display: none;
  }
  td:first-child small {
    display: block;
    margin-top: 3px;
    width: 100%;
  }
  td:first-child .person small {
    width: auto;
  }
  td:first-child .person {
    gap: 10px;
  }
  .person strong {
    font-size: 13px;
  }
  td.table-action {
    position: absolute;
    right: 10px;
    top: 17px;
    padding: 0;
  }
  td.table-action:before {
    display: none;
  }
  .mini-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .mini-stats > a {
    padding: 17px;
  }
  .mini-stats strong {
    font-size: 24px;
  }
  .mini-stats span {
    font-size: 11px;
  }
  .profile-hero {
    flex-wrap: wrap;
    gap: 13px;
  }
  .profile-hero > .avatar {
    height: 49px;
    width: 49px;
    font-size: 15px;
  }
  .profile-title {
    flex-wrap: wrap;
    gap: 8px;
  }
  .profile-title h1 {
    font-size: 24px;
  }
  .profile-hero p {
    font-size: 10px;
    line-height: 1.6;
  }
  .profile-hero > .btn {
    width: 100%;
    font-size: 12px;
  }
  .contact-bar {
    flex-direction: column;
    gap: 17px;
    padding: 19px 0;
    margin-bottom: 20px;
  }
  .contact-bar a,
  .contact-bar > span {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .contact-bar svg {
    flex-shrink: 0;
  }
  .profile-grid,
  .profile-grid.two {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .profile-grid .panel:last-child {
    grid-column: auto;
  }
  .profile-grid .details > div {
    flex-direction: row;
    gap: 10px;
  }
  .profile-grid .details dd {
    text-align: right;
  }
  .details {
    padding: 11px 18px 18px;
  }
  .notes-text {
    font-size: 13px;
    padding: 18px;
  }
  .action-row {
    gap: 10px;
  }
  .action-row .btn {
    font-size: 11px;
    flex: 1;
    min-height: 40px;
  }
  .history-list {
    padding: 0 16px;
  }
  .history-row {
    gap: 10px;
    flex-wrap: wrap;
    padding: 22px 0;
  }
  .history-row > div {
    min-width: 200px;
  }
  .history-row > b,
  .history-row > .badge {
    margin-left: 41px;
    font-size: 11px;
  }
  .calendar-toolbar {
    padding: 16px;
    gap: 16px;
  }
  .calendar-date {
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .calendar-date strong {
    flex: 1;
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
  }
  .calendar-date .btn {
    font-size: 10px;
  }
  .segmented {
    margin-left: auto;
  }
  .calendar-grid {
    display: block;
    min-height: 0;
    overflow: visible;
  }
  .calendar-day {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .calendar-day-head {
    padding: 14px 17px;
    gap: 10px;
  }
  .calendar-day-head > span {
    font-size: 12px;
  }
  .calendar-day-head .icon-btn {
    display: flex;
  }
  .calendar-events {
    padding: 12px 16px;
  }
  .calendar-event {
    padding: 15px;
    font-size: 12px;
    gap: 8px;
  }
  .calendar-event > strong {
    font-size: 14px;
  }
  .calendar-event > span,
  .calendar-event > small {
    font-size: 12px;
  }
  .calendar-event .badge {
    font-size: 10px;
  }
  .calendar-empty {
    margin: 10px 0;
    font-size: 11px;
  }
  .calendar-grid.day .calendar-events {
    display: block;
    padding: 16px;
  }
  .modal,
  .modal.wide {
    width: calc(100vw - 20px);
    max-height: 94vh;
  }
  .modal-head {
    padding: 21px 18px;
  }
  .modal-head h2 {
    font-size: 18px;
  }
  .form-body {
    padding: 20px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .span-2 {
    grid-column: span 1;
  }
  .form-grid label {
    font-size: 13px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    padding: 10px 11px;
  }
  .form-footer {
    padding: 16px 18px;
  }
  .form-footer .btn {
    min-height: 42px;
    font-size: 12px;
  }
  .alert {
    font-size: 12px;
    padding: 13px;
  }
  .settings-nav {
    gap: 5px;
    margin-bottom: 20px;
  }
  .settings-nav button {
    padding: 10px 11px;
    font-size: 11px;
  }
  .settings-nav button svg {
    width: 15px;
  }
  .catalog-list {
    padding: 0 16px;
  }
  .catalog-list > div {
    gap: 12px;
  }
  .catalog-list strong {
    font-size: 12px;
  }
  .catalog-list small {
    font-size: 10px;
  }
  .catalog-list .badge {
    display: none;
  }
  .invoice-layout {
    display: block;
  }
  .invoice-title {
    gap: 10px;
  }
  .invoice-title h1 {
    font-size: 23px;
  }
  .invoice-title p {
    font-size: 11px;
  }
  .page-heading:has(.invoice-title) {
    flex-wrap: wrap;
  }
  .action-row.compact {
    width: 100%;
    gap: 8px;
  }
  .action-row.compact .btn {
    flex: 1;
    font-size: 10px;
  }
  .invoice-business {
    padding: 23px 20px;
    gap: 12px;
  }
  .invoice-business strong {
    font-size: 17px;
  }
  .invoice-business p {
    font-size: 11px;
  }
  .document-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .invoice-parties {
    padding: 24px 20px;
    flex-direction: column;
    gap: 20px;
  }
  .invoice-parties dl {
    min-width: 0;
  }
  .invoice-parties dl > div {
    font-size: 12px;
  }
  .invoice-parties input {
    font-size: 14px;
  }
  .invoice-lines {
    margin: 0 20px;
  }
  .invoice-line-labels {
    display: none;
  }
  .invoice-line {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 22px 0;
    position: relative;
  }
  .invoice-line > input:first-child,
  .invoice-line > strong:first-child {
    grid-column: span 2;
    margin-right: 30px;
  }
  .invoice-line input,
  .invoice-line select {
    font-size: 14px;
    min-height: 40px;
  }
  .invoice-line .icon-btn {
    position: absolute;
    right: 0;
    top: 26px;
  }
  .invoice-line > strong {
    font-size: 14px;
  }
  .invoice-bottom {
    padding: 25px 20px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .invoice-totals > div {
    font-size: 13px;
  }
  .invoice-payment {
    margin: 0 20px 25px;
    font-size: 12px;
  }
  .invoice-payment small {
    font-size: 11px;
  }
  .invoice-side {
    display: flex;
    margin-top: 20px;
  }
  .invoice-side .details > div {
    flex-direction: row;
  }
  .invoice-side .details dd {
    text-align: right;
  }
  .import-steps {
    gap: 10px;
    flex-wrap: wrap;
  }
  .import-steps > div {
    font-size: 10px;
    gap: 6px;
  }
  .import-steps > div > span {
    width: 21px;
    height: 21px;
    font-size: 10px;
  }
  .upload-area {
    margin: 20px;
    padding: 30px 18px;
    text-align: center;
  }
  .upload-area input {
    font-size: 12px;
  }
  .import-guidance {
    padding: 0 20px 25px;
  }
  .mapping-grid {
    display: block;
    padding: 20px;
  }
  .mapping-grid > strong {
    display: none;
  }
  .mapping-row {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }
  .mapping-row > strong,
  .mapping-row > span {
    align-self: flex-start;
  }
  .mapping-row > strong {
    font-size: 13px;
  }
  .mapping-row > span {
    font-size: 11px;
  }
  .import-counts {
    gap: 20px;
    font-size: 12px;
    padding: 20px;
  }
  .import-counts b {
    font-size: 19px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .summary-grid span {
    font-size: 13px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 35px 28px;
  }
  .login-brand .brand-mark {
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
  }
  .login-brand h1 {
    font-size: 31px;
  }
  .login-brand h1 br {
    display: none;
  }
  .login-brand p {
    font-size: 13px;
    margin-top: 15px;
  }
  .login-proof {
    display: none;
  }
  .login-panel {
    padding: 35px 28px 50px;
  }
  .login-box {
    max-width: 400px;
  }
  .login-box h2 {
    font-size: 26px;
  }
  .login-help {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.modal {
  margin: auto;
}
@media (max-width:760px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
  .btn {
    min-height: 44px;
  }
  .icon-btn {
    min-width: 36px;
    min-height: 36px;
  }
  .main-content td {
    font-size: 14px;
  }
  .invoice-parties p,.invoice-parties small,.invoice-totals>div {
    font-size: 14px;
  }
}
.demo-reset {
  min-height: 36px;
  font-size: 12px;
  padding: 7px 10px;
}
@media (max-width:600px) {
  .header-right {
    gap: 6px;
  }
  .demo-reset {
    font-size: 11px;
    padding: 5px 8px;
  }
}
@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-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@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-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

.demo-banner{flex-wrap:wrap;font-size:12px}.demo-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px;text-align:center}.demo-loading h1{font-size:26px;margin:0}.demo-loading p{color:#63768b;max-width:480px}.demo-loading small{color:#8291a0}.demo-loading button{background:#0878c5;color:white;border:0;border-radius:8px;padding:13px 20px;cursor:pointer}.loading-drop{background:#0878c5;color:white;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;font-size:27px;font-weight:700}
