:root {
    color-scheme: light;
    --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, "Segoe UI", sans-serif;
    --mono: "Geist Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --bg: #f5f5f7;
    --bg-2: #eef3f9;
    --surface: #ffffff;
    --surface-2: #f9fafc;
    --surface-3: #eef3f8;
    --inverse: #071120;
    --inverse-2: #0b1728;
    --text: #1d1d1f;
    --muted: #515154;
    --soft: #86868b;
    --line: #d9e3ef;
    --line-strong: #c6d5e6;
    --primary: #0066cc;
    --primary-strong: #0071e3;
    --primary-soft: #ebf3ff;
    --success: #11a37f;
    --warning: #b47712;
    --danger: #c63d5f;
    --shadow: 0 22px 48px -34px rgba(45, 76, 117, .18);
    --shadow-soft: 0 12px 24px -20px rgba(45, 76, 117, .16);
    --radius-xs: 10px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --header: 68px;
    --sidebar: 276px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
}

.sh-shell[data-kind="admin"] {
    background:
        linear-gradient(180deg, rgba(0, 102, 204, .07), transparent 240px),
        #f5f5f7;
    color: #1d1d1f;
    font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

.sh-shell[data-kind="admin"] .sh-sidebar {
    border-right: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .88);
    color: #1d1d1f;
    backdrop-filter: blur(24px) saturate(1.25);
}

.sh-shell[data-kind="admin"] .sh-sidebar-head,
.sh-shell[data-kind="admin"] .sh-main-head {
    min-height: 56px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(24px) saturate(1.25);
}

.sh-shell[data-kind="admin"] .sh-sidebar .sh-brand-subtitle,
.sh-shell[data-kind="admin"] .sh-sidebar .sh-nav-section {
    color: #86868b;
}

.sh-shell[data-kind="admin"] .sh-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, .12);
    background: linear-gradient(180deg, #57a9ff, #0066cc);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 30px rgba(0, 102, 204, .14);
}

.sh-shell[data-kind="admin"] .sh-nav {
    padding: 20px 12px 14px;
    gap: 4px;
}

.sh-shell[data-kind="admin"] .sh-nav-section {
    margin: 18px 10px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.sh-shell[data-kind="admin"] .sh-nav button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    color: #515154;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: background .22s cubic-bezier(.16,1,.3,1), color .22s cubic-bezier(.16,1,.3,1), transform .22s cubic-bezier(.16,1,.3,1);
}

.sh-shell[data-kind="admin"] .sh-nav button:hover,
.sh-shell[data-kind="admin"] .sh-nav button.is-active {
    background: rgba(0, 102, 204, .09);
    color: #0066cc;
    box-shadow: none;
}

.sh-shell[data-kind="admin"] .sh-nav button:active {
    transform: scale(.985);
}

.sh-shell[data-kind="admin"] .sh-nav svg {
    width: 16px;
    height: 16px;
    color: #86868b;
}

.sh-shell[data-kind="admin"] .sh-nav button.is-active svg {
    color: #0066cc;
}

.sh-shell[data-kind="admin"] .sh-sidebar-foot {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.sh-shell[data-kind="admin"] .sh-sidebar-foot .sh-btn {
    min-height: 40px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #1d1d1f;
}

.sh-shell[data-kind="admin"] .sh-main-head {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 28px;
}

.sh-shell[data-kind="admin"] .sh-command {
    display: none;
}

.sh-shell[data-kind="admin"] .sh-page {
    width: min(100%, 1480px);
    padding: 28px 30px 56px;
}

.sh-shell[data-kind="admin"] .sh-page > * {
    animation: sh-admin-rise .38s cubic-bezier(.16,1,.3,1) both;
}

.sh-shell[data-kind="admin"] .sh-page > *:nth-child(2) { animation-delay: .03s; }
.sh-shell[data-kind="admin"] .sh-page > *:nth-child(3) { animation-delay: .06s; }

@keyframes sh-admin-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-mode="dark"] {
    color-scheme: dark;
    --bg: #0b0c0f;
    --bg-2: #10131a;
    --surface: #14171f;
    --surface-2: #191e27;
    --surface-3: #202734;
    --inverse: #f8fbff;
    --inverse-2: #e7eef8;
    --text: #f5f5f7;
    --muted: #c6c6cb;
    --soft: #8f8f96;
    --line: #263243;
    --line-strong: #34445c;
    --primary: #2997ff;
    --primary-strong: #57adff;
    --primary-soft: #13253e;
    --success: #2bd1a6;
    --warning: #e0b45b;
    --danger: #f07896;
    --shadow: 0 26px 72px -44px rgba(0, 0, 0, .72);
    --shadow-soft: 0 14px 34px -28px rgba(0, 0, 0, .62);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    letter-spacing: 0;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

body {
    min-width: 320px;
}

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

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

html[dir="rtl"] .sh-brand,
html[dir="rtl"] .sh-actions,
html[dir="rtl"] .sh-controls,
html[dir="rtl"] .sh-nav button,
html[dir="rtl"] .sh-top-actions {
    direction: rtl;
}

.sh-boot {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    gap: 18px;
    background: var(--bg);
}

.sh-boot-mark {
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #0b1220, var(--primary));
    box-shadow: var(--shadow);
}

.sh-boot-line {
    width: 176px;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.sh-boot-line:before {
    content: "";
    display: block;
    width: 46%;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    animation: sh-loading 1.05s cubic-bezier(.16, 1, .3, 1) infinite;
}

@keyframes sh-loading {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(245%); }
}

.sh-public {
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 10%, rgba(0, 111, 238, .16), transparent 30%),
        radial-gradient(circle at 84% 22%, rgba(42, 117, 218, .12), transparent 34%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
}

.sh-public:before,
.sh-shell:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(14, 43, 82, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 43, 82, .055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 64%);
}

[data-mode="dark"] .sh-public:before,
[data-mode="dark"] .sh-shell:before {
    background-image:
        linear-gradient(rgba(114, 169, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(114, 169, 255, .055) 1px, transparent 1px);
}

.sh-topbar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
}

[data-mode="dark"] .sh-topbar {
    background: rgba(6, 11, 18, .82);
}

.sh-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sh-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0b1220, var(--primary));
    box-shadow: 0 16px 34px -28px rgba(0, 111, 238, .9);
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    flex: 0 0 auto;
}

.sh-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-logo.has-image {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

[data-mode="dark"] .sh-logo.has-image {
    background: transparent;
}

.sh-brand-title {
    margin: 0;
    max-width: 270px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-brand-subtitle {
    margin: 3px 0 0;
    max-width: 340px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-top-actions,
.sh-controls,
.sh-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.sh-top-actions {
    justify-content: flex-end;
}

.sh-controls {
    flex-wrap: nowrap;
    min-width: 0;
}

.sh-lang-select {
    width: 158px;
    min-width: 136px;
}

.sh-btn,
.sh-icon-btn {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1), color .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-btn:hover,
.sh-icon-btn:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
    transform: translateY(-1px);
}

.sh-btn:active,
.sh-icon-btn:active,
.sh-nav button:active {
    transform: scale(.97);
}

.sh-btn.primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px -16px rgba(0, 102, 204, .45);
}

.sh-btn.primary:hover {
    border-color: var(--primary-strong);
    background: var(--primary-strong);
}

.sh-btn.ghost {
    background: transparent;
}

.sh-btn.danger {
    color: var(--danger);
}

.sh-icon-btn {
    width: 38px;
    border-radius: 999px;
    padding: 0;
    flex: 0 0 auto;
}

.sh-nav svg,
.sh-btn svg,
.sh-icon-btn svg,
.sh-command svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.sh-hero {
    width: min(100%, 1240px);
    min-height: calc(92dvh - var(--header));
    margin: 0 auto;
    padding: 92px 28px 54px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
    gap: 62px;
    align-items: center;
}

.sh-hero-copy {
    min-width: 0;
}

.sh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 14px 38px rgba(31, 87, 157, .08);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

[data-mode="dark"] .sh-eyebrow {
    background: rgba(13, 23, 36, .76);
}

.sh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(17, 163, 127, .14);
}

