:root {
  --surface-page: #f8f6f3;
  --surface-panel: #ffffff;
  --surface-glass: rgba(255, 252, 247, 0.96);
  --surface-hover-soft: #eee7de;
  --border-soft: rgba(0, 0, 0, 0.08);
  --text-strong: #1d1d1f;
  --text-soft: #6e6e73;
  --text-title-soft-blue: #967447;
  --brand-primary: #8a6a3a;
  --status-blue-background: #ecdfcc;
  --status-green-background: #e8f5ed;
  --status-orange-background: #fdf1e1;
  --status-red-background: #fce8e8;
  --text-blue-soft: #7c6140;
  --text-green-soft: #4d6655;
  --text-orange-soft: #7a6345;
  --text-red-soft: #8c4a4a;
  --header-height: 119px;
  --drawer-width: 280px;
  --transition-default: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

body {
  background-color: #f8f6f3;
  color: #1d1d1f;
  overflow-x: hidden;
}

.material-symbols-outlined {
  display: block;
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}

header {
  position: fixed;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  width: 100%;
  height: 119px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding-left: 20px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1;
}

.logo-link {
  color: #1d1d1f;
  text-decoration: none;
}
.logo-link:visited, .logo-link:hover, .logo-link:active, .logo-link:focus {
  color: #1d1d1f;
  text-decoration: none;
}

.logo-link-secrets {
  display: inline-flex;
  align-items: center;
  margin-left: 25px;
}

.secrets-logo-image {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-wordmark {
  display: inline-flex;
  gap: 0;
  align-items: baseline;
  color: #8a6a3a;
}

.logo-wordmark-primary {
  color: #1d1d1f;
}

.logo-wordmark-view {
  color: #8a6a3a;
}

.logo-wordmark-secondary {
  margin-left: 5px;
  color: #8a6a3a;
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: -0.04em;
  vertical-align: super;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-right > .user-button .material-symbols-outlined {
  font-size: 30px;
  line-height: 1;
}

.user-button {
  position: relative;
}
.user-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: opacity 0.15s ease;
}
.user-button:hover::after {
  opacity: 1;
}

#search-toggle {
  display: none;
}

#search-toggle:checked ~ header {
  border-bottom-color: transparent;
}

.search-wrapper {
  position: fixed;
  top: 119px;
  left: 50%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%) translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#search-toggle:checked ~ .search-wrapper {
  transform: translateX(-50%) translateY(-7px);
}

#search-toggle:not(:checked) ~ .search-wrapper {
  transform: translateX(-50%) translateY(calc(-100% + 28px));
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  width: 440px;
  padding: 8px 10px 13px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  border-radius: 0 0 36px 36px;
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.search-input-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 34px;
  padding: 5px 14px;
  border: 1px solid #e2e2e7;
  border-right: none;
  border-radius: 999px 0 0 999px;
  background: #ffffff;
}
.search-input-box input {
  width: 100%;
  height: 20px;
  color: #1d1d1f;
  font-size: 13px;
  background: none;
  border: none;
  outline: none;
}
.search-input-box input::-moz-placeholder {
  color: #6e6e73;
  opacity: 1;
}
.search-input-box input::placeholder {
  color: #6e6e73;
  opacity: 1;
}

.btn-search-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 34px;
  padding: 0;
  color: #ffffff;
  background: #8a6a3a;
  border: 1px solid #e2e2e7;
  border-left: none;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
}
.btn-search-blue .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
}

.search-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  margin-top: -1px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}
.search-handle span {
  color: #6e6e73;
  font-size: 18px;
}
.search-handle .icon-arrow-up {
  display: none;
}

#search-toggle:checked ~ .search-wrapper .search-handle .icon-search {
  display: none;
}

#search-toggle:checked ~ .search-wrapper .search-handle .icon-arrow-up {
  display: block;
}

.app-wrapper {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 119px);
  margin-top: 101px;
}

main {
  flex: 1;
  min-width: 0;
  padding: 30px 35px 40px 40px;
  background: linear-gradient(180deg, #f5f0e8 0, #f2ebe1 18%, #f6f1ea 46%, #efe7dc 72%, #ffffff 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#drawer-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

aside.drawer {
  position: sticky;
  top: 119px;
  z-index: 900;
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  height: calc(100vh - 119px);
  overflow: visible;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition: flex-basis 0.28s ease, width 0.28s ease, min-width 0.28s ease, max-width 0.28s ease, border-right-width 0.2s ease;
}

body.drawer-collapsed .app-wrapper aside.drawer,
#drawer-toggle:not(:checked) ~ .app-wrapper aside.drawer {
  flex-basis: 0;
  width: 0;
  min-width: 0;
  max-width: 0;
  border-right-width: 0;
}

.drawer-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body:not(.drawer-collapsed) .app-wrapper .drawer-content,
#drawer-toggle:checked ~ .app-wrapper .drawer-content {
  overflow: auto;
}

