.teatri-chair-popup-open { overflow: hidden; }
#teatri-chair-layer { position: fixed; inset: 0; z-index: 10020; background: rgba(0, 0, 0, .38); }
#teatri-chair-layer[hidden], #teatri-chair-dialog [hidden] { display: none !important; }
#teatri-chair-dialog, #teatri-chair-dialog * { box-sizing: border-box; }
#teatri-chair-dialog {
  --chair-ink: #cabea3;
  position: fixed; width: 340px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow: auto; overscroll-behavior: contain;
  padding: 18px; border: 1px solid #68645b; border-radius: 16px;
  background: #141414; color: var(--chair-ink); font-family: inherit;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .25), 0 2px 8px rgba(0, 0, 0, .08);
  text-align: left; line-height: 1.5; isolation: isolate;
  animation: teatri-chair-appear .16s ease-out;
}
#teatri-chair-dialog .teatri-chair-header { position: static; display: flex; align-items: flex-start; gap: 12px; width: auto; height: auto; min-height: 0; margin: 0 0 14px; padding: 0 0 14px; border: 0; border-bottom: 1px solid #4c4942; background: transparent; }
#teatri-chair-dialog .teatri-chair-title { flex: 1; margin: 0; padding: 2px 0 0; color: #e1d8c4; font-family: inherit; font-size: 17px; font-weight: 500; line-height: 1.5; text-transform: none; }
#teatri-chair-dialog .teatri-chair-close { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; margin: -3px -5px 0 0; padding: 0; border: 1px solid #68645b; border-radius: 50%; background: transparent; color: #cabea3; font-family: sans-serif; font-size: 25px; font-weight: 400; line-height: 1; cursor: pointer; }
#teatri-chair-dialog .teatri-chair-close:hover { background: #272727; color: #ffe1a7; border-color: #cabea3; }
#teatri-chair-dialog .teatri-chair-photo { position: relative; display: block; margin: 0 0 17px; border: 1px solid #43413b; border-radius: 9px; background: #272727; overflow: hidden; }
#teatri-chair-dialog .teatri-chair-image { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #141414; margin: 0; padding: 0; border: 0; }
#teatri-chair-dialog .teatri-chair-no-image { display: flex; align-items: center; justify-content: center; min-height: 155px; padding: 28px 24px 45px; text-align: center; font-size: 14px; line-height: 1.6; color: #c0b9a9; }
#teatri-chair-dialog .teatri-chair-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 7px 11px; background: rgba(20, 20, 20, .87); color: #e1d8c4; font-size: 11px; font-weight: 500; line-height: 1.5; }
#teatri-chair-dialog .teatri-chair-form { display: block; margin: 0; padding: 0; }
#teatri-chair-dialog .teatri-chair-menus { display: block; min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
#teatri-chair-dialog .teatri-chair-menus legend { width: 100%; margin: 0 0 9px; padding: 0; color: #e1d8c4; font-size: 15px; font-weight: 600; line-height: 1.6; }
#teatri-chair-dialog .teatri-chair-menu { display: flex; align-items: flex-start; gap: 10px; width: 100%; margin: 0 0 7px; padding: 11px 10px; border: 1px solid #4c4942; border-radius: 7px; background: #1c1c1c; color: #d2c9b6; font-size: 15px; line-height: 1.5; cursor: pointer; }
#teatri-chair-dialog .teatri-chair-menu:hover { background: #272727; border-color: #8c8370; }
#teatri-chair-dialog .teatri-chair-menu:has(input:checked) { border-color: #cabea3; background: #2c2b27; color: #ffe1a7; }
#teatri-chair-dialog .teatri-chair-menu input { appearance: auto; display: block; position: static; flex: 0 0 19px; width: 19px; height: 19px; min-height: 0; margin: 2px 0 0; padding: 0; opacity: 1; accent-color: #cabea3; cursor: pointer; }
#teatri-chair-dialog .teatri-chair-menu span { display: block; margin: 0; padding: 0; }
#teatri-chair-dialog .teatri-chair-menus:disabled .teatri-chair-menu { opacity: .6; cursor: default; }
#teatri-chair-dialog .teatri-chair-status { display: block; margin: 0 0 12px; padding: 0; color: #c0b9a9; font-size: 12px; line-height: 1.6; }
#teatri-chair-dialog .teatri-chair-status.is-error { color: #ffb4ab; }
#teatri-chair-dialog .teatri-chair-add { display: block; width: 100%; min-height: 46px; margin: 0; padding: 11px 16px; border: 1px solid #cabea3; border-radius: 7px; background: #cabea3; color: #141414; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
#teatri-chair-dialog .teatri-chair-add:hover:not(:disabled) { background: #ffe1a7; border-color: #ffe1a7; }
#teatri-chair-dialog .teatri-chair-add:disabled { cursor: not-allowed; background: #393733; color: #b7af9e; border-color: #5e584d; }
#teatri-chair-dialog .teatri-chair-add.is-remove { background: #272727; color: #e1d8c4; border-color: #8c8370; }
#teatri-chair-dialog .teatri-chair-add.is-remove:hover:not(:disabled) { background: #34312c; }
#teatri-chair-dialog button:focus-visible, #teatri-chair-dialog input:focus-visible { outline: 3px solid #ffe1a7; outline-offset: 3px; }
@keyframes teatri-chair-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  #teatri-chair-layer { background: rgba(0, 0, 0, .4); }
  #teatri-chair-dialog { left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); top: auto; transform: translateX(-50%); width: 360px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 17px; border-radius: 16px; animation-name: teatri-chair-appear-mobile; }
  #teatri-chair-dialog .teatri-chair-title { font-size: 16px; }
  #teatri-chair-dialog .teatri-chair-image { max-height: 210px; }
  #teatri-chair-dialog .teatri-chair-menu { padding: 11px 10px; }
  #teatri-chair-dialog .teatri-chair-close { width: 34px; height: 34px; flex-basis: 34px; }
}
@keyframes teatri-chair-appear-mobile { from { opacity: 0; transform: translate(-50%, 7px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { #teatri-chair-dialog { animation: none; } #teatri-chair-dialog .teatri-chair-add { transition: none; } }