.sh-hero h1 {
    margin: 18px 0 0;
    max-width: 760px;
    font-size: 62px;
    line-height: 1.02;
    font-weight: 820;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.sh-hero p {
    margin: 22px 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.sh-hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sh-hero-metrics {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
}

.sh-hero-product {
    min-width: 0;
}

.sh-product-preview {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: calc(var(--radius) + 2px);
    background:
        linear-gradient(145deg, rgba(23, 52, 92, .98), rgba(5, 12, 23, .98));
    color: #f6faff;
    box-shadow: 0 44px 110px -58px rgba(0, 20, 52, .95);
    overflow: hidden;
}

.sh-preview-top {
    min-height: 54px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 12px;
}

.sh-preview-top div {
    display: flex;
    gap: 7px;
}

.sh-preview-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}

.sh-preview-top span:first-child {
    background: var(--primary);
}

.sh-preview-top strong {
    font-size: 13px;
    font-weight: 700;
}

.sh-preview-top em {
    font-style: normal;
    color: #9ee7d2;
    font-family: var(--mono);
    font-size: 12px;
}

.sh-preview-grid {
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
    gap: 14px;
}

.sh-preview-chart,
.sh-preview-routes {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
    overflow: hidden;
}

.sh-preview-chart header,
.sh-preview-routes header,
.sh-board-panel > header {
    min-height: 54px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sh-preview-chart header span,
.sh-preview-routes header span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.sh-preview-chart header b,
.sh-preview-routes header b {
    color: #fff;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
}

.sh-live-line {
    height: 188px;
    padding: 28px 16px 16px;
    display: flex;
    align-items: end;
    gap: 9px;
    overflow: hidden;
}

.sh-live-line span {
    flex: 1;
    min-width: 10px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #7db7ff, var(--primary));
    transform-origin: bottom;
    animation: sh-pulse 2.8s cubic-bezier(.16, 1, .3, 1) infinite;
    animation-delay: calc(var(--i) * .08s);
}

@keyframes sh-pulse {
    0%, 100% { transform: scaleY(.76); opacity: .72; }
    50% { transform: scaleY(1); opacity: 1; }
}

.sh-node-list {
    display: grid;
}

.sh-node-list div {
    min-height: 50px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
}

.sh-node-list div:last-child {
    border-bottom: 0;
}

.sh-node-list i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(43, 209, 166, .12);
}

.sh-preview-footer {
    min-height: 74px;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sh-preview-footer span {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.sh-preview-footer strong {
    display: block;
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 18px;
}

.sh-price-grid {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1.15fr .9fr .9fr 1fr;
    gap: 14px;
}

.sh-price {
    min-height: 226px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 249, 255, .86));
    box-shadow: var(--shadow-soft);
    display: grid;
    align-content: space-between;
    transition: transform .24s cubic-bezier(.16, 1, .3, 1), border-color .24s cubic-bezier(.16, 1, .3, 1), box-shadow .24s cubic-bezier(.16, 1, .3, 1);
}

[data-mode="dark"] .sh-price {
    background:
        linear-gradient(180deg, rgba(19, 32, 50, .92), rgba(10, 18, 30, .88));
}

.sh-price:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 111, 238, .38);
    box-shadow: 0 28px 66px -42px rgba(0, 57, 128, .62);
}

.sh-price span {
    color: var(--muted);
    font-size: 13px;
}

.sh-price strong {
    display: block;
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 36px;
    line-height: 1;
}

.sh-price .sh-btn {
    margin-top: 18px;
    width: fit-content;
}

.sh-commercial-section {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 66px 28px;
}

.sh-plans-band {
    padding-top: 28px;
}

.sh-section-title {
    max-width: 720px;
    margin-bottom: 24px;
}

.sh-section-title span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    background: var(--surface);
    font-size: 12px;
    font-weight: 720;
}

.sh-section-title h2 {
    margin: 14px 0 0;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 780;
}

.sh-section-title p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.sh-feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 16px;
}

.sh-feature-large,
.sh-feature-card,
.sh-step-card,
.sh-proof-band,
.sh-legal-page,
.sh-public-footer {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-soft);
}

[data-mode="dark"] .sh-feature-large,
[data-mode="dark"] .sh-feature-card,
[data-mode="dark"] .sh-step-card,
[data-mode="dark"] .sh-proof-band,
[data-mode="dark"] .sh-legal-page,
[data-mode="dark"] .sh-public-footer {
    background: rgba(13, 23, 36, .84);
}

.sh-proof-band {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 28px;
    padding: 28px;
}

.sh-proof-copy {
    min-width: 0;
}

.sh-proof-copy span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 780;
}

.sh-proof-copy h2 {
    margin: 14px 0 0;
    max-width: 560px;
    font-size: 34px;
    line-height: 1.12;
}

.sh-proof-copy p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.sh-proof-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 2px);
    background: var(--line);
}

.sh-proof-metrics div {
    min-height: 112px;
    padding: 20px;
    background: rgba(255, 255, 255, .62);
    display: grid;
    align-content: space-between;
}

[data-mode="dark"] .sh-proof-metrics div {
    background: rgba(9, 17, 29, .78);
}

.sh-proof-metrics span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
}

.sh-proof-metrics strong {
    font-size: 18px;
    line-height: 1.2;
}

.sh-feature-large {
    min-height: 360px;
    padding: 34px;
    display: grid;
    align-content: end;
    position: relative;
    overflow: hidden;
}

.sh-feature-large:before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: calc(var(--radius) - 4px);
    background:
        linear-gradient(135deg, rgba(0, 111, 238, .16), transparent 48%),
        repeating-linear-gradient(90deg, rgba(0, 111, 238, .08) 0 1px, transparent 1px 48px);
    opacity: .72;
}

.sh-feature-large > * {
    position: relative;
}

.sh-feature-large svg,
.sh-feature-card svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.sh-feature-large h2,
.sh-feature-card h3,
.sh-step-card h3 {
    margin: 18px 0 0;
    font-size: 24px;
    line-height: 1.16;
}

.sh-feature-large p,
.sh-feature-card p,
.sh-step-card p,
.sh-legal-page p,
.sh-public-footer p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.sh-feature-stack {
    display: grid;
    gap: 16px;
}

.sh-feature-card {
    min-height: 172px;
    padding: 24px;
}

.sh-step-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    gap: 14px;
}

.sh-step-card {
    min-height: 210px;
    padding: 24px;
}

.sh-step-card span {
    font-family: var(--mono);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.sh-public-footer {
    width: min(100% - 56px, 1184px);
    margin: 22px auto 34px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sh-public-footer strong {
    font-size: 16px;
}

.sh-public-footer nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sh-public-footer button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 680;
    cursor: pointer;
}

.sh-public-footer button:hover {
    color: var(--primary);
}

.sh-legal-page {
    width: min(100% - 56px, 980px);
    margin: 52px auto;
    padding: 34px;
}

.sh-legal-page > .sh-btn {
    margin-bottom: 20px;
}

.sh-legal-page h1 {
    margin: 18px 0 0;
    font-size: 42px;
    line-height: 1.08;
}

.sh-legal-list {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.sh-legal-list section {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.sh-legal-list h2 {
    margin: 0;
    font-size: 18px;
}

.sh-shell {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(0, 111, 238, .08), transparent 260px),
        var(--bg);
}

.sh-sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 30;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(180deg, #081426, #050a12);
    color: #f4f8ff;
}

.sh-sidebar .sh-brand-subtitle,
.sh-sidebar .sh-nav-section {
    color: rgba(255, 255, 255, .48);
}

.sh-sidebar-head {
    min-height: var(--header);
    padding: 0 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sh-nav {
    padding: 18px 12px;
    display: grid;
    gap: 5px;
    overflow: auto;
}

.sh-nav-section {
    margin: 16px 10px 8px;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 720;
}

.sh-nav button {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .66);
    background: transparent;
    text-align: left;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1), color .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-nav button:hover,
.sh-nav button.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .1);
}

.sh-nav button.is-active {
    box-shadow: inset 3px 0 0 var(--primary);
}

html[dir="rtl"] .sh-nav button.is-active {
    box-shadow: inset -3px 0 0 var(--primary);
}

.sh-sidebar-foot {
    margin-top: auto;
    padding: 14px 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    gap: 8px;
}

.sh-sidebar-foot .sh-btn {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

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

.sh-main-head {
    min-height: var(--header);
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) auto;
    align-items: center;
    gap: 16px;
}

[data-mode="dark"] .sh-main-head {
    background: rgba(6, 11, 18, .82);
}

.sh-command {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.sh-command strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.sh-command small {
    min-width: 0;
    color: var(--soft);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-page {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 32px;
}

.sh-toolbar {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sh-page-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.34px;
}

.sh-page-desc {
    margin: 8px 0 0;
    max-width: 72ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.sh-grid {
    display: grid;
    gap: 16px;
}

.sh-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sh-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sh-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sh-dashboard-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 16px;
    align-items: stretch;
}

.sh-panel-main {
    grid-row: span 2;
    display: grid;
    align-content: space-between;
    gap: 18px;
}

.sh-panel-copy {
    display: grid;
    gap: 14px;
}

.sh-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 48px -42px rgba(29, 29, 31, .16);
    overflow: hidden;
}

[data-mode="dark"] .sh-card {
    background: rgba(13, 23, 36, .9);
}

.sh-card.pad {
    padding: var(--space-6);
}

.sh-card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.24px;
}

.sh-card-desc {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.sh-stat {
    min-height: 134px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(249,250,252,.96));
}

