.site-console {
    --con-primary: var(--ink);
    --con-accent: var(--accent);
    --con-text: var(--ink);
    --con-muted: var(--muted);
    --con-border: var(--line);
    --con-surface: var(--surface);
}

#console-dashboard { display: none; }
#console-auth-wall { display: none; }
html.site-auth-logged-in #console-dashboard { display: block; }
html.site-auth-guest #console-auth-wall { display: block; }
html:not(.console-ui-ready) #console-shell { opacity: 0; }
html.console-ui-ready #console-shell { opacity: 1; transition: opacity 0.2s ease; }

.con-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.console-auth-wall .reveal-up { opacity: 1; transform: none; }

.hero-stage--console {
    min-height: 72svh;
    align-items: flex-end;
}
.hero-stage--console .hero-stage__content {
    padding: 7rem 0 4rem;
}
.hero-brand--console {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
}
.hero-title--console {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.con-dash {
    position: relative;
    padding-bottom: 5rem;
    overflow: hidden;
}

.con-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .con-page { padding: 0 1.5rem; }
}

.con-dash-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.con-dash-ambient__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}
.con-dash-ambient__orb--blue {
    width: 640px;
    height: 640px;
    top: -120px;
    left: -80px;
    background: #dbeafe;
}
.con-dash-ambient__orb--purple {
    width: 520px;
    height: 520px;
    top: 280px;
    right: -120px;
    background: #ede9fe;
}

.con-dash > section {
    position: relative;
    z-index: 1;
}

.con-hero__grid {
    display: grid;
    gap: 2rem;
    align-items: end;
}
@media (min-width: 1024px) {
    .con-hero__grid {
        grid-template-columns: 1.2fr auto;
        gap: 3rem;
    }
}

.con-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    color: #2563eb;
}

.con-hero__pulse {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #2563eb;
    flex-shrink: 0;
}
.con-hero__pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #2563eb;
    animation: con-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}
@keyframes con-ping {
    0% { transform: scale(1); opacity: 0.75; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

.con-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #0f172a;
    margin: 0 0 1rem;
}

.con-hero__gradient {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.con-hero__desc {
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

#console-welcome-email:not(:empty)::before {
    content: '，';
}

.con-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.con-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 3rem;
    padding: 0 1.25rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.con-action:hover { transform: translateY(-1px); }

.con-action--primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.45);
}
.con-action--primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.con-action--ghost {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-color: #e5e7eb;
}
.con-action--ghost:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.25);
}

.con-action--soft {
    background: #fff;
    color: #334155;
    border-color: #e5e7eb;
}
.con-action--soft:hover {
    background: #f8fafc;
    color: #0f172a;
}

.con-kpi-section {
    padding: 0.5rem 0 2rem;
}

.con-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 1024px) {
    .con-kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

.con-kpi-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    transition: transform 0.2s, box-shadow 0.2s;
}
.con-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -22px rgba(37, 99, 235, 0.18);
}

.con-kpi-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.con-kpi-card__icon--blue { background: #eff6ff; color: #2563eb; }
.con-kpi-card__icon--purple { background: #f5f3ff; color: #7c3aed; }
.con-kpi-card__icon--green { background: #ecfdf5; color: #059669; }
.con-kpi-card__icon--amber { background: #fffbeb; color: #d97706; }

.con-kpi-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.2rem;
}

.con-kpi-card__value {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

.con-section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563eb;
    margin: 0 0 0.35rem;
}

.con-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}
.con-section-title--sm {
    font-size: 1.15rem;
    font-weight: 700;
}

.con-section-desc {
    margin: 0.65rem 0 0;
    max-width: 36rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
}

.con-fleet-section {
    padding: 0.5rem 0 2.5rem;
}

.con-fleet-shell {
    display: grid;
    gap: 1rem;
    min-height: 28rem;
    padding: 1rem;
    border-radius: 2rem;
    background:
        radial-gradient(ellipse 90% 60% at 0% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.14);
}
@media (min-width: 900px) {
    .con-fleet-shell {
        grid-template-columns: 17.5rem 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

.con-fleet-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.con-fleet-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.35rem 1rem;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 0.85rem;
}

.con-fleet-sidebar__add {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55);
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}
.con-fleet-sidebar__add:hover {
    transform: translateY(-1px);
    background: #1d4ed8;
    color: #fff;
}

.con-fleet-rail {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.15rem;
    max-height: 34rem;
}

.con-fleet-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.con-node-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.65rem;
    align-items: center;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid #e8edf3;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: left;
    font-family: inherit;
}

.con-node-item:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 12px 28px -20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.con-node-item.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, #fff 65%);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 14px 32px -18px rgba(37, 99, 235, 0.4);
}

