:root {
    --navy-950: #071225;
    --navy-900: #0d1b35;
    --navy-850: #102242;
    --navy-800: #142a50;
    --navy-700: #1c3b6a;
    --blue-700: #145bd7;
    --blue-600: #1f6ff2;
    --blue-500: #2b7cff;
    --blue-100: #eaf2ff;
    --cyan-400: #55c8f9;
    --cyan-100: #e9faff;
    --slate-900: #17233a;
    --slate-800: #26344d;
    --slate-700: #43516a;
    --slate-600: #617089;
    --slate-500: #8290a5;
    --slate-400: #a5afbd;
    --slate-300: #cbd3df;
    --slate-200: #e1e7ef;
    --slate-150: #edf1f6;
    --slate-100: #f4f7fb;
    --slate-50: #fafbfd;
    --white: #ffffff;
    --green-700: #087a55;
    --green-600: #0a9969;
    --green-100: #e5f8f0;
    --amber-700: #9a5b00;
    --amber-100: #fff4d8;
    --red-700: #b42331;
    --red-100: #ffeaed;
    --purple-700: #6b41bd;
    --purple-100: #f1ebff;
    --shadow-xs: 0 1px 2px rgba(13, 27, 53, .05);
    --shadow-sm: 0 8px 24px rgba(13, 27, 53, .08);
    --shadow-md: 0 16px 44px rgba(13, 27, 53, .12);
    --shadow-lg: 0 28px 70px rgba(7, 18, 37, .18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --container: 1220px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--slate-50);
    color: var(--slate-900);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.home-page {
    background: var(--white);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--blue-600);
    text-decoration: none;
}

a:hover {
    color: var(--blue-700);
}

img,
svg {
    display: block;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--slate-900);
    font-weight: 760;
    letter-spacing: -.025em;
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    color: var(--slate-600);
}

.section-shell,
.nav-shell,
.footer-shell,
.footer-bottom {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.content-section {
    padding-block: 72px 84px;
}

.icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-xs {
    width: 15px;
    height: 15px;
}

.sr-only {
    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;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    left: 16px;
    top: -80px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: top var(--transition);
}

.skip-link:focus {
    top: 14px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--blue-600);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #87d9ff;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 680px;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.section-heading.centered {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered p {
    margin-inline: auto;
}

.heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-weight: 750;
    white-space: nowrap;
}

.text-link .icon {
    transition: transform var(--transition);
}

.text-link:hover .icon {
    transform: translateX(4px);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.button-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(31, 111, 242, .22);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    color: var(--white);
    box-shadow: 0 11px 24px rgba(31, 111, 242, .28);
}

.button-secondary {
    border-color: #bed3f5;
    background: var(--blue-100);
    color: var(--blue-700);
}

.button-secondary:hover {
    border-color: #94baf2;
    background: #dfeaff;
    color: var(--blue-700);
}

.button-light {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.button-light:hover {
    background: #f5fbff;
    color: var(--navy-900);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.button-outline-light:hover {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .14);
    color: var(--white);
}

.button-ghost {
    background: transparent;
    color: var(--slate-700);
}

.button-ghost:hover {
    background: var(--slate-100);
    color: var(--slate-900);
}

.button-danger {
    border-color: #efb8bf;
    background: var(--red-100);
    color: var(--red-700);
}

.button-danger:hover {
    background: #ffdde2;
    color: var(--red-700);
}

.button-sm {
    min-height: 40px;
    padding: 9px 15px;
    font-size: .9rem;
}

.button-lg {
    min-height: 52px;
    padding-inline: 24px;
}

.button-block {
    width: 100%;
}

.button.is-disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .45;
    pointer-events: none;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(224, 232, 243, .85);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.nav-shell {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy-900);
}

.brand:hover {
    color: var(--navy-900);
}

.brand-mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
    box-shadow: 0 8px 17px rgba(13, 27, 53, .2);
}

.brand-mark::after {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(85, 200, 249, .32);
    border-radius: 50%;
    content: "";
}

.brand-mark span,
.brand-mark i {
    position: absolute;
    z-index: 1;
    color: var(--white);
    font-size: 14px;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
}

.brand-mark span {
    left: 9px;
}

.brand-mark i {
    right: 8px;
    color: var(--cyan-400);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--navy-900);
    font-size: 1.03rem;
    font-weight: 850;
    letter-spacing: -.025em;
}

.brand-copy strong span {
    color: var(--blue-600);
}

.brand-copy small {
    margin-top: 5px;
    color: var(--slate-500);
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-nav > a:not(.button) {
    position: relative;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--slate-700);
    font-size: .92rem;
    font-weight: 700;
}

.site-nav > a:not(.button):hover,
.site-nav > a.active:not(.button) {
    background: var(--slate-100);
    color: var(--navy-900);
}

.site-nav > a.active:not(.button)::after {
    position: absolute;
    right: 12px;
    bottom: 3px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-600);
    content: "";
}

.site-nav .nav-admin {
    color: var(--purple-700) !important;
}

.nav-signin {
    margin-left: 6px;
}

.button-header {
    margin-left: 2px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.account-menu {
    position: relative;
    margin-left: 6px;
}

.account-menu summary {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 5px 9px 5px 5px;
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    color: var(--slate-800);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 720;
    list-style: none;
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

.account-menu[open] summary {
    border-color: #b9cff1;
    box-shadow: 0 0 0 3px var(--blue-100);
}

.account-avatar {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(145deg, var(--blue-600), var(--cyan-400));
    color: var(--white);
    font-size: .78rem;
    font-weight: 850;
}

.account-dropdown {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 235px;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.account-dropdown a,
.account-dropdown button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--slate-700);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 650;
    text-align: left;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background: var(--slate-100);
    color: var(--navy-900);
}

.account-dropdown form {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--slate-150);
}

/* Flash */
.flash-stack {
    position: fixed;
    z-index: 2000;
    top: 94px;
    right: 22px;
    display: grid;
    width: min(420px, calc(100% - 44px));
    gap: 10px;
}

.flash {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 11px;
    padding: 14px 15px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--slate-800);
    box-shadow: var(--shadow-md);
    font-size: .92rem;
}

.flash-success {
    border-color: #a8dfca;
}

.flash-warning {
    border-color: #efd197;
}

.flash-error {
    border-color: #efb7bd;
}

.flash-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.flash-success .flash-icon {
    background: var(--green-100);
    color: var(--green-700);
}

.flash-warning .flash-icon {
    background: var(--amber-100);
    color: var(--amber-700);
}

.flash-error .flash-icon {
    background: var(--red-100);
    color: var(--red-700);
}

.flash button {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--slate-500);
    cursor: pointer;
}

/* Home hero */
.support-hero {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(43, 124, 255, .35), transparent 35%),
        linear-gradient(135deg, var(--navy-950), var(--navy-850) 60%, #0d3761);
}

.support-hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-orb-one {
    top: -170px;
    right: -120px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(85, 200, 249, .16);
    box-shadow: inset 0 0 80px rgba(85, 200, 249, .05);
}

.hero-orb-two {
    right: 18%;
    bottom: -260px;
    width: 430px;
    height: 430px;
    background: rgba(31, 111, 242, .08);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 510px;
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 72px 105px;
    text-align: center;
}

.hero-inner h1 {
    max-width: 800px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(2.65rem, 5.4vw, 4.55rem);
}

.hero-inner > p {
    max-width: 720px;
    margin-bottom: 30px;
    color: #b9c9e2;
    font-size: 1.16rem;
}

.hero-search {
    display: grid;
    width: min(100%, 760px);
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 19px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .27);
    text-align: left;
}

.hero-search > .icon {
    color: var(--slate-400);
}

.hero-search input {
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    color: var(--slate-900);
    font-size: 1.03rem;
}

.hero-search input::placeholder {
    color: var(--slate-400);
}

