[v-cloak] {
    display: none;
}

:root {
    --bg: #edf3ef;
    --bg-deep: #dce7e1;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.92);
    --panel-dark: rgba(11, 31, 39, 0.92);
    --line: rgba(16, 63, 62, 0.12);
    --line-strong: rgba(255, 255, 255, 0.12);
    --text: #163133;
    --text-soft: #5d7173;
    --text-invert: #f7fbfa;
    --primary: #0f766e;
    --primary-strong: #0b5d58;
    --primary-soft: #dff3ef;
    --accent: #d97706;
    --accent-soft: #fff1da;
    --success: #1d7f53;
    --danger: #b54735;
    --info: #1d6b8a;
    --shadow-lg: 0 28px 60px rgba(17, 37, 45, 0.12);
    --shadow-md: 0 18px 38px rgba(17, 37, 45, 0.09);
    --shadow-sm: 0 10px 22px rgba(17, 37, 45, 0.06);
}

html,
body {
    min-height: 100%;
}

body.admin-body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(217, 119, 6, 0.14), transparent 22%),
        linear-gradient(160deg, #f4f8f5 0%, #e7efe9 45%, #eef4ef 100%);
    position: relative;
}

body.admin-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(22, 49, 51, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 49, 51, 0.025) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 88%);
}

a {
    color: inherit;
}

#app {
    min-height: 100vh;
    position: relative;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.25), rgba(15, 118, 110, 0.8));
}

.auth-shell {
    min-height: 100vh;
    padding: 28px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.auth-shell-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.8;
}

.auth-shell-glow-left {
    top: -120px;
    left: -80px;
    background: rgba(15, 118, 110, 0.18);
}

.auth-shell-glow-right {
    right: -80px;
    bottom: -120px;
    background: rgba(217, 119, 6, 0.16);
}

.auth-panel {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 420px);
    gap: 26px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.auth-copy,
.auth-card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 32px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.auth-copy {
    background: linear-gradient(150deg, rgba(9, 43, 47, 0.9), rgba(14, 61, 66, 0.84));
    color: var(--text-invert);
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-copy .section-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.auth-copy .section-kicker::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.82));
}

