.toolbox-shell {
    padding: 0;
}

.toolbox-main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 56px);
}

.toolbox-toolbar {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 3px solid #000;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.toolbox-toolbar a,
.toolbox-toolbar button {
    border: 3px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 8px 10px;
    font-size: 14px;
}

.toolbox-toolbar a.active,
.toolbox-toolbar button.active {
    background: #000;
    color: #fff;
}

.toolbox-split {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toolbox-pane {
    border-top: 3px solid #000;
    display: flex;
    flex-direction: column;
}

.toolbox-pane.big {
    flex: 7;
}

.toolbox-pane.small {
    flex: 3;
}

.toolbox-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.toolbox-time {
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 72px;
    line-height: 1;
}

.toolbox-date {
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 18px;
}

.toolbox-subtext {
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 12px;
}

.toolbox-calendar {
    padding: 10px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toolbox-calendar-title {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 18px;
    text-align: center;
}

.toolbox-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 3px solid #000;
}

.toolbox-calendar-cell {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    min-height: 44px;
    padding: 6px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toolbox-calendar-cell:nth-child(7n) {
    border-right: 0;
}

.toolbox-calendar-grid .toolbox-calendar-cell:nth-last-child(-n+7) {
    border-bottom: 0;
}

.toolbox-calendar-head {
    min-height: 30px;
    padding: 6px 4px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    border-right: 2px solid #000;
    border-bottom: 3px solid #000;
}

.toolbox-calendar-head:nth-child(7) {
    border-right: 0;
}

.toolbox-calendar-day {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.toolbox-calendar-lunar {
    font-size: 12px;
    letter-spacing: 1px;
}

.toolbox-calendar-cell.out {
    color: #777;
}

.toolbox-calendar-cell.today {
    background: #000;
    color: #fff;
}

.toolbox-yiji {
    padding: 10px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toolbox-yiji-row {
    border: 3px solid #000;
    padding: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.pomodoro-shell {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pomodoro-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.pomodoro-btnrow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pomodoro-btn {
    border: 3px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 10px 12px;
    font-size: 14px;
}

.pomodoro-btn.primary {
    background: #000;
    color: #fff;
}

.pomodoro-btn:disabled {
    opacity: 0.45;
}

.pomodoro-input {
    border: 3px solid #000;
    padding: 10px 12px;
    font-size: 14px;
    letter-spacing: 1px;
    width: 120px;
}

.pomodoro-ringwrap {
    border: 3px solid #000;
    padding: 18px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pomodoro-ring {
    width: 260px;
    height: 260px;
}

.pomodoro-centertext {
    font-weight: 800;
    letter-spacing: 2px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.pomodoro-centertext.big {
    font-size: 44px;
}

.pomodoro-centertext.small {
    font-size: 14px;
}

.pomodoro-history {
    border: 3px solid #000;
    padding: 10px 12px;
}

.pomodoro-history-title {
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pomodoro-history-item {
    border-top: 2px solid #000;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    letter-spacing: 1px;
}

.pomodoro-history-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.pomodoro-kv {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