.hero-search button,
.page-search button {
    min-width: 108px;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: var(--blue-600);
    color: var(--white);
    cursor: pointer;
    font-weight: 750;
}

.hero-search button:hover,
.page-search button:hover {
    background: var(--blue-700);
}

.hero-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 19px;
    color: #8fa4c4;
    font-size: .86rem;
}

.hero-popular span {
    font-weight: 750;
}

.hero-popular a {
    border-bottom: 1px dashed rgba(255, 255, 255, .3);
    color: #dce8f8;
}

.hero-popular a:hover {
    color: var(--white);
}

/* Entry cards */
.overlap-section {
    position: relative;
    z-index: 3;
    margin-top: -56px;
    padding-bottom: 88px;
}

.overlap-section .section-heading {
    padding-top: 105px;
}

.entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.entry-card {
    position: relative;
    display: grid;
    min-height: 380px;
    grid-template-columns: 76px 1fr;
    gap: 24px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.entry-card::after {
    position: absolute;
    right: -65px;
    bottom: -65px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--blue-100);
    content: "";
    opacity: .6;
}

.entry-support {
    border-color: #b8d1f7;
    background: linear-gradient(145deg, #fff, #f3f8ff);
}

.entry-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 18px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.entry-sales .entry-icon {
    background: var(--cyan-100);
    color: #087ea4;
}

.entry-icon .icon {
    width: 31px;
    height: 31px;
}

.entry-content {
    position: relative;
    z-index: 1;
}

.entry-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.entry-content h3 {
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.entry-content > p {
    min-height: 80px;
    margin-bottom: 19px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--slate-700);
    font-size: .93rem;
}

.check-list .icon {
    margin-top: 3px;
    color: var(--green-600);
}

/* Categories */
.kb-section {
    padding-bottom: 95px;
}

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

.category-card {
    display: flex;
    min-height: 365px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #bfd1eb;
    box-shadow: var(--shadow-sm);
}

.category-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.category-icon .icon {
    width: 25px;
    height: 25px;
}

.category-card:nth-child(3n+2) .category-icon {
    background: var(--cyan-100);
    color: #0785ac;
}

.category-card:nth-child(3n+3) .category-icon {
    background: var(--purple-100);
    color: var(--purple-700);
}

.article-count {
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-500);
    font-size: .73rem;
    font-weight: 700;
}

.category-card h3 {
    margin-bottom: 9px;
    font-size: 1.25rem;
}

.category-card h3 a {
    color: var(--slate-900);
}

.category-card > p {
    min-height: 70px;
    margin-bottom: 18px;
    font-size: .93rem;
}

.article-mini-list {
    display: grid;
    gap: 9px;
    margin: 0 0 20px;
    padding: 17px 0 0;
    border-top: 1px solid var(--slate-150);
    list-style: none;
}

.article-mini-list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--slate-700);
    font-size: .86rem;
    line-height: 1.35;
}

.article-mini-list a:hover {
    color: var(--blue-600);
}

.article-mini-list .icon {
    margin-top: 2px;
    color: var(--slate-400);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--blue-600);
    font-size: .88rem;
    font-weight: 750;
}

/* Featured */
.featured-section {
    padding-block: 85px;
    background: var(--slate-100);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.featured-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border: 1px solid var(--slate-200);
    border-radius: 13px;
    background: var(--white);
    color: var(--slate-900);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.featured-card:hover {
    transform: translateY(-2px);
    border-color: #bfd1eb;
    color: var(--slate-900);
    box-shadow: var(--shadow-sm);
}

.featured-number {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 12px;
    background: var(--navy-900);
    color: var(--cyan-400);
    font-size: .85rem;
    font-weight: 850;
}

.featured-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.featured-copy small {
    margin-bottom: 4px;
    color: var(--blue-600);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.featured-copy strong {
    margin-bottom: 3px;
    font-size: 1rem;
}

.featured-copy span {
    overflow: hidden;
    color: var(--slate-600);
    font-size: .84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-card > .icon {
    color: var(--slate-400);
}

/* Process */
.support-process {
    padding-block: 96px;
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-grid::before {
    position: absolute;
    z-index: -1;
    top: 50px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #bdd2f1 15%, #bdd2f1 85%, transparent);
    content: "";
}

.process-grid article {
    position: relative;
    padding: 22px 18px;
    text-align: center;
}

.process-step {
    position: absolute;
    top: 5px;
    right: 13px;
    color: var(--slate-200);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
}

.process-icon {
    position: relative;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    margin: 0 auto 20px;
    border: 8px solid var(--white);
    border-radius: 22px;
    background: var(--blue-100);
    color: var(--blue-600);
    box-shadow: 0 0 0 1px var(--slate-200), var(--shadow-sm);
}

.process-grid article:nth-child(even) .process-icon {
    background: var(--cyan-100);
    color: #0785ac;
}

.process-grid h3 {
    margin-bottom: 9px;
}

.process-grid p {
    margin-bottom: 0;
    font-size: .9rem;
}

.final-cta {
    background: linear-gradient(130deg, var(--navy-950), var(--navy-800));
}

.final-cta-inner {
    display: flex;
    min-height: 245px;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding-block: 46px;
}

.final-cta h2 {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--white);
}

.final-cta-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

/* Page heroes */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero::after,
.ticket-form-hero::after,
.admin-page-header::after,
.admin-header::after,
.dashboard-header::after,
.renew-hero::after,
.ticket-detail-header::after,
.admin-ticket-header::after {
    position: absolute;
    top: -170px;
    right: -90px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(85, 200, 249, .14);
    border-radius: 50%;
    content: "";
    box-shadow: inset 0 0 80px rgba(85, 200, 249, .04);
}

.page-hero .section-shell,
.ticket-form-hero .section-shell,
.admin-page-header .section-shell,
.admin-header .section-shell,
.dashboard-header .section-shell,
.renew-hero .section-shell,
.ticket-detail-header .section-shell,
.admin-ticket-header .section-shell {
    position: relative;
    z-index: 1;
}

.page-hero-compact .section-shell {
    padding-block: 34px 62px;
}

.page-hero-small .section-shell {
    padding-block: 28px 48px;
}

.page-hero-copy h1 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.page-hero-copy p {
    max-width: 700px;
    margin-bottom: 0;
    color: #b9c9e2;
    font-size: 1.05rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #95a9c7;
    font-size: .8rem;
}

.breadcrumbs a {
    color: #c3d2e7;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs > span:last-child {
    overflow: hidden;
    max-width: 480px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs-dark {
    color: #8fa4c4;
}

.page-search {
    display: grid;
    width: min(100%, 720px);
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 29px;
    padding: 7px 7px 7px 17px;
    border-radius: 13px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.page-search > .icon {
    color: var(--slate-400);
}

.page-search input {
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
}

.category-title-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.category-title-row h1 {
    margin-bottom: 9px;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.category-title-row p {
    max-width: 720px;
    margin-bottom: 0;
    color: #b9c9e2;
}

.category-icon-hero {
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 21px;
    background: rgba(255, 255, 255, .09);
    color: var(--cyan-400);
}

.category-icon-hero .icon {
    width: 36px;
    height: 36px;
}

/* KB index */
.category-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.kb-folder-card {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.kb-folder-card:hover {
    transform: translateY(-2px);
    border-color: #bfd1eb;
    box-shadow: var(--shadow-sm);
}

.kb-folder-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    padding: 25px 25px 19px;
}

.category-icon-large {
    width: 56px;
    height: 56px;
}

.kb-folder-top h2 {
    margin: 2px 0 7px;
    font-size: 1.32rem;
}

.kb-folder-top h2 a {
    color: var(--slate-900);
}

.kb-folder-top p {
    margin-bottom: 0;
    font-size: .9rem;
}

.kb-folder-articles {
    display: grid;
    margin: 0 25px;
    border-top: 1px solid var(--slate-150);
}

.kb-folder-articles a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-700);
    font-size: .88rem;
}

.kb-folder-articles a > span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.kb-folder-articles a > .icon {
    color: var(--slate-400);
}

.kb-folder-articles a:hover {
    color: var(--blue-600);
}

.folder-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    padding: 16px 25px;
    background: var(--slate-50);
    color: var(--blue-600);
    font-size: .84rem;
    font-weight: 750;
}

.inline-help {
    padding-bottom: 84px;
}

.inline-help-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 29px 32px;
    border: 1px solid #bfd2f0;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #f0f6ff, #f8fcff);
}

.inline-help-icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border-radius: 16px;
    background: var(--white);
    color: var(--blue-600);
    box-shadow: var(--shadow-sm);
}

.inline-help-card h2 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.inline-help-card p {
    margin-bottom: 0;
}

.inline-help-actions {
    display: flex;
    gap: 10px;
}

/* Category list */
.article-list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding-block: 65px 85px;
}

