/* Local layout parity with the old SBS theme */
@media screen and (min-width: 530px) {
  #main_menu ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}
#header .logo {
  margin-left: 20px;
}
#header {
  min-height: 0;
}

.profiles_1 .photo_block .photo_1 img.photo {
  width: 102px;
  max-width: 102px;
  height: auto;
  display: block;
}
.profiles_1 .photo_block .photo_1 {
  overflow: hidden;
}
.profiles_1 .photo_block .photo_1 .no_photo {
  display: block;
  width: 102px;
  height: 150px;
  background: #f3f3f3;
}

.profile_page .photo_block .photo_1 img {
  max-width: 102px;
  max-height: 154px;
  display: block;
}
.profile_page .admin_tools a {
  display: block;
  margin: 4px 0;
}
.profile_page .links_1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  clear: both;
  overflow: hidden;
  min-height: 0;
  margin: 8px 0 18px;
}
.profile_page .links_1 a {
  float: none;
  display: inline-block;
  width: auto !important;
  min-height: 0;
  padding: 6px 18px 6px 0;
  line-height: 1.3;
}
.profile_page .rating form {
  display: block;
  margin: 6px -10px -1px;
}
.profile_page .rating button {
  display: block;
  width: 100%;
  background: #000;
  color: #ddd;
  border: 0;
  padding: 4px 10px 6px;
  cursor: pointer;
}
.profile_page .rating button:hover {
  color: #fff;
}
.profile_page .is_online {
  clear: right;
}

.blog_2 {
  overflow: hidden;
  min-height: 0 !important;
  margin-bottom: 18px;
  padding-top: 7px;
  padding-bottom: 10px;
  border-top: 1px dotted #bbb;
  border-bottom: none;
}
.blog_2 .author {
  float: left;
  width: 108px;
  max-width: 108px;
  margin-right: 12px;
  font-size: 80%;
}
.page_text {
  overflow-wrap: anywhere;
}
#auth_block input[type="email"] { width: 155px; }
@media screen and (max-width: 768px) {
  #auth_block input[type="email"] { width: 130px; }
}
.form_1 .line_1 input[type="radio"],
.form_1 .line_1 input[type="checkbox"] {
  width: auto;
  min-width: 0;
  margin: 0 6px 0 0;
  vertical-align: middle;
}
.form_1::after,
.form_1 .line_1::after {
  content: "";
  display: block;
  clear: both;
}
.casting-mail-choice,
.casting-mail-form .mail-groups label {
  display: block;
  margin-bottom: 4px;
}
.blog_2 .author .name {
  display: block;
  width: auto !important;
  max-width: 108px;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
  margin-top: 4px;
}
.blog_2 .author img.user_photo {
  width: 102px;
  max-width: 102px;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 4px;
  border: 1px solid #ccc;
  padding: 1px;
}
.blog_2 .msg {
  margin-left: 120px;
  overflow: hidden;
}
.blog_2 .msg h2 {
  margin: 0 0 4px 0;
  font-size: 120%;
}
.blog_2 .msg h2 a,
.blog_2 .msg p {
  display: inline;
  text-align: left;
}
.blog_2 .msg .photo {
  display: block;
  max-width: 220px;
  margin: 8px 0;
  border: 3px solid #ddd;
}
.blog_2 .at_top,
.admin_table .at_top {
  float: right;
  color: #6b3d2a;
  font-size: 80%;
  font-weight: bold;
  margin-left: 8px;
}
.blog_2 .mdr_link {
  float: right;
  font-size: 10px;
  text-align: right;
}
.blog_2 .mdr_link a {
  display: block;
}
.blog_page .author img.user_photo {
  float: left;
  width: 102px;
  margin-right: 10px;
  border: 1px solid #ccc;
  padding: 1px;
}
.blog_page .msg .photo {
  max-width: 100%;
  margin: 10px 0;
  border: 3px solid #ddd;
}
.mdr_search .line_1 {
  margin-bottom: 12px;
}
.mdr_search input[type=text] {
  width: 220px;
  margin-right: 8px;
}

.menu_1 a.current {
  background-color: #3c2a1e !important;
  color: #f6ead8 !important;
  font-weight: bold;
}
.menu_1 a.has_new_msg:not(.current) {
  color: #de5583;
}

