@font-face {
    font-family: 'PingFang';
    src: local('PingFang SC');
}
body {
    font-family: 'PingFang', 'Microsoft YaHei', sans-serif;
    background-color: #F5F7FA;
    margin: 0;
    padding: 0;
}
/* 站内页面（引用全局 footer 的页面 body 均为 text-slate-800）：
   用 flex 列布局让 footer 在内容不足时也固定在底部 */
body.text-slate-800 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 主内容容器（站内页面用 .main-wrap，登录页用 <main>）撑开剩余高度 */
body.text-slate-800 > .main-wrap,
body.text-slate-800 > .container-wrap.main-wrap,
body.text-slate-800 > main {
    flex: 1 1 auto;
}
/* footer 贴底（footer 是 body 直接子元素，靠 mt-auto 保证贴底，且不被压缩） */
body.text-slate-800 > footer {
    margin-top: auto;
    flex-shrink: 0;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.sidebar-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: #64748b;
}
.sidebar-item:hover {
    background: #f0f9ff;
    color: #2563eb;
}
.sidebar-item.active {
    background: #e0f2fe;
    color: #2563eb;
    font-weight: 600;
}
.panel-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.input-field {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.input-field:disabled {
    background: #f8fafc;
    color: #94a3b;
}
.panel {
    display: none;
}
.panel.active {
    display: block;
}
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}
.progress-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}
.calendar-cell {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    color: #475569;
    transition: all 0.2s;
}
.calendar-cell.checked {
    background: #dbeafe;
    color: #2563eb;
}
.calendar-cell.today {
    border: 2px solid #3b82f6;
    font-weight: 700;
}
.calendar-cell.empty {
    color: transparent;
}
.skill-bar {
    height: 10px;
    border-radius: 99px;
    background: #f1f5f9;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.8s ease;
}
.skill-fill.high {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}
.skill-fill.mid {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}
.skill-fill.low {
    background: linear-gradient(90deg, #10b981, #34d399);
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    align-items: center;
    justify-content: center;
}
.modal-overlay.show {
    display: flex;
}
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}
.toast {
    position: fixed;
    top: 100px;
    right: 32px;
    z-index: 200;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border-left: 4px solid #10B981;
}
.toast.show {
    display: flex;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {transform: translateX(100px);opacity:0;}
    to {transform: translateX(0);opacity:1;}
}
.filter-btn {
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    color: #64748b;
    background: white;
}
.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.work-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.08);
}
.bar-column {
    border-radius: 6px 6px 0 0;
    transition: height 0.6s ease;
    min-height: 4px;
}
.timeline-line {
    position: absolute;
    left: 19px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}
.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.radar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.radar-bg {
    position: absolute;
    inset: 0;
}
.radar-bg polygon {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 1;
}
.radar-fill {
    position: absolute;
    inset: 0;
}
.radar-fill polygon {
    fill: rgba(37,99,235,0.15);
    stroke: #2563eb;
    stroke-width: 2;
}
.radar-label {
    position: absolute;
    font-size: 10px;
    color: #475569;
    font-weight: 500;
    transform: translate(-50%, -50%);
}
.radar-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #2563eb;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(37,99,235,0.4);
}
.ring-progress {
    position: relative;
    width: 56px;
    height: 56px;
}
.ring-progress svg {
    transform: rotate(-90deg);
}
.ring-progress .bg-circle {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 6;
}
.ring-progress .fg-circle {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}
.container-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 12px;
}
.main-wrap {
    padding-top: 112px;
    padding-bottom: 64px;
    display: flex;
    gap: 32px;
}
.content-box {
    flex: 1;
    min-width: 0;
}