.article-list-main {
    min-width: 0;
}

.list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.list-heading h2 {
    margin-bottom: 3px;
    font-size: 1.55rem;
}

.list-heading p {
    margin-bottom: 0;
    font-size: .9rem;
}

.compact-search,
.sidebar-search {
    display: flex;
    min-width: 260px;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
}

.compact-search .icon,
.sidebar-search .icon {
    color: var(--slate-400);
}

.compact-search input,
.sidebar-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    font-size: .88rem;
}

.article-list {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.article-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 21px 22px;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-900);
    transition: background var(--transition);
}

.article-row:last-child {
    border-bottom: 0;
}

.article-row:hover {
    background: var(--slate-50);
    color: var(--slate-900);
}

.article-row-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.article-row-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.article-row-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 3px;
    font-weight: 760;
}

.article-row-title small {
    padding: 3px 6px;
    border-radius: 99px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-row-copy > span:nth-child(2) {
    overflow: hidden;
    color: var(--slate-600);
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-row-copy > small {
    margin-top: 5px;
    color: var(--slate-400);
    font-size: .72rem;
}

.article-row > .icon {
    color: var(--slate-400);
}

.article-list-aside,
.license-page-sidebar,
.ticket-form-sidebar,
.ticket-detail-sidebar,
.admin-ticket-sidebar,
.editor-sidebar,
.dashboard-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.aside-card,
.sidebar-info-card {
    padding: 25px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.aside-card h2,
.sidebar-info-card h2 {
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.aside-card p,
.sidebar-info-card p {
    margin-bottom: 19px;
    font-size: .9rem;
}

.aside-icon,
.sidebar-info-icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 12px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.aside-card-dark,
.sidebar-info-dark {
    border-color: transparent;
    background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
    box-shadow: var(--shadow-md);
}

.aside-card-dark h2,
.sidebar-info-dark h2 {
    color: var(--white);
}

.aside-card-dark p,
.sidebar-info-dark p {
    color: #b9c9e2;
}

.aside-card-dark .aside-icon,
.sidebar-info-dark .sidebar-info-icon {
    background: rgba(255, 255, 255, .1);
    color: var(--cyan-400);
}

/* Article */
.article-topbar {
    padding-block: 23px;
    background: var(--navy-900);
}

.article-topbar .breadcrumbs {
    margin-bottom: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 310px;
    justify-content: space-between;
    gap: 48px;
    padding-block: 62px 90px;
}

.article-main {
    min-width: 0;
}

.article-header {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--slate-200);
}

.article-category {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 5px 10px;
    border-radius: 99px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-header h1 {
    margin-bottom: 15px;
    font-size: clamp(2.1rem, 4vw, 3.45rem);
}

.article-summary {
    max-width: 760px;
    margin-bottom: 19px;
    color: var(--slate-600);
    font-size: 1.12rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    color: var(--slate-500);
    font-size: .82rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-body {
    padding-block: 37px 45px;
    color: var(--slate-700);
    font-size: 1rem;
    line-height: 1.78;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
    scroll-margin-top: 100px;
}

.article-body h2 {
    margin: 42px 0 15px;
    font-size: 1.65rem;
}

.article-body h3 {
    margin: 32px 0 12px;
    font-size: 1.3rem;
}

.article-body h4,
.article-body h5 {
    margin: 27px 0 10px;
    font-size: 1.08rem;
}

.article-body p {
    margin-bottom: 19px;
    color: var(--slate-700);
}

.article-body ul,
.article-body ol {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding-left: 25px;
}

.article-body li::marker {
    color: var(--blue-600);
    font-weight: 800;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 17px 20px;
    border-left: 4px solid var(--blue-500);
    border-radius: 0 10px 10px 0;
    background: var(--blue-100);
    color: var(--slate-800);
}

.article-body pre {
    overflow-x: auto;
    margin: 25px 0;
    padding: 20px;
    border-radius: 12px;
    background: var(--navy-950);
    color: #dbe8fb;
    font-size: .88rem;
    line-height: 1.65;
}

.article-body code {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--slate-100);
    color: var(--purple-700);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9em;
}

.article-body pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.article-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.article-feedback h2 {
    margin-bottom: 3px;
    font-size: 1.15rem;
}

.article-feedback p {
    margin-bottom: 0;
    font-size: .86rem;
}

.feedback-actions {
    display: flex;
    gap: 9px;
}

.feedback-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--slate-200);
    border-radius: 9px;
    background: var(--white);
    color: var(--slate-700);
    cursor: pointer;
    font-weight: 700;
}

.feedback-button:hover {
    border-color: #aec5e9;
    background: var(--blue-100);
    color: var(--blue-700);
}

.feedback-button small {
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-500);
    font-size: .66rem;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-search {
    min-width: 0;
    margin-bottom: 24px;
}

.sidebar-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--slate-200);
}

.sidebar-section h2 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.related-links {
    display: grid;
    margin-bottom: 14px;
}

.related-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-700);
    font-size: .85rem;
}

.related-links a:hover {
    color: var(--blue-600);
}

.sidebar-support-card {
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
}

.sidebar-support-card h2 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 1.15rem;
}

.sidebar-support-card p {
    margin-bottom: 15px;
    color: #b9c9e2;
    font-size: .86rem;
}

.sidebar-support-card .aside-icon {
    margin-bottom: 14px;
    background: rgba(255, 255, 255, .1);
    color: var(--cyan-400);
}

.sidebar-support-card > a {
    display: block;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    font-size: .84rem;
    font-weight: 700;
}

/* Search */
.search-results-section {
    min-height: 520px;
    padding-block: 65px 85px;
}

.search-results-header {
    margin-bottom: 24px;
}

.search-results-header h2 {
    font-size: 1.55rem;
}

.search-results-list {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.search-result {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-900);
}

.search-result:last-child {
    border-bottom: 0;
}

.search-result:hover {
    background: var(--slate-50);
    color: var(--slate-900);
}

.search-result-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.search-result-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.search-result-copy small {
    margin-bottom: 2px;
    color: var(--blue-600);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-result-copy strong {
    margin-bottom: 3px;
}

.search-result-copy span {
    color: var(--slate-600);
    font-size: .88rem;
}

.search-result-copy em {
    margin-top: 5px;
    color: var(--slate-400);
    font-size: .72rem;
    font-style: normal;
}

.search-result > .icon {
    color: var(--slate-400);
}

/* Empty states */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 25px;
    text-align: center;
}

.empty-state > span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 17px;
    background: var(--slate-100);
    color: var(--slate-500);
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    max-width: 520px;
    margin-bottom: 19px;
}

.large-empty {
    min-height: 380px;
}

.empty-actions {
    display: flex;
    gap: 10px;
}

/* Forms */
.form-stack {
    display: grid;
    gap: 20px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: grid;
    gap: 7px;
}

.form-group label,
.label-row label {
    color: var(--slate-800);
    font-size: .86rem;
    font-weight: 740;
}

