/* Account, Support, Feedback, Bug, Rules, Terms and the owner's Inbox (settings-more.js) — rounded, calm, same rhythm as Settings */
.sx-form { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.sx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .sx-pair { grid-template-columns: 1fr; } }
.sx-form .fld textarea { min-height: 110px; border-radius: 14px; }
.sx-form .dx-cta { align-self: flex-start; min-width: 160px; height: 46px; padding: 0 22px; border-radius: 23px; }
.sx-save { margin-top: 2px; }
.sx-email { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--color-field); }
.sx-email b { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-email .dx-btn { height: 34px; border-radius: 17px; }
.sx-lead { margin: 0 0 6px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
.sx-muted { margin: 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.sx-mail { padding: 4px 4px 0; }
.sx-err { color: var(--color-danger); font-size: 13px; }
.sx-proto { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--color-accent) 10%, transparent); font-size: 14px; font-weight: 700; }
.sx-warn { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--color-danger) 10%, transparent); color: var(--color-ink); font-size: 14px; }
.sx-warn > svg { flex: none; width: 18px; height: 18px; color: var(--color-danger); }
.sx-warn span { flex: 1; }
.sx-warn .dx-btn { flex: none; height: 36px; border-radius: 18px; }

/* switch rows */
.sx-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; color: var(--color-ink); cursor: pointer; }
.sx-row + .sx-row { border-top: var(--hairline) solid var(--color-line); }
.sx-row > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sx-row b { font-size: 15px; font-weight: 600; }
.sx-row small { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.sx-row__ic { flex: none; width: 18px; height: 18px; color: var(--color-ink-muted); }
.sx-row--danger b, .sx-row--danger .sx-row__ic { color: var(--color-danger); }
.sx-form .sx-row { padding: 6px 0; }
@media (hover: hover) { button.sx-row:hover { background: var(--color-hover); } }
.sx-priv { padding: 0; overflow: hidden; }

/* notifications grid */
.sx-notif { padding: 14px 16px 6px; }
.sx-nt { display: grid; grid-template-columns: minmax(0, 1fr) 56px 56px; align-items: center; gap: 8px; min-height: 48px; }
.sx-nt + .sx-nt { border-top: var(--hairline) solid var(--color-line); }
.sx-nt > span { font-size: 15px; }
.sx-nt--head { min-height: 24px; }
.sx-nt--head small { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ink-muted); }
.sx-nt--head + .sx-nt { border-top: 0; }
.sx-sw { position: relative; display: grid; place-items: center; cursor: pointer; }

/* devices */
.sx-dev { padding: 14px 16px; }
.sx-dev__row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.sx-dev__row + .sx-dev__row { border-top: var(--hairline) solid var(--color-line); }
.sx-dev__ic { flex: none; width: 22px; height: 22px; color: var(--color-ink-2); }
.sx-dev__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sx-dev__txt b { font-size: 15px; font-weight: 600; }
.sx-dev__txt small { font-size: 13px; color: var(--color-ink-muted); }
.sx-dev__row .dx-btn { height: 34px; border-radius: 17px; }
.sx-tag { margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: color-mix(in srgb, var(--color-accent) 14%, transparent); color: var(--color-accent); font-style: normal; font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
.sx-link { align-self: flex-start; height: 36px; padding: 0 2px; font-size: 14px; font-weight: 700; color: var(--color-accent); }
.sx-link--danger { color: var(--color-danger); margin-top: 6px; }

/* support */
.sx-faq { padding: 0; overflow: hidden; }
.sx-faq__item + .sx-faq__item { border-top: var(--hairline) solid var(--color-line); }
.sx-faq__item summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.sx-faq__item summary::-webkit-details-marker { display: none; }
.sx-faq__chev { flex: none; width: 14px; height: 14px; margin-left: auto; color: var(--color-ink-muted); transition: transform .18s ease; }
.sx-faq__item[open] .sx-faq__chev { transform: rotate(180deg); }
.sx-faq__item p { margin: 0; padding: 0 16px 16px; font-size: 15px; line-height: 22px; color: var(--color-ink-2); }
.sx-mine { padding: 4px 16px; }
.sx-req { padding: 12px 0; }
.sx-req + .sx-req { border-top: var(--hairline) solid var(--color-line); }
.sx-req header { display: flex; align-items: center; gap: 8px; }
.sx-req header b { font-size: 14px; }
.sx-req header small { margin-left: auto; font-size: 12px; color: var(--color-ink-muted); }
.sx-req > p { margin: 6px 0 0; font-size: 15px; line-height: 21px; white-space: pre-line; overflow-wrap: anywhere; }
.sx-st { padding: 2px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 700; }
.sx-st--new { background: color-mix(in srgb, #F2A33A 18%, transparent); color: #B76E0B; }
.sx-st--done { background: color-mix(in srgb, var(--color-positive) 16%, transparent); color: var(--color-positive); }
.sx-reply { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--color-accent) 9%, transparent); }
.sx-reply small { font-size: 12px; font-weight: 700; color: var(--color-accent); }
.sx-reply p { margin: 4px 0 0; font-size: 15px; line-height: 21px; white-space: pre-line; }

/* feedback */
.sx-q { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.sx-rate { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sx-rate button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--color-field); color: var(--color-ink-2); }
.sx-rate b { font-size: 18px; font-weight: 800; }
.sx-rate small { font-size: 11.5px; }
.sx-rate button[aria-checked="true"] { background: var(--color-accent); color: var(--color-on-accent); }
.sx-shot { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; cursor: pointer; }
.sx-shot__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); font-size: 14px; font-weight: 600; }
.sx-shot__btn svg { width: 16px; height: 16px; color: var(--color-accent); }
.sx-shot__img { max-width: 220px; max-height: 160px; border-radius: 12px; object-fit: cover; }
.sx-tech { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--color-field); font-size: 12px; line-height: 18px; color: var(--color-ink-muted); white-space: pre-wrap; overflow-wrap: anywhere; }

