:root {
    --t20-bg: #f5f7fb;
    --t20-surface: #ffffff;
    --t20-surface-subtle: #f9fafb;
    --t20-text: #172033;
    --t20-text-soft: #475467;
    --t20-muted: #667085;
    --t20-border: #e4e7ec;
    --t20-border-strong: #d0d5dd;
    --t20-brand-deep: #0b1f3a;
    --t20-primary: #2563eb;
    --t20-primary-hover: #1d4ed8;
    --t20-primary-soft: #eef4ff;
    --t20-teal: #0e9384;
    --t20-teal-soft: #e7f8f5;
    --t20-amber: #d97706;
    --t20-amber-soft: #fff8ed;
    --t20-violet: #6941c6;
    --t20-violet-soft: #f4f0ff;
    --t20-success: #087a55;
    --t20-success-soft: #ecfdf3;
    --t20-warning: #b54708;
    --t20-warning-soft: #fff6e9;
    --t20-danger: #b42318;
    --t20-danger-soft: #fef3f2;
    --t20-radius: 12px;
    --t20-radius-sm: 8px;
    --t20-shadow-sm: 0 1px 2px rgb(16 24 40 / 5%);
    --t20-shadow-md:
        0 1px 2px rgb(16 24 40 / 5%),
        0 18px 48px rgb(37 99 235 / 10%);
    --t20-sidebar-width: 256px;
    --t20-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --t20-font-size: 14px;
    --t20-font-size-meta: 12px;
    --t20-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--t20-text);
    font: var(--t20-font-size)/1.6 var(--t20-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--t20-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--t20-primary-hover);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--t20-text);
    letter-spacing: -0.015em;
}

code {
    padding: 2px 5px;
    border: 1px solid var(--t20-border);
    border-radius: 5px;
    background: var(--t20-surface-subtle);
    color: #344054;
    font: 0.88em/1.5 var(--t20-mono);
}

:focus-visible {
    outline: 3px solid rgb(37 99 235 / 24%);
    outline-offset: 2px;
}

.t20-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.t20-skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    border-radius: var(--t20-radius-sm);
    background: var(--t20-text);
    color: #fff;
    transform: translateY(-160%);
}

.t20-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.t20-muted {
    color: var(--t20-muted);
}

.t20-code {
    font-family: var(--t20-mono);
    overflow-wrap: anywhere;
}

.t20-public-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 94% 8%, rgb(37 99 235 / 10%), transparent 28rem),
        radial-gradient(circle at 5% 78%, rgb(14 147 132 / 8%), transparent 25rem),
        var(--t20-bg);
}

.t20-public-nav {
    position: relative;
    z-index: 10;
    display: flex;
    width: min(1200px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--t20-border);
}

.t20-public-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: var(--t20-text);
    text-decoration: none;
}

.t20-public-brand:hover {
    color: var(--t20-text);
}