.drawer-inner {
  width: 280px;
  padding: 58px 0 28px;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(-3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.side-group-history {
  margin-bottom: 50px;
}

body:not(.drawer-collapsed) .app-wrapper .drawer-inner,
#drawer-toggle:checked ~ .app-wrapper .drawer-inner {
  opacity: 1;
  pointer-events: all;
}

.drawer-ear {
  position: absolute;
  top: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: none;
  border-radius: 0 12px 12px 0;
  z-index: 8;
  padding: 0;
  background: #ffffff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}
.drawer-ear .material-symbols-outlined {
  transition: transform 0.25s ease;
}

body:not(.drawer-collapsed) .app-wrapper .drawer-ear .material-symbols-outlined,
#drawer-toggle:checked ~ .app-wrapper .drawer-ear .material-symbols-outlined {
  transform: rotate(180deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  padding: 4px 0;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}
.main-nav a:hover {
  color: #1d1d1f;
}
.main-nav a.active {
  color: #1d1d1f;
  font-weight: 500;
}

.side-title {
  padding-left: 28px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.side-link {
  padding-left: 48px;
}

.side-link-label {
  font-size: 12px;
  font-weight: 400;
}

.side-link-icon {
  font-size: 24px;
}

.main-nav a.main-nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--main-nav-underline, #c8b39d);
}

.main-nav a.main-nav-link-vehicles {
  --main-nav-underline: #9c7645;
}

.main-nav a.main-nav-link-partners {
  --main-nav-underline: #16a34a;
}

.main-nav a.main-nav-link-administration,
.main-nav a.main-nav-link-operational {
  --main-nav-underline: #ffaa00;
}

.main-nav a.main-nav-link-financial {
  --main-nav-underline: #ee2626;
}

.main-nav a.main-nav-link-logistics {
  --main-nav-underline: #b58a56;
}

.main-nav a.main-nav-link-reports {
  --main-nav-underline: #cc66ed;
}

.main-nav a.main-nav-link-system {
  --main-nav-underline: #111827;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6e6e73;
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.header-icon-btn:visited {
  color: #6e6e73;
}
.header-icon-btn:hover, .header-icon-btn:active {
  color: #1d1d1f;
  text-decoration: none;
}
.header-icon-btn .material-symbols-outlined {
  font-size: 26px;
  font-variation-settings: "FILL" 0, "wght" 240, "GRAD" 0, "opsz" 24;
}

.notification-btn {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #d93025;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.page-section-card, .card {
  padding: 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #ffffff;
}

.card-label {
  display: block;
  margin-bottom: 8px;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.card-val {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.item-card--vehicle {
  border-left: 2px solid #9c7645;
}

.item-card--expense {
  border-left: 2px solid #ee2626;
}

.item-card--policy {
  border-left: 2px solid #ffaa00;
}

.item-card--contract {
  border-left: 2px solid #ffaa00;
}

.item-card--rental {
  border-left: 2px solid #ffaa00;
}

.item-card--invoice {
  border-left: 2px solid #ee2626;
}

.item-card--partner {
  border-left: 2px solid #16a34a;
}

.item-card--attachment {
  border-left: 2px solid #ffaa00;
}

.item-card--user {
  border-left: 2px solid #111827;
}

.item-card--autovit {
  border-left: 2px solid #9a8365;
}

.item-card--report {
  border-left: 2px solid #cc66ed;
}

.item-card--generic {
  border-left: 2px solid #c4ae90;
}

.large-list-card[class*=item-card--] {
  border-left-width: 2px;
}

.box-profile-vehicles {
  border-left: 2px solid #9c7645;
}

.box-profile-partners {
  border-left: 2px solid #16a34a;
}

.box-profile-operational {
  border-left: 2px solid #ffaa00;
}

.box-profile-financial {
  border-left: 2px solid #ee2626;
}

.box-profile-reports {
  border-left: 2px solid #cc66ed;
}

.box-profile-marketing {
  border-left: 2px solid #9a8365;
}

.box-profile-system {
  border-left: 2px solid #111827;
}

.status-pill {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}
.status-pill.work {
  background: #ecdfcc;
  color: #7c6140;
}
.status-pill.done {
  background: #e8f5ed;
  color: #4d6655;
}
.status-pill.wait {
  background: #fdf1e1;
  color: #7a6345;
}
.status-pill.crit {
  background: #fce8e8;
  color: #8c4a4a;
}

table {
  width: 100%;
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #79a;
  font-weight: normal;
  text-align: left;
  background: #ffffff;
}

td {
  padding: 9px 10px;
  border-bottom: 1px solid #f1f2f4;
  vertical-align: middle;
}

.table-shell {
  overflow: auto;
}

.table-shell-viewport {
  max-height: calc(100vh - 310px);
}

.data-table {
  margin-top: 0;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}

.data-table th,
.data-table td {
  white-space: nowrap;
}

.data-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.data-table tbody tr:nth-child(even) {
  background: #f2f2f2;
}

.data-table tbody tr:hover {
  background: #eee7de;
}

.vehicle-stock-table th {
  white-space: nowrap;
}

.vehicle-stock-table--wide {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}

.vehicle-stock-table--wide th,
.vehicle-stock-table--wide td {
  white-space: nowrap;
}

.data-table .table-cell-scroll {
  display: inline-block;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  vertical-align: middle;
  --table-cell-scroll-overflow-shadow: none;
  box-shadow: var(--table-cell-scroll-overflow-shadow);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.data-table .table-cell-scroll.is-cell-truncated {
  color: #8c4a4a;
}

.data-table .table-cell-scroll.has-hidden-left {
  --table-cell-scroll-overflow-shadow: inset 1px 0 0 #880000;
}

.data-table .table-cell-scroll.has-hidden-right {
  --table-cell-scroll-overflow-shadow: inset -1px 0 0 #880000;
}

.data-table .table-cell-scroll.has-hidden-left.has-hidden-right {
  --table-cell-scroll-overflow-shadow: inset 1px 0 0 #880000, inset -1px 0 0 #880000;
}

.data-table .table-cell-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.table-cell-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table-cell-alert {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

.table-cell-negative-soft {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

.table-cell-negative {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

.table-cell-warning {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

.table-cell-muted {
  color: #6e6e73;
}

.table-cell-overdue {
  color: #b42318;
  font-weight: 600;
}

.table-inline-link {
  color: #8a6a3a;
  text-decoration: none;
}

.table-inline-link:hover {
  text-decoration: underline;
}

.detail-vehicle-link {
  color: #1f6fd1;
  font-weight: 600;
  text-decoration: none;
}

.detail-vehicle-link:hover {
  text-decoration: underline;
}

.table-actions-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.table-first-text-cell {
  padding-left: 16px;
}

.table-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  color: #8a8d93;
  text-decoration: none;
  cursor: pointer;
}

.table-icon-button:hover {
  color: #8a6a3a;
}

.table-icon-button.is-danger:hover {
  color: #d93025;
}

.table-icon-button.is-toggle-active {
  color: #4f8f6d;
}

.table-icon-button.is-toggle-inactive {
  color: #b56b6b;
}

.table-icon-button.is-toggle-active:hover {
  color: #2f7350;
}

.table-icon-button.is-toggle-inactive:hover {
  color: #944f4f;
}

.data-table tbody tr.is-sold-vehicle:nth-child(odd) td {
  background: #fff3f3;
}

.data-table tbody tr.is-sold-vehicle:nth-child(even) td {
  background: #f5e7e7;
}

.data-table tbody tr[data-href],
.data-table tbody tr.table-row-link,
.data-table tbody tr[onclick] {
  cursor: pointer;
}

.show-all-results-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.data-table tbody tr {
  cursor: pointer;
}

.data-table thead th.table-cell-number,
.data-table thead th.is-money-column,
th.table-cell-number,
th.is-money-column {
  text-align: right;
}

.data-table tbody tr.checklist-catalog-row--category {
  background: #ffffff;
}

.data-table tbody tr.checklist-catalog-row--category td {
  background: #f1f5f9;
}

.data-table tbody tr.checklist-catalog-row--item td {
  padding-top: 2px;
  padding-bottom: 2px;
}

.data-table tbody tr.checklist-catalog-row--item .icon-action-link,
.data-table tbody tr.checklist-catalog-row--item .icon-action-button {
  width: 24px;
  height: 24px;
}

.data-table tbody tr.checklist-catalog-row--item .icon-action-link .material-symbols-outlined,
.data-table tbody tr.checklist-catalog-row--item .icon-action-button .material-symbols-outlined {
  font-size: 20px;
}

.checklist-catalog-item-indent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
}

.checklist-catalog-item-icon {
  font-size: 20px;
  opacity: 1;
}

.checklist-catalog-toggle-icon-button.is-checked .material-symbols-outlined {
  color: #007700;
}

.checklist-catalog-toggle-icon-button.is-unchecked .material-symbols-outlined {
  color: #ffa6a6;
}

.checklist-required-header {
  color: #d93025;
}

.checklist-external-header {
  color: #16a34a;
}

.checklist-required-cell {
  width: 104px;
  text-align: center;
}

.checklist-external-cell {
  width: 104px;
  text-align: center;
}

.checklist-required-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.checklist-required-form input[type=checkbox] {
  width: 16px;
  height: 16px;
}

.checklist-external-form input[type=checkbox] {
  accent-color: #16a34a;
}

.side-group + .side-group {
  margin-top: 24px;
}

.side-group.side-group-history {
  margin-top: auto;
  margin-bottom: 50px;
}

.side-title {
  margin-bottom: 12px;
  padding-left: 28px;
  color: #967447;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.side-list {
  list-style: none;
}

.side-list li + li {
  border-top: 1px solid #eceef2;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  padding: 9px 12px 9px 48px;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 0;
}

.side-link:hover,
.side-link.active {
  background: #f3f4f6;
  border-radius: 0;
}

.side-link-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border: 1px solid rgba(138, 106, 58, 0.14);
  border-radius: 999px;
  background: #f7f1e8;
  color: #8a6a3a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.page-hero-copy h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #8a6a3a;
}
.page-hero-copy p {
  color: #6e6e73;
  font-size: 14px;
}

.exchange-rate-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.exchange-rate-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #8a6a3a;
  border: 1px solid rgba(111, 90, 72, 0.12);
  border-radius: 50%;
  background: #f7f1e8;
}
.exchange-rate-icon .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 220, "GRAD" 0, "opsz" 24;
}

.exchange-rate-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
}
.exchange-rate-copy > div:first-child {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
}
.exchange-rate-copy > div:last-child {
  color: #6e6e73;
  font-size: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.stats-grid > .card > div:last-child {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
}
.stats-grid > .card:nth-child(1) > div:last-child {
  color: #4d6655;
}
.stats-grid > .card:nth-child(2) > div:last-child, .stats-grid > .card:nth-child(3) > div:last-child {
  color: #7c6140;
}
.stats-grid > .card:nth-child(4) > div:last-child {
  color: #8c4a4a;
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dashboard-card-header h2 {
  font-size: 16px;
  font-weight: 600;
}
.dashboard-card-header span {
  color: #8a6a3a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.side-col > .card {
  margin-bottom: 24px;
}
.side-col > .card > h2 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.critical-stock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.critical-stock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #f8f6f3;
}
.critical-stock-item > div {
  font-size: 13px;
}

.dashboard-preformatted {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  color: #6e6e73;
}

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

.dashboard-layout-rich {
  align-items: start;
}

.dashboard-stat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 188px;
  background: #ffffff;
}

.dashboard-stat-card-crit {
  box-shadow: none;
}

.dashboard-stat-card-wait {
  box-shadow: none;
}

.dashboard-stat-card-work {
  box-shadow: none;
}

.dashboard-stat-card-done {
  box-shadow: none;
}

.dashboard-stat-link {
  margin-top: auto;
  width: -moz-fit-content;
  width: fit-content;
}

.dashboard-priority-card,
.dashboard-activity-card,
.dashboard-side-card {
  background: #ffffff;
}

.dashboard-priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-priority-panel,
.dashboard-mini-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #f8f6f3;
}

.dashboard-priority-panel-crit {
  box-shadow: none;
}

.dashboard-priority-panel-wait {
  box-shadow: none;
}

.dashboard-priority-panel-work {
  box-shadow: none;
}

.dashboard-priority-panel-done {
  box-shadow: none;
}

.dashboard-priority-panel-header,
.dashboard-mini-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-priority-panel-header h3,
.dashboard-mini-panel-header h3 {
  font-size: 15px;
  font-weight: 600;
}

.dashboard-priority-panel-header p {
  margin-top: 4px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-compact-list,
.dashboard-activity-list,
.dashboard-mini-list,
.dashboard-kpi-stack,
.dashboard-side-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-compact-item,
.dashboard-activity-item,
.dashboard-mini-list-item,
.dashboard-kpi-item,
.dashboard-side-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-compact-item,
.dashboard-activity-item,
.dashboard-mini-list-item,
.dashboard-kpi-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dashboard-compact-item:last-child,
.dashboard-activity-item:last-child,
.dashboard-mini-list-item:last-child,
.dashboard-kpi-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dashboard-compact-item:first-child,
.dashboard-activity-item:first-child,
.dashboard-mini-list-item:first-child,
.dashboard-kpi-item:first-child {
  padding-top: 0;
}

.dashboard-compact-item-main,
.dashboard-activity-item > div:first-child,
.dashboard-mini-list-item > div:first-child,
.dashboard-kpi-item > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dashboard-compact-item-main strong,
.dashboard-activity-item strong,
.dashboard-mini-list-item strong,
.dashboard-kpi-item strong {
  font-size: 13px;
  font-weight: 600;
}

.dashboard-compact-item-main span,
.dashboard-activity-item span,
.dashboard-mini-list-item span,
.dashboard-kpi-item span,
.dashboard-side-summary-row span {
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-compact-item-side,
.dashboard-activity-item-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  flex-shrink: 0;
}

.dashboard-compact-item-side span,
.dashboard-activity-item-side span,
.dashboard-mini-list-item small,
.dashboard-side-summary-row strong {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-compact-item-side small,
.dashboard-activity-item-side small {
  color: #6e6e73;
  font-size: 11px;
}

.dashboard-side-summary-row {
  padding: 2px 0;
}

.dashboard-kpi-item b {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.dashboard-activity-grid,
.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-quick-actions {
  margin-top: 16px;
}

.dashboard-empty-state {
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  color: #6e6e73;
  font-size: 12px;
  background: rgba(247, 248, 250, 0.7);
}

.dashboard-empty-state-compact {
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 1320px) {
  .dashboard-stats-grid,
  .dashboard-priority-grid,
  .dashboard-activity-grid,
  .dashboard-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .dashboard-layout-rich {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .dashboard-stats-grid,
  .dashboard-priority-grid,
  .dashboard-activity-grid,
  .dashboard-quick-actions {
    grid-template-columns: 1fr;
  }
  .dashboard-priority-panel-header,
  .dashboard-mini-panel-header,
  .dashboard-compact-item,
  .dashboard-activity-item,
  .dashboard-mini-list-item,
  .dashboard-kpi-item,
  .dashboard-side-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-compact-item-side,
  .dashboard-activity-item-side {
    text-align: left;
  }
}
@media (max-width: 980px) {
  .page-dashboard .page-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .page-dashboard .exchange-rate-card {
    width: 100%;
    min-width: 0;
  }
  .page-dashboard .dashboard-stats-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 14px;
    margin-bottom: 22px;
  }
  .page-dashboard .dashboard-priority-grid,
  .page-dashboard .dashboard-activity-grid,
  .page-dashboard .dashboard-quick-actions {
    grid-template-columns: 1fr;
  }
  .page-dashboard .dashboard-layout {
    gap: 18px;
  }
  .page-dashboard .card,
  .page-dashboard .dashboard-priority-panel,
  .page-dashboard .dashboard-mini-panel {
    width: 100%;
    max-width: 100%;
  }
  .page-dashboard .dashboard-card-header {
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .page-dashboard .dashboard-sales-chart-wrap {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .page-dashboard .dashboard-sales-chart,
  .page-dashboard .dashboard-sales-axis-labels {
    min-width: 620px;
  }
  .page-dashboard .dashboard-priority-panel,
  .page-dashboard .dashboard-mini-panel {
    padding: 14px;
    border-radius: 14px;
  }
}
.dashboard-sales-card {
  margin-bottom: 18px;
}

.dashboard-sales-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #6e6e73;
}

.dashboard-sales-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-sales-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dashboard-sales-chart-wrap {
  margin-top: 18px;
}

.dashboard-sales-chart {
  width: 100%;
  height: auto;
}

.dashboard-sales-grid-line {
  stroke: rgba(159, 138, 118, 0.28);
  stroke-width: 1;
}

.dashboard-sales-grid-label {
  fill: #8c7d71;
  font-size: 11px;
}

.dashboard-sales-line {
  fill: none !important;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-sales-line.total {
  stroke: #c9a06b;
}

.dashboard-sales-line.user {
  stroke: #8bbf9f;
}

.dashboard-sales-point {
  stroke-width: 0;
}

.dashboard-sales-point.total, .dashboard-sales-legend-dot.total {
  background: #c9a06b;
  fill: #c9a06b;
  color: #c9a06b;
}

.dashboard-sales-point.user, .dashboard-sales-legend-dot.user {
  background: #8bbf9f;
  fill: #8bbf9f;
  color: #8bbf9f;
}

.dashboard-sales-axis-labels {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 10px;
  font-size: 11px;
  color: #8c7d71;
  text-align: center;
}

.page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.page-hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-hero-icon {
  font-size: 38px;
  color: #967447;
}

.page-hero-copy h1 {
  font-size: 26px;
  line-height: 1.1;
  color: #8a6a3a;
}

.page-hero-copy p {
  margin-top: 6px;
  color: #6e6e73;
}

.exchange-rate-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.exchange-rate-icon .material-symbols-outlined {
  font-size: 28px;
  color: #8a6a3a;
}

.exchange-rate-current-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.exchange-rate-today-value {
  color: #ee2626;
  font-weight: 700;
  text-align: right;
}

.page-share-action-button--auto-excel.is-hidden {
  display: none;
}

[data-table-excel-export-button].is-hidden {
  display: none;
}

.page-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.page-section-header--stacked {
  align-items: flex-start;
}

.page-section-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.list-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.list-header-filter-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.list-header-filter-input {
  min-width: 220px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background-color: #fff;
  color: #1d1d1f;
  font-size: 13px;
  outline: none;
}

.list-header-filter-input:focus {
  border-color: #0b5dd7;
  box-shadow: 0 0 0 3px rgba(11, 93, 215, 0.12);
}

.list-header-filter-button {
  padding: 7px 25px;
}

.list-results-count {
  color: #79a;
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
}

.expense-type-filter-form {
  margin: 0;
}

.expense-type-filter-select {
  min-height: 30px;
  padding: 4px 28px 4px 10px;
  border: 1px solid #e2e2e7;
  border-radius: 10px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  font-size: 12px;
  font-weight: 400;
  color: #1d1d1f;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.section-add-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(111, 90, 72, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  cursor: pointer;
  text-decoration: none;
}

.section-add-icon-link:hover {
  background: #eee7de;
}

.section-add-icon-link .material-symbols-outlined {
  font-size: 23px;
}

.section-title-icon {
  font-size: 26px;
  color: #967447;
}

.page-section-title-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-title-select {
  min-height: 42px;
  padding: 10px 38px 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.empty-state {
  padding: 14px 0 6px;
  color: #6e6e73;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 40px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 9px 15px;
  border: 1px solid #8a6a3a;
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: none;
}

.button-link:hover {
  background: #fbf6ef;
}

.button-link.secondary,
.button-link.danger {
  background: #fff;
  color: #8a6a3a;
  border-color: #8a6a3a;
}

.button-link.tiny {
  min-height: 30px;
  padding: 7px 12px;
  font-size: 12px;
}

.button-link.primary,
.button-link.primary-action {
  background: #8a6a3a;
  border-color: #8a6a3a;
  color: #fff;
}

.button-link.primary:hover,
.button-link.primary-action:hover {
  background: #0053af;
  border-color: #0053af;
  color: #fff;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

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

.field label,
.field > span {
  font-size: 12px;
  color: #79a;
  font-weight: normal;
}

.field.full-width,
.form-actions.full-width {
  grid-column: 1/-1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font: inherit;
  color: #1d1d1f;
}

.field select,
select.section-title-select,
.report-filter-field select,
.page-section-title-select-wrap select {
  padding-right: 38px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.field select option,
select.section-title-select option,
.report-filter-field select option,
.page-section-title-select-wrap select option,
select option,
select optgroup {
  font-family: inherit !important;
  font-size: 14px;
}

.field select,
select.section-title-select,
.report-filter-field select,
.page-section-title-select-wrap select,
select {
  font-family: inherit;
}

.field input[type=date],
.field input.date-picker-input {
  min-height: 46px;
  padding-right: 48px;
}

.field input.date-picker-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%236e6e73' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M8 3.5v3M16 3.5v3M3.5 9.5h17'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

.field input[type=date]::-webkit-datetime-edit {
  padding: 4px 0;
}

.field input[type=date]::-webkit-calendar-picker-indicator {
  padding: 6px;
  border-radius: 10px;
  background-color: rgba(20, 68, 170, 0.06);
  cursor: pointer;
}

.field input[readonly]:not(.date-picker-input):not(.invoice-payment-date-hidden-input),
.field textarea[readonly],
.field input[disabled],
.field select[disabled],
.field textarea[disabled] {
  background-color: #eef1f5;
  color: #5f6673;
  border-color: #d5dbe5;
  box-shadow: none;
  cursor: not-allowed;
}

.field input[readonly]:not(.date-picker-input):not(.invoice-payment-date-hidden-input):focus,
.field textarea[readonly]:focus,
.field input[disabled]:focus,
.field select[disabled]:focus,
.field textarea[disabled]:focus {
  border-color: #c8d0dc;
  box-shadow: none;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: #79a;
  font-size: 12px;
}

.vehicle-autocomplete {
  position: relative;
  width: 100%;
}

.vehicle-autocomplete-input {
  padding-right: 42px;
}

.vehicle-autocomplete-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  width: min(500px, 100vw - 32px);
  z-index: 80;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 35, 70, 0.16);
}

.vehicle-autocomplete-option,
.vehicle-autocomplete-empty {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d1d1f;
  font: inherit;
  line-height: 1.35;
  text-align: left;
}

.vehicle-autocomplete-option {
  cursor: pointer;
}

.vehicle-autocomplete-option:hover,
.vehicle-autocomplete-option.is-active {
  background: #f6efe5;
  color: #1444aa;
}

.vehicle-autocomplete-empty {
  color: #79a;
}

.vehicle-autocomplete--invoice-create .vehicle-autocomplete-results {
  width: min(620px, 100vw - 32px);
}

.vehicle-autocomplete--invoice-create .vehicle-autocomplete-option,
.vehicle-autocomplete--invoice-create .vehicle-autocomplete-empty {
  font-size: 14px;
}

.partner-autocomplete {
  position: relative;
  width: 100%;
}

.partner-autocomplete-input {
  padding-right: 42px;
}

.partner-autocomplete-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  width: min(500px, 100vw - 32px);
  z-index: 90;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 35, 70, 0.16);
}

.partner-autocomplete-option,
.partner-autocomplete-empty {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d1d1f;
  font: inherit;
  line-height: 1.35;
  text-align: left;
}

.partner-autocomplete-option {
  cursor: pointer;
}

.partner-autocomplete-option:hover,
.partner-autocomplete-option.is-active {
  background: #f6efe5;
  color: #1444aa;
}

.partner-autocomplete-option--create {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a6a3a;
  font-weight: 700;
}

.partner-autocomplete-option--create .material-symbols-outlined {
  font-size: 19px;
}

.partner-autocomplete-empty {
  color: #79a;
}

.partner-quick-modal-open {
  overflow: hidden;
}

.magic-upload-modal-open {
  overflow: hidden;
}

.partner-quick-modal[hidden] {
  display: none;
}

.partner-quick-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 32px;
}

.partner-quick-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(220, 228, 238, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.partner-quick-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100vw - 48px);
  max-height: min(760px, 100vh - 48px);
  overflow: auto;
  padding: 34px;
  border-radius: 24px;
  transform: translateY(0);
  transition: transform 220ms ease, opacity 220ms ease;
}

.partner-quick-dialog.item-card,
.vehicle-type-dialog.item-card,
.vehicle-transfer-dialog.item-card,
.vehicle-reservation-dialog.item-card {
  border-left: 0;
  box-shadow: 0 10px 24px rgba(15, 35, 70, 0.12);
}

.magic-upload-modal.is-uploading .partner-quick-dialog {
  transform: translateY(-26px);
}

.partner-quick-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.partner-quick-dialog-header h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #18191f;
  font-size: 24px;
  font-weight: 700;
}

.partner-quick-dialog-header p {
  margin: 8px 0 0;
  color: #6c7480;
  font-size: 14px;
}

.partner-quick-form {
  display: grid;
  gap: 18px;
}

.partner-quick-message {
  padding: 11px 13px;
  border-radius: 12px;
  background: #edf7ee;
  color: #24723d;
  font-size: 13px;
}

.partner-quick-message.is-error {
  background: #fff1f1;
  color: #b42318;
}

.partner-quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

[data-partner-quick-company-cui-panel][hidden],
[data-partner-quick-company-fields][hidden],
[data-partner-quick-person-fields][hidden],
[data-partner-quick-person-extra-fields][hidden] {
  display: none !important;
}

.partner-anaf-confirm[hidden] {
  display: none;
}

.partner-anaf-confirm {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.partner-anaf-confirm-box {
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid #e2e2e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 35, 70, 0.18);
}

.partner-anaf-confirm-box h3 {
  margin: 0 0 16px;
  color: #18191f;
  font-size: 20px;
}

.partner-anaf-confirm-details {
  display: grid;
  gap: 10px;
}

.partner-anaf-confirm-details div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}

.partner-anaf-confirm-details strong {
  color: #79a;
  font-size: 12px;
  font-weight: normal;
}

.partner-anaf-confirm-details span {
  color: #1d1d1f;
}

.partner-anaf-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.vehicle-detail-layout {
  align-items: start;
}

.vehicle-detail-summary-grid {
  margin-bottom: 22px;
}

.detail-grid--vehicle {
  grid-template-columns: auto auto;
}

.detail-grid--vehicle .detail-full-row {
  grid-column: 1/-1;
}

.detail-grid--vehicle span {
  color: #1d1d1f;
  line-height: 1.45;
}

.vehicle-detail-sections {
  margin-top: 22px;
}

.summary-tile--spacious {
  align-items: flex-start;
  min-height: 152px;
  gap: 0;
}

.summary-tile--spacious strong {
  margin: 0;
}

.summary-tile--spacious small {
  margin-top: auto;
  padding-top: 25px;
}

.notification-summary-grid .summary-tile {
  min-width: 0;
}

.inline-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 16px;
}

.inline-form-row .action-field {
  min-width: 180px;
}

.inline-form-row .grow {
  min-width: 0;
}

.radio-row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.form-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
}

.form-message.error {
  background: #fff0f0;
  color: #8f2d2d;
}

.form-message.success {
  background: #eef7ef;
  color: #2f6c3e;
}

.details-columns {
  display: grid;
  grid-template-columns: auto auto;
  gap: 22px;
}

.stacked-cards {
  display: grid;
  gap: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 14px 18px;
}

.detail-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-grid strong {
  color: #79a;
  font-size: 12px;
  font-weight: normal;
}

.compact-page-section-header {
  margin-bottom: 30px;
}

.details-card--partner .compact-page-section-header {
  margin-bottom: 30px;
}

.detail-value--partner-name {
  font-weight: 700;
}

.page-section-copy {
  color: #6e6e73;
}

.primary-action {
  background: #8a6a3a;
  border: 1px solid #8a6a3a;
  color: #fff;
}

.primary-action:hover {
  background: #0053af;
  border-color: #0053af;
  color: #fff;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.checkbox-inline input {
  width: auto;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-actions > .button-link,
.form-actions > button.button-link {
  width: auto;
}

.detail-actions {
  margin-top: 25px;
}

.section-footer-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 25px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status-chip.success {
  background: #e8f7ee;
  color: #1d7a45;
}

.status-chip.warning {
  background: #fff4e5;
  color: #99621c;
}

.status-chip.neutral {
  background: #eef2f7;
  color: #42526b;
}

.status-chip.danger {
  background: rgba(170, 0, 0, 0.12);
  color: #aa0000;
}

.data-table .status-chip {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.data-table .status-chip.success {
  background: transparent;
  color: #1d7a45;
}

.data-table .status-chip.warning {
  background: transparent;
  color: #99621c;
}

.data-table .status-chip.neutral {
  background: transparent;
  color: #42526b;
}

.data-table .status-chip.danger {
  background: transparent;
  color: #aa0000;
}

.cell-preline {
  white-space: pre-line;
}

.compact-summary-grid {
  margin-bottom: 18px;
}

.rental-sections-stack,
.autovit-layout {
  align-items: stretch;
}

.rental-mini-table-shell {
  max-height: calc(100vh - 360px);
  overflow: auto;
}

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

.action-align-end {
  align-self: end;
}

.rental-calendar-filter {
  margin-bottom: 16px;
}

.rental-calendar-shell {
  overflow: auto;
}

.rental-calendar-table {
  table-layout: fixed;
  min-width: 980px;
}

.rental-calendar-table th,
.rental-calendar-table td {
  text-align: center;
  padding: 8px 6px;
}

.rental-calendar-vehicle-cell {
  min-width: 210px;
  text-align: left !important;
}

.rental-calendar-vehicle-cell small {
  display: block;
  margin-top: 4px;
  color: #6e6e73;
}

.rental-calendar-cell {
  font-size: 11px;
  font-weight: 700;
  color: transparent;
}

.rental-calendar-cell.is-contract {
  background: #dff3e7;
  color: #24734a;
}

.rental-calendar-cell.is-booking {
  background: #e8eef8;
  color: #33588f;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  color: #6e6e73;
  font-size: 12px;
}

.legend-box {
  display: inline-block;
  width: 16px;
  height: 10px;
  margin-right: 6px;
  border-radius: 999px;
}

.legend-box.contract {
  background: #dff3e7;
}

.legend-box.booking {
  background: #e8eef8;
}

.rental-notification-stack {
  margin-top: 18px;
  gap: 18px;
}

@media (max-width: 1180px) {
  .details-columns,
  .autovit-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .report-filter-form--availability {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-actions {
    flex-wrap: wrap;
  }
}
.summary-grid,
.compact-summary-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

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

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

.summary-grid--reports,
.compact-summary-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.summary-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #ffffff;
}

.summary-tile-label {
  color: #6e6e73;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.summary-tile strong {
  font-size: 24px;
  line-height: 1.15;
}

.summary-status-location {
  display: inline-block;
  margin-left: 4px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
}

.summary-tile small {
  color: #6e6e73;
  font-size: 12px;
}

.report-selector-card {
  margin-bottom: 18px;
}

.report-selector-header {
  margin-bottom: 16px;
}

.report-selector-description {
  margin-top: 8px;
  color: #6e6e73;
  font-size: 13px;
}

.report-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.05fr) repeat(3, minmax(160px, 0.75fr));
  gap: 14px;
  align-items: end;
}

.report-filter-field {
  min-width: 0;
}

.report-filter-field input[type=date] {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(142, 127, 111, 0.24);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
  color: #18191f;
  font-family: inherit;
  font-size: 13px;
}

.report-filter-submit {
  align-self: end;
  min-height: 38px;
}

.report-filter-field--report {
  min-width: 0;
}

.report-table-shell {
  max-height: calc(100vh - 360px);
}

.report-table th {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .summary-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-grid--reports,
  .compact-summary-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .summary-grid--three,
  .summary-grid--four,
  .summary-grid--reports,
  .compact-summary-grid,
  .report-filter-form {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
  }
}
.rental-sections-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
  gap: 18px;
}

.search-results-card {
  margin-bottom: 18px;
}

.search-results-meta {
  margin-top: 8px;
  color: #6e6e73;
  font-size: 14px;
}

.search-results-text-cell {
  color: #6e6e73;
}

.search-summary-grid .summary-tile {
  min-width: 0;
}

main h2,
main h3 {
  font-size: 18px;
}

.vehicle-form-layout {
  display: grid;
  gap: 40px;
}

.form-section-card {
  display: grid;
  gap: 40px;
}

.vehicle-create-card .page-section-header {
  margin-bottom: 0;
}

.vehicle-form-actions {
  padding-top: 0;
}

main > .summary-grid + .page-section-card,
main > .summary-grid--reports + .page-section-card,
main > .compact-summary-grid + .page-section-card,
main > .page-section-card + .page-section-card,
main > .page-section-card + .stacked-cards,
main > .page-section-card + section.page-section-card,
main > .stacked-cards + .page-section-card,
main > .details-columns + .attachment-upload-section,
main > .contract-detail-layout + .attachment-upload-section,
main > .contract-top-layout + .contract-detail-layout,
main > .summary-grid--reports + .stacked-cards,
main > .compact-summary-grid + .stacked-cards {
  margin-top: 18px;
}

.rental-sections-stack {
  margin-top: 18px;
  gap: 18px;
}

.invoice-detail-layout {
  grid-template-columns: minmax(380px, 640px) minmax(0, 1fr);
  align-items: start;
}

.invoice-detail-layout > .stacked-cards {
  min-width: 0;
}

.notification-summary-grid .summary-tile--spacious {
  min-height: 112px;
}

.notification-summary-grid .summary-tile--spacious small {
  padding-top: 12px;
}

.search-highlight {
  display: inline-block;
  padding: 0 3px;
  border-radius: 4px;
  background: #d3c7cb;
}

.invoice-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.action-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #8a6a3a;
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  text-decoration: none;
}