.sh-stat:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--primary);
}

html[dir="rtl"] .sh-stat:before {
    inset: 0 0 0 auto;
}

.sh-stat-label,
.sh-mini-stat span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.sh-stat-value {
    font-family: var(--mono);
    font-size: 28px;
    line-height: 1;
    font-weight: 680;
    overflow-wrap: anywhere;
}

.sh-stat-foot,
.sh-mini-stat small {
    color: var(--soft);
    font-size: 12px;
    line-height: 1.35;
    min-height: 16px;
}

.sh-mini-stat {
    min-width: 0;
    min-height: 80px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    display: grid;
    align-content: space-between;
    gap: 8px;
}

.sh-mini-stat strong {
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 680;
    overflow-wrap: anywhere;
}

.sh-progress {
    height: 10px;
    border-radius: 999px;
    background: var(--surface-3);
    overflow: hidden;
}

.sh-progress span {
    display: block;
    width: var(--value);
    max-width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.sh-form {
    display: grid;
    gap: var(--space-4);
}

.sh-field {
    min-width: 0;
    display: grid;
    gap: var(--space-2);
}

.sh-field label {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.sh-input,
.sh-select,
.sh-textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--surface-2);
    padding: 0 16px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sh-textarea {
    min-height: 104px;
    padding: 12px 16px;
    resize: vertical;
}

.sh-input:focus,
.sh-select:focus,
.sh-textarea:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(0, 111, 238, .14);
}

.sh-input:hover,
.sh-select:hover,
.sh-textarea:hover {
    border-color: var(--line-strong);
    background: rgba(255,255,255,.96);
}

.sh-client-admin {
    gap: 12px;
}

.sh-client-admin-row {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.7fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-2);
}

.sh-client-admin-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sh-client-admin-title svg {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--primary);
    background: var(--surface);
}

.sh-client-admin-title strong,
.sh-client-admin-title small {
    display: block;
    min-width: 0;
}

.sh-client-admin-title strong {
    color: var(--text);
    font-size: 14px;
}

.sh-client-admin-title small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-client-admin-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sh-client-admin-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(110px, .38fr) minmax(170px, .55fr) auto;
    gap: 10px;
    align-items: end;
}

.sh-file-field input[type="file"] {
    padding-top: 9px;
}

.sh-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.sh-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.sh-table th,
.sh-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.45;
}

html[dir="rtl"] .sh-table th,
html[dir="rtl"] .sh-table td {
    text-align: right;
}

.sh-table th {
    color: var(--muted);
    background: rgba(245, 245, 247, .82);
    font-size: 12px;
    font-weight: 600;
    position: sticky;
    top: 0;
}

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

.sh-table tr:hover td {
    background: rgba(245, 245, 247, .88);
}

.sh-table code,
.sh-code {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--primary);
    overflow-wrap: anywhere;
}

.sh-badge {
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    background: var(--surface-2);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.sh-badge.ok {
    color: var(--success);
    border-color: rgba(17, 163, 127, .28);
    background: rgba(17, 163, 127, .1);
}

.sh-badge.warn {
    color: var(--warning);
    border-color: rgba(180, 119, 18, .3);
    background: rgba(180, 119, 18, .1);
}

.sh-badge.danger {
    color: var(--danger);
    border-color: rgba(198, 61, 95, .3);
    background: rgba(198, 61, 95, .1);
}

.sh-alert {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 14px;
    background: var(--surface-2);
    color: var(--text);
    line-height: 1.55;
}

.sh-alert.danger {
    border-color: rgba(198, 61, 95, .34);
    background: rgba(198, 61, 95, .09);
}

.sh-invite-rule {
    padding: 16px;
    border-radius: var(--radius-lg);
    border-color: rgba(255, 255, 255, .14);
    background: #f5f5f7;
    color: #1d1d1f;
    box-shadow: 0 18px 44px -34px rgba(245, 245, 247, .48);
}

.sh-invite-rule strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.sh-invite-rule .sh-card-desc {
    margin: 7px 0 0;
    color: #515154 !important;
}

[data-mode="light"] .sh-invite-rule {
    border-color: rgba(29, 29, 31, .14);
    background: #1d1d1f;
    color: #f5f5f7;
    box-shadow: 0 20px 46px -34px rgba(29, 29, 31, .42);
}

[data-mode="light"] .sh-invite-rule .sh-card-desc {
    color: rgba(245, 245, 247, .78) !important;
}

.sh-log-policy {
    border-radius: var(--radius-lg);
    background: rgba(0, 102, 204, .08);
    border-color: rgba(0, 102, 204, .18);
}

.sh-log-summary {
    margin-bottom: 16px;
}

.sh-log-summary .sh-stat-value {
    font-size: 20px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sh-log-board {
    margin-bottom: 16px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow-soft);
}

[data-mode="dark"] .sh-log-board {
    background: rgba(13, 23, 36, .9);
}

.sh-log-board > .sh-card-heading {
    padding: 12px 12px 8px;
}

.sh-log-filter {
    margin: 4px 0 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(170px, .38fr) auto;
    gap: 12px;
    align-items: end;
}

.sh-log-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.sh-subscribe-log-list {
    display: grid;
    gap: 8px;
}

.sh-subscribe-log-item {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(198, 213, 230, .78);
    border-radius: var(--radius);
    background: rgba(255,255,255,.78);
    display: grid;
    grid-template-columns: minmax(180px, 1.15fr) minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(150px, .75fr) auto;
    gap: 14px;
    align-items: center;
    transition: background .22s cubic-bezier(.16,1,.3,1), border-color .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1);
}

.sh-subscribe-log-item:hover {
    border-color: rgba(0, 102, 204, .2);
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 28px -24px rgba(45, 76, 117, .2);
}

