/* ==========================================================================
   Growth Hub and Help & Support pages — page-specific styles on top of the app skin (pages-m2.css).
   Every rule is scoped to its page: body[data-app-page="x"] or a page class.
   --------------------------------------------------------------------------
   Pages and their wrappers (all  .sx-wrap.lp2.lp2-tone-X):
     MSME Loans      .lp2-gh.lp2-gh-msme-loans       emerald   (msme-loans.js)
     Document Vault  .lp2-gh.lp2-gh-document-vault   blue      (growth-tools.js)
     Opportunities   .lp2-gh.lp2-gh-opportunities    violet    (opportunities.js)
     Compliance      .lp2-gh.lp2-gh-compliance       teal      (opportunities.js)
     Help & Support  .lp2-help                       indigo    (app/settings-help.js)
     Get the App     .lp2-getapp                     slate     (downloads.js)
   Pop-ups live in <body>, not in the page: their rules hang off .gh-sheet (the
   body of each Growth Hub pop-up) and #tickets-modal (the help desk).
   Primary text #000; secondary text no lighter than #475569.
   ========================================================================== */

/* ---- Header ---------------------------------------------------------------- */

.lp2-gh .gh-head-text,
.lp2-help .gh-head-text,
.lp2-getapp .gh-head-text { min-width: 0; }
.lp2-gh .gh-head-text .page-sub,
.lp2-help .gh-head-text .page-sub,
.lp2-getapp .gh-head-text .page-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp2-gh .gh-head-actions,
.lp2-help .gh-head-actions,
.lp2-getapp .gh-head-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ---- One tab bar across the Growth Hub (scrolls sideways on phones) ------- */

body.lp2-app .lp2-gh .gh-tabs {
    display: flex; position: relative; max-width: 100%;
    overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin: 0 0 14px;
}
body.lp2-app .lp2-gh .gh-tabs::-webkit-scrollbar { display: none; }
body.lp2-app .lp2-gh .gh-tabs .doc-tab { flex: 0 0 auto; white-space: nowrap; gap: 6px; }
body.lp2-app .lp2-gh .gh-tabs .doc-tab.active i { color: var(--lp2-h3); }
@media (min-width: 561px) {
    body.lp2-app .lp2-gh .gh-tabs { width: fit-content; }
}
@media (max-width: 560px) {
    body.lp2-app .lp2-gh .gh-tabs { width: 100%; }
    body.lp2-app .lp2-gh .gh-tabs .doc-tab { flex: 1 0 auto; padding: 7px 10px; }
}
@media (max-width: 480px) {
    /* four names fit across a phone without their icons */
    body.lp2-app .lp2-gh .gh-tabs .doc-tab { padding: 7px 8px; }
    body.lp2-app .lp2-gh .gh-tabs .doc-tab i { display: none; }
}

/* ---- Shared pieces ----------------------------------------------------------- */

/* a figure bar in a headline card (readiness) */
.lp2-gh .gh-meter {
    display: block; height: 6px; margin: 8px 0 8px; border-radius: 99px; overflow: hidden;
    background: rgba(255, 255, 255, .22);
}
.lp2-gh .gh-meter > i { display: block; height: 100%; border-radius: 99px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .55); }