.auth-copy h1 {
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.08;
    margin: 18px 0 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auth-copy p {
    color: rgba(247, 251, 250, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 640px;
    margin-bottom: 28px;
}

.auth-visual {
    --scene-x: 0px;
    --scene-y: 0px;
    padding: 20px 20px 22px;
    gap: 16px;
    justify-content: flex-start;
}

.auth-visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.auth-visual-top strong {
    color: rgba(247, 251, 250, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-scene {
    position: relative;
    min-height: 430px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(217, 119, 6, 0.16), transparent 20%),
        radial-gradient(circle at 80% 10%, rgba(97, 233, 210, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-scene-glow,
.auth-scene-svg {
    position: absolute;
}

.auth-scene-glow {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.75;
}

.auth-scene-glow.glow-left {
    top: 28px;
    left: 36px;
    background: rgba(217, 119, 6, 0.16);
}

.auth-scene-glow.glow-right {
    right: 40px;
    top: 52px;
    background: rgba(46, 216, 194, 0.12);
}

.auth-scene-svg {
    inset: 0;
    width: 100%;
    height: 100%;
}

.scene-halo {
    opacity: 0.7;
}

.scene-halo-amber {
    fill: rgba(217, 119, 6, 0.14);
}

.scene-halo-mint {
    fill: rgba(46, 216, 194, 0.12);
}

.scene-ground {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 18;
    stroke-linecap: round;
}

.scene-dash {
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 5 10;
}

.scene-stroke {
    fill: rgba(255, 255, 255, 0.02);
    stroke: rgba(240, 249, 247, 0.96);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scene-stroke.small-stroke {
    stroke-width: 4;
}

.scene-detail {
    fill: none;
    stroke: rgba(240, 249, 247, 0.78);
    stroke-width: 4;
    stroke-linecap: round;
}

.scene-accent-fill {
    fill: rgba(217, 119, 6, 0.24);
}

.scene-inner-panel {
    fill: rgba(255, 255, 255, 0.04);
    stroke: rgba(217, 119, 6, 0.4);
    stroke-width: 3.5;
}

.scene-shadow-fill {
    fill: rgba(7, 24, 31, 0.36);
}

.scene-bottle-group {
    transition: transform 0.22s ease;
}

.scene-bottle-group:hover {
    transform: translateY(-4px);
}

.scene-bin-group {
    transition: transform 0.22s ease;
}

.scene-bin-group:hover {
    transform: translateY(-2px);
}

.auth-highlight-list {
    display: grid;
    gap: 14px;
}

.auth-highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(236, 164, 68, 0.88));
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.auth-highlight strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.auth-highlight small {
    color: rgba(247, 251, 250, 0.72);
    line-height: 1.6;
}

.auth-card {
    background: rgba(255, 255, 255, 0.88);
    padding: 34px 30px;
    align-self: center;
}

.auth-card-header {
    margin-bottom: 26px;
}

.auth-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.auth-card h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-card p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 0;
}

.auth-submit {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.auth-card-footnote {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.workspace-shell {
    display: flex;
    gap: 18px;
    min-height: 100vh;
    padding: 18px;
    position: relative;
    z-index: 1;
}

.sidebar-shell {
    width: 320px;
    flex-shrink: 0;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.15), transparent 28%),
        linear-gradient(180deg, rgba(8, 30, 38, 0.96), rgba(11, 43, 50, 0.92));
    color: var(--text-invert);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    min-height: calc(100vh - 36px);
    overflow: hidden;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.sidebar-brand-logo {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.sidebar-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-brand-copy span,
.sidebar-brand-copy small {
    color: rgba(247, 251, 250, 0.66);
}

.sidebar-brand-copy strong {
    font-size: 1.12rem;
    font-weight: 800;
}

.sidebar-profile {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.sidebar-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1ba39b, #0f766e);
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sidebar-profile-copy {
    min-width: 0;
}

.sidebar-profile-role {
    display: inline-flex;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-profile-copy strong,
.sidebar-profile-copy small {
    display: block;
}

.sidebar-profile-copy strong {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-copy small {
    color: rgba(255, 255, 255, 0.66);
    margin-top: 2px;
}

.sidebar-section-label {
    padding: 0 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.sidebar-nav::-webkit-scrollbar,
.workspace-content::-webkit-scrollbar,
.station-rail-list::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.workspace-content::-webkit-scrollbar-thumb,
.station-rail-list::-webkit-scrollbar-thumb {
    background: rgba(16, 63, 62, 0.16);
    border-radius: 999px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    margin-bottom: 8px;
    border-radius: 18px;
    color: rgba(247, 251, 250, 0.74);
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    color: #fff;
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(14, 91, 88, 0.92));
    border-color: rgba(125, 221, 212, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 24px rgba(7, 24, 31, 0.24);
}

.sidebar-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sidebar-link.active .sidebar-link-icon {
    background: rgba(255, 255, 255, 0.16);
}

.sidebar-link-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.sidebar-link-copy strong {
    font-size: 0.97rem;
    font-weight: 700;
}

.sidebar-link-copy small {
    color: inherit;
    opacity: 0.7;
    line-height: 1.4;
}

.sidebar-footer {
    margin-top: 12px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout {
    width: 100%;
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.workspace-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.workspace-topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 30px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    align-items: center;
}

.workspace-title-group {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workspace-title {
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 2px 0 0;
    letter-spacing: -0.03em;
}

.workspace-subtitle {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.workspace-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 10px;
    align-self: center;
}

.workspace-meta-card {
    min-width: 0;
    padding: 14px 16px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.meta-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--text-soft);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.workspace-meta-card strong,
.workspace-meta-card small {
    display: block;
}

.workspace-meta-card strong {
    font-size: 0.96rem;
    margin-bottom: 2px;
}

.workspace-meta-card small {
    color: var(--text-soft);
    line-height: 1.4;
    font-size: 0.82rem;
}

.workspace-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 2px;
}

.workspace-view {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
}

.workspace-view > h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.view-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.view-header-row h2 {
    margin-bottom: 10px;
    font-size: 1.85rem;
    font-weight: 800;
}

.view-header-row p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.header-pill-group,
.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-pill,
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-pill.neutral,
.hero-chip {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
    color: var(--text);
}

.status-pill.accent {
    background: rgba(255, 241, 218, 0.86);
    border-color: rgba(217, 119, 6, 0.16);
    color: #8a5200;
}

.status-pill.plain {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.1);
    color: var(--primary);
}

.hero-panel,
.section-card {
    background: var(--panel-strong);
    border-radius: 28px;
    border: 1px solid rgba(16, 63, 62, 0.08);
    box-shadow: var(--shadow-sm);
}

.hero-panel {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -36px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12), transparent 68%);
    pointer-events: none;
}

.hero-panel-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 18px;
    background:
        linear-gradient(135deg, rgba(12, 79, 83, 0.92), rgba(18, 53, 68, 0.9)),
        var(--panel-strong);
    color: #fff;
}

.hero-panel-dashboard .section-kicker,
.hero-panel-dashboard .section-kicker::before {
    color: rgba(255, 255, 255, 0.78);
}

.hero-panel-dashboard .section-kicker::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.85));
}

.hero-panel-dashboard h2,
.hero-panel-dashboard p,
.hero-panel-dashboard .hero-chip,
.hero-panel-dashboard .hero-aside-card strong,
.hero-panel-dashboard .hero-aside-card small {
    color: #fff;
}

.hero-panel-dashboard p {
    color: rgba(255, 255, 255, 0.76);
}

.hero-panel-dashboard .hero-chip {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-copy h2 {
    font-size: clamp(1.7rem, 2.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 14px 0 14px;
    letter-spacing: -0.03em;
}

.hero-copy p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.hero-aside {
    display: grid;
    gap: 14px;
    align-content: center;
}

.hero-aside-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-aside-card strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-aside-card small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.metric-card {
    height: 100%;
    padding: 24px;
    border-radius: 26px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.metric-card::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.metric-card.tone-primary {
    background: linear-gradient(135deg, #0f766e, #155e63);
}

.metric-card.tone-accent {
    background: linear-gradient(135deg, #d97706, #b85d05);
}

.metric-card.tone-info {
    background: linear-gradient(135deg, #1d6b8a, #244c7c);
}

.metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.metric-copy span {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 8px;
}

.metric-copy h3 {
    font-size: 2.1rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.metric-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

.section-card {
    padding: 22px;
}

.compact-card {
    padding-top: 18px;
    padding-bottom: 18px;
}

.section-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.section-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-card-header h3,
.section-card-header h5,
.section-card-header h6 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-card-header p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.section-card-header.compact {
    margin-bottom: 14px;
}

.section-card-header.compact .section-kicker,
.section-card-header.compact p {
    display: none;
}

.section-card-header.compact h3 {
    font-size: 1.04rem;
}

.quick-action-list {
    display: grid;
    gap: 12px;
}

.quick-action-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.04), rgba(217, 119, 6, 0.04));
    color: var(--text);
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-action-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(15, 118, 110, 0.18);
}

.quick-action-item small {
    display: block;
    margin-top: 3px;
    color: var(--text-soft);
    font-weight: 500;
}

.station-rail-panel {
    height: 100%;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.station-rail-header h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    font-weight: 800;
}

.station-rail-header p {
    margin: 0 0 16px;
    color: var(--text-soft);
    line-height: 1.6;
}

.station-rail-all {
    margin-bottom: 14px;
}

.station-rail-list {
    display: grid;
    gap: 10px;
    overflow-y: auto;
    max-height: 600px;
    padding-right: 2px;
}

.station-rail-item {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    border-radius: 18px;
    padding: 13px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--text);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.station-rail-item:hover {
    transform: translateX(2px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: var(--shadow-sm);
}

.station-rail-item.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(14, 91, 88, 0.92));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 28px rgba(15, 118, 110, 0.22);
}

.station-rail-item.active .text-secondary,
.station-rail-item.active .badge {
    color: inherit !important;
}

.card,
.table-responsive,
.list-group-item,
.modal-content {
    border: 1px solid rgba(16, 63, 62, 0.08);
    box-shadow: var(--shadow-sm);
}

.card {
    border-radius: 24px;
    background: var(--panel-strong);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(16, 63, 62, 0.08);
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.2rem;
}

.table-responsive {
    background: transparent;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(16, 63, 62, 0.08);
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.table thead th {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    background: rgba(15, 118, 110, 0.05) !important;
    white-space: nowrap;
}

.table tbody tr:hover {
    background: rgba(15, 118, 110, 0.03);
}

.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select,
.input-group-text,
.page-link {
    border-radius: 14px;
    border-color: rgba(16, 63, 62, 0.14);
}

.form-control,
.form-select {
    min-height: 46px;
    padding: 0.72rem 0.95rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 2px rgba(17, 37, 45, 0.03);
}

.form-control:focus,
.form-select:focus,
.page-link:focus,
.btn:focus {
    border-color: rgba(15, 118, 110, 0.42);
    box-shadow: 0 0 0 0.28rem rgba(15, 118, 110, 0.12);
}

.input-group-text {
    background: rgba(15, 118, 110, 0.06);
    color: var(--text);
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.72rem 1rem;
    box-shadow: none;
}

.btn-sm {
    border-radius: 12px;
    padding: 0.48rem 0.78rem;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #0f766e, #0d5f5a) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn-success,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(135deg, #1d7f53, #156944) !important;
    border-color: transparent !important;
}

.btn-warning,
.btn-warning:focus,
.btn-warning:active {
    background: linear-gradient(135deg, #f0ad2e, #d97706) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn-secondary,
.btn-secondary:focus,
.btn-secondary:active {
    background: linear-gradient(135deg, #6d7f86, #52656c) !important;
    border-color: transparent !important;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(16, 63, 62, 0.1);
    color: var(--text);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(15, 118, 110, 0.22);
    background: rgba(15, 118, 110, 0.03);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    border-color: rgba(15, 118, 110, 0.3);
}

.btn-outline-secondary {
    color: var(--text-soft);
    border-color: rgba(16, 63, 62, 0.14);
    background: rgba(255, 255, 255, 0.76);
}

.btn-outline-danger {
    color: var(--danger);
    border-color: rgba(181, 71, 53, 0.18);
    background: rgba(181, 71, 53, 0.04);
}

.btn-outline-info {
    color: var(--info);
    border-color: rgba(29, 107, 138, 0.18);
    background: rgba(29, 107, 138, 0.04);
}

.btn-group > .btn {
    border-radius: 14px !important;
}

.nav-tabs,
.nav-pills {
    gap: 8px;
    border-bottom: none;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    border: 1px solid rgba(16, 63, 62, 0.1);
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 14px;
    padding: 0.68rem 1rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.nav-tabs .nav-link:hover,
.nav-pills .nav-link:hover {
    color: var(--primary);
    border-color: rgba(15, 118, 110, 0.18);
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #0f766e, #0d5f5a) !important;
    box-shadow: 0 12px 20px rgba(15, 118, 110, 0.16);
}

.badge {
    padding: 0.5em 0.72em;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.badge.bg-secondary {
    background: rgba(78, 95, 104, 0.14) !important;
    color: #4f6770 !important;
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.76) !important;
}

.badge.bg-success {
    background: rgba(29, 127, 83, 0.14) !important;
    color: var(--success) !important;
}

.badge.bg-warning {
    background: rgba(217, 119, 6, 0.16) !important;
    color: #9a5a00 !important;
}

.badge.bg-primary {
    background: rgba(15, 118, 110, 0.14) !important;
    color: var(--primary) !important;
}

.badge.bg-dark {
    background: rgba(22, 49, 51, 0.12) !important;
    color: var(--text) !important;
}

.badge.bg-info {
    background: rgba(29, 107, 138, 0.14) !important;
    color: var(--info) !important;
}

.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-danger {
    color: #fff !important;
    border: none;
}

.card.bg-primary {
    background: linear-gradient(135deg, #0f766e, #155e63) !important;
}

.card.bg-success {
    background: linear-gradient(135deg, #1d7f53, #156944) !important;
}

.card.bg-info {
    background: linear-gradient(135deg, #1d6b8a, #244c7c) !important;
}

.card.bg-danger {
    background: linear-gradient(135deg, #b54735, #8f3528) !important;
}

.card-stat {
    border-radius: 24px;
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: var(--shadow-md);
}

.card-stat:hover {
    transform: translateY(-4px);
}

.modal-content {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.modal-header {
    border-bottom: 1px solid rgba(16, 63, 62, 0.08);
    padding: 1.1rem 1.25rem;
}

.modal-footer {
    border-top: 1px solid rgba(16, 63, 62, 0.08);
    padding: 1rem 1.25rem 1.2rem;
}

.page-link {
    color: var(--primary);
    padding: 0.58rem 0.9rem;
    background: rgba(255, 255, 255, 0.88);
}

.page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.72);
}

.alert {
    border-radius: 18px;
    border: 1px solid transparent;
}

.list-group-item {
    border-radius: 16px !important;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.88);
}

.list-group-item.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(14, 91, 88, 0.92));
    border-color: transparent;
}

.table .text-primary {
    color: var(--primary) !important;
}

.table .text-success {
    color: var(--success) !important;
}

.table .text-danger {
    color: var(--danger) !important;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    position: relative;
}

.org-level {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.org-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 14px 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 150px;
    max-width: 200px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.org-card.super-admin {
    border-top: 3px solid #d97706;
    background: linear-gradient(135deg, #fff4e2 0%, #ffffff 100%);
}

.org-card.station-manager {
    border-top: 3px solid #0f766e;
    background: linear-gradient(135deg, #e5f5f2 0%, #ffffff 100%);
}

.org-card.packer {
    border-top: 3px solid #1d7f53;
    background: linear-gradient(135deg, #e7f6eb 0%, #ffffff 100%);
}

.org-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #495057;
}

.org-card.super-admin .org-icon {
    color: #d97706;
}

.org-card.station-manager .org-icon {
    color: #0f766e;
}

.org-card.packer .org-icon {
    color: #1d7f53;
}

.org-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.org-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.org-connector {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4px 0;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 22px;
    background: linear-gradient(to bottom, #d8e2df, #9eb7b1);
    position: relative;
}

.connector-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9eb7b1;
    border: 2px solid white;
}

.permission-note-list {
    display: grid;
    gap: 12px;
}

.permission-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.04);
    border: 1px solid rgba(15, 118, 110, 0.08);
}

.permission-note strong {
    display: block;
    margin-bottom: 4px;
}

.permission-note small {
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 1199px) {
    .workspace-shell {
        flex-direction: column;
    }

    .sidebar-shell {
        width: 100%;
        min-height: auto;
    }

    .workspace-topbar {
        flex-direction: column;
    }

    .workspace-meta-grid {
        width: 100%;
    }

    .hero-panel-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .auth-panel {
        grid-template-columns: 1fr;
    }

    .workspace-shell,
    .auth-shell {
        padding: 14px;
    }

    .workspace-topbar,
    .workspace-view,
    .hero-panel,
    .section-card,
    .auth-copy,
    .auth-card {
        border-radius: 24px;
    }

    .workspace-topbar,
    .workspace-view {
        padding: 22px;
    }

    .workspace-meta-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .auth-copy,
    .auth-card,
    .workspace-topbar,
    .workspace-view,
    .section-card,
    .hero-panel,
    .station-rail-panel {
        padding: 18px;
    }

    .workspace-title {
        font-size: 1.7rem;
    }

    .workspace-view > h2,
    .view-header-row h2 {
        font-size: 1.5rem;
    }

    .metric-copy h3 {
        font-size: 1.75rem;
    }

    .auth-scene {
        min-height: 320px;
    }

    .trash-bin {
        right: 18px;
        bottom: 34px;
        transform: scale(0.7);
        transform-origin: bottom right;
    }

    .item-bottle-tall {
        left: 28px;
        top: 168px;
        width: 48px;
        height: 126px;
    }

    .item-bottle-square {
        left: 122px;
        top: 208px;
        width: 66px;
        height: 90px;
    }

    .item-bottle-mini {
        left: 206px;
        top: 146px;
        width: 72px;
        height: 68px;
    }

    .item-bottle-round {
        left: 240px;
        top: 228px;
        width: 76px;
        height: 98px;
    }

    .item-bottle-flat {
        left: 292px;
        top: 154px;
        width: 88px;
        height: 54px;
    }

    .sidebar-link {
        padding: 12px;
    }

    .org-card {
        min-width: 120px;
        padding: 10px 15px;
    }

    .org-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .org-title {
        font-size: 0.85rem;
    }

    .org-desc {
        font-size: 0.7rem;
    }

    .connector-line {
        height: 15px;
    }
}