.con-node-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
    grid-row: span 2;
    align-self: center;
}

.con-node-item.active .con-node-dot {
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.con-node-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.con-node-meta {
    grid-column: 2;
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.con-node-item .badge {
    grid-column: 3;
    grid-row: span 2;
    align-self: center;
    font-size: 0.55rem;
    padding: 0.18rem 0.45rem;
}

.con-node-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.85rem 1rem;
    margin-top: 0.25rem;
    border-radius: 1rem;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.04);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.con-node-add:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
}

.con-fleet-stage {
    border: 1px solid #e8edf3;
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse 80% 55% at 100% 0%, rgba(37, 99, 235, 0.06), transparent 58%),
        #fff;
    padding: 1.35rem;
    min-height: 22rem;
}
@media (min-width: 640px) {
    .con-fleet-stage { padding: 1.65rem 1.85rem; }
}

.con-workspace-loading,
.console-empty-devices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 16rem;
    color: var(--con-muted);
    font-weight: 500;
    text-align: center;
    gap: 0.75rem;
}
.con-workspace-loading--rail {
    min-height: auto;
    flex-direction: row;
    padding: 1rem 0.5rem;
    justify-content: flex-start;
}
.con-workspace-loading i,
.console-empty-devices i {
    font-size: 1.75rem;
    color: #cbd5e1;
}

.console-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--con-border);
}

.console-detail-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.console-detail-title-row h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--con-text);
}

.console-period-tag {
    font-size: 0.64rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(26, 109, 255, 0.08);
    color: var(--accent);
    border: 1px solid rgba(26, 109, 255, 0.15);
}

.console-detail-desc,
.console-detail-expiry {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--con-muted);
    line-height: 1.6;
}

.console-action-group {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.con-power-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 2.5rem;
    padding: 0 0.95rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}
.con-power-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.25);
    background: #f8fafc;
}
.con-power-btn--danger {
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.25);
}
.con-power-btn--danger:hover {
    background: #fef2f2;
    border-color: rgba(239, 68, 68, 0.35);
}
.con-power-btn--vnc {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.5);
}
.con-power-btn--vnc:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.con-workspace-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .con-workspace-body { grid-template-columns: 1fr 1.05fr; }
}

.con-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.con-spec-item {
    padding: 1rem 0.9rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--con-border);
}

.con-spec-item strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--con-muted);
    margin-bottom: 0.35rem;
}

.con-spec-item .stat-val {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--con-primary);
}

.con-connect-panel {
    border-radius: 1.35rem;
    padding: 1.35rem;
    color: #fff;
    background:
        linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.55);
}
.con-connect-panel::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -70px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 65%);
    pointer-events: none;
}
.con-connect-panel::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    left: -40px;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 65%);
    pointer-events: none;
}

.con-connect-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.con-connect-head i { font-size: 1rem; }

.con-connect-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.terminal-block {
    background: rgba(255, 255, 255, 0.06);
    padding: 1rem;
    border-radius: 0.9rem;
    font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.76rem;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

.console-block-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
    font-family: inherit;
}

.console-kv-grid { display: grid; gap: 0.4rem; margin-bottom: 0.65rem; }
.console-kv-grid > div { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.kv-label { color: rgba(255, 255, 255, 0.45); font-size: 0.62rem; font-weight: 600; font-family: inherit; }
.kv-val { color: #f8fafc; flex: 1; word-break: break-all; }

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    cursor: pointer;
    font-family: inherit;
}
.copy-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }

.console-ssh-cmd {
    color: #4ade80;
    font-size: 0.72rem;
    word-break: break-all;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.console-vnc-hint {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.66rem;
    margin-top: 0.5rem;
    font-family: inherit;
    font-weight: 400;
}

.con-ops-section {
    padding: 0.5rem 0 1rem;
}

.con-ops-header {
    margin-bottom: 1.5rem;
}

.con-ops-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.con-ops-card {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    padding: 1.35rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 18px 48px -28px rgba(15, 23, 42, 0.12);
}
@media (min-width: 640px) {
    .con-ops-card { padding: 1.5rem 1.65rem; }
}

.con-ops-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.con-ops-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.con-ops-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.con-ops-card__icon--purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.con-ops-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.con-ops-card__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: #94a3b8;
}

.con-ops-card__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.con-ops-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    padding: 0 0.9rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    font-family: inherit;
}
.con-ops-link:hover {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.con-ops-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 2.25rem;
    padding: 0 0.95rem;
    border-radius: 9999px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-family: inherit;
}
.con-ops-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.con-ops-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.95rem;
}