/* rules */
.sx-rules { list-style: none; margin: 0; padding: 6px 16px; }
.sx-rules li { display: flex; gap: 14px; padding: 14px 0; }
.sx-rules li + li { border-top: var(--hairline) solid var(--color-line); }
.sx-rules__n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 14%, transparent); color: var(--color-accent); font-weight: 800; font-size: 14px; }
.sx-rules b { font-size: 16px; }
.sx-rules p { margin: 4px 0 0; font-size: 15px; line-height: 22px; color: var(--color-ink-2); }

/* terms */
.sx-tabs { margin: 0 0 4px; }
.sx-draft { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, #F2A33A 14%, transparent); font-size: 13.5px; line-height: 19px; }
.sx-draft svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #B76E0B; }
.sx-legal { max-width: 70ch; padding: 4px 4px 24px; font-size: 15px; line-height: 24px; color: var(--color-ink-2); }
.sx-legal h3 { margin: 22px 0 6px; font-size: 16px; color: var(--color-ink); }
.sx-legal p { margin: 0 0 10px; }
.sx-legal ul { margin: 0 0 10px; padding-left: 20px; }
.sx-legal li { margin: 4px 0; }
.sx-legal strong { color: var(--color-ink); }
.lg-meta { font-size: 13px; color: var(--color-ink-muted); }

/* owner's inbox */
.sx-inb__f { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; }   /* one row that scrolls (owner rule) */
.sx-inb__f::-webkit-scrollbar { display: none; }
.sx-inb__f .chip { flex: none; }
.sx-inb__f small { margin-left: 4px; font-weight: 800; }
.sx-inb__sep { width: 1px; height: 24px; margin: 0 4px; background: var(--color-line-strong); align-self: center; }
.sx-inb { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line); }
.sx-it + .sx-it { border-top: var(--hairline) solid var(--color-line); }
.sx-it__head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; color: var(--color-ink); }
.sx-it.is-done .sx-it__head { opacity: .6; }
.sx-it__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sx-it__txt b { font-size: 15px; }
.sx-it__txt small { font-size: 13px; color: var(--color-ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-it__when { flex: none; font-size: 12px; color: var(--color-ink-muted); }
.sx-kind { flex: none; padding: 3px 9px; border-radius: 10px; font-size: 11.5px; font-weight: 800; }
.sx-kind--support { background: color-mix(in srgb, var(--color-accent) 14%, transparent); color: var(--color-accent); }
.sx-kind--feedback { background: color-mix(in srgb, var(--color-positive) 16%, transparent); color: var(--color-positive); }
.sx-kind--bug { background: color-mix(in srgb, var(--color-danger) 14%, transparent); color: var(--color-danger); }
@media (hover: hover) { .sx-it__head:hover { background: var(--color-hover); } }
.sx-it__body { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; }
.sx-it__meta { margin: 0; font-size: 12.5px; color: var(--color-ink-muted); }
.sx-it__text { margin: 0; font-size: 15px; line-height: 22px; white-space: pre-line; overflow-wrap: anywhere; }
.sx-it__shot img { max-width: 100%; max-height: 320px; border-radius: 12px; }
.sx-it__tech summary { font-size: 13px; font-weight: 700; cursor: pointer; color: var(--color-ink-2); }
.sx-it__tech pre { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--color-field); font-size: 11.5px; line-height: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sx-it__rep { display: flex; gap: 8px; align-items: flex-end; }
.sx-it__rep textarea { flex: 1; min-width: 0; min-height: 46px; padding: 12px 16px; border: 0; border-radius: 22px; background: var(--color-field); color: var(--color-ink); font: inherit; font-size: 15px; resize: vertical; }
.sx-it__rep .dx-btn { flex: none; height: 44px; border-radius: 22px; padding: 0 18px; background: var(--color-accent); color: var(--color-on-accent); box-shadow: none; }

/* sheet (change email) */
.sx-sheet .dsheet__body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.sx-em { display: flex; flex-direction: column; gap: 12px; }
.sx-em .dx-cta { height: 48px; border-radius: 24px; }
@media (min-width: 640px) { .fsheet.sx-sheet { align-items: center; } }

/* Country + city (place.js): two fields side by side where there is room, the typed city under its list */
.place-pick { display: contents; }
.place-pick__sel[hidden], .place-pick__other[hidden] { display: none !important; }
.place-pick__sel { display: block; }
.place-pick__other { margin-top: 8px; }
.place-pick__sel[hidden] + .place-pick__other { margin-top: 0; }
.su-place { display: grid; grid-template-columns: 1fr; gap: 12px; }
.su-place .fld { display: flex; flex-direction: column; gap: 6px; }
.su-place .fld > span { font-size: 13px; color: var(--color-ink-muted); }

.sx-kind--report { background: color-mix(in srgb, var(--color-warn, #E8B54A) 22%, transparent); color: color-mix(in srgb, var(--color-warn, #E8B54A) 60%, var(--color-ink)); }
/* report sheet (report.js) */
.rp-body { display: flex; flex-direction: column; gap: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.rp-q { margin: 0; font-size: 15px; font-weight: 600; }
.rp-reasons { display: flex; flex-direction: column; }
.rp-reason { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 4px; text-align: left; font: inherit; font-size: 15px; color: var(--color-ink); background: none; }
.rp-reason + .rp-reason { border-top: var(--hairline) solid var(--color-line); }
.rp-reason .radio { flex: none; }
.rp-more { width: 100%; min-height: 56px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--color-field); font: inherit; font-size: 15px; line-height: 22px; color: var(--color-ink); resize: vertical; }
.rp-more:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--color-line-strong); background: var(--color-surface); }
.rp-note { display: flex; gap: 8px; margin: 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.rp-note svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.rp-send { height: 48px; justify-content: center; border-radius: 14px; }
.rp-send:disabled { opacity: .5; }
@media (min-width: 640px) { .fsheet.rp-sheet { align-items: center; } }

/* Account and Profile: one row per item, Edit opens just that one (rowedit.js, styles in profile.css) */
.group.sx-rows { padding: 4px; }
.sx-rows .ed-row__view { min-height: 60px; }
.sx-rows .tr-badge { margin-left: 6px; vertical-align: middle; }
.ed-row__form.is-single .fld > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-row__form .sx-pair { margin: 0; }
.sx-err { font-size: 12.5px; color: var(--color-danger); }

/* Your activity (views/activity.js) */
.ac { display: flex; flex-direction: column; gap: 6px; }
.ac__chips { margin-bottom: 6px; }
.ac__day { margin: 14px 4px 4px; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--color-ink-muted); }
.ac__list { display: flex; flex-direction: column; padding: 4px; border-radius: 18px; background: var(--color-surface); }
.ac__row { position: relative; display: flex; align-items: center; gap: 6px; border-radius: 14px; }
.ac__row + .ac__row::before { content: ""; position: absolute; left: 66px; right: 14px; top: 0; height: var(--hairline); background: var(--color-line); }
.ac__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; }
a.ac__main:hover { background: var(--color-hover); }
.ac__av { flex: none; width: 42px; height: 42px; font-size: 14px; }
.ac__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--color-field); color: var(--color-ink-2); }
.ac__ic svg { width: 18px; height: 18px; }
.ac__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac__txt b { font-size: 14.5px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
.ac__sub { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac__when { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--color-ink-muted); white-space: nowrap; }
.ac__kind { width: 14px; height: 14px; color: var(--color-accent-text); }
.ac__undo { flex: none; height: 32px; margin-right: 8px; padding: 0 12px; border-radius: 999px; background: none; color: var(--color-ink-2); font: inherit; font-size: 13px; font-weight: 700; opacity: .0; transition: opacity .15s ease, background-color .15s ease; }
.ac__row:hover .ac__undo, .ac__undo:focus-visible { opacity: 1; }
.ac__undo:hover { background: var(--color-field); color: var(--color-ink); }
@media (hover: none) { .ac__undo { opacity: 1; } .ac__row { flex-wrap: wrap; } }
@media (max-width: 560px) { .ac__undo { position: absolute; right: 0; bottom: 4px; height: 28px; font-size: 12px; } .ac__when { align-self: flex-start; padding-top: 2px; } .ac__row:has(.ac__undo) .ac__main { padding-bottom: 30px; } }
.ac__none { margin: 8px 4px; color: var(--color-ink-muted); font-size: 14px; }
.ac__more { align-self: center; margin-top: 10px; }

/* Inbox: moderation decision on a report (3 reports hide the thing until you decide) */
.sx-mod { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.sx-mod__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--color-warn); background: color-mix(in srgb, var(--color-warn) 12%, transparent); }
.sx-mod__tag svg { width: 13px; height: 13px; }
.sx-mod__rm { color: var(--color-danger); }
