/* SciTech Invest frontend — aligned with SciTechNews / Uzel News UI */
.sti-wrap,
.sti-catalog,
.sti-submit,
.sti-investor-profile,
.sti-partner,
.sti-contact-form-wrap,
.sti-my-projects {
    --sti-accent: #0095ff;
    --sti-accent-hover: #007bd3;
    --sti-text: #111827;
    --sti-text-soft: #526172;
    --sti-muted: #64748b;
    --sti-muted-light: #94a3b8;
    --sti-border: #e3edf7;
    --sti-border-strong: #d8e5f1;
    --sti-surface: #ffffff;
    --sti-surface-soft: #f1f7fd;
    --sti-surface-soft-2: #f6f9fc;
    --sti-success: #0f8a5f;
    --sti-danger: #b42362;
    --sti-warning: #8a6500;
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    color: var(--sti-text);
    font-family: inherit;
    line-height: 1.55;
}

.sti-wrap *,
.sti-catalog *,
.sti-submit *,
.sti-investor-profile *,
.sti-partner *,
.sti-contact-form-wrap *,
.sti-my-projects *,
.sti-wrap *::before,
.sti-catalog *::before,
.sti-submit *::before,
.sti-investor-profile *::before,
.sti-partner *::before,
.sti-contact-form-wrap *::before,
.sti-my-projects *::before,
.sti-wrap *::after,
.sti-catalog *::after,
.sti-submit *::after,
.sti-investor-profile *::after,
.sti-partner *::after,
.sti-contact-form-wrap *::after,
.sti-my-projects *::after {
    box-sizing: border-box;
}

.sti-wrap a,
.sti-catalog a,
.sti-submit a,
.sti-investor-profile a,
.sti-partner a,
.sti-contact-form-wrap a,
.sti-my-projects a {
    text-underline-offset: 3px;
}

.sti-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.sti-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sti-button .sti-icon {
    flex: 0 0 18px;
}

.uzel-account-nav .sti-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.sti-button,
.sti-icon-button,
.sti-pagination a,
.sti-project-form input,
.sti-project-form select,
.sti-project-form textarea,
.sti-contact-form input,
.sti-contact-form select,
.sti-contact-form textarea,
.sti-partner-form input,
.sti-partner-form select,
.sti-partner-form textarea,
.sti-investor-form input,
.sti-investor-form select,
.sti-investor-form textarea,
.sti-catalog input {
    min-height: 46px;
}

.sti-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid var(--sti-accent);
    border-radius: 999px;
    background: var(--sti-accent);
    color: #fff !important;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 149, 255, .22);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sti-button:hover,
.sti-button:focus {
    border-color: var(--sti-accent-hover);
    background: var(--sti-accent-hover);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(0, 123, 211, .22);
}

.sti-button--primary,
.sti-button--primary:link,
.sti-button--primary:visited,
.sti-button--primary:hover,
.sti-button--primary:focus,
.sti-button--primary:active {
    border-color: var(--sti-accent) !important;
    background: var(--sti-accent) !important;
    color: #fff !important;
}

.sti-button--primary :is(.sti-button__text,span,strong,.sti-icon,svg,path) {
    color: #fff !important;
    fill: none;
}

.sti-button--primary .sti-button__text {
    color: #fff !important;
}

