/* Shared surfaces for sign-in, partner workspaces and partner listings. */
.va-auth, .vp-page, .vp-admin, .vp-market {
  --vp-ink: #142847;
  --vp-muted: #516684;
  --vp-blue: #1754bc;
  --vp-line: #d9e5f5;
  --vp-soft: #edf4fd;
  color: var(--vp-ink);
}
.va-auth { padding: clamp(16px, 4vw, 53px) var(--voyage-gutter); background: radial-gradient(ellipse at 23% 7%, #e4efff, #f8fbff 72%); }
.va-auth__shell {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  margin-inline: auto;
  max-width: 988px;
  min-width: 0;
  background: #fff;
  border: 1px solid #d6e3f4;
  border-radius: clamp(14px, 2.15vw, 25px);
  overflow: hidden;
  box-shadow: 0 18px 53px #163d7320;
}
.va-auth__shell--login { max-width: 858px; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.va-auth__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  min-width: 0;
  padding: clamp(21px, 3.4vw, 40px);
  background: #10284f;
  color: #fff;
}
.va-auth__scene, .va-auth__visual::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.va-auth__scene { z-index: -2; object-fit: cover; object-position: center 53%; }
.va-auth__visual::after {
  z-index: -1; content: "";
  background: linear-gradient(180deg, #0b25466c, #0b2c5270 42%, #081d3cfb 94%);
}
.va-auth__mark { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #d5e7ff66; border-radius: 14px; color: #d9edff; background: #172f52e3; }
.va-auth__mark svg { width: 26px; height: 26px; }
.va-auth__visual-copy > span { color: #b1d7ff; font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.va-auth__visual h2 { margin: 7px 0 8px; color: #fff; font-size: clamp(1.26rem, 2.3vw, 1.82rem); line-height: 1.27; }
.va-auth__visual p { max-width: 30ch; margin: 0; color: #dfebfd; font-size: .87rem; line-height: 1.55; }
.va-auth__panel { align-self: center; min-width: 0; padding: clamp(17px, 3.1vw, 38px); }
.va-auth__heading { margin-bottom: 16px; }
.voyage #main-content .va-auth__heading h1, .voyage #main-content .vp-heading h1 {
  margin: 3px 0 4px;
  font: 720 clamp(1.56rem, 2.8vw, 2.36rem)/1.24 var(--voyage-sans) !important;
  color: inherit;
  letter-spacing: -.025em;
}
.va-auth__heading p { margin: 5px 0 0; color: var(--vp-muted); font-size: .84rem; line-height: 1.5; }
.va-auth .vp-field input:not([type="checkbox"]) { min-height: 48px; border-radius: 10px; background: #f6faff; }
.va-auth .vp-field input:focus { background: #fff; }
.va-auth .vp-button--primary { min-height: 46px; border-radius: 10px; background: #1c54c7; box-shadow: 0 4px 10px #1b50b230; }
.va-auth .vp-button--primary:hover { background: #15449f; }
.va-auth__strength { display: block; height: 4px; overflow: hidden; border-radius: 5px; background: #e0eafb; }
.va-auth__strength i { display: block; width: 0; height: 100%; background: #b75b23; }
.va-auth__strength.is-medium i { background: #2c6abb; }
.va-auth__strength.is-strong i { background: #27745c; }
.va-auth__recovery-state {
  display: flex; align-items: start; gap: 9px; margin-bottom: 12px; padding: 10px;
  border: 1px solid #e4dcce; border-radius: 10px; background: #fffbf3;
}
.va-auth__recovery-state > span { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 7px; background: #f9eacb; color: #784e19; }
.va-auth__recovery-state svg { width: 16px; height: 16px; }
.va-auth__recovery-state h2 { margin: 0 0 3px; font-size: .92rem; line-height: 1.35; }
.va-auth__recovery-state p { margin: 0; color: var(--vp-muted); font-size: .8rem; }
.vp-kicker { display: inline-block; color: var(--vp-blue); font-size: .72rem; font-weight: 770; line-height: 1.35; }
.va-auth__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 15px; }
.va-auth__types a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 6px 9px;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  color: var(--vp-ink);
  font-size: .76rem;
  font-weight: 680;
  line-height: 1.26;
  text-decoration: none;
}
.va-auth__types a .voyage-icon { width: 17px; height: 17px; flex: 0 0 17px; color: var(--vp-blue); }
.va-auth__types a:hover { border-color: #7ba6e7; background: #eaf3ff; color: #134796; }
.va-auth__types a[aria-current="page"] { border-color: #56a781; background: #e9f8ef; color: #145a3d; }
.va-auth__types a[aria-current="page"] .voyage-icon { color: #1b754f; }
.va-auth__type-check {
  display: grid;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-inline-start: auto;
  place-items: center;
  border-radius: 50%;
  background: #1b754f;
}
.va-auth__types a .va-auth__type-check .voyage-icon { width: 11px; height: 11px; color: white; }
.va-auth__input { position: relative; display: block; min-width: 0; }
.va-auth__input > .voyage-icon { position: absolute; top: 50%; left: 10px; width: 16px; height: 16px; transform: translateY(-50%); color: #4f6d99; pointer-events: none; }
.va-auth__input input { padding-inline-start: 34px; }
.va-auth__input--password input { padding-inline-end: 45px; }
.va-auth__input button {
  position: absolute;
  inset: 3px 3px 3px auto;
  display: grid;
  place-items: center;
  width: 39px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #49638b;
}
.va-auth__input button .voyage-icon { width: 17px; height: 17px; }
.va-auth__input button:is(:hover, .is-visible) { background: #e2eeff; color: #124eae; }
.va-auth__forgot { justify-self: end; }
.va-auth__forgot, .va-auth__switch a { color: var(--vp-blue); font-weight: 720; font-size: .79rem; }
.va-auth__forgot:hover, .va-auth__switch a:hover { text-decoration: underline; }
.va-auth__switch { margin: 15px 0 0; border-top: 1px solid var(--vp-line); padding-top: 13px; color: var(--vp-muted); font-size: .79rem; text-align: center; }
.va-auth__switch a { margin-inline-start: 3px; }

.vp-page { padding: clamp(20px, 4vw, 54px) 0 clamp(32px, 5vw, 64px); background: radial-gradient(ellipse at 10% 0%, #eaf3ff, #f8fbff 55%); min-height: 420px; }
.vp-shell { width: min(1130px, calc(100% - 2 * var(--voyage-gutter))); margin-inline: auto; }
.vp-shell--narrow { max-width: 830px; }
.vp-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 11px 17px; margin: 0 0 18px; }
.vp-heading--dashboard, .vp-heading--catalog { padding: clamp(16px, 3vw, 26px); border: 1px solid var(--vp-line); border-radius: 16px; background: linear-gradient(110deg, #fff, #edf5ff); }
.vp-heading__copy { min-width: 0; overflow-wrap: anywhere; }
.vp-heading__copy p { max-width: 610px; margin: 4px 0 0; color: var(--vp-muted); font-size: .89rem; }
.vp-heading__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vp-back { display: inline-flex; align-items: center; gap: 3px; color: var(--vp-blue); font-size: .81rem; font-weight: 700; margin-bottom: 11px; text-decoration: none; }
.vp-back:hover { text-decoration: underline; }
.vp-back .voyage-icon { width: 16px; height: 16px; }

.vp-panel { min-width: 0; margin-bottom: 14px; padding: clamp(13px, 2.6vw, 24px); border: 1px solid var(--vp-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px #142e5510; }
.vp-panel__heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 9px; }
.vp-panel__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vp-panel__heading h2, .vp-detail__info h2, .vp-contact h2 { margin: 0; font-size: clamp(1rem, 1.55vw, 1.23rem); line-height: 1.35; }
.vp-panel__heading h2 small { margin-inline-start: 4px; padding: 2px 5px; border-radius: 5px; color: #426089; background: #edf4fd; font-size: .7rem; }
.vp-symbol { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border-radius: 8px; color: var(--vp-blue); background: var(--vp-soft); }
.vp-symbol .voyage-icon { width: 19px; height: 19px; }
.vp-empty { margin: 3px 0 0; padding: 17px 12px; border: 1px dashed #c5d8f0; border-radius: 8px; color: var(--vp-muted); background: #f7faff; font-size: .85rem; }
.vp-notice { margin: 0 0 13px; padding: 9px 11px; border: 1px solid; border-radius: 8px; font-size: .84rem; }
.vp-notice--error { color: #872d3a; background: #fff2f4; border-color: #ecc1c7; }
.vp-notice--success { color: #175a44; background: #eaf9f2; border-color: #b6e4cf; }
.vp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid #cbdcf2;
  border-radius: 8px;
  background: #fff;
  color: #1b4b93;
  font-size: .8rem;
  font-weight: 740;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.vp-button:hover { border-color: #8eafe0; background: #f1f6ff; }
.vp-button .voyage-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.vp-button--primary { color: #fff; background: #1754bc; border-color: #1754bc; }
.vp-button--primary:hover { color: #fff; background: #124798; border-color: #124798; }
.vp-button--danger { color: #892c3a; background: #fff4f5; border-color: #ecc2c8; }
.vp-button--danger:hover { background: #ffe6e9; border-color: #db9da8; }
.vp-button--full { width: 100%; }
.vp-link { color: var(--vp-blue); font-size: .8rem; font-weight: 740; text-decoration: none; }
.vp-link:hover { text-decoration: underline; }

.vp-form, .vp-form__grid { display: grid; gap: 12px; min-width: 0; }
.vp-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.vp-field { display: grid; align-content: start; gap: 4px; min-width: 0; margin: 0; }
.vp-field--wide { grid-column: 1 / -1; }
.vp-field > span:first-child, .vp-field > label { color: var(--vp-ink); font-size: .78rem; font-weight: 720; line-height: 1.4; }
.vp-field > span i { margin-inline-start: 3px; font-style: normal; color: var(--vp-blue); }
.vp-field input:not([type="checkbox"]), .vp-field select, .vp-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cfdcf1;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--vp-ink);
  font-size: .9rem;
  font-weight: 500;
}
.vp-field .va-auth__input input { padding-inline-start: 34px; }
.vp-field .va-auth__input--password input { padding-inline-end: 45px; }
.vp-field textarea { resize: vertical; min-height: 74px; }
.vp-field input:focus, .vp-field select:focus, .vp-field textarea:focus { border-color: #75a2e9; background: #fff; outline: 2px solid #b5d4ff; outline-offset: 1px; }
.vp-form__note { margin: 0; color: var(--vp-muted); font-size: .77rem; line-height: 1.5; }
.vp-media { min-width: 0; padding: 10px; margin: 0; border: 1px solid var(--vp-line); border-radius: 8px; }
.vp-media legend { padding-inline: 5px; color: var(--vp-ink); font-size: .83rem; font-weight: 730; }
.vp-media__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 7px; margin-bottom: 10px; }
.vp-media__grid label { min-width: 0; border: 1px solid var(--vp-line); border-radius: 7px; overflow: hidden; }
.vp-media__grid img { display: block; width: 100%; height: 75px; object-fit: cover; }
.vp-media__grid label span { display: flex; gap: 4px; align-items: center; padding: 4px; font-size: .76rem; }
.vp-media .vp-form__note { margin-top: 5px; }
.vp-remove { border: 1px solid #e8c2c9; background: #fff8f9; border-radius: 9px; padding: 11px; font-size: .84rem; }
.vp-remove summary { color: #892c3a; font-weight: 730; cursor: pointer; }
.vp-remove p { margin: 5px 0 8px; }

.vp-list { margin: 0; padding: 0; list-style: none; }
.vp-list__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--vp-line); }
.vp-list__item:last-child { border: 0; }
.vp-list__thumb { display: grid; place-items: center; width: 66px; height: 54px; overflow: hidden; border-radius: 8px; background: var(--vp-soft); color: var(--vp-blue); }
.vp-list__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vp-list__name { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.vp-list__name strong { font-size: .91rem; }
.vp-list__name small { font-size: .77rem; color: var(--vp-muted); }
.vp-list__note { margin: 0; color: #872d3a; font-size: .77rem; overflow-wrap: anywhere; }
.vp-list__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; }
.vp-status { display: inline-flex; padding: 3px 6px; border-radius: 6px; font-size: .69rem; font-weight: 740; background: #edf4ff; color: #315691; }
.vp-status--published { background: #e4f7ec; color: #176448; }
.vp-status--returned { background: #fff0f1; color: #963746; }

.vp-filter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) auto auto; gap: 9px; align-items: end; margin-bottom: 16px; padding: 12px; border: 1px solid var(--vp-line); border-radius: 10px; background: #fff; }
.vp-filter .vp-link { align-self: end; padding: 9px 4px; }
.vp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vp-card { overflow: hidden; border: 1px solid var(--vp-line); background: #fff; border-radius: 12px; }
.vp-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.vp-card a:focus-visible { outline-offset: -3px; }
.vp-card__photo { position: relative; display: grid; place-items: center; aspect-ratio: 1.75; background: #e1edfd; color: #275aa5; overflow: hidden; }
.vp-card__photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.vp-card__body { flex: 1; display: grid; align-content: start; padding: 11px; overflow-wrap: anywhere; }
.vp-card h2 { margin: 3px 0; font-size: 1rem; line-height: 1.35; }
.vp-card p { margin: 0 0 7px; font-size: .79rem; color: var(--vp-muted); }
.vp-card__price { display: flex; align-items: center; gap: 5px; padding-top: 7px; border-top: 1px solid var(--vp-line); color: var(--vp-blue); }
.vp-card__price span { font-size: .72rem; color: var(--vp-muted); }
.vp-card__price .voyage-icon { width: 17px; height: 17px; margin-inline-start: auto; }
.vp-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; margin: 14px 0 0; font-size: .81rem; color: var(--vp-muted); }
.vp-detail { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, .8fr); align-items: start; gap: 13px; }
.vp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.vp-gallery a { display: block; min-width: 0; overflow: hidden; border-radius: 7px; }
.vp-gallery a:first-child { grid-column: 1 / -1; border-radius: 13px; }
.vp-gallery img { display: block; width: 100%; height: clamp(60px, 11vw, 108px); object-fit: cover; }
.vp-gallery a:first-child img { height: clamp(188px, 31vw, 400px); }
.vp-contact { display: grid; gap: 7px; overflow-wrap: anywhere; }
.vp-contact__price { display: block; color: var(--vp-ink); font-size: 1.4rem; line-height: 1.25; }
.vp-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; }
.vp-details > div { min-width: 0; padding: 8px; border-radius: 7px; background: #f0f5fd; overflow-wrap: anywhere; }
.vp-details dt { color: var(--vp-muted); font-size: .73rem; font-weight: 680; }
.vp-details dd { margin: 0; font-size: .85rem; color: var(--vp-ink); }
.vp-detail__description { margin: 7px 0 0; color: var(--vp-muted); font-size: .89rem; overflow-wrap: anywhere; }

.vp-admin__nav, .vp-admin__photos { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vp-admin__item { border: 1px solid var(--vp-line); border-radius: 8px; margin: 7px 0; }
.vp-admin__item summary { padding: 10px; cursor: pointer; overflow-wrap: anywhere; }
.vp-admin__item summary span { color: var(--vp-muted); font-size: .79rem; }
.vp-admin__body { display: grid; gap: 8px; padding: 0 10px 10px; }
.vp-admin__photos img { object-fit: contain; border-radius: 6px; max-width: 100%; background: var(--vp-soft); }

@media (max-width: 820px) {
  .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .va-auth__shell { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
}
@media (max-width: 650px) {
  .va-auth__shell { grid-template-columns: minmax(0, 1fr); }
  .va-auth__visual::after { background: linear-gradient(90deg, #0a2448f5 4%, #0b2c52b3 68%, #0d23496b); }
  .va-auth__visual { flex-direction: row; align-items: center; justify-content: start; gap: 11px; padding: 12px 15px; }
  .va-auth__mark { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 10px; }
  .va-auth__mark svg { width: 22px; height: 22px; }
  .va-auth__visual-copy > span { font-size: .63rem; }
  .va-auth__visual h2 { margin: 0; font-size: .95rem; }
  .va-auth__visual p { display: none; }
  .vp-field input:not([type="checkbox"]), .vp-field select, .vp-field textarea { font-size: 16px; }
  .vp-detail { grid-template-columns: minmax(0, 1fr); }
  .vp-contact { grid-row: 1; }
  .vp-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 465px) {
  .vp-form__grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .vp-list__item { grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; }
  .vp-list__actions { grid-column: 2; }
  .vp-cards, .vp-details { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .vp-card__photo img { transition: none; }
}