.action-icon-button:hover {
  background: #fbf6ef;
}

.action-icon-button--primary {
  background: #fff;
  color: #8a6a3a;
}

.action-icon-stack {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.action-icon-stack-back,
.action-icon-stack-front {
  position: absolute;
  font-size: 19px;
  line-height: 1;
}

.action-icon-stack-back {
  top: 3px;
  left: 0;
  opacity: 0.55;
}

.action-icon-stack-front {
  top: -1px;
  left: 4px;
}

.invoice-inline-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
}

.invoice-inline-message.success {
  background: #eef7ef;
  color: #2f6c3e;
}

.invoice-inline-message.error {
  background: #fff0f0;
  color: #8f2d2d;
}

.invoice-page-message {
  margin-bottom: 22px;
}

.invoice-positions-card {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
}

.invoice-positions-card .page-section-header,
.invoice-positions-card .invoice-positions-table-shell {
  width: 100%;
  max-width: 100%;
}

.invoice-positions-card .invoice-positions-table-shell {
  min-width: 0;
}

.invoice-positions-card .data-table {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}

.invoice-vehicle-details-card {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
}

.invoice-vehicle-details-card .page-section-header,
.invoice-vehicle-details-card .detail-grid {
  width: 100%;
  max-width: 100%;
}

.invoice-related-vehicle-card {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
}