.con-ops-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.35rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    text-align: center;
}

.con-ops-stat__val {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1;
}
.con-ops-stat__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 0.3rem;
}

.con-ops-stat--amber .con-ops-stat__val { color: #d97706; }
.con-ops-stat--green .con-ops-stat__val { color: #059669; }
.con-ops-stat--blue .con-ops-stat__val { color: #2563eb; }

.con-record-zone,
.con-table-zone,
.console-orders-table-wrap {
    overflow: hidden;
    border: 1px solid var(--con-border);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    margin-top: auto;
    flex: 1;
}
.con-record-zone { display: flex; flex-direction: column; }

.con-record {
    display: block;
    width: 100%;
    padding: 0.95rem 1rem;
    border: none;
    border-bottom: 1px solid var(--con-border);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}
.con-record:last-child { border-bottom: none; }
.con-record:hover,
.con-record:focus-visible {
    background: rgba(26, 109, 255, 0.04);
    outline: none;
}

.con-record-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}
.con-record-top-end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}
.con-record-id {
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--con-text);
    letter-spacing: -0.01em;
    word-break: break-all;
}
.con-record-amount {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--con-text);
    white-space: nowrap;
}
.con-record-title {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.45;
    word-break: break-word;
    margin-bottom: 0.5rem;
}
.con-record-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.con-record-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--con-border);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--con-muted);
    line-height: 1.35;
    word-break: break-word;
}
.con-record-tag--muted {
    background: transparent;
    border-color: var(--con-border);
    color: var(--con-muted);
}
.con-record-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--con-muted);
}

.site-console .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.62rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.18s, background 0.18s;
    font-family: inherit;
    white-space: nowrap;
}
.site-console .btn-block { width: 100%; }
.site-console .btn-block--spaced { margin-bottom: 0.65rem; }

.site-console .btn-primary,
.site-console .btn-ocean {
    background: var(--con-primary);
    color: #fff;
}
.site-console .btn-primary:hover,
.site-console .btn-ocean:hover {
    background: #000;
    transform: translateY(-1px);
}

.site-console .btn-accent,
.site-console .btn-secondary,
.site-console .btn-ghost {
    background: #fff;
    color: var(--con-primary);
    border: 1px solid var(--con-border);
}
.site-console .btn-ghost {
    background: rgba(15, 23, 42, 0.03);
}

