.studio-cookie-notice { position:fixed; bottom: max(16px, env(safe-area-inset-bottom)); right:16px; z-index:65; width:min(420px,calc(100% - 32px)); box-sizing:border-box; padding:16px 20px; color:#30342d; background:#faf9f5; border:1px solid #d5d7cd; border-radius:10px; box-shadow:0 4px 24px #292e2422; }
.studio-cookie-notice p { margin:0 0 12px; font:400 14px/1.5 system-ui,sans-serif; }
.studio-cookie-notice button { cursor:pointer; min-height:44px; padding:8px 22px; border:0; border-radius:5px; background:#536b52; color:white; font:600 14px system-ui,sans-serif; }
.mobile-filters, .mobile-total { display: none; }
@media (max-width: 760px) {
  body.open { overflow: hidden; }
  #side { visibility: hidden; overflow-y: auto; }
  body.open #side { visibility: visible; }
  main > header { position: sticky; top: 0; z-index: 6; background: var(--bg); }
  .crumb { min-width: 0; font-size: 0; gap: 6px; }
  .crumb span { display: none; }
  .crumb b { font-size: 14px; }
  #menu, .heart, .close { width: 44px; height: 44px; }
  .chip, .favs, .cardfoot button, .summary-item button { min-height: 44px; }
  .favs { font-size: 12px; }
  input:not([type=checkbox]):not([type=range]), select, textarea { font-size: 16px; min-height: 44px; }
  .rent-filters { display: block; padding: 0 14px; }
  .rent-filters h2 { display: none; }
  .mobile-filters { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 0; font-weight: 600; }
  .mobile-filters span { font-size: 21px; color: var(--accent); }
  #filter-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-bottom: 14px; }
  .mobile-filters[aria-expanded=false] + #filter-fields { display: none; }
  .rent-product h3 { font-size: 15px; }
  .rent-product-photo { height: auto; aspect-ratio: 1.15; }
  .filters { gap: 6px; }
  dialog { margin: auto auto 0; width: 100%; max-width: 100%; max-height: 92dvh; border-radius: 14px 14px 0 0; padding: 24px 20px max(20px,env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  dialog .close { top: 5px; right: 5px; }
  dialog .pair { grid-template-columns: minmax(0,1fr); }
  .adminwrap table, .adminwrap tbody { display: block; }
  .adminwrap thead, .adminwrap tr:has(th) { display: none; }
  .adminwrap tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 16px; padding: 16px; margin: 12px 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
  .adminwrap td { padding: 0; border: 0; display: block; overflow-wrap: anywhere; }
  .adminwrap td::before { display: block; color: var(--muted); font-size: 12px; }
  .adminwrap td[data-label]::before { content: attr(data-label); }
  .adminwrap td select { max-width: 100%; }
  .adminwrap td:last-child:has(.textlink) { grid-column: 1/-1; }
  .adminwrap table:not(:has(thead)) td:first-child { grid-column: 1/-1; font-weight: 700; font-size: 16px; }
  .adminwrap table:not(:has(thead)) td:nth-child(2)::before { content: 'Начало'; }
  .adminwrap table:not(:has(thead)) td:nth-child(3)::before { content: 'Дней'; }
  .adminwrap table:not(:has(thead)) td:nth-child(4)::before { content: 'Клиент'; }
  .adminwrap table:not(:has(thead)) td:nth-child(5)::before { content: 'Контакт'; }
  .adminwrap table:not(:has(thead)) td:nth-child(6)::before { content: 'Сумма'; }
  .adminwrap .textlink { min-height: 44px; }
  #builder-view { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .builder-layout { min-width: 0; grid-template-columns: minmax(0,1fr); }
  .stage-wrap { top: auto; }
  .studio-nav { flex-wrap: wrap; justify-content: center; gap: 0; }
  .studio-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .stage-header { flex-wrap: wrap; gap: 4px; }
  .step-dot span { font-size: 12px; }
  .nav-actions { position: fixed; inset: auto 0 0; z-index: 8; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
  .nav-actions .btn { min-height: 44px; width: auto; }
  .mobile-total { display: grid; margin-right: auto; }
  .mobile-total small { font-size: 12px; color: var(--muted); }
  .mobile-total strong { color: var(--accent-dark); font-size: 17px; }
  .budget-bar { display: none; }
  .modal-backdrop .modal { max-height: 90dvh; overflow-y: auto; }
  .request-preview { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .nav-actions .btn { padding-inline: 12px; }
  .rent-title h1 { font-size: 29px; }
  .rent-body { gap: 12px; }
  #rent-list { column-gap: 10px; }
}