.invoice-related-vehicle-card .page-section-header,
.invoice-related-vehicle-card .invoice-related-vehicle-table-shell {
  width: 100%;
  max-width: 100%;
}

.invoice-related-vehicle-card .invoice-related-vehicle-table-shell {
  min-width: 0;
}

.invoice-related-vehicle-card [data-table-cell-scroll][data-table-cell-scroll-manual='1'] {
  max-width: 150px;
}

.invoice-related-vehicle-card .data-table {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}

.invoice-mentions-table-shell {
  max-height: 292px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.invoice-mentions-table {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.invoice-mentions-table .invoice-mentions-toggle-cell {
  width: 1%;
  text-align: center;
  white-space: nowrap;
}

.invoice-mentions-table .table-cell-number,
.invoice-mentions-table .table-actions-cell {
  width: 1%;
  white-space: nowrap;
}

.invoice-mentions-table th {
  padding-top: 4px;
  padding-bottom: 4px;
}

.invoice-mentions-table td {
  padding-top: 5px;
  padding-bottom: 5px;
}

.invoice-mention-toggle-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.invoice-mention-toggle-form input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.partner-person-settings-cell {
  width: 1%;
  white-space: nowrap;
}

.data-table td[data-partner-person-contact-cell] {
  white-space: nowrap;
  cursor: pointer;
}

.data-table td[data-partner-person-contact-cell] .table-icon-button {
  margin-right: 3.6px;
}

.data-table td[data-partner-person-contact-cell] .table-icon-button:last-child {
  margin-right: 0;
}

.partner-person-settings-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.partner-person-toggle-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.partner-person-toggle-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
}

.partner-person-toggle-switch input[type=checkbox] {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.partner-person-toggle-slider {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d4d9e3;
  box-shadow: inset 0 0 0 1px rgba(107, 116, 128, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-person-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.28);
  transition: transform 0.2s ease;
}

.partner-person-toggle-switch input[type=checkbox]:checked + .partner-person-toggle-slider {
  background: #8a6a3a;
  box-shadow: inset 0 0 0 1px rgba(111, 90, 72, 0.36);
}

.partner-person-toggle-switch input[type=checkbox]:checked + .partner-person-toggle-slider::before {
  transform: translateX(20px);
}

.partner-person-toggle-switch input[type=checkbox]:focus-visible + .partner-person-toggle-slider {
  outline: 2px solid rgba(111, 90, 72, 0.3);
  outline-offset: 1px;
}

.invoice-mentions-table th:nth-child(2),
.invoice-mentions-table td:nth-child(2) {
  padding-right: 4px;
}

.invoice-detail-layout .stacked-cards,
.invoice-detail-layout .stacked-cards > .page-section-card,
.invoice-detail-layout .stacked-cards .table-shell {
  min-width: 0;
}

.action-icon-button--print .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: "FILL" 0, "wght" 340, "GRAD" 0, "opsz" 24;
}

.partner-form--edit .radio-row {
  padding-top: 8px;
  padding-bottom: 10px;
}

.partner-form--edit #company-fields,
.partner-form--edit #person-fields {
  padding-top: 8px;
}

.partner-form--edit #company-fields > .field:first-child input,
.partner-form--edit #person-fields > .field:nth-child(2) input {
  font-weight: 700;
}

.table-row-link {
  cursor: pointer;
}

.table-row-link td {
  transition: background-color 0.18s ease;
}