/* notes: plain, warning, blocker */
.lp2-gh .gh-note.is-warn,
.lp2-getapp .gh-note.is-warn { background: #fffbeb; border-color: #fde68a; }
.lp2-gh .gh-note.is-warn > i { color: #b45309; }
.lp2-gh .gh-note.is-bad { background: #fef2f2; border-color: #fecaca; }
.lp2-gh .gh-note.is-bad > i { color: #b91c1c; }
.lp2-gh .gh-note-acts { margin-top: 8px; }
.lp2-getapp .gh-note { background: #f8fafc; }

/* caption with a button on the right */
.lp2-gh .gh-cap-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 999px; cursor: pointer;
    font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: 0; text-transform: none;
    color: var(--lp2-deep);
    background: color-mix(in srgb, var(--lp2-h3) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--lp2-h3) 28%, #fff);
}
.lp2-gh .gh-cap-btn:hover { background: color-mix(in srgb, var(--lp2-h3) 14%, #fff); }

/* a white card like the list card */
.lp2-gh .gh-card,
.lp2-getapp .gh-card {
    background: #fff; border: 1px solid var(--lp2-line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04); padding: 14px; margin: 0 0 16px;
}

/* filter chips that scroll sideways on phones */
.lp2-gh .gh-chips,
.lp2-help .gh-chips { margin: 0 0 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lp2-gh .gh-chips::-webkit-scrollbar,
.lp2-help .gh-chips::-webkit-scrollbar { display: none; }
.lp2-gh .gh-chips .pill-tab,
.lp2-help .gh-chips .pill-tab { flex: 0 0 auto; white-space: nowrap; }
.lp2-gh .gh-chips .pill-tab i { margin-right: 5px; font-size: .8rem; }
@media (max-width: 719px) {
    .lp2-gh .gh-chips,
    .lp2-help .gh-chips { margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; }
}

/* rows: two-line titles, a line of detail, "goes somewhere" chevron */
.lp2-gh .sx-ref.gh-wrap { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp2-gh .gh-sub { margin-top: 3px; font-size: .76rem; font-weight: 600; color: #334155; line-height: 1.45; }
.lp2-gh .gh-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp2-gh .gh-chev { flex: none; order: 4; color: #94a3b8; font-size: .85rem; }
.lp2-gh .sx-item:hover .gh-chev { color: color-mix(in srgb, var(--sx-c, #059669) 72%, #000); }
.lp2-gh .sx-item[role="button"] { cursor: pointer; }
.lp2-gh .sx-item[role="button"]:focus-visible { outline: 2px solid var(--lp2-h3); outline-offset: -2px; }
.lp2-gh .gh-mono { font-family: var(--font-mono); font-size: .92em; }
.lp2-gh .gh-row-muted { font-weight: 650; color: #475569; }

/* empty and error states inside a list card */
.lp2-gh .sx-list > .gh-empty,
.lp2-help .sx-list > .gh-empty { padding: 40px 18px; }
.lp2-gh .gh-empty > i:first-child { font-size: 2.2rem; }
.lp2-gh .gh-empty .gh-empty-btn,
.lp2-gh .gh-empty-acts { margin-top: 14px; }
.lp2-gh .gh-empty-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lp2-gh .gh-empty-acts .gh-empty-btn { margin-top: 0; }
/* the icon inside the button stays a button icon (the empty-state icon rules hit every <i>) */
.lp2-gh .gh-empty .gh-empty-btn { display: inline-flex; align-items: center; gap: 6px; }
.lp2-gh .gh-empty .gh-empty-btn i {
    display: inline; margin: 0; font-size: 1rem; line-height: 1; opacity: 1; color: inherit;
}

/* a list being refreshed */
.lp2-gh .sx-list.gh-busy { opacity: .55; transition: opacity .15s ease; }

/* key facts: label over value */
.gh-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gh-fact {
    min-width: 0; padding: 9px 11px; border-radius: 12px;
    background: #f8fafc; border: 1px solid #eef1f5;
}
.gh-fact span {
    display: block; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #475569;
}
.gh-fact b {
    display: block; margin-top: 3px; font-size: .84rem; font-weight: 750; color: #000; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere;
}
@media (min-width: 720px) {
    .lp2-gh .gh-facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .lp2-gh .gh-col-side .gh-facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* two fields side by side from 480px */
.gh-2col { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .gh-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gh-2col > .input-group { margin: 0; }

/* a small tag for pop-ups (the page .lp2-tag is only styled inside .lp2) */
.gh-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 999px; font-style: normal;
    font-size: .66rem; font-weight: 800; letter-spacing: .02em; line-height: 1.5; white-space: nowrap;
    color: color-mix(in srgb, var(--t, #334155) 78%, #000);
    background: color-mix(in srgb, var(--t, #334155) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--t, #334155) 24%, #fff);
}
.gh-tag i { font-size: .66rem; }

/* ---- Two columns on wide screens (MSME Loans) -------------------------------- */

.lp2-gh .gh-cols { display: block; }
@media (min-width: 1100px) {
    .lp2-gh .gh-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
}
.lp2-gh .gh-col-main > .sx-list,
.lp2-gh .gh-col-side > .sx-list { margin-bottom: 16px; }

/* ==========================================================================
   MSME Loans
   ========================================================================== */

/* eligibility checks */
.lp2-gh-msme-loans .gh-check { align-items: flex-start; }
.lp2-gh-msme-loans .gh-check .sx-ico { width: 34px; height: 34px; border-radius: 11px; font-size: .95rem; }
.lp2-gh-msme-loans .gh-check.is-ok .sx-ico { background: #dcfce7; color: #047857; border-color: transparent; }
.lp2-gh-msme-loans .gh-check.is-todo .sx-ico { background: color-mix(in srgb, var(--sx-c) 12%, #fff); color: color-mix(in srgb, var(--sx-c) 78%, #000); border-color: transparent; }
.lp2-gh-msme-loans .gh-check .sx-end { align-self: center; }
.lp2-gh-msme-loans .gh-check .gh-chev { align-self: center; }
.lp2-gh-msme-loans .gh-mini-meter { height: 5px; margin-top: 7px; max-width: 220px; border-radius: 99px; background: #eef1f5; overflow: hidden; }
.lp2-gh-msme-loans .gh-mini-meter > i { display: block; height: 100%; border-radius: 99px; background: var(--sx-c, #d97706); }

/* credit file: the six-month figures and the profile */
.lp2-gh-msme-loans .gh-credit { padding: 12px; }
.lp2-gh-msme-loans .gh-credit-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 10px;
}
.lp2-gh-msme-loans .gh-credit-head b { font-size: .78rem; font-weight: 800; color: #334155; letter-spacing: .04em; text-transform: uppercase; }
.lp2-gh-msme-loans .gh-credit-head .sx-eye {
    width: 32px; height: 32px; border-radius: 10px; color: #1e293b;
    background: #f8fafc; border: 1px solid var(--lp2-line);
}
.lp2-gh-msme-loans .gh-fins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
@media (min-width: 720px) and (max-width: 1099px) { .lp2-gh-msme-loans .gh-fins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp2-gh-msme-loans .gh-fin {
    min-width: 0; padding: 10px 11px; border-radius: 14px;
    background: color-mix(in srgb, var(--sx-c) 5%, #fff);
    border: 1px solid color-mix(in srgb, var(--sx-c) 18%, #fff);
    display: flex; flex-direction: column; gap: 2px;
}
.gh-fin-dot {
    width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 4px;
    font-size: .85rem; color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sx-c) 88%, #fff), color-mix(in srgb, var(--sx-c) 80%, #000));
}
.lp2-gh-msme-loans .gh-fin-lbl { font-size: .7rem; font-weight: 800; color: #334155; }
.lp2-gh-msme-loans .gh-fin-val {
    font-size: .98rem; font-weight: 800; color: #000; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp2-gh-msme-loans .gh-fin-val.sx-masked { letter-spacing: .08em; color: #334155; }
.lp2-gh-msme-loans .gh-fin-sub { font-size: .68rem; font-weight: 650; color: #475569; }

/* the request form */
.lp2-gh-msme-loans .gh-apply:empty { display: none; }
.lp2-gh-msme-loans .gh-form { padding: 14px; }
.lp2-gh-msme-loans .gh-steps {
    list-style: none; margin: 0 0 14px; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
}
.lp2-gh-msme-loans .gh-steps li {
    display: flex; flex-direction: column; gap: 4px; padding: 9px 10px; border-radius: 12px;
    background: color-mix(in srgb, var(--lp2-h3) 6%, #fff); border: 1px solid color-mix(in srgb, var(--lp2-h3) 16%, #fff);
    counter-increment: gh-step;
}
.lp2-gh-msme-loans .gh-steps i { color: var(--lp2-deep); font-size: .95rem; }
.lp2-gh-msme-loans .gh-steps span { font-size: .68rem; font-weight: 600; color: #475569; line-height: 1.35; }
.lp2-gh-msme-loans .gh-steps b { display: block; font-size: .74rem; font-weight: 800; color: #000; }
body[data-app-page="msme-loans"] .gh-form .input-group label { font-size: .76rem; font-weight: 750; color: #334155; }
body[data-app-page="msme-loans"] .gh-form input[type="number"],
body[data-app-page="msme-loans"] .gh-form select,
body[data-app-page="msme-loans"] .gh-form textarea {
    width: 100%; border: 1px solid #dbe2ea; border-radius: 12px; background: #fff; color: #000; font-size: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body[data-app-page="msme-loans"] .gh-form input[type="number"],
body[data-app-page="msme-loans"] .gh-form select { height: 46px; min-height: 46px; }
body[data-app-page="msme-loans"] .gh-form input:focus,
body[data-app-page="msme-loans"] .gh-form select:focus,
body[data-app-page="msme-loans"] .gh-form textarea:focus {
    border-color: var(--lp2-h3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp2-h3) 18%, transparent); outline: none;
}
.lp2-gh-msme-loans .gh-form .form-stack { gap: 12px; }
.lp2-gh-msme-loans .gh-fine {
    display: flex; gap: 6px; align-items: flex-start; margin: 0;
    font-size: .72rem; font-weight: 600; color: #475569; line-height: 1.45;
}
.lp2-gh-msme-loans .gh-fine i { margin-top: 1px; }

/* past applications: information only */
.lp2-gh-msme-loans .gh-apps .sx-item { cursor: default; }
.lp2-gh-msme-loans .gh-apps .sx-item:hover,
.lp2-gh-msme-loans .gh-apps .sx-item:active { background: transparent; }
.lp2-gh-msme-loans .gh-apps .lp2-badges .lp2-tag { align-self: flex-end; }

/* the answer after submitting (a pop-up) */
.gh-result { text-align: center; align-items: stretch; }
.gh-result-ico {
    width: 64px; height: 64px; margin: 4px auto 2px; border-radius: 20px;
    display: grid; place-items: center; font-size: 1.8rem;
}
.gh-result.is-ok .gh-result-ico { color: #047857; background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.gh-result.is-bad .gh-result-ico { color: #b91c1c; background: linear-gradient(135deg, #fef2f2, #fee2e2); }
.gh-result-title { font-size: 1.08rem; font-weight: 800; color: #000; letter-spacing: -.01em; }
.gh-result-text { margin: 0; font-size: .84rem; font-weight: 550; color: #334155; line-height: 1.55; }
.gh-result .gh-mono { font-family: var(--font-mono); font-weight: 700; color: #000; }
.gh-reasons { text-align: left; border: 1px solid #fde68a; background: #fffbeb; border-radius: 14px; padding: 10px 12px; }
.gh-reasons-h { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #92400e; margin-bottom: 6px; }
.gh-reason { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; font-weight: 600; color: #1e293b; line-height: 1.45; padding: 3px 0; }
.gh-reason i { color: #b45309; margin-top: 2px; flex: none; }

/* ==========================================================================
   Document Vault
   ========================================================================== */

.lp2-gh-document-vault .gh-vault-toolbar { margin: 0 0 10px; }
.lp2-gh-document-vault .txn-search-input { padding: 0 14px 0 40px; }
.lp2-gh-document-vault .txn-search-input::-webkit-search-cancel-button { cursor: pointer; }
.lp2-gh-document-vault .gh-vault-list { margin-bottom: 16px; }
.lp2-gh-document-vault .lp2-badges .lp2-tag { font-size: .58rem; }
@media (max-width: 400px) {
    .lp2-gh-document-vault .sx-end { max-width: 42%; }
}

/* one document (pop-up) */
.gh-doc { gap: 12px; }
.gh-doc-head { display: flex; gap: 12px; align-items: flex-start; }
.gh-doc-ico {
    width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 1.2rem; color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sx-c) 88%, #fff), color-mix(in srgb, var(--sx-c) 78%, #000));
    box-shadow: 0 10px 18px -12px var(--sx-c);
}
.gh-doc-name { min-width: 0; }
.gh-doc-name b { display: block; font-size: .98rem; font-weight: 800; color: #000; line-height: 1.3; overflow-wrap: anywhere; }
.gh-doc-name > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; font-size: .76rem; font-weight: 700; color: #334155; }
.gh-doc-amt {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    padding: 11px 14px; border-radius: 14px;
    background: color-mix(in srgb, var(--sx-c) 6%, #fff); border: 1px solid color-mix(in srgb, var(--sx-c) 20%, #fff);
}
.gh-doc-amt span { font-size: .72rem; font-weight: 750; color: #334155; }
.gh-doc-amt b { font-size: 1.2rem; font-weight: 800; color: #000; font-variant-numeric: tabular-nums; }
.gh-doc-sum {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 11px 12px; border-radius: 14px; background: #f5f3ff; border: 1px solid #ddd6fe;
    font-size: .82rem; font-weight: 550; color: #1e293b; line-height: 1.55;
}
.gh-doc-sum > i { color: #6d28d9; margin-top: 2px; flex: none; }
.gh-doc-sum.is-warn { background: #fffbeb; border-color: #fde68a; }
.gh-doc-sum.is-warn > i { color: #b45309; }
.gh-doc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gh-doc-tags span { font-size: .7rem; font-weight: 750; color: #334155; background: #f1f5f9; border-radius: 999px; padding: 2px 9px; }
.gh-sheet .gh-mono { font-family: var(--font-mono); font-size: .92em; }

/* upload (pop-up) */
.gh-upload { gap: 12px; }
.gh-drop {
    position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 16px; border-radius: 16px;
    border: 1.5px dashed #93c5fd; background: linear-gradient(135deg, #eff6ff, #f8fafc);
    transition: border-color .15s ease, background .15s ease;
}
.gh-drop:hover { border-color: #2563eb; }
.gh-drop:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.gh-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gh-drop-ico {
    width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
    font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 10px 18px -12px #1d4ed8;
}
.gh-drop-txt { min-width: 0; }
.gh-drop-txt b { display: block; font-size: .9rem; font-weight: 800; color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-drop-txt small { display: block; margin-top: 2px; font-size: .72rem; font-weight: 600; color: #475569; }
.gh-drop.has-file { border-style: solid; border-color: #2563eb; background: #eff6ff; }
.gh-drop.has-file .gh-drop-ico { background: linear-gradient(135deg, #10b981, #047857); }

/* an on/off row (pop-ups) */
.gh-switch-row {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 11px 12px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0;
}
.gh-switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gh-switch {
    position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px;
    background: #cbd5e1; transition: background .15s ease;
}
.gh-switch::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .3); transition: transform .15s ease;
}
.gh-switch-row input:checked + .gh-switch { background: #2563eb; }
.gh-switch-row input:checked + .gh-switch::after { transform: translateX(18px); }
.gh-switch-row input:focus-visible + .gh-switch { outline: 2px solid #2563eb; outline-offset: 2px; }
.gh-switch-txt b { display: block; font-size: .86rem; font-weight: 800; color: #000; }
.gh-switch-txt small { display: block; font-size: .72rem; font-weight: 600; color: #475569; }

/* ask before deleting (pop-up) */
.gh-confirm { text-align: center; align-items: stretch; }
.gh-confirm-ico {
    width: 60px; height: 60px; margin: 4px auto 0; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.5rem; color: #b91c1c; background: linear-gradient(135deg, #fef2f2, #fee2e2);
}
.gh-confirm-title { font-size: 1rem; font-weight: 800; color: #000; overflow-wrap: anywhere; }
.gh-confirm-text { margin: 0; font-size: .84rem; font-weight: 550; color: #334155; line-height: 1.55; }
.modal .btn.gh-btn-danger,
body.lp2-app .modal .btn-outline.gh-btn-danger {
    background: #dc2626; border-color: #dc2626; color: #fff;
    box-shadow: 0 10px 20px -12px rgba(220, 38, 38, .9);
}
.modal .btn.gh-btn-danger:hover:not(:disabled),
body.lp2-app .modal .btn-outline.gh-btn-danger:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; color: #fff; }

/* ==========================================================================
   Opportunities
   ========================================================================== */

.lp2-gh-opportunities .gh-star { color: #d97706; margin-right: 4px; }

/* featured: a row of cards you swipe on phones, a grid when there is room */
.lp2-gh-opportunities .gh-feat-row {
    display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px 16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; scroll-padding: 0 16px;
    overscroll-behavior-x: contain;
}
.lp2-gh-opportunities .gh-feat-row::-webkit-scrollbar { display: none; }
@media (min-width: 720px) {
    .lp2-gh-opportunities .gh-feat-row {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        overflow: visible; margin: 0 0 16px; padding: 0;
    }
}
.lp2-gh-opportunities .gh-feat {
    flex: 0 0 260px; scroll-snap-align: start;
    display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
    font: inherit; color: inherit;
    background: #fff; border: 1px solid var(--lp2-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    animation: ghRise .32s ease both;
}
.lp2-gh-opportunities .gh-feat:hover {
    border-color: color-mix(in srgb, var(--sx-c) 40%, #fff);
    box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--sx-c) 70%, #000);
    transform: translateY(-2px);
}
.lp2-gh-opportunities .gh-feat:focus-visible { outline: 2px solid var(--lp2-h3); outline-offset: 2px; }
.lp2-gh-opportunities .gh-feat-media {
    position: relative; display: grid; place-items: center; height: 124px; overflow: hidden;
    color: #fff; font-size: 2rem;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--sx-c) 90%, #fff), color-mix(in srgb, var(--sx-c) 70%, #000));
}
.lp2-gh-opportunities .gh-feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp2-gh-opportunities .gh-feat-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 13px; flex: 1; }
.lp2-gh-opportunities .gh-feat-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lp2-gh-opportunities .gh-feat-title {
    font-size: .92rem; font-weight: 800; color: #000; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lp2-gh-opportunities .gh-feat-foot {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: .72rem; font-weight: 650; color: #475569;
}
.lp2-gh-opportunities .gh-feat-go { font-weight: 800; color: color-mix(in srgb, var(--sx-c) 72%, #000); white-space: nowrap; }

/* the list: titles get two lines */
.lp2-gh-opportunities .gh-opp-list { margin-bottom: 16px; }
.lp2-gh-opportunities .gh-opp-list .sx-ref {
    white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp2-gh-opportunities .gh-opp-list .sx-end:has(.sx-amt:empty) { display: none; }
.lp2-gh .gh-apply-hint { color: #047857; font-weight: 750; }
.lp2-gh .gh-apply-hint i { font-size: .68rem; }

@keyframes ghRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* one opportunity (pop-up) */
.gh-opp-sheet { gap: 12px; }
.gh-opp-cover {
    position: relative; display: grid; place-items: center;
    margin: -18px -20px 0; height: 200px; overflow: hidden;
    color: #fff; font-size: 2.6rem;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--sx-c, #7c3aed) 90%, #fff), color-mix(in srgb, var(--sx-c, #7c3aed) 70%, #000));
}
body.lp2-app .gh-opp-cover { margin-top: -16px; }
.gh-opp-cover img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; display: block; }
.gh-opp-cover.is-empty { height: 96px; }
@media (max-width: 480px) { .gh-opp-cover { height: 170px; } }
.gh-opp-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gh-opp-date { margin-left: auto; font-size: .74rem; font-weight: 650; color: #475569; }

/* the admin's rich text in the detail pop-up */
.opp-body-content { font-size: .94rem !important; line-height: 1.8 !important; color: #1e293b; }
.opp-body-content p { margin: 0 0 1em !important; }
.opp-body-content p:last-child { margin-bottom: 0 !important; }
.opp-body-content ul { list-style: disc !important; margin: .5em 0 1em 1.6em !important; padding: 0 !important; }
.opp-body-content ol { list-style: decimal !important; margin: .5em 0 1em 1.6em !important; padding: 0 !important; }
.opp-body-content li { margin-bottom: .5em !important; line-height: 1.65 !important; display: list-item !important; }
.opp-body-content li > ul { list-style: circle !important; margin: .3em 0 .3em 1.3em !important; }
.opp-body-content li > ol { margin: .3em 0 .3em 1.3em !important; }
.opp-body-content h2, .opp-body-content h3, .opp-body-content h4 { margin: 1.3em 0 .5em !important; font-weight: 800 !important; color: #000 !important; line-height: 1.3 !important; }
.opp-body-content h2 { font-size: 1.1rem !important; }
.opp-body-content h3 { font-size: 1rem !important; }
.opp-body-content h4 { font-size: .95rem !important; }
.opp-body-content a { color: color-mix(in srgb, var(--sx-c, #4f46e5) 80%, #000) !important; text-decoration: underline !important; font-weight: 700; }
.opp-body-content strong { color: #000 !important; font-weight: 800 !important; }
.opp-body-content em { font-style: italic !important; }
.opp-body-content blockquote { padding: .5em 1em !important; margin: .8em 0 !important; color: #334155; font-style: italic; background: #f8fafc; border-left: 3px solid #cbd5e1; border-radius: 0 8px 8px 0; }
.opp-body-content hr { border: none; border-top: 1px solid #e2e8f0; margin: 1.2em 0 !important; }

/* ==========================================================================
   Compliance
   ========================================================================== */

/* notices */
.lp2-gh-compliance .gh-upd-list { margin-bottom: 16px; }
.lp2-gh-compliance .gh-upd { align-items: flex-start; }
.lp2-gh-compliance .gh-upd .sx-ico { position: relative; overflow: hidden; }
.lp2-gh-compliance .gh-upd .sx-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.lp2-gh-compliance .gh-upd .sx-ico .lp2-ini { font-size: .7rem; letter-spacing: 0; }
.lp2-gh-compliance .gh-upd .gh-chev { align-self: center; }
.lp2-gh-compliance .gh-upd .sx-meta { margin-top: 5px; }

/* institutions */
.lp2-gh-compliance .gh-inst-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .lp2-gh-compliance .gh-inst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .lp2-gh-compliance .gh-inst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp2-gh-compliance .gh-inst {
    display: flex; align-items: flex-start; gap: 12px; text-align: left; cursor: pointer;
    padding: 13px 14px; font: inherit; color: inherit;
    background: #fff; border: 1px solid var(--lp2-line); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
    animation: ghRise .3s ease both;
}
.lp2-gh-compliance .gh-inst:hover { border-color: color-mix(in srgb, var(--sx-c) 40%, #fff); box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--sx-c) 70%, #000); }
.lp2-gh-compliance .gh-inst:focus-visible { outline: 2px solid var(--lp2-h3); outline-offset: 2px; }
.lp2-gh-compliance .gh-inst-av {
    width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
    font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sx-c) 88%, #fff), color-mix(in srgb, var(--sx-c) 78%, #000));
    box-shadow: 0 10px 18px -12px var(--sx-c);
}
.lp2-gh-compliance .gh-inst-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lp2-gh-compliance .gh-inst-av small,
.lp2-gh-compliance .lp2-ini small { font-size: .82em; letter-spacing: -.01em; }
.lp2-gh-compliance .gh-inst-name { display: flex; align-items: center; gap: 8px; }
.lp2-gh-compliance .gh-inst-name b { font-size: .96rem; font-weight: 800; color: #000; }
.lp2-gh-compliance .gh-inst-name em {
    font-style: normal; font-size: .66rem; font-weight: 800; color: color-mix(in srgb, var(--sx-c) 72%, #000);
    background: color-mix(in srgb, var(--sx-c) 10%, #fff); border-radius: 999px; padding: 0 8px; line-height: 1.7;
}
.lp2-gh-compliance .gh-inst-full { font-size: .72rem; font-weight: 700; color: #334155; }
.lp2-gh-compliance .gh-inst-prev {
    margin-top: 3px; font-size: .76rem; font-weight: 550; color: #334155; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp2-gh-compliance .gh-inst-date { margin-top: 3px; font-size: .68rem; font-weight: 700; color: #475569; }
.lp2-gh-compliance .gh-inst-go { flex: none; align-self: center; color: #94a3b8; }
.lp2-gh-compliance .gh-inst:hover .gh-inst-go { color: color-mix(in srgb, var(--sx-c) 72%, #000); }

/* one institution */
.lp2-gh-compliance .gh-back-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px;
}
.lp2-gh-compliance .gh-back-row > span { font-size: .72rem; font-weight: 700; color: #475569; }
.lp2-gh-compliance .gh-back-chip {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    height: 36px; padding: 0 14px; border-radius: 999px;
    font: inherit; font-size: .8rem; font-weight: 800; color: var(--lp2-deep);
    background: color-mix(in srgb, var(--lp2-h3) 8%, #fff); border: 1px solid color-mix(in srgb, var(--lp2-h3) 28%, #fff);
}
.lp2-gh-compliance .gh-back-chip:hover { background: color-mix(in srgb, var(--lp2-h3) 14%, #fff); }
.lp2-gh-compliance .gh-inst-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 16px 18px; border-radius: 22px; color: #fff;
    background: linear-gradient(135deg, var(--lp2-h1) 0%, var(--lp2-h2) 52%, var(--lp2-h3) 100%);
    box-shadow: 0 22px 44px -26px var(--lp2-glow);
}
.lp2-gh-compliance .gh-inst-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(112deg, transparent 0 57%, rgba(255, 255, 255, .07) 57% 71%, transparent 71%),
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .15), transparent 55%);
}
.lp2-gh-compliance .gh-inst-hero .gh-inst-av {
    width: 54px; height: 54px; border-radius: 16px; font-size: .92rem;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); box-shadow: none;
}
.lp2-gh-compliance .gh-inst-hero-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lp2-gh-compliance .gh-inst-hero-txt b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lp2-gh-compliance .gh-inst-hero-txt span { font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .9); }
.lp2-gh-compliance .gh-inst-hero-txt small { font-size: .72rem; font-weight: 650; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   Help & Support
   ========================================================================== */

/* the desk at a glance: each figure opens that list */
.lp2-help .gh-tix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp2-help .gh-tix .lp2-stat:last-child:nth-child(odd) { grid-column: auto; }
.lp2-help .gh-tix-btn {
    font: inherit; text-align: left; cursor: pointer; color: inherit;
    transition: background .15s ease, transform .12s ease;
}
.lp2-help .gh-tix-btn:hover { background: rgba(255, 255, 255, .2); }
.lp2-help .gh-tix-btn:active { transform: scale(.98); }
.lp2-help .gh-tix-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lp2-help .gh-tix-btn span i { font-size: .6rem; opacity: .8; }

/* ways to reach us: as many tiles as there are channels, no empty columns */
.lp2-help .gh-chans {
    display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; margin: 0 0 18px;
}
.lp2-help .gh-chan {
    display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0;
    padding: 12px 6px 11px; text-align: center; text-decoration: none; cursor: pointer;
    font: inherit; color: #000;
    background: #fff; border: 1px solid var(--lp2-line); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp2-help .gh-chan:hover { border-color: color-mix(in srgb, var(--sx-c) 40%, #fff); box-shadow: 0 12px 22px -18px color-mix(in srgb, var(--sx-c) 70%, #000); }
.lp2-help .gh-chan:focus-visible { outline: 2px solid var(--lp2-h3); outline-offset: 2px; }
.lp2-help .gh-chan-ico {
    width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 1.05rem; color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sx-c) 88%, #fff), color-mix(in srgb, var(--sx-c) 78%, #000));
    box-shadow: 0 10px 18px -12px var(--sx-c);
}
.lp2-help .gh-chan b { font-size: .8rem; font-weight: 800; color: #000; }
.lp2-help .gh-chan small {
    max-width: 100%; font-size: .7rem; font-weight: 650; color: #475569;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 559px) {
    .lp2-help .gh-chan small { display: none; }
    .lp2-help .gh-chan { padding: 11px 4px 10px; }
}
@media (max-width: 359px) {
    .lp2-help .gh-chan-ico { width: 36px; height: 36px; font-size: .95rem; }
    .lp2-help .gh-chan b { font-size: .72rem; }
}

/* questions and answers */
.lp2-help .faq-search-wrap { margin: 0 0 10px; }
.lp2-help .faq-search-wrap .txn-search-input { padding: 0 14px 0 40px; }
.lp2-help .faq-section-wrap {
    background: #fff; border: 1px solid var(--lp2-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.lp2-help .faq-item { border-top: 1px solid #eef1f5; }
.lp2-help .faq-item:first-child { border-top: 0; }
.lp2-help .faq-q {
    width: 100%; display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 13px 14px; border: 0; background: transparent; text-align: left; font: inherit;
    transition: background .15s ease;
}
.lp2-help .faq-q:hover { background: #fafbfd; }
.lp2-help .faq-q:focus-visible { outline: 2px solid var(--lp2-h3); outline-offset: -2px; }
.lp2-help .faq-q-text { flex: 1; min-width: 0; font-size: .88rem; font-weight: 750; color: #000; line-height: 1.4; }
.lp2-help .faq-q-cat {
    flex: none; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: .64rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
    color: color-mix(in srgb, var(--t) 78%, #000); background: color-mix(in srgb, var(--t) 10%, #fff);
}
.lp2-help .faq-chev { flex: none; color: #475569; font-size: .78rem; transition: transform .22s ease; }
.lp2-help .faq-item.is-open .faq-q { background: color-mix(in srgb, var(--lp2-h3) 5%, #fff); }
.lp2-help .faq-item.is-open .faq-q-text { color: var(--lp2-deep); }
.lp2-help .faq-a { padding: 0 14px 15px; font-size: .86rem; font-weight: 550; line-height: 1.7; color: #1e293b; }
.lp2-help .faq-a strong { color: #000; font-weight: 800; }
@media (max-width: 420px) { .lp2-help .faq-q-cat { display: none; } }
.lp2-help .faq-no-results {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px;
    padding: 14px; border-radius: 16px; background: #fff; border: 1px dashed #cbd5e1;
    font-size: .82rem; color: #334155;
}
.lp2-help .faq-no-results > i { color: #475569; }
.lp2-help .faq-no-results > div { flex: 1; min-width: 180px; }
.lp2-help .faq-no-results b { color: #000; }

/* the ticket button: a round button on phones (clear of the menu button on the
   left), the labelled pill on larger screens */
.lp2-help .gh-fab-space { height: 0; }
@media (max-width: 767px) {
    .lp2-help .gh-fab-space { height: 76px; }
    body[data-app-page="help"] .help-fab {
        right: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 18px;
        font-size: 1.4rem;
        background: linear-gradient(135deg, #6366f1, #4338ca);
        box-shadow: 0 14px 26px -12px rgba(67, 56, 202, .9);
    }
    body[data-app-page="help"] .help-fab span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
}
@media (min-width: 768px) {
    body[data-app-page="help"] .help-fab {
        background: linear-gradient(135deg, #6366f1, #4338ca);
        box-shadow: 0 14px 26px -12px rgba(67, 56, 202, .9);
    }
}

/* ==========================================================================
   Help desk pop-up (SupportTickets, #tickets-modal)
   ========================================================================== */

#tickets-modal { --surface-2: #f8fafc; --text-4: #94a3b8; --tk: #4f46e5; }

#tickets-modal .modal-title i { color: var(--tk) !important; }
#tickets-modal .modal-title::before { display: none; }   /* the desk has its own icon */
#tickets-modal .tkt-tabs {
    gap: 4px; margin: 10px 14px 0; padding: 4px; border: 1px solid #e2e8f0; border-radius: 14px;
    background: #eef2f6; scrollbar-width: none;
}
#tickets-modal .tkt-tabs::-webkit-scrollbar { display: none; }
#tickets-modal .tkt-tab {
    flex: 1 0 auto; justify-content: center; min-height: 36px; padding: 6px 12px; border-radius: 10px; border-bottom: 0;
    font-size: .8rem; font-weight: 750; color: #334155;
}
#tickets-modal .tkt-tab:hover:not(.tkt-tab--active) { background: rgba(255, 255, 255, .7); color: #000; }
#tickets-modal .tkt-tab.tkt-tab--active {
    background: #fff; color: #000;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 14px -8px rgba(15, 23, 42, .35);
}
#tickets-modal .tkt-tab.tkt-tab--active i { color: var(--tk); }
#tickets-modal .tkt-tab-count { font-size: .62rem; }

/* new ticket */
#tickets-modal .tkt-intro {
    gap: 12px; padding: 12px 14px; margin-bottom: 16px; border-radius: 16px;
    background: linear-gradient(120deg, #eef2ff, #f5f3ff); border-color: #e0e7ff;
}
#tickets-modal .tkt-intro-icon { color: var(--tk); font-size: 1.5rem; }
#tickets-modal .tkt-intro-title { color: #000; font-weight: 800; }
#tickets-modal .tkt-intro-text { color: #334155; }
#tickets-modal .tkt-label { color: #334155; }
#tickets-modal .tkt-input,
#tickets-modal .tkt-textarea { background: #fff; border: 1px solid #dbe2ea; border-radius: 12px; color: #000; }
#tickets-modal .tkt-input:focus,
#tickets-modal .tkt-textarea:focus { border-color: var(--tk); box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
#tickets-modal .tkt-input::placeholder,
#tickets-modal .tkt-textarea::placeholder { color: #64748b; }
#tickets-modal .tkt-new-ai-typing { background: #eef2ff; color: #3730a3; }

/* ticket list: one card, rows split by hairlines */
#tickets-modal .tkt-list {
    gap: 0; background: #fff; border: 1px solid #e7ebf1; border-radius: 16px; overflow: hidden;
}
#tickets-modal .tkt-item {
    --tc: #4f46e5;
    gap: 12px; padding: 12px 14px; border: 0; border-top: 1px solid #eef1f5; border-radius: 0; background: transparent;
}
#tickets-modal .tkt-item:first-child { border-top: 0; }
#tickets-modal .tkt-item:hover { transform: none; background: #fafbfd; border-color: #eef1f5; }
#tickets-modal .tkt-item:focus-visible { outline: 2px solid var(--tk); outline-offset: -2px; }
#tickets-modal .tkt-item--in_progress { --tc: #d97706; }
#tickets-modal .tkt-item--resolved { --tc: #059669; }
#tickets-modal .tkt-item--closed { --tc: #64748b; }
#tickets-modal .tkt-item-icon {
    width: 38px; height: 38px; border-radius: 12px; font-size: .95rem;
    color: color-mix(in srgb, var(--tc) 80%, #000); background: color-mix(in srgb, var(--tc) 11%, #fff);
}
#tickets-modal .tkt-item-subject { font-size: .87rem; font-weight: 750; color: #000; }
#tickets-modal .tkt-item-sub {
    display: flex; align-items: center; flex-wrap: wrap; gap: 3px 10px;
    font-size: .72rem; font-weight: 650; color: #475569;
}
#tickets-modal .tkt-item-sub i { font-size: .68rem; }
#tickets-modal .tkt-item-human { color: #92400e; font-weight: 750; }
#tickets-modal .tkt-item-go { flex: none; color: #94a3b8; font-size: .8rem; }
#tickets-modal .tkt-ref { font-family: var(--font-mono); font-weight: 700; color: #334155; }

/* status pills */
#tickets-modal .tkt-badge { font-weight: 800; letter-spacing: 0; }
#tickets-modal .tkt-badge--open { background: #e0e7ff; color: #3730a3; }
#tickets-modal .tkt-badge--in_progress { background: #fef3c7; color: #92400e; }
#tickets-modal .tkt-badge--resolved { background: #dcfce7; color: #166534; }
#tickets-modal .tkt-badge--closed { background: #f1f5f9; color: #334155; }

/* a thread */
#tickets-modal .tkt-thread-header { padding: 10px 14px; background: #fff; }
#tickets-modal .tkt-back-btn { background: #fff; border-color: #dbe2ea; color: #1e293b; border-radius: 10px; }
#tickets-modal .tkt-back-btn:hover { background: #f8fafc; }
#tickets-modal .tkt-thread-subject {
    white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    font-size: .92rem; font-weight: 800; color: #000; line-height: 1.3;
}
#tickets-modal .tkt-thread-user { font-size: .72rem; font-weight: 650; color: #475569; }
#tickets-modal .tkt-thread-user i { font-size: .68rem; }
#tickets-modal .tkt-thread-scroll { padding: 14px; background: #f8fafc; }

/* messages: room between them, and who wrote each one at a glance */
#tickets-modal .tkt-bubble-row + .tkt-bubble-row { margin-top: 14px; }
#tickets-modal .tkt-bubble-wrap { max-width: 82%; }
#tickets-modal .tkt-bubble-meta { font-size: .66rem; font-weight: 700; color: #475569; margin-bottom: 4px; }
#tickets-modal .tkt-bubble { font-size: .86rem; line-height: 1.55; padding: 9px 13px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
#tickets-modal .tkt-bubble--self { background: linear-gradient(135deg, #6366f1, #4338ca); color: #fff; }
#tickets-modal .tkt-bubble--other { background: #fff; color: #000; border: 1px solid #e2e8f0; }
/* AI Assist: violet, whichever side it sits on */
#tickets-modal .tkt-bubble--ai,
#tickets-modal .tkt-bubble--ai.tkt-bubble--self { background: #f5f3ff; color: #1e1b4b; border: 1px solid #ddd6fe; }
#tickets-modal .tkt-row--ai .tkt-avatar { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; }
#tickets-modal .tkt-row--ai .tkt-avatar i { color: #fff !important; }
#tickets-modal .tkt-row--ai .tkt-bubble-meta { color: #5b21b6; }
/* Support Staff: amber, when it is not you */
#tickets-modal .tkt-bubble--staff.tkt-bubble--other { background: #fffbeb; color: #000; border: 1px solid #fde68a; }
#tickets-modal .tkt-row--staff .tkt-avatar { background: linear-gradient(135deg, #f59e0b, #b45309) !important; }
#tickets-modal .tkt-row--staff .tkt-avatar i { color: #fff !important; }
#tickets-modal .tkt-row--staff:not(.tkt-bubble-row--self) .tkt-bubble-meta { color: #92400e; }
#tickets-modal .tkt-bubble-row--self .tkt-avatar { background: linear-gradient(135deg, #6366f1, #4338ca) !important; }
#tickets-modal .tkt-row--ai.tkt-bubble-row--self .tkt-avatar { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; }
#tickets-modal .tkt-typing-bubble { background: #f5f3ff; border: 1px solid #ddd6fe; color: #5b21b6; }

/* reply box, banners, rating */
#tickets-modal .tkt-reply-box { background: #fff; padding: 10px 14px 12px; }
#tickets-modal .tkt-human-btn { border-color: #c7d2fe; color: #3730a3; background: #eef2ff; font-weight: 800; }
#tickets-modal .tkt-human-btn:hover:not(:disabled) { background: #e0e7ff; border-color: #a5b4fc; }
#tickets-modal .tkt-human-banner { border-radius: 12px; }
#tickets-modal .tkt-closed-banner { background: #f8fafc; color: #334155; font-weight: 650; }
#tickets-modal .tkt-rating { background: #fff; }
#tickets-modal .tkt-rating-title { color: #000; }
#tickets-modal .tkt-rating-note { color: #475569; }
#tickets-modal .tkt-empty-icon { color: #94a3b8; }
#tickets-modal .tkt-empty h3 { color: #000; }
#tickets-modal .tkt-empty p { color: #475569; }
#tickets-modal .tkt-status-sel { border-color: #dbe2ea; border-radius: 10px; }

/* ==========================================================================
   Get the App
   ========================================================================== */

/* the device in hand, as the headline card */
.lp2-getapp .gh-app-hero { padding-bottom: 16px; }
.lp2-getapp .gh-app-id { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.lp2-getapp .gh-app-logo {
    width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center;
    background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.lp2-getapp .gh-app-logo svg { width: 30px; height: 30px; }
.lp2-getapp .gh-app-logo svg[fill="var(--text, #000)"] { fill: #000; }
.lp2-getapp .gh-app-name { min-width: 0; }
.lp2-getapp .gh-app-name b { display: block; font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1.2; }
.lp2-getapp .gh-app-name small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 650; color: rgba(255, 255, 255, .82); }
.lp2-getapp .gh-store-btn {
    position: relative; z-index: 1; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; cursor: pointer;
    font: inherit; font-size: .92rem; font-weight: 800; text-decoration: none;
    color: #0f172a; background: #fff; border: 0;
    box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .7);
    transition: transform .12s ease, box-shadow .15s ease;
}
.lp2-getapp .gh-store-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .75); }
.lp2-getapp .gh-store-btn.is-soon { cursor: default; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.lp2-getapp .gh-store-btn.is-soon:hover { transform: none; }
.lp2-getapp .gh-app-hint { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
@media (min-width: 720px) {
    .lp2-getapp .gh-store-btn { width: auto; min-width: 280px; }
}

/* other ways to install */
.lp2-getapp .gh-app-list { margin-bottom: 16px; }
.lp2-getapp .gh-app-row {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #eef1f5;
}
.lp2-getapp .gh-app-row:first-child { border-top: 0; }
.lp2-getapp .gh-app-row-ico {
    width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
    font-size: 1.05rem; color: color-mix(in srgb, var(--sx-c, #334155) 80%, #000);
    background: color-mix(in srgb, var(--sx-c, #334155) 9%, #fff); border: 1px solid color-mix(in srgb, var(--sx-c, #334155) 16%, #fff);
}
.lp2-getapp .gh-app-row-ico svg[fill="var(--text, #000)"] { fill: #000; }
.lp2-getapp .gh-app-row-txt { min-width: 0; flex: 1; }
.lp2-getapp .gh-app-row-txt b,
.lp2-getapp .gh-app-install-h b { display: block; font-size: .88rem; font-weight: 800; color: #000; }
.lp2-getapp .gh-app-row-txt small,
.lp2-getapp .gh-app-install-h small { display: block; margin-top: 2px; font-size: .72rem; font-weight: 600; color: #475569; line-height: 1.4; }
.lp2-getapp .gh-app-row .btn { flex: none; }
.lp2-getapp .gh-soon {
    flex: none; font-size: .7rem; font-weight: 800; color: #334155; background: #f1f5f9; border-radius: 999px; padding: 3px 10px;
}

/* browser install and share cards */
.lp2-getapp .gh-app-install-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.lp2-getapp .gh-app-install-h > span:last-child { min-width: 0; }
.lp2-getapp .gh-app-steps {
    margin: 0; padding: 0; list-style: none; counter-reset: gh-app;
    display: flex; flex-direction: column; gap: 6px;
}
.lp2-getapp .gh-app-steps li {
    counter-increment: gh-app; position: relative; padding: 8px 10px 8px 40px; border-radius: 12px;
    background: #f8fafc; border: 1px solid #eef1f5; font-size: .82rem; font-weight: 600; color: #1e293b;
}
.lp2-getapp .gh-app-steps li::before {
    content: counter(gh-app); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
    font-size: .72rem; font-weight: 800; color: #fff; background: #334155;
}
.lp2-getapp .gh-app-steps b { color: #000; }
.lp2-getapp .gh-app-done { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.lp2-getapp .gh-app-done > i { color: #047857; font-size: 1.2rem; }
.lp2-getapp .gh-app-done b { display: block; font-size: .84rem; color: #000; }
.lp2-getapp .gh-app-done span { display: block; font-size: .74rem; font-weight: 600; color: #334155; }
.lp2-getapp .gh-share-link { display: flex; gap: 8px; align-items: center; }
body[data-app-page="get-app"] .gh-share-link input[type="text"] {
    flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 12px;
    border: 1px solid #dbe2ea; background: #f8fafc; color: #000;
    font-family: var(--font-mono, monospace); font-size: .8rem;
}
.lp2-getapp .gh-share-link .btn { width: 40px; height: 40px; padding: 0; justify-content: center; flex: none; }
.lp2-getapp .gh-share-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lp2-getapp .gh-share-acts .btn { flex: 1 1 0; min-width: 120px; justify-content: center; }
@media (min-width: 720px) { .lp2-getapp .gh-share-acts .btn { flex: 0 1 200px; } }
body.lp2-app #page-content .lp2-getapp .gh-share-wa { background: #16a34a; border-color: #16a34a; color: #fff; }
body.lp2-app #page-content .lp2-getapp .gh-share-wa:hover { background: #15803d; border-color: #15803d; color: #fff; }

/* what you get */
.lp2-getapp .gh-feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
@media (min-width: 1000px) { .lp2-getapp .gh-feat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp2-getapp .gh-feat-tile {
    min-width: 0; padding: 12px; border-radius: 16px;
    background: linear-gradient(155deg, color-mix(in srgb, var(--sx-c) 7%, #fff) 0%, #fff 60%);
    border: 1px solid color-mix(in srgb, var(--sx-c) 18%, #fff);
}
.lp2-getapp .gh-feat-tile b { display: block; margin-top: 2px; font-size: .84rem; font-weight: 800; color: #000; }
.lp2-getapp .gh-feat-tile small { display: block; margin-top: 3px; font-size: .72rem; font-weight: 600; color: #475569; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
    .lp2-gh-opportunities .gh-feat, .lp2-gh-compliance .gh-inst { animation: none; transition: none; }
    .lp2-help .faq-chev, .lp2-getapp .gh-store-btn { transition: none; }
}

/* ==========================================================================
   Weekly plan (/weekly-plan, .lp2-wp) — Snnel AI's three things for the week.
   assets/js/app/weekly-plan.js. Each card carries its tone as --wp-c / --wp-bg.
   ========================================================================== */
.lp2-wp .wp-spark {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
    color: #fff; background: linear-gradient(140deg, #10b981, #047857 70%);
    box-shadow: 0 8px 18px -10px rgba(4, 120, 87, .8);
}
.lp2-wp .wp-loading {
    display: flex; align-items: center; gap: 14px; margin: 18px 0; padding: 18px;
    background: #fff; border: 1px solid #e6eaf0; border-radius: 18px;
}
.lp2-wp .wp-loading .wp-spark { animation: wp-pulse 1.4s ease-in-out infinite; }
.lp2-wp .wp-loading b { display: block; color: #000; font-size: .95rem; }
.lp2-wp .wp-loading span { display: block; color: #475569; font-size: .84rem; margin-top: 2px; }
@keyframes wp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.lp2-wp .wp-say {
    display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 14px 16px;
    background: #fff; border: 1px solid #e6eaf0; border-radius: 18px;
}
.lp2-wp .wp-say-k { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #047857; }
.lp2-wp .wp-say p { margin: 3px 0 0; color: #000; font-size: .95rem; line-height: 1.5; font-weight: 600; }

.lp2-wp .wp-cheer {
    display: flex; gap: 12px; align-items: center; margin: 14px 0 0; padding: 14px 16px;
    border-radius: 18px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
}
.lp2-wp .wp-cheer > i { font-size: 1.5rem; color: #d97706; }
.lp2-wp .wp-cheer b { display: block; color: #000; }
.lp2-wp .wp-cheer span { font-size: .85rem; }

.lp2-wp .wp-list { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 1000px) { .lp2-wp .wp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp2-wp .wp-card {
    display: flex; flex-direction: column; gap: 12px; padding: 16px;
    background: #fff; border: 1px solid #e6eaf0; border-radius: 18px;
    transition: opacity .2s ease;
}
.lp2-wp .wp-card-top { display: flex; gap: 12px; align-items: flex-start; }
.lp2-wp .wp-num {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 800; color: #fff; background: var(--wp-c);
}
.lp2-wp .wp-ico {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
    color: var(--wp-c); background: var(--wp-bg);
}
.lp2-wp .wp-card-t { min-width: 0; flex: 1; }
.lp2-wp .wp-card-t h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #000; line-height: 1.3; }
.lp2-wp .wp-card-t p { margin: 4px 0 0; font-size: .87rem; color: #334155; line-height: 1.5; }
.lp2-wp .wp-sms {
    display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px;
    background: #f8fafc; border: 1px dashed #cbd5e1; color: #1e293b; font-size: .84rem; line-height: 1.45;
}
.lp2-wp .wp-sms i { color: #475569; margin-top: 2px; }
.lp2-wp .wp-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.lp2-wp .wp-go { white-space: nowrap; }
.lp2-wp .wp-who { font-size: .8rem; font-weight: 700; color: #475569; }
.lp2-wp .wp-acts-end { margin-left: auto; display: inline-flex; gap: 4px; }
.lp2-wp .wp-tick, .lp2-wp .wp-hide {
    display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 10px;
    border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #1e293b;
    font-size: .8rem; font-weight: 700; cursor: pointer;
}
.lp2-wp .wp-tick:hover { border-color: #10b981; color: #047857; }
.lp2-wp .wp-hide { padding: 0 9px; color: #475569; }
.lp2-wp .wp-hide:hover { color: #000; }
.lp2-wp .wp-card.is-done { opacity: .72; }
.lp2-wp .wp-card.is-done .wp-card-t h3 { text-decoration: line-through; text-decoration-color: #94a3b8; }
.lp2-wp .wp-card.is-done .wp-num { background: #10b981; }
.lp2-wp .wp-done-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: #047857; }
.lp2-wp .wp-link { border: none; background: none; padding: 0; color: #047857; font-weight: 700; font-size: .84rem; cursor: pointer; text-decoration: underline; }
.lp2-wp .wp-hidden { margin-top: 12px; font-size: .84rem; color: #475569; }
.lp2-wp .wp-foot { margin-top: 16px; }

/* ==========================================================================
   Social (Growth Hub, Social: assets/js/app/social.js)
   Tabs with icons; Create = live preview beside three numbered steps;
   Posts = filter chips and post cards; Results = totals, a bar per app, best
   posts and the tracked links; Accounts = one card per app (real logos from
   assets/img/brands) and the store page links.
   ========================================================================== */
.so-page { --so-v: #7c3aed; --so-v-soft: #f5f3ff; --so-line: #e2e8f0; }
.so-page .so-logo { width: 20px; height: 20px; display: block; flex: 0 0 auto; object-fit: contain; }

/* Tabs: icon, label, count. */
.so-page .so-tabs { margin: 4px 0 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.so-page .so-tabs::-webkit-scrollbar { display: none; }
.so-page .so-tabs .pill-tab { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; white-space: nowrap; }
.so-page .so-tabs .pill-tab .bi { font-size: .95rem; }
.so-page .so-tabs .pill-tab-n.is-bad { background: #fee2e2; color: #b91c1c; }
.so-page .so-tabs .pill-tab.active .pill-tab-n.is-bad { background: #fecaca; color: #991b1b; }

/* Each app at a glance (Create). */
.so-page .so-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.so-page .so-strip-i { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--so-line); background: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: border-color .15s ease, box-shadow .15s ease; }
.so-page .so-strip-i:hover { border-color: #c4b5fd; box-shadow: 0 6px 16px -10px rgba(76, 29, 149, .35); }
.so-page .so-strip-l { position: relative; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 11px; background: #f8fafc; }
.so-page .so-strip-l .so-logo { width: 20px; height: 20px; }
.so-page .so-dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; border: 2px solid #fff; }
.so-page .so-strip-i.is-on .so-dot { background: #16a34a; }
.so-page .so-strip-t { min-width: 0; display: flex; flex-direction: column; }
.so-page .so-strip-t b { color: #000; font-size: .86rem; font-weight: 800; }
.so-page .so-strip-t span { color: #475569; font-size: .74rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-strip-i.is-on .so-strip-t span { color: #15803d; }

/* Create: preview beside the steps; on phones the preview sits after step 1. */
.so-page .so-create { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) {
    .so-page .so-create { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); grid-template-areas: "prev s1" "prev s2" "prev s3"; align-items: start; }
    .so-page .so-create .so-s1 { grid-area: s1; }
    .so-page .so-create .so-s2 { grid-area: s2; }
    .so-page .so-create .so-s3 { grid-area: s3; }
    .so-page .so-create .so-prev { grid-area: prev; position: sticky; top: 12px; }
}
.so-page .so-step-n { display: grid; place-items: center; background: var(--so-v) !important; color: #fff !important; font-weight: 900; font-size: 1rem; }
.so-page .so-lbl { display: block; margin-bottom: 8px; color: #000; font-size: .8rem; font-weight: 800; }

/* Shape and look choices. */
.so-page .so-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.so-page .so-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 12px; border: 1.5px solid var(--so-line); background: #fff; color: #000; cursor: pointer; font-family: inherit; text-align: left; transition: border-color .15s ease, background .15s ease; }
.so-page .so-chip:hover { border-color: #c4b5fd; }
.so-page .so-chip-t { display: flex; flex-direction: column; gap: 1px; }
.so-page .so-chip b { font-size: .86rem; font-weight: 800; }
.so-page .so-chip-t span { font-size: .72rem; color: #475569; }
.so-page .so-chip.is-on { border-color: var(--so-v); background: var(--so-v-soft); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.so-page .so-shape { display: block; flex: 0 0 auto; border: 2px solid #94a3b8; border-radius: 4px; background: #fff; }
.so-page .so-shape-square { width: 20px; height: 20px; }
.so-page .so-shape-portrait { width: 18px; height: 22px; }
.so-page .so-shape-story { width: 14px; height: 24px; }
.so-page .so-chip.is-on .so-shape { border-color: var(--so-v); background: #ede9fe; }
.so-page .so-swatch { display: block; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, .15); }
.so-page .so-sw-light { background: #fff; }
.so-page .so-sw-brand { background: linear-gradient(135deg, #0D9A5D, #075C3B); }
.so-page .so-sw-bold { background: linear-gradient(180deg, #94a3b8, #0f172a); }

/* The live preview: a post as it shows in the app. */
.so-page .so-prev { display: flex; flex-direction: column; gap: 10px; }
.so-page .so-prev-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.so-page .so-prev-h b { color: #000; font-size: .9rem; font-weight: 800; }
.so-page .so-prev-h span { padding: 3px 10px; border-radius: 999px; background: var(--so-v-soft); color: #5b21b6; font-size: .74rem; font-weight: 800; }
.so-page .so-phone { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--so-line); box-shadow: 0 24px 48px -30px rgba(15, 23, 42, .45); }
.so-page .so-phone-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.so-page .so-av { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; font-size: .86rem; background: linear-gradient(135deg, #fd5949, #d6249f 55%, #6d4aff); }
.so-page .so-phone-h b { flex: 1; min-width: 0; color: #000; font-size: .86rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-phone-app .so-logo { width: 18px; height: 18px; }
.so-page .so-canvas-wrap { display: flex; justify-content: center; background: #f1f5f9; }
.so-page .so-canvas-wrap canvas { display: block; width: 100%; height: auto; background: #fff; }
.so-page .so-f-story canvas { max-width: 260px; }
.so-page .so-phone-ic { display: flex; gap: 16px; padding: 12px 14px 4px; font-size: 1.15rem; color: #000; }
.so-page .so-phone-ic .bi-bookmark { margin-left: auto; }
.so-page .so-phone-cap { margin: 0; padding: 4px 14px 16px; color: #000; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.so-page .so-phone-cap b { font-weight: 800; }
.so-page .so-prev-empty { color: #64748b; }
.so-page .so-prev-more { margin-left: 2px; color: #64748b; }

/* Step 2: Snnel AI, then one app's caption at a time. */
.so-page .so-ai { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: var(--so-v-soft); border: 1px solid #ede9fe; }
.so-page .so-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.so-page .so-ai-btn { width: 100%; justify-content: center; min-height: 46px; }
.so-page .so-capbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 14px; background: #f1f5f9; }
.so-page .so-captab { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 9px 8px; border: 0; border-radius: 10px; background: transparent; color: #334155; cursor: pointer; font-family: inherit; font-size: .82rem; font-weight: 800; }
.so-page .so-captab .so-logo { width: 18px; height: 18px; }
.so-page .so-captab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-captab.is-on { background: #fff; color: #000; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 4px 10px -6px rgba(15, 23, 42, .25); }
.so-page .so-filled { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.so-page .so-captab.has-text .so-filled { background: #16a34a; }
.so-page .so-capbox { display: none; flex-direction: column; gap: 6px; }
.so-page .so-capbox.is-on { display: flex; }
.so-page .so-capbox-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.so-page .so-capbox-h label { margin: 0; color: #000; font-size: .82rem; font-weight: 800; }
.so-page .so-count { font-weight: 600; font-size: .72rem; color: #475569; font-variant-numeric: tabular-nums; }
.so-page .so-capbox textarea { width: 100%; box-sizing: border-box; min-height: 150px; padding: 12px 14px; border-radius: 14px; border: 1px solid #cbd5e1; font: inherit; font-size: .9rem; line-height: 1.5; color: #000; background: #fff; resize: vertical; }
.so-page .so-capbox textarea:focus { outline: none; border-color: var(--so-v); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }

/* Snnel AI uses left this billing period (under Write with Snnel AI, and in Comments). */
.so-ai-left { margin: 0; font-size: .8rem; line-height: 1.45; color: #334155; text-align: center; }
.so-ai-left i { margin-right: 4px; color: #7c3aed; }
.so-ai-left b { color: #000; }
.so-ai-left a { color: #0B8A55; font-weight: 700; }
.so-ai-left.is-low i, .so-ai-left.is-low b { color: #b45309; }
.so-ai-left.is-out { color: #991b1b; }
.so-ai-left.is-out i { color: #991b1b; }
.so-ai-left.is-off i { color: #475569; }
.so-cms #so-cm-ai-left .so-ai-left { margin: 0 0 10px; text-align: left; }

/* Step 3: post from Snnel (now or scheduled), then share from the phone. */
.so-page .so-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.so-page .so-acts .btn { flex: 1 1 auto; justify-content: center; }
.so-page .so-direct { display: flex; flex-direction: column; gap: 12px; }
.so-page .so-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #f1f5f9; }
.so-page .so-seg-b { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: #334155; cursor: pointer; font-family: inherit; font-size: .86rem; font-weight: 800; }
.so-page .so-seg-b.is-on { background: #fff; color: #000; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 4px 10px -6px rgba(15, 23, 42, .25); }
.so-page .so-seg-b.is-on .bi { color: var(--so-v); }
.so-page .so-when { display: flex; flex-direction: column; gap: 10px; }
.so-page .so-postbtns { display: flex; flex-direction: column; gap: 8px; }
.so-page .btn.so-postbtn { display: flex; width: 100%; height: auto; min-height: 58px; padding: 10px 14px; justify-content: flex-start; border-radius: 14px; border: 1px solid var(--so-line); background: #fff; color: #000; box-shadow: none; white-space: normal; text-align: left; }
.so-page .btn.so-postbtn:hover { border-color: var(--so-v); background: var(--so-v-soft); }
.so-page .so-postbtn .btn-text { display: flex; align-items: center; gap: 12px; width: 100%; }
.so-page .so-postbtn .so-logo { width: 26px; height: 26px; }
.so-page .so-postbtn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-postbtn-t b { font-size: .92rem; font-weight: 800; color: #000; }
.so-page .so-postbtn-t span { font-size: .78rem; font-weight: 600; color: #475569; overflow-wrap: anywhere; }
.so-page .so-postbtn .bi-arrow-right { color: var(--so-v); font-size: 1.1rem; }
.so-page .so-connects { display: flex; flex-direction: column; gap: 8px; }
.so-page .so-connects > span { color: #475569; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.so-page .so-connects > div { display: flex; flex-wrap: wrap; gap: 8px; }
.so-page .so-connect { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px dashed #cbd5e1; background: #fff; color: #000; cursor: pointer; font-family: inherit; font-size: .82rem; font-weight: 700; }
.so-page .so-connect .so-logo { width: 16px; height: 16px; }
.so-page .so-connect:hover { border-color: var(--so-v); border-style: solid; }
.so-page .so-quota { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: #334155; }
.so-page .so-quota b { color: #000; }
.so-page .so-qbar { display: block; height: 6px; border-radius: 999px; background: #ede9fe; overflow: hidden; }
.so-page .so-qbar i { display: block; height: 100%; border-radius: inherit; background: var(--so-v); }
.so-page .so-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: #475569; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.so-page .so-or::before, .so-page .so-or::after { content: ''; flex: 1; height: 1px; background: var(--so-line); }
.so-page .so-direct:empty + .so-or { margin-top: 0; }
.so-page .so-share { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.so-page .so-share-b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; border: 1px solid var(--so-line); background: #fff; color: #000; cursor: pointer; font-family: inherit; font-size: .74rem; font-weight: 800; }
.so-page .so-share-b:hover { border-color: #c4b5fd; background: #faf9ff; }
.so-page .so-share-b .so-logo { width: 24px; height: 24px; }
.so-page .so-share-b > .bi { font-size: 1.3rem; line-height: 24px; color: #000; }
.so-page .so-share-b span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-s3 .st-hint { margin: 10px 0 0; }
.so-page .so-tt { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--so-line); }
.so-page .so-tt-h { font-size: .86rem; color: #000; }

/* Posts. */
.so-page .so-fbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.so-page .so-fchips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.so-page .so-fchips::-webkit-scrollbar { display: none; }
.so-page .so-fchip { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--so-line); background: #fff; color: #000; cursor: pointer; font-family: inherit; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.so-page .so-fchip span { padding: 1px 7px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: .72rem; }
.so-page .so-fchip.is-on { border-color: var(--so-v); background: var(--so-v-soft); color: #4c1d95; }
.so-page .so-fchip.is-on span { background: #ddd6fe; color: #4c1d95; }
.so-page .so-fchip.is-bad span { background: #fee2e2; color: #b91c1c; }
.so-page .so-new { flex: 0 0 auto; }
.so-page .so-posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 1100px) { .so-page .so-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.so-page .so-post { display: flex; gap: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); min-width: 0; }
.so-page .so-post.is-failed { border-color: #fecaca; background: #fffafa; }
.so-page .so-thumb { position: relative; width: 92px; height: 92px; flex-shrink: 0; border-radius: 14px; overflow: visible; background: #f1f5f9; }
.so-page .so-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.so-page .so-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 14px; background: linear-gradient(135deg, #f5f3ff, #f1f5f9); }
.so-page .so-thumb-ph .so-logo { width: 34px; height: 34px; opacity: .9; }
.so-page .so-thumb-app { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .2); }
.so-page .so-thumb-app .so-logo { width: 15px; height: 15px; }
.so-page .so-post-b { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.so-page .so-post-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.so-page .so-post-who { min-width: 0; display: flex; flex-direction: column; }
.so-page .so-post-who b { color: #000; font-size: .88rem; font-weight: 800; }
.so-page .so-post-who span { color: #475569; font-size: .76rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-post-h .st-chip { flex: 0 0 auto; }
.so-page .so-post-t { font-size: .86rem; color: #000; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.so-page .so-post-m { font-size: .76rem; color: #475569; display: flex; align-items: center; gap: 5px; }
.so-page .so-err { display: flex; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #fef2f2; font-size: .78rem; color: #991b1b; line-height: 1.4; }
.so-page .so-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.so-page .so-stats span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #f8fafc; border: 1px solid #eef2f7; font-size: .76rem; color: #334155; }
.so-page .so-stats b { color: #000; font-weight: 800; font-variant-numeric: tabular-nums; }
.so-page .so-post-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.so-page .so-post-a .btn { min-height: 34px; }
.so-page .so-ic-btn { width: 34px; padding: 0; justify-content: center; }
.so-page .so-post-a .so-del { margin-left: auto; color: #b91c1c; }
.so-page .so-none { text-align: center; padding: 24px 0; }
.so-page .so-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 20px; border-radius: 20px; border: 1px dashed #cbd5e1; background: #fff; text-align: center; }
.so-page .so-empty-logos { display: flex; gap: 10px; margin-bottom: 4px; }
.so-page .so-empty-logos span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f7; }
.so-page .so-empty-logos .so-logo { width: 24px; height: 24px; }
.so-page .so-empty h3 { margin: 0; color: #000; font-size: 1.05rem; font-weight: 800; }
.so-page .so-empty p { margin: 0 0 6px; max-width: 420px; color: #334155; font-size: .88rem; line-height: 1.5; }

/* Results. */
.so-page .so-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.so-page .so-kpi { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); }
.so-page .so-kpi-ic { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; font-size: 1.1rem; }
.so-page .so-kpi.is-sky .so-kpi-ic { background: #2563eb; }
.so-page .so-kpi.is-green .so-kpi-ic { background: #0B8A55; }
.so-page .so-kpi.is-amber .so-kpi-ic { background: #d97706; }
.so-page .so-kpi.is-violet .so-kpi-ic { background: #7c3aed; }
.so-page .so-kpi > div { min-width: 0; display: flex; flex-direction: column; }
.so-page .so-kpi span { color: #334155; font-size: .76rem; font-weight: 700; }
.so-page .so-kpi b { color: #000; font-size: 1.3rem; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-kpi em { color: #64748b; font-size: .72rem; font-style: normal; }
.so-page .so-grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.so-page .so-grid2 > * { min-width: 0; }
@media (min-width: 1000px) { .so-page .so-grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.so-page .so-grid2 > :only-child { grid-column: 1 / -1; }
.so-page .so-grid2:empty { display: none; }
.so-page .so-results { display: flex; flex-direction: column; gap: 14px; }
.so-page .so-res { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; align-items: center; }
.so-page .so-res-app { display: flex; align-items: center; gap: 8px; min-width: 0; }
.so-page .so-res-app b { color: #000; font-size: .86rem; font-weight: 800; }
.so-page .so-res-bar { height: 10px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.so-page .so-res-bar i { display: block; height: 100%; border-radius: inherit; background: var(--c, #7c3aed); }
.so-page .so-res-n { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: #475569; }
.so-page .so-res-n b { color: #000; font-weight: 800; font-variant-numeric: tabular-nums; }
.so-page .so-tops { display: flex; flex-direction: column; gap: 4px; }
.so-page .so-top { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; font-family: inherit; text-align: left; }
.so-page .so-top:hover { background: #f8fafc; }
.so-page .so-top-n { width: 22px; flex: 0 0 22px; color: #64748b; font-weight: 900; font-size: .86rem; text-align: center; }
.so-page .so-top-th { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #f5f3ff; }
.so-page .so-top-th img { width: 100%; height: 100%; object-fit: cover; }
.so-page .so-top-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-top-t b { color: #000; font-size: .84rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-top-t span { color: #475569; font-size: .74rem; }
.so-page .so-top-v { display: flex; flex-direction: column; align-items: flex-end; }
.so-page .so-top-v b { color: #000; font-size: .92rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.so-page .so-top-v span { color: #475569; font-size: .7rem; }
.so-page .so-linkrow { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; }
.so-page .so-linkrow .btn { flex: 0 0 auto; height: 40px; min-height: 40px; gap: 6px; }
.so-page .so-linkrow input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid #cbd5e1; font-size: .8rem; background: #f8fafc; color: #000; }
.so-page .so-link-ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--so-line); }

/* Accounts. */
.so-page .so-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--so-v-soft); color: #000; font-size: .86rem; line-height: 1.45; }
.so-page .so-intro .bi { color: var(--so-v); margin-top: 1px; }
.so-page .so-logo-tile { display: grid; place-items: center; background: #fff !important; border: 1px solid var(--so-line); }
.so-page .so-logo-tile .so-logo { width: 22px; height: 22px; }
.so-page .so-appcard.is-on .so-logo-tile { border-color: #bbf7d0; box-shadow: 0 0 0 3px #f0fdf4; }
.so-page .so-connect-btn .btn-text { display: inline-flex; align-items: center; gap: 8px; }
.so-page .so-logo-w { width: 18px; height: 18px; padding: 2px; border-radius: 6px; background: #fff; }
.so-page .so-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f7; }
.so-page .so-acc.is-off { background: #fffafa; border-color: #fecaca; }
.so-page .so-acc img, .so-page .so-acc-ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, #7c3aed, #2563eb); }
.so-page .so-acc > div:not(.so-acc-a) { min-width: 0; flex: 1 1 140px; }
.so-page .so-acc b { display: block; color: #000; overflow-wrap: anywhere; }
.so-page .so-acc span { font-size: .78rem; color: #475569; }
.so-page .so-acc span .bi { color: #16a34a; }
.so-page .so-acc .so-acc-ic { color: #fff; font-size: 1rem; }
.so-page .so-acc-a { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.so-page .so-acc-a .btn span { font-size: inherit; color: inherit; }
.so-page .so-handles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.so-page .so-handle { display: flex; align-items: center; gap: 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; overflow: hidden; }
.so-page .so-handle .so-logo { width: 18px; height: 18px; margin: 0 4px 0 12px; }
.so-page .so-handle input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; }
.so-page .so-handle:focus-within { border-color: var(--so-v); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.so-page .so-fbpages { border: 1px solid var(--so-line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.so-page .so-fbpages-h { display: flex; flex-direction: column; gap: 2px; }
.so-page .so-fbpages-h b { color: #000; }
.so-page .so-fbpages-h span { color: #475569; font-size: .8rem; }
.so-page .so-fbpage { display: flex; align-items: center; gap: 10px; }
.so-page .so-fbpage img, .so-page .so-fbpage .so-acc-ic { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: cover; }
.so-page .so-fbpage b { flex: 1; min-width: 0; color: #000; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-fbpages .btn-link { align-self: flex-start; }
.so-page .so-fbpage .btn { flex: 0 0 auto; white-space: nowrap; padding: 6px 12px; font-size: .8rem; min-height: 0; }
.so-page .so-fbpage .st-chip { flex: 0 0 auto; white-space: nowrap; }

/* Comments (pop-up). */
.so-cms { display: flex; flex-direction: column; gap: 12px; }
.so-cm { padding: 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.so-cm-h { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; }
.so-cm-h span { color: #475569; }
.so-cm p { margin: 6px 0; color: #000; font-size: .9rem; }
.so-cm-r { margin: 4px 0 4px 12px; font-size: .82rem; color: #1e293b; }
.so-cm-a { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.so-cm-a textarea { width: 100%; box-sizing: border-box; border-radius: 10px; border: 1px solid #cbd5e1; padding: 8px 10px; font: inherit; color: #000; }
.so-cm-a .so-acts { display: flex; gap: 6px; justify-content: flex-end; }

/* A sign-in finishing outside the app (Accounts). */
.so-page .so-pending { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.so-page .so-pending b { display: block; color: #000; }
.so-page .so-pending > div > span { display: block; font-size: .82rem; color: #334155; margin: 2px 0 10px; }
.so-page .so-pending .spin-ring { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; border: 2.5px solid #cbd5e1; border-top-color: #7c3aed; animation: soSpin .9s linear infinite; }
@keyframes soSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .so-page .so-pending .spin-ring { animation-duration: 2.5s; } }

/* Where the plan is the limit (App._soMore): what it allows, Add to my plan, See plans. */
.so-page .so-more { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #f5f3ff; border: 1px solid #ddd6fe; }
.so-page .so-more > i { color: #7c3aed; font-size: 1.05rem; line-height: 1.3; flex: 0 0 auto; }
.so-page .so-more > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.so-page .so-more > div > span { color: #000; font-size: .84rem; line-height: 1.45; }
.so-page .so-more .so-acts { gap: 6px; }

/* A post opened from a notification glows for a moment. */
.so-page .so-post.is-flash { box-shadow: 0 0 0 3px #a78bfa; transition: box-shadow .3s ease; }

/* Phones. */
@media (max-width: 760px) {
    .so-page .so-strip { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -2px; padding: 2px; }
    .so-page .so-strip::-webkit-scrollbar { display: none; }
    .so-page .so-strip-i { flex: 0 0 158px; }
    .so-page .so-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .so-page .so-kpi { padding: 12px; gap: 10px; }
    .so-page .so-kpi-ic { width: 36px; height: 36px; flex-basis: 36px; font-size: 1rem; }
    .so-page .so-kpi b { font-size: 1.1rem; }
    .so-page .so-handles { grid-template-columns: 1fr; }
    .so-page .so-res { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .so-page .so-tabs { gap: 6px; }
    .so-page .so-tabs .pill-tab { padding-inline: 12px; gap: 6px; }
    .so-page .so-tabs .pill-tab .bi, .so-page .so-tabs .so-n-acc { display: none; }
    .so-page .so-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .so-page .so-chip { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
    .so-page .so-fbar .so-new { width: 38px; height: 38px; min-height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
    .so-page .so-new-t { display: none; }
    .so-page .so-appcard .st-sec-head { flex-wrap: wrap; }
    .so-page .so-appcard .st-sec-t { flex: 1 1 200px; }
    .so-page .so-appcard .st-sec-head > .st-chip { order: 3; margin-left: 48px; }
    .so-page .so-row2 { grid-template-columns: 1fr; }
    .so-page .so-captab { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: .7rem; }
    .so-page .so-share { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .so-page .so-share-b { padding: 10px 2px; font-size: .66rem; }
    .so-page .so-thumb { width: 72px; height: 72px; }
    .so-page .so-post { padding: 12px; gap: 12px; }
    .so-page .so-fbar .so-new { padding-inline: 12px; }
    .so-page .so-linkrow .btn span { display: none; }
}

/* ── Social growth tools (social-tools.js) ─────────────────────────────── */
.so-page .so-staff-note, .so-page .so-team-note { margin-bottom: 14px; }
.so-page .so-team-note { margin-top: 14px; }

/* Ready to post: Autopilot ideas and occasions. */
.so-page .so-ideas { margin-bottom: 16px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #fef9c3, #fdf4ff 60%, #ecfdf5); border: 1px solid #fde68a; }
.so-page .so-ideas-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.so-page .so-ideas-h b { color: #000; font-size: .95rem; font-weight: 900; }
.so-page .so-ideas-h b .bi { color: #d97706; }
.so-page .so-ideas-h span { color: #334155; font-size: .8rem; font-weight: 600; }
.so-page .so-ideas-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.so-page .so-ideas-row::-webkit-scrollbar { display: none; }
.so-page .so-idea { flex: 0 0 300px; display: flex; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 6px 18px -14px rgba(15, 23, 42, .4); }
.so-page .so-idea-th { position: relative; width: 74px; height: 74px; flex: 0 0 74px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; background: #f1f5f9; color: #64748b; font-size: 1.4rem; }
.so-page .so-idea-th img { width: 100%; height: 100%; object-fit: cover; }
.so-page .so-idea-th em { position: absolute; left: 4px; bottom: 4px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: .64rem; font-weight: 900; color: #fff; background: #0f766e; }
.so-page .so-idea-th em.is-new { background: #2563eb; }
.so-page .so-idea-th em.is-sale { background: #e11d48; }
.so-page .so-idea-th em.is-best { background: #d97706; }
.so-page .so-occ-th { background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; font-size: 1.6rem; }
.so-page .so-occ-th em { background: rgba(0, 0, 0, .45); }
.so-page .so-idea-b { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.so-page .so-idea-b > b { color: #000; font-size: .88rem; font-weight: 800; line-height: 1.3; }
.so-page .so-idea-b > span { color: #334155; font-size: .76rem; line-height: 1.4; }
.so-page .so-idea-a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.so-page .so-idea-a .btn { min-height: 32px; padding: 5px 11px; font-size: .78rem; }
.so-page .so-idea-a .btn-link { font-size: .78rem; color: #475569; }
.so-page .so-ideas .so-more { margin-top: 10px; }

/* Step 1: picture or video, products, more looks. */
.so-page .so-type { margin-bottom: 2px; }
.so-page .so-picks { display: flex; flex-direction: column; gap: 8px; }
.so-page .so-pickrow2 { display: flex; gap: 8px; align-items: center; }
.so-page .so-pickrow2 select { flex: 1; min-width: 0; }
.so-page .so-x { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #b91c1c; cursor: pointer; }
.so-page .so-addprod { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 12px; border-radius: 999px; border: 1px dashed #c4b5fd; background: #faf5ff; color: #5b21b6; font-family: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.so-page .so-sw-tag { background: radial-gradient(circle at 60% 40%, #FFD23F 55%, #fff 56%); }
.so-page .so-sw-sale { background: linear-gradient(135deg, #be123c, #7f1d1d); }
.so-page .so-sw-new { background: linear-gradient(135deg, #fff 50%, #2563eb 50%); }
.so-page .so-sw-back { background: linear-gradient(135deg, #fff 50%, #0f766e 50%); }
.so-page .so-sw-festive { background: conic-gradient(#FFD23F, #f472b6, #60a5fa, #0D9A5D, #FFD23F); }
.so-pack .so-sw-tag { background: radial-gradient(circle at 60% 40%, #FFD23F 55%, #fff 56%); }
.so-pack .so-sw-sale { background: linear-gradient(135deg, #be123c, #7f1d1d); }
.so-pack .so-sw-light { background: #fff; }
.so-pack .so-sw-brand { background: linear-gradient(135deg, #0D9A5D, #075C3B); }

/* Preview: carousel arrows and dots, the video. */
.so-page .so-canvas-wrap { position: relative; }
.so-page .so-canvas-wrap video { display: block; width: 100%; max-height: 640px; background: #000; }
.so-page .so-slide-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; box-shadow: 0 2px 8px rgba(15, 23, 42, .25); cursor: pointer; }
.so-page .so-slide-nav.is-prev { left: 8px; }
.so-page .so-slide-nav.is-next { right: 8px; }
.so-page .so-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; }
.so-page .so-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(15, 23, 42, .2); }
.so-page .so-dots i.is-on { background: #2563eb; }

/* Video maker. */
.so-page .so-vid { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: #0f172a; color: #fff; }
.so-page .so-vid-h b { display: block; font-weight: 800; }
.so-page .so-vid-h span { font-size: .78rem; color: #cbd5e1; }
.so-page .so-vid-sound { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .35); cursor: pointer; font-size: .84rem; font-weight: 700; }
.so-page .so-vid-sound input { display: none; }
.so-page .so-vid-sound em { font-style: normal; color: #cbd5e1; font-weight: 600; }
.so-page .so-vid .st-hint { color: #cbd5e1; margin: 0; }
.so-page .so-vid .btn-link { color: #fda4af; align-self: flex-start; }
.so-page .so-vid-make { width: 100%; justify-content: center; min-height: 46px; }
.so-page .so-vid-ok { margin: 0; font-size: .82rem; color: #bbf7d0; }

/* Step 2: discount code. */
.so-page .so-promo { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.so-page .so-promo summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none; color: #000; font-weight: 800; font-size: .88rem; }
.so-page .so-promo summary::-webkit-details-marker { display: none; }
.so-page .so-promo summary .bi { color: #be185d; }
.so-page .so-promo[open] summary { border-bottom: 1px solid #f1f5f9; }
.so-page .so-promo-b, .so-page .so-promo > .so-more { margin: 12px 14px 14px; }
.so-page .so-promo-b { display: flex; flex-direction: column; gap: 12px; }
.so-page .so-promo-b .st-hint { margin: 0; }
.so-page .so-row3 { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 10px; }
.so-page .so-pv { display: flex; gap: 6px; }
.so-page .so-pv input { flex: 1; min-width: 0; }
.so-page .so-pv select { flex: 0 0 auto; width: auto; }

/* Step 3: best times, Status pack. */
.so-page .so-best { display: flex; flex-direction: column; gap: 6px; }
.so-page .so-best > span { font-size: .78rem; font-weight: 800; color: #334155; }
.so-page .so-best > div { display: flex; flex-wrap: wrap; gap: 6px; }
.so-page .so-best-b { padding: 7px 12px; border-radius: 999px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1e3a8a; font-family: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.so-page .so-best-b.is-on { background: #2563eb; border-color: #2563eb; color: #fff; }
.so-page .so-best-lock { margin: 0; }
.so-page .so-statuspack { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid #bbf7d0; background: #f0fdf4; cursor: pointer; font-family: inherit; text-align: left; }
.so-page .so-statuspack .so-logo { width: 28px; height: 28px; }
.so-page .so-statuspack > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-statuspack b { color: #000; font-size: .9rem; font-weight: 800; }
.so-page .so-statuspack > span > span { color: #166534; font-size: .76rem; }
.so-page .so-statuspack .bi-arrow-right { color: #15803d; }

/* Posts: list or calendar, money, approvals. */
.so-page .so-fbar { flex-wrap: wrap; }
.so-page .so-viewseg { flex: 0 0 auto; min-width: 200px; }
.so-page .so-thumb-n { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .7rem; font-weight: 800; }
.so-page .so-thumb-ph .bi-play-circle-fill { font-size: 2rem; color: #7c3aed; }
.so-page .so-money { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; background: #f8fafc; color: #334155; font-size: .78rem; }
.so-page .so-money b { color: #000; }
.so-page .so-money.is-win { background: #ecfdf5; color: #065f46; }
.so-page .so-money.is-win .bi { color: #059669; }
.so-page .so-note { display: flex; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #fffbeb; font-size: .78rem; color: #92400e; }
.so-page .so-post.is-pending { border-color: #fde68a; background: #fffdf5; }

/* Calendar. */
.so-page .so-cal { padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); }
.so-page .so-cal-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.so-page .so-cal-h > div { text-align: center; }
.so-page .so-cal-h b { display: block; color: #000; font-size: 1rem; font-weight: 900; }
.so-page .so-cal-h span { color: #475569; font-size: .76rem; }
.so-page .so-cal-nav { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #000; cursor: pointer; }
.so-page .so-cal-w, .so-page .so-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.so-page .so-cal-w span { padding: 4px 0; text-align: center; color: #475569; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.so-page .so-cal-d { position: relative; min-height: 82px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; border-radius: 12px; border: 1px solid #eef2f7; background: #fbfdff; cursor: pointer; font-family: inherit; text-align: left; }
.so-page .so-cal-d > span { color: #000; font-size: .8rem; font-weight: 800; }
.so-page .so-cal-d.is-other { opacity: .45; }
.so-page .so-cal-d.is-past { background: #f8fafc; }
.so-page .so-cal-d.is-today { border-color: var(--so-v); box-shadow: inset 0 0 0 1px var(--so-v); }
.so-page .so-cal-d.is-today > span { color: var(--so-v); }
.so-page .so-cal-d.is-sel { background: var(--so-v-soft); border-color: #c4b5fd; }
.so-page .so-cal-d:hover { border-color: #c4b5fd; }
.so-page .so-cal-ps { display: flex; flex-wrap: wrap; gap: 3px; }
.so-page .so-cal-p { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #fff; border: 2px solid #94a3b8; font-style: normal; }
.so-page .so-cal-p .so-logo { width: 13px; height: 13px; }
.so-page .so-cal-p.is-published, .so-page .so-cal-p.is-shared, .so-page .so-cal-p.is-in_drafts { border-color: #16a34a; }
.so-page .so-cal-p.is-scheduled, .so-page .so-cal-p.is-queued, .so-page .so-cal-p.is-publishing { border-color: #2563eb; }
.so-page .so-cal-p.is-pending_approval { border-color: #d97706; }
.so-page .so-cal-p.is-failed { border-color: #dc2626; }
.so-page .so-cal-more { font-style: normal; font-size: .7rem; font-weight: 800; color: #334155; align-self: center; }
.so-page .so-cal-add { margin: auto auto 2px; color: #c4b5fd; font-size: 1.1rem; opacity: 0; transition: opacity .15s ease; }
.so-page .so-cal-d:hover .so-cal-add { opacity: 1; }
.so-page .so-cal-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: #334155; font-size: .74rem; font-weight: 600; }
.so-page .so-key { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 3px; border: 2px solid #94a3b8; vertical-align: -1px; }
.so-page .so-key.is-published { border-color: #16a34a; }
.so-page .so-key.is-scheduled { border-color: #2563eb; }
.so-page .so-key.is-pending_approval { border-color: #d97706; }
.so-page .so-key.is-failed { border-color: #dc2626; }
.so-page .so-cal-day { margin-top: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); display: flex; flex-direction: column; gap: 8px; }
.so-page .so-cal-day-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.so-page .so-cal-day-h b { color: #000; }
.so-page .so-cal-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 12px; background: #f8fafc; cursor: pointer; font-family: inherit; text-align: left; }
.so-page .so-cal-item > span:not(.st-chip) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-cal-item .st-chip { flex: 0 0 auto; }
.so-page .so-cal-item b { color: #000; font-size: .84rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-cal-item > span > span { color: #475569; font-size: .74rem; }
.so-page .so-gap { margin-top: 12px; }

/* Results: best times, codes, post again. */
.so-page .so-bestseg { margin-bottom: 10px; }
.so-page .so-times { display: flex; flex-direction: column; gap: 8px; }
.so-page .so-time { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: #f8fafc; }
.so-page .so-time-n { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #0369a1; color: #fff; font-weight: 900; font-size: .84rem; }
.so-page .so-time > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-time b { color: #000; font-size: .9rem; }
.so-page .so-time > div > span { color: #475569; font-size: .76rem; }
.so-page .so-codes { display: flex; flex-direction: column; gap: 8px; }
.so-page .so-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: #fdf2f8; }
.so-page .so-code b { padding: 3px 10px; border-radius: 8px; border: 1.5px dashed #be185d; color: #000; font-family: ui-monospace, monospace; font-size: .86rem; }
.so-page .so-code span { color: #334155; font-size: .8rem; font-weight: 700; }
.so-page .so-code-apps { display: inline-flex; gap: 6px; margin-left: auto; }
.so-page .so-code-apps .so-logo { width: 18px; height: 18px; }
.so-page .so-top.is-static { cursor: default; }
.so-page .so-top.is-static:hover { background: transparent; }
.so-page .so-top.is-static .btn { flex: 0 0 auto; }

/* Inbox: comments. */
.so-page .so-inboxseg { max-width: 360px; margin-bottom: 14px; }
.so-page .so-ibs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 1100px) { .so-page .so-ibs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.so-page .so-ib { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); min-width: 0; }
.so-page .so-ib.is-done { opacity: .78; }
.so-page .so-ib-th { position: relative; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; background: #f1f5f9; }
.so-page .so-ib-th img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.so-page .so-ib-th i { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .2); }
.so-page .so-ib-th .so-logo { width: 14px; height: 14px; }
.so-page .so-ib-b { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.so-page .so-ib-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.so-page .so-ib-h b { color: #000; font-size: .86rem; }
.so-page .so-ib-h > span { color: #475569; font-size: .74rem; }
.so-page .so-ib-h .st-chip { margin-left: auto; }
.so-page .so-ib-b > p { margin: 0; color: #000; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.so-page .so-ib-post { color: #64748b; font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-ib .so-cm-a { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.so-page .so-ib .so-cm-a textarea { width: 100%; box-sizing: border-box; border-radius: 10px; border: 1px solid #cbd5e1; padding: 8px 10px; font: inherit; color: #000; }
.so-page .so-ib .so-cm-a .so-acts { justify-content: flex-end; }
.so-page .so-ib .so-cm-a .so-acts .btn { flex: 0 0 auto; }
.so-page .so-cm-r { margin: 2px 0 2px 10px; font-size: .8rem; color: #1e293b; }

/* Inbox: messages. */
.so-page .so-msg-accs { margin-bottom: 12px; }
.so-page .so-msgbox { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 12px; min-height: 420px; }
.so-page .so-convs { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); overflow-y: auto; max-height: 560px; }
.so-page .so-conv { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; font-family: inherit; text-align: left; }
.so-page .so-conv:hover, .so-page .so-conv.is-on { background: var(--so-v-soft); }
.so-page .so-conv-av { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; background: linear-gradient(135deg, #fd5949, #d6249f 55%, #6d4aff); }
.so-page .so-conv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-page .so-conv-t b { color: #000; font-size: .86rem; }
.so-page .so-conv-t span { color: #475569; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-page .so-conv.is-unread .so-conv-t span { color: #000; font-weight: 700; }
.so-page .so-conv-w { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: #64748b; font-size: .7rem; }
.so-page .so-conv-w i { min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #7c3aed; color: #fff; font-style: normal; font-weight: 800; }
.so-page .so-thread { display: flex; flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid var(--so-line); overflow: hidden; }
.so-page .so-thread.is-empty { align-items: center; justify-content: center; gap: 8px; color: #64748b; font-size: .86rem; }
.so-page .so-thread.is-empty .bi { font-size: 2rem; color: #c4b5fd; }
.so-page .so-thread-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; }
.so-page .so-thread-h b { flex: 1; color: #000; }
.so-page .so-thread-back { display: none; }
.so-page .so-msgs { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px; overflow-y: auto; max-height: 420px; background: #f8fafc; }
.so-page .so-msg { align-self: flex-start; max-width: 78%; display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid #e2e8f0; }
.so-page .so-msg.is-mine { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #7c3aed; border-color: #7c3aed; }
.so-page .so-msg span { color: #000; font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.so-page .so-msg.is-mine span { color: #fff; }
.so-page .so-msg img { max-width: 220px; border-radius: 10px; }
.so-page .so-msg em { font-style: normal; font-size: .66rem; color: #64748b; }
.so-page .so-msg.is-mine em { color: #ddd6fe; }
.so-page .so-msg-send { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-top: 1px solid #f1f5f9; }
.so-page .so-msg-send textarea { width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid #cbd5e1; padding: 9px 12px; font: inherit; color: #000; resize: vertical; }
.so-page .so-msg-send .so-acts { justify-content: flex-end; }
.so-page .so-msg-send .so-acts .btn { flex: 0 0 auto; }
.so-page .so-msg-send .st-hint { margin: 0; font-size: .72rem; }

/* WhatsApp Status pack (pop-up). */
.so-pack .so-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.so-pack .so-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #fff; color: #000; cursor: pointer; font-family: inherit; }
.so-pack .so-chip.is-on { border-color: #16a34a; background: #f0fdf4; }
.so-pack .so-chip b { font-size: .82rem; }
.so-pack .so-swatch { display: block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, .15); }
.so-pack-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 280px; overflow-y: auto; }
.so-pack-p { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; border: 1px solid #e2e8f0; cursor: pointer; font-size: .8rem; color: #000; font-weight: 600; }
.so-pack-p:has(input:checked) { border-color: #16a34a; background: #f0fdf4; }
.so-pack-th { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 8px; overflow: hidden; background: #f1f5f9; color: #64748b; }
.so-pack-th img { width: 100%; height: 100%; object-fit: cover; }
.so-pack-res { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; }
.so-pack-res img { width: 96px; flex: 0 0 96px; border-radius: 10px; box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .5); }
.so-pack .so-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.so-pack .so-acts .btn { flex: 1 1 auto; justify-content: center; }
.so-pack .so-logo-w { width: 18px; height: 18px; padding: 2px; border-radius: 6px; background: #fff; }

@media (max-width: 900px) {
    .so-page .so-msgbox { grid-template-columns: 1fr; }
    .so-page .so-msgbox.has-open .so-convs { display: none; }
    .so-page .so-msgbox:not(.has-open) .so-thread { display: none; }
    .so-page .so-thread-back { display: grid; }
}
@media (max-width: 560px) {
    .so-page .so-idea { flex-basis: 268px; }
    .so-page .so-row3 { grid-template-columns: 1fr 1fr; }
    .so-page .so-row3 > :last-child { grid-column: 1 / -1; }
    .so-page .so-cal { padding: 10px; }
    .so-page .so-cal-w, .so-page .so-cal-g { gap: 3px; }
    .so-page .so-cal-d { min-height: 54px; padding: 4px; border-radius: 9px; }
    .so-page .so-cal-p { width: 16px; height: 16px; border-radius: 5px; border-width: 1.5px; }
    .so-page .so-cal-p .so-logo { width: 9px; height: 9px; }
    .so-page .so-cal-add { display: none; }
    .so-page .so-viewseg { min-width: 0; flex: 1 1 auto; }
    .so-page .so-fbar .so-fchips { order: 3; flex: 1 1 100%; }
    .so-page .so-ib { padding: 12px; }
    .so-page .so-time .btn span, .so-page .so-time .btn { font-size: .76rem; }
}