.sti-button--primary svg path[fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.sti-button--primary:hover,
.sti-button--primary:focus {
    border-color: var(--sti-accent-hover) !important;
    background: var(--sti-accent-hover) !important;
    color: #fff !important;
}

.sti-button--primary[disabled],
.sti-button--primary[aria-disabled="true"] {
    border-color: #b9d9ef !important;
    background: #dceef9 !important;
    color: #28536f !important;
    opacity: 1 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.sti-button--primary[disabled] :is(.sti-button__text,span,strong,.sti-icon,svg,path),
.sti-button--primary[aria-disabled="true"] :is(.sti-button__text,span,strong,.sti-icon,svg,path) {
    color: #28536f !important;
}

.sti-button:active { transform: translateY(1px); }

.sti-button:focus-visible,
.sti-icon-button:focus-visible,
.sti-pagination a:focus-visible,
.sti-filter-chip:focus-visible,
.sti-project-form :is(input,select,textarea):focus-visible,
.sti-contact-form :is(input,select,textarea):focus-visible,
.sti-partner-form :is(input,select,textarea):focus-visible,
.sti-investor-form :is(input,select,textarea):focus-visible {
    outline: 3px solid rgba(0, 149, 255, .2);
    outline-offset: 2px;
}

.sti-button--secondary {
    border-color: var(--sti-border-strong);
    background: #fff;
    color: var(--sti-accent) !important;
    box-shadow: none;
}

.sti-button--secondary:hover,
.sti-button--secondary:focus {
    border-color: rgba(0, 149, 255, .35);
    background: rgba(0, 149, 255, .06);
    color: var(--sti-accent-hover) !important;
    box-shadow: none;
}

.sti-button--ghost {
    border-color: transparent;
    background: transparent;
    color: var(--sti-accent) !important;
    box-shadow: none;
}

.sti-button--ghost:hover,
.sti-button--ghost:focus {
    border-color: transparent;
    background: var(--sti-surface-soft);
    color: var(--sti-accent-hover) !important;
    box-shadow: none;
}

.sti-button[disabled],
.sti-button[aria-disabled="true"],
.sti-icon-button[disabled] {
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.sti-button--secondary[disabled],
.sti-button--secondary[aria-disabled="true"],
.sti-button--ghost[disabled],
.sti-button--ghost[aria-disabled="true"] {
    border-color: #d5e0e8 !important;
    background: #f3f6f8 !important;
    color: #536779 !important;
}

.sti-button--secondary[disabled] :is(.sti-button__text,span,strong,.sti-icon,svg,path),
.sti-button--secondary[aria-disabled="true"] :is(.sti-button__text,span,strong,.sti-icon,svg,path),
.sti-button--ghost[disabled] :is(.sti-button__text,span,strong,.sti-icon,svg,path),
.sti-button--ghost[aria-disabled="true"] :is(.sti-button__text,span,strong,.sti-icon,svg,path) {
    color: #536779 !important;
}

.sti-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--sti-border-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--sti-accent);
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.sti-icon-button:hover,
.sti-icon-button:focus {
    border-color: rgba(0, 149, 255, .4);
    background: rgba(0, 149, 255, .07);
    color: var(--sti-accent-hover);
}

.sti-icon-button .sti-icon { width: 19px; height: 19px; flex-basis: 19px; }

.sti-notice,
.sti-error {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--sti-border);
    border-radius: 16px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sti-notice--success {
    border-color: rgba(28, 185, 129, .22);
    background: rgba(28, 185, 129, .1);
    color: var(--sti-success);
}

.sti-notice--error,
.sti-error {
    border-color: rgba(243, 75, 146, .22);
    background: rgba(243, 75, 146, .09);
    color: var(--sti-danger);
}

.sti-notice--warning {
    border-color: rgba(188, 145, 0, .22);
    background: rgba(255, 196, 0, .1);
    color: var(--sti-warning);
}

.sti-chip,
.sti-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    max-width: 100%;
    padding: 5px 11px;
    border: 1px solid var(--sti-border);
    border-radius: 999px;
    background: var(--sti-surface-soft);
    color: var(--sti-text-soft);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sti-chip--stage { border-color: rgba(0,149,255,.2); background: rgba(0,149,255,.08); color: #0069b4; }
.sti-chip--cooperation { background: #fff; }
.sti-status--published { border-color: rgba(28,185,129,.22); background: rgba(28,185,129,.1); color: var(--sti-success); }
.sti-status--review { border-color: rgba(0,149,255,.2); background: rgba(0,149,255,.08); color: #0069b4; }
.sti-status--needs_changes { border-color: rgba(243,75,146,.2); background: rgba(243,75,146,.08); color: var(--sti-danger); }

.sti-hint {
    display: inline;
    margin-left: 4px;
    color: var(--sti-muted-light);
    font-size: 12px;
    font-weight: 600;
}

.sti-honeypot {
    position: fixed !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Common section headings */
.sti-section-head,
.sti-submit__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
}

.sti-section-head h1,
.sti-section-head h2,
.sti-submit__header h1,
.sti-submit__header h2 {
    margin: 0 0 6px;
    color: var(--sti-text);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.12;
}

.sti-section-head p,
.sti-submit__header p {
    margin: 0;
    max-width: 760px;
    color: var(--sti-muted);
    font-size: 14px;
}

/* Catalogue */
.sti-filter-toggle { display: none; }

.sti-catalog {
    display: grid;
    gap: 24px;
}

.sti-catalog__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
}

.sti-filter-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sti-filter-group legend,
.sti-field__label {
    margin: 0 0 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.sti-filter-options,
.sti-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sti-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    color: var(--sti-text-soft);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.sti-filter-options .sti-check,
.sti-check-grid .sti-check {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 999px;
    background: #fff;
    font-weight: 800;
}

.sti-check input[type="checkbox"],
.sti-check input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--sti-accent);
}

.sti-check span { min-width: 0; overflow-wrap: anywhere; }

.sti-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 2px;
}

.sti-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 0;
}

.sti-active-filters:empty { display: none; }

.sti-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid rgba(0,149,255,.22);
    border-radius: 999px;
    background: rgba(0,149,255,.07);
    color: #0069b4;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.sti-filter-chip:hover { background: rgba(0,149,255,.12); }

.sti-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sti-project-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
    overflow-wrap: anywhere;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sti-project-card:hover {
    border-color: rgba(0,149,255,.22);
    box-shadow: 0 20px 54px rgba(12, 32, 54, .11);
    transform: translateY(-2px);
}

.sti-project-card__meta,
.sti-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sti-project-card__title {
    margin: 0;
    color: var(--sti-text);
    font-size: 21px;
    line-height: 1.25;
}

.sti-project-card__excerpt {
    margin: 0;
    color: var(--sti-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.sti-project-card__need {
    margin: 0;
    padding-top: 2px;
    color: var(--sti-text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.sti-project-card .sti-button {
    align-self: flex-start;
    margin-top: auto;
}

.sti-empty {
    padding: 28px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: var(--sti-surface-soft);
    color: var(--sti-muted);
}

.sti-empty h2,
.sti-empty h3 { margin: 0 0 7px; color: var(--sti-text); }
.sti-empty p { margin: 0; }

.sti-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.sti-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--sti-text-soft);
    font-weight: 800;
    text-decoration: none !important;
}

.sti-pagination a:hover,
.sti-pagination a.is-current {
    border-color: var(--sti-accent);
    background: var(--sti-accent);
    color: #fff;
}

/* Public project */
.sti-single-project {
    --sti-project-header-offset: 148px;
    padding-top: var(--sti-project-header-offset);
    padding-bottom: 8px;
}

.sti-project-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
    gap: 24px;
    align-items: start;
}

.sti-project-main,
.sti-project-sidebar { min-width: 0; }

.sti-project-main { display: grid; gap: 18px; }

.sti-project-hero,
.sti-project-section {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
    overflow-wrap: anywhere;
}

.sti-project-hero {
    padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
}

.sti-project-hero h1 {
    margin: 14px 0 12px;
    color: var(--sti-text);
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.sti-project-lead {
    margin: 0 0 20px;
    max-width: 760px;
    color: var(--sti-text-soft);
    font-size: 17px;
    line-height: 1.65;
}

.sti-project-section h2 {
    margin: 0 0 12px;
    color: var(--sti-text);
    font-size: 22px;
    line-height: 1.2;
}

.sti-project-section h3 { margin: 0 0 8px; }
.sti-project-section p { margin: 0 0 12px; color: #334155; line-height: 1.65; }
.sti-project-section p:last-child { margin-bottom: 0; }
.sti-project-section ul { margin: 0; padding-left: 20px; }
.sti-project-section li { margin: 5px 0; color: #334155; line-height: 1.55; }
.sti-project-section a:not(.sti-button) { color: var(--sti-accent); font-weight: 700; }

.sti-project-sidebar__inner {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 0;
    padding: 22px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
}

.sti-project-sidebar__inner > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px 0;
    border-bottom: 1px solid #edf3f8;
}

.sti-project-sidebar__inner > div:first-child { padding-top: 0; }
.sti-project-sidebar__inner > div:last-of-type { margin-bottom: 16px; }
.sti-project-sidebar__inner > div > span { color: var(--sti-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.sti-project-sidebar__inner strong { color: var(--sti-text); line-height: 1.4; overflow-wrap: anywhere; }
.sti-project-sidebar__inner p { margin: 0; color: var(--sti-text-soft); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.sti-project-sidebar__inner .sti-button { width: 100%; }

.sti-project-service {
    background: var(--sti-surface-soft-2);
    box-shadow: none;
}

.sti-project-service h2 { font-size: 18px; }
.sti-project-service p { color: var(--sti-muted); font-size: 13px; }

.sti-evidence-list { display: grid; gap: 10px; }

.sti-evidence {
    padding: 16px;
    border: 1px solid var(--sti-border);
    border-radius: 18px;
    background: var(--sti-surface-soft-2);
    overflow-wrap: anywhere;
}

.sti-evidence h3 { margin: 0 0 10px; font-size: 17px; }

.sti-direct-contact {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--sti-surface-soft);
}

/* Forms and wizard */
.sti-submit,
.sti-investor-profile,
.sti-partner,
.sti-my-projects {
    display: grid;
    gap: 18px;
}

.sti-investor-profile,
.sti-partner {
    padding: 24px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
}

.sti-investor-profile > h2,
.sti-partner > h2 {
    margin: 0 0 2px;
    color: var(--sti-text);
    font-size: 28px;
    line-height: 1.15;
}

.sti-project-form,
.sti-contact-form,
.sti-partner-form,
.sti-investor-form {
    display: grid;
    gap: 18px;
    width: 100%;
}

.sti-contact-form {
    padding: 20px;
    border: 1px solid var(--sti-border);
    border-radius: 20px;
    background: var(--sti-surface-soft-2);
}

.sti-project-form label:not(.sti-check),
.sti-contact-form label:not(.sti-check):not(.sti-honeypot),
.sti-partner-form label:not(.sti-check):not(.sti-honeypot),
.sti-investor-form label:not(.sti-check) {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.sti-project-form :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],input[type="number"],select,textarea),
.sti-contact-form :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],select,textarea),
.sti-partner-form :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],select,textarea),
.sti-investor-form :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],select,textarea) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--sti-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sti-project-form :is(input,select,textarea):focus,
.sti-contact-form :is(input,select,textarea):focus,
.sti-partner-form :is(input,select,textarea):focus,
.sti-investor-form :is(input,select,textarea):focus {
    border-color: var(--sti-accent);
    box-shadow: 0 0 0 3px rgba(0, 149, 255, .12);
}