.table-row-link:hover td {
  background: rgba(20, 68, 170, 0.04);
}

.date-picker-popover {
  position: absolute;
  z-index: 1400;
  display: none;
  width: 320px;
  padding: 16px;
  border: 1px solid rgba(20, 68, 170, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.date-picker-popover.is-visible {
  display: block;
}

.date-picker-popover__header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.date-picker-popover__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.date-picker-popover__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(20, 68, 170, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #8a6a3a;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.date-picker-popover__select:hover {
  background: #fbf6ef;
}

.date-picker-popover__select:focus,
.date-picker-popover__select:focus-visible,
.date-picker-popover__select:active {
  outline: none;
  box-shadow: none;
}

.date-picker-popover__month-select {
  min-width: 116px;
}

.date-picker-popover__year-select {
  min-width: 72px;
  padding-right: 0;
}

.date-picker-popover__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 68, 170, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  cursor: pointer;
}

.date-picker-popover__nav:hover {
  background: #fbf6ef;
}

.date-picker-popover__weekdays,
.date-picker-popover__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.date-picker-popover__weekdays {
  margin-bottom: 10px;
}

.date-picker-popover__weekday {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  font-size: 11px;
  font-weight: 700;
  color: #8d939c;
  text-transform: uppercase;
}

.date-picker-popover__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 2px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f8f9fb;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.date-picker-popover__day:hover {
  background: #f2eadf;
  border-color: rgba(20, 68, 170, 0.14);
  transform: translateY(-1px);
}

.date-picker-popover__day.is-outside-month {
  background: #f8f6f3;
  color: #b0b6c0;
}

.date-picker-popover__day.is-today {
  border-color: rgba(20, 68, 170, 0.26);
  color: #8a6a3a;
}

.date-picker-popover__day.is-selected {
  background: #8a6a3a;
  border-color: #8a6a3a;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 68, 170, 0.22);
}

.date-picker-popover__footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.field input.date-picker-input.is-date-picker-open {
  border-color: rgba(20, 68, 170, 0.26);
  box-shadow: 0 0 0 4px rgba(20, 68, 170, 0.08);
}

.details-columns--single {
  grid-template-columns: minmax(0, max-content);
}

.details-card--attachment {
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
}

.detail-grid--attachment {
  grid-template-columns: repeat(2, minmax(220px, max-content));
}

.detail-breakable-value {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-grid > div > strong,
.info-list > div > strong,
.summary-tile-label,
.field label,
.field > span,
th {
  color: #79a;
  font-weight: normal;
  font-size: 12px;
}

.details-card--partner .detail-grid {
  padding-top: 14px;
}

.details-card--partner .detail-grid .detail-full-row {
  grid-column: 1/-1;
}

.detail-value--partner-name {
  font-weight: 700;
}

.section-inline-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.section-inline-icon-link .material-symbols-outlined {
  font-size: 22px;
  color: #8a6a3a; 
}

.page-hero-action-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.page-hero-action-card form {
  display: inline-flex;
  margin: 0;
}

.page-hero-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(104, 130, 170, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  text-decoration: none;
  cursor: pointer;
}

.page-hero-action-button .material-symbols-outlined {
  font-size: 20px;
}

.page-hero-action-button:hover {
  background: rgba(0, 102, 204, 0.08);
}

.page-hero-action-button.is-disabled,
.page-hero-action-button:disabled {
  color: #a8b3c4;
  background: rgba(255, 255, 255, 0.65);
  cursor: not-allowed;
}

.page-hero-meta {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-left: auto;
}

@media (max-width: 980px) {
  .page-hero {
    flex-wrap: wrap;
    gap: 12px;
  }
  .page-hero-copy {
    width: 100%;
  }
  .page-hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    gap: 10px;
  }
  .page-hero-meta > * {
    width: 100%;
    max-width: 100%;
  }
  .page-share-card {
    justify-content: flex-end;
  }
}

.page-section-header > span,
.result-count,
.results-count {
  font-size: 12px;
}

.is-table-row-limited {
  display: none !important;
}

.table-show-all-button-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.action-icon-button,
.page-hero-action-button,
.table-icon-button,
.section-inline-icon-link,
[data-action-icon],
.material-symbols-outlined[role=button] {
  cursor: pointer;
}

.page-hero-action-button.is-disabled,
.page-hero-action-button:disabled {
  cursor: not-allowed;
}

.contract-detail-layout {
  display: grid;
  gap: 20px;
}

.contract-document-card {
  width: 100%;
}

.contract-document {
  color: #111827;
  font-size: 13px;
  line-height: 1.65;
  text-align: justify;
}

.contract-document h2,
.contract-document h3,
.contract-document h4,
.contract-document h5,
.contract-document h6 {
  color: inherit;
  line-height: 1.35;
}

.contract-document h2 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.contract-document h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.contract-document h4 {
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.contract-document strong,
.contract-document .contract-highlight {
  color: #8a6a3a;
  font-weight: 700;
}

.contract-document table {
  width: 100%;
}

.contract-document td,
.contract-document th {
  position: static;
  padding: 3px 4px;
  border: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: transparent;
}

.inline-field-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px;
  align-items: center;
}

.tai-detail-layout {
  align-items: start;
}

.tai-rates-card {
  margin-top: 18px;
}

.icon-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(17, 68, 170, 0.22);
  border-radius: 999px;
  color: #8a6a3a;
  background: #fff;
  text-decoration: none;
}

.icon-action-link:hover {
  cursor: pointer;
}

.large-list-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 16px;
}

.button-link.transparent {
  background: transparent;
}

.checkbox-field {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: #1d1d1f;
}

.checkbox-field input[type=checkbox] {
  width: auto;
}

.form-message.warning {
  background: #fff8e8;
  color: #8a641d;
}

.vehicle-type-selector-field .field-hint {
  color: #79a;
  font-size: 12px;
}

.vehicle-type-picker-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.vehicle-type-picker-control input[readonly] {
  cursor: pointer;
}

.vehicle-type-modal-open {
  overflow: hidden;
}

.vehicle-type-modal[hidden] {
  display: none;
}

.vehicle-type-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 32px;
}

.vehicle-type-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(220, 228, 238, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vehicle-type-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100vw - 48px);
  max-height: min(760px, 100vh - 48px);
  overflow: auto;
  padding: 38px;
  border-radius: 30px;
}

.vehicle-type-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.vehicle-type-dialog-header h2 {
  margin: 0;
  color: #18191f;
  font-size: 24px;
  font-weight: 700;
}

.vehicle-type-dialog-header p {
  margin: 8px 0 0;
  color: #6c7480;
  font-size: 14px;
}

.vehicle-type-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.vehicle-type-breadcrumb button {
  border: 0;
  background: transparent;
  color: #8a6a3a;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.vehicle-type-breadcrumb-separator {
  color: #9aa7b6;
  font-size: 14px;
}

.vehicle-type-current {
  margin-bottom: 30px;
}

.vehicle-type-current-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.vehicle-type-current-title-wrap {
  display: grid;
  gap: 6px;
}

.vehicle-type-current strong {
  color: #18191f;
  font-size: 20px;
}

.vehicle-type-current span {
  color: #7a8190;
  font-size: 13px;
}

.vehicle-type-add-form,
.vehicle-type-rename-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.vehicle-type-add-form input,
.vehicle-type-rename-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font: inherit;
  color: #1d1d1f;
}

.vehicle-type-add-form input:focus,
.vehicle-type-rename-form input:focus {
  border-color: rgba(111, 90, 72, 0.42);
  outline: none;
}

.vehicle-type-add-form {
  margin-top: 18px;
  padding-top: 18px;
}

.vehicle-type-admin.has-rename-form .vehicle-type-add-form {
  border-top: 1px solid rgba(142, 127, 111, 0.16);
}

.vehicle-type-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 4px 22px;
  margin-bottom: 18px;
}

.vehicle-type-list.is-brand-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.vehicle-type-child-link {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  min-height: 26px;
  color: #18191f;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.vehicle-type-child-link:hover {
  color: #8a6a3a;
}

.vehicle-type-child-label {
  min-width: 0;
}

.vehicle-type-child-link small {
  color: #7a8190;
  font-size: 12px;
}

.vehicle-type-actions {
  margin-bottom: 18px;
}

.vehicle-type-admin {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  padding-top: 18px;
  border-top: 1px solid rgba(142, 127, 111, 0.16);
}

[data-vehicle-type-choose] {
  background: #2e9331;
  border-color: #2e9331;
  color: #fff;
}

[data-vehicle-type-choose]:hover {
  background: #287f2a;
  border-color: #287f2a;
  color: #fff;
}

.vehicle-type-delete-button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .vehicle-type-picker-control,
  .vehicle-type-add-form,
  .vehicle-type-rename-form,
  .vehicle-type-admin {
    grid-template-columns: 1fr;
  }
  .vehicle-type-current-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .vehicle-type-dialog {
    padding: 32px;
  }
}
.attachment-section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.attachment-add-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.attachment-add-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.attachment-add-button .material-symbols-outlined {
  color: #8a6a3a;
  font-size: 22px;
}

.attachment-upload-panel {
  padding: 10px 4px 2px;
}

.attachment-upload-title {
  margin-bottom: 8px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.attachment-upload-subtitle {
  margin-bottom: 20px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.5;
}

.attachment-upload-file {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(235, 241, 249, 0.76);
  font-size: 14px;
}

.attachment-upload-file strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.attachment-progress-track {
  width: 100%;
  height: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(142, 127, 111, 0.18);
}

.attachment-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a6a3a, #c9a06b);
  transition: width 140ms linear;
}

.attachment-upload-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #6e6e73;
  font-size: 12px;
}

.attachment-upload-meta [data-attachment-upload-percent] {
  color: #8a6a3a;
  font-weight: 700;
}

.attachment-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attachment-row-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a6a3a;
  cursor: pointer;
}

.attachment-row-icon .material-symbols-outlined {
  font-size: 19px;
}

.attachment-row-delete {
  color: #b15b5b;
}

.attachment-inline-edit-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.attachment-inline-edit-form input {
  width: min(320px, 100%);
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #e2e2e7;
  border-radius: 10px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  outline: none;
}

.attachment-inline-edit-form input:focus {
  border-color: rgba(111, 90, 72, 0.42);
}

.table-actions-cell {
  display: table-cell;
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.autovit-settings-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.autovit-branch-selector {
  max-width: 320px;
}

.autovit-branch-selector.inline {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: none;
}

.autovit-branch-selector.inline label {
  margin: 0;
  font-size: 12px;
  color: #79a;
  white-space: nowrap;
}

.autovit-branch-selector.inline select {
  min-width: 150px;
}

.autovit-list-header {
  gap: 16px;
}

.autovit-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .autovit-list-header,
  .autovit-header-actions,
  .autovit-branch-selector.inline {
    align-items: stretch;
    flex-direction: column;
  }
  .autovit-header-actions {
    width: 100%;
    margin-left: 0;
  }
}
.tai-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.invoice-series-settings-layout {
  align-items: start;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
}