.admin_table {
  width: 100%;
  border-collapse: collapse;
}
.admin_table td,
.admin_table th {
  padding: 8px 6px;
  border-bottom: 1px dotted #bbb;
  vertical-align: middle;
}
.admin_table th {
  text-align: left;
  color: #777;
  font-weight: normal;
  font-size: 90%;
}
.admin_table img.thumb {
  width: 54px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #ddd;
}
.admin_table .btn_ok {
  color: #2a7a2a;
  font-weight: bold;
  white-space: nowrap;
}
.admin_table .btn_del {
  color: #a33;
  margin-left: 8px;
  white-space: nowrap;
}
.admin_table .preview {
  color: #777;
  font-size: 90%;
  margin-top: 3px;
  line-height: 1.35;
}
.mdr_table .col-date {
  white-space: nowrap;
  width: 1%;
  color: #888;
  font-size: 90%;
}
.mdr_table .col-city {
  white-space: nowrap;
  width: 1%;
  padding-right: 12px;
}
.mdr_table .col-act {
  white-space: nowrap;
  width: 1%;
  text-align: right;
}
.mdr_tabs {
  margin: 4px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px dotted #bbb;
  font-size: 95%;
}
.mdr_tabs a {
  margin-right: 16px;
  text-decoration: none;
}
.mdr_tabs a.current {
  font-weight: bold;
  color: #6b3d2a;
  border-bottom: 2px solid #6b3d2a;
  padding-bottom: 8px;
}

.admin_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 0;
}
.admin_nav a {
  display: inline-block;
  margin: 0;
  padding: 2px 0 4px;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
}
.admin_page {
  min-width: 0;
  max-width: 100%;
}
.admin_page h1 {
  margin-top: 0;
}
.admin_page h2 {
  margin: 24px 0 10px;
  font-size: 1.05em;
}
.admin_hint,
.admin_page .hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f7f7f7;
  border: 1px dotted #ccc;
  line-height: 1.45;
  font-size: 93%;
  color: #444;
}
.admin_panel {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  max-width: 720px;
}
.admin_filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #faf7f1;
  border: 1px solid #e4d3ba;
}
.admin_filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
  font-weight: 600;
  font-size: 12px;
  color: #6b5340;
}
.admin_filters-grow {
  flex: 1 1 240px;
}
.admin_filters input[type="text"],
.admin_filters select {
  width: auto;
  min-width: 132px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 7px 8px;
}
.admin_filters-grow input[type="text"] {
  width: 100%;
  min-width: 200px;
}
.admin_filters-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  white-space: nowrap;
  padding-bottom: 8px;
}
.admin_filters-check input {
  width: auto !important;
  margin: 0;
}
.admin_filters .admin_btn_primary {
  margin: 0 0 1px;
}
.admin_field {
  margin: 0 0 12px;
}
.admin_field label {
  display: block;
  margin: 0 0 4px;
  font-weight: bold;
  font-size: 92%;
}
.admin_field input[type="text"],
.admin_field input[type="email"],
.admin_field select,
.admin_field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.admin_field textarea {
  min-height: 120px;
  resize: vertical;
}
.admin_fieldset {
  margin: 0 0 12px;
  padding: 10px 12px 4px;
  border: 1px dotted #ccc;
  border-radius: 3px;
}
.admin_fieldset legend {
  padding: 0 6px;
  font-size: 92%;
  font-weight: bold;
}
.admin_field_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 16px;
}
.admin_field_check label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.admin_field_check input {
  width: auto !important;
}
.admin_btn_primary {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 18px;
  border: 1px solid #5a3222;
  border-radius: 3px;
  background: #6b3d2a;
  color: #fff !important;
  font-size: 95%;
  cursor: pointer;
  text-decoration: none;
}
.admin_btn_primary:hover {
  background: #5a3222;
}
button.admin_btn_primary {
  font-family: inherit;
}
.admin_btn_compact {
  padding: 6px 14px;
  margin-top: 0;
  vertical-align: middle;
}
.admin_search_bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 16px;
  max-width: 640px;
}
.admin_search_bar input[type="text"] {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
}
.admin_row_actions a,
.admin_row_actions .btn_ok,
.admin_row_actions .btn_del {
  margin-right: 10px;
  white-space: nowrap;
}
.admin_users_table {
  min-width: 820px;
  table-layout: auto;
}
.admin_users_table th {
  white-space: nowrap;
}
.admin_users_table .col-photo {
  width: 56px;
}
.admin_users_table .col-email {
  min-width: 160px;
  max-width: 240px;
  word-break: normal;
  overflow-wrap: anywhere;
}
.admin_users_table .col-date {
  white-space: nowrap;
}
.admin_users_table .col-act {
  white-space: nowrap;
  width: 1%;
}
.admin_users_table .col-badges {
  min-width: 140px;
}
.admin_users_table td.empty {
  text-align: center;
  color: #888;
  padding: 20px;
}
.admin_more {
  margin: 8px 0 24px;
}
.admin_more summary {
  cursor: pointer;
  font-weight: 600;
}
.cast_check_list {
  max-height: 180px;
  overflow: auto;
  border: 1px solid #e4d3ba;
  padding: 6px 8px;
  margin-top: 6px;
}
.cast_check_list label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  line-height: 1.35;
}
.casting_card.is-closed {
  opacity: 0.55;
}
.casting_replies {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dotted #ddd;
  font-size: 90%;
}
.ucp_help {
  margin: 12px 0;
}
.ucp_help summary {
  cursor: pointer;
}
.admin_cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px 0;
}
.admin_card {
  display: block;
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
}
.admin_card:hover {
  border-color: #6b3d2a;
  background: #fff;
}
.admin_card strong {
  display: block;
  font-size: 1.6em;
  color: #6b3d2a;
  line-height: 1.1;
}
.admin_card span {
  font-size: 90%;
  color: #666;
}
.admin_quick {
  line-height: 1.8;
}
.badge_ok,
.badge_warn,
.badge_muted {
  display: inline-block;
  font-size: 85%;
  padding: 1px 6px;
  margin-right: 4px;
  border-radius: 3px;
}
.badge_ok {
  background: #e6f4e6;
  color: #2a7a2a;
}
.badge_warn {
  background: #fff0e0;
  color: #a55;
}
.badge_muted {
  background: #eee;
  color: #666;
}
.admin_user_head {
  display: flex;
  gap: 20px;
  margin: 16px 0;
  align-items: flex-start;
}
.admin_user_head .main_photo {
  width: 120px;
  height: 168px;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 120px;
  border: 1px solid #d7c3a4;
}
.admin_user_meta {
  min-width: 0;
}
.admin_user_meta p {
  margin: 6px 0;
  line-height: 1.45;
}
.admin_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
  align-items: center;
}
.admin_actions a,
.admin_actions .hint {
  margin: 0;
}
.admin_actions a {
  display: inline-block;
  padding: 6px 10px;
  background: #f6efe3;
  border: 1px solid #d7c3a4;
  text-decoration: none;
  line-height: 1.3;
}
.admin_actions .stars-now {
  color: #6b5340;
  font-size: 14px;
}
.admin_ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
}
.admin_ticks label,
.tick-form label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-weight: normal;
}
.admin_ticks input[type="checkbox"],
.tick-form input[type="checkbox"] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
}
.admin_tick_stars a,
.admin_tick_link {
  margin-left: 4px;
}
.tick-form { display: flex; gap: 8px; align-items: center; }
.admin_users_table .col-tick { width: 72px; }
.pick-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 8px 0 14px;
}
.pick-link input[type="text"] {
  width: min(440px, 100%);
  margin-left: 6px;
}
.pick-link button,
.note-people { margin: 8px 0 16px; }
.admin_rights p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 12px;
}
.admin_rights label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: normal;
}
.admin_rights input[type="checkbox"],
.admin_rights input[type="radio"] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
}
.admin_mailing_stats {
  background: #f9f5f7;
  border: 1px dotted #ccc;
  padding: 12px 16px;
  margin: 16px 0;
}
.admin_cast_preview {
  max-width: 640px;
  margin: 12px 0;
}