.sti-project-form textarea,
.sti-contact-form textarea,
.sti-partner-form textarea,
.sti-investor-form textarea {
    min-height: 118px;
    resize: vertical;
}

.sti-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sti-wizard-progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 7px;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: var(--sti-surface-soft);
    list-style: none;
}

.sti-wizard-progress li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 16px;
    color: var(--sti-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

.sti-wizard-progress li.is-active {
    background: #fff;
    color: var(--sti-accent);
    box-shadow: 0 8px 20px rgba(12, 32, 54, .08);
}

.sti-form-step {
    display: none;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 32, 54, .08);
}

.sti-form-step.is-active { display: grid; gap: 18px; }

.sti-form-step__title,
.sti-form-step > .sti-form-step__title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--sti-text) !important;
    font-family: inherit !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.015em !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.sti-page-title,
.sti-submit__header .sti-page-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--sti-text) !important;
    font-family: inherit !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.sti-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0 0;
}

.sti-repeat,
.sti-repeat [data-sti-repeat-list] { display: grid; gap: 10px; }

.sti-repeat-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 42px;
    gap: 8px;
    align-items: start;
}

.sti-evidence-editor {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 42px;
    padding: 16px;
    border: 1px solid var(--sti-border);
    border-radius: 18px;
    background: var(--sti-surface-soft-2);
}

.sti-evidence-editor > label:first-child { grid-column: 1 / 3; }
.sti-evidence-editor > input[type="hidden"],
.sti-evidence-editor > .sti-evidence-public,
.sti-evidence-field--full { grid-column: 1 / -1; }
.sti-evidence-editor > .sti-icon-button { grid-column: 3; grid-row: 1 / span 24; align-self: start; }
.sti-evidence-field label { margin: 0; }
.sti-evidence-field[hidden] { display: none !important; }

.sti-preview {
    padding: 18px;
    border: 1px solid rgba(0,149,255,.24);
    border-radius: 20px;
    background: rgba(0,149,255,.045);
}

.sti-preview__head { margin-bottom: 18px; }
.sti-consent { padding: 4px 0; }
.sti-form-status { min-height: 1.5em; color: var(--sti-muted); font-size: 13px; }

/* Owner account views */
.sti-owner-projects {
    display: grid;
    gap: 10px;
}

.sti-owner-project {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--sti-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 32, 54, .055);
}

.sti-owner-project h3 {
    margin: 8px 0 4px;
    color: var(--sti-text);
    font-size: 18px;
    line-height: 1.3;
}

.sti-owner-project p { margin: 0; color: var(--sti-muted); font-size: 13px; }

.sti-owner-project__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.sti-owner-project__actions .sti-button { min-height: 40px; padding: 8px 14px; font-size: 13px; }

.sti-owner-project__contacts {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid #edf3f8;
}

.sti-owner-project__contacts > summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sti-accent);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    list-style-position: outside;
}

.sti-owner-contact-list { display: grid; gap: 10px; margin-top: 12px; }