.form-group label > span {
    color: var(--red-700);
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.label-row a {
    font-size: .82rem;
    font-weight: 700;
}

.optional-label {
    color: var(--slate-400);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea,
.admin-filter-bar input,
.admin-filter-bar select {
    width: 100%;
    border: 1px solid var(--slate-300);
    border-radius: 9px;
    background: var(--white);
    color: var(--slate-900);
    outline: 0;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input,
.form-group select,
.admin-filter-bar input,
.admin-filter-bar select {
    height: 47px;
    padding: 0 13px;
}

.form-group textarea {
    min-height: 120px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.55;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.admin-filter-bar input:focus,
.admin-filter-bar select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc8d98;
    background: #fffafb;
}

.field-error {
    display: block;
    color: var(--red-700);
    font-size: .78rem;
    font-weight: 650;
}

.field-help {
    color: var(--slate-500);
    font-size: .76rem;
}

.field-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.field-footer > span:last-child {
    color: var(--slate-400);
    font-size: .72rem;
    white-space: nowrap;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > .icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 13px;
    color: var(--slate-400);
    transform: translateY(-50%);
    pointer-events: none;
}

.input-with-icon > input {
    padding-left: 42px;
}

.input-with-action {
    display: grid;
    grid-template-columns: 1fr auto;
}

.input-with-action > input {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-right: 165px;
}

.input-with-action button {
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    height: 37px;
    margin-right: 5px;
    padding-inline: 15px;
    border: 0;
    border-radius: 7px;
    background: var(--blue-600);
    color: var(--white);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 750;
}

.form-legal {
    margin: -2px 0 0;
    color: var(--slate-500);
    font-size: .76rem;
    text-align: center;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.file-drop {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 18px;
    border: 1.5px dashed var(--slate-300);
    border-radius: 11px;
    background: var(--slate-50);
    color: var(--slate-600);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition), background var(--transition);
}

.file-drop:hover {
    border-color: var(--blue-500);
    background: var(--blue-100);
}

.file-drop > .icon {
    color: var(--blue-600);
}

.file-drop > span {
    display: flex;
    flex-direction: column;
}

.file-drop strong {
    color: var(--slate-800);
    font-size: .88rem;
}

.file-drop small {
    color: var(--slate-500);
    font-size: .72rem;
}

.file-drop input,
.compact-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.selected-files span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 7px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: .72rem;
}

.compact-file-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--slate-200);
    border-radius: 9px;
    background: var(--white);
    color: var(--slate-700);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
}

.checkbox-card {
    display: block;
    cursor: pointer;
}

.checkbox-card > input {
    position: absolute;
    opacity: 0;
}

.checkbox-card > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--white);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.checkbox-card > span > .icon {
    margin-top: 2px;
    color: var(--slate-400);
}

.checkbox-card > span > span {
    display: flex;
    flex-direction: column;
}

.checkbox-card strong {
    color: var(--slate-800);
    font-size: .84rem;
}

.checkbox-card small {
    color: var(--slate-500);
    font-size: .72rem;
    line-height: 1.4;
}

.checkbox-card > input:checked + span {
    border-color: #9ebff1;
    background: var(--blue-100);
    box-shadow: 0 0 0 2px rgba(31, 111, 242, .08);
}

.checkbox-card > input:checked + span > .icon {
    color: var(--blue-600);
}

/* Auth */
.auth-section {
    min-height: calc(100vh - 78px);
    padding: 48px 20px 70px;
    background:
        radial-gradient(circle at 80% 20%, rgba(31, 111, 242, .12), transparent 34%),
        var(--slate-100);
}

.auth-shell {
    display: grid;
    width: min(100%, 1040px);
    grid-template-columns: 1.02fr .98fr;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.auth-shell-wide {
    width: min(100%, 1120px);
    grid-template-columns: 1.14fr .86fr;
}

.auth-panel {
    position: relative;
    padding: 48px;
}

.auth-form-panel {
    background: var(--white);
}

.auth-back,
.simple-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 35px;
    color: var(--slate-500);
    font-size: .82rem;
    font-weight: 700;
}

.icon-back {
    transform: rotate(180deg);
}

.auth-heading {
    margin-bottom: 30px;
}

.auth-heading h1 {
    margin-bottom: 10px;
    font-size: 2.25rem;
}

.auth-heading p {
    margin-bottom: 0;
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--slate-600);
    font-size: .88rem;
    text-align: center;
}

.auth-switch a {
    font-weight: 750;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: var(--slate-400);
    font-size: .72rem;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--slate-200);
    content: "";
}

.auth-benefits-panel {
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
    color: var(--white);
}

.auth-benefits-orb {
    position: absolute;
    right: -110px;
    bottom: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(85, 200, 249, .17);
    border-radius: 50%;
}

.auth-security {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    color: #bfeaff;
    font-size: .72rem;
    font-weight: 750;
}

.auth-benefits-panel > h2 {
    position: relative;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 2rem;
}

.auth-benefits-panel > p {
    position: relative;
    color: #b9c9e2;
}

.auth-benefits-list {
    position: relative;
    display: grid;
    gap: 18px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
}

.auth-benefits-list li > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .09);
    color: var(--cyan-400);
}

.auth-benefits-list li > div,
.support-timeline-mini p {
    display: flex;
    flex-direction: column;
}

.auth-benefits-list strong,
.support-timeline-mini strong {
    color: var(--white);
    font-size: .91rem;
}

.auth-benefits-list small,
.support-timeline-mini small {
    color: #9fb1cc;
    font-size: .77rem;
    line-height: 1.45;
}

.support-timeline-mini {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.support-timeline-mini::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 17px;
    width: 1px;
    background: rgba(85, 200, 249, .25);
    content: "";
}

.support-timeline-mini > div {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 13px;
}

.support-timeline-mini > div > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(85, 200, 249, .38);
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--cyan-400);
    font-size: .75rem;
    font-weight: 850;
}

.support-timeline-mini p {
    margin: 0;
}

.simple-auth-section {
    display: grid;
    min-height: calc(100vh - 78px);
    place-items: center;
    padding: 60px 20px;
    background: var(--slate-100);
}

.simple-auth-card {
    width: min(100%, 500px);
    padding: 42px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.simple-auth-icon {
    display: grid;
    width: 65px;
    height: 65px;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.simple-auth-card h1 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.simple-auth-card > p {
    margin-bottom: 27px;
}

.simple-auth-card .form-stack {
    text-align: left;
}

.simple-auth-back {
    margin: 24px 0 0;
}

/* Generic panels */
.panel-card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 25px;
    border-bottom: 1px solid var(--slate-150);
}

.panel-heading h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.panel-heading .eyebrow {
    margin-bottom: 6px;
}

/* Dashboard */
.dashboard-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.dashboard-header-inner {
    display: flex;
    min-height: 245px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-block: 45px;
}

.dashboard-header h1 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 2.75rem;
}

.dashboard-header p {
    margin-bottom: 0;
    color: #b9c9e2;
}

.dashboard-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 25px;
    padding-block: 55px 85px;
}

.dashboard-primary {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 22px;
}

.license-status-card {
    position: relative;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.license-status-card::after {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--blue-100);
    content: "";
    opacity: .65;
}

.license-active {
    border-color: #a8dcc9;
    background: linear-gradient(145deg, #fff, #f4fcf9);
}

.license-active::after {
    background: var(--green-100);
}

.license-status-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
}

.license-status-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.license-active .license-status-icon {
    background: var(--green-100);
    color: var(--green-700);
}

.license-status-header h2 {
    margin: 7px 0 0;
    font-size: 1.35rem;
}

.status-badge,
.ticket-status,
.publish-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--slate-600);
    font-size: .73rem;
    font-weight: 750;
    white-space: nowrap;
}

.status-badge i,
.ticket-status i,
.publish-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--slate-400);
}

.status-active {
    color: var(--green-700);
}