.ucp_profile .main_photo {
  max-width: 180px;
  border: 3px solid #ddd;
}
.ucp_profile .guests { margin-top: 18px; }
.ucp_profile .guests .title { margin-bottom: 10px; }
.guest-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, 108px);
  gap: 12px 14px;
  justify-content: start;
}
.ucp_profile .guests a.guest-tile,
.pv .guests a.guest-tile,
.guest-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 108px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  color: #3c2a1e;
}
.guest-tile img,
.guest-face {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center center;
  border-radius: 4px;
  background: #efe4d4;
}
.guest-face.is-anon {
  display: block;
  background-color: #e4d5c2;
  background-image:
    radial-gradient(circle at 50% 36%, #8d7764 0 14%, transparent 15%),
    radial-gradient(ellipse at 50% 78%, #8d7764 0 26%, transparent 27%);
}
.guest-cap {
  display: block;
  width: 100%;
  max-height: 4.8em;
  overflow: hidden;
  overflow-wrap: break-word;
  font-size: 12px;
  line-height: 1.2;
}
.guest-role {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #7a6552;
}
.guest-name {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a120c;
}
.pv .pv-side .guests { width: 100%; margin-top: 4px; align-self: stretch; }
.pv .pv-side .guests .title { margin-bottom: 8px; font-size: 13px; font-weight: 700; text-align: right; }
.pv .pv-side .guest-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
}
.pv .pv-side .guests a.guest-tile,
.pv .pv-side .guest-tile { width: 100%; }
.pv .pv-side .guest-cap,
.pv .pv-side .guest-role,
.pv .pv-side .guest-name {
  max-height: none;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.25;
  font-size: 12px;
}
.pv .pv-side .guest-name { font-weight: 700; }
.my_photos img {
  max-width: 100%;
  max-height: 110px;
  border: 1px solid #6b3d2a;
}

.publications_1 img {
  max-width: 100%;
  max-height: 160px;
  display: block;
  margin-bottom: 8px;
  border: 3px solid #ddd;
}

.page_text {
  max-width: 920px;
  line-height: 1.55;
  font-size: 15px;
}
.page_text h1 {
  margin: 0 0 16px 0;
}
.page_text > p,
.page_text > div {
  margin: 0 0 12px 0;
}

.profiles_1 .empty_list {
  clear: both;
  padding: 20px 0;
}
.profiles_filter .btn.clear_form {
  white-space: nowrap;
  vertical-align: middle;
}

.approvals_1 .month {
  margin-top: 40px;
  color: #8a5a38;
  border-bottom: 1px dotted #777;
  padding-bottom: 5px;
  font-size: 120%;
  font-weight: bold;
}
.approvals_1 .item {
  margin-top: 40px;
  overflow: hidden;
}
.approvals_1 .item .date {
  color: #777;
  margin-bottom: 4px;
}
.approvals_1 .item .title {
  font-size: 140%;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.25;
  color: #333;
}
.approvals_1 .item .actors {
  margin: 0;
  padding: 0 0 15px 18px;
}
.approvals_1 .item .actors .agency {
  padding-left: 8px;
  font-weight: bold;
}
.approvals_1 .item img.photo {
  display: block;
  margin-top: 10px;
  background: #fff;
  padding: 1px;
  border: 3px solid #ddd;
  max-width: 200px;
  max-height: none;
  height: auto;
}
.approvals_1 .item .video-wrap {
  position: relative;
  width: 560px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: #111;
}
.approvals_1 .item .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  float: none;
  max-width: none;
  border: 0;
}