.site-console .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.site-console .badge-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.site-console .badge-orange { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.site-console .badge-primary { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.site-console .badge-gray { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.site-console .badge-red { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.site-console .form-group { margin-bottom: 1.1rem; text-align: left; }
.site-console .form-group--tight { margin-bottom: 0.75rem; }
.site-console .form-label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--con-text); margin-bottom: 0.45rem; }
.site-console .form-label--spaced { margin-bottom: 0.5rem; }
.site-console .form-select,
.site-console .form-input {
    width: 100%;
    padding: 0.72rem 0.95rem;
    background: #f8fafc;
    border: 1px solid var(--con-border);
    border-radius: 0.85rem;
    color: var(--con-text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
}
.site-console .form-select:focus,
.site-console .form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #fff;
}
.site-console .form-error { color: #ef4444; font-size: 0.84rem; font-weight: 600; display: none; }
.site-console .form-error.is-visible { display: block; }
.site-console .form-error--spaced { margin-bottom: 1rem; }
.site-console .form-row-code { display: flex; gap: 0.55rem; }
.site-console .form-row-code .form-input { flex: 1; min-width: 0; }

.site-console .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.site-console .modal-overlay.is-open { display: flex; }

.site-console .con-modal {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 32px 80px -20px rgba(15, 23, 42, 0.28);
    animation: conModalIn 0.32s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.site-console .con-modal--sm { max-width: 24rem; }
.site-console .con-modal--md { max-width: 28rem; }
.site-console .con-modal--lg { max-width: 40rem; }

.site-console .con-modal__accent {
    height: 3px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
}

.site-console .con-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.site-console .con-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.site-console .con-modal__header {
    padding: 1.75rem 1.75rem 0;
    flex-shrink: 0;
}
.site-console .con-modal__header--center { text-align: center; }
.site-console .con-modal__header--row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 2.5rem;
}

.site-console .con-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.site-console .con-modal__header--center .con-modal__icon { margin-left: auto; margin-right: auto; }
.site-console .con-modal__icon--sm { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; margin-bottom: 0.5rem; }
.site-console .con-modal__icon--blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #2563eb; }
.site-console .con-modal__icon--purple { background: linear-gradient(135deg, #f5f3ff, #ede9fe); color: #7c3aed; }
.site-console .con-modal__icon--amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #d97706; }

.site-console .con-modal__eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.site-console .con-modal__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.site-console .con-modal__subtitle {
    margin: 0;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.55;
}

.site-console .con-modal__body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 1.25rem 1.75rem 0;
}
.site-console .con-modal__body--flush { padding-top: 0.75rem; }

.site-console .con-modal__footer {
    flex-shrink: 0;
    padding: 1rem 1.75rem 1.5rem;
}
.site-console .con-modal__footer--actions {
    display: flex;
    gap: 0.65rem;
    padding-top: 0.5rem;
}
.site-console .con-modal__footer--actions .con-modal__btn { flex: 1; }
.site-console .con-modal__footer--stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.25rem;
}

.site-console .con-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}
.site-console .con-modal__btn--block { width: 100%; }
.site-console .con-modal__btn--primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.site-console .con-modal__btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
.site-console .con-modal__btn--ghost {
    background: #fff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}
.site-console .con-modal__btn--ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.site-console .con-modal__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.site-console .con-modal__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 1.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.site-console .con-modal__hint .ph {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.site-console .con-modal__meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.site-console .con-modal__meta-grid dt {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}
.site-console .con-modal__meta-grid dd {
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.site-console .con-modal__content-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.6;
    white-space: pre-wrap;
}
.site-console .con-modal__content-box--accent {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border-color: rgba(37, 99, 235, 0.15);
}
.site-console .con-modal__content-box-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.site-console .con-modal__replies {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
    max-height: 16rem;
    overflow-y: auto;
}
.site-console .con-modal__reply-form {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.site-console .con-modal__detail-rows { margin-bottom: 1rem; }
.site-console .con-modal__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.86rem;
}
.site-console .con-modal__detail-row:last-child { border-bottom: none; }
.site-console .con-modal__detail-row dt { color: #64748b; font-weight: 500; margin: 0; }
.site-console .con-modal__detail-row dd { margin: 0; color: #0f172a; font-weight: 600; text-align: right; }

.site-console .con-modal__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0 0.25rem;
    margin-top: 0.25rem;
    border-top: 1px dashed #e2e8f0;
}
.site-console .con-modal__total-label { font-weight: 700; color: #0f172a; }
.site-console .con-modal__total-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.02em;
}

.site-console .con-order-items {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    overflow: hidden;
}
.site-console .con-order-items__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.site-console .con-order-items__title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.site-console .con-order-items__title .ph {
    font-size: 0.9rem;
    color: #2563eb;
}
.site-console .con-order-items__list {
    padding: 0.75rem;
}
.site-console .con-order-items__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.25rem;
    font-size: 0.84rem;
    color: #94a3b8;
    font-weight: 500;
}
.site-console .con-order-items__empty .ph { font-size: 1.1rem; }

.site-console .con-order-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.site-console .con-order-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    font-size: 1.2rem;
}
.site-console .con-order-item__body {
    flex: 1;
    min-width: 0;
}
.site-console .con-order-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.site-console .con-order-item__name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.site-console .con-order-item__price {
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.site-console .con-order-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.site-console .con-order-item__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.site-console .con-order-item__tag .ph {
    font-size: 0.75rem;
    color: #94a3b8;
}

.site-console .con-order-items__addons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 0.75rem 0.75rem;
}
.site-console .con-order-addon {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1d4ed8;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.site-console .con-order-addon .ph {
    font-size: 0.8rem;
}

.site-console .con-modal__table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
}

.site-console .payment-gateway-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.site-console .payment-gateway-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1.5px solid #e2e8f0;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.site-console .payment-gateway-item:hover {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}
.site-console .payment-gateway-item.is-selected {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.site-console .payment-gateway-item.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.site-console .payment-gateway-item__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.site-console .payment-gateway-item__logo img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}
.site-console .payment-gateway-item__logo .ph { font-size: 1.25rem; color: #94a3b8; }
.site-console .payment-gateway-item__info { flex: 1; min-width: 0; }
.site-console .payment-gateway-item__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-console .payment-gateway-item__code {
    margin-top: 0.1rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: capitalize;
}
.site-console .payment-gateway-item__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
    transition: color 0.2s;
}
.site-console .payment-gateway-item:hover .payment-gateway-item__arrow,
.site-console .payment-gateway-item.is-selected .payment-gateway-item__arrow { color: #2563eb; }
.site-console .payment-gateway-item__arrow .ph { font-size: 1rem; }
.site-console .payment-gateway-item__spinner { animation: conSpin 0.8s linear infinite; }
@keyframes conSpin { to { transform: rotate(360deg); } }

@keyframes conModalIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.console-action-btn {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.78rem !important;
}
.console-action-btn.danger {
    color: #dc2626 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.console-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.console-orders-table th {
    padding: 0.7rem 0.85rem;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--con-muted);
    background: #f8fafc;
    border-bottom: 1px solid var(--con-border);
    white-space: nowrap;
}
.console-orders-table-wrap { overflow-x: auto; }
.console-orders-table td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--con-border);
    font-weight: 500;
    color: var(--ink-soft);
}
.console-orders-table tr:last-child td { border-bottom: none; }
.console-orders-table tr.clickable-row { cursor: pointer; }
.console-orders-table tr.clickable-row:hover td { background: rgba(26, 109, 255, 0.04); }
.console-table-empty { text-align: center !important; color: var(--con-muted) !important; padding: 2rem !important; }

.ticket-detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 1rem; }
.ticket-detail-meta dt { font-size: 0.64rem; font-weight: 700; color: var(--con-muted); text-transform: uppercase; margin-bottom: 0.2rem; }
.ticket-detail-meta dd { font-size: 0.86rem; font-weight: 600; color: var(--con-text); margin: 0; }
.ticket-desc-box {
    background: #f8fafc;
    border: 1px solid var(--con-border);
    border-radius: 0.85rem;
    padding: 0.9rem;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 1rem;
}
.ticket-replies {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
    max-height: 16rem;
    overflow-y: auto;
}
.ticket-reply-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
}
.ticket-reply-item.is-admin {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.15);
}
.ticket-reply-head { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.ticket-reply-author { font-size: 0.8rem; font-weight: 700; }
.ticket-reply-time { font-size: 0.68rem; color: var(--con-muted); font-weight: 500; }
.ticket-reply-body { font-size: 0.84rem; font-weight: 500; line-height: 1.55; white-space: pre-wrap; }
.ticket-reply-form { border-top: 1px solid var(--con-border); padding-top: 0.9rem; }

.order-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.order-detail-rows { margin-bottom: 1rem; }
.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--con-border);
    font-size: 0.86rem;
    font-weight: 600;
}
.order-detail-row dt { color: var(--con-muted); font-weight: 500; }
.order-detail-row dd { margin: 0; color: var(--con-text); text-align: right; }
.order-items-box {
    background: #f8fafc;
    border: 1px solid var(--con-border);
    border-radius: 0.85rem;
    padding: 0.9rem;
    margin-bottom: 0.85rem;
}
.order-items-title { font-weight: 700; margin-bottom: 0.6rem; }
.order-item-main, .order-item-sub { display: flex; justify-content: space-between; gap: 0.65rem; font-weight: 600; }
.order-item-sub { font-size: 0.76rem; color: var(--con-muted); font-weight: 500; }
.order-addons-box {
    background: #f8fafc;
    border: 1px solid var(--con-border);
    border-radius: 0.85rem;
    padding: 0.9rem;
    margin-bottom: 0.85rem;
}
.order-addons-title { font-weight: 700; color: var(--con-primary); margin-bottom: 0.6rem; }
.order-addon-item { font-size: 0.84rem; font-weight: 600; padding: 0.15rem 0; }
.order-detail-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; }
.order-detail-total-label { font-weight: 700; }
.order-detail-total-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--con-primary);
}