.invoice-series-settings-layout > .page-section-card,
.invoice-series-settings-layout > .stacked-cards {
  align-self: start;
}

.invoice-series-settings-layout > .stacked-cards {
  align-content: start;
  align-items: start;
}

.invoice-series-rules-card {
  align-self: start;
}

.info-panel-card .info-list {
  display: grid;
  gap: 22px;
}

.info-panel-card .info-list > div {
  display: grid;
  gap: 6px;
}

.info-panel-card .info-list > div > span {
  display: block;
  line-height: 1.45;
}

.partner-checklist-card {
  align-self: start;
}

.partner-checklist-groups {
  display: grid;
  gap: 20px;
}

.partner-checklist-group {
  display: grid;
  gap: 10px;
}

.partner-checklist-group[hidden] {
  display: none !important;
}

.partner-checklist-group h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
}

.partner-checklist-group--warning h3 {
  color: #b42318;
}

.partner-checklist-group--success h3 {
  color: #177245;
}

.partner-checklist-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-checklist-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
}

.partner-checklist-group--warning .partner-checklist-list li {
  color: #b42318;
}

.partner-checklist-group--success .partner-checklist-list li {
  color: #177245;
}

.partner-checklist-list .material-symbols-outlined {
  font-size: 17px;
  line-height: 1.2;
}

.partner-checklist-list a {
  color: #8a6a3a;
  text-decoration: none;
}

.partner-checklist-item-value {
  color: #333;
}

.invoice-series-rules-card .info-list {
  display: grid;
  gap: 22px;
}

.invoice-series-rules-card .info-list > div {
  display: grid;
  gap: 6px;
}

.invoice-series-rules-card .info-list > div > span {
  display: block;
  line-height: 1.45;
}

.invoice-series-settings-form {
  display: grid;
  gap: 30px;
}

.invoice-series-settings-group {
  display: grid;
  gap: 12px;
}

.invoice-series-settings-group + .invoice-series-settings-group {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(120, 140, 160, 0.18);
}

.invoice-series-settings-group h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #234;
}

.invoice-series-settings-table input[type=text] {
  width: 140px;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font: inherit;
  color: #1d1d1f;
}

.invoice-payment-date-shell {
  position: relative;
  min-width: 220px;
  align-items: flex-start !important;
  justify-content: flex-start;
}

.invoice-payment-date-trigger.is-hidden,
.invoice-payment-date-value.is-hidden {
  display: none !important;
}

.invoice-payment-date-value {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.invoice-payment-date-value:hover,
.invoice-payment-date-value:focus {
  color: #8a6a3a;
  text-decoration: underline;
  outline: none;
}

.invoice-payment-date-form {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: grid;
  gap: 12px;
  min-width: 440px;
  max-width: min(520px, 100vw - 36px);
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.invoice-payment-date-form[hidden] {
  display: none !important;
}

.invoice-payment-date-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.invoice-payment-date-field {
  margin: 0;
}

.invoice-payment-date-field label {
  margin-bottom: 6px;
  color: #79a;
  font-size: 12px;
  font-weight: normal;
}

.invoice-payment-date-field input[type=date],
.invoice-payment-date-field input[type=text],
.invoice-payment-date-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font: inherit;
  color: #1d1d1f;
}

.invoice-payment-date-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 680px) {
  .invoice-payment-date-form {
    min-width: 280px;
  }
  .invoice-payment-date-row {
    grid-template-columns: 1fr;
  }
}
.estimated-expense-dependent.is-hidden {
  display: none;
}

.user-profile-layout {
  align-items: start;
}

.user-profile-password-section {
  display: grid;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 140, 160, 0.18);
}

.user-profile-password-section h3 {
  margin: 0;
  font-size: 15px;
  color: #1d1d1f;
}

.dashboard-compact-item-link {
  color: inherit;
  text-decoration: none;
}

.dashboard-compact-item-link:hover {
  background: #eee7de;
}

.summary-tile--total-value strong,
.vehicle-total-value-text {
  color: #b64a4a;
}

.logistics-checklist-progress-header {
  text-align: left !important;
}

.logistics-checklist-progress-cell {
  text-align: left;
  min-width: 220px;
}

.logistics-checklist-progress {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logistics-checklist-progress-bar {
  display: block;
  flex: 0 0 140px;
  height: 5px;
  border-radius: 999px;
  background: #ffa6a6;
  overflow: hidden;
}

.logistics-checklist-progress-bar-fill {
  display: block;
  height: 100%;
  width: calc(var(--checklist-percent, 0) * 1%);
  background: #00aa00;
  border-radius: 999px;
}

.logistics-checklist-progress-percent {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 60px;
  font-variant-numeric: tabular-nums;
}

.page-share-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.page-share-action-button {
  text-decoration: none;
}

.page-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(104, 130, 170, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  cursor: pointer;
}

.page-share-button .material-symbols-outlined {
  font-size: 20px;
}

.page-share-action-button--excel .material-symbols-outlined {
  font-size: 26px;
}

.page-share-button:hover {
  background: rgba(0, 102, 204, 0.08);
}

.page-share-toast {
  position: fixed;
  top: 88px;
  right: 28px;
  z-index: 3000;
  max-width: min(520px, 100vw - 48px);
  padding: 16px 18px;
  border: 1px solid rgba(111, 90, 72, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(20, 48, 90, 0.14);
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 1s ease, transform 1s ease;
}

.page-share-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-share-toast.is-fading {
  opacity: 0;
  transform: translateY(-8px);
}

.contract-top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.contract-side-stack {
  display: grid;
  gap: 18px;
}

.single-column-detail-grid {
  grid-template-columns: 1fr;
}

.contract-side-attachment-card {
  width: 100%;
}

.contract-document-card .contract-document {
  padding: 22px;
}

.notifications-table-stack {
  display: grid;
  gap: 26px;
}

.notification-table-section {
  display: grid;
  gap: 12px;
  width: 100%;
}

.notification-table-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.notification-table-title-row h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
}

.notification-table-title-row p {
  margin: 4px 0 0;
  color: #6e6e73;
  font-size: 12px;
}

.notification-table {
  width: 100%;
}

@media (max-width: 980px) {
  .contract-top-layout {
    grid-template-columns: 1fr;
  }
}
.document-logo {
  width: 180px;
  max-width: 180px;
  height: auto;
}

.template-manager-layout {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.template-list-card {
  min-width: 0;
}

.template-editor-card {
  min-width: 0;
}

.template-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: start;
}

.template-editor-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.template-editor-surface {
  min-height: 560px;
  max-height: 72vh;
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(142, 127, 111, 0.22);
  border-radius: 18px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  line-height: 1.65;
  text-align: justify;
  outline: none;
}

.template-editor-surface:focus {
  border-color: rgba(111, 90, 72, 0.44);
}

.template-editor-surface h1,
.template-editor-surface h2,
.template-editor-surface h3,
.template-editor-surface h4 {
  color: inherit;
  line-height: 1.35;
}

.template-editor-tools {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.template-editor-tools section {
  padding: 14px;
  border: 1px solid rgba(142, 127, 111, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.template-editor-tools h3 {
  margin: 0 0 12px;
  color: #79a;
  font-size: 12px;
  font-weight: normal;
}

.template-tool-grid,
.template-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-tool-grid button,
.template-tags-list button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(111, 90, 72, 0.26);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.template-editor-tools details + details {
  margin-top: 10px;
}

.template-editor-tools summary {
  margin-bottom: 8px;
  color: #18191f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.contract-document .document-logo {
  display: inline-block;
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .template-manager-layout,
  .template-editor-grid {
    grid-template-columns: 1fr;
  }
  .template-editor-tools {
    position: static;
  }
}
.success-banner,
.error-banner {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
}

.success-banner {
  background: rgba(201, 234, 212, 0.78);
  border: 1px solid rgba(103, 160, 116, 0.22);
  color: #35573b;
}

.error-banner {
  background: rgba(239, 207, 207, 0.82);
  border: 1px solid rgba(201, 116, 116, 0.26);
  color: #7a3838;
}

.page-share-toast {
  background: rgba(255, 244, 185, 0.96);
  border-color: rgba(224, 185, 80, 0.34);
  color: #5c4a16;
}

.page-content-grid.page-content-grid-halves {
  grid-template-columns: auto auto;
}

.detail-grid.compact-detail-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px 22px;
}

.detail-grid.compact-detail-grid > div.full-width {
  grid-column: 1/-1;
}

.detail-grid.compact-detail-grid label {
  display: block;
  margin-bottom: 6px;
}

.detail-grid.compact-detail-grid span {
  display: flex;
  color: #18191f;
  font-size: 14px;
}

.card-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.card-header-actions > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-header-actions h2 {
  margin: 0;
}

.card-header-actions span {
  color: #6b7280;
  font-size: 12px;
}

.template-manager-card {
  width: 100%;
}

.template-form-card, .template-editor-card-full, .user-rights-card {
  max-width: none;
}

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

.app-form-grid .full-width, .form-actions-row, .template-editor-card-full .form-actions-row {
  grid-column: 1/-1;
}

.template-form-card .field label,
.template-form-card .field > span {
  padding-top: 15px;
}

.inline-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 72, 0.25);
  color: #8a6a3a;
  text-decoration: none;
}

.template-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.template-editor-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-color-button, .template-tool-button {
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(111, 90, 72, 0.22);
  background: #fff;
  color: #8a6a3a;
  cursor: pointer;
}

.template-color-button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border-color: rgba(15, 23, 42, 0.12);
}

.template-color-button.is-black {
  background: #1f2937;
}

.template-color-button.is-blue {
  background: #c9a06b;
}

.template-color-button.is-green {
  background: #8bbf9f;
}

.template-color-button.is-orange {
  background: #efc28f;
}

.template-color-button.is-red {
  background: #e6a0a0;
}

.template-color-button.is-purple {
  background: #c3afe8;
}