.status-active i,
.status-open i,
.publish-status.published i {
    background: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

.status-expired,
.status-urgent,
.status-closed {
    color: var(--red-700);
}

.status-expired i,
.status-closed i {
    background: var(--red-700);
    box-shadow: 0 0 0 3px var(--red-100);
}

.status-in_progress,
.status-neutral {
    color: var(--blue-700);
}

.status-in_progress i {
    background: var(--blue-600);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.status-awaiting_customer {
    color: var(--amber-700);
}

.status-awaiting_customer i {
    background: #d88a0b;
    box-shadow: 0 0 0 3px var(--amber-100);
}

.status-resolved {
    color: var(--purple-700);
}

.status-resolved i {
    background: var(--purple-700);
    box-shadow: 0 0 0 3px var(--purple-100);
}

.license-data-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    background: var(--slate-200);
}

.license-data-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px;
    background: rgba(255, 255, 255, .82);
}

.license-data-grid span {
    margin-bottom: 3px;
    color: var(--slate-500);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.license-data-grid strong {
    overflow: hidden;
    color: var(--slate-800);
    font-size: .83rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.license-empty-copy {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-bottom: 0;
}

.inline-warning {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 17px;
    padding: 11px 13px;
    border: 1px solid #efd197;
    border-radius: 9px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-size: .8rem;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.dashboard-stat-grid article {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.stat-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.dashboard-stat-grid article:nth-child(2) .stat-icon {
    background: var(--amber-100);
    color: var(--amber-700);
}

.dashboard-stat-grid article:nth-child(3) .stat-icon {
    background: var(--green-100);
    color: var(--green-700);
}

.dashboard-stat-grid article > div {
    display: flex;
    flex-direction: column;
}

.dashboard-stat-grid strong {
    color: var(--slate-900);
    font-size: 1.55rem;
    line-height: 1;
}

.dashboard-stat-grid small {
    margin-top: 5px;
    color: var(--slate-500);
    font-size: .73rem;
}

.ticket-overview {
    overflow: hidden;
}

.ticket-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .83rem;
    text-align: left;
}

.ticket-table th {
    padding: 11px 16px;
    border-bottom: 1px solid var(--slate-200);
    background: var(--slate-50);
    color: var(--slate-500);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticket-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-600);
    vertical-align: middle;
}

.ticket-table tbody tr:last-child td {
    border-bottom: 0;
}

.ticket-table tbody tr:hover td {
    background: var(--slate-50);
}

.ticket-table td > a:not(.table-arrow) {
    display: flex;
    min-width: 210px;
    flex-direction: column;
}

.ticket-table td > a strong {
    color: var(--blue-600);
    font-size: .75rem;
}

.ticket-table td > a span {
    overflow: hidden;
    max-width: 360px;
    color: var(--slate-800);
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-arrow {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    color: var(--slate-400);
}

.table-arrow:hover {
    background: var(--blue-100);
    color: var(--blue-600);
}

.quick-actions,
.account-summary {
    padding: 22px;
}

.quick-actions h2,
.account-summary h2 {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.quick-actions > a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-800);
}

.quick-actions > a:last-child {
    border-bottom: 0;
}

.quick-actions > a > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.quick-actions > a > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.quick-actions strong {
    font-size: .83rem;
}

.quick-actions small {
    color: var(--slate-500);
    font-size: .7rem;
}

.quick-actions > a > .icon {
    color: var(--slate-400);
}

.account-person {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--slate-150);
}

.account-person > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--blue-600), var(--cyan-400));
    color: var(--white);
    font-weight: 850;
}

.account-person > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.account-person strong {
    font-size: .86rem;
}

.account-person small {
    overflow: hidden;
    color: var(--slate-500);
    font-size: .7rem;
    text-overflow: ellipsis;
}

.account-summary > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 0;
    font-size: .76rem;
}

/* License */
.account-page-hero .section-shell {
    padding-bottom: 45px;
}

.license-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 25px;
    padding-block: 55px 85px;
}

.license-page-main {
    display: grid;
    align-content: start;
    gap: 22px;
}

.license-actions-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px;
}

.license-actions-card h2 {
    margin-bottom: 7px;
    font-size: 1.3rem;
}

.license-actions-card p {
    max-width: 630px;
    margin-bottom: 0;
    font-size: .9rem;
}

.connect-license-card {
    padding-bottom: 25px;
}

.connect-license-card > p,
.license-connect-form {
    margin-inline: 25px;
}

.connect-license-card > p {
    margin-top: 21px;
    margin-bottom: 17px;
    font-size: .9rem;
}

/* Renew */
.renew-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950), #163867);
}

.renew-hero-inner {
    padding-block: 28px 68px;
    text-align: center;
}

.renew-hero .breadcrumbs {
    justify-content: flex-start;
    text-align: left;
}

.renew-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    color: var(--cyan-400);
}

.renew-icon .icon {
    width: 34px;
    height: 34px;
}

.renew-hero h1 {
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(2.25rem, 4.5vw, 3.65rem);
}

.renew-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #b9c9e2;
    font-size: 1.05rem;
}

.renew-current-status {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    color: #cbd8ea;
    font-size: .8rem;
}

.renew-current-status .status-badge {
    color: #9ff0d0;
}

.renew-options-section {
    padding-block: 65px 90px;
}

.large-warning {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin: 0 0 25px;
    padding: 16px 18px;
}

.large-warning > .icon {
    width: 28px;
    height: 28px;
}

.large-warning > div {
    display: flex;
    flex-direction: column;
}

.large-warning strong {
    color: var(--slate-900);
}

.large-warning span {
    color: var(--slate-600);
}

.renew-grid {
    display: grid;
    max-width: 930px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 auto;
}

.renew-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.renew-card-featured {
    border: 2px solid var(--blue-500);
    box-shadow: var(--shadow-md);
}

.recommended-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.renew-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.renew-duration {
    color: var(--blue-600);
    font-size: 3.35rem;
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
}

.renew-card-top > div {
    display: flex;
    flex-direction: column;
}

.renew-card-top strong {
    color: var(--slate-900);
    font-size: 1.15rem;
}

.renew-card-top small {
    color: var(--slate-500);
    font-size: .72rem;
}

.renew-card h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.renew-card > p {
    min-height: 72px;
    margin-bottom: 21px;
    font-size: .9rem;
}

.renew-price {
    display: flex;
    flex-direction: column;
    margin: 25px 0 17px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-150);
}

.renew-price strong {
    color: var(--slate-800);
}

.renew-price small {
    color: var(--slate-500);
    font-size: .72rem;
}

.renew-policy-note {
    display: grid;
    max-width: 930px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin: 25px auto 0;
    padding: 22px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--slate-100);
}

.renew-policy-note > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: var(--white);
    color: var(--blue-600);
}

.renew-policy-note h2 {
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.renew-policy-note p {
    margin-bottom: 0;
    font-size: .82rem;
}

/* Ticket forms */
.ticket-form-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.pre-sales-hero {
    background: linear-gradient(135deg, #071f34, #0d4a68);
}

.ticket-form-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: end;
    gap: 50px;
    padding-block: 27px 56px;
}

.ticket-form-hero h1 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
}

.ticket-form-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: #b9c9e2;
    font-size: 1.03rem;
}

.hero-assurance {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
}

.hero-assurance > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: var(--cyan-400);
}

.hero-assurance > div {
    display: flex;
    flex-direction: column;
}

.hero-assurance strong {
    color: var(--white);
    font-size: .86rem;
}

.hero-assurance small {
    color: #a8bad5;
    font-size: .72rem;
    line-height: 1.4;
}

.ticket-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding-block: 55px 90px;
}

.ticket-form-card {
    padding: 32px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-card-heading {
    margin-bottom: 29px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--slate-150);
}

.step-badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.form-card-heading h2 {
    margin-bottom: 8px;
    font-size: 1.65rem;
}

