.owner-admin {
  background: #edf8f5;
  color: #154d4f;
}
.owner-admin .btn.dark {
  background: #08777b;
  color: #fff;
}
.owner-admin .brand-dot {
  color: #ffba48;
}
.loading-owner {
  padding: 50px;
}
.owner-entrance {
  width: min(550px, calc(100% - 36px));
  margin: 55px auto;
}
.owner-entrance > a {
  display: inline-block;
  margin-bottom: 25px;
}
.entrance-panel {
  background: white;
  border: 1px solid #c7e4d9;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 10px 12px 0 #ffe298;
  margin-bottom: 30px;
}
.entrance-panel h1 {
  font-size: 39px;
  margin: 18px 0 22px;
}
.entrance-panel > p {
  color: #526b65;
}
.entrance-panel form {
  margin-top: 25px;
}
.form-error {
  color: #a12847;
  font-size: 14px;
  margin: 18px 0 0;
}
.owner-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.owner-sidebar {
  background: #06696e;
  color: #fff;
  padding: 32px 23px;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.owner-sidebar .brand {
  font-size: 32px;
}
.owner-caption {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c9f2dd;
  padding-top: 15px;
}
.owner-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.owner-sidebar nav button {
  text-align: left;
  padding: 14px 12px;
  border-radius: 8px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.owner-sidebar nav button.active {
  background: #fff5ca;
  color: #23564e;
  font-weight: 700;
}
.owner-sidebar nav button span {
  margin-left: auto;
  background: #ffcb55;
  color: #174d43;
  padding: 3px 7px;
  border-radius: 10px;
  font-size: 12px;
}
.owner-site-link {
  font-size: 13px;
  line-height: 1.5;
}
#logout {
  margin-top: auto;
  text-align: left;
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid #ffffff30;
}
.owner-main {
  padding: 42px 38px 65px;
  min-width: 0;
}
.owner-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.owner-header h1 {
  font-size: 45px;
  margin: 13px 0 20px;
}
.owner-secure {
  font-size: 12px;
  padding: 9px 12px;
  border: 1px solid #b4d7c7;
  background: #d7f2dc;
  border-radius: 25px;
}
.owner-lead {
  color: #516e65;
  max-width: 790px;
}
.request-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 28px 0;
}
.count-card {
  padding: 19px;
  border-radius: 12px;
  text-align: left;
  background: white;
  border: 1px solid #cfdfd6 !important;
}
.count-card.new {
  background: #ffe699;
}
.count-card.in_progress {
  background: #c7efea;
}
.count-card.waiting {
  background: #ffe0e7;
}
.count-card.done {
  background: #deedc1;
}
.count-card > span {
  display: block;
  font-size: 14px;
}
.count-card > strong {
  display: block;
  font-size: 35px;
  margin-top: 13px;
}
.request-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.search-box {
  flex: 1;
  min-width: 100px;
}
.request-controls input,
.request-controls select {
  width: 100%;
  padding: 14px 12px;
  min-height: 50px;
  background: #fff;
  color: #204d4a;
  border: 1px solid #bed9ce;
  border-radius: 8px;
  font-size: 15px;
}
.request-controls .btn {
  min-height: 50px;
  padding: 12px 16px;
}
.request-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(290px, 1.15fr);
  gap: 22px;
  align-items: start;
}
.request-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 21px;
  border: 1px solid #cedfd6 !important;
  border-radius: 12px;
  background: white;
}
.request-card.selected {
  border: 2px solid #08777b !important;
  padding: 20px;
  background: #f8fff7;
}
.request-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.request-card-head strong {
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.request-card > span:nth-child(2) {
  display: block;
  font-size: 13px;
  margin-top: 10px;
  color: #62796d;
}
.request-card > p {
  font-size: 14px;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.request-card > small {
  font-size: 11px;
  line-height: 1.5;
  color: #63796b;
}
.request-badge {
  font-size: 11px;
  white-space: nowrap;
  border-radius: 15px;
  padding: 5px 8px;
  background: #e4eee6;
}
.request-badge.new {
  background: #ffdc74;
}
.request-badge.in_progress {
  background: #bde9df;
}
.request-badge.waiting {
  background: #f9d8e2;
}
.request-badge.done {
  background: #ddecba;
}
.request-detail {
  padding: 28px;
  background: white;
  border: 1px solid #cddfd4;
  border-radius: 14px;
  min-height: 400px;
  scroll-margin-top: 20px;
}
.request-detail h2 {
  font-size: 30px;
  margin: 13px 0;
  overflow-wrap: anywhere;
}
.request-detail .eyebrow {
  font-size: 11px;
}
.detail-activity {
  color: #607469;
  font-size: 15px;
}
.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px;
  background: #f0f7ef;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.contact-box span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.contact-box button {
  flex-shrink: 0;
}
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.service-pills > span {
  border: 1px solid #d2e0d2;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 12px;
}
.request-message {
  border-block: 1px solid #d8e4d7;
  padding-block: 22px;
  margin-bottom: 25px;
}
.request-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 15px;
}
.delete-request {
  color: #a12d51;
  margin-top: 27px;
}
.owner-empty,
.detail-empty {
  padding: 25px 12px;
}
.owner-empty > span {
  font-size: 45px;
}
.owner-empty h2,
.detail-empty h2 {
  font-size: 26px;
  margin-top: 20px;
}
.owner-empty p,
.detail-empty p {
  color: #61746a;
  font-size: 15px;
}
.owner-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px;
  margin-top: 30px;
  align-items: start;
}
.owner-card {
  background: white;
  border: 1px solid #cddfd4;
  border-radius: 14px;
  padding: 28px;
}
.owner-card h2 {
  font-size: 27px;
  margin-bottom: 25px;
}
.owner-card p {
  font-size: 15px;
  color: #5b7064;
  margin-top: 20px;
}
.owner-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.owner-form-actions > p {
  width: 100%;
  font-size: 14px;
}
.palette-samples {
  display: flex;
  gap: 10px;
}
.palette-samples span {
  width: 45px;
  height: 24px;
  border-radius: 5px;
  background: #00848b;
}
.palette-samples span:nth-child(2) {
  background: #ffd04d;
}
.palette-samples span:nth-child(3) {
  background: #ea4788;
}
.palette-samples span:nth-child(4) {
  background: #bfe9d4;
}
@media (max-width: 1150px) {
  .owner-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .owner-sidebar {
    padding-inline: 16px;
  }
  .owner-main {
    padding: 30px 24px 50px;
  }
  .owner-header h1 {
    font-size: 38px;
  }
  .request-workspace {
    grid-template-columns: 1fr;
  }
  .request-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .request-detail {
    min-height: 200px;
  }
  .owner-settings {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .owner-layout {
    display: block;
  }
  .owner-sidebar {
    position: static;
    height: auto;
    padding: 20px;
    gap: 18px;
  }
  .owner-sidebar .brand {
    font-size: 28px;
  }
  .owner-caption,
  .owner-site-link {
    display: none;
  }
  .owner-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .owner-sidebar nav button {
    font-size: 13px;
    padding: 11px;
  }
  #logout {
    position: absolute;
    top: 21px;
    right: 20px;
    border: 0;
    padding: 5px;
    font-size: 12px;
  }
  .owner-main {
    padding: 28px 18px 50px;
  }
  .owner-header h1 {
    font-size: 34px;
  }
  .owner-secure {
    font-size: 10px;
    padding: 8px;
    white-space: nowrap;
  }
  .request-counts {
    gap: 10px;
  }
  .count-card {
    padding: 15px 12px;
  }
  .count-card > span {
    font-size: 12px;
  }
  .count-card > strong {
    font-size: 29px;
  }
  .request-controls {
    flex-wrap: wrap;
  }
  .search-box {
    flex-basis: 100%;
  }
  .request-controls > label:nth-child(2) {
    flex: 1;
  }
  .request-list {
    grid-template-columns: 1fr;
  }
  .request-card-head strong {
    font-size: 18px;
  }
  .request-detail,
  .owner-card {
    padding: 23px;
  }
  .owner-entrance {
    margin-block: 30px;
  }
  .entrance-panel {
    padding: 26px;
  }
  .entrance-panel h1 {
    font-size: 34px;
  }
}
@media (max-width: 420px) {
  .request-counts {
    grid-template-columns: 1fr 1fr;
  }
  .owner-header {
    align-items: flex-start;
  }
  .owner-header h1 {
    font-size: 31px;
  }
}