.template-editor-layout.template-editor-layout-stacked {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.template-editor-canvas {
  min-height: 560px;
  outline: none;
}

.template-tag-sidebar {
  padding: 18px;
  border-radius: 18px;
  background: rgba(247, 248, 250, 0.85);
  border: 1px solid rgba(159, 138, 118, 0.16);
}

.template-tag-sidebar h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.template-tag-group + .template-tag-group {
  margin-top: 16px;
}

.template-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.permission-page-row {
  font-weight: 700;
}

.permission-operation-row {
  font-weight: 400;
  padding-left: 28px;
}

.user-rights-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.user-selector-field {
  max-width: 420px;
}

.user-rights-type-pill {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(196, 225, 245, 0.44);
  border: 1px solid rgba(126, 169, 232, 0.26);
}

.user-rights-type-pill.is-locked {
  background: rgba(248, 226, 188, 0.42);
  border-color: rgba(239, 194, 143, 0.32);
}

@media (max-width: 1100px) {
  .page-content-grid.page-content-grid-halves, .detail-grid.compact-detail-grid, .app-form-grid.compact-form-grid, .template-editor-layout.template-editor-layout-stacked {
    grid-template-columns: 1fr;
  }
  .user-rights-toolbar, .card-header-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.list-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 22px;
}

.list-header-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.list-header-title-wrap h2 {
  margin: 0;
}

.template-table tbody tr {
  cursor: pointer;
}

.company-details-grid {
  align-items: stretch;
}

.company-details-form .company-details-grid {
  margin-bottom: 22px;
}

.company-details-actions {
  justify-content: flex-end;
}

.company-details-grid .detail-grid.compact-detail-grid > div > span {
  color: #4f5b6a;
}

.company-bank-accounts-card {
  align-self: start;
}

.company-financing-interest-card {
  align-self: start;
}

.company-financing-interest-toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.company-bank-accounts-toolbar {
  align-items: flex-start;
  gap: 14px;
}

.company-bank-accounts-table td {
  vertical-align: middle;
}

.company-bank-accounts-table td input,
.company-bank-accounts-table td select {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #e2e2e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #1d1d1f;
  font: inherit;
}

.company-bank-account-actions-cell {
  white-space: nowrap;
}

.company-bank-account-delete-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5e6978;
  font-size: 12px;
}

.interest-rate-input-wrap {
  position: relative;
}

.interest-rate-input-wrap input {
  padding-right: 34px;
}

.interest-rate-input-suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #5e6978;
  font-weight: 600;
  pointer-events: none;
}

.partner-section-grid {
  margin-top: 22px;
}

.partner-section-title h2 {
  margin: 0;
  color: #18191f;
  font-size: 15px;
  font-weight: 700;
}

.user-rights-toolbar {
  margin-bottom: 24px;
}

.user-rights-table th:nth-child(2),
.user-rights-table th:nth-child(3),
.user-rights-table td:nth-child(2),
.user-rights-table td:nth-child(3) {
  width: 230px;
}

.permission-page-row {
  font-weight: 700;
  color: #18191f;
}

.permission-operation-row {
  padding-left: 28px !important;
  color: #475569;
  font-weight: 400;
}

.rights-access-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
}

.rights-access-control select.rights-access-select {
  min-width: 150px;
  height: 34px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(142, 127, 111, 0.26);
  border-radius: 10px;
  background-color: #fff;
  color: #18191f;
  font-size: 12px;
  font-family: inherit;
}

.rights-access-icon {
  font-size: 20px;
  line-height: 1;
  color: #8c7d71;
}

.rights-access-icon-restricted {
  color: #ee2626;
}

.rights-access-icon-permitted,
.rights-access-icon-assigned {
  color: #12a150;
}

.rights-access-icon-inherited {
  color: #9c7645;
}

.page-content-grid.page-content-grid-halves {
  display: grid;
  gap: 18px;
}

.custom-reports-list-card .custom-list-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custom-report-builder-form {
  display: grid;
  gap: 18px;
}

.custom-report-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.custom-report-check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(142, 127, 111, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #1d1d1f;
  font-size: 12px;
}

.custom-report-check-option input {
  width: 15px;
  height: 15px;
}

.custom-report-rules-grid {
  margin-top: 18px;
}

.table-actions-cell {
  display: table-cell;
  width: 72px;
  white-space: nowrap;
  text-align: right;
  vertical-align: middle;
}

.icon-action-link,
.icon-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a6a3a;
  cursor: pointer;
  text-decoration: none;
}

.data-table th.table-actions-cell,
.data-table td.table-actions-cell {
  padding-top: 8px;
  padding-bottom: 8px;
}

.data-table .icon-action-link,
.data-table .icon-action-button,
.data-table .table-icon-button {
  width: 24px;
  height: 24px;
}

.data-table .icon-action-link .material-symbols-outlined,
.data-table .icon-action-button .material-symbols-outlined,
.data-table .table-icon-button .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.inline-icon-form {
  display: inline-flex;
  margin: 0;
}

@media (max-width: 1100px) {
  .custom-report-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .custom-report-option-grid {
    grid-template-columns: 1fr;
  }
}
.detail-grid,
.detail-grid.compact-detail-grid {
  -moz-column-gap: 10px;
       column-gap: 10px;
  row-gap: 8px;
  align-items: stretch;
}

.detail-grid > div,
.detail-grid.compact-detail-grid > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.detalii-valoare,
.details-card .detail-grid > div > span,
.detail-card .detail-grid > div > span,
.detail-card .detail-grid.compact-detail-grid > div > span {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  border-radius: 4px;
  background: #f4f4f4;
  color: #18191f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.details-card .detail-grid > div > span a,
.detail-card .detail-grid > div > span a,
.detail-card .detail-grid.compact-detail-grid > div > span a {
  color: inherit;
}


.details-card .detail-grid > div > strong,
.detail-card .detail-grid > div > strong,
.detail-card .detail-grid.compact-detail-grid > div > strong,
.detail-card .detail-grid > div > label,
.detail-card .detail-grid.compact-detail-grid > div > label {
  margin-bottom: 1px;
}

.vehicle-detail-summary-grid {
  align-items: stretch;
}

.vehicle-autovit-image-tile {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid white;
}

.vehicle-autovit-image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.special-report-export-form {
  align-items: end;
}

.special-report-export-form .report-filter-field {
  min-width: 210px;
}

.icon-button--excel {
  width: 44px;
  height: 44px;
  border-color: rgba(62, 142, 72, 0.35);
  color: #2f7d3a;
}

.report-table tfoot th {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7f1e8;
}

.page-global-messages {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.page-global-message {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.page-global-message--success {
  background: #eef7ef;
  border: 1px solid rgba(86, 150, 92, 0.18);
  color: #2f6c3e;
}

.page-global-message--error {
  background: #fff0f0;
  border: 1px solid rgba(201, 116, 116, 0.28);
  color: #8f2d2d;
}

.page-share-action-button--excel {
  color: #2f7d3a;
}

.page-share-action-button--excel.is-disabled,
.page-share-button.is-disabled {
  opacity: 0.38;
  pointer-events: auto;
  cursor: not-allowed;
}

.linked-expense-total-row > td {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.linked-expense-total-row--success > td {
  background: #eef7ef;
  color: #2f6c3e;
}

.linked-expense-total-row--error > td {
  background: #fff0f0;
  color: #8f2d2d;
}

.special-report-filter-form {
  align-items: end;
}

.special-report-filter-form .report-filter-field {
  min-width: 150px;
}

.special-report-current-date {
  align-self: center;
  color: #6e6e73;
  font-size: 12px;
  padding-bottom: 8px;
}

.special-report-filter-form.is-dirty .special-report-current-date {
  color: #9a6b20;
}

.special-notifications-card {
  border-left-color: #f2b84b;
  margin-bottom: 25px;
}

.special-notifications-list {
  display: grid;
  gap: 10px;
}

.special-notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 184, 75, 0.28);
  border-radius: 16px;
  background: #fff8e8;
  color: #1d1d1f;
}

.special-notification-item > .material-symbols-outlined {
  color: #b87512;
  font-size: 24px;
}

.special-notification-text {
  flex: 1;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
}

.special-notification-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(0, 95, 199, 0.26);
  border-radius: 999px;
  background: #fff;
  color: #8a6a3a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.special-notification-action:hover {
  background: #eee7de;
}

.list-header-with-filter {
  align-items: flex-start;
  gap: 25px;
}

.list-header-stacked-filter {
  justify-content: space-between;
}

.list-header-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.list-type-selector-form,
.template-type-selector-form {
  display: inline-flex;
  align-items: center;
  margin-left: 30px;
}

.list-type-selector-form select,
.template-type-selector-form select {
  width: 200px;
  min-width: 200px;
  min-height: 42px;
  padding: 10px 38px 10px 14px;
  border: 1px solid #e2e2e7;
  border-radius: 6px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: #1d1d1f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.vehicle-reservation-modal-open {
  overflow: hidden;
}

.vehicle-transfer-modal-open {
  overflow: hidden;
}

.vehicle-transfer-modal[hidden] {
  display: none;
}

.vehicle-transfer-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 32px;
}

.vehicle-transfer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(220, 228, 238, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vehicle-transfer-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100vw - 48px);
  max-height: min(720px, 100vh - 48px);
  overflow: auto;
  padding: 38px;
  border-radius: 30px;
}

.vehicle-transfer-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.vehicle-transfer-dialog-header h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 700;
}

.vehicle-transfer-dialog-header p {
  margin: 8px 0 0;
  color: #6d6d6d;
  font-size: 14px;
}

.vehicle-transfer-form {
  display: grid;
  gap: 25px;
}

.vehicle-transfer-actions {
  margin-top: 0;
}

.vehicle-transfer-note-list {
  display: grid;
  gap: 10px;
  padding: 6px 0 0;
}

.vehicle-transfer-note-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(111, 90, 72, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.vehicle-transfer-note-item strong {
  display: block;
  font-size: 13px;
}

.vehicle-transfer-note-item small {
  display: block;
  margin-top: 2px;
  color: #6d6d6d;
}

.vehicle-transfer-note-item p {
  margin: 8px 0 0;
  color: #1d1d1f;
  font-size: 13px;
}

.vehicle-reservation-modal[hidden] {
  display: none;
}

.vehicle-reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 32px;
}

.vehicle-reservation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(220, 228, 238, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vehicle-reservation-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100vw - 48px);
  max-height: min(720px, 100vh - 48px);
  overflow: auto;
  padding: 38px;
  border-radius: 30px;
}

.vehicle-reservation-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.vehicle-reservation-dialog-header h2 {
  margin: 0;
  color: #18191f;
  font-size: 24px;
  font-weight: 700;
}

.vehicle-reservation-dialog-header p {
  margin: 8px 0 0;
  color: #6c7480;
  font-size: 14px;
}

.vehicle-reservation-form {
  display: grid;
  gap: 25px;
}

.vehicle-reservation-actions {
  margin-top: 0;
}

.vehicle-reservation-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 18px;
}

.vehicle-reservation-alert-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.vehicle-reservation-alert-actions .inline-icon-form {
  display: inline-flex;
  margin: 0;
}

.vehicle-reservation-alert-actions .section-inline-icon-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.vehicle-detail-split-stack {
  display: grid;
  gap: 25px;
}

.vehicle-details-secondary-card {
  padding-top: 34px;
}

.vehicle-commercial-detail-grid .detail-separator-row {
  grid-column: 1/-1;
  min-height: 25px;
}

.vehicle-last-invoice-row a {
  color: #2374c6;
  text-decoration: none;
}

.vehicle-last-invoice-row a:hover {
  text-decoration: underline;
}

.special-report-master-filter-form {
  align-items: flex-end;
}

.special-report-master-filter-form .report-type-filter-field {
  min-width: 240px;
}

.range-filter-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: 10px;
}

.report-table--wide {
  min-width: 2600px;
}