.sh-log-primary,
.sh-log-location,
.sh-log-client {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.sh-log-primary strong,
.sh-log-location strong,
.sh-log-client strong {
    min-width: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sh-log-primary small,
.sh-log-location small,
.sh-log-client small,
.sh-log-location span,
.sh-log-client span {
    color: var(--soft);
    font-size: 12px;
    line-height: 1.35;
}

.sh-log-id {
    width: max-content;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(0, 102, 204, .08);
    color: var(--primary);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.sh-log-metrics {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sh-log-metrics span {
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(198, 213, 230, .72);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--soft);
    font-size: 11px;
    line-height: 1.25;
    display: grid;
    align-content: center;
    gap: 3px;
}

.sh-log-metrics b {
    color: var(--text);
    font-family: var(--mono);
    font-size: 17px;
    line-height: 1;
}

.sh-log-result {
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.sh-empty {
    min-height: 170px;
    padding: 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--muted);
    text-align: center;
    display: grid;
    place-items: center;
}

.sh-loader {
    display: grid;
    gap: 12px;
}

.sh-skeleton {
    min-height: 76px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
    background-size: 240% 100%;
    animation: sh-shimmer 1.2s cubic-bezier(.16, 1, .3, 1) infinite;
}

@keyframes sh-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.sh-auth-page {
    min-height: calc(100dvh - var(--header));
    padding: 46px 28px;
    display: grid;
    align-items: center;
}

.sh-auth-layout {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.sh-auth-panel {
    align-self: center;
    padding: 28px;
}

.sh-auth-panel .sh-page-title {
    margin-top: 18px;
}

.sh-auth-art {
    min-width: 0;
    align-self: center;
}

.sh-product-preview.compact .sh-preview-grid {
    grid-template-columns: 1fr;
}

.sh-product-preview.compact .sh-preview-routes {
    display: none;
}

.sh-product-preview.compact .sh-live-line {
    height: 240px;
}

.sh-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 16px;
    align-items: start;
}

.sh-json {
    display: block;
    max-height: 360px;
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.55;
    white-space: pre-wrap;
}

.sh-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    gap: 8px;
}

.sh-toast-item {
    width: min(420px, calc(100vw - 40px));
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--text);
    animation: sh-toast .22s cubic-bezier(.16, 1, .3, 1) both;
}

.sh-toast-item.danger {
    border-color: rgba(198, 61, 95, .32);
}

@keyframes sh-toast {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sh-mobile-menu {
    display: none;
}

@media (max-width: 1180px) {
    .sh-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sh-preview-grid,
    .sh-auth-layout,
    .sh-feature-band,
    .sh-proof-band {
        grid-template-columns: 1fr;
    }

    .sh-auth-panel {
        order: 1;
    }

    .sh-auth-art {
        order: 2;
    }

    .sh-grid.four,
    .sh-step-grid,
    .sh-proof-metrics,
    .sh-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sh-client-admin-row,
    .sh-client-admin-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    :root {
        --sidebar: 0;
    }

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

    .sh-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 286px;
        transform: translateX(-110%);
        transition: transform .24s cubic-bezier(.16, 1, .3, 1);
        box-shadow: var(--shadow);
    }

    html[dir="rtl"] .sh-sidebar {
        inset: 0 0 0 auto;
        transform: translateX(110%);
    }

    [data-menu="open"] .sh-sidebar {
        transform: translateX(0);
    }

    .sh-mobile-menu {
        display: inline-flex;
    }

    .sh-main-head {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 0 16px;
    }

    .sh-command {
        display: none;
    }

    .sh-page {
        padding: 20px 16px;
    }

    .sh-grid.two,
    .sh-grid.three,
    .sh-grid.four,
    .sh-split,
    .sh-dashboard-grid,
    .sh-step-grid,
    .sh-proof-band {
        grid-template-columns: 1fr;
    }

    .sh-panel-main {
        grid-row: auto;
    }

    .sh-log-filter {
        grid-template-columns: minmax(0, 1fr) minmax(160px, .42fr);
    }

    .sh-log-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .sh-subscribe-log-item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .sh-log-result {
        min-width: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .sh-topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .sh-topbar > .sh-top-actions {
        flex: 1 1 100%;
        width: auto;
        min-width: 0;
        justify-content: flex-start;
    }

    .sh-topbar .sh-controls {
        width: 100%;
        min-width: 0;
    }

    .sh-lang-select {
        flex: 1;
        min-width: 0;
    }

    .sh-hero {
        padding: 34px 16px 28px;
        gap: 26px;
    }

    .sh-hero h1 {
        font-size: 40px;
    }

    .sh-hero p {
        font-size: 15px;
    }

    .sh-hero-metrics,
    .sh-grid.two,
    .sh-grid.three,
    .sh-grid.four,
    .sh-step-grid,
    .sh-proof-metrics,
    .sh-price-grid {
        grid-template-columns: 1fr;
    }

    .sh-commercial-section {
        padding: 0 16px 40px;
    }

    .sh-price-grid {
        padding: 0;
        margin-top: 0;
    }

    .sh-section-title h2,
    .sh-proof-copy h2,
    .sh-legal-page h1 {
        font-size: 32px;
    }

    .sh-feature-large,
    .sh-feature-card,
    .sh-step-card,
    .sh-proof-band,
    .sh-legal-page {
        padding: 22px;
    }

    .sh-public-footer {
        width: calc(100% - 32px);
        align-items: flex-start;
        flex-direction: column;
    }

    .sh-preview-grid {
        padding: 12px;
    }

    .sh-live-line {
        height: 150px;
    }

    .sh-preview-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .sh-auth-page {
        padding: 22px 16px 32px;
    }

    .sh-auth-layout {
        width: 100%;
        max-width: 360px;
    }

    .sh-auth-panel,
    .sh-card.pad {
        padding: 18px;
    }

    .sh-product-preview.compact .sh-live-line {
        height: 150px;
    }

    .sh-page-title {
        font-size: 26px;
    }

    .sh-stat {
        min-height: 116px;
    }

    .sh-stat-value {
        font-size: 24px;
    }

    .sh-log-board {
        padding: 6px;
        border-radius: 22px;
    }

    .sh-log-filter,
    .sh-subscribe-log-item {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .sh-log-filter-actions .sh-page-chip {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .sh-brand-title {
        max-width: 168px;
    }

    .sh-brand-subtitle {
        max-width: 178px;
    }

    .sh-auth-layout {
        max-width: 320px;
    }
}

.sh-shell[data-kind="user"] {
    --console-bg: #050506;
    --console-rail: rgba(18, 18, 20, .86);
    --console-top: rgba(18, 18, 20, .72);
    --console-card: #1d1d1f;
    --console-card-2: #242427;
    --console-card-soft: #151516;
    --console-line: rgba(255, 255, 255, .12);
    --console-line-soft: rgba(255, 255, 255, .08);
    --console-text: #f5f5f7;
    --console-muted: #c6c6cb;
    --console-soft: #8f8f96;
    --console-blue: #2997ff;
    --console-green: #30d158;
    --console-red: #ff5a67;
    --console-orange: #ffb340;
    min-height: 100dvh;
    grid-template-columns: 216px minmax(0, 1fr);
    background: var(--console-bg);
    color: var(--console-text);
    font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-feature-settings: "calt", "kern", "liga";
}

.sh-shell[data-kind="user"]:before {
    display: none;
}

.sh-shell[data-kind="user"] .sh-sidebar {
    width: 216px;
    border-right: 1px solid var(--console-line-soft);
    background: var(--console-rail);
    color: var(--console-text);
    backdrop-filter: blur(22px) saturate(1.35);
    box-shadow: none;
}

.sh-shell[data-kind="user"] .sh-sidebar-head,
.sh-shell[data-kind="user"] .sh-main-head {
    min-height: 52px;
    border-bottom: 1px solid var(--console-line-soft);
    background: var(--console-top);
    backdrop-filter: blur(24px) saturate(1.35);
}

.sh-shell[data-kind="user"] .sh-sidebar-head {
    padding: 0 16px;
}

.sh-shell[data-kind="user"] .sh-logo {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: linear-gradient(180deg, #57a9ff, #0066cc);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 14px 28px rgba(0, 102, 204, .18);
    font-size: 13px;
}

.sh-shell[data-kind="admin"] .sh-logo.has-image,
.sh-shell[data-kind="user"] .sh-logo.has-image {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.sh-shell[data-kind="user"] .sh-brand {
    gap: 10px;
}

.sh-shell[data-kind="user"] .sh-brand-title,
.sh-shell[data-kind="user"] .sh-main-head .sh-brand-title {
    color: var(--console-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 680;
    letter-spacing: 0;
}

.sh-shell[data-kind="user"] .sh-brand-subtitle,
.sh-shell[data-kind="user"] .sh-main-head .sh-brand-subtitle,
.sh-shell[data-kind="user"] .sh-command {
    display: none;
}

.sh-shell[data-kind="user"] .sh-main-head {
    padding: 0 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    color: var(--console-text);
}

.sh-shell[data-kind="user"] .sh-nav {
    padding: 22px 12px 14px;
    gap: 4px;
}

.sh-shell[data-kind="user"] .sh-nav-section {
    margin: 18px 10px 8px;
    color: var(--console-soft);
    font-size: 11px;
    line-height: 1;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
}

.sh-shell[data-kind="user"] .sh-nav button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    color: #b7b7bd;
    gap: 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    transition: background .22s cubic-bezier(.16, 1, .3, 1), color .22s cubic-bezier(.16, 1, .3, 1), transform .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-shell[data-kind="user"] .sh-nav button:hover,
.sh-shell[data-kind="user"] .sh-nav button.is-active {
    background: rgba(255, 255, 255, .09);
    color: #ffffff;
    box-shadow: none;
}

.sh-shell[data-kind="user"] .sh-nav button:active {
    transform: scale(.98);
}

.sh-shell[data-kind="user"] .sh-nav svg {
    width: 16px;
    height: 16px;
    color: #a8a8ae;
}

.sh-shell[data-kind="user"] .sh-nav button.is-active svg {
    color: var(--console-blue);
}

.sh-shell[data-kind="user"] .sh-sidebar-foot {
    padding: 12px;
    border-top: 1px solid var(--console-line-soft);
}

.sh-shell[data-kind="user"] .sh-sidebar-foot .sh-btn {
    min-height: 40px;
    border: 1px solid var(--console-line-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: var(--console-text);
}

.sh-shell[data-kind="user"] .sh-page {
    width: min(100%, 1500px);
    max-width: none;
    margin: 0 auto;
    padding: 28px 30px 54px;
}

.sh-shell[data-kind="user"] .sh-controls {
    gap: 12px;
}

.sh-shell[data-kind="user"] .sh-icon-btn,
.sh-shell[data-kind="user"] .sh-select {
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #d1d1d6;
}

.sh-shell[data-kind="user"] .sh-icon-btn:hover,
.sh-shell[data-kind="user"] .sh-select:hover {
    background: rgba(255, 255, 255, .08);
}

.sh-shell[data-kind="user"] .sh-lang-select {
    width: 126px;
}

.sh-console {
    display: grid;
    gap: 18px;
}

.sh-console > * {
    animation: sh-console-rise .42s cubic-bezier(.16, 1, .3, 1) both;
}

.sh-console > *:nth-child(2) { animation-delay: .035s; }
.sh-console > *:nth-child(3) { animation-delay: .07s; }
.sh-console > *:nth-child(4) { animation-delay: .105s; }

@keyframes sh-console-rise {
    from { opacity: 0; transform: translateY(10px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sh-console-alert {
    min-height: 54px;
    padding: 10px 12px 10px 14px;
    border: 1px solid var(--console-line-soft);
    border-radius: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .06);
    color: #f5f5f7;
    backdrop-filter: blur(18px) saturate(1.2);
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-console-alert:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 151, 255, .42);
}

.sh-console-alert-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .08);
}

.sh-console-alert-copy {
    min-width: 0;
}

.sh-console-alert-copy strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.sh-console-alert-copy p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-console-alert button {
    color: #a1a1a6;
}

.sh-console-alert button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    transition: transform .18s cubic-bezier(.16, 1, .3, 1), background .18s cubic-bezier(.16, 1, .3, 1);
}

.sh-console-alert button:hover {
    background: rgba(255, 255, 255, .14);
}

.sh-console-alert button:active {
    transform: scale(.97);
}

.sh-console-alert.blue {
    background: rgba(41, 151, 255, .14);
    border-color: rgba(41, 151, 255, .32);
}

.sh-console-alert.blue .sh-console-alert-dot {
    background: var(--console-blue);
    box-shadow: 0 0 0 6px rgba(41, 151, 255, .12);
}

.sh-console-alert.red {
    grid-template-columns: auto minmax(0, 1fr) auto;
    background: rgba(255, 90, 103, .12);
    border-color: rgba(255, 90, 103, .26);
    color: #ffd7dc;
}

.sh-console-alert.red .sh-console-alert-copy p {
    color: rgba(255, 215, 220, .78);
}

.sh-console-alert.red .sh-console-alert-dot {
    background: var(--console-red);
    box-shadow: 0 0 0 6px rgba(255, 90, 103, .12);
}

.sh-console-banner {
    position: relative;
    min-height: 286px;
    padding: 36px 42px;
    border: 1px solid var(--console-line-soft);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, .86), rgba(5, 5, 6, .18) 54%, rgba(5, 5, 6, .72)),
        url("/assets/shui/console-banner.svg") center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.sh-console-banner:after {
    content: "";
    position: absolute;
    inset: auto 32px 0 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(41, 151, 255, .72), transparent);
}

.sh-banner-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.sh-banner-copy span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #e8e8ed;
    font-size: 12px;
    font-weight: 560;
    backdrop-filter: blur(12px);
}

.sh-console-banner h2 {
    margin: 0;
    color: #ffffff;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 680;
    letter-spacing: 0;
    text-shadow: none;
}

.sh-console-banner p {
    margin: 12px 0 0;
    color: #c7c7cc;
    font-family: var(--mono);
    font-size: 13px;
}

.sh-banner-status {
    position: relative;
    z-index: 1;
    min-width: 190px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.25);
}

.sh-banner-status b {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--console-green);
    box-shadow: 0 0 0 5px rgba(48, 209, 88, .14);
}

.sh-banner-status strong,
.sh-banner-status small {
    display: block;
}

.sh-banner-status strong {
    margin-top: 18px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 640;
}

.sh-banner-status small {
    margin-top: 6px;
    color: #c7c7cc;
    font-size: 13px;
}

.sh-console-top {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(260px, .82fr) minmax(260px, .82fr);
    gap: 18px;
}

.sh-console-top.compact {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
}

.sh-shell[data-kind="user"] .sh-card {
    border: 1px solid var(--console-line-soft);
    border-radius: 22px;
    background: var(--console-card);
    color: var(--console-text);
    box-shadow: none;
    position: relative;
    transition: transform .26s cubic-bezier(.16, 1, .3, 1), border-color .26s cubic-bezier(.16, 1, .3, 1), background .26s cubic-bezier(.16, 1, .3, 1);
}

.sh-shell[data-kind="user"] .sh-card:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.sh-shell[data-kind="user"] .sh-card:hover {
    transform: translateY(-2px);
    border-color: rgba(41, 151, 255, .26);
}

.sh-shell[data-kind="user"] .sh-card.pad {
    padding: 24px;
}

.sh-card-heading,
.sh-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sh-shell[data-kind="user"] .sh-card-title {
    color: #f5f5f7;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 640;
}

.sh-shell[data-kind="user"] .sh-card-desc {
    color: #a1a1a6;
    font-size: 13px;
    line-height: 1.45;
}

.sh-shell[data-kind="user"] .sh-badge.warn {
    border: 0;
    border-radius: 999px;
    background: rgba(41, 151, 255, .16);
    color: #8dccff;
    font-weight: 560;
}

.sh-sub-card {
    min-height: 172px;
}

.sh-plan-name {
    display: block;
    margin-top: 24px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 680;
    letter-spacing: 0;
}

.sh-sub-meta {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #c7c7cc;
    font-size: 13px;
}

.sh-shell[data-kind="user"] .sh-progress {
    margin-top: 14px;
    height: 9px;
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
}

.sh-shell[data-kind="user"] .sh-progress span {
    background: var(--console-blue);
}

.sh-shell[data-kind="user"] .sh-progress.green span {
    background: linear-gradient(90deg, #30d158, #86f3a0);
}

.sh-console-line {
    margin: 12px 0 0;
    color: #f5f5f7;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 640;
}

.sh-usage-card dl,
.sh-invite-card dl {
    margin: 20px 0 0;
    display: grid;
    gap: 16px;
}

.sh-usage-card dl div,
.sh-invite-card dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: baseline;
}

.sh-usage-card dt,
.sh-invite-card dt {
    margin: 0;
    color: #a1a1a6;
    font-size: 13px;
    line-height: 1.3;
}

.sh-usage-card dd,
.sh-invite-card dd {
    margin: 0;
    color: #f5f5f7;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 640;
}

.sh-usage-card dt:before,
.sh-invite-card dt:before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--console-blue);
}