.t20-brand-symbol {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 10px;
    background: linear-gradient(145deg, var(--t20-brand-deep), var(--t20-primary));
    box-shadow: 0 7px 18px rgb(37 99 235 / 24%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.t20-brand-copy {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

.t20-brand-copy strong {
    font-size: 16px;
    font-weight: 720;
}

.t20-brand-copy small {
    margin-top: 3px;
    color: var(--t20-muted);
    font-size: 12px;
}

.t20-public-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t20-public-nav-links a {
    padding: 8px 11px;
    border-radius: var(--t20-radius-sm);
    color: var(--t20-text-soft);
    font-size: 14px;
    font-weight: 620;
    text-decoration: none;
}

.t20-public-nav-links a:hover {
    background: var(--t20-surface);
    color: var(--t20-text);
}

.t20-public {
    width: min(1200px, calc(100% - 48px));
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    padding: 52px 0 72px;
}

.t20-public-footer {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--t20-border);
    color: var(--t20-muted);
    font-size: 12px;
}

.t20-auth-layout {
    display: grid;
    min-height: 570px;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(48px, 8vw, 112px);
}

.t20-auth-intro {
    position: relative;
    overflow: hidden;
    max-width: 650px;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 8%, rgb(90 167 255 / 30%), transparent 17rem),
        linear-gradient(145deg, var(--t20-brand-deep) 4%, #153c78 58%, #314fc4 100%);
    box-shadow:
        0 2px 4px rgb(11 31 58 / 10%),
        0 30px 70px rgb(11 31 58 / 20%);
    color: #fff;
}

.t20-auth-intro h1 {
    max-width: 620px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.t20-auth-intro > p {
    max-width: 590px;
    margin-bottom: 30px;
    color: rgb(234 241 255 / 82%);
    font-size: 17px;
    line-height: 1.75;
}

.t20-feature-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
    list-style: none;
}

.t20-feature-list li {
    display: grid;
    padding: 18px 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.t20-feature-list .t20-icon {
    margin-top: 2px;
    color: #83caff;
}

.t20-feature-list strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 15px;
}

.t20-feature-list span {
    color: rgb(226 235 250 / 74%);
    font-size: var(--t20-font-size-meta);
}

.t20-auth-card,
.t20-panel {
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius);
    background: var(--t20-surface);
    box-shadow: var(--t20-shadow-sm);
}

.t20-auth-card {
    padding: 30px;
    border-color: #dfe7f5;
    box-shadow: var(--t20-shadow-md);
}

.t20-auth-card-head {
    margin-bottom: 24px;
}

.t20-auth-card-head .t20-icon-tile {
    margin-bottom: 18px;
}

.t20-auth-card h2 {
    margin-bottom: 7px;
    font-size: 25px;
    line-height: 1.3;
}

.t20-auth-card-head p {
    margin-bottom: 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-icon-tile {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d1e0ff;
    border-radius: 9px;
    background: var(--t20-primary-soft);
    color: var(--t20-primary);
}

.t20-panel {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 30px;
}

.t20-panel h1 {
    margin-bottom: 8px;
    font-size: 30px;
    line-height: 1.25;
}

.t20-panel h2 {
    margin-bottom: 12px;
    font-size: 19px;
}

.t20-service-landing {
    margin-top: 64px;
    padding-top: 30px;
    border-top: 1px solid var(--t20-border);
}

.t20-service-landing > h2 {
    margin-bottom: 20px;
    font-size: 18px;
}

.t20-service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.t20-service-list article {
    display: grid;
    padding: 18px;
    align-content: start;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius);
}

.t20-service-list .t20-icon {
    margin-top: 2px;
}

.t20-service-list article:nth-child(1) {
    border-color: #d8e5ff;
    background: var(--t20-primary-soft);
}

.t20-service-list article:nth-child(1) .t20-icon {
    color: var(--t20-primary);
}

.t20-service-list article:nth-child(2) {
    border-color: #ccece7;
    background: var(--t20-teal-soft);
}

.t20-service-list article:nth-child(2) .t20-icon {
    color: var(--t20-teal);
}

.t20-service-list article:nth-child(3) {
    border-color: #e3dafa;
    background: var(--t20-violet-soft);
}

.t20-service-list article:nth-child(3) .t20-icon {
    color: var(--t20-violet);
}

.t20-service-list h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.t20-service-list p {
    margin-bottom: 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    line-height: 1.65;
}

.t20-field {
    margin-bottom: 16px;
}

.t20-field label {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-size: var(--t20-font-size-meta);
    font-weight: 680;
}

.t20-field input,
.t20-field select,
.t20-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--t20-border-strong);
    border-radius: var(--t20-radius-sm);
    background: var(--t20-surface);
    box-shadow: 0 1px 2px rgb(16 24 40 / 3%);
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease;
}

.t20-field input:hover,
.t20-field select:hover,
.t20-field textarea:hover {
    border-color: #98a2b3;
}

.t20-field input:focus,
.t20-field select:focus,
.t20-field textarea:focus {
    border-color: var(--t20-primary);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 13%);
    outline: none;
}

.t20-field input[readonly] {
    background: var(--t20-surface-subtle);
    color: var(--t20-muted);
}

.t20-field small {
    display: block;
    margin-top: 5px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    line-height: 1.55;
}

