.personal-list-dialog[hidden] { display: none; }
.personal-list-dialog { position: fixed; z-index: 245; inset: 0; display: grid; padding: 24px; place-items: center; }
.personal-list-dialog__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3, 12, 20, .66); backdrop-filter: blur(8px); cursor: default; }
.personal-list-dialog__panel { position: relative; width: min(590px, 100%); max-height: calc(100dvh - 48px); overflow: hidden; border: 1px solid rgba(255,255,255,.68); border-radius: 22px; background: #f8fbfd; box-shadow: 0 30px 90px rgba(3, 17, 30, .34); }
.personal-list-dialog__panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 24px 18px; color: #fff; background: linear-gradient(135deg, #092a32, #0b6758); }
.personal-list-dialog__panel > header span { color: #8fe0c6; font: 800 11px/1.2 Consolas, monospace; letter-spacing: .16em; }
.personal-list-dialog__panel > header h2 { margin: 7px 0 4px; font-size: 25px; }
.personal-list-dialog__panel > header p { max-width: 460px; overflow: hidden; margin: 0; color: #d5eee7; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.personal-list-dialog__close { display: grid; width: 38px; height: 38px; flex: none; padding: 0; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.1); font-size: 23px; cursor: pointer; }
.personal-list-dialog__body { display: grid; max-height: calc(100dvh - 190px); gap: 18px; overflow: auto; padding: 20px 24px 24px; }
.personal-list-dialog__rows { display: grid; gap: 10px; }
.personal-list-dialog__rows article { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px 12px 17px; border: 1px solid #d9e4e8; border-radius: 13px; background: #fff; }
.personal-list-dialog__rows article > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.personal-list-dialog__rows article strong { overflow: hidden; color: #173541; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.personal-list-dialog__rows article span { color: #74838c; font-size: 12px; }
.personal-list-dialog__rows article button, .personal-list-dialog__create button { min-height: 40px; padding: 8px 16px; color: #fff; border: 0; border-radius: 9px; background: #087853; font-weight: 800; cursor: pointer; }
.personal-list-dialog__rows article button.is-added { color: #087853; border: 1px solid #a9d5c5; background: #eef9f5; cursor: default; }
.personal-list-dialog__empty { margin: 0; padding: 22px; color: #697881; text-align: center; border: 1px dashed #cbd9de; border-radius: 13px; background: #fff; }
.personal-list-dialog__create { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-top: 18px; border-top: 1px solid #dce5e8; }
.personal-list-dialog__create input { min-width: 0; min-height: 44px; padding: 9px 13px; border: 1px solid #bfcfd5; border-radius: 10px; background: #fff; font: inherit; }
.personal-list-toast { position: fixed; z-index: 270; left: 50%; bottom: 28px; padding: 11px 18px; color: #fff; border-radius: 10px; background: #10251f; box-shadow: 0 12px 34px rgba(0,0,0,.24); font-weight: 750; transform: translateX(-50%); }
body.has-personal-list-dialog { overflow: hidden; }

@media (max-width: 540px) {
  .personal-list-dialog { padding: 10px; }
  .personal-list-dialog__panel { max-height: calc(100dvh - 20px); border-radius: 16px; }
  .personal-list-dialog__panel > header { padding: 20px 17px 16px; }
  .personal-list-dialog__body { max-height: calc(100dvh - 165px); padding: 15px 14px 18px; }
  .personal-list-dialog__create { grid-template-columns: 1fr; }
  .personal-list-dialog__create button { width: 100%; }
}