.sti-owner-contact {
    padding: 14px;
    border: 1px solid var(--sti-border);
    border-radius: 16px;
    background: var(--sti-surface-soft-2);
    color: var(--sti-text-soft);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sti-owner-contact p { margin: 8px 0 0; }
.sti-owner-contact a { color: var(--sti-accent); font-weight: 700; }

@media (max-width: 1024px) {
    .sti-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sti-catalog__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sti-project-layout { grid-template-columns: minmax(0, 1fr); }
    .sti-project-sidebar__inner { position: static; }
    .sti-wizard-progress { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .sti-wrap,
    .sti-catalog,
    .sti-submit,
    .sti-investor-profile,
    .sti-partner,
    .sti-contact-form-wrap,
    .sti-my-projects {
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .sti-catalog.sti-has-js .sti-filter-toggle {
        display: inline-flex;
        justify-self: start;
    }

    .sti-catalog.sti-has-js .sti-catalog__filters { display: none; }
    .sti-catalog.sti-has-js .sti-catalog__filters.is-open { display: grid; }

    .sti-catalog__filters,
    .sti-project-grid,
    .sti-form-grid { grid-template-columns: minmax(0, 1fr); }

    .sti-catalog__filters,
    .sti-project-card,
    .sti-form-step,
    .sti-project-hero,
    .sti-project-section,
    .sti-project-sidebar__inner,
    .sti-section-head,
    .sti-submit__header,
    .sti-investor-profile,
    .sti-partner { padding: 18px; border-radius: 20px; }

    .sti-section-head,
    .sti-submit__header {
        flex-direction: column;
        align-items: stretch;
    }

    .sti-section-head .sti-button,
    .sti-submit__header .sti-button { width: 100%; }

    .sti-project-hero h1 { font-size: 31px; }
    .sti-project-lead { font-size: 16px; }

    .sti-wizard-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 18px;
    }

    .sti-repeat-row,
    .sti-evidence-editor { grid-template-columns: minmax(0,1fr) 42px; }

    .sti-repeat-row > :not(.sti-icon-button),
    .sti-evidence-editor > :not(.sti-icon-button) { grid-column: 1; min-width: 0; }

    .sti-repeat-row > .sti-icon-button,
    .sti-evidence-editor > .sti-icon-button { grid-column: 2; grid-row: 1 / span 24; align-self: start; }

    .sti-owner-project { grid-template-columns: minmax(0, 1fr); padding: 16px; border-radius: 18px; }
    .sti-owner-project__actions { justify-content: flex-start; width: 100%; }

    .sti-form-actions,
    .sti-filter-actions { flex-direction: column; }

    .sti-form-actions .sti-button,
    .sti-filter-actions .sti-button,
    .sti-contact-form > .sti-button,
    .sti-partner-form > .sti-button,
    .sti-investor-form > .sti-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .sti-wrap,
    .sti-catalog,
    .sti-submit,
    .sti-investor-profile,
    .sti-partner,
    .sti-contact-form-wrap,
    .sti-my-projects {
        padding-left: 12px;
        padding-right: 12px;
    }

    .sti-project-card,
    .sti-form-step,
    .sti-project-hero,
    .sti-project-section,
    .sti-project-sidebar__inner,
    .sti-section-head,
    .sti-submit__header,
    .sti-investor-profile,
    .sti-partner { border-radius: 18px; }

    .sti-wizard-progress { grid-template-columns: minmax(0, 1fr); }
    .sti-project-card .sti-button,
    .sti-owner-project__actions .sti-button { width: 100%; }
    .sti-owner-project__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .sti-button,
    .sti-icon-button,
    .sti-project-card { transition: none; }
    .sti-project-card:hover { transform: none; }
}


/* === SciTech Invest account/UI repair 0.2.0 === */
.sti-account-view,
.sti-role-statuses {
    --sti-accent: #0095ff;
    --sti-accent-hover: #007bd3;
    --sti-text: #111827;
    --sti-text-soft: #526172;
    --sti-muted: #64748b;
    --sti-muted-light: #94a3b8;
    --sti-border: #e3edf7;
    --sti-border-strong: #d8e5f1;
    --sti-surface: #ffffff;
    --sti-surface-soft: #f1f7fd;
    --sti-surface-soft-2: #f6f9fc;
    --sti-success: #0f8a5f;
    --sti-danger: #b42362;
    --sti-warning: #8a6500;
    width: 100%;
    min-width: 0;
    color: var(--sti-text);
    font-family: inherit;
    line-height: 1.55;
}

.sti-account-view *,
.sti-role-statuses *,
.sti-account-view *::before,
.sti-account-view *::after,
.sti-role-statuses *::before,
.sti-role-statuses *::after { box-sizing: border-box; }

/* Existing Uzel Account already owns width and mobile padding. Never create a second shell. */
.sti-account-view.is-account-context,
.sti-my-projects.is-account-context,
.sti-investor-profile.is-account-context {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sti-account-view__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
}

.sti-account-view__head h2,
.sti-account-view__head h3 {
    margin: 3px 0 7px;
    color: var(--sti-text);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.16;
}

.sti-account-view__head p { margin: 0; max-width: 760px; color: var(--sti-muted); font-size: 14px; line-height: 1.55; }
.sti-eyebrow { display: inline-block; color: var(--sti-accent); font-size: 11px; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }

/* Buttons: flexible height and a separate shrink-safe label prevent theme text clipping. */
.sti-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto;
    height: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;
    max-width: 100% !important;
    padding: 11px 18px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: visible !important;
    text-indent: 0 !important;
    text-wrap: balance;
}
.sti-button .sti-icon {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    overflow: visible !important;
}
.sti-button__text {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: visible !important;
    text-align: center !important;
    text-indent: 0 !important;
}

/* Participation/status cards */
.sti-role-statuses { display: grid; gap: 18px; }
.sti-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}
.sti-role-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 32, 54, .055);
}
.sti-role-card__top { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.sti-role-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: var(--sti-surface-soft);
    color: var(--sti-accent);
}
.sti-role-card__icon .sti-icon { width: 20px; height: 20px; flex-basis: 20px; }
.sti-role-card__title { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.sti-role-card__title h3 { flex: 1 1 120px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.25; overflow-wrap: break-word; }
.sti-role-card__description { min-height: 0; margin: 14px 0 16px; color: var(--sti-muted); font-size: 13px; line-height: 1.55; }
.sti-role-card__comment,
.sti-role-card__message { margin: 0 0 14px; padding: 12px 13px; border-radius: 14px; background: var(--sti-surface-soft-2); color: var(--sti-text-soft); font-size: 12.5px; line-height: 1.5; overflow-wrap: break-word; }
.sti-role-card__comment strong { display: block; margin-bottom: 4px; color: var(--sti-text); }
.sti-role-card__comment p { margin: 0; }
.sti-role-card__message--success { background: rgba(28,185,129,.09); color: var(--sti-success); }
.sti-role-card .sti-role-application { margin-top: auto; }
.sti-role-card .sti-role-application > summary { width: 100%; list-style: none; }
.sti-role-card .sti-role-application > summary::-webkit-details-marker { display: none; }
.sti-role-form { display: grid; gap: 13px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sti-border); }
.sti-role-form label { display: grid; gap: 6px; min-width: 0; color: #334155; font-size: 12.5px; font-weight: 800; }
.sti-role-form :is(input,select,textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--sti-border-strong); border-radius: 14px; background: #fff; color: var(--sti-text); font: inherit; font-size: 14px; line-height: 1.4; }
.sti-role-form textarea { min-height: 104px; resize: vertical; }
.sti-role-form .sti-button { width: 100%; }
.sti-role-history { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--sti-border); color: var(--sti-muted); font-size: 12.5px; }
.sti-role-history > summary { cursor: pointer; font-weight: 800; color: var(--sti-text-soft); }
.sti-role-history__list { display: grid; gap: 8px; margin-top: 10px; }
.sti-role-history__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; border-radius: 12px; background: var(--sti-surface-soft-2); }
.sti-role-history__item p { grid-column: 1 / -1; margin: 2px 0 0; }