.t20-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.t20-form-single .t20-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.t20-form-single {
    --t20-form-field-width: 50ch;
    --t20-form-label-width: 132px;
    --t20-form-column-gap: 18px;
    width: min(
        100%,
        calc(
            var(--t20-form-label-width)
            + var(--t20-form-column-gap)
            + var(--t20-form-field-width)
        )
    );
}

.t20-form-single.t20-profile-form {
    --t20-form-field-width: 40ch;
}

.t20-profile-form .t20-field + .t20-field {
    margin-top: 18px;
}

.t20-form-single .t20-field {
    display: grid;
    grid-template-columns:
        var(--t20-form-label-width)
        minmax(0, var(--t20-form-field-width));
    align-items: start;
    column-gap: var(--t20-form-column-gap);
    row-gap: 6px;
    margin-bottom: 0;
}

.t20-form-single .t20-field > label {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: flex-end;
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    text-align: right;
}

.t20-form-single .t20-field > :not(label) {
    grid-column: 2;
}

.t20-form-single .t20-field small {
    margin-top: 0;
}

.t20-sms-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.t20-sms-row input {
    min-width: 0;
    flex: 1;
}

.t20-sms-row .t20-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.t20-btn,
button.t20-btn {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 14px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--t20-border-strong);
    border-radius: var(--t20-radius-sm);
    background: var(--t20-surface);
    box-shadow: var(--t20-shadow-sm);
    color: #344054;
    font-size: 14px;
    font-weight: 680;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        color 140ms ease,
        transform 140ms ease;
}

.t20-btn:hover,
button.t20-btn:hover {
    border-color: #b7c8e6;
    background: var(--t20-primary-soft);
    color: #1849a9;
}

.t20-btn:active,
button.t20-btn:active {
    transform: translateY(1px);
}

.t20-btn.primary {
    border-color: var(--t20-primary);
    background: linear-gradient(135deg, #2f6fed, #1d4ed8);
    box-shadow: 0 5px 14px rgb(37 99 235 / 22%);
    color: #fff;
}

.t20-btn.primary:hover {
    border-color: var(--t20-primary-hover);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 7px 18px rgb(29 78 216 / 28%);
    color: #fff;
    transform: translateY(-1px);
}

.t20-btn.danger {
    border-color: #f4c7c3;
    background: var(--t20-danger-soft);
    color: var(--t20-danger);
}

.t20-btn:disabled,
button.t20-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.t20-actions {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.t20-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.t20-alert,
.t20-success {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: var(--t20-radius-sm);
    font-size: var(--t20-font-size);
    line-height: 1.65;
}

.t20-alert {
    border-color: #fecdca;
    background: var(--t20-danger-soft);
    color: #912018;
}

.t20-success {
    border-color: #abefc6;
    background: var(--t20-success-soft);
    color: #067647;
}

.t20-error {
    color: var(--t20-danger);
}

.t20-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius-sm);
}

.t20-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--t20-surface);
    font-size: var(--t20-font-size);
}

.t20-table th,
.t20-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--t20-border);
    text-align: left;
    vertical-align: middle;
}

.t20-table tr:last-child th,
.t20-table tr:last-child td {
    border-bottom: 0;
}

.t20-table th {
    background: var(--t20-surface-subtle);
    color: var(--t20-text-soft);
    font-weight: 650;
}

.t20-table thead th {
    border-bottom: 1px solid var(--t20-border-strong);
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    font-weight: 650;
}

.t20-table tbody tr {
    transition: background-color 120ms ease;
}

.t20-table tbody tr:hover {
    background: #f8fbff;
}

.t20-badge,
.t20-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 650;
    white-space: nowrap;
}

.t20-badge {
    padding: 3px 8px;
    border-color: #d1e0ff;
    background: var(--t20-primary-soft);
    color: #1849a9;
    font-size: var(--t20-font-size-meta);
}

.t20-status {
    padding: 5px 9px;
    font-size: var(--t20-font-size-meta);
}

.t20-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentcolor;
    content: "";
}

.t20-status-registered {
    border-color: #abefc6;
    background: var(--t20-success-soft);
    color: var(--t20-success);
}

.t20-status-sold,
.t20-status-unused {
    border-color: #fedf89;
    background: var(--t20-warning-soft);
    color: var(--t20-warning);
}

