/* ===== 弹性工时计算 ===== */
.wt-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 22px;
    padding: 34px 30px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(30, 58, 138, .25);
    margin-bottom: 26px;
}

.wt-glow {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .45), transparent 70%);
    pointer-events: none;
}

.wt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
}

.wt-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wt-logo {
    font-size: 30px;
    background: rgba(255, 255, 255, .12);
    border-radius: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-tagline {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
}

.wt-clock {
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 8px 16px;
    letter-spacing: 2px;
}

.wt-modes {
    display: inline-flex;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    position: relative;
}

.wt-mode {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.wt-mode.active {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, .4);
}

.wt-panel {
    display: none;
    position: relative;
}

.wt-panel.active {
    display: block;
}

.wt-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: end;
}

.wt-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wt-field label {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.wt-field input {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}

.wt-field input:focus {
    border-color: #60a5fa;
}

.wt-field input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: .6;
}

.wt-btn {
    grid-column: 1 / -1;
    border: 0;
    border-radius: 12px;
    background: #3b82f6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px;
    cursor: pointer;
    transition: background .2s;
}

.wt-btn:hover {
    background: #2563eb;
}

.wt-result {
    margin-top: 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    position: relative;
}

.wt-result-big {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.wt-result-label {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    margin-top: 4px;
}

.wt-result-sub {
    font-size: 13px;
    color: #93c5fd;
    margin-top: 6px;
}

.wt-result-progress {
    height: 8px;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 18px;
}

.wt-result-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #34d399);
    transition: width .6s ease;
}

.wt-result-count {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

@media (max-width: 640px) {
    .wt-hero { padding: 24px 18px; }
    .wt-form { grid-template-columns: 1fr; }
    .wt-clock { font-size: 18px; padding: 6px 10px; }
    .wt-modes { width: 100%; }
    .wt-mode { flex: 1; padding: 9px 8px; font-size: 13px; }
    .wt-result-big { font-size: 40px; }
}