.sti-status--not_applied { background: #f6f9fc; color: #64748b; }
.sti-status--pending { border-color: rgba(0,149,255,.22); background: rgba(0,149,255,.08); color: #0069b4; }
.sti-status--approved { border-color: rgba(28,185,129,.22); background: rgba(28,185,129,.1); color: var(--sti-success); }
.sti-status--rejected { border-color: rgba(243,75,146,.22); background: rgba(243,75,146,.08); color: var(--sti-danger); }

/* Account project/investor views: only content cards, no duplicated outer gutters. */
.sti-my-projects.is-account-context,
.sti-investor-profile.is-account-context { gap: 16px; }
.sti-my-projects.is-account-context .sti-section-head,
.sti-investor-profile.is-account-context .sti-account-view__head { margin: 0; }
.sti-investor-profile.is-account-context .sti-investor-form {
    padding: 20px;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 32, 54, .055);
}
.sti-section-head__copy { min-width: 0; }
.sti-owner-project__main { min-width: 0; }
.sti-owner-project__id { color: var(--sti-muted-light) !important; }
.sti-owner-project__empty-contact { margin: 12px 0 0 !important; }

/* Wizard: readable at every width; mobile scrolls steps instead of squeezing words. */
@media (max-width: 1024px) {
    .sti-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .sti-account-view.is-account-context,
    .sti-my-projects.is-account-context,
    .sti-investor-profile.is-account-context {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .sti-role-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sti-role-card { padding: 17px; border-radius: 18px; }
    .sti-account-view__head { margin-bottom: 14px; }

    .sti-wizard-progress {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 7px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 7px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .sti-wizard-progress li {
        flex: 0 0 auto;
        width: auto;
        min-width: 118px;
        max-width: 168px;
        min-height: 44px;
        padding: 8px 11px;
        scroll-snap-align: start;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }

    .sti-my-projects.is-account-context .sti-section-head,
    .sti-investor-profile.is-account-context .sti-investor-form { padding: 16px; border-radius: 18px; }

    .sti-owner-project__actions .sti-button { flex: 1 1 160px; width: auto; }
}

@media (max-width: 420px) {
    .sti-account-view.is-account-context,
    .sti-my-projects.is-account-context,
    .sti-investor-profile.is-account-context {
        padding-left: 0;
        padding-right: 0;
    }
    .sti-role-card { padding: 15px; }
    .sti-role-card__top { gap: 10px; }
    .sti-role-card__icon { width: 38px; height: 38px; flex-basis: 38px; }
    .sti-owner-project__actions { display: grid; grid-template-columns: minmax(0,1fr); }
    .sti-owner-project__actions .sti-button { width: 100%; }
}

/* Account title system — isolated from theme H1/H2/H3 rules. */
.sti-account-title,
.sti-account-view__head .sti-account-title,
.sti-section-head .sti-account-title,
.sti-partner.is-account-context .sti-account-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 8px !important;
    padding: 0 !important;
    color: var(--sti-text) !important;
    font-family: inherit !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.14 !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
    text-indent: 0 !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
}

.sti-account-view__copy,
.sti-section-head__copy { min-width: 0; max-width: 100%; }

.sti-role-card__title h3 {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.sti-role-card__action { width: 100%; margin-top: auto; }

.sti-role-application-screen { display: grid; gap: 18px; }
.sti-role-application-screen__head { margin-bottom: 0; }
.sti-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--sti-muted) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none !important;
}
.sti-back-link:hover { color: var(--sti-accent) !important; }
.sti-back-link .sti-icon { width: 16px; height: 16px; flex-basis: 16px; }

.sti-role-form--standalone {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 32, 54, .055);
}
.sti-role-form--standalone label { display: grid; gap: 7px; min-width: 0; }
.sti-role-form--standalone label > span { color: #334155; font-size: 13px; font-weight: 800; line-height: 1.35; }
.sti-role-form--standalone :is(input,select,textarea) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--sti-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.sti-role-form--standalone textarea { min-height: 124px; resize: vertical; }
.sti-role-form__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.sti-role-form__actions .sti-button { flex: 0 1 auto; }

.sti-partner.is-account-context {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 24px;
}
.sti-partner.is-account-context .sti-account-view__head {
    margin: 0 0 18px;
}
.sti-partner.is-account-context > .sti-notice {
    margin: 0 0 16px;
}
.sti-partner.is-account-context .sti-partner-form {
    padding: 20px;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 32, 54, .055);
}

@media (max-width: 767px) {
    .sti-account-title,
    .sti-account-view__head .sti-account-title,
    .sti-section-head .sti-account-title,
    .sti-partner.is-account-context .sti-account-title {
        font-size: 24px !important;
        line-height: 1.16 !important;
        letter-spacing: -.02em !important;
    }
    .sti-role-form--standalone,
    .sti-partner.is-account-context .sti-partner-form { padding: 16px; border-radius: 18px; }
    .sti-partner.is-account-context { padding: 16px; }
    .sti-partner.is-account-context .sti-account-view__head,
    .sti-partner.is-account-context > .sti-notice { margin-bottom: 14px; }
    .sti-role-form__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .sti-role-form__actions .sti-button { width: 100%; }
}

@media (max-width: 420px) {
    .sti-account-title,
    .sti-account-view__head .sti-account-title,
    .sti-section-head .sti-account-title,
    .sti-partner.is-account-context .sti-account-title { font-size: 22px !important; }
}


.sti-role-access-success {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
}
.sti-role-access-success strong,
.sti-role-access-success span { display: block; min-width: 0; }
@media (max-width: 767px) {
    .sti-form-step__title { font-size: 18px !important; line-height: 1.22 !important; }
    .sti-page-title,
    .sti-submit__header .sti-page-title { font-size: 26px !important; line-height: 1.14 !important; }
}
@media (max-width: 420px) {
    .sti-page-title,
    .sti-submit__header .sti-page-title { font-size: 24px !important; }
}

/* Validation and container-aware form layout */
.sti-form-step {
    container-type: inline-size;
}

.sti-required {
    color: #dc2626;
    font: inherit;
    font-weight: 900;
}

.sti-field-error {
    display: block;
    width: 100%;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.sti-project-form :is(input, select, textarea).is-invalid,
.sti-contact-form :is(input, select, textarea).is-invalid,
.sti-partner-form :is(input, select, textarea).is-invalid,
.sti-investor-form :is(input, select, textarea).is-invalid,
.sti-role-form :is(input, select, textarea).is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .10) !important;
}

.sti-field.is-invalid {
    padding: 12px;
    border: 1px solid rgba(220, 38, 38, .28);
    border-radius: 16px;
    background: rgba(254, 242, 242, .7);
}

@container (max-width: 640px) {
    .sti-repeat-row,
    .sti-evidence-editor {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .sti-repeat-row > :not(.sti-icon-button),
    .sti-evidence-editor > :not(.sti-icon-button) {
        grid-column: 1;
        min-width: 0;
    }

    .sti-repeat-row > .sti-icon-button,
    .sti-evidence-editor > .sti-icon-button {
        grid-column: 2;
        grid-row: 1 / span 24;
        align-self: start;
    }

    .sti-evidence-editor > label:first-child {
        grid-column: 1;
    }
}

@container (max-width: 420px) {
    .sti-evidence-editor,
    .sti-repeat-row {
        gap: 10px;
    }
    .sti-evidence-editor {
        padding: 14px;
    }
}

/* Project social feed */
.sti-project-feed {
    display: grid;
    gap: 18px;
    width: min(100%, 860px);
    margin: 0 auto;
}

.sti-feed-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sti-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(12, 32, 54, .065);
}

.sti-feed-card__head,
.sti-feed-card__body,
.sti-feed-card__request,
.sti-feed-card__actions {
    padding-left: 22px;
    padding-right: 22px;
}

.sti-feed-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 4px;
}

.sti-feed-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f5ff, #f6fbff);
    border: 1px solid rgba(0,149,255,.18);
    color: var(--sti-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
}