.t20-status-disabled {
    border-color: #fecdca;
    background: var(--t20-danger-soft);
    color: var(--t20-danger);
}

.t20-log-pill {
    display: inline-flex;
    padding: 3px 8px;
    align-items: center;
    border: 1px solid #d8e5ff;
    border-radius: 999px;
    background: var(--t20-primary-soft);
    color: #1849a9;
    font-size: var(--t20-font-size-meta);
    font-weight: 650;
    white-space: nowrap;
}

.t20-log-pill[data-log-type="LOGIN_SUCCESS"],
.t20-log-pill[data-log-type="LICENSE_ISSUE_ONLINE"],
.t20-log-pill[data-log-type="LICENSE_ISSUE_OFFLINE"],
.t20-log-pill[data-log-type="LICENSE_DOWNLOAD"] {
    border-color: #c4e9e3;
    background: var(--t20-teal-soft);
    color: #087c70;
}

.t20-log-pill[data-log-type="LOGIN_FAILED"] {
    border-color: #fecdca;
    background: var(--t20-danger-soft);
    color: var(--t20-danger);
}

.t20-log-pill[data-log-type="CUSTOMER_INFO_UPDATE"] {
    border-color: #f3d5a7;
    background: var(--t20-amber-soft);
    color: var(--t20-warning);
}

.t20-log-pill[data-log-type="PASSWORD_CHANGE"],
.t20-log-pill[data-log-type="PASSWORD_RESET"] {
    border-color: #e1d5fb;
    background: var(--t20-violet-soft);
    color: var(--t20-violet);
}

.t20-app-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 100% 0%, rgb(37 99 235 / 7%), transparent 32rem),
        radial-gradient(circle at 8% 90%, rgb(14 147 132 / 5%), transparent 28rem),
        var(--t20-bg);
    background-attachment: fixed;
}

.t20-app-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: var(--t20-sidebar-width) minmax(0, 1fr);
}

.t20-sidebar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    width: var(--t20-sidebar-width);
    height: 100vh;
    padding: 22px 16px 16px;
    flex-direction: column;
    border-right: 1px solid #e3e9f2;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 72%, #f8faff 100%);
    box-shadow: 1px 0 0 rgb(255 255 255 / 70%);
}

.t20-sidebar-head {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 6px;
}

.t20-sidebar .t20-brand-symbol {
    width: 36px;
    height: 36px;
}

.t20-sidebar .t20-brand-copy strong {
    font-size: 15px;
}

.t20-side-nav {
    display: grid;
    margin-top: 28px;
    gap: 4px;
}

.t20-side-link {
    position: relative;
    display: flex;
    min-height: 42px;
    padding: 9px 11px;
    align-items: center;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: var(--t20-radius-sm);
    color: var(--t20-text-soft);
    font-size: 14px;
    font-weight: 620;
    text-decoration: none;
    transition:
        background-color 120ms ease,
        color 120ms ease;
}

.t20-side-link .t20-icon {
    width: 19px;
    height: 19px;
    color: #7d899b;
}

.t20-side-link:hover {
    border-color: #edf1f7;
    background: #f7f9fc;
    color: #1d2939;
}

.t20-side-link.is-active {
    border-color: #d8e5ff;
    background: linear-gradient(90deg, #eaf2ff, #f8fbff);
    box-shadow: inset 3px 0 0 var(--t20-primary);
    color: #1849a9;
}

.t20-side-link.is-active .t20-icon {
    color: var(--t20-primary);
}

.t20-sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--t20-border);
}

.t20-side-logout {
    display: flex;
    width: 100%;
    min-height: 38px;
    margin-top: 0;
    padding: 8px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: var(--t20-radius-sm);
    background: transparent;
    color: var(--t20-muted);
    font-size: var(--t20-font-size);
    text-align: left;
    cursor: pointer;
}

.t20-side-logout:hover {
    background: var(--t20-danger-soft);
    color: var(--t20-danger);
}

.t20-side-logout .t20-icon {
    width: 18px;
    height: 18px;
}

.t20-icon-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius-sm);
    background: var(--t20-surface);
    color: var(--t20-text-soft);
    cursor: pointer;
}

.t20-icon-button:hover {
    background: var(--t20-surface-subtle);
    color: var(--t20-text);
}