.form-card-heading p {
    margin-bottom: 0;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 5px;
}

.form-submit-end {
    justify-content: flex-end;
}

.privacy-assurance {
    display: flex;
    max-width: 390px;
    align-items: flex-start;
    gap: 8px;
    color: var(--slate-500);
    font-size: .76rem;
}

.privacy-assurance .icon {
    margin-top: 2px;
    color: var(--green-700);
}

.sidebar-info-card .check-list {
    margin-bottom: 0;
}

.sidebar-article-links {
    display: grid;
    padding: 5px 2px;
}

.sidebar-article-links h2 {
    margin-bottom: 8px;
    font-size: .98rem;
}

.sidebar-article-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-200);
    color: var(--slate-700);
    font-size: .82rem;
}

.sidebar-article-links a:hover {
    color: var(--blue-600);
}

.entitlement-submit-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 15px;
    border: 1px solid #afdccb;
    border-radius: 11px;
    background: var(--green-100);
}

.entitlement-submit-note > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: var(--white);
    color: var(--green-700);
}

.entitlement-submit-note > div {
    display: flex;
    flex-direction: column;
}

.entitlement-submit-note strong {
    color: var(--green-700);
    font-size: .85rem;
}

.entitlement-submit-note small {
    color: #3c715f;
    font-size: .73rem;
}

.mini-data-list,
.ticket-info-card dl,
.ticket-license-card dl,
.ticket-license-admin-card dl {
    display: grid;
    gap: 0;
    margin: 0 0 16px;
}

.mini-data-list > div,
.ticket-info-card dl > div,
.ticket-license-card dl > div,
.ticket-license-admin-card dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-150);
}

.mini-data-list dt,
.ticket-info-card dt,
.ticket-license-card dt,
.ticket-license-admin-card dt {
    color: var(--slate-500);
    font-size: .75rem;
}

.mini-data-list dd,
.ticket-info-card dd,
.ticket-license-card dd,
.ticket-license-admin-card dd {
    margin: 0;
    color: var(--slate-800);
    font-size: .76rem;
    font-weight: 700;
    text-align: right;
}

.support-gate-section {
    min-height: 530px;
    padding-block: 65px 90px;
}

.support-gate-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 46px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.support-gate-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 21px;
    background: var(--amber-100);
    color: var(--amber-700);
}

.support-gate-card h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.support-gate-card > p {
    max-width: 620px;
    margin: 0 auto 25px;
}

.support-gate-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-gate-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--slate-150);
    color: var(--slate-500);
    font-size: .8rem;
}

/* Ticket detail */
.ticket-detail-header,
.admin-ticket-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.guest-ticket-header {
    background: linear-gradient(135deg, #071f34, #0d4a68);
}

.ticket-detail-header-inner,
.admin-ticket-header-inner {
    display: flex;
    min-height: 230px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-block: 43px;
}

.ticket-type-label,
.queue-type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #9bdfff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ticket-detail-header h1,
.admin-ticket-header h1 {
    max-width: 820px;
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.ticket-heading-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #9fb1cc;
    font-size: .79rem;
}

.ticket-heading-meta strong {
    color: #dbe7f7;
}

.ticket-detail-header > .section-shell > .ticket-status,
.admin-ticket-header > .section-shell > .ticket-status {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.ticket-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    padding-block: 55px 90px;
}

.ticket-conversation,
.admin-conversation-column {
    min-width: 0;
}

.conversation-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.conversation-heading h2 {
    margin-bottom: 0;
    font-size: 1.45rem;
}

.conversation-heading > span {
    color: var(--slate-500);
    font-size: .77rem;
}

.ticket-thread {
    display: grid;
    gap: 20px;
}

.thread-message {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
}

.thread-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: var(--slate-200);
    color: var(--slate-700);
    font-size: .83rem;
    font-weight: 850;
}

.thread-agent .thread-avatar {
    background: linear-gradient(145deg, var(--blue-600), var(--cyan-400));
    color: var(--white);
}

.thread-internal .thread-avatar {
    background: var(--amber-100);
    color: var(--amber-700);
}

.thread-bubble {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    background: var(--white);
}

.thread-agent .thread-bubble {
    border-color: #bcd2f4;
    background: #fbfdff;
}

.thread-internal .thread-bubble {
    border-color: #edcf92;
    background: #fffaf0;
}

.thread-bubble header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--slate-150);
}

.thread-bubble header > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 10px;
}

.thread-bubble header strong {
    color: var(--slate-900);
    font-size: .85rem;
}

.thread-bubble header span {
    color: var(--slate-500);
    font-size: .7rem;
}

.thread-bubble header em {
    padding: 3px 6px;
    border-radius: 99px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-size: .62rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.thread-bubble header time {
    color: var(--slate-400);
    font-size: .7rem;
    white-space: nowrap;
}

.thread-body {
    padding: 20px 18px;
    color: var(--slate-700);
    font-size: .92rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.thread-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0 18px 18px;
}

.thread-attachments a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--slate-50);
    color: var(--slate-700);
}

.thread-attachments a > span {
    display: flex;
    flex-direction: column;
}

.thread-attachments strong {
    max-width: 230px;
    overflow: hidden;
    font-size: .73rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thread-attachments small {
    color: var(--slate-400);
    font-size: .62rem;
}

.reply-card {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.reply-card-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-bottom: 21px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--slate-150);
}

.reply-card-heading > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.reply-card-heading h2 {
    margin-bottom: 3px;
    font-size: 1.25rem;
}

.reply-card-heading p {
    margin-bottom: 0;
    font-size: .82rem;
}

.reply-attachment-row,
.agent-reply-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.reply-attachment-row .selected-files,
.agent-reply-options .selected-files {
    flex: 1;
}

.reply-attachment-row .button,
.agent-reply-options .button {
    margin-left: auto;
}

.ticket-info-card,
.ticket-license-card,
.secure-link-card,
.ticket-license-admin-card {
    padding: 22px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.ticket-info-card h2,
.ticket-license-card h2,
.secure-link-card h2,
.ticket-license-admin-card h2 {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.ticket-info-card dl {
    margin-bottom: 0;
}

.ticket-license-card,
.ticket-license-admin-card {
    background: linear-gradient(145deg, #f3f8ff, #fff);
}

.ticket-license-card > span,
.secure-link-card > span,
.ticket-license-admin-card > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.ticket-license-card > p,
.secure-link-card > p,
.ticket-license-admin-card > div > p {
    margin-bottom: 15px;
    font-size: .82rem;
}

.secure-link-card {
    border-color: #edcf92;
    background: var(--amber-100);
}

.secure-link-card > span {
    background: var(--white);
    color: var(--amber-700);
}

.secure-link-card p {
    margin-bottom: 0;
    color: #76501b;
}

.sidebar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 2px;
    color: var(--slate-500);
    font-size: .8rem;
    font-weight: 700;
}

.agent-view-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 13px 15px;
    border: 1px solid #bfd2f0;
    border-radius: 10px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .8rem;
}

.agent-view-notice a {
    font-weight: 800;
}

.priority-label {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: .68rem;
    font-weight: 750;
    white-space: nowrap;
}

.priority-urgent {
    background: var(--red-100);
    color: var(--red-700);
}

.priority-high {
    background: var(--amber-100);
    color: var(--amber-700);
}

.priority-low {
    background: var(--blue-100);
    color: var(--blue-700);
}

.tickets-page-section {
    min-height: 520px;
    padding-block: 55px 85px;
}

.ticket-list-panel,
.admin-table-panel {
    overflow: hidden;
}

.ticket-table-large {
    min-width: 980px;
}

.page-hero-action-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

/* Admin */
.admin-header,
.admin-page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #11172a, #222b48);
}

.admin-header-inner,
.admin-page-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admin-header-inner {
    min-height: 235px;
    padding-block: 40px;
}