.sh-usage-card dl div:nth-child(1) dt:before,
.sh-invite-card dl div:nth-child(1) dt:before {
    background: var(--console-green);
}

.sh-usage-card dl div:nth-child(2) dt:before,
.sh-invite-card dl div:nth-child(2) dt:before {
    background: var(--console-red);
}

.sh-subscribe-box {
    min-height: 326px;
}

.sh-subscribe-rail {
    margin-top: 18px;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--console-line-soft);
    border-radius: 16px;
    background: #101011;
    color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--mono);
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.sh-subscribe-rail span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-subscribe-rail small {
    color: #6e6e73;
}

.sh-import-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sh-import-btn {
    min-height: 38px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #f5f5f7;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1;
    font-weight: 560;
    transition: transform .2s cubic-bezier(.16, 1, .3, 1), background .2s cubic-bezier(.16, 1, .3, 1), color .2s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.sh-import-btn.compact {
    min-height: 38px;
    background: var(--console-blue);
    color: #ffffff;
}

.sh-import-btn:hover {
    background: rgba(255, 255, 255, .16);
    filter: none;
    transform: translateY(-1px);
}

.sh-import-btn.compact:hover,
.sh-import-btn.green:hover,
.sh-import-btn.orange:hover,
.sh-import-btn.red:hover {
    background: #0071e3;
}

.sh-import-btn:active,
.sh-client-tile:active,
.sh-console-action:active {
    transform: scale(.98);
}

.sh-import-btn svg {
    width: 15px;
    height: 15px;
}

.sh-import-btn.green,
.sh-import-btn.orange,
.sh-import-btn.red {
    background: rgba(41, 151, 255, .16);
    color: #8dccff;
}

.sh-client-head {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--console-line-soft);
}