.t20-sidebar-close,
.t20-nav-toggle,
.t20-nav-scrim {
    display: none;
}

.t20-app-main {
    min-width: 0;
}

.t20-topbar {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    min-height: 82px;
    padding: 16px clamp(22px, 3vw, 40px);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #e5eaf2;
    background: rgb(255 255 255 / 90%);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgb(255 255 255 / 76%);
}

.t20-topbar-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.t20-topbar-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.t20-topbar h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 720;
    line-height: 1.25;
}

.t20-content {
    padding: 34px clamp(22px, 3vw, 40px) 64px;
}

.t20-content-frame {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.t20-content-frame > h2 {
    margin: 30px 0 12px;
    font-size: 18px;
}

.t20-content-frame > h2:first-child {
    margin-top: 0;
}

.t20-content-frame > p {
    max-width: 820px;
}

.t20-content-frame > form {
    max-width: 920px;
    padding: 22px;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius);
    background: var(--t20-surface);
    box-shadow: var(--t20-shadow-sm);
}

.t20-content-frame > table {
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius-sm);
    overflow: hidden;
}

.t20-page-intro {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.t20-page-intro h2 {
    margin-bottom: 6px;
    font-size: 24px;
}

.t20-page-intro p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-page-intro .t20-actions {
    margin-top: 0;
    flex: 0 0 auto;
}

.t20-metric-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.t20-surface + .t20-metric-grid {
    margin-top: 20px;
}

.t20-metric {
    --metric-accent: var(--t20-primary);
    --metric-soft: var(--t20-primary-soft);
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 17px;
    border: 1px solid #e1e8f3;
    border-radius: var(--t20-radius);
    background: linear-gradient(180deg, #fff, #fcfdff);
    box-shadow:
        0 1px 2px rgb(16 24 40 / 4%),
        0 8px 22px rgb(16 24 40 / 4%);
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease;
}

.t20-metric::before {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--metric-accent);
    content: "";
}

.t20-metric:hover {
    border-color: #d2dfef;
    box-shadow:
        0 1px 2px rgb(16 24 40 / 5%),
        0 12px 28px rgb(16 24 40 / 7%);
    transform: translateY(-2px);
}

.t20-metric:nth-child(2) {
    --metric-accent: var(--t20-teal);
    --metric-soft: var(--t20-teal-soft);
}

.t20-metric:nth-child(3) {
    --metric-accent: var(--t20-amber);
    --metric-soft: var(--t20-amber-soft);
}

.t20-metric:nth-child(4) {
    --metric-accent: var(--t20-violet);
    --metric-soft: var(--t20-violet-soft);
}

.t20-metric-label {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    font-weight: 620;
}

.t20-metric-label .t20-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 8px;
    background: var(--metric-soft);
    color: var(--metric-accent);
}

