.wt07-cooperation { max-width: 1220px; }
.wt07-cooperation__grid { display: grid; grid-template-columns: minmax(0, 880px); justify-content: center; gap: 18px; align-items: start; }
.wt07-cooperation__card { min-width: 0; padding: 27px; }
.wt07-cooperation__copy { color: var(--wu-muted); }
.wt07-cooperation__copy p { margin: 0 0 13px; }
.wt07-cooperation__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 22px 0; }
.wt07-cooperation__items div { min-width: 0; padding: 14px; border: 1px solid var(--wu-line); border-radius: 10px; background: var(--wu-surface-2); }
.wt07-cooperation__items b, .wt07-cooperation__items span { display: block; }
.wt07-cooperation__items b { margin-bottom: 5px; color: var(--wu-accent); }
.wt07-cooperation__items span { color: var(--wu-muted); font-size: 12px; }
.wt07-contact-list { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--wu-line); }
.wt07-contact-list div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; align-items: center; }
.wt07-contact-list span { color: var(--wu-muted); }
.wt07-contact-list strong { min-width: 0; overflow-wrap: anywhere; color: var(--wu-accent); }
.wt07-form-note { margin: -3px 0 16px; color: var(--wu-muted); }
.wt07-own-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "label name name" "url url actions"; align-items: center; gap: 8px 14px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--wu-line); border-radius: 10px; background: var(--wu-surface-2); }
.wt07-own-link span { grid-area: label; color: var(--wu-muted); }
.wt07-own-link strong { grid-area: name; min-width: 0; }
.wt07-own-link code { grid-area: url; display: block; min-width: 0; overflow: hidden; color: var(--wu-accent); text-overflow: ellipsis; white-space: nowrap; }
.wt07-own-link button { padding: 6px 13px; border: 1px solid var(--wu-line); border-radius: 7px; background: var(--wu-surface); color: var(--wu-accent); cursor: pointer; }
.wt07-own-link button:disabled { cursor: not-allowed; opacity: .55; }
.wt07-own-link__actions { grid-area: actions; display: flex; justify-self: end; gap: 7px; }
.wu-friend-apply-page { overflow: hidden; }
.wt07-friend-page { min-height: 100vh; }
.wt07-friend-modal { position: fixed; z-index: 9998; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; background: rgba(16, 38, 62, .42); backdrop-filter: blur(8px); }
.wt07-friend-dialog { width: min(690px, 100%); max-height: calc(100dvh - 48px); margin: 0; padding: 27px; overflow-y: auto; box-shadow: 0 28px 90px rgba(37, 92, 145, .24); }
.wt07-friend-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wt07-friend-dialog__head .wu-head { flex: 1; margin-bottom: 16px; }
.wt07-friend-dialog__head h1 { margin: 0; font-size: 23px; }
.wt07-friend-dialog__head > a { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid var(--wu-line); border-radius: 50%; color: var(--wu-accent); background: var(--wu-surface-2); font-size: 22px; line-height: 1; text-decoration: none; }
.wt07-friend-form { display: grid; gap: 16px; }
.wt07-friend-form label { display: grid; gap: 7px; font-weight: 750; }
.wt07-friend-form input, .wt07-friend-form select { width: 100%; min-width: 0; height: 46px; padding: 0 13px; border: 1px solid rgba(53, 137, 218, .25); border-radius: 9px; outline: 0; color: var(--wu-text); background: #fff; font: inherit; }
.wt07-friend-form input:focus, .wt07-friend-form select:focus { border-color: var(--wu-accent); box-shadow: 0 0 0 3px rgba(51, 143, 223, .12); }
.wt07-domain-row { display: grid !important; grid-template-columns: 112px minmax(0, 1fr); gap: 0; min-width: 0; }
.wt07-friend-form .wt07-domain-row select { border-radius: 9px 0 0 9px; }
.wt07-friend-form .wt07-domain-row input { position: relative; margin-left: -1px; border-radius: 0 9px 9px 0; }
.wt07-friend-form .wt07-domain-row input:focus { z-index: 1; }
.wt07-url-preview { color: var(--wu-accent); font-weight: 550; overflow-wrap: anywhere; }
.wt07-captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 9px; }
.wt07-captcha-refresh { width: 116px; height: 46px; padding: 0; overflow: hidden; border: 1px solid rgba(53, 137, 218, .25); border-radius: 9px; background: #fff; cursor: pointer; }
.wt07-captcha-refresh img { width: 116px; height: 46px; }
.wt07-form-status { min-height: 20px; margin: -3px 0 0; color: var(--wu-muted); }
.wt07-form-status.is-success { color: #1c9b6c; }
.wt07-form-status.is-error { color: #d94a5c; }
.wt07-submit { width: 100%; border: 0; border-radius: 9px; cursor: pointer; }
.wt07-submit:disabled { opacity: .55; cursor: wait; }
@media (max-width: 820px) {
  body.wu-cooperation-page { padding-top: 62px; }
  .wu-cooperation-page .wu-header__inner { min-height: 54px; }
  .wt07-cooperation__grid { grid-template-columns: 1fr; }
  .wt07-cooperation__card { padding: 20px; }
  .wt07-cooperation__items { grid-template-columns: 1fr; }
  .wt07-domain-row { grid-template-columns: 96px minmax(0, 1fr); }
  .wt07-contact-list div { grid-template-columns: 78px minmax(0, 1fr); }
  .wt07-own-link { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "name" "url" "actions"; gap: 8px; padding: 13px; }
  .wt07-own-link strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wt07-own-link__actions { width: 100%; justify-self: stretch; }
  .wt07-own-link__actions button { flex: 1; }
  .wt07-friend-modal { align-items: flex-start; padding: 10px; }
  .wt07-friend-dialog { max-height: calc(100dvh - 20px); padding: 19px 16px; border-radius: 12px; }
}