.sti-feed-card__author { min-width: 0; }
.sti-feed-card__author > strong { display: block; color: var(--sti-text); font-size: 14px; line-height: 1.3; }
.sti-feed-card__author-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 3px; color: var(--sti-muted); font-size: 12px; line-height: 1.35; }
.sti-feed-card__author-meta > *:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--sti-muted-light); }

.sti-feed-card__body { padding-top: 16px; padding-bottom: 18px; }
.sti-feed-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.sti-feed-card__title { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.14; letter-spacing: -.025em; overflow-wrap: anywhere; }
.sti-feed-card__title a { color: inherit; text-decoration: none; }
.sti-feed-card__title a:hover { color: var(--sti-accent); }
.sti-feed-card__excerpt { margin: 12px 0 0; color: var(--sti-text-soft); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }

.sti-feed-card__cover { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sti-surface-soft-2); }
.sti-feed-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sti-feed-card__request { padding-top: 18px; padding-bottom: 18px; background: #f7fbff; border-top: 1px solid var(--sti-border); }
.sti-feed-card__request > span { display: inline-flex; align-items: center; gap: 7px; color: #276487; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.sti-feed-card__request > span .sti-icon { width: 15px; height: 15px; flex-basis: 15px; }
.sti-feed-card__request p { margin: 8px 0 0; color: var(--sti-text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }

.sti-feed-card__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--sti-border); }
.sti-feed-card__actions .sti-button { flex: 0 1 auto; }

.sti-project-cover-field { display: grid; gap: 10px; min-width: 0; }
.sti-project-cover-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}
.sti-project-cover-field__preview {
    display: block;
    width: min(100%, 620px);
    max-height: 340px;
    object-fit: cover;
    border: 1px solid var(--sti-border);
    border-radius: 18px;
    background: var(--sti-surface-soft-2);
}
.sti-project-cover-field__preview[hidden] { display: none !important; }
.sti-project-cover-upload__trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border: 1px dashed rgba(0,149,255,.38);
    border-radius: 18px;
    background: rgba(0,149,255,.04);
    color: var(--sti-text);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}
.sti-project-cover-upload__trigger:hover,
.sti-project-cover-upload__trigger:focus-within {
    border-color: var(--sti-accent);
    background: rgba(0,149,255,.075);
}
.sti-project-cover-upload__trigger > .sti-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 8px;
    border-radius: 11px;
    background: var(--sti-accent);
    color: #fff;
}
.sti-project-cover-upload__copy { display: grid; gap: 3px; min-width: 0; }
.sti-project-cover-upload__copy strong { color: var(--sti-text); font-size: 14px; line-height: 1.3; }
.sti-project-cover-upload__copy small { color: var(--sti-muted); font-size: 12px; line-height: 1.4; }
.sti-project-cover-upload__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .sti-project-feed { gap: 14px; }
    .sti-feed-card { border-radius: 20px; }
    .sti-feed-card__head,
    .sti-feed-card__body,
    .sti-feed-card__request,
    .sti-feed-card__actions { padding-left: 16px; padding-right: 16px; }
    .sti-feed-card__head { padding-top: 16px; }
    .sti-feed-card__title { font-size: 22px; }
    .sti-feed-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .sti-feed-card__actions .sti-button { width: 100%; }
    .sti-feed-card__author-meta > *::after { display: none; }
}

/* Compact catalogue search and filters */
.sti-catalog__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.sti-catalog__topbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: stretch;
}

.sti-catalog__search {
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 16px;
    background: #fff;
    color: var(--sti-muted);
}

.sti-catalog__search:focus-within {
    border-color: rgba(0,149,255,.52);
    box-shadow: 0 0 0 3px rgba(0,149,255,.09);
}

.sti-catalog__search .sti-icon { width: 18px; height: 18px; flex-basis: 18px; }
.sti-catalog__search input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none !important;
    color: var(--sti-text);
    font: inherit;
    font-size: 14px;
}
.sti-catalog__search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.sti-catalog__filter-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.sti-filter-dropdowns {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
}

.sti-filter-menu {
    position: relative;
    min-width: 170px;
}

.sti-filter-menu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--sti-border-strong);
    border-radius: 13px;
    background: #fff;
    color: var(--sti-text-soft);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.sti-filter-menu > summary::-webkit-details-marker { display: none; }
.sti-filter-menu > summary b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0,149,255,.1);
    color: #0069b4;
    font-size: 11px;
}
.sti-filter-menu > summary .sti-icon { width: 15px; height: 15px; flex-basis: 15px; transition: transform .18s ease; }
.sti-filter-menu--expanded > summary .sti-icon,
.sti-filter-menu[open]:not(.sti-filter-menu--animated) > summary .sti-icon { transform: rotate(180deg); }
.sti-filter-menu--expanded > summary,
.sti-filter-menu[open]:not(.sti-filter-menu--animated) > summary { border-color: rgba(0,149,255,.35); }

.sti-filter-menu__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 0;
    display: grid;
    gap: 4px;
    width: min(320px, calc(100vw - 48px));
    max-height: 320px;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--sti-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(12, 32, 54, .14);
}
.sti-filter-menu--animated > .sti-filter-menu__panel {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
    transform-origin: top left;
    pointer-events: none;
    transition: opacity .16s ease, transform .18s ease;
}
.sti-filter-menu--expanded > .sti-filter-menu__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.sti-filter-menu--closing > .sti-filter-menu__panel {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
    pointer-events: none;
}
.sti-filter-menu__panel .sti-check {
    width: 100%;
    min-height: 38px;
    padding: 8px 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
}
.sti-filter-menu__panel .sti-check:hover { background: var(--sti-surface-soft-2); }

.sti-catalog__statusbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, 860px);
    margin: -6px auto 0;
}
.sti-catalog__count { flex: 0 0 auto; margin: 7px 0 0; color: var(--sti-muted); font-size: 13px; line-height: 1.4; }
.sti-catalog__count strong { color: var(--sti-text); }
.sti-catalog__statusbar .sti-active-filters { justify-content: flex-end; margin: 0; }

@media (min-width: 768px) {
    .sti-catalog .sti-filter-toggle { display: none !important; }
}

@media (max-width: 900px) {
    .sti-catalog__filter-panel { flex-direction: column; }
    .sti-filter-actions { width: 100%; padding-top: 0; }
}

