.hint::after { display: none; width: min(240px, calc(100vw - 32px)); left: var(--native-hint-left, 50%); }
.hint:hover::after, .hint:focus-visible::after, .hint:focus::after { display: block; }

.native-domain-offers .offer-copy strong { overflow-wrap: anywhere; }
.native-domain-offers .offer-list form { flex: none; margin: 0; }
.native-domain-offers .buy-summary { text-decoration: none; }

.native-meta-thumb { overflow: hidden; }
.native-meta-thumb img, .native-meta-thumb video { width: 100%; height: 120px; object-fit: cover; }
.native-meta-media { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; height: auto; min-height: 0; min-width: 0; max-width: 100%; gap: 12px; overflow: hidden; }
.native-meta-media img, .native-meta-media video { display: block; width: auto; max-width: 100%; max-height: min(52vh, 460px); object-fit: contain; border-radius: 10px; }
[data-post-text] { white-space: pre-wrap; }
.native-twofactor-qr { display: block; width: 160px; height: 160px; background: white; opacity: 1; }
.native-twofactor-qr img { display: block; width: 100%; height: 100%; }
#tvafaktor .help { overflow-wrap: anywhere; }

.native-meta-offer { align-items: flex-start; padding: 20px; }
.native-meta-offer .conn-check { margin-top: 2px; }
.native-meta-offer .conn-copy { min-width: 0; }
.native-meta-offer .conn-copy p { max-width: 66ch; line-height: 1.6; }
.native-meta-offer .actions { margin-top: 14px; }
.native-meta-offer .btn { white-space: normal; text-align: center; }
@media (max-width: 520px) {
    .native-meta-offer { padding: 16px; gap: 12px; }
    .native-meta-offer .conn-check { width: 40px; height: 40px; }
}
@media print {
    html:has([data-native-print-report]), html:has([data-native-print-report]) body { background: white; }
    body:has([data-native-print-report]) .side, body:has([data-native-print-report]) .topbar, body:has([data-native-print-report]) .helper, body:has([data-native-print-report]) dialog, body:has([data-native-print-report]) .scrim { display: none !important; }
    body:has([data-native-print-report]) .app { display: block; padding: 0; }
    [data-native-print-report] { margin: 0 !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
    [data-native-print-report] .btn, [data-native-print-report] .hint { display: none !important; }
    [data-native-print-report] .card { break-inside: avoid; box-shadow: none; }
    [data-native-print-report] .bars { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
.native-google-partner-box { margin: 8px 6px 10px; text-align: center; }
.native-google-partner { display: block; width: 96px; max-width: 100%; margin: 0 auto 8px; }
.native-google-partner img { display: block; width: 100%; height: auto; }
.native-google-partner:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.native-partner { min-width: 0; container: native-partner / inline-size; }
.native-partner-body { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 14px 16px; }
.native-partner-badge { grid-row: 1 / 3; display: grid; place-items: center; width: 84px; height: 84px; }
.native-partner-badge img { display: block; width: 84px; height: auto; }
.native-partner-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.native-partner-copy { min-width: 0; display: grid; gap: 4px; }
.native-partner-copy strong { font-size: 14px; font-weight: 600; letter-spacing: -0.012em; }
.native-partner-copy p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; text-wrap: pretty; }
.native-partner-body > .btn { grid-column: 2; justify-self: start; max-width: 100%; white-space: normal; text-align: center; }
@container native-partner (min-width: 760px) {
    .native-partner-body { grid-template-columns: 84px minmax(0, 1fr) auto; }
    .native-partner-badge { grid-row: auto; }
    .native-partner-body > .btn { grid-column: 3; }
}
@container native-partner (max-width: 380px) {
    .native-partner-body { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .native-partner-badge { grid-row: auto; width: 64px; height: 64px; }
    .native-partner-badge img { width: 50px; }
    .native-partner-body > .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}

.native-ads-platform-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.native-ads-platform { min-width: 0; }
.native-ads-platform > .card-head { padding: 12px 16px 11px; border-bottom: 1px solid var(--brand-line); }
.native-ads-platform > .card-head h2 { flex-wrap: wrap; white-space: normal; font-size: 15px; }
.native-ads-platform > .card-head h2 .ico { width: 18px; height: 18px; color: var(--brand); }
.native-ads-sub { font-size: 12px; font-weight: 500; color: var(--muted); }
.native-ads-head-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.native-ads-main { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: stretch; }
.native-ads-col-period { min-width: 0; border-right: 1px solid var(--brand-line); }
.native-ads-col-results { min-width: 0; }
.native-ads-period { gap: 8px; height: 100%; box-sizing: border-box; padding: 14px 16px; }
.native-ads-period .budget-head { flex-wrap: wrap; gap: 6px 10px; }
.native-ads-period-select { margin-top: 2px; }
.native-ads-period-title { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.native-ads-period-title .ico { width: 17px; height: 17px; color: var(--brand); }
.native-ads-select { display: flex; align-items: center; gap: 6px; margin: 0; }
.native-ads-select .select-sm { max-width: 100%; }
.native-ads-select .btn[hidden] { display: none; }
.native-ads-amount { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.native-ads-amount strong { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ink); }
.native-ads-amount strong small { margin-left: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.native-ads-carry { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.native-ads-carry .ico { flex: none; width: 14px; height: 14px; color: var(--brand); }
.native-ads-caption { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px 0; color: var(--muted); font-size: 12px; }
.native-ads-col-results .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding: 8px 16px 6px; }
.native-ads-platform .stat { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-color: var(--brand-line); background: var(--surface); text-align: left; }
.native-ads-platform .stat .tile { flex: none; color: var(--brand); background: var(--brand-tile); box-shadow: none; }
.native-ads-platform .stat-copy { justify-items: start; }
.native-ads-platform .stat-copy strong { font-size: 18px; }
.native-ads-col-results .kv { padding: 4px 16px 12px; }
.native-ads-platform .kv dd { overflow-wrap: break-word; }
.native-ads-empty { padding: 14px 16px; }
.native-ads-empty .help { margin: 0; max-width: 62ch; }
.native-ads-offer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; }
.native-ads-offer p { flex: 1 1 320px; margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.native-ads-offer-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.native-ads-note { margin: 0; padding: 2px 16px 12px; }
.native-ads-more { border-top: 1px solid var(--brand-line); }
.native-ads-more > summary { display: flex; align-items: center; gap: 8px; padding: 10px 16px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; letter-spacing: -0.008em; }
.native-ads-more > summary::-webkit-details-marker { display: none; }
.native-ads-more > summary:hover { background: var(--surface); }
.native-ads-more > summary .meta { font-size: 12px; font-weight: 500; }
.native-ads-more > summary .ico { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .15s ease; }
.native-ads-more[open] > summary .ico { transform: rotate(90deg); }
.native-ads-more .rows { padding-bottom: 4px; }
.native-ads-more .row { padding-left: 16px; padding-right: 16px; border-top-color: var(--brand-line); }
.native-ads-more .row-copy .meter { max-width: 260px; margin-top: 5px; }
.native-ads-row-amount { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.native-ads-keywords { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 8px; }
.native-ads-keyword { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border: 1px solid var(--brand-line); border-radius: 999px; background: var(--surface); font-size: 12px; line-height: 1.4; }
.native-ads-keyword.is-paused { color: var(--muted); border-style: dashed; }
.native-ads-keyword.is-negative { color: var(--muted); }
.native-ads-headlines { margin: 0; padding: 4px 16px 12px 34px; font-size: 13px; line-height: 1.7; }
.native-ads-account + .native-ads-account { border-top: 1px solid var(--brand-line); }
.native-ads-platform > .card-foot { padding: 9px 16px; border-top-color: var(--brand-line); }
.native-ads-platform > .card-foot .link { margin-left: auto; }
@media (max-width: 860px) {
    .native-ads-main { grid-template-columns: minmax(0, 1fr); }
    .native-ads-col-period { border-right: 0; border-bottom: 1px solid var(--brand-line); }
    .native-ads-period { height: auto; }
}
@media (max-width: 620px) {
    .native-ads-amount strong { font-size: 21px; }
    .native-ads-select { width: 100%; }
    .native-ads-select .select-sm { width: 100%; }
    .native-ads-offer-actions { width: 100%; }
}

.native-ads-renewal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 16px; border-top: 1px solid var(--brand-line); padding: 14px 16px; font-size: 13px; line-height: 1.5; }
.native-ads-renewal-copy, .native-ads-renewal-action { display: grid; align-content: start; gap: 7px; min-width: 0; }
.native-ads-renewal-copy > strong { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.native-ads-renewal-copy > strong .ico { flex: none; width: 17px; height: 17px; color: var(--brand); }
.native-ads-renewal-copy:only-child { grid-column: 1 / -1; }
.native-ads-renewal p, .native-ads-renewal form { margin: 0; }
.native-ads-renewal .btn { justify-self: start; max-width: 100%; white-space: normal; text-align: center; }
.native-ads-offer-actions { flex-wrap: wrap; max-width: 100%; }
.native-ads-offer-actions .btn { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 620px) { .native-ads-renewal { grid-template-columns: minmax(0, 1fr); } }

.native-ads-platform.card-meta { --brand: #0866ff; --brand-soft: #f4f8ff; --brand-line: #d3e2fb; --brand-tile: #e3eeff; }
.native-ads-platform.card-google { --brand: #188038; --brand-soft: #f3faf5; --brand-line: #cbe6d4; --brand-tile: #def3e5; }
.native-ads-platform { border-top-width: 1px; }
.native-ads-platform > .card-head { padding: 14px 16px 12px; gap: 12px 16px; }
.native-ads-platform > .card-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.native-ads-brand { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--brand-line); }
.native-ads-brand svg { display: block; width: 23px; height: 23px; }
.native-ads-title { display: grid; gap: 2px; min-width: 0; }
.native-ads-title > span:first-child { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); }
.native-ads-platform .native-ads-sub { font-size: 12.5px; line-height: 1.3; }
.native-ads-col-period::before, .native-ads-col-results::before { content: "Budget och period"; display: block; padding: 12px 16px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.native-ads-col-results::before { content: "Resultat"; }
.native-ads-col-period > .native-ads-period, .native-ads-col-period > .native-ads-empty { padding-top: 8px; }
.native-ads-col-results > .native-ads-caption { padding-top: 6px; }
.native-ads-col-results > .native-ads-empty { padding-top: 8px; }
.native-ads-caption > span:first-child { font-size: 13px; font-weight: 600; color: var(--ink); }
.native-ads-platform .stat .tile { background: var(--brand-tile); color: var(--brand); }
.native-ads-platform .kv-ico { color: var(--brand); }
.native-ads-platform > .card-foot .link { color: var(--brand); }
@media (max-width: 620px) {
    .native-ads-brand { width: 34px; height: 34px; border-radius: 9px; }
    .native-ads-brand svg { width: 20px; height: 20px; }
    .native-ads-title > span:first-child { font-size: 15px; }
}
.native-ads-col-period > .native-ads-period { height: auto; min-height: 0; }

.thread, .thread .msg, .thread .msg-body { min-width: 0; }
.thread .msg-text { overflow-wrap: anywhere; }
.thread .msg-head { flex-wrap: wrap; }
.thread > .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

.locked-head > div { min-width: 0; flex: 1; }
.locked-head .form-foot { margin-top: 12px; }
.locked-head:only-child { padding-bottom: 16px; }
.badge.badge-new, .row-copy strong .badge-new { color: #fff; }
.post.native-ig { gap: 0; padding: 0; overflow: hidden; align-content: start; }
.native-ig-head { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; }
.native-ig-avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); color: #fff; font-size: 13px; font-weight: 700; }
.native-ig-who { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.native-ig-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.native-ig-sub { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.native-ig-head .badge { flex: none; }
.native-ig .post-image { height: auto; aspect-ratio: 1 / 1; border-radius: 0; }
.native-ig .native-meta-thumb img, .native-ig .native-meta-thumb video { height: 100%; aspect-ratio: 1 / 1; }
.native-ig-text { padding: 16px; text-align: center; color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(135deg, var(--accent-soft), var(--surface-3)); }
.native-ig-body { display: grid; gap: 6px; padding: 10px 12px 12px; }
.native-ig .post-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.native-ig .post-text strong { font-weight: 600; color: inherit; }
.native-ig-date { color: var(--muted); font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; }
.native-partner { overflow: hidden; background: oklch(24% 0.02 215); border-color: transparent; color: #fff; }
.native-partner .native-partner-body { grid-template-columns: 148px minmax(0, 1fr); gap: 10px 20px; padding: 0 18px 0 0; }
.native-partner .native-partner-badge { grid-row: 1 / 3; align-self: stretch; width: 148px; height: auto; min-height: 132px; border-radius: 0; background: #fff; }
.native-partner .native-partner-badge img { width: 118px; }
.native-partner .native-partner-copy { padding-top: 18px; }
.native-partner .native-partner-body > .btn { margin-bottom: 18px; }
@container native-partner (min-width: 760px) {
    .native-partner .native-partner-body { grid-template-columns: 148px minmax(0, 1fr) auto; }
    .native-partner .native-partner-badge { grid-row: auto; }
    .native-partner .native-partner-copy { padding: 18px 0; }
    .native-partner .native-partner-body > .btn { margin: 0; }
}
@container native-partner (max-width: 380px) {
    .native-partner .native-partner-body { grid-template-columns: 96px minmax(0, 1fr); }
    .native-partner .native-partner-badge { grid-row: auto; width: 96px; min-height: 96px; }
    .native-partner .native-partner-badge img { width: 78px; }
}
.native-partner .native-partner-copy strong { color: #fff; }
.native-partner .native-partner-copy p { color: oklch(84% 0.01 215); }
.native-partner .btn-secondary { background: #fff; border-color: transparent; color: oklch(24% 0.02 215); }
.native-ticket-closed { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); }
.native-ticket-closed .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok-line); stroke-width: 2.6; }
.native-check { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; cursor: pointer; user-select: none; }
.native-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.native-tickets-none { display: none; }
.card:has([data-hide-closed]:checked) .ticket[data-state="avslutade"] { display: none; }
.card:has([data-hide-closed]:checked):not(:has(.ticket[data-state="oppna"])) .native-tickets-none { display: grid; }
.content { padding-bottom: 140px; }
.bars.is-empty { display: block; height: auto; min-height: 0; border: 0; background: none; }
.bars.is-empty::before, .bars.is-empty::after { content: none; }
.bars.is-empty .empty { border-top: 0; }
.card:has(.reveal-panel:not([hidden])) .empty { display: none; }
.page-title { margin-bottom: 18px; }
.native-ads-col-period::before, .native-ads-col-results::before { padding: 12px 16px 6px; }
.native-ads-col-period { background: var(--brand-soft); }
.native-ads-date, .native-ads-caption > span:first-child { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--brand-tile); color: var(--brand); font-size: 12.5px; font-weight: 650; letter-spacing: -0.005em; line-height: 1.4; }
.native-ads-period .budget-head { align-items: center; }
.native-ads-platform .stat { border: 1px solid var(--brand-line); background: var(--brand-soft); }
.native-ads-platform .stat-copy strong { font-size: 20px; }
.native-ads-col-results .kv { gap: 8px; padding: 6px 16px 14px; }
.native-ads-col-results .kv > div { padding: 8px 10px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--surface); }
.native-ads-caption { justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.native-ads-caption > span:last-child:not(:first-child) { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.4; }
.native-ads-period { gap: 10px; }
.native-ads-carry { align-items: flex-start; }
.native-ads-carry .ico { margin-top: 3px; }
.native-ads-col-results .stats { padding-top: 10px; }
.native-ticket-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.thread { gap: 16px; padding: 16px 16px 8px; }
.thread .msg { gap: 12px; }
.thread .msg-avatar { width: 36px; height: 36px; font-size: 13px; font-weight: 700; }
.thread .msg-head { align-items: center; gap: 4px 10px; margin-bottom: 2px; }
.thread .msg-head strong { font-size: 13.5px; }
.native-msg-date { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.thread .msg-text { padding: 12px 14px; border-radius: 4px 14px 14px 14px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 1.55; }
.thread .msg-us .msg-text { border-color: var(--accent-line); background: var(--accent-soft); }
.native-ticket-files { display: grid; gap: 8px; padding: 4px 0 8px 48px; }
.native-ticket-files > strong { font-size: 13px; color: var(--ink-2); }
.native-ticket-file-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.native-ticket-file { display: grid; gap: 6px; width: 120px; text-decoration: none; color: var(--ink-2); font-size: 11.5px; }
.native-ticket-file img, .native-ticket-file-icon { display: grid; place-items: center; width: 120px; height: 90px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); object-fit: cover; color: var(--muted); }
.native-ticket-file-icon .ico { width: 22px; height: 22px; }
.native-ticket-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.native-ticket-file:hover img, .native-ticket-file:hover .native-ticket-file-icon { border-color: var(--line-strong); }
@media (max-width: 620px) { .native-ticket-files { padding-left: 0; } .thread .msg-avatar { width: 30px; height: 30px; } }
.meta { color: var(--ink-2); }
.badge:not([class*="badge-"]) { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tabs a { text-decoration: none; }
.row-copy > span:empty { display: none; }
.native-row-image { position: relative; }
.native-row-image .ico { width: 18px; height: 18px; }
.native-row-image img { position: absolute; inset: 0; object-fit: contain; padding: 3px; background: var(--surface); }
.card-body > .btn { margin-top: 12px; }
@media (max-width: 620px) {
    .helper-btn { width: 50px; height: 50px; padding: 0; border-radius: 50%; justify-content: center; font-size: 0; }
    .helper-btn .ico { width: 22px; height: 22px; }
    .page-title > .btn, .page-title > .btn-primary { width: 100%; justify-content: center; }
    .card-head { flex-wrap: wrap; gap: 8px 12px; }
    .card-head .meta { white-space: normal; }
    .card-head .tabs { width: 100%; justify-content: stretch; }
    .card-head .tabs > * { flex: 1; justify-content: center; }
    .locked-head { flex-direction: column; gap: 10px; }
    .locked-head .form-foot .btn { width: 100%; justify-content: center; }
    .native-meta-offer { flex-direction: column; gap: 12px; }
    .native-ticket-meta { gap: 5px; }
    .thread .msg-text { font-size: 14px; }
}
@container native-partner (max-width: 400px) {
    .native-partner .native-partner-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 16px; }
    .native-partner .native-partner-badge { grid-row: auto; width: 100%; min-height: 120px; }
    .native-partner .native-partner-badge img { width: 96px; }
    .native-partner .native-partner-copy { padding: 14px 16px 10px; }
    .native-partner .native-partner-body > .btn { grid-column: 1; margin: 0 16px; width: calc(100% - 32px); justify-content: center; }
}
@media (max-width: 620px) {
    .card-head .meta { width: 100%; order: 3; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .native-ads-col-results .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.thread .msg-body { max-width: 760px; }
.thread .msg-text { background: var(--surface-2); }
.thread .msg-us { flex-direction: row-reverse; }
.thread .msg-us .msg-body { display: grid; justify-items: end; }
.thread .msg-us .msg-head { justify-content: flex-end; }
.thread .msg-us .msg-text { width: 100%; border-radius: 14px 4px 14px 14px; background: var(--accent-soft); }
.native-ticket-files { padding-left: 0; }
.native-ads-platform.card-meta, .native-ads-platform.card-google { background: var(--surface); }
.native-ads-platform > .card-head { background: var(--brand-soft); }
.native-ads-col-period { background: var(--brand-soft); }
.native-ads-platform .stat { background: var(--brand-soft); }
.native-ads-col-results .kv { grid-template-columns: minmax(0, 1fr); }
.native-ads-col-results .kv > div { background: var(--brand-soft); }
.native-ads-platform > .card-foot { flex-wrap: wrap; gap: 6px 12px; }
@media (max-width: 620px) {
    .native-ads-head-end { width: 100%; flex-wrap: wrap; margin-left: 0; }
    .native-ads-select .select-sm { min-width: 160px; }
    .native-ads-more > summary { flex-wrap: wrap; }
    .native-ads-more > summary .meta { width: 100%; }
    .native-ticket-file { width: calc(33.333% - 7px); }
    .native-ticket-file img, .native-ticket-file-icon { width: 100%; height: 80px; }
    .thread .msg-body { max-width: 100%; }
}
@container native-partner (min-width: 401px) and (max-width: 640px) {
    .native-partner .native-partner-body { grid-template-columns: 116px minmax(0, 1fr); gap: 8px 16px; padding: 0 16px 0 0; }
    .native-partner .native-partner-badge { grid-row: 1 / 3; width: 116px; min-height: 120px; }
    .native-partner .native-partner-badge img { width: 92px; }
}
.native-ads-amount { flex-wrap: nowrap; align-items: flex-start; }
.native-ads-amount strong small { display: block; margin: 2px 0 0; }
.native-ads-amount .badge { flex: none; margin-top: 4px; }
@media (max-width: 620px) {
    .page-title .actions { width: 100%; }
    .page-title .actions .btn, .page-title > .btn { flex: 1 1 100%; width: 100%; justify-content: center; }
    .native-ads-more > summary .ico { order: 2; }
    .native-ads-more > summary .meta { order: 3; }
}
.native-ig-date { display: inline-flex; align-items: center; align-self: start; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.4; }
#post-dialog [data-post-date] { display: inline-flex; align-items: center; margin-top: 3px; padding: 2px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.4; }
#post-dialog .ad-head > span:last-child { display: grid; gap: 2px; }
#post-dialog .dialog-body { overflow-x: hidden; }
.card > .card-head { padding-bottom: 9px; border-bottom: 1px solid var(--line-2); }
.card-head + .card-body > .rows > .row:first-child, .card-head + .card-body > .row:first-child, .card-head + .card-body > .tickets > .ticket:first-child, .card-head + .card-body > .domains > .domain:first-child, .card-head + .card-body > .empty:first-child, .card-head + .card-body > .service:first-child, .card-head + .rows > .row:first-child, .card-head + .tickets > .ticket:first-child, .card-head + .domains > .domain:first-child, .card-head + .empty, .card-head + .card-body > .posts > .post:first-child, .card-head + .card-body > .services > .service:first-child, .card-head + .services > .service:first-child, .card-head + .card-body > .grow > .row:first-child { border-top: 0; }
.native-partner-copy p, .native-ads-offer p, .native-ads-empty .help, .native-meta-offer .conn-copy p { max-width: none; }
.site-actions.site-actions-lg { gap: 8px; }
.site-actions.site-actions-lg { padding-top: 12px; }
.site-actions.site-actions-lg .btn { flex: 0 0 auto; height: 29px; gap: 7px; padding: 0 10px; font-size: 12.5px; border-radius: var(--radius-s); }
.card-status .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 84px; }
.row .tile, .domain .tile, .ticket .tile, .service .tile { width: 32px; height: 32px; border-radius: 9px; }
.row, .domain, .ticket { min-height: 52px; }
.card-foot > .btn + .meta, .card-foot > .btn + .help { flex: 1 1 240px; max-width: 64ch; text-align: left; }
@media (max-width: 620px) {
    .card-status .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 16px; }
    .card-foot > .btn + .meta { flex-basis: 100%; }
}
.card > .card-head ~ * > .rows > :first-child, .card > .card-head ~ .rows > :first-child, .card > .card-head ~ .card-body > .empty:first-child, .card > .card-head ~ .card-body > .tickets > :first-child, .card > .card-head ~ .card-body > .domains > :first-child, .card > .card-head ~ .card-body > .services > :first-child, .card > .card-head ~ .card-body > .grow-list > :first-child, .card > .card-head ~ .card-body > .posts > :first-child { border-top: 0; }
.card-foot { padding: 10px 14px; }
.kv > div { align-content: start; min-width: 0; }
.kv dd { overflow-wrap: break-word; }
.card-status .kv { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; }
.site-actions .btn { height: 33px; }
.service .tile, .service-tile, .grow-list .tile, .grow-head .tile { width: 32px; height: 32px; border-radius: 9px; }
.card > .card-head ~ .card-body-flush { padding-top: 0; }
.card > .card-head + .card-body:not(.card-body-flush) { padding-top: 12px; }
.site-actions .btn { flex: 0 0 auto; height: 29px; padding: 0 10px; font-size: 12.5px; }
.native-domain-offers .offer-list > li + li { border-top: 1px solid var(--accent-line); }
.kv { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.native-domain-offers .offer-head { padding-bottom: 10px; }
.native-domain-offers .offer-list > li, .native-domain-offers .offer-list ~ a, .native-domain-offers .offer-list + div { border-top-color: var(--accent-line); }
.site-actions .btn .ico, .site-actions.site-actions-lg .btn .ico:first-child { width: 15px; height: 15px; opacity: 1; margin: 0; }
.site-actions .btn .ico:last-child, .site-actions.site-actions-lg .btn .ico:last-child { width: 12px; height: 12px; opacity: 1; margin: 0; }
.card.card-status > .card-head, .card.card-ok > .card-head { border-bottom-color: var(--ok-line-2, var(--ok-line)); }
.service { min-height: 52px; }
.ticket { min-height: 52px; padding-top: 7px; padding-bottom: 7px; }
.grow-head p, .grow-copy { max-width: none; }
.grow-copy { flex: 1; min-width: 0; }

#popup-dialog .pop-bar .pop-text { display: block; text-align: center; overflow-wrap: anywhere; }
#popup-dialog .pop-bar .pop-text:empty { display: none; }

.native-product-preview-image { position: relative; width: 100%; height: auto; aspect-ratio: 1; max-height: 360px; border-radius: 8px; margin-bottom: 12px; background: #fff; }
.native-product-preview-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; object-position: center; }