.stat-grid.console-spec-grid { display: contents; }
.console-connect-grid { display: contents; }
.console-overview { display: none; }
.console-layout { display: contents; }
.sidebar { display: contents; }
.console-main { display: contents; }
.console-card { border: none; box-shadow: none; background: transparent; padding: 0; }
.console-section { display: contents; }
.console-section-gap { display: contents; }
.con-workbench { display: contents; }
.con-sidebar { display: contents; }
.con-workspace { display: contents; }

@media (max-width: 768px) {
    .console-orders-table .hide-sm,
    .console-orders-table .hide-md { display: none; }
    .con-hero__actions { width: 100%; }
    .con-action { flex: 1; min-width: calc(50% - 0.35rem); }
    .con-ops-stats { grid-template-columns: 1fr; }
    .con-fleet-shell { grid-template-columns: 1fr; }
    .con-fleet-rail { max-height: 14rem; }
}

@media (max-width: 640px) {
    .con-fleet-stage { padding: 1.15rem; }
    .con-ops-card { padding: 1.2rem; min-height: auto; }
    .con-kpi-grid { grid-template-columns: 1fr; }
    .con-power-btn span { display: none; }
    .con-power-btn { width: 2.5rem; padding: 0; }
    .con-power-btn--vnc { width: auto; padding: 0 0.85rem; }
    .con-power-btn--vnc span { display: inline; }
}