@media (max-width: 767px) {
    .sti-catalog.sti-has-js .sti-catalog__filters { display: grid; }
    .sti-catalog__filters { padding: 14px; border-radius: 18px; }
    .sti-catalog__topbar { grid-template-columns: minmax(0, 1fr) auto; }
    .sti-catalog__search { grid-column: 1 / -1; }
    .sti-catalog__search-submit { grid-column: 1; }
    .sti-catalog.sti-has-js .sti-filter-toggle { grid-column: 2; display: inline-flex; justify-self: stretch; }
    .sti-catalog__filter-panel {
        display: flex;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: max-height .28s ease, opacity .18s ease, transform .18s ease, visibility 0s linear .28s;
    }
    .sti-catalog__filters.is-open .sti-catalog__filter-panel {
        max-height: 1400px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: max-height .32s ease, opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
    }
    .sti-filter-dropdowns { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
    .sti-filter-menu { width: 100%; min-width: 0; }
    .sti-filter-menu__panel { position: static; width: 100%; max-height: 250px; margin-top: 7px; box-shadow: none; background: var(--sti-surface-soft-2); }
    .sti-filter-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .sti-filter-actions .sti-button { width: 100%; }
    .sti-catalog__statusbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .sti-catalog__statusbar .sti-active-filters { justify-content: flex-start; }
}

/* Detailed project page */
.sti-project-hero__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 16px;
}
.sti-project-hero__identity > div:last-child { display: grid; gap: 2px; min-width: 0; }
.sti-project-hero__identity strong { color: var(--sti-text); font-size: 14px; line-height: 1.3; }
.sti-project-hero__identity span { color: var(--sti-muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.sti-project-hero__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(0,149,255,.2);
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f5ff, #f6fbff);
    color: var(--sti-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
}
.sti-project-hero__cover {
    width: calc(100% + 56px);
    margin: 24px -28px -4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--sti-surface-soft-2);
}
.sti-project-hero__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sti-project-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.sti-project-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sti-project-fact {
    display: grid;
    gap: 5px;
    margin-top: 15px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--sti-surface-soft-2);
}
.sti-project-fact > span { color: var(--sti-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.sti-project-fact p { margin: 0; }
.sti-project-characteristics { margin-top: 18px; }
.sti-project-characteristics h3 { font-size: 16px; }

.sti-project-request-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(0,149,255,.22);
    border-radius: 24px;
    background: linear-gradient(145deg, #f3faff, #ffffff);
    box-shadow: 0 14px 40px rgba(0,149,255,.08);
}
.sti-project-request-panel__head { display: flex; align-items: center; gap: 12px; }
.sti-project-request-panel__head > .sti-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 10px;
    border-radius: 13px;
    background: rgba(0,149,255,.1);
    color: var(--sti-accent);
}
.sti-project-request-panel__head span { display: block; color: var(--sti-accent); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.sti-project-request-panel__head h2 { margin: 2px 0 0; color: var(--sti-text); font-size: 22px; line-height: 1.2; }
.sti-project-request-panel__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sti-project-request-panel > p { margin: 0; color: var(--sti-text); font-size: 15px; line-height: 1.6; }
.sti-project-request-panel > .sti-button { justify-self: start; }

.sti-project-team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sti-border);
}
.sti-project-team-card > div:last-child { min-width: 0; }
.sti-project-team-card strong { color: var(--sti-text); font-size: 15px; }
.sti-project-team-card p { margin: 3px 0 0; color: var(--sti-muted); font-size: 13px; }

.sti-evidence__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sti-related-posts { display: grid; gap: 8px; }
.sti-related-post {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid var(--sti-border);
    border-radius: 14px;
    background: var(--sti-surface-soft-2);
    text-decoration: none !important;
}
.sti-related-post .sti-icon { width: 16px; height: 16px; flex-basis: 16px; }
.sti-related-post span { min-width: 0; overflow-wrap: anywhere; }

.sti-project-sidebar__team {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
}
.sti-project-sidebar__team > div:last-child { display: grid; gap: 3px; min-width: 0; }
.sti-project-sidebar__team .sti-project-hero__avatar { width: 38px; height: 38px; flex-basis: 38px; font-size: 11px; }
.sti-project-contact > p { max-width: 760px; color: var(--sti-muted); }

@media (max-width: 1024px) {
    .sti-project-story-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .sti-single-project { --sti-project-header-offset: 112px; }
    .sti-project-hero__cover { width: calc(100% + 36px); margin: 20px -18px -2px; }
    .sti-project-request-panel { padding: 18px; border-radius: 20px; }
    .sti-project-request-panel > .sti-button { width: 100%; justify-self: stretch; }
}


