/* web/rentalWorkspace.css */
.rental-workspace {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #f6f8f8;
  color: #17332e;
  box-sizing: border-box;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 14px;
  text-align: left;
}
.rental-workspace * {
  box-sizing: border-box;
}
.rental-workspace[open] {
  display: grid !important;
  grid-template-columns: 218px minmax(0, 1fr);
}
.rental-workspace::backdrop {
  background: #10392eaa;
}
.rental-workspace button {
  font: inherit;
  cursor: pointer;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d9e3e0;
  border-radius: 9px;
  background: white;
  color: #24453b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.3;
}
.rental-workspace button:hover {
  background: #edf5f1;
  border-color: #a7c5b8;
}
.rental-workspace button:focus-visible,
.rental-workspace input:focus-visible,
.rental-workspace select:focus-visible {
  outline: 3px solid #e3ac35;
  outline-offset: 2px;
}
.rental-workspace button:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.rental-workspace button.rw-primary {
  background: #116348;
  color: white;
  border-color: #116348;
}
.rental-workspace button.rw-primary:hover {
  background: #0a4b36;
}
.rental-workspace h2,
.rental-workspace h3,
.rental-workspace h4,
.rental-workspace p {
  margin: 0;
}
.rental-workspace h2 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.18;
}
.rental-workspace h3 {
  font-size: 18px;
  letter-spacing: -.35px;
}
.rental-workspace h4 {
  font-size: 15px;
}
.rental-workspace small,
.rw-muted {
  color: #657a73;
}
.rw-rail {
  background: #0b332a;
  color: #e6efe9;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 0;
}
.rw-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.rw-brand strong {
  font-size: 17px;
  letter-spacing: -.3px;
}
.rw-brand small {
  display: block;
  color: #a8c9b7;
  font-size: 11px;
  letter-spacing: .5px;
}
.rw-brandmark {
  display: grid;
  place-items: center;
  background: #eec661;
  color: #163f2d;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 24px;
}
.rw-nav {
  display: grid;
  gap: 6px;
}
.rw-nav button {
  background: transparent !important;
  border: 0 !important;
  color: #acc7bb !important;
  justify-content: flex-start;
  min-height: 43px;
  white-space: nowrap;
}
.rw-nav button[aria-current=page] {
  background: #ffffff12 !important;
  color: white !important;
  box-shadow: inset 3px 0 #efc862;
}
.rw-rail-note {
  margin-top: auto;
  font-size: 12px;
  color: #abc4b8;
  line-height: 1.6;
  padding-top: 18px;
  border-top: 1px solid #ffffff18;
}
.rw-rail-note b {
  color: #ecd491;
  display: block;
  margin-bottom: 4px;
}
.rw-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.rw-top {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid #e1e8e4;
  background: white;
  min-height: 73px;
  flex-wrap: wrap;
}
.rw-search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 130px;
  color: #80958a;
}
.rw-search input {
  border: 0 !important;
  background: transparent !important;
  width: 100%;
  font-size: 14px !important;
  padding: 6px 0 !important;
  outline-offset: 0;
}
.rw-top label {
  font-size: 11px;
  color: #607569;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.rw-top input[type=month] {
  border: 1px solid #e0e8e2;
  background: #f7faf8;
  border-radius: 7px;
  font: inherit;
  padding: 8px;
  color: #2c5042;
  width: 146px;
}
.rw-top .rw-close {
  padding: 7px;
  border: 0;
  background: #f0f5f1;
  min-width: 34px;
}
.rw-content {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: 27px 30px 40px;
  overscroll-behavior: contain;
}
.rw-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: #87968e;
  font-size: 12px;
}
.rw-breadcrumb button {
  border: 0;
  background: none;
  padding: 0;
  min-height: 24px;
  font-size: 12px;
  color: #527363;
}
.rw-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.rw-intro p {
  margin-top: 9px;
  color: #6f8078;
  line-height: 1.6;
  max-width: 660px;
}
.rw-eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: #7e937b;
  display: block;
  margin-bottom: 8px;
}
.rw-intro-art {
  width: 98px;
  height: 77px;
  flex-shrink: 0;
  background:
    radial-gradient(
      circle at 73% 24%,
      #e6bc55 0 14px,
      transparent 15px),
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      #a0b7a950 13px 14px),
    repeating-linear-gradient(
      90deg,
      #dce9e1 0 20px,
      #a0b7a950 21px 22px);
  border-radius: 14px;
  transform: skewY(-6deg);
  opacity: .9;
}
.rw-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 27px;
}
.rw-metric {
  background: white;
  border: 1px solid #e0e7e2;
  padding: 17px 18px;
  border-radius: 12px;
  min-width: 0;
}
.rw-metric small {
  display: block;
  font-size: 11px;
}
.rw-metric b {
  display: block;
  font-size: 25px;
  letter-spacing: -.8px;
  margin-top: 8px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.rw-metric em {
  font-style: normal;
  font-size: 10px;
  color: #7c8d83;
  display: block;
  margin-top: 6px;
}
.rw-metric.rw-money {
  background: #edf5ef;
  border-color: #d8e7dc;
}
.rw-metric.rw-attention b {
  color: #ac722b;
}
.rw-sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.rw-sectionhead p {
  font-size: 12px;
  color: #718277;
  margin-top: 4px;
}
.rw-sectionhead select {
  padding: 8px;
  border: 1px solid #dce4df;
  border-radius: 8px;
  background: white;
  font: inherit;
  font-size: 12px;
}
.rw-list {
  display: grid;
  gap: 10px;
}
.rental-workspace .rw-record {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  background: white;
  border: 1px solid #dde6e0;
  border-radius: 12px;
  padding: 18px;
  gap: 14px;
  box-shadow: 0 2px 3px #173a2003;
}
.rw-record-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}
.rw-record-main b {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.rw-record-main small {
  font-size: 11px;
  line-height: 1.5;
}
.rw-record-icon {
  display: grid;
  place-items: center;
  background: #edf4ef;
  border: 1px solid #e0e9e2;
  color: #487959;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}
.rw-record-end {
  display: grid;
  gap: 6px;
  text-align: right;
  font-size: 12px;
}
.rw-record-end small {
  font-size: 11px;
}
.rw-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: #edf1ef;
  color: #697a70;
  line-height: 1.3;
  width: fit-content;
  white-space: nowrap;
}
.rw-badge.good {
  background: #e8f4eb;
  color: #368353;
}
.rw-badge.warn {
  background: #fbf1d8;
  color: #996a20;
}
.rw-badge.blue {
  background: #eaf1f8;
  color: #457797;
}
.rw-empty {
  background: white;
  border: 1px dashed #d0dcd3;
  border-radius: 12px;
  padding: 35px 22px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: #698071;
  line-height: 1.6;
}
.rw-empty h3 {
  color: #2a4939;
}
.rw-empty p {
  max-width: 470px;
  font-size: 13px;
}
.rw-alert {
  border: 1px solid #ecdab8;
  background: #fff9eb;
  padding: 13px 15px;
  border-radius: 10px;
  color: #896327;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.rw-error {
  border-color: #e6c6c6;
  background: #fff3f3;
  color: #a33c3c;
}
.rw-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #dce5df;
  margin: 20px 0;
  overflow-x: auto;
}
.rw-tabs button {
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  background: transparent;
  padding: 9px 0 13px;
  min-height: 36px;
  font-size: 12px;
}
.rw-tabs button[aria-current=page] {
  box-shadow: inset 0 -2px #1c694a;
  color: #1c694a;
  font-weight: 700;
}
.rw-paper {
  background: white;
  border: 1px solid #e0e8e1;
  border-radius: 13px;
  padding: 23px;
  margin-bottom: 16px;
}
.rw-paper > p {
  color: #718175;
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 15px;
}
.rw-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.rw-party {
  display: grid;
  gap: 6px;
  background: #f7f9f7;
  border: 1px solid #e5ebe5;
  border-radius: 10px;
  padding: 15px;
}
.rw-party small {
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.rw-party button {
  justify-content: flex-start;
  border: 0;
  background: none;
  padding: 0;
  min-height: 28px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.rw-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 18px 0 8px;
}
.rw-flow > div {
  border: 1px solid #e2eae3;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 9px;
  min-width: 0;
}
.rw-flow small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.rw-flow b {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rw-flow .rw-flow-value {
  color: #32704f;
}
.rw-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.rw-tags button {
  font-size: 11px;
  padding: 6px 9px;
  min-height: 29px;
}
.rental-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.rental-workspace .rental-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  padding: 22px;
  border: 1px solid #e0e7e1;
  border-radius: 12px;
  background: white;
}
.rental-form label,
.rental-detail label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #44624e;
}
.rental-form h3,
.rental-form small,
.rental-form p,
.rental-form > div {
  grid-column: 1/-1;
}
.rental-workspace input:not([type=checkbox]),
.rental-workspace select,
.rental-workspace textarea {
  max-width: 100%;
  font: inherit;
  font-size: 14px;
  border: 1px solid #d7e1d9;
  border-radius: 7px;
  padding: 9px;
  background: white;
  color: #244833;
}
.rental-form input[type=checkbox] {
  align-self: flex-start;
}
.rental-form select[multiple] {
  min-height: 110px;
}
.rental-workspace textarea {
  line-height: 1.5;
  resize: vertical;
}
.rental-form p,
.rental-form small {
  font-size: 11px;
  color: #718276;
  line-height: 1.6;
}
.rental-row {
  background: #fff;
  border: 1px solid #e1e9e1;
  border-radius: 9px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.rental-row > span {
  font-size: 12px;
}
.rental-detail > h4 {
  margin: 20px 0 12px;
}
.rental-detail > p {
  font-size: 12px;
  color: #6d7f71;
  line-height: 1.6;
  margin: 9px 0;
}
.rental-detail > label {
  margin: 15px 0;
  max-width: 600px;
}
.rw-receivers > p {
  font-size: 12px;
  color: #6b8170;
  margin: 8px 0 18px;
  line-height: 1.6;
}
.rw-receivers h3 {
  margin-bottom: 8px;
}
.rw-launcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid #d4e2d8;
  background:
    linear-gradient(
      115deg,
      #f0f6f0,
      #fff);
  border-radius: 11px;
  margin: 12px 0;
  color: #244b32;
}
.rw-launcher div {
  display: grid;
  gap: 4px;
}
.rw-launcher small {
  font-size: 11px;
  color: #6a7e6d;
}
.rw-launcher button {
  border: 1px solid #b8d0c0;
  border-radius: 8px;
  padding: 8px 12px;
  background: white;
  color: #225b38;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}
.rw-launcher strong {
  font-size: 14px;
}
@media (min-width: 1400px) {
  .rw-content {
    padding: 32px 42px;
  }
  .rw-list {
    gap: 12px;
  }
  .rw-record {
    padding: 20px !important;
  }
}
@media (max-width: 1000px) {
  .rental-workspace[open] {
    grid-template-columns: 174px minmax(0, 1fr);
  }
  .rw-rail {
    padding: 22px 12px;
  }
  .rw-content {
    padding: 22px;
  }
  .rw-top {
    padding: 14px 20px;
  }
  .rw-metric {
    padding: 14px;
  }
  .rw-metric b {
    font-size: 21px;
  }
  .rw-intro-art {
    display: none;
  }
}
@media (max-width: 680px) {
  .rental-workspace[open] {
    display: flex !important;
    flex-direction: column;
  }
  .rw-rail {
    padding: 0;
    display: contents;
  }
  .rw-brand,
  .rw-rail-note {
    display: none;
  }
  .rw-nav {
    order: 3;
    display: flex;
    flex-shrink: 0;
    overflow-x: auto;
    background: #0b332a;
    padding: 5px 7px calc(5px + env(safe-area-inset-bottom));
    gap: 2px;
  }
  .rw-nav button {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 53px;
    min-height: 51px;
    font-size: 9px !important;
    padding: 5px !important;
    border-radius: 5px !important;
  }
  .rw-nav button[aria-current=page] {
    box-shadow: inset 0 2px #efc862;
  }
  .rw-nav button svg {
    width: 17px;
    height: 17px;
  }
  .rw-main {
    flex: 1;
    order: 1;
  }
  .rw-top {
    padding: 10px 12px;
    gap: 8px;
    min-height: 55px;
    flex-wrap: nowrap;
  }
  .rw-top label {
    font-size: 0;
    gap: 0;
  }
  .rw-top input[type=month] {
    width: 113px;
    padding: 7px 3px;
    font-size: 11px;
  }
  .rw-search input {
    font-size: 12px !important;
  }
  .rw-search {
    min-width: 80px;
    gap: 6px;
  }
  .rw-search svg {
    width: 16px;
    flex-shrink: 0;
  }
  .rw-top .rw-close {
    min-width: 29px;
    min-height: 29px;
    padding: 4px;
  }
  .rw-content {
    padding: 17px 13px 25px;
  }
  .rw-breadcrumb {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .rw-breadcrumb button {
    font-size: 10px;
  }
  .rw-intro {
    margin-bottom: 18px;
    gap: 9px;
    align-items: flex-start;
  }
  .rental-workspace h2 {
    font-size: 23px;
    letter-spacing: -.7px;
  }
  .rw-intro p {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 7px;
  }
  .rw-eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .rw-intro .rw-primary {
    font-size: 11px;
    padding: 7px 9px;
    min-height: 32px;
  }
  .rw-metrics {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }
  .rw-metric {
    padding: 12px;
  }
  .rw-metric b {
    font-size: 22px;
    margin-top: 6px;
  }
  .rw-metric small {
    font-size: 10px;
  }
  .rw-metric em {
    font-size: 9px;
  }
  .rw-sectionhead {
    gap: 8px;
    margin-bottom: 11px;
  }
  .rw-sectionhead h3 {
    font-size: 15px;
  }
  .rw-sectionhead p {
    font-size: 10px;
  }
  .rw-record {
    padding: 12px !important;
    gap: 9px !important;
  }
  .rw-record-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .rw-record-main b {
    font-size: 12px;
  }
  .rw-record-main small {
    font-size: 10px;
  }
  .rw-record-end {
    font-size: 11px;
  }
  .rw-record-end small {
    font-size: 9px;
  }
  .rw-record > svg {
    width: 14px;
  }
  .rw-badge {
    font-size: 9px;
    padding: 4px 6px;
  }
  .rw-tabs {
    gap: 15px;
    margin: 15px 0;
  }
  .rw-tabs button {
    font-size: 11px;
  }
  .rw-paper {
    padding: 16px;
  }
  .rw-party-grid {
    gap: 8px;
  }
  .rw-party {
    padding: 10px;
  }
  .rw-party button {
    font-size: 11px;
  }
  .rw-party small {
    font-size: 8px;
  }
  .rw-flow {
    gap: 5px;
    grid-template-columns: 1fr auto 1fr;
  }
  .rw-flow > div {
    padding: 10px;
  }
  .rw-flow > div:nth-of-type(3) {
    grid-column: 1/-1;
  }
  .rw-flow > svg:nth-of-type(2) {
    display: none;
  }
  .rw-flow small {
    font-size: 8px;
  }
  .rw-flow b {
    font-size: 11px;
  }
  .rental-workspace .rental-form {
    padding: 14px;
    gap: 13px;
  }
  .rental-actions button {
    font-size: 11px;
    padding: 7px 9px;
  }
  .rw-launcher {
    padding: 11px;
  }
  .rw-launcher strong {
    font-size: 12px;
  }
  .rw-launcher small {
    font-size: 10px;
  }
  .rw-launcher button {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rw-record {
    transition: border-color .15s, background .15s;
  }
  .rw-content {
    scroll-behavior: smooth;
  }
}
.rental-workspace .rw-rail {
  position: static !important;
  transform: none !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
  visibility: visible !important;
  display: flex !important;
  z-index: auto !important;
  box-shadow: none !important;
}
.rental-workspace .rw-main {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
}
@media (max-width: 680px) {
  .rental-workspace .rw-rail {
    display: contents !important;
  }
  .rental-workspace .rw-nav {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-height: 61px;
  }
  .rw-metric.rw-money b {
    font-size: 20px;
    white-space: nowrap;
    letter-spacing: -.65px;
  }
  .rental-workspace input:not([type=checkbox]),
  .rental-workspace select,
  .rental-workspace textarea {
    font-size: 16px;
  }
  .rw-top .rw-search input {
    font-size: 16px !important;
  }
  .rw-top input[type=month] {
    font-size: 11px !important;
  }
}
.rw-nav-short {
  display: none;
}
@media (max-width: 680px) {
  .rw-nav-short {
    display: inline;
  }
  .rw-nav-long {
    display: none;
  }
  .rw-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 5px;
    overflow: visible;
  }
  .rw-tabs button {
    white-space: normal;
    text-align: center;
    font-size: 10px;
    min-height: 40px;
    padding: 7px 2px;
  }
}
.rental-workspace .rw-nav button {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.rental-workspace .rw-tabs button {
  font-size: 12px !important;
  line-height: 1.35 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
@media (max-width: 680px) {
  .rental-workspace .rw-nav button {
    font-size: 9px !important;
  }
  .rental-workspace .rw-tabs button {
    font-size: 10px !important;
  }
}
dialog.rental-workspace .rw-rail .rw-nav button {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
dialog.rental-workspace .rw-main .rw-tabs button {
  font-size: 12px !important;
  line-height: 1.35 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  padding: 9px 0 13px !important;
}
@media (max-width: 680px) {
  dialog.rental-workspace .rw-rail .rw-nav button {
    font-size: 9px !important;
    padding: 5px !important;
  }
  dialog.rental-workspace .rw-main .rw-tabs button {
    font-size: 10px !important;
    padding: 7px 2px !important;
  }
}
