.owner-hero {
  padding: 32px 3%;
  background:
    linear-gradient(90deg, #202227 25%, #2022278c),
    url('https://images.unsplash.com/photo-1518780664697-55e3d94374e8?w=1500&q=75') center/cover;
  min-height: 175px;
  border-bottom: 1px solid var(--line);
}
.owner-hero h1 {
  font-size: 30px;
  margin: 0;
}
.owner-hero p {
  margin: 3px 0 20px;
}
.owner-hero div {
  color: #e3eff2;
  font-size: 13px;
}
.owner-layout {
  max-width: 1500px;
  margin: 18px auto;
  padding: 0 20px 70px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 270px;
  gap: 14px;
}
.steps {
  position: sticky;
  top: 82px;
  align-self: start;
  display: flex;
  flex-direction: column;
}
.steps a {
  padding: 10px;
  border-left: 2px solid transparent;
  border-radius: 6px;
}
.steps a:hover {
  background: #202227;
  border-color: var(--cyan);
}
.panel {
  background: linear-gradient(135deg, #202227, #202227);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  margin-bottom: 9px;
}
.panel h2 {
  color: #7ceaf7;
  font-size: 19px;
  margin: 0 0 4px;
}
.panel h3 {
  margin: 0 0 10px;
}
.panel p {
  font-size: 12px;
  color: #b5cbd4;
  margin: 0 0 12px;
}
.panel label {
  display: block;
  margin: 10px 0;
  color: #c2d7df;
  font-size: 12px;
}
.panel input:not([type='file']):not([type='checkbox']),
.panel select,
.panel textarea {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  margin-top: 5px;
  background: #202227;
  border: 1px solid #09617b;
  border-radius: 5px;
  color: white;
  font:
    13px Inter,
    Arial,
    sans-serif;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 15px;
}
.fields.four {
  grid-template-columns: repeat(4, 1fr);
}
.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.options label {
  border: 1px solid #0b4a61;
  border-radius: 6px;
  padding: 8px;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
.options input {
  accent-color: #25d3eb;
}
.extra-row {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 8px;
  margin: 8px 0;
}
.extra-row input {
  background: #202227;
  border: 1px solid #09617b;
  border-radius: 5px;
  color: #fff;
  padding: 8px;
  min-width: 0;
}
.extra-row button,
.outline {
  border: 1px solid #b28a46;
  border-radius: 6px;
  background: transparent;
  color: var(--gold);
  padding: 8px;
  cursor: pointer;
}
.previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.previews img {
  width: 94px;
  height: 75px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.save {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 15px 0;
}
.save .gold-button {
  max-width: 300px;
}
.save span {
  color: #98e7d5;
}
.tariff {
  position: sticky;
  top: 82px;
  align-self: start;
}
.tariff-price {
  background: linear-gradient(#ffdf8d, #e2a64a);
  color: #241e11;
  border-radius: 8px;
  padding: 13px;
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tariff-price b {
  width: 100%;
}
.tariff-price strong {
  font-size: 25px;
}
.tariff ul {
  padding-left: 20px;
  line-height: 2;
  color: #f7e8bd;
}
.tariff li::marker {
  content: '✓  ';
  color: var(--gold);
}
.tariff [role='status'] {
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .owner-layout {
    grid-template-columns: 125px minmax(0, 1fr);
  }
  .tariff {
    grid-column: 2;
    position: static;
  }
  .options {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .owner-layout {
    display: block;
    padding: 0 12px 60px;
  }
  .steps {
    position: static;
    flex-direction: row;
    overflow: auto;
  }
  .steps a {
    white-space: nowrap;
  }
  .fields.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .owner-hero h1 {
    font-size: 24px;
  }
}
@media (max-width: 470px) {
  .fields,
  .fields.four,
  .options {
    grid-template-columns: 1fr;
  }
  .extra-row {
    grid-template-columns: 1fr 90px auto;
  }
  .save {
    display: block;
  }
  .save .gold-button {
    max-width: none;
  }
}

.owner-benefits {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  max-width: 1150px;
}
.owner-benefits a {
  color: #e3eff2;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.owner-benefits a:hover,
.owner-benefits a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}
.owner-benefits .owner-inbox {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #0c6882;
  border-radius: 8px;
  color: #fff;
  background: #202227;
}
.owner-inbox-count {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--gold);
  color: #231b0e;
  font-weight: 800;
  font-size: 12px;
}
.owner-inbox-count[hidden] {
  display: none;
}
#support a {
  color: var(--gold);
}
@media (max-width: 700px) {
  .owner-benefits {
    gap: 11px 16px;
  }
  .owner-benefits .owner-inbox {
    margin-left: 0;
  }
}

.panel label,
.panel p {
  font-size: 14px;
  line-height: 1.5;
}
.panel input:not([type='checkbox']),
.panel select,
.panel textarea {
  font-size: 16px;
  min-width: 0;
}
.options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.options label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: normal;
}
.panel .options input[type='checkbox'] {
  display: block;
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin: 0;
  padding: 0;
  accent-color: #ffc344;
  cursor: pointer;
}
.owner-layout > *,
.fields > * {
  min-width: 0;
}
.owner-hero p {
  font-size: 16px;
}
@media (max-width: 1100px) {
  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 470px) {
  .options {
    grid-template-columns: 1fr;
  }
}
.moderation-timer {
  font: 700 32px/1.4 monospace;
  color: #ffc344;
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}
.admin-chat-messages {
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.admin-chat-message {
  padding: 12px;
  background: #202227;
  border: 1px solid #17617a;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.admin-chat-message.admin {
  border-color: #ffc344;
}
.admin-chat-widget textarea {
  width: 100%;
  min-height: 90px;
  margin-bottom: 10px;
}
.admin-chat-widget h3 {
  font-size: 18px;
}
#documentList a {
  display: block;
  color: #7ceaf7;
  padding: 8px 0;
}
#documentList {
  margin: 12px 0;
}
#submitDocuments {
  max-width: 330px;
}