.pagination {
  margin: 12px 0;
}
.paging_1 {
  clear: both;
  overflow: hidden;
  padding-top: 10px;
}
#main_container .left_block_2:empty {
  display: none;
  padding: 0;
  background: none;
}

.casting_page .casting_lead {
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.45;
}
.casting_notice {
  background: #f9f5f7;
  border: 1px solid #e8d4dc;
  padding: 14px 18px;
  margin: 16px 0 24px 0;
  line-height: 1.5;
}
.casting_notice p {
  margin: 8px 0;
}
.casting_list_1 {
  margin-top: 8px;
}
.casting_card {
  background: #fff;
  border: 1px solid #e4dce0;
  border-radius: 4px;
  padding: 16px 18px 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.casting_card_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.casting_card_title {
  color: #8a4b2f;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  flex: 1 1 200px;
}
.casting_badge {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.casting_badge_kids {
  background: #f6efe3;
  color: #6b3d2a;
}
.casting_badge_adults {
  background: #eee8f4;
  color: #6a5080;
}
.casting_meta {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  font-size: 90%;
  color: #555;
  line-height: 1.6;
}
.casting_meta li {
  margin: 2px 0;
}
.casting_meta_label {
  color: #999;
  margin-right: 6px;
}
.casting_card_body p {
  text-indent: 1.5em;
  margin: 0 0 0.9em;
  line-height: 1.55;
}
.casting_card_body p:last-child {
  margin-bottom: 0;
}
.casting_badge_open {
  background: #f6ead8;
  color: #6b3d2a;
}
.casting_sides {
  margin: 0 0 12px;
}
.casting_sides a {
  margin-right: 14px;
}
.casting_create_form label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0;
  width: auto;
  max-width: 100%;
}
.casting_card_foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 12px;
  border-top: 1px dotted #ddd;
}
.casting_btn_apply {
  display: inline-block;
  background: #6b3d2a;
  color: #fff !important;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 3px;
  text-decoration: none !important;
  font-size: 95%;
}
.casting_btn_apply:hover {
  background: #8a4b2f;
  color: #fff !important;
}
.casting_btn_del {
  color: #a33;
  font-size: 90%;
  margin-left: auto;
}
.casting_hint {
  font-size: 90%;
  color: #888;
}
.casting_empty {
  color: #777;
  padding: 24px 0;
}
.casting_sidebar_title {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #6b3d2a;
}
.casting_sidebar_hint {
  font-size: 90%;
  color: #666;
  line-height: 1.4;
  margin: 0 0 12px 0;
}
.casting_sidebar.right_block_1 {
  overflow: hidden;
}
.casting_create_form .line_1 {
  clear: both;
  overflow: hidden;
  padding-bottom: 10px;
}
.casting_create_form .line_1 .title {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: left !important;
  padding: 0 0 4px 0 !important;
  margin: 0 !important;
  font-weight: bold;
  font-size: 92%;
  color: #555;
  white-space: normal;
}
.casting_create_form .line_1 .data {
  float: none !important;
  width: auto !important;
  padding-bottom: 0 !important;
}
.casting_create_form .line_1 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.cast_num),
.casting_create_form .line_1 textarea,
.casting_create_form .line_1 select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  box-sizing: border-box;
}
.casting_create_form .line_1 input[type="checkbox"],
.casting_create_form .line_1 input[type="radio"] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px;
  margin: 3px 0 0 0 !important;
  padding: 0;
  flex: 0 0 16px;
  accent-color: #6b3d2a;
}
.casting_create_form textarea {
  min-height: 100px;
  resize: vertical;
}
.casting_create_form .casting_submit_row {
  padding-top: 4px;
}
.casting_create_form .casting_submit {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 14px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
  color: #fff;
  background-color: #6b3d2a;
  border: 1px solid #5a3222;
  border-radius: 7px;
  cursor: pointer;
}
.casting_create_form .casting_submit:hover {
  background-color: #8a4b2f;
}
.casting_child_pick {
  list-style: none;
  margin: 16px 0 24px 0;
  padding: 0;
}
.casting_child_pick li {
  margin: 8px 0;
}
.casting_child_link {
  display: block;
  padding: 12px 16px;
  border: 1px solid #e4dce0;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}
.casting_child_link:hover {
  background: #f9f5f7;
  border-color: #6b3d2a;
}
.cast_filter {
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
  font-size: 95%;
}
.cast_filter a {
  margin-right: 16px;
  text-decoration: none;
}
.cast_filter a.current {
  font-weight: bold;
  color: #6b3d2a;
  border-bottom: 2px solid #6b3d2a;
  padding-bottom: 4px;
}
.cast_projects {
  font-size: 90%;
}

#profile_adv_search_block {
  display: none;
  background: #f7f7f7;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px dotted #aaa;
}
#auth_block {
  position: relative;
}
#change_psw_block {
  display: none;
}
#change_psw_block.is-open {
  display: block !important;
}

