.console-app { background: var(--page); min-height: 100vh; padding-bottom: 72px; }
.ctb {
    background: rgba(255, 244, 234, 0.92);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
}
.ctb-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ctb-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; }
.ctb-brand .brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #fff6ee 28%, var(--orange) 29%);
}
.console-loading { padding: 40px; text-align: center; color: var(--muted); }
.ws-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0 64px;
}
.ws-rail {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    height: fit-content;
}
.ws-rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 650; }
.ws-add { font-size: 13px; text-decoration: none; color: var(--muted); }
.rail-empty, .muted { color: var(--muted); font-size: 13.5px; }
.server-item {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    border: 1px solid transparent;
    background: var(--soft);
    border-radius: 14px;
    padding: 10px;
    margin: 6px 0;
    cursor: pointer;
}
.server-item.is-on { border-color: var(--ink); background: #fff; }
.si-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: #c4c4c4; }
.si-dot--active { background: #16a34a; }
.si-dot--pending_setup { background: #d97706; }
.si-body { display: flex; flex-direction: column; gap: 2px; }
.si-body small { color: var(--muted); }
.ws-account { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.s-nav-btn {
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
}
.s-nav-btn.is-on, .s-nav-btn:hover { background: var(--soft); }
.ws-device, .empty-card, .ws-panel, .pwd-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}
.empty-card { text-align: center; padding: 56px 28px; }
.ws-device-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ws-device h1, .ws-panel h2 { margin: 0 0 6px; letter-spacing: -0.03em; }
.ws-device h1 { font-size: 28px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.status-pill { background: var(--soft); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 650; }
.pending-banner { background: #fff7ea; color: #9a5b12; padding: 10px 12px; border-radius: 12px; }
.cred-card { margin: 18px 0; }
.cred-grid { display: grid; gap: 10px; }
.cred-grid div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cred-grid span { color: var(--muted); min-width: 72px; font-size: 13px; }
.power-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.spec-grid div { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #f1efe9; }
.ws-guide details { border-top: 1px solid var(--line); padding: 10px 0; }
.ws-guide summary {
    cursor: pointer;
    font-weight: 550;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ws-guide summary::-webkit-details-marker { display: none; }
.ws-guide summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #9aa0ab;
    border-bottom: 1.6px solid #9aa0ab;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}
.ws-guide details[open] summary::after { transform: rotate(-135deg); }
.bill-stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bill-stat { background: var(--soft); border-radius: 14px; padding: 14px 16px; min-width: 140px; }
.bill-stat span { display: block; color: var(--muted); font-size: 12px; }
.bill-stat b { font-size: 22px; }
.tkt-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
.tkt-col { border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.tkt-col-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ticket-item, .tkt-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}
.ticket-item.is-on, .tkt-item.active { font-weight: 650; }
.ticket-form textarea, .m-input, #ticket-reply-content {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #e4e1db;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    appearance: none;
    background: #fff;
}
.ticket-form textarea:focus, .m-input:focus, #ticket-reply-content:focus {
    outline: none;
    border-color: #ffc27a;
    box-shadow: 0 0 0 4px rgba(255, 137, 28, 0.16);
}
.tkt-msgs { max-height: 320px; overflow: auto; padding: 8px 0 16px; }
.tkt-msg { padding: 10px 0; border-bottom: 1px solid #f1efe9; }
.tkt-detail-head { display: flex; justify-content: space-between; gap: 12px; }
.pwd-card { max-width: 480px; padding: 0; border: 0; box-shadow: none; }
.c-mobile-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 15;
}
.c-mnav-btn {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 4px;
    font: inherit;
    font-size: 12px;
    color: var(--muted);
}
.c-mnav-btn.is-on { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) {
    .ws-shell { grid-template-columns: 1fr; }
    .spec-grid, .tkt-grid { grid-template-columns: 1fr; }
    .c-mobile-nav { display: flex; }
}