.t20-metric-value {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    color: var(--t20-text);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t20-metric-note {
    display: block;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-surface {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius);
    background: var(--t20-surface);
    box-shadow: var(--t20-shadow-sm);
}

.t20-surface + .t20-surface {
    margin-top: 20px;
}

.t20-alert.is-last {
    margin-top: 16px;
    margin-bottom: 0;
}

.t20-section-head {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.t20-section-head h2 {
    margin: 0;
    font-size: 17px;
}

.t20-section-head p {
    margin: 3px 0 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-section-head a {
    flex: 0 0 auto;
    font-size: var(--t20-font-size);
    font-weight: 650;
    text-decoration: none;
}

.t20-detail-list {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.t20-detail-list > div {
    min-width: 0;
    padding: 13px 0;
    border-top: 1px solid var(--t20-border);
}

.t20-detail-list > div:nth-child(odd) {
    padding-right: 20px;
}

.t20-detail-list > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--t20-border);
}

.t20-detail-list.is-three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t20-detail-list.is-three-columns > div,
.t20-detail-list.is-three-columns > div:nth-child(odd),
.t20-detail-list.is-three-columns > div:nth-child(even) {
    padding: 14px 18px;
    border-left: 1px solid var(--t20-border);
}

.t20-detail-list.is-three-columns > div:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
}

.t20-detail-list.is-three-columns > div:nth-child(3n) {
    padding-right: 0;
}

.t20-detail-list dt {
    margin-bottom: 3px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-detail-list dd {
    overflow: hidden;
    margin: 0;
    font-size: var(--t20-font-size);
    font-weight: 630;
    text-overflow: ellipsis;
}

.t20-detail-list .t20-code {
    font-size: var(--t20-font-size);
    font-weight: 600;
}

.t20-detail-list.is-plain dd,
.t20-detail-list.is-plain .t20-code {
    font-weight: 400;
}

.t20-support-band {
    display: flex;
    width: 100%;
    margin-top: 20px;
    padding: 16px 20px;
    align-items: center;
    gap: 14px;
    border: 1px solid #f1dfbf;
    border-radius: var(--t20-radius);
    background: linear-gradient(105deg, #fff8ed, #fffdf9 72%);
    color: var(--t20-text);
    text-decoration: none;
    transition:
        border-color 140ms ease,
        background-color 140ms ease;
}

.t20-support-band:hover {
    border-color: #e7c88f;
    background: #fff6e7;
    color: var(--t20-text);
}

.t20-support-band .t20-icon-tile {
    border-color: #f1d6a7;
    background: #ffedcc;
    color: var(--t20-amber);
}

.t20-support-band strong {
    font-size: 15px;
}

.t20-support-band > .t20-icon:last-child {
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--t20-amber);
}

.t20-license-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    margin-bottom: 20px;
    padding: 22px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 28px;
    border: 1px solid #dce6f5;
    border-radius: var(--t20-radius);
    background: linear-gradient(110deg, #f4f8ff, #fff 48%, #f4fbf9);
    box-shadow:
        0 1px 2px rgb(16 24 40 / 4%),
        0 12px 30px rgb(37 99 235 / 6%);
}

.t20-license-banner::before {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(var(--t20-primary), var(--t20-teal));
    content: "";
}

.t20-license-banner-label {
    display: block;
    margin-bottom: 7px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    font-weight: 650;
    letter-spacing: 0.03em;
}

.t20-license-banner-code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.t20-license-banner-code strong {
    font: 650 18px/1.4 var(--t20-mono);
    overflow-wrap: anywhere;
}

.t20-license-banner-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.t20-license-banner-meta span {
    display: block;
    margin-bottom: 3px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-license-banner-meta strong {
    display: block;
    font-size: var(--t20-font-size);
}

.t20-issue-options {
    display: grid;
    margin-bottom: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.t20-version-stack {
    display: grid;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 16px;
}

.t20-help-steps {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: t20-help-step;
    gap: 24px;
    list-style: none;
}

.t20-help-steps > li {
    position: relative;
    display: grid;
    padding: 14px;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    border: 1px solid var(--t20-border);
    border-radius: var(--t20-radius-sm);
    background: linear-gradient(145deg, #fff, var(--t20-primary-soft));
}

.t20-help-steps > li::before {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #cbdcff;
    border-radius: 50%;
    background: #fff;
    color: var(--t20-primary);
    content: counter(t20-help-step);
    counter-increment: t20-help-step;
    font-size: 12px;
    font-weight: 720;
}

.t20-help-steps > li:not(:last-child)::after {
    position: absolute;
    top: 28px;
    left: calc(100% + 7px);
    width: 10px;
    height: 10px;
    border-top: 2px solid #b9c8e8;
    border-right: 2px solid #b9c8e8;
    content: "";
    transform: rotate(45deg);
}

.t20-help-steps strong,
.t20-help-steps span {
    display: block;
}

.t20-help-steps strong {
    margin-bottom: 3px;
    font-size: var(--t20-font-size);
}

.t20-help-steps span {
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    line-height: 1.7;
}

.t20-download-history summary {
    color: var(--t20-primary);
    cursor: pointer;
    font-size: var(--t20-font-size);
    font-weight: 650;
}

.t20-download-history ul {
    display: grid;
    margin: 8px 0 0;
    padding: 0;
    gap: 6px;
    list-style: none;
}

.t20-download-history li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-version-card {
    display: grid;
    gap: 18px;
}

.t20-version-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.t20-version-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.t20-version-head p {
    margin: 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-issue-option {
    --issue-accent: var(--t20-teal);
    --issue-soft: var(--t20-teal-soft);
    display: grid;
    min-height: 154px;
    padding: 21px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: start;
    gap: 15px;
    border: 1px solid #cee9e5;
    border-radius: var(--t20-radius);
    background: linear-gradient(145deg, #fff, var(--issue-soft));
    box-shadow: var(--t20-shadow-sm);
    color: var(--t20-text);
    text-decoration: none;
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease;
}

.t20-issue-option:hover {
    border-color: var(--issue-accent);
    box-shadow: 0 8px 24px rgb(16 24 40 / 8%);
    color: var(--t20-text);
    transform: translateY(-1px);
}

.t20-issue-option .t20-icon-tile {
    grid-row: span 2;
    border-color: #c4e9e3;
    background: rgb(255 255 255 / 70%);
    color: var(--issue-accent);
}

.t20-issue-option:nth-child(2) {
    --issue-accent: var(--t20-primary);
    --issue-soft: var(--t20-primary-soft);
    border-color: #d7e4fb;
}

.t20-issue-option:nth-child(2) .t20-icon-tile {
    border-color: #cadcff;
}

.t20-issue-option h3 {
    margin: 1px 0 5px;
    font-size: 16px;
}

.t20-issue-option p {
    margin: 0;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
    line-height: 1.65;
}

.t20-issue-option .t20-option-link {
    display: block;
    margin-top: 9px;
    color: var(--issue-accent);
    font-size: var(--t20-font-size);
    font-weight: 680;
}

.t20-table-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--t20-font-size);
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.t20-pagination {
    display: flex;
    margin-top: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--t20-muted);
    font-size: var(--t20-font-size-meta);
}

.t20-pagination-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t20-pagination .t20-btn {
    min-height: 34px;
    padding: 6px 11px;
    font-size: var(--t20-font-size-meta);
}

.t20-empty {
    padding: 30px 18px;
    color: var(--t20-muted);
    text-align: center;
}

@media (max-width: 1080px) {
    .t20-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .t20-help-steps span {
        display: none;
    }

    .t20-auth-layout {
        gap: 48px;
    }
}

@media (max-width: 960px) {
    .t20-app-shell {
        display: block;
    }

    .t20-sidebar {
        position: fixed;
        left: 0;
        visibility: hidden;
        transform: translateX(-104%);
        box-shadow: 20px 0 45px rgb(16 24 40 / 14%);
        transition:
            transform 180ms ease,
            visibility 0s linear 180ms;
    }

    .t20-app-shell.is-nav-open .t20-sidebar {
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .t20-sidebar-close,
    .t20-nav-toggle {
        display: inline-grid;
    }

    .t20-nav-scrim {
        position: fixed;
        z-index: 35;
        inset: 0;
        display: block;
        border: 0;
        background: rgb(16 24 40 / 40%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    .t20-app-shell.is-nav-open .t20-nav-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    .t20-topbar {
        min-height: 74px;
    }

    .t20-topbar h1 {
        font-size: 19px;
    }

    .t20-auth-layout {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .t20-auth-intro {
        max-width: 760px;
        padding: 32px;
    }

    .t20-auth-intro h1 {
        font-size: clamp(36px, 7vw, 52px);
    }

    .t20-service-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .t20-auth-card {
        width: min(520px, 100%);
    }
}

@media (max-width: 720px) {
    .t20-public-body {
        background:
            radial-gradient(circle at 100% 0%, rgb(37 99 235 / 8%), transparent 22rem),
            var(--t20-bg);
    }

    .t20-public-nav {
        width: min(100% - 32px, 1200px);
        min-height: 68px;
    }

    .t20-public-nav-links a:first-child {
        display: none;
    }

    .t20-help-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .t20-help-steps > li:not(:last-child)::after {
        top: auto;
        bottom: -9px;
        left: 27px;
        transform: rotate(135deg);
    }

    .t20-help-steps span {
        display: block;
    }

    .t20-public-nav-links a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .t20-brand-copy small {
        display: none;
    }

    .t20-public {
        width: min(100% - 32px, 1200px);
        padding: 34px 0 52px;
    }

    .t20-public-footer {
        width: min(100% - 32px, 1200px);
        min-height: 64px;
    }

    .t20-public-footer span:last-child {
        display: none;
    }

    .t20-auth-intro {
        padding: 26px 22px;
    }

    .t20-auth-intro h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .t20-auth-intro > p {
        font-size: 15px;
    }

    .t20-auth-card,
    .t20-panel {
        padding: 22px;
    }

    .t20-form-single {
        --t20-form-label-width: 108px;
        --t20-form-column-gap: 12px;
    }

    .t20-service-landing {
        margin-top: 48px;
    }

    .t20-topbar {
        gap: 10px;
        padding-inline: 16px;
    }

    .t20-content {
        padding: 24px 16px 48px;
    }

    .t20-page-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .t20-page-intro .t20-actions {
        width: 100%;
    }

    .t20-page-intro .t20-actions .t20-btn {
        flex: 1;
    }

    .t20-metric-grid,
    .t20-issue-options,
    .t20-license-banner {
        grid-template-columns: 1fr;
    }

    .t20-license-banner {
        gap: 20px;
    }

    .t20-detail-list {
        grid-template-columns: 1fr;
    }

    .t20-detail-list.is-three-columns {
        grid-template-columns: 1fr;
    }

    .t20-detail-list > div:nth-child(odd),
    .t20-detail-list > div:nth-child(even),
    .t20-detail-list.is-three-columns > div,
    .t20-detail-list.is-three-columns > div:nth-child(odd),
    .t20-detail-list.is-three-columns > div:nth-child(even) {
        padding: 13px 0;
        padding-right: 0;
        padding-left: 0;
        border-left: 0;
    }

    .t20-sms-row {
        align-items: stretch;
        flex-direction: column;
    }

    .t20-table-wrap {
        overflow: visible;
        border: 0;
    }

    .t20-table-wrap .t20-table,
    .t20-table-wrap .t20-table tbody,
    .t20-table-wrap .t20-table tr,
    .t20-table-wrap .t20-table td {
        display: block;
    }

    .t20-table-wrap .t20-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .t20-table-wrap .t20-table tr {
        margin-bottom: 10px;
        padding: 8px 12px;
        border: 1px solid var(--t20-border);
        border-radius: var(--t20-radius-sm);
        background: var(--t20-surface);
    }

    .t20-table-wrap .t20-table td {
        display: flex;
        min-height: 34px;
        padding: 7px 0;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        border-bottom: 1px solid var(--t20-border);
        text-align: right;
    }

    .t20-table-wrap .t20-table td:last-child {
        border-bottom: 0;
    }

    .t20-table-wrap .t20-table tbody th {
        display: block;
        padding: 8px 0 2px;
        border: 0;
        background: transparent;
        color: var(--t20-muted);
        font-size: var(--t20-font-size-meta);
        text-align: left;
    }

    .t20-table-wrap .t20-table td::before {
        flex: 0 0 auto;
        color: var(--t20-muted);
        content: attr(data-label);
        font-size: var(--t20-font-size-meta);
        font-weight: 650;
        text-align: left;
    }

    .t20-table-wrap .t20-table td[colspan] {
        display: block;
        text-align: center;
    }

    .t20-table-wrap .t20-table td[colspan]::before {
        display: none;
    }

    .t20-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .t20-content-frame > form {
        padding: 17px;
    }
}

@media (max-width: 480px) {
    .t20-public-brand .t20-brand-symbol {
        width: 36px;
        height: 36px;
    }

    .t20-public-nav-links {
        gap: 0;
    }

    .t20-public-nav-links a:nth-child(2) {
        display: none;
    }

    .t20-auth-card h2 {
        font-size: 22px;
    }

    .t20-form-single {
        --t20-form-label-width: 88px;
        --t20-form-column-gap: 10px;
    }

    .t20-form-single .t20-sms-row {
        flex-wrap: wrap;
    }

    .t20-form-single .t20-sms-row .t20-btn {
        flex: 1 0 100%;
    }

    .t20-metric-grid {
        grid-template-columns: 1fr;
    }

    .t20-topbar h1 {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .t20-issue-option {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