.video-wrap iframe.tu-video-embed,
.video-wrap iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
video.tu-video {
  max-width: 100%;
  height: auto;
  display: block;
}

.yd-portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.yd-portfolio-item {
  width: 160px;
  max-width: 100%;
}
.yd-portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #c4a882;
  background: #f7efe3;
}
.yd-portfolio-item--video {
  width: min(100%, 420px);
}
.yd-portfolio-caption {
  font-size: 85%;
  color: #666;
  margin-top: 4px;
  word-break: break-word;
}

#ucp_main .ucp_table_1 .col-act {
  white-space: nowrap;
  width: 1%;
  text-align: right;
}
#ucp_main .ucp_table_1 .col-date {
  white-space: nowrap;
  width: 1%;
  color: #888;
  font-size: 90%;
}
#ucp_main .ucp_table_1 .empty,
#ucp_main .empty {
  color: #888;
  padding: 14px 4px;
}
#ucp_main .ucp_create {
  cursor: pointer;
}
.ucp_profile .photo .no_photo {
  display: block;
  width: 108px;
  height: 158px;
  background: #f3f3f3;
  border: 3px solid #ddd;
  margin-bottom: 10px;
}
.imail_list_page .one_row.unread .msg {
  font-weight: bold;
}
.imail_list_page .empty {
  padding: 16px 0;
  color: #888;
}
.my_photos .empty {
  float: none;
  width: auto;
  height: auto;
}
.my_photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.my_photos > div {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  text-align: center;
}
.my_photos > div > a:first-child { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.my_photos > div > a:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  box-sizing: border-box;
}
.my_photos .btn_del { display: inline-block; margin-top: 4px; }
.my_photos > .empty { grid-column: 1 / -1; }
.ucp_form_1 .line_1:after {
  content: "";
  display: table;
  clear: both;
}
.archive_badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  background: #888;
  color: #fff;
  font-size: 12px;
}
.ucp_table_1 img.thumb {
  width: 48px;
  height: auto;
  display: block;
}
.children_home {
  margin: 12px 0 18px;
  padding: 8px 0;
  border-top: 1px dotted #ccc;
}
.children_pick {
  list-style: none;
  padding: 0;
}
.children_pick li {
  margin: 8px 0;
}

/* UCP + admin: общие правки вёрстки */
#ucp_main {
  min-width: 0;
}
.ucp_body {
  min-width: 0;
  max-width: 100%;
}
.table_h_scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 16px;
  max-width: 100%;
}
.ucp_hint_1 {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f7f7f7;
  border: 1px dotted #ccc;
  line-height: 1.45;
  font-size: 93%;
}

#ucp_main .admin_page .line_1 .title {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: left !important;
}
#ucp_main .admin_page .line_1 .data {
  float: none !important;
  width: auto !important;
}

.content_list {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
  border-top: 1px dotted #ccc;
}
.content_list_item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 12px 4px;
  border-bottom: 1px dotted #ddd;
}
.content_list_title {
  font-weight: bold;
  flex: 1 1 200px;
}
.content_list_date {
  color: #888;
  font-size: 90%;
  white-space: nowrap;
}
.content_list_empty {
  padding: 20px 4px;
  color: #888;
  border-bottom: none;
}

.publications_1 .publications_item {
  margin-bottom: 24px;
}
.publications_1 .publications_title {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  line-height: 1.35;
}

@media (max-width: 767px) {
  #main_container.blog_page .blog_side_col,
  #main_container .blog_side_col {
    margin-bottom: 16px;
  }
  .blog_2 .msg {
    margin-left: 0;
    clear: both;
    padding-top: 10px;
  }
  .profiles_filter .simple_search .form-group {
    display: block;
    margin-bottom: 8px;
  }
}