.sh-subscribe-box > .sh-client-head:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sh-client-grid {
    margin-top: 16px;
    padding-top: 0;
    border-top: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(112px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.sh-client-tile {
    width: 100%;
    min-height: 126px;
    padding: 16px 10px 14px;
    border: 1px solid var(--console-line-soft);
    border-radius: 18px;
    background: #161617;
    color: #c7c7cc;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1), color .22s cubic-bezier(.16, 1, .3, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.sh-client-tile:hover {
    border-color: rgba(41, 151, 255, .46);
    background: #202023;
    color: #ffffff;
    transform: translateY(-2px);
}

.sh-client-tile.is-disabled {
    cursor: not-allowed;
    opacity: .48;
}

.sh-client-tile svg {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--console-blue);
    box-shadow: none;
}

.sh-client-tile:nth-child(2) svg,
.sh-client-tile:nth-child(3) svg {
    color: var(--console-blue);
}

.sh-client-tile span {
    width: max-content;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-client-tile small {
    margin-top: -4px;
    color: #8e8e93;
    font-family: var(--mono);
    font-size: 11px;
}

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

.sh-console-action {
    width: 100%;
    min-height: 112px;
    border: 1px solid var(--console-line-soft);
    border-radius: 22px;
    background: var(--console-card);
    color: var(--console-text);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    text-align: left;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-console-action:hover {
    border-color: rgba(41, 151, 255, .42);
    background: #252527;
}

.sh-console-action strong,
.sh-console-action small {
    display: block;
}

.sh-console-action strong {
    color: #f5f5f7;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 640;
}

.sh-console-action small {
    margin-top: 7px;
    color: #a1a1a6;
    font-size: 13px;
    line-height: 1.35;
}

.sh-console-action svg {
    width: 34px;
    height: 34px;
    color: var(--console-blue);
}

[data-mode="light"] .sh-shell[data-kind="user"] {
    --console-bg: #f5f5f7;
    --console-rail: rgba(255, 255, 255, .86);
    --console-top: rgba(255, 255, 255, .82);
    --console-card: #ffffff;
    --console-card-2: #ffffff;
    --console-card-soft: #fafafc;
    --console-line: #e0e0e5;
    --console-line-soft: rgba(0, 0, 0, .08);
    --console-text: #1d1d1f;
    --console-muted: #515154;
    --console-soft: #86868b;
    --console-blue: #0066cc;
    background:
        linear-gradient(180deg, rgba(0, 102, 204, .08), transparent 260px),
        var(--console-bg);
    color: var(--console-text);
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-sidebar,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-sidebar-head,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-main-head {
    border-color: var(--console-line-soft);
    background: var(--console-top);
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-brand-title,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-main-head .sh-brand-title,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-card-title,
[data-mode="light"] .sh-plan-name,
[data-mode="light"] .sh-console-action strong,
[data-mode="light"] .sh-console-line,
[data-mode="light"] .sh-usage-card dd,
[data-mode="light"] .sh-invite-card dd {
    color: #1d1d1f;
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-nav button {
    color: #515154;
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-nav button:hover,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-nav button.is-active {
    background: rgba(0, 102, 204, .09);
    color: #0066cc;
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-nav svg,
[data-mode="light"] .sh-shell[data-kind="user"] .sh-card-desc,
[data-mode="light"] .sh-sub-meta,
[data-mode="light"] .sh-usage-card dt,
[data-mode="light"] .sh-invite-card dt,
[data-mode="light"] .sh-console-action small {
    color: #6e6e73;
}

[data-mode="light"] .sh-console-alert {
    background: rgba(255, 255, 255, .86);
    color: #1d1d1f;
}

[data-mode="light"] .sh-console-alert.blue {
    background: rgba(0, 102, 204, .08);
}

[data-mode="light"] .sh-console-alert.red {
    background: rgba(255, 90, 103, .1);
    color: #8f1d2c;
}

[data-mode="light"] .sh-shell[data-kind="user"] .sh-card,
[data-mode="light"] .sh-subscribe-rail,
[data-mode="light"] .sh-console-action,
[data-mode="light"] .sh-client-tile {
    background: #ffffff;
    box-shadow: 0 22px 60px -48px rgba(0, 52, 112, .34);
}

[data-mode="light"] .sh-subscribe-rail {
    color: #1d1d1f;
    background: #fafafc;
}

[data-mode="light"] .sh-import-btn {
    background: #f5f5f7;
    color: #1d1d1f;
}

[data-mode="light"] .sh-import-btn.compact,
[data-mode="light"] .sh-import-btn.green,
[data-mode="light"] .sh-import-btn.orange,
[data-mode="light"] .sh-import-btn.red {
    background: #0066cc;
    color: #ffffff;
}

[data-mode="light"] .sh-client-tile:hover,
[data-mode="light"] .sh-console-action:hover {
    background: #fafafc;
}

[data-mode="light"] .sh-console-banner {
    border-color: rgba(0, 0, 0, .08);
}

[data-mode="light"] .sh-console-alert button {
    border-color: rgba(0, 102, 204, .16);
    background: #0066cc;
    color: #ffffff;
}

@media (max-width: 1240px) {
    .sh-console-top,
    .sh-console-top.compact,
    .sh-console-actions {
        grid-template-columns: 1fr;
    }

    .sh-client-grid {
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    }
}

@media (max-width: 980px) {
    .sh-shell[data-kind="user"] {
        grid-template-columns: 1fr;
    }

    .sh-shell[data-kind="user"] .sh-sidebar {
        width: 260px;
    }

    .sh-shell[data-kind="user"] .sh-main-head {
        padding: 0 16px;
    }

    .sh-shell[data-kind="user"] .sh-page {
        width: 100%;
        padding: 18px 12px 36px;
    }

    .sh-console {
        gap: 12px;
    }

    .sh-console-banner {
        min-height: 226px;
        padding: 26px;
        border-radius: 20px;
    }

    .sh-console-banner h2 {
        font-size: 30px;
    }

    .sh-banner-status {
        display: none;
    }
}

@media (max-width: 680px) {
    .sh-console-alert {
        min-height: 38px;
        border-radius: 14px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 8px 10px 8px 12px;
    }

    .sh-console-alert time {
        display: none;
    }

    .sh-console-alert button {
        min-height: 30px;
        padding: 0 9px;
        font-size: 11px;
    }

    .sh-console-banner {
        min-height: 196px;
        padding: 22px;
        border-radius: 18px;
    }

    .sh-console-banner h2 {
        font-size: 24px;
    }

    .sh-banner-copy span {
        margin-bottom: 10px;
    }

    .sh-shell[data-kind="user"] .sh-card.pad {
        padding: 20px;
    }

    .sh-section-head,
    .sh-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sh-section-head .sh-import-btn {
        width: 100%;
        justify-content: center;
    }

    .sh-sub-meta {
        display: grid;
        gap: 7px;
    }

    .sh-import-actions {
        gap: 8px;
    }

    .sh-import-btn {
        width: 100%;
        justify-content: center;
    }

    .sh-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sh-client-tile {
        min-height: 118px;
    }
}

/* Premium public homepage */
.sh-public {
    background:
        radial-gradient(circle at 14% 0%, rgba(0, 111, 238, .18), transparent 31%),
        radial-gradient(circle at 90% 8%, rgba(88, 160, 255, .14), transparent 34%),
        linear-gradient(180deg, var(--bg), var(--bg-2) 52%, var(--bg));
}

[data-mode="dark"] .sh-public {
    background:
        radial-gradient(circle at 10% 0%, rgba(88, 160, 255, .2), transparent 30%),
        radial-gradient(circle at 92% 10%, rgba(0, 111, 238, .18), transparent 35%),
        linear-gradient(180deg, #050912, #081422 52%, #050912);
}

.sh-public .sh-topbar {
    width: min(100% - 32px, 1180px);
    min-height: 64px;
    margin: 16px auto 0;
    padding: 0 12px 0 16px;
    border: 1px solid rgba(210, 224, 242, .72);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 24px 70px -58px rgba(0, 45, 110, .42);
}

[data-mode="dark"] .sh-public .sh-topbar {
    border-color: rgba(130, 169, 220, .16);
    background: rgba(8, 15, 27, .72);
}

.sh-public-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.sh-public-nav button {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 720;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1), color .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-public-nav button:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.sh-apple-hero {
    min-height: calc(100dvh - 96px);
    grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr);
    gap: 58px;
    padding-top: 76px;
    padding-bottom: 80px;
}

.sh-apple-copy {
    align-self: center;
}

.sh-apple-copy .sh-eyebrow {
    border-color: rgba(0, 111, 238, .18);
    background: rgba(255, 255, 255, .78);
}

[data-mode="dark"] .sh-apple-copy .sh-eyebrow {
    background: rgba(12, 24, 42, .74);
}

.sh-apple-copy h1 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    font-weight: 840;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: normal;
}

.sh-apple-copy p {
    max-width: 590px;
    font-size: 17px;
    line-height: 1.78;
}

.sh-apple-product {
    position: relative;
    perspective: 1200px;
}

.sh-apple-product:before {
    content: "";
    position: absolute;
    inset: -34px -18px 14px 48px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(0, 111, 238, .12), transparent 52%),
        radial-gradient(circle at 70% 20%, rgba(125, 183, 255, .2), transparent 34%);
    transform: rotate(-3deg);
}

.sh-apple-product .sh-product-preview {
    position: relative;
    border-radius: 24px;
    transform: rotateX(3deg) rotateY(-5deg);
    box-shadow: 0 46px 120px -60px rgba(0, 29, 76, .95);
    transition: transform .34s cubic-bezier(.16, 1, .3, 1), box-shadow .34s cubic-bezier(.16, 1, .3, 1);
}

.sh-apple-product .sh-product-preview:hover {
    transform: rotateX(0) rotateY(0) translateY(-5px);
    box-shadow: 0 54px 128px -56px rgba(0, 49, 122, .96);
}

.sh-hero-metrics .sh-mini-stat {
    border-radius: 18px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(18px);
}

[data-mode="dark"] .sh-hero-metrics .sh-mini-stat {
    background: rgba(13, 25, 43, .68);
}

.sh-plans-band {
    padding-top: 48px;
}

.sh-section-title {
    margin-bottom: 30px;
}

.sh-section-title h2 {
    max-width: 820px;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.04;
}

.sh-price-grid {
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 16px;
}

.sh-price {
    min-height: 292px;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .82));
    box-shadow: 0 30px 74px -58px rgba(0, 52, 112, .46);
}

[data-mode="dark"] .sh-price {
    background:
        linear-gradient(180deg, rgba(17, 32, 54, .92), rgba(8, 16, 29, .9));
}

.sh-price:nth-child(2) {
    transform: translateY(-14px);
    border-color: rgba(0, 111, 238, .34);
    background:
        linear-gradient(180deg, rgba(235, 244, 255, .98), rgba(255, 255, 255, .88));
}

[data-mode="dark"] .sh-price:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(28, 55, 92, .94), rgba(10, 19, 33, .9));
}

.sh-plan-badge {
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
}

.sh-price strong {
    margin-top: 20px;
    font-size: 48px;
}

.sh-price strong small {
    margin-left: 6px;
    color: var(--muted);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 720;
}

.sh-price .sh-card-desc {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 780;
    color: var(--text);
}

.sh-plan-content {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.sh-plan-content:empty {
    display: none;
}

.sh-plan-content p,
.sh-plan-content ul,
.sh-plan-content ol,
.sh-plan-content blockquote,
.sh-plan-content table,
.sh-plan-content pre {
    margin: 10px 0 0;
}

.sh-plan-content h1,
.sh-plan-content h2,
.sh-plan-content h3,
.sh-plan-content h4,
.sh-plan-content h5,
.sh-plan-content h6 {
    margin: 14px 0 0;
    color: var(--text);
    line-height: 1.24;
    font-weight: 780;
}

.sh-plan-content h1 { font-size: 22px; }
.sh-plan-content h2 { font-size: 20px; }
.sh-plan-content h3 { font-size: 18px; }
.sh-plan-content h4,
.sh-plan-content h5,
.sh-plan-content h6 { font-size: 15px; }

.sh-plan-content ul,
.sh-plan-content ol {
    padding-left: 20px;
}

.sh-plan-content li + li {
    margin-top: 6px;
}

.sh-plan-content a {
    color: var(--primary);
    font-weight: 720;
}

.sh-plan-content blockquote {
    padding: 10px 12px;
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    background: var(--primary-soft);
}

.sh-plan-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 12px;
    border-radius: 14px;
}

.sh-plan-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
}

.sh-plan-content th,
.sh-plan-content td {
    padding: 9px 10px;
    border: 1px solid var(--line);
    text-align: left;
}

.sh-plan-content pre,
.sh-plan-content code {
    font-family: var(--mono);
}

.sh-plan-content pre {
    padding: 12px;
    overflow: auto;
    border-radius: 12px;
    background: var(--surface-2);
}

.sh-pay-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sh-payment-method-grid {
    width: 100%;
    display: grid;
    gap: 10px;
}

.sh-payment-method-card {
    width: 100%;
    min-height: 72px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    display: grid;
    gap: 6px;
    text-align: left;
    transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s cubic-bezier(.16,1,.3,1), background .22s cubic-bezier(.16,1,.3,1);
}

.sh-payment-method-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 102, 204, .22);
    background: #fff;
    box-shadow: 0 16px 30px -26px rgba(0, 102, 204, .18);
}