/* Project author identity: reuses the existing Uzel News public profile. */
.sti-project-author-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--sti-border);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
}
.sti-project-author-card__identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--sti-text) !important;
    text-decoration: none !important;
}
.sti-project-author-card__avatar {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--sti-surface-soft);
    color: var(--sti-accent);
}
.sti-project-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sti-project-author-card__avatar .sti-icon { width: 22px; height: 22px; flex-basis: 22px; }
.sti-project-author-card__copy { display: grid; gap: 2px; min-width: 0; color: var(--sti-text) !important; }
.sti-project-author-card__copy small { color: var(--sti-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.sti-project-author-card__copy strong { color: var(--sti-text); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.sti-project-author-card__copy > span { color: var(--sti-muted); font-size: 12px; }
.sti-project-author-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sti-project-author-card__actions .sti-button { min-height: 40px; padding: 8px 13px; font-size: 12.5px; }
@media (max-width: 700px) {
    .sti-project-author-card { align-items: stretch; flex-direction: column; }
    .sti-project-author-card__actions { display: grid; grid-template-columns: minmax(0,1fr); }
    .sti-project-author-card__actions .sti-button { width: 100%; }
}

/* 0.6 social layer + global contrast hardening */
.sti-account-view,
.sti-role-statuses,
.sti-social-view {
    --sti-accent: #0095ff;
    --sti-accent-hover: #007bd3;
    --sti-text: #111827;
    --sti-text-soft: #526172;
    --sti-muted: #64748b;
    --sti-muted-light: #94a3b8;
    --sti-border: #e3edf7;
    --sti-border-strong: #d8e5f1;
    --sti-surface: #fff;
    --sti-surface-soft: #f1f7fd;
    --sti-surface-soft-2: #f6f9fc;
    --sti-success: #0f8a5f;
    --sti-danger: #b42362;
    --sti-warning: #8a6500;
}

/* Theme CSS must never recolor labels/icons inside plugin buttons independently. */
.sti-button,
.sti-button * {
    color: inherit !important;
}
.sti-button--primary[disabled],
.sti-button--primary[aria-disabled="true"] {
    border-color: #75bde8 !important;
    background: #75bde8 !important;
    color: #fff !important;
    opacity: 1 !important;
}
.sti-button--primary[disabled] *,
.sti-button--primary[aria-disabled="true"] * { color: #fff !important; }

/* Extra safe area for the real SciTechNews fixed header. */
.sti-single-project { --sti-project-header-offset: 196px; }

.sti-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: auto;
    border-radius: 999px;
    background: #e31b54;
    color: #fff !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.sti-social-view { display: grid; gap: 18px; min-width: 0; }
.sti-messenger {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    min-height: 580px;
    overflow: hidden;
    border: 1px solid var(--sti-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(12,32,54,.055);
}
.sti-messenger__list { border-right: 1px solid var(--sti-border); background: var(--sti-surface-soft-2); }
.sti-conversation-row {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 13px 14px;
    border-bottom: 1px solid var(--sti-border);
    color: var(--sti-text) !important;
    text-decoration: none !important;
}
.sti-conversation-row:hover,.sti-conversation-row.is-active { background: #fff; }
.sti-conversation-row__copy { display:grid; gap:3px; min-width:0; }
.sti-conversation-row__copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sti-conversation-row__copy span { overflow:hidden; color:var(--sti-muted); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.sti-social-avatar { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; overflow:hidden; border-radius:50%; background:var(--sti-surface-soft); color:var(--sti-accent); }
.sti-social-avatar img { width:100%; height:100%; object-fit:cover; }
.sti-messenger__thread { display:grid; grid-template-rows:auto minmax(260px,1fr) auto auto; min-width:0; }
.sti-thread-head { padding:14px 16px; border-bottom:1px solid var(--sti-border); }
.sti-thread-head__person { display:inline-flex; align-items:center; gap:10px; color:var(--sti-text)!important; text-decoration:none!important; }
.sti-thread-head__person > span:last-child { display:grid; gap:2px; }
.sti-thread-head__person small { color:var(--sti-muted); }
.sti-thread-messages { display:flex; flex-direction:column; gap:10px; min-height:0; max-height:560px; overflow:auto; padding:18px; background:#fbfdff; }
.sti-message { align-self:flex-start; max-width:min(78%,620px); padding:11px 13px; border:1px solid var(--sti-border); border-radius:16px 16px 16px 5px; background:#fff; }
.sti-message.is-mine { align-self:flex-end; border-color:rgba(0,149,255,.18); border-radius:16px 16px 5px 16px; background:#eef8ff; }
.sti-message p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.sti-message time { display:block; margin-top:5px; color:var(--sti-muted-light); font-size:11px; }
.sti-message__project,.sti-compose-project,.sti-request-project { display:inline-flex; align-items:center; gap:7px; max-width:100%; margin-bottom:8px; color:var(--sti-accent)!important; font-size:12px; font-weight:800; text-decoration:none!important; }
.sti-message__project .sti-icon,.sti-compose-project .sti-icon,.sti-request-project .sti-icon { width:15px; height:15px; flex-basis:15px; }
.sti-social-compose,.sti-social-form { display:grid; gap:11px; padding:16px; border-top:1px solid var(--sti-border); background:#fff; }
.sti-social-compose label,.sti-social-form label,.sti-report-form label { display:grid; gap:6px; color:#334155; font-size:13px; font-weight:800; }
.sti-social-compose :is(textarea,input,select),.sti-social-form :is(textarea,input,select),.sti-report-form :is(textarea,input,select) { width:100%; min-width:0; padding:11px 13px; border:1px solid var(--sti-border-strong); border-radius:14px; background:#fff; color:var(--sti-text); font:inherit; line-height:1.4; }
.sti-social-compose textarea,.sti-social-form textarea,.sti-report-form textarea { resize:vertical; }
.sti-thread-tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:12px 16px 16px; }
.sti-thread-tools details { position:relative; }
.sti-thread-tools summary { cursor:pointer; color:var(--sti-muted); font-size:12px; font-weight:800; }
.sti-report-form { display:grid; gap:10px; min-width:min(320px,80vw); margin-top:8px; padding:14px; border:1px solid var(--sti-border); border-radius:16px; background:#fff; box-shadow:0 12px 30px rgba(12,32,54,.1); }
.sti-social-empty { padding:18px; color:var(--sti-muted); }
.sti-social-empty--large { align-self:center; justify-self:center; text-align:center; }
.sti-social-empty h3 { margin:0 0 5px; color:var(--sti-text); }
.sti-social-empty p { margin:0; }
.sti-social-settings { display:grid; gap:12px; padding:16px 18px; border:1px solid var(--sti-border); border-radius:20px; background:#fff; }
.sti-inline-settings,.sti-blocked-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
.sti-blocked-list { display:grid; gap:8px; margin-top:10px; }

.sti-request-tabs { display:flex; gap:8px; padding:5px; border:1px solid var(--sti-border); border-radius:999px; background:var(--sti-surface-soft-2); width:max-content; max-width:100%; }
.sti-request-tabs a { padding:8px 14px; border-radius:999px; color:var(--sti-muted)!important; font-size:13px; font-weight:800; text-decoration:none!important; }
.sti-request-tabs a.is-active { background:#fff; color:var(--sti-accent)!important; box-shadow:0 3px 12px rgba(12,32,54,.07); }
.sti-request-create,.sti-request-card { padding:18px; border:1px solid var(--sti-border); border-radius:20px; background:#fff; box-shadow:0 10px 28px rgba(12,32,54,.045); }
.sti-request-create h3,.sti-request-card h3 { margin:0; color:var(--sti-text); }
.sti-request-list { display:grid; gap:12px; }
.sti-request-card header { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.sti-request-card header > div { display:grid; gap:7px; }
.sti-request-card time { color:var(--sti-muted-light); font-size:11px; white-space:nowrap; }
.sti-request-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
.sti-request-actions form { margin:0; }

.sti-analytics-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.sti-analytics-grid article { display:grid; gap:8px; min-width:0; padding:16px; border:1px solid var(--sti-border); border-radius:18px; background:#fff; }
.sti-analytics-grid span { color:var(--sti-muted); font-size:12px; line-height:1.35; }
.sti-analytics-grid strong { color:var(--sti-text); font-size:28px; line-height:1; }
.sti-analytics-projects { display:grid; gap:9px; }
.sti-analytics-projects article { display:flex; justify-content:space-between; gap:14px; padding:13px 15px; border:1px solid var(--sti-border); border-radius:16px; background:#fff; }
.sti-analytics-projects span { color:var(--sti-muted); font-size:12px; }

@media (max-width: 1024px) {
    .sti-analytics-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .sti-single-project { --sti-project-header-offset: 136px; }
    .sti-messenger { grid-template-columns:minmax(0,1fr); }
    .sti-messenger__list { max-height:260px; overflow:auto; border-right:0; border-bottom:1px solid var(--sti-border); }
    .sti-thread-messages { max-height:460px; }
    .sti-message { max-width:90%; }
    .sti-analytics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .sti-analytics-projects article { display:grid; }
    .sti-request-card header { display:grid; }
}
@media (max-width: 420px) {
    .sti-analytics-grid { grid-template-columns:minmax(0,1fr); }
    .sti-inline-settings,.sti-blocked-row { display:grid; grid-template-columns:minmax(0,1fr); }
    .sti-inline-settings .sti-button,.sti-blocked-row .sti-button { width:100%; }
}