.admin-page-header-inner {
    min-height: 220px;
    padding-block: 28px 42px;
}

.admin-header h1,
.admin-page-header h1 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: clamp(2.15rem, 4vw, 3.2rem);
}

.admin-header p,
.admin-page-header p {
    margin-bottom: 0;
    color: #aebbd0;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
}

.admin-content,
.admin-list-section {
    padding-block: 48px 85px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-grid article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 21px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.admin-stat-icon {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border-radius: 13px;
    background: var(--blue-100);
    color: var(--blue-600);
}

.admin-stat-grid article:nth-child(2) .admin-stat-icon,
.admin-stat-grid article:nth-child(6) .admin-stat-icon {
    background: var(--green-100);
    color: var(--green-700);
}

.admin-stat-grid article:nth-child(3) .admin-stat-icon {
    background: var(--cyan-100);
    color: #087ea4;
}

.admin-stat-grid article:nth-child(4) .admin-stat-icon,
.admin-stat-grid article:nth-child(5) .admin-stat-icon {
    background: var(--amber-100);
    color: var(--amber-700);
}

.admin-stat-grid article > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.admin-stat-grid small {
    color: var(--slate-500);
    font-size: .72rem;
    font-weight: 700;
}

.admin-stat-grid strong {
    grid-row: 1 / 3;
    grid-column: 2;
    color: var(--slate-900);
    font-size: 2rem;
    line-height: 1;
}

.admin-stat-grid em {
    color: var(--slate-400);
    font-size: .67rem;
    font-style: normal;
}

.admin-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 22px;
}

.admin-recent-panel {
    overflow: hidden;
}

.admin-ticket-list {
    display: grid;
}

.admin-ticket-list > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 13px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-800);
}

.admin-ticket-list > a:last-child {
    border-bottom: 0;
}

.admin-ticket-list > a:hover {
    background: var(--slate-50);
    color: var(--slate-800);
}

.admin-ticket-type,
.queue-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-ticket-type {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 10px;
    background: var(--cyan-100);
    color: #087ea4;
}

.admin-ticket-type.type-support {
    background: var(--blue-100);
    color: var(--blue-600);
}

.admin-ticket-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.admin-ticket-copy > span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.admin-ticket-copy strong {
    color: var(--blue-600);
    font-size: .69rem;
}

.admin-ticket-copy small {
    color: var(--slate-400);
    font-size: .65rem;
}

.admin-ticket-copy b {
    overflow: hidden;
    margin: 2px 0;
    font-size: .83rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-ticket-copy em {
    color: var(--slate-500);
    font-size: .68rem;
    font-style: normal;
}

.admin-ticket-list > a > .icon {
    color: var(--slate-400);
}

.admin-side-stack {
    display: grid;
    align-content: start;
    gap: 18px;
}

.admin-quick-panel {
    padding: 21px;
}

.admin-quick-panel h2 {
    margin-bottom: 11px;
    font-size: 1.05rem;
}

.admin-quick-panel > a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--slate-150);
    color: var(--slate-800);
}

.admin-quick-panel > a > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 9px;
    background: var(--slate-100);
    color: var(--blue-600);
}

.admin-quick-panel > a > div {
    display: flex;
    flex-direction: column;
}

.admin-quick-panel strong {
    font-size: .8rem;
}

.admin-quick-panel small {
    color: var(--slate-500);
    font-size: .67rem;
}

.admin-health-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    padding: 21px;
}

.admin-health-panel > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: var(--green-100);
    color: var(--green-700);
}

.admin-health-panel h2 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.admin-health-panel p {
    margin-bottom: 10px;
    font-size: .75rem;
}

.admin-health-panel code {
    padding: 4px 7px;
    border-radius: 6px;
    background: var(--slate-100);
    color: var(--purple-700);
    font-size: .72rem;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 175px 165px 150px auto auto;
    gap: 10px;
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.admin-search-field {
    position: relative;
}

.admin-search-field .icon {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--slate-400);
    transform: translateY(-50%);
}

.admin-search-field input {
    padding-left: 39px;
}

.admin-ticket-table {
    min-width: 1180px;
}

.queue-type {
    margin: 0;
    padding: 5px 8px;
    border-radius: 99px;
    background: var(--cyan-100);
    color: #087ea4;
    font-size: .65rem;
    white-space: nowrap;
}

.queue-type-support {
    background: var(--blue-100);
    color: var(--blue-700);
}

.queue-type-pre_sales {
    background: var(--cyan-100);
    color: #087ea4;
}

.table-customer {
    display: block;
    color: var(--slate-800);
    font-size: .78rem;
}

.ticket-table td > span:not(.ticket-status):not(.priority-label):not(.queue-type) {
    display: block;
    color: var(--slate-500);
    font-size: .68rem;
}

/* Admin ticket */
.admin-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 28px;
    padding-block: 50px 90px;
}

.agent-reply-card {
    border-color: #bdcff0;
}

.agent-reply-options .checkbox-card {
    width: 245px;
}

.ticket-control-card,
.admin-info-card,
.ticket-license-admin-card {
    padding: 22px;
}

.ticket-control-card h2,
.admin-info-card h2 {
    margin-bottom: 17px;
    font-size: 1.05rem;
}

.ticket-license-admin-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
}

.ticket-license-admin-card > span {
    margin: 0;
}

.ticket-license-admin-card > div h2 {
    margin-bottom: 2px;
}

.ticket-license-admin-card dl {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* Article admin */
.article-admin-table {
    min-width: 950px;
}

.publish-status.draft {
    color: var(--slate-500);
}

.featured-pill {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 99px;
    background: var(--purple-100);
    color: var(--purple-700);
    font-size: .66rem;
    font-weight: 750;
}

.article-editor-layout {
    padding-block: 46px 85px;
}

.article-editor-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 22px;
}

.editor-main-card {
    display: grid;
    gap: 22px;
    padding: 28px;
}

.editor-title-input {
    height: 58px !important;
    font-size: 1.35rem;
    font-weight: 720;
}

.slug-field {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--slate-300);
    border-radius: 9px;
    background: var(--white);
}

.slug-field:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.slug-field > span {
    display: flex;
    height: 47px;
    align-items: center;
    padding-inline: 13px;
    border-right: 1px solid var(--slate-200);
    background: var(--slate-100);
    color: var(--slate-500);
    font-size: .78rem;
}

.slug-field input {
    border: 0;
    box-shadow: none !important;
}

.markdown-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: var(--slate-100);
}

.markdown-toolbar span {
    padding: 4px 8px;
    border: 1px solid var(--slate-200);
    border-radius: 6px;
    background: var(--white);
    color: var(--slate-600);
    font-size: .7rem;
}

.editor-content {
    min-height: 620px !important;
    border-radius: 0 0 9px 9px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .86rem;
    line-height: 1.65 !important;
}

.editor-settings-card,
.markdown-help-card,
.danger-zone-card {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.editor-settings-card h2,
.markdown-help-card h2,
.danger-zone-card h2 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.editor-actions {
    display: grid;
    gap: 8px;
    padding-top: 5px;
}

.markdown-help-card {
    gap: 7px;
}

.markdown-help-card code {
    padding: 7px 8px;
    border-radius: 6px;
    background: var(--slate-100);
    color: var(--purple-700);
    font-size: .72rem;
}

.danger-zone-card {
    border-color: #efc0c6;
}

.danger-zone-card p {
    margin-bottom: 0;
    font-size: .78rem;
}

/* Error */
.error-page {
    display: flex;
    min-height: 600px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 70px;
    text-align: center;
}

.error-code {
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
    background-clip: text;
    color: transparent;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
}

.error-page h1 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.error-page p {
    margin-bottom: 23px;
}

.debug-box {
    width: min(100%, 900px);
    max-height: 300px;
    overflow: auto;
    margin: 0 0 24px;
    padding: 16px;
    border-radius: 10px;
    background: var(--navy-950);
    color: #dbe8fb;
    font-size: .72rem;
    text-align: left;
    white-space: pre-wrap;
}

.break-word {
    word-break: break-word;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--slate-200);
    background: var(--white);
}