.sh-payment-method-card strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.sh-payment-method-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.sh-payment-result {
    position: fixed;
    inset: 0;
    z-index: 80;
    padding: 18px;
    display: grid;
    place-items: center;
    background: rgba(29, 29, 31, .2);
    backdrop-filter: blur(20px) saturate(1.08);
}

.sh-payment-panel {
    width: min(100%, 460px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) + var(--space-1));
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 32px 72px -36px rgba(29, 29, 31, .22);
    position: relative;
    display: grid;
    gap: 16px;
    justify-items: start;
}

.sh-payment-panel h3 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    line-height: 1.2;
}

.sh-payment-panel p,
.sh-payment-panel code {
    max-width: 100%;
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.sh-payment-panel img {
    width: 220px;
    height: 220px;
    justify-self: center;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
}

.sh-payment-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text);
    display: grid;
    place-items: center;
}

.sh-payment-close svg {
    width: 16px;
    height: 16px;
}

.sh-feature-band {
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr);
    gap: 18px;
}

.sh-feature-large,
.sh-feature-card,
.sh-step-card,
.sh-proof-band,
.sh-legal-page,
.sh-public-footer {
    border-radius: 24px;
    border-color: rgba(199, 216, 238, .72);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
}

[data-mode="dark"] .sh-feature-large,
[data-mode="dark"] .sh-feature-card,
[data-mode="dark"] .sh-step-card,
[data-mode="dark"] .sh-proof-band,
[data-mode="dark"] .sh-legal-page,
[data-mode="dark"] .sh-public-footer {
    border-color: rgba(130, 169, 220, .14);
    background: rgba(10, 19, 33, .72);
}

.sh-feature-large {
    min-height: 440px;
    padding: 38px;
}

.sh-feature-large:before {
    inset: 20px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 18%, rgba(88, 160, 255, .2), transparent 28%),
        linear-gradient(135deg, rgba(0, 111, 238, .14), transparent 48%),
        repeating-linear-gradient(90deg, rgba(0, 111, 238, .08) 0 1px, transparent 1px 52px);
}

.sh-feature-card {
    min-height: 211px;
    padding: 28px;
}

.sh-feature-large svg,
.sh-feature-card svg {
    width: 42px;
    height: 42px;
}

.sh-proof-band {
    padding: 34px;
}

.sh-proof-metrics {
    border-radius: 20px;
}

.sh-proof-metrics div {
    min-height: 134px;
    padding: 24px;
}

.sh-step-grid {
    grid-template-columns: .9fr 1.18fr .92fr;
    gap: 16px;
}

.sh-step-card {
    min-height: 236px;
    padding: 28px;
}

.sh-public-footer {
    border-radius: 22px;
}

@media (max-width: 1080px) {
    .sh-public .sh-topbar {
        align-items: flex-start;
        padding: 12px;
        flex-wrap: wrap;
    }

    .sh-public-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 4px;
    }

    .sh-apple-hero,
    .sh-feature-band,
    .sh-proof-band {
        grid-template-columns: 1fr;
    }

    .sh-apple-hero {
        min-height: auto;
        padding-top: 56px;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .sh-public .sh-topbar {
        width: min(100% - 20px, 1180px);
        margin-top: 10px;
        border-radius: 18px;
    }

    .sh-public .sh-brand-subtitle,
    .sh-public .sh-top-actions .sh-btn.ghost {
        display: none;
    }

    .sh-lang-select {
        width: 122px;
        min-width: 112px;
    }

    .sh-apple-hero {
        padding: 42px 14px 48px;
    }

    .sh-apple-copy h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .sh-hero-metrics,
    .sh-price-grid,
    .sh-step-grid,
    .sh-proof-metrics {
        grid-template-columns: 1fr;
    }

    .sh-apple-product:before {
        inset: -18px 0 10px 18px;
    }

    .sh-apple-product .sh-product-preview,
    .sh-apple-product .sh-product-preview:hover,
    .sh-price:nth-child(2) {
        transform: none;
    }

    .sh-commercial-section {
        padding: 42px 14px;
    }

    .sh-price {
        min-height: 240px;
    }
}

.sh-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sh-row-actions .sh-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.sh-admin-user-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    gap: 18px;
    align-items: start;
}

.sh-admin-user-list,
.sh-admin-user-panel,
.sh-ticket-detail {
    min-width: 0;
}

.sh-admin-user-panel {
    display: grid;
    gap: 18px;
}

.sh-user-placeholder {
    min-height: 170px;
    display: grid;
    align-content: center;
}

.sh-ticket-thread {
    margin: 18px 0;
    display: grid;
    gap: 12px;
    max-height: 460px;
    overflow: auto;
    padding: 6px 4px 6px 0;
}

.sh-ticket-thread-head {
    margin-top: 18px;
    padding: 0 2px;
}

.sh-ticket-thread-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.sh-ticket-thread-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.sh-ticket-hero {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sh-ticket-hero > div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    box-shadow: 0 14px 32px -26px rgba(29,29,31,.18);
}

.sh-ticket-hero span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.sh-ticket-hero strong,
.sh-ticket-hero .sh-badge {
    display: inline-flex;
    margin-top: 8px;
}

.sh-ticket-message {
    max-width: 82%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--text);
    box-shadow: 0 10px 24px -22px rgba(29,29,31,.16);
}

.sh-ticket-message.is-me {
    justify-self: end;
    border-bottom-right-radius: 6px;
    border-color: rgba(41, 151, 255, .28);
    background: linear-gradient(180deg, rgba(41, 151, 255, .16), rgba(41, 151, 255, .08));
    box-shadow: 0 18px 36px -28px rgba(0, 102, 204, .24);
}

.sh-ticket-message.is-staff {
    justify-self: start;
    border-bottom-left-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,252,.92));
}