.imail_list_page .user_filter {
  margin-bottom: 10px;
  line-height: 1.6;
}
.imail_list_page .user_filter select {
  max-width: 100%;
  margin-top: 4px;
}
.imail_list_page > a {
  margin-right: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

/* Каталог 4×4 с подписью на фото */
#catalog_search .adv_search[hidden] { display: none !important; }
#catalog_search .adv_search { margin-top: 10px; }
.catalog-offset {
  padding-left: 260px;
  box-sizing: border-box;
}
.profiles_filter {
  padding-left: 260px;
  box-sizing: border-box;
}
.profiles_filter .simple_search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 18px;
  margin: 0 0 12px;
}
.profiles_filter .simple_search .form-group { margin: 0; }
.profiles_filter .simple_search label { display: block; margin: 0 0 4px; }
.profiles_filter .age-range input { width: 72px; display: inline-block; }
#catalog_search .adv_search .line_1 { margin-bottom: 6px; }
.profiles_1 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 196px));
  justify-content: start;
  gap: 34px;
  padding-left: 260px;
  box-sizing: border-box;
}
.profiles_1 .empty_list { grid-column: 1 / -1; }
.profiles_1 .photo_block {
  float: none;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  position: relative;
}
.profiles_1 .photo_block .photo_1 {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  margin: 0 0 6px;
  box-sizing: border-box;
}
.profiles_1 .photo_block .photo_1 img.photo {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}
.profiles_1 .photo_block .photo_1 .stars {
  position: absolute;
  z-index: 2;
  right: 6px;
  left: auto;
  top: 6px;
  height: auto;
}
.profiles_1 .photo_block .under_photo { width: auto; }
.profiles_1 .card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 48px 12px 12px;
  background: linear-gradient(to bottom, rgba(25, 14, 8, 0), rgba(25, 14, 8, 0.82));
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.profiles_1 .card-caption:hover { color: #fff; text-decoration: none; }
.profiles_1 .card-name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.profiles_1 .card-meta { display: block; margin-top: 2px; font-size: 13px; opacity: 0.92; color: #fff; }
.profiles_1 .card-online {
  float: right;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: #5fd35f;
}
@media screen and (max-width: 991px) {
  .profiles_1 { grid-template-columns: repeat(3, minmax(0, 196px)); gap: 24px; padding-left: 24px; }
  .profiles_filter { padding-left: 24px; }
  .catalog-offset { padding-left: 24px; }
}
@media screen and (max-width: 600px) {
  .profiles_1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-left: 0; }
  .profiles_filter { padding-left: 0; }
  .catalog-offset { padding-left: 0; }
  .profiles_1 .card-name { font-size: 18px; }
  .profiles_1 .card-meta { font-size: 12px; }
}

/* Анкета: построчные работы, ссылки, навыки */
.autosave-note {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  background: #efe3cf;
  border-left: 3px solid #6b3d2a;
  color: #3c2a1e;
}
.work-rows .work-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 6px;
  max-width: 640px;
  margin-bottom: 6px;
}
.work-rows .work-row input { width: 100%; min-width: 0; box-sizing: border-box; }
.work-rows .work-head { margin-bottom: 2px; font-size: 12px; color: #6b3d2a; }
@media (max-width: 520px) {
  .work-rows .work-row { grid-template-columns: 86px minmax(0, 1fr); }
  .work-rows .work-row .work-col-2 { grid-column: 1 / -1; }
  .work-rows .prog-row { padding-bottom: 6px; border-bottom: 1px dotted #c9b08a; }
}
.progressive > .prog-row { margin-bottom: 6px; }
.legacy-text {
  margin-top: 8px;
  padding: 8px 10px;
  max-width: 640px;
  background: #f7efe3;
  border: 1px dashed #c9b08a;
  font-size: 13px;
}
.check-group { margin-bottom: 6px; }
.check-group strong { margin-right: 6px; }
.check-group .subtype-choice { display: inline-flex; align-items: center; gap: 4px; margin: 0 12px 4px 0; }
.social-input { display: flex; align-items: center; gap: 8px; max-width: 520px; margin-bottom: 6px; }
.social-input input { flex: 1 1 0; width: auto; max-width: none; min-width: 0; box-sizing: border-box; }
.social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: center / contain no-repeat;
}
.social-filmtoolz {
  flex-basis: 112px;
  width: 112px;
  background: #2f60bd url(/img/platforms/filmtoolz.svg) center / 88px auto no-repeat;
  border-radius: 4px;
}
.social-kinopoisk { background-image: url(/img/platforms/kinopoisk.png); border-radius: 6px; }
.social-kinoteatr { background-image: url(/img/platforms/kinoteatr.png); border-radius: 6px; }
.social-vk { background-image: url(/img/platforms/vk.png); background-color: #fff; border-radius: 6px; }
.social-telegram { background-image: url(/img/platforms/telegram.png); border-radius: 50%; }
.actor-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.actor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid #c9b08a;
  border-radius: 18px;
  color: #3c2a1e;
  text-decoration: none;
}
.actor-link:hover { background: #efe3cf; text-decoration: none; }
.work-title { margin-top: 22px; }
.profile_page h2 {
  clear: both;
  margin: 26px 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #c4a06a;
  font-size: 24px;
  line-height: 1.15;
}
.profile_page h2:first-of-type { margin-top: 18px; }
.work-table { border-collapse: collapse; margin: 0 0 4px; }
.work-table td { padding: 4px 16px 4px 0; vertical-align: top; }
.work-table .work-year { font-weight: 700; white-space: nowrap; }
.work-table .work-role { color: #7a6a5a; }
.visit-cards, .actor-videos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.visit-card-btn {
  display: inline-block;
  padding: 7px 12px;
  background: #6b3d2a;
  color: #f6ead8 !important;
  text-decoration: none !important;
  border-radius: 2px;
  font-size: 13px;
}
.mood-audio { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.mood-audio audio { max-width: 320px; height: 32px; }
.photo-folders { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.photo-folders a {
  padding: 6px 12px;
  border: 1px solid #c9b08a;
  color: #3c2a1e;
  text-decoration: none;
}
.photo-folders a.is-active { background: #6b3d2a; border-color: #6b3d2a; color: #f6ead8; }
.photo-group-title {
  clear: both;
  margin: 18px 0 8px;
  font-size: 18px;
  color: #6b3d2a;
}
.profile_page .photo-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.profile_page .photo-group .photo_block {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
}
.profile_page .photo-group .photo_1 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
}
.profile_page .photo-group .photo_1 a { display: block; height: 100%; }
.profile_page .photo-group .photo_1 img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

/* Страница анкеты */
.pv { --pv-accent: #6b3d2a; --pv-line: #e6d6bd; --pv-muted: #8f7b66; }
.pv .pv-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  margin: 6px 0 22px;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid var(--pv-line);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(62, 38, 16, 0.07);
}
body.cinema .pv img.main_photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 4px;
}
.pv .pv-visit { display: inline-block; margin-top: 10px; font-size: 15px; text-decoration: underline; }
.pv .platform-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pv .platform-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--pv-line);
  border-radius: 18px;
  background: #fff;
  font: 13px/1.2 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #3c2a1e !important;
  text-decoration: none !important;
}
.pv .platform-link:hover { border-color: #c9b08a; background: #faf4ea; }
.pv .platform-filmtoolz { padding: 0; border: 0; border-radius: 4px; overflow: hidden; }
.pv .platform-filmtoolz .social-ico { flex-basis: 150px; width: 150px; height: 32px; background-size: 124px auto; }
.pv .pv-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  column-gap: 28px;
  align-items: start;
}
.pv .pv-main { grid-column: 1; grid-row: 1; min-width: 0; }
.pv .pv-side { grid-column: 2; grid-row: 1; }
.pv .pv-title h1,
.pv .pv-name { margin: 0; font-size: 52px; font-weight: 700; line-height: 1.02; color: #1a120c; }
@media screen and (max-width: 600px) {
  .pv .pv-title h1,
  .pv .pv-name { font-size: 36px; }
}
.pv .pv-measures { margin: 10px 0 0; font-size: 16px; color: #7a6552; }
.pv .pv-measures b { color: #1a120c; font-weight: 700; }
.pv .pv-k { font-weight: 400; letter-spacing: 0; text-transform: none; }
.pv .pv-agency { margin: 12px 0 0; font-size: 18px; font-weight: 700; color: #1a120c; }
.pv .pv-agency-contact,
.pv .pv-own { margin: 2px 0 0; font-size: 15px; color: #3c2a1e; }
.pv .pv-cities,
.pv .pv-school { margin-top: 4px; font-size: 16px; color: #3c2a1e; }
.pv .pv-place { margin-top: 8px; font-size: 16px; color: #3c2a1e; }
.pv .pv-title .is_online { margin-top: 6px; font-size: 14px; }
.pv .pv-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; width: 312px; }
body.cinema .profile_page.pv .rating { float: none; margin: 0; padding: 8px 12px; font-size: 15px; white-space: nowrap; }
body.cinema .profile_page.pv .status { float: none; margin: 0; max-width: 260px; }
.pv .pv-fields {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0 18px;
  margin: 18px 0 0;
}
.pv .pv-fields dt,
.pv .pv-line .pv-label {
  font: 600 12px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv-muted);
}
.pv .pv-fields dt { padding: 8px 0; border-bottom: 1px solid #f0e5d4; }
.pv .pv-fields dd { margin: 0; padding: 6px 0; border-bottom: 1px solid #f0e5d4; font-size: 16px; color: #2a1d13; overflow-wrap: anywhere; }
.pv .pv-more { margin-top: 4px; }
.pv .pv-more summary {
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
  color: var(--pv-accent);
  font: 600 13px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  list-style: none;
}
.pv .pv-more summary::-webkit-details-marker { display: none; }
.pv .pv-more summary::after { content: " ▾"; }
.pv .pv-more[open] summary::after { content: " ▴"; }
.pv .pv-more[open] summary { font-size: 0; }
.pv .pv-more[open] summary::before { content: "Скрыть"; font-size: 13px; }
.pv .pv-more[open] summary::after { font-size: 13px; }
.pv .pv-about { margin-top: 16px; font-size: 16px; line-height: 1.5; }
.pv .links_1 { margin: 16px 0 0; }
.pv .pv-admin { margin: -8px 0 20px; padding: 10px 14px; border: 1px dashed #c9b08a; }
.pv .pv-admin summary { cursor: pointer; font-weight: 600; }
.pv .pv-admin a { display: inline-block; margin: 8px 16px 0 0; }
.pv h2 { margin: 26px 0 12px; }
.pv .pv-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #efe3cf;
  font: 600 13px/1.5 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  vertical-align: middle;
  color: var(--pv-accent);
}
.pv .pv-media .photo-group { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pv .pv-media .photo-group .photo_1 { border-radius: 4px; }
.pv .pv-empty { color: var(--pv-muted); }
.pv .pv-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 14px; }
.pv .pv-video-grid iframe, .pv .pv-video-grid video { width: 100%; max-width: 100%; }
.pv .pv-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; align-items: start; }
.pv .pv-box {
  padding: 16px 20px 18px;
  background: #fffdf8;
  border: 1px solid var(--pv-line);
  border-radius: 6px;
}
.pv .pv-box h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font: 700 13px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pv-accent);
}
.pv .pv-box p:last-child { margin-bottom: 0; }
.pv .pv-line { margin: 4px 0; }
.pv .pv-line .pv-label { margin-right: 6px; }
.pv .pv-audio { margin-top: 18px; }
.pv .work-table { width: 100%; }
@media (max-width: 991px) {
  .pv .pv-sections { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pv .pv-card { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
  .pv .pv-photo { max-width: 360px; width: 100%; margin: 0 auto; }
  .pv .pv-title h1 { font-size: 28px; }
  .pv .pv-info { grid-template-columns: 1fr; }
  .pv .pv-main { grid-column: 1; grid-row: 1; }
  .pv .pv-side { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-items: center; width: auto; }
  .pv .pv-side .guests { flex: 1 0 100%; }
  .pv .pv-fields { grid-template-columns: minmax(96px, 40%) 1fr; gap: 0 12px; }
  .pv .pv-media .photo-group { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .pv .pv-video-grid { grid-template-columns: 1fr; }
  .form_1 .line_1 .title,
  .form_1 .line_1 .data {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
  }
  .form_1 .line_1 .title {
    padding-bottom: 4px !important;
  }
}

.casting_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 8px 0;
}
.casting_toolbar h1 {
  margin: 0;
}
.casting_btn_new {
  display: inline-block;
  background: #6b3d2a;
  color: #fff !important;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none !important;
}
.casting_btn_new:hover {
  background: #8a4b2f;
  color: #fff !important;
}
.casting_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.casting_replies_title {
  font-weight: bold;
  color: #6b3d2a;
  margin-bottom: 6px;
}
.casting_composer {
  background: #fff;
  border: 1px solid #e4dce0;
  border-radius: 4px;
  padding: 8px 18px 16px;
  margin: 0 0 24px 0;
}
.casting_composer_sum {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #6b3d2a;
  padding: 10px 0;
  list-style: none;
}
.casting_composer_sum::-webkit-details-marker {
  display: none;
}
.casting_form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}
.casting_form_grid .is-wide {
  grid-column: 1 / -1;
}
.cast_check_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 16px;
  max-height: 240px;
}
.casting_create_form .line_1 input.cast_num {
  width: 80px !important;
  max-width: 80px;
  margin-right: 8px;
}
.casting_access label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
  max-width: 42em;
}
.casting_submit_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.casting_create_form .casting_submit {
  display: inline-block;
  width: auto;
  min-width: 160px;
}
.casting_submit_alt {
  background-color: #8a4b2f !important;
}
.casting_submit_ghost,
.apply_submit_alt {
  background: #fff !important;
  color: #6b3d2a !important;
  border: 1px solid #6b3d2a !important;
}
.casting_cancel {
  margin-left: 8px;
}
.apply_preview {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f9f5f7;
  border: 1px solid #e8d4dc;
  padding: 14px 16px;
  margin: 0 0 20px 0;
}
.apply_preview img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border: 1px solid #ddd;
}
.apply_preview p {
  margin: 4px 0 0;
}
.apply_form input[type="file"] {
  display: block;
  margin: 0 0 8px 0;
}
.apply_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
button.apply_submit {
  border: 0;
  cursor: pointer;
}
button.apply_submit_alt {
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}
.apply_table {
  width: 100%;
}
@media (max-width: 900px) {
  .casting_form_grid {
    grid-template-columns: 1fr;
  }
  .cast_check_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cast_check_grid {
    grid-template-columns: 1fr;
  }
  .casting_toolbar {
    align-items: stretch;
  }
  .casting_btn_new {
    text-align: center;
  }
}