.footer-shell {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 45px;
    padding-block: 58px 45px;
}

.brand-footer {
    margin-bottom: 17px;
}

.footer-brand > p {
    max-width: 390px;
    margin-bottom: 16px;
    font-size: .86rem;
}

.company-line {
    color: var(--slate-500);
    font-size: .76rem;
}

.company-line a {
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h2 {
    margin-bottom: 8px;
    font-size: .83rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.footer-column a {
    color: var(--slate-600);
    font-size: .82rem;
}

.footer-column a:hover {
    color: var(--blue-600);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 19px;
    border-top: 1px solid var(--slate-150);
    color: var(--slate-400);
    font-size: .7rem;
}

/* Responsive */
@media (max-width: 1120px) {
    .site-nav {
        gap: 3px;
    }

    .site-nav > a:not(.button) {
        padding-inline: 9px;
        font-size: .86rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-filter-bar {
        grid-template-columns: minmax(250px, 1fr) repeat(3, 150px);
    }

    .admin-filter-bar .button {
        grid-row: 2;
    }

    .license-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 78px);
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        overflow-y: auto;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--slate-200);
        background: var(--white);
        box-shadow: var(--shadow-md);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.button),
    .site-nav .button {
        width: 100%;
        justify-content: flex-start;
        padding: 12px;
    }

    .site-nav > a.active:not(.button)::after {
        display: none;
    }

    .nav-signin,
    .button-header,
    .account-menu {
        margin-left: 0;
    }

    .account-menu summary {
        justify-content: flex-start;
    }

    .account-dropdown {
        position: static;
        width: 100%;
        margin-top: 6px;
        border: 0;
        background: var(--slate-50);
        box-shadow: none;
    }

    .entry-grid,
    .featured-grid,
    .category-list-grid,
    .renew-grid {
        grid-template-columns: 1fr;
    }

    .article-list-layout,
    .article-layout,
    .dashboard-content,
    .license-page-layout,
    .ticket-form-layout,
    .ticket-detail-layout,
    .admin-main-grid,
    .admin-ticket-layout,
    .article-editor-form {
        grid-template-columns: 1fr;
    }

    .article-list-aside,
    .license-page-sidebar,
    .ticket-form-sidebar,
    .ticket-detail-sidebar,
    .admin-ticket-sidebar,
    .editor-sidebar,
    .dashboard-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .article-sidebar .sidebar-search {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .article-sidebar .sidebar-section {
        margin-bottom: 0;
        padding: 20px;
        border: 1px solid var(--slate-200);
        border-radius: var(--radius-md);
        background: var(--white);
    }

    .ticket-form-hero-inner {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .hero-assurance {
        max-width: 500px;
    }

    .footer-shell {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .auth-shell,
    .auth-shell-wide {
        max-width: 680px;
        grid-template-columns: 1fr;
    }

    .auth-benefits-panel {
        min-height: 500px;
    }

    .admin-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .admin-search-field {
        grid-column: 1 / -1;
    }

    .admin-filter-bar .button {
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .section-shell,
    .nav-shell,
    .footer-shell,
    .footer-bottom {
        width: min(calc(100% - 28px), var(--container));
    }

    .nav-shell {
        min-height: 70px;
    }

    .site-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: .95rem;
    }

    .brand-copy small {
        font-size: .6rem;
    }

    .support-hero,
    .hero-inner {
        min-height: 535px;
    }

    .hero-inner {
        padding-block: 65px 90px;
    }

    .hero-search,
    .page-search {
        grid-template-columns: auto 1fr;
        padding: 9px 14px;
    }

    .hero-search button,
    .page-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .overlap-section {
        margin-top: -35px;
    }

    .overlap-section .section-heading {
        padding-top: 82px;
    }

    .heading-row,
    .final-cta-inner,
    .dashboard-header-inner,
    .page-hero-action-row,
    .admin-header-inner,
    .admin-page-header-inner,
    .ticket-detail-header-inner,
    .admin-ticket-header-inner,
    .license-actions-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .entry-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .entry-content > p {
        min-height: 0;
    }

    .category-grid,
    .process-grid,
    .dashboard-stat-grid,
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-actions,
    .admin-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .final-cta-actions .button,
    .admin-header-actions .button {
        width: 100%;
    }

    .inline-help-card,
    .renew-policy-note,
    .large-warning {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .inline-help-icon,
    .renew-policy-note > span,
    .large-warning > .icon {
        margin-inline: auto;
    }

    .inline-help-actions {
        justify-content: center;
    }

    .category-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .compact-search {
        min-width: 0;
        width: 100%;
    }

    .article-row {
        grid-template-columns: auto 1fr;
    }

    .article-row > .icon {
        display: none;
    }

    .article-feedback {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-sidebar,
    .article-list-aside,
    .license-page-sidebar,
    .ticket-form-sidebar,
    .ticket-detail-sidebar,
    .admin-ticket-sidebar,
    .editor-sidebar,
    .dashboard-sidebar {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-section {
        padding: 22px 12px 45px;
    }

    .auth-panel {
        padding: 33px 25px;
    }

    .auth-benefits-panel {
        min-height: auto;
    }

    .simple-auth-card {
        padding: 32px 23px;
    }

    .license-data-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header-inner,
    .admin-header-inner,
    .admin-page-header-inner {
        min-height: 0;
        padding-block: 45px;
    }

    .dashboard-header .button,
    .page-hero-action-row .button {
        width: 100%;
    }

    .form-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit-row .button {
        width: 100%;
    }

    .ticket-form-card,
    .support-gate-card {
        padding: 25px 20px;
    }

    .reply-attachment-row,
    .agent-reply-options {
        align-items: stretch;
        flex-direction: column;
    }

    .reply-attachment-row .button,
    .agent-reply-options .button,
    .agent-reply-options .checkbox-card,
    .compact-file-button {
        width: 100%;
        margin-left: 0;
    }

    .thread-message {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
    }

    .thread-avatar {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .thread-bubble header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .admin-filter-bar {
        grid-template-columns: 1fr;
    }

    .admin-search-field {
        grid-column: auto;
    }

    .article-editor-layout {
        padding-top: 28px;
    }

    .editor-main-card {
        padding: 20px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .brand-copy small {
        display: none;
    }

    .hero-inner h1 {
        font-size: 2.5rem;
    }

    .entry-card,
    .category-card,
    .renew-card {
        padding: 22px;
    }

    .featured-card {
        grid-template-columns: 40px 1fr;
    }

    .featured-card > .icon {
        display: none;
    }

    .featured-number {
        width: 40px;
        height: 40px;
    }

    .article-row-icon,
    .search-result-icon {
        display: none;
    }

    .article-row,
    .search-result {
        grid-template-columns: 1fr auto;
    }

    .article-row-copy > span:nth-child(2) {
        white-space: normal;
    }

    .feedback-actions,
    .empty-actions,
    .support-gate-actions,
    .inline-help-actions {
        width: 100%;
        flex-direction: column;
    }

    .feedback-actions form,
    .feedback-button,
    .empty-actions .button,
    .support-gate-actions .button,
    .inline-help-actions .button {
        width: 100%;
    }

    .input-with-action {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .input-with-action > input {
        grid-column: 1;
        grid-row: 1;
        padding-right: 13px;
        padding-left: 42px;
    }

    .input-with-action button {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        height: 43px;
        margin: 0;
    }

    .renew-current-status {
        align-items: flex-start;
        border-radius: 13px;
        flex-direction: column;
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media print {
    .site-header,
    .site-footer,
    .article-sidebar,
    .article-feedback,
    .flash-stack {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .article-layout {
        display: block;
        padding: 0;
    }

    .article-topbar {
        display: none;
    }
}