.login-page-body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: Montserrat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(247, 241, 232, 0.96) 42%, rgba(235, 224, 209, 0.98) 100%);
  color: #18191f;
  overflow: hidden;
}

.login-particle-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-background-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at center, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.995) 42%, rgba(255, 255, 255, 0.985) 100%);
  transition: opacity 1012ms ease-out;
}

.login-particle-page.is-checking .login-background-wash,
.login-particle-page.is-invalid .login-background-wash {
  opacity: 1;
}

.login-particle-page.is-returning .login-background-wash {
  opacity: 0;
  transition: opacity 1040ms ease-out;
}

#loginParticleCloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-particle-shell {
  position: relative;
  z-index: 2;
  width: min(390px, 100vw - 48px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 520ms ease, filter 620ms ease, transform 620ms ease;
}

.login-particle-logo {
  margin: 0 0 32px;
  letter-spacing: -0.065em;
  line-height: 1;
  font-weight: 700;
  font-size: 42px;
  text-align: center;
  color: #8a6a3a;
  text-shadow: 0 0 2px rgb(255, 255, 255), 0 0 4px rgb(255, 255, 255), 0 0 8px rgb(255, 255, 255), 0 0 16px rgba(255, 255, 255, 0.98), 0 0 30px rgba(255, 255, 255, 0.94), 0 0 44px rgba(255, 255, 255, 0.78);
}

.login-particle-logo span:first-child {
  color: #18191f;
}

.login-particle-logo small {
  margin-left: 5px;
  font-size: 0.52em;
  letter-spacing: -0.04em;
  color: #8a6a3a;
  vertical-align: super;
}

.login-particle-shell form {
  display: grid;
  gap: 14px;
}

.login-particle-shell label {
  display: grid;
  gap: 7px;
  color: #7a8190;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.login-particle-shell input {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(142, 127, 111, 0.28);
  background: rgba(255, 255, 255, 0.78);
  padding: 0 18px;
  outline: none;
  color: #18191f;
  font-size: 15px;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-particle-shell input:focus {
  border-color: rgba(111, 90, 72, 0.58);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(111, 90, 72, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.login-particle-shell button {
  height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #8a6a3a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(111, 90, 72, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

.login-particle-shell button:hover {
  background: #5d4a3a;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(111, 90, 72, 0.26);
}

.login-particle-shell button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(111, 90, 72, 0.2);
}

.login-particle-shell button:disabled {
  cursor: default;
  opacity: 0.82;
  transform: none;
}

.login-particle-error {
  min-height: 18px;
  margin-top: 16px;
  color: rgba(113, 120, 132, 0.9);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.login-particle-error.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.login-failure-mark {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  filter: blur(18px);
  transform: scale(0.92);
  transition: opacity 420ms ease, filter 620ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-failure-icon {
  display: grid;
  place-items: center;
  color: rgba(132, 140, 152, 0.94);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.96), 0 0 34px rgba(255, 255, 255, 0.82);
}

.login-failure-icon .material-symbols-rounded {
  font-size: 122px;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 250, "GRAD" 0, "opsz" 48;
}

.login-particle-page.is-checking .login-particle-shell,
.login-particle-page.is-invalid .login-particle-shell {
  opacity: 0;
  filter: blur(22px);
  transform: scale(0.96);
}

.login-particle-page.is-invalid .login-failure-mark {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.login-particle-page.is-returning .login-particle-shell {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition: opacity 1040ms ease, filter 1040ms ease, transform 1040ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-particle-page.is-returning .login-failure-mark {
  opacity: 0;
  filter: blur(24px);
  transform: scale(1.08);
  transition: opacity 4160ms ease-out, filter 2080ms ease-out, transform 2080ms ease-out;
}

@media (max-width: 560px) {
  .login-particle-logo {
    font-size: 38px;
  }
}
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2390;
  background: rgba(8, 12, 20, 0.44);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2400;
  width: min(84vw, 360px);
  max-width: 360px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.14);
  transform: translateX(-100%);
  transition: transform 0.18s ease;
  overflow: auto;
}

.mobile-menu-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-head-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.mobile-menu-head-icons .header-icon-btn {
  width: 40px;
  height: 40px;
}

.mobile-menu-close .material-symbols-outlined {
  font-size: 24px;
}

.mobile-menu-groups {
  list-style: none;
  margin: 0;
  padding: 8px 0 14px;
}

.mobile-menu-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px 9px 34px;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mobile-menu-group-toggle .material-symbols-outlined {
  font-size: 22px;
  color: #6e6e73;
  transition: transform 0.18s ease;
}

.mobile-menu-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.18s ease;
}

.mobile-menu-group.is-open .mobile-menu-sublist {
  max-height: 60vh;
}

.mobile-menu-group.is-open .mobile-menu-group-toggle .material-symbols-outlined {
  transform: rotate(180deg);
}

.mobile-menu-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 46px;
  color: #6e6e73;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
}

.mobile-menu-sub-link .material-symbols-outlined {
  font-size: 20px;
}

.mobile-menu-sub-link.active,
.mobile-menu-sub-link:hover {
  color: #8a6a3a;
  background: #eee7de;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
}

body.mobile-menu-open .mobile-menu-drawer {
  transform: translateX(0);
}

@media (max-width: 980px) {
  header {
    height: auto;
    min-height: 0;
    padding: 0 12px;
  }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo mobile-toggle";
    align-items: center;
    gap: 0;
  }
  .logo-link {
    grid-area: logo;
  }
  .logo-link-secrets {
    min-width: 0;
    margin-left: 0;
  }
  .logo {
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 18px;
    font-size: 44px;
  }
  .secrets-logo-image {
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 18px;
    width: 180px;
    height: auto;
    max-width: min(56vw, 180px);
  }
  .mobile-menu-toggle {
    grid-area: mobile-toggle;
    display: inline-flex;
    align-self: center;
  }
  .mobile-menu-toggle .material-symbols-outlined {
    font-size: 34px;
  }
  .main-nav {
    display: none;
  }
  .header-right-desktop {
    display: none;
  }
  .search-wrapper {
    display: none;
  }
  aside.drawer {
    display: none;
  }
  .app-wrapper {
    margin-top: 101px;
    min-height: calc(100vh - 119px);
  }
  main {
    padding: 16px 14px 22px;
  }
}
/*# sourceMappingURL=style.css.map */

/* SILLAGE project overrides */
:root {
  --sillage-cream: #f6f1ea;
  --sillage-parchment: #ebe0d1;
  --sillage-stone: #d7cec1;
  --sillage-tobacco: #836955;
  --sillage-black: #211d1b;
  --sillage-muted: #786f68;
  --brand-primary: #8a6a3a;
  --surface-page: #f8f6f3;
  --surface-hover-soft: #eee7de;
  --text-title-soft-blue: #967447;
  --text-blue-soft: #7c6140;
}

.sillage-admin .logo,
.sillage-logo {
  letter-spacing: 0.04em;
  font-size: 34px;
}

.sillage-admin .logo-wordmark-primary {
  color: var(--sillage-black);
}

.sillage-admin .logo-wordmark-secondary {
  color: var(--sillage-tobacco);
  letter-spacing: .06em;
}

.sillage-admin .logo-link-secrets {
  align-self: center;
}

.sillage-admin .secrets-logo-image {
  width: 180px;
  height: auto;
  max-width: 100%;
}

.sillage-admin .page-hero-icon,
.sillage-admin .section-title-icon,
.sillage-admin .stat-card-icon,
.sillage-check {
  color: var(--sillage-tobacco);
}

.sillage-hero-card .exchange-rate-icon {
  background: var(--sillage-parchment);
  color: var(--sillage-black);
}

.sillage-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.sillage-module-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #faf7f2);
  color: var(--text-strong);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 31, 25, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sillage-module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 90, 72, .26);
  box-shadow: 0 18px 34px rgba(39, 31, 25, 0.09);
}

.sillage-module-card .material-symbols-outlined {
  color: var(--sillage-tobacco);
  font-size: 28px;
}

.sillage-module-card small,
.sillage-priority-item p {
  color: var(--text-soft);
}

.sillage-priority-item {
  align-items: flex-start;
}

.public-site {
  background: #f7f1e8;
  color: #211d1b;
  min-height: 100vh;
}

.public-hold-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 18% 16%, rgba(193, 149, 88, 0.34), transparent 28%),
    radial-gradient(circle at 74% 82%, rgba(118, 83, 41, 0.16), transparent 34%),
    linear-gradient(135deg, #4a3320 0%, #21160e 42%, #050505 100%);
}

.public-hold-screen-copy {
  max-width: 420px;
  text-align: center;
}

.public-hold-screen-copy p {
  color: rgba(233, 222, 208, 0.84);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.public-hold-screen-copy p .public-hold-line-primary {
  display: block;
  font-family: "Barlow Condensed", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: rgba(211, 196, 177, 0.76);
  background: radial-gradient(
    115% 150% at 8% 0%,
    rgba(237, 226, 211, 0.9) 0%,
    rgba(225, 210, 191, 0.84) 12%,
    rgba(213, 197, 177, 0.78) 24%,
    rgba(204, 188, 169, 0.72) 34%,
    rgba(211, 196, 177, 0.76) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.public-hold-underlay {
  pointer-events: none;
  user-select: none;
  filter: blur(3px);
  opacity: 0.08;
}

.sillage-public-shell {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.82), transparent 34%),
    linear-gradient(135deg, #f8f3eb 0%, #e9ded0 54%, #c9b9a8 100%);
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0;
}

.public-brand {
  color: #211d1b;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.public-nav-links a {
  color: #4e443c;
  font-size: 14px;
  text-decoration: none;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 28px;
  max-width: 1180px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 70px 0 34px;
}

.public-hero-panel {
  max-width: 760px;
  padding: 42px;
  border: 1px solid rgba(33,29,27,.12);
  border-radius: 34px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(16px);
  box-shadow: 0 34px 90px rgba(59, 48, 38, .12);
}

.public-hero-panel .eyebrow {
  margin-bottom: 18px;
  color: #967447;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.public-hero-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.06em;
}

.public-hero-panel p {
  max-width: 580px;
  color: #5f554d;
  font-size: 18px;
  line-height: 1.6;
}

.public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.public-atmosphere-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(33,29,27,.12);
  border-radius: 30px;
  background: rgba(33, 29, 27, .84);
  color: #f8f3eb;
  box-shadow: 0 34px 90px rgba(33, 29, 27, .18);
}

.public-atmosphere-card span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.public-room-grid article,
.public-note {
  padding: 24px;
  border: 1px solid rgba(33,29,27,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.34);
}

.public-room-grid span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.public-room-grid p,
.public-note p {
  color: #62584f;
  line-height: 1.55;
}

.public-note {
  max-width: 1180px;
  margin: 16px auto 0;
}

@media (max-width: 900px) {
  .public-hero,
  .public-room-grid {
    grid-template-columns: 1fr;
  }

  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-hero-panel {
    padding: 28px;
  }
}
