/* Quelld: Smart lists (4.78.0) */
#quelld-lists-root { --p: #9A4FE0; --pd: #5F2A9C; --ink: #2D2D3A; --soft: #6B6B7B; --line: #E7E2EF; font-family: Poppins, system-ui, sans-serif; color: var(--ink); }
#quelld-lists-root *, #quelld-lists-root *::before, #quelld-lists-root *::after { box-sizing: border-box; }
.ql-wrap { max-width: 640px; margin: 0 auto; padding: 8px 20px 40px; display: flex; flex-direction: column; gap: 12px; }
.ql-wrap--narrow { max-width: 520px; }
.ql-centre { text-align: center; }
.ql-wrap.ql-centre { align-items: stretch; padding-top: 32px; }
.ql-brand { font-weight: 700; font-size: 18px; color: var(--p); }
.ql-back { align-self: flex-start; border: 0; background: none; padding: 6px 0; color: #7B2FD0; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.ql-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: #7B2FD0; }
.ql-title { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; }
.ql-sub { margin: 0; font-size: 15px; line-height: 1.55; color: #55556A; }
.ql-hint { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.ql-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #A33232; font-size: 14.5px; }
.ql-flash { margin: 0; padding: 10px 14px; border-radius: 12px; background: #E6F4EC; color: #1F6B45; font-size: 14.5px; font-weight: 600; }
.ql-h2 { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--soft); }
.ql-label { display: block; font-size: 14.5px; font-weight: 600; margin: 4px 0 0; }
.ql-label--small { font-size: 13.5px; }
.ql-input { width: 100%; min-height: 48px; border: 1px solid #DCDCE6; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.ql-input--long { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 110px; }
.ql-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ql-primary { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--p); color: #FFFFFF; font: inherit; font-size: 16.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ql-primary--inline { min-height: 48px; font-size: 15px; padding: 0 16px; flex: none; }
.ql-primary--a { text-align: center; }
.ql-primary:disabled, .ql-secondary:disabled, .ql-soft:disabled { opacity: .6; }
.ql-secondary { min-height: 48px; padding: 0 16px; border: 1px solid #DCDCE6; border-radius: 12px; background: #FFFFFF; color: var(--pd); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ql-secondary--a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ql-soft { align-self: flex-start; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: #F3EDFB; color: var(--pd); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ql-link { border: 0; background: none; padding: 6px 0; min-height: 40px; color: #7B2FD0; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left; }
.ql-link--quiet { color: var(--soft); }
.ql-link--danger { color: #A33232; }
.ql-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ql-acts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.ql-acts--small { gap: 8px; }
.ql-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; font: inherit; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.ql-card--gift { background: #FFF8F2; border-color: #F3E2D3; }
.ql-card__icon { font-size: 24px; flex: none; }
.ql-card__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ql-card__title { font-size: 16px; font-weight: 700; }
.ql-card__sub { font-size: 13.5px; color: var(--soft); }
.ql-chev { color: #A9A1B8; font-size: 22px; }
.ql-draft { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ql-draft li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.ql-x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 10px; background: #F3EDFB; color: var(--pd); font: inherit; font-size: 18px; cursor: pointer; }
.ql-progress { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; font-weight: 600; }
.ql-bar { flex: 1; height: 10px; border-radius: 999px; background: #EFE9F8; overflow: hidden; }
.ql-bar span { display: block; height: 100%; background: var(--p); border-radius: 999px; transition: width .3s; }
.ql-people { display: flex; flex-wrap: wrap; gap: 8px; }
.ql-person { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 0; font: inherit; color: #7B2FD0; cursor: default; }
.ql-person--add { cursor: pointer; }
.ql-person.is-waiting .ql-dot { opacity: .55; }
.ql-person__name { font-size: 11.5px; color: #55556A; max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-person--add .ql-person__name { color: #7B2FD0; font-weight: 600; }
.ql-dot { width: 40px; height: 40px; border-radius: 999px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex: none; }
.ql-dot--small { width: 26px; height: 26px; font-size: 12px; }
.ql-dot--add { background: none; border: 2px dashed #CDB6EE; color: #7B2FD0; font-size: 20px; }
.ql-invite { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #FFFFFF; border: 2px solid #CDB6EE; border-radius: 18px; }
.ql-wa { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: #1F7A4D; color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.ql-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #EFE9F8; border-radius: 14px; }
.ql-tab { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ql-tab.is-on { background: #FFFFFF; }
.ql-tabpane { display: flex; flex-direction: column; gap: 10px; }
.ql-item { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ql-item.is-done { background: #FBFDFB; }
.ql-item__top { display: flex; gap: 10px; align-items: flex-start; }
.ql-item__main { flex: 1; min-width: 0; }
.ql-item__name { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.ql-item.is-done .ql-item__name { color: var(--soft); }
.ql-item__qty { font-size: 13px; color: var(--soft); }
.ql-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ql-who__name { font-size: 14px; font-weight: 600; }
.ql-role { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EAF2FB; color: #1E5A8A; }
.ql-role.is-done { background: #E6F4EC; color: #1F6B45; }
.ql-claim { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--p); color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ql-claim--soft { background: #FFFFFF; border: 1px solid #DCDCE6; color: var(--pd); }
.ql-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ql-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #DCDCE6; background: #FFFFFF; color: #3A3A4A; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ql-add { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.ql-addrow { display: flex; gap: 8px; }
.ql-addrow .ql-input { flex: 1; min-width: 0; }
.ql-q { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #F3EDFB; }
.ql-q__face { width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--p); color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ql-q__main { flex: 1; min-width: 0; font-size: 14px; line-height: 1.5; }
.ql-q__main p { margin: 0; }
.ql-chat { gap: 10px; }
.ql-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ql-msg.is-mine { align-items: flex-end; }
.ql-msg__who { font-size: 12px; color: var(--soft); }
.ql-msg__text { max-width: 85%; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ql-msg.is-mine .ql-msg__text { background: var(--p); border-color: var(--p); color: #FFFFFF; }
.ql-msg__about { font-size: 12px; font-weight: 600; color: var(--pd); }
.ql-keep { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #FFF6E5; color: #5A3D00; font-size: 14.5px; line-height: 1.5; }
.ql-keep p { margin: 0; }
.ql-more { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.ql-more summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.ql-more > * + * { margin-top: 8px; }
.ql-linkrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.ql-linkrow span { flex: 1; min-width: 120px; }
@media (max-width: 380px) { .ql-two { grid-template-columns: minmax(0, 1fr); } }

/* 4.78.1: fields look the same in every theme and on iPhone. The theme's own
   field styles (grey, square) were winning, and iPhone draws date boxes wider
   than their space and shows today's date when none is picked. */
#quelld-lists-root .ql-input { -webkit-appearance: none !important; appearance: none !important; display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: 48px !important; min-height: 48px; margin: 0 !important;
  border: 1px solid #DCDCE6 !important; border-radius: 12px !important; padding: 0 14px !important; background: #FFFFFF !important; box-shadow: none !important; color: var(--ink) !important; font: inherit; font-size: 16px !important; line-height: 46px !important; text-align: left; }
#quelld-lists-root textarea.ql-input { height: auto !important; min-height: 110px; line-height: 1.5 !important; padding: 12px 14px !important; }
#quelld-lists-root .ql-input:focus { outline: 2px solid #CDB6EE; outline-offset: 1px; border-color: var(--p); }
#quelld-lists-root .ql-two > * { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#quelld-lists-root .ql-two .ql-label { margin: 0; }
.ql-datebox { position: relative; }
#quelld-lists-root .ql-date::-webkit-date-and-time-value { text-align: left; margin: 0; }
#quelld-lists-root .ql-date::-webkit-datetime-edit { padding: 0; }
#quelld-lists-root .ql-datebox:not(.has-value) .ql-date { color: transparent !important; }
.ql-datebox:not(.has-value) .ql-date::-webkit-datetime-edit { color: transparent; }
.ql-datebox__empty { position: absolute; left: 15px; top: 0; line-height: 48px; color: #8A8A99; font-size: 16px; pointer-events: none; }
.ql-datebox.has-value .ql-datebox__empty { display: none; }
.ql-wa, .ql-secondary--a { padding: 0 10px; font-size: 14.5px; text-align: center; line-height: 1.25; }

/* 4.78.3: buttons keep Quelld's look over the theme's (it made Add blue with dark words) */
#quelld-lists-root .ql-primary, #quelld-lists-root .ql-claim { background: var(--p) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; text-shadow: none !important; font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; }
#quelld-lists-root .ql-claim { border-radius: 12px !important; }
#quelld-lists-root .ql-claim--soft, #quelld-lists-root .ql-secondary, #quelld-lists-root .ql-chip { background: #FFFFFF !important; color: var(--pd) !important; border: 1px solid #DCDCE6 !important; box-shadow: none !important; text-transform: none !important; }
#quelld-lists-root .ql-soft, #quelld-lists-root .ql-x { background: #F3EDFB !important; color: var(--pd) !important; border: 0 !important; box-shadow: none !important; }
#quelld-lists-root .ql-link, #quelld-lists-root .ql-back, #quelld-lists-root .ql-person, #quelld-lists-root .ql-tab { box-shadow: none !important; text-transform: none !important; }
#quelld-lists-root .ql-link, #quelld-lists-root .ql-back, #quelld-lists-root .ql-person { background: none !important; border: 0 !important; color: #7B2FD0 !important; }
#quelld-lists-root .ql-link--quiet { color: var(--soft) !important; }
#quelld-lists-root .ql-link--danger { color: #A33232 !important; }
#quelld-lists-root .ql-tab { background: transparent !important; color: var(--ink) !important; border: 0 !important; border-radius: 11px !important; }
#quelld-lists-root .ql-tab.is-on { background: #FFFFFF !important; }
#quelld-lists-root .ql-primary:hover, #quelld-lists-root .ql-claim:hover { background: #8A3FD0 !important; }
.ql-many { padding: 12px 14px; border: 1px dashed #CDB6EE; border-radius: 14px; background: #FAF6FE; display: flex; flex-direction: column; gap: 8px; }
.ql-many summary { cursor: pointer; font-weight: 600; color: var(--pd); min-height: 28px; }
.ql-many[open] > * + * { margin-top: 8px; }
/* 4.78.4: the delete cross, centred in a fixed square the theme cannot pad */
#quelld-lists-root .ql-x { width: 40px !important; height: 40px !important; min-width: 40px; min-height: 40px; padding: 0 !important; margin: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; border-radius: 12px !important; flex: none; }
#quelld-lists-root .ql-x svg { display: block; width: 18px; height: 18px; }