.sh-ticket-message span,
.sh-ticket-message time {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.sh-ticket-message p {
    margin: 8px 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.sh-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
    position: relative;
}

.sh-order-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.sh-order-card-main strong,
.sh-order-card-main small {
    display: block;
}

.sh-order-card-main strong {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.12px;
}

.sh-order-card-main small {
    margin-top: 5px;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.sh-order-card-meta {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 8px;
}

.sh-order-card-meta span {
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.sh-order-card-meta small {
    color: #86868b;
    font-size: 12px;
}

.sh-order-card-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sh-order-card.status-0::before,
.sh-order-card.status-1::before,
.sh-order-card.status-3::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 999px;
}

.sh-order-card.status-0::before {
    background: rgba(245, 158, 11, .9);
}

.sh-order-card.status-1::before {
    background: rgba(41, 151, 255, .9);
}

.sh-order-card.status-3::before {
    background: rgba(43, 209, 166, .92);
}

.sh-order-detail-panel {
    min-width: 0;
}

.sh-order-status-hero {
    margin: 18px 0 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,255,.9));
    box-shadow: 0 18px 42px -30px rgba(29,29,31,.18);
}

.sh-order-status-hero strong {
    display: block;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.sh-order-status-hero p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.sh-order-timeline {
    margin-bottom: 16px;
}

.sh-order-timeline h4 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.sh-order-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sh-order-step {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    color: var(--muted);
}

.sh-order-step span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(110, 110, 115, .28);
}

.sh-order-step strong {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.sh-order-step.is-done {
    border-color: rgba(41, 151, 255, .22);
    background: rgba(41, 151, 255, .08);
    color: #1d1d1f;
}

.sh-order-step.is-done span {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(41, 151, 255, .12);
}

.sh-ticket-compose,
.sh-ticket-detail,
.sh-plan-summary-card,
.sh-plan-purchase-card {
    box-shadow: 0 22px 48px -40px rgba(29,29,31,.14);
}

.sh-inline-cover {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin: 16px 0;
    border: 1px solid var(--line);
}

.sh-rich-text {
    color: var(--text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.sh-rich-text p:first-child {
    margin-top: 0;
}

.sh-rich-text img {
    max-width: 100%;
    border-radius: 14px;
}

.sh-list-stack {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.sh-list-item {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), border-color .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1);
}

.sh-list-item:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
}

.sh-list-item strong,
.sh-list-item small {
    display: block;
}

.sh-list-item small {
    margin-top: 4px;
    color: var(--muted);
}

.sh-plan-detail-layout {
    align-items: start;
}

.sh-plan-summary-card {
    min-height: 520px;
}

.sh-plan-periods {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.sh-plan-periods h4 {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.sh-plan-period-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
}

.sh-plan-period-card {
    min-height: 88px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--radius);
    background: rgba(255,255,255,.72);
    display: grid;
    align-content: space-between;
    gap: 8px;
    text-align: left;
    transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s cubic-bezier(.16,1,.3,1), background .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1);
}

.sh-plan-period-card span {
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.2;
}

.sh-plan-period-card strong {
    color: #1d1d1f;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.sh-plan-period-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 102, 204, .16);
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 28px -24px rgba(0, 102, 204, .16);
}

.sh-plan-period-card.is-active {
    border-color: rgba(0, 102, 204, .36);
    background: rgba(0, 102, 204, .08);
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, .12);
}

.sh-plan-purchase-card {
    position: sticky;
    top: 86px;
}

.sh-plan-purchase-card .sh-select,
.sh-plan-purchase-card .sh-input {
    min-height: 44px;
    border-radius: 16px;
    background: #fff;
}

.sh-coupon-admin-layout .sh-card,
.sh-plan-detail-layout .sh-card {
    backdrop-filter: blur(18px) saturate(1.1);
}

.sh-row-actions {
    gap: 10px;
}

.sh-row-actions .sh-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
}

.sh-shell[data-kind="admin"] .sh-card,
.sh-shell[data-kind="admin"] .sh-table th,
.sh-shell[data-kind="admin"] .sh-table td,
.sh-shell[data-kind="admin"] .sh-alert,
.sh-shell[data-kind="admin"] .sh-input,
.sh-shell[data-kind="admin"] .sh-select,
.sh-shell[data-kind="admin"] .sh-textarea {
    transition: background .22s cubic-bezier(.16,1,.3,1), border-color .22s cubic-bezier(.16,1,.3,1), transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1);
}

.sh-shell[data-kind="admin"] .sh-card:hover {
    border-color: rgba(0, 102, 204, .14);
    box-shadow: 0 18px 38px -34px rgba(29,29,31,.2);
}

.sh-shell[data-kind="admin"] .sh-input,
.sh-shell[data-kind="admin"] .sh-select,
.sh-shell[data-kind="admin"] .sh-textarea {
    border-radius: 16px;
    background: rgba(255,255,255,.9);
}

.sh-shell[data-kind="admin"] .sh-alert {
    border-radius: 18px;
    background: rgba(255,255,255,.88);
}

.sh-shell[data-kind="admin"] .sh-btn.primary {
    background: #0066cc;
    border-color: #0066cc;
}

.sh-shell[data-kind="admin"] .sh-btn.primary:hover {
    background: #0071e3;
    border-color: #0071e3;
}

.sh-admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.sh-admin-summary-card {
    min-height: 120px;
    display: grid;
    align-content: space-between;
    gap: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,250,252,.98));
}

.sh-admin-summary-card span {
    color: #86868b;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

.sh-admin-summary-card strong {
    color: #1d1d1f;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.sh-admin-summary-card small {
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.35;
}

.sh-section-head {
    margin-bottom: 14px;
}

.sh-section-head .sh-badge {
    margin-left: auto;
}

.sh-shell[data-kind="admin"] .sh-admin-user-list,
.sh-shell[data-kind="admin"] .sh-coupon-admin-layout > div:first-child,
.sh-shell[data-kind="admin"] .sh-split > div:first-child {
    min-width: 0;
}

.sh-shell[data-kind="admin"] .sh-admin-user-panel {
    gap: 14px;
}

.sh-shell[data-kind="admin"] .sh-table-wrap {
    border-radius: 20px;
    overflow: hidden;
}

.sh-shell[data-kind="admin"] .sh-table td {
    background: rgba(255,255,255,.72);
}

.sh-shell[data-kind="admin"] .sh-table tr:hover td {
    background: rgba(245,245,247,.96);
}

.sh-shell[data-kind="admin"] .sh-badge {
    border-radius: 999px;
}

.sh-shell[data-kind="admin"] .sh-form .sh-actions {
    margin-top: 18px;
}

.sh-page-chip {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #6e6e73;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.sh-admin-workbench-list {
    min-width: 0;
}

.sh-workbench-stack {
    display: grid;
    gap: 10px;
}

.sh-workbench-item {
    width: 100%;
    min-height: 72px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    background: rgba(255,255,255,.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s cubic-bezier(.16,1,.3,1), background .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1);
}

.sh-workbench-item:hover {
    border-color: rgba(0, 102, 204, .14);
    background: rgba(255,255,255,.9);
    box-shadow: 0 16px 34px -30px rgba(29,29,31,.14);
}

.sh-workbench-item.is-active {
    border-color: rgba(0, 102, 204, .28);
    background: rgba(0, 102, 204, .07);
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, .08);
}

.sh-workbench-main {
    min-width: 0;
}

.sh-workbench-main strong,
.sh-workbench-main small {
    display: block;
}

.sh-workbench-main strong {
    color: #1d1d1f;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.12px;
}

.sh-workbench-main small {
    margin-top: 5px;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.4;
}

.sh-workbench-meta {
    display: grid;
    justify-items: end;
    gap: 8px;
    color: #86868b;
    font-size: 12px;
    line-height: 1.2;
}

.sh-admin-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    padding: 32px 18px;
    background: rgba(29, 29, 31, .18);
    backdrop-filter: blur(18px) saturate(1.15);
    display: grid;
    place-items: center;
}

.sh-admin-modal {
    width: min(100%, 920px);
    max-height: calc(100dvh - 64px);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: calc(var(--radius-lg) + var(--space-1));
    background: rgba(255,255,255,.92);
    box-shadow: 0 40px 80px -42px rgba(29,29,31,.22);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.sh-admin-modal-head {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255,255,255,.8);
}

.sh-admin-modal-body {
    padding: 24px;
    overflow: auto;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,250,252,.96));
}

@media (max-width: 1180px) {
    .sh-admin-user-layout {
        grid-template-columns: 1fr;
    }

    .sh-admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sh-admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .sh-ticket-message {
        max-width: 100%;
    }

    .sh-ticket-hero,
    .sh-order-steps {
        grid-template-columns: 1fr;
    }

    .sh-order-card {
        grid-template-columns: 1fr;
    }

    .sh-order-card-meta {
        justify-items: start;
    }

    .sh-row-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